{"product_id":"candy-bag","title":"🎃 Halloween Trick-or-Treat Candy Bag – Cute Pumpkin \u0026 Witch Cauldron Treat Gift Tote","description":"\u003cstyle\u003e\n  \/* 模板 A - 万圣节主题样式 (Halloween High-Conversion Theme) *\/\n  .mf-halloween-page {\n    max-width: 900px;\n    margin: 0 auto;\n    color: #24152F;\n    background: #FFFAF6;\n    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\n    line-height: 1.65;\n    overflow: hidden;\n  }\n\n  .mf-halloween-page * {\n    box-sizing: border-box;\n  }\n\n  .mf-halloween-page section {\n    padding: 44px 24px;\n    margin-bottom: 22px;\n    border-radius: 28px;\n  }\n\n  .mf-halloween-page h1,\n  .mf-halloween-page h2,\n  .mf-halloween-page h3,\n  .mf-halloween-page p {\n    margin-top: 0;\n  }\n\n  .mf-halloween-page img {\n    display: block;\n    max-width: 100%;\n    height: auto;\n    margin: 0 auto;\n  }\n\n  \/* High-Conversion CTA Buttons (模板 A 标准) *\/\n  .mf-cta-wrapper {\n    margin-top: 26px;\n    text-align: center;\n  }\n\n  .mf-btn-primary {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n    padding: 16px 36px;\n    background: linear-gradient(135deg, #FF7A18 0%, #F05C45 100%);\n    color: #FFFFFF !important;\n    font-size: 18px;\n    font-weight: 800;\n    text-decoration: none;\n    border-radius: 50px;\n    box-shadow: 0 10px 25px rgba(255, 122, 24, 0.35);\n    transition: transform 0.2s ease, box-shadow 0.2s ease;\n    cursor: pointer;\n  }\n\n  .mf-btn-primary:hover {\n    transform: translateY(-2px);\n    box-shadow: 0 14px 28px rgba(255, 122, 24, 0.45);\n  }\n\n  .mf-btn-secondary {\n    background: #FFFFFF;\n    color: #6D285A !important;\n    box-shadow: 0 10px 25px rgba(52, 17, 49, 0.20);\n  }\n\n  .mf-btn-secondary:hover {\n    background: #FFF7ED;\n    box-shadow: 0 14px 28px rgba(52, 17, 49, 0.30);\n  }\n\n  .mf-subtext-guarantee {\n    display: block;\n    margin-top: 12px;\n    font-size: 13px;\n    color: #FFF4EE;\n    font-weight: 500;\n  }\n\n  \/* Hero Section *\/\n  .mf-hero {\n    padding: 54px 24px !important;\n    text-align: center;\n    background: linear-gradient(135deg, #FFF1DF 0%, #F7EAFF 55%, #FFF7ED 100%);\n  }\n\n  .mf-eyebrow {\n    display: inline-block;\n    margin-bottom: 18px;\n    padding: 8px 16px;\n    color: #FFFFFF;\n    background: #FF7A18;\n    border-radius: 999px;\n    font-size: 13px;\n    font-weight: 800;\n    letter-spacing: 1.2px;\n    text-transform: uppercase;\n  }\n\n  .mf-hero h1 {\n    max-width: 720px;\n    margin: 0 auto 16px;\n    color: #271330;\n    font-size: 38px;\n    line-height: 1.12;\n    font-weight: 900;\n  }\n\n  .mf-hero p {\n    max-width: 650px;\n    margin: 0 auto 16px;\n    color: #624D68;\n    font-size: 18px;\n  }\n\n  .mf-hero-tags {\n    display: flex;\n    flex-wrap: wrap;\n    justify-content: center;\n    gap: 10px;\n    margin-top: 26px;\n  }\n\n  .mf-hero-tags span {\n    padding: 9px 14px;\n    color: #46294F;\n    background: #FFFFFF;\n    border-radius: 999px;\n    font-size: 14px;\n    font-weight: 700;\n    box-shadow: 0 6px 18px rgba(70, 41, 79, .08);\n  }\n\n  \/* Dark Feature Section *\/\n  .mf-dark-card {\n    padding: 40px 28px;\n    background: linear-gradient(145deg, #30203D, #19101F);\n    border-radius: 28px;\n    box-shadow: 0 18px 45px rgba(30, 16, 39, .18);\n    color: #FFFFFF;\n  }\n\n  .mf-dark-card h2 {\n    color: #FFFFFF;\n    font-size: 30px;\n    font-weight: 900;\n    margin-bottom: 14px;\n  }\n\n  .mf-dark-card p {\n    color: #EEE4F1;\n    font-size: 17px;\n  }\n\n  \/* Designs Grid *\/\n  .mf-designs {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 18px;\n  }\n\n  .mf-design-card {\n    flex: 1 1 260px;\n    padding: 28px;\n    background: #FFFFFF;\n    border-radius: 24px;\n    box-shadow: 0 10px 28px rgba(67, 40, 74, .08);\n  }\n\n  \/* Use Cases Grid *\/\n  .mf-grid-4 {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n    gap: 15px;\n  }\n\n  .mf-use-card {\n    padding: 22px;\n    border-radius: 20px;\n  }\n\n  \/* Steps Grid *\/\n  .mf-steps-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));\n    gap: 14px;\n  }\n\n  .mf-step-box {\n    padding: 23px;\n    background: rgba(255, 255, 255, .10);\n    border: 1px solid rgba(255, 255, 255, .13);\n    border-radius: 20px;\n  }\n\n  \/* Benefits List *\/\n  .mf-benefit-item {\n    display: flex;\n    gap: 14px;\n    padding: 17px 0;\n    border-bottom: 1px solid #EADFEC;\n  }\n\n  .mf-benefit-item:last-child {\n    border-bottom: none;\n  }\n\n  \/* Trust Bar *\/\n  .mf-trust {\n    display: grid;\n    grid-template-columns: repeat(3, 1fr);\n    gap: 1px;\n    padding: 0 !important;\n    text-align: center;\n    background: #334155;\n    border-radius: 0 0 28px 28px;\n    overflow: hidden;\n  }\n\n  .mf-trust div {\n    padding: 18px 10px;\n    color: #FFFFFF;\n    background: #19101F;\n    font-size: 14px;\n    font-weight: 700;\n  }\n\n  @media (max-width: 640px) {\n    .mf-halloween-page section {\n      padding: 32px 16px;\n    }\n    .mf-hero h1 {\n      font-size: 28px;\n    }\n    .mf-trust {\n      grid-template-columns: 1fr;\n    }\n    .mf-btn-primary {\n      width: 100%;\n      padding: 16px 20px;\n    }\n  }\n\u003c\/style\u003e\n\n\u003cdiv class=\"mf-halloween-page\"\u003e\n  \u003c!-- HERO --\u003e\n  \u003csection class=\"mf-hero\"\u003e\n    \u003cspan class=\"mf-eyebrow\"\u003e🎃 HALLOWEEN FAVORITE\u003c\/span\u003e\n    \u003ch1\u003eMake Every Treat Feel Like a Halloween Surprise\u003c\/h1\u003e\n    \u003cp\u003eA fun, festive way to carry candy, party favors and little Halloween surprises — with adorable designs kids will love showing off.\u003c\/p\u003e\n    \u003cdiv\u003e\n      \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0739\/9797\/5645\/files\/8_19_2.gif?v=1787132337\" alt=\"Halloween Treat Bag animation\" loading=\"eager\"\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"mf-hero-tags\"\u003e\n      \u003cspan\u003e🍬 Fill With Treats\u003c\/span\u003e\n      \u003cspan\u003e👻 Halloween Ready\u003c\/span\u003e\n      \u003cspan\u003e🎁 Fun Gift Idea\u003c\/span\u003e\n    \u003c\/div\u003e\n    \u003c!-- HERO CTA BUTTON --\u003e\n    \u003cdiv class=\"mf-cta-wrapper\"\u003e\n      \u003ca href=\"javascript:void(0);\" onclick=\"scrollToProductForm(event)\" class=\"mf-btn-primary\"\u003e\n        \u003cspan\u003eGET YOUR HALLOWEEN TREAT BAG\u003c\/span\u003e →\n      \u003c\/a\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- ATTENTION --\u003e\n  \u003csection style=\"background: #ffffff; box-shadow: 0 12px 36px rgba(53,28,63,.07); text-align: center;\"\u003e\n    \u003cdiv style=\"max-width: 720px; margin: 0 auto;\"\u003e\n      \u003cp style=\"color: #ff7718; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 8px;\"\u003eORDINARY TREAT BAGS? TOO BORING.\u003c\/p\u003e\n      \u003ch2 style=\"font-size: 30px; line-height: 1.2; color: #291632; font-weight: 900; margin-bottom: 16px;\"\u003eHalloween Candy Deserves a Little More Magic\u003c\/h2\u003e\n      \u003cp style=\"font-size: 17px; color: #6b5870; margin: 0;\"\u003eInstead of handing out treats in a plain bag, turn candy into part of the Halloween fun with a playful bag made to look festive before the first treat is even opened.\u003c\/p\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- FEATURE CARD --\u003e\n  \u003csection style=\"padding: 0;\"\u003e\n    \u003cdiv class=\"mf-dark-card\"\u003e\n      \u003cp style=\"color: #ffad55; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 8px;\"\u003eTHE FUN PART\u003c\/p\u003e\n      \u003ch2\u003eIt Looks Even Cuter Filled With Candy 🍬\u003c\/h2\u003e\n      \u003cp\u003eThe transparent design lets colorful candy, chocolate and small treats become part of the Halloween look. Fill it up and instantly create a fun, gift-ready presentation.\u003c\/p\u003e\n      \u003cdiv style=\"margin-top: 16px;\"\u003e\n        \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0731\/5016\/9239\/files\/79f41e89-4bd1-41d3-832f-bd7412555ee5.png?v=1787018317\" alt=\"Filled Halloween candy bag\" loading=\"lazy\"\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- DESIGNS --\u003e\n  \u003csection style=\"background: linear-gradient(135deg,#fff7ed,#f8f0ff);\"\u003e\n    \u003cdiv style=\"text-align: center; margin-bottom: 30px;\"\u003e\n      \u003cp style=\"color: #8a46a3; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 8px;\"\u003ePICK YOUR HALLOWEEN FAVORITE\u003c\/p\u003e\n      \u003ch2 style=\"color: #2d1935; font-size: 30px; font-weight: 900; margin: 0;\"\u003eTwo Spooky-Cute Styles\u003c\/h2\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"mf-designs\"\u003e\n      \u003cdiv class=\"mf-design-card\"\u003e\n        \u003cdiv style=\"font-size: 38px; margin-bottom: 12px;\"\u003e🎃\u003c\/div\u003e\n        \u003ch3 style=\"color: #2b1733; font-size: 21px; font-weight: 850; margin-bottom: 9px;\"\u003ePumpkin Style\u003c\/h3\u003e\n        \u003cp style=\"color: #6c5970; font-size: 15px; margin: 0;\"\u003eClassic jack-o'-lantern charm with a playful Halloween look that's perfect for trick-or-treat night.\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-design-card\"\u003e\n        \u003cdiv style=\"font-size: 38px; margin-bottom: 12px;\"\u003e🧪\u003c\/div\u003e\n        \u003ch3 style=\"color: #2b1733; font-size: 21px; font-weight: 850; margin-bottom: 9px;\"\u003eWitch Cauldron Style\u003c\/h3\u003e\n        \u003cp style=\"color: #6c5970; font-size: 15px; margin: 0;\"\u003eA whimsical witch-inspired design with spooky green details for an extra dose of Halloween personality.\u003c\/p\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- USE CASES --\u003e\n  \u003csection style=\"background: #ffffff;\"\u003e\n    \u003cdiv style=\"text-align: center; margin-bottom: 30px;\"\u003e\n      \u003cp style=\"color: #ff7819; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 8px;\"\u003eMORE THAN A CANDY BAG\u003c\/p\u003e\n      \u003ch2 style=\"color: #2c1734; font-size: 30px; font-weight: 900; margin: 0;\"\u003eMade for Every Halloween Moment\u003c\/h2\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"mf-grid-4\"\u003e\n      \u003cdiv class=\"mf-use-card\" style=\"background: #fff8ef;\"\u003e\n        \u003cdiv style=\"font-size: 30px; margin-bottom: 8px;\"\u003e🍭\u003c\/div\u003e\n        \u003cdiv style=\"color: #39213f; font-size: 16px; font-weight: 800;\"\u003eTrick-or-Treating\u003c\/div\u003e\n        \u003cdiv style=\"color: #735f77; font-size: 14px; margin-top: 5px;\"\u003eA fun carry-along bag for Halloween night.\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-use-card\" style=\"background: #f8f0ff;\"\u003e\n        \u003cdiv style=\"font-size: 30px; margin-bottom: 8px;\"\u003e🎉\u003c\/div\u003e\n        \u003cdiv style=\"color: #39213f; font-size: 16px; font-weight: 800;\"\u003eHalloween Parties\u003c\/div\u003e\n        \u003cdiv style=\"color: #735f77; font-size: 14px; margin-top: 5px;\"\u003eFill with treats and use as party favors.\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-use-card\" style=\"background: #f2faef;\"\u003e\n        \u003cdiv style=\"font-size: 30px; margin-bottom: 8px;\"\u003e🏫\u003c\/div\u003e\n        \u003cdiv style=\"color: #39213f; font-size: 16px; font-weight: 800;\"\u003eClassroom Treats\u003c\/div\u003e\n        \u003cdiv style=\"color: #735f77; font-size: 14px; margin-top: 5px;\"\u003eMake school Halloween surprises feel extra special.\u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-use-card\" style=\"background: #fff0f3;\"\u003e\n        \u003cdiv style=\"font-size: 30px; margin-bottom: 8px;\"\u003e🎁\u003c\/div\u003e\n        \u003cdiv style=\"color: #39213f; font-size: 16px; font-weight: 800;\"\u003eHalloween Gifts\u003c\/div\u003e\n        \u003cdiv style=\"color: #735f77; font-size: 14px; margin-top: 5px;\"\u003eA playful way to present candy and little surprises.\u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- HOW IT WORKS --\u003e\n  \u003csection style=\"background: linear-gradient(135deg,#24162d,#3d2150);\"\u003e\n    \u003cdiv style=\"text-align: center; margin-bottom: 30px;\"\u003e\n      \u003cp style=\"color: #ffad55; font-size: 13px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 8px;\"\u003eEASY HALLOWEEN FUN\u003c\/p\u003e\n      \u003ch2 style=\"color: #ffffff; font-size: 30px; font-weight: 900; margin: 0;\"\u003eFill. Carry. Enjoy.\u003c\/h2\u003e\n    \u003c\/div\u003e\n    \u003cdiv class=\"mf-steps-grid\"\u003e\n      \u003cdiv class=\"mf-step-box\"\u003e\n        \u003cdiv style=\"color: #ffad55; font-size: 13px; font-weight: 900;\"\u003eSTEP 01\u003c\/div\u003e\n        \u003ch3 style=\"color: #ffffff; margin: 7px 0; font-size: 18px;\"\u003eOpen\u003c\/h3\u003e\n        \u003cp style=\"color: #e9dfee; margin: 0; font-size: 14px;\"\u003eGet your Halloween bag ready.\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-step-box\"\u003e\n        \u003cdiv style=\"color: #ffad55; font-size: 13px; font-weight: 900;\"\u003eSTEP 02\u003c\/div\u003e\n        \u003ch3 style=\"color: #ffffff; margin: 7px 0; font-size: 18px;\"\u003eFill\u003c\/h3\u003e\n        \u003cp style=\"color: #e9dfee; margin: 0; font-size: 14px;\"\u003eAdd candy, chocolate or small surprises.\u003c\/p\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-step-box\"\u003e\n        \u003cdiv style=\"color: #ffad55; font-size: 13px; font-weight: 900;\"\u003eSTEP 03\u003c\/div\u003e\n        \u003ch3 style=\"color: #ffffff; margin: 7px 0; font-size: 18px;\"\u003eCarry\u003c\/h3\u003e\n        \u003cp style=\"color: #e9dfee; margin: 0; font-size: 14px;\"\u003eGrab the handle and let the Halloween fun begin.\u003c\/p\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- BENEFITS --\u003e\n  \u003csection style=\"background: #fff9f2;\"\u003e\n    \u003ch2 style=\"text-align: center; color: #2b1733; font-size: 30px; font-weight: 900; margin-bottom: 26px;\"\u003eWhy They'll Love It\u003c\/h2\u003e\n    \u003cdiv style=\"max-width: 680px; margin: 0 auto;\"\u003e\n      \u003cdiv class=\"mf-benefit-item\"\u003e\n        \u003cspan style=\"font-size: 22px;\"\u003e🎃\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003cstrong style=\"display: block; color: #35203d; font-size: 16px;\"\u003eInstant Halloween Charm\u003c\/strong\u003e\n          \u003cspan style=\"color: #755f79; font-size: 15px;\"\u003eFestive designs make ordinary treats feel much more exciting.\u003c\/span\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-benefit-item\"\u003e\n        \u003cspan style=\"font-size: 22px;\"\u003e🍬\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003cstrong style=\"display: block; color: #35203d; font-size: 16px;\"\u003eShow Off the Treats\u003c\/strong\u003e\n          \u003cspan style=\"color: #755f79; font-size: 15px;\"\u003eColorful goodies stay visible and become part of the fun design.\u003c\/span\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-benefit-item\"\u003e\n        \u003cspan style=\"font-size: 22px;\"\u003e👜\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003cstrong style=\"display: block; color: #35203d; font-size: 16px;\"\u003eEasy to Carry\u003c\/strong\u003e\n          \u003cspan style=\"color: #755f79; font-size: 15px;\"\u003eHandheld styling makes it easy to bring along to Halloween activities.\u003c\/span\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n      \u003cdiv class=\"mf-benefit-item\"\u003e\n        \u003cspan style=\"font-size: 22px;\"\u003e🎁\u003c\/span\u003e\n        \u003cdiv\u003e\n          \u003cstrong style=\"display: block; color: #35203d; font-size: 16px;\"\u003eReady for Gifting\u003c\/strong\u003e\n          \u003cspan style=\"color: #755f79; font-size: 15px;\"\u003eFill it with favorite treats for an easy Halloween surprise.\u003c\/span\u003e\n        \u003c\/div\u003e\n      \u003c\/div\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- FINAL CTA --\u003e\n  \u003csection style=\"text-align: center; background: linear-gradient(135deg,#ff7c1c,#f05c45 50%,#9147aa); border-radius: 30px; box-shadow: 0 18px 42px rgba(169,73,93,.22);\"\u003e\n    \u003cdiv style=\"font-size: 38px; margin-bottom: 10px;\"\u003e🎃🍬👻\u003c\/div\u003e\n    \u003ch2 style=\"color: #ffffff; font-size: 32px; line-height: 1.18; font-weight: 900; margin-bottom: 13px;\"\u003eMake Halloween Extra Fun This Year\u003c\/h2\u003e\n    \u003cp style=\"max-width: 580px; margin: 0 auto 25px; color: #fff7f2; font-size: 17px; line-height: 1.7;\"\u003eFill it with their favorite treats and turn an ordinary bag of candy into a Halloween surprise they'll be excited to carry.\u003c\/p\u003e\n    \u003cdiv style=\"margin-bottom: 25px;\"\u003e\n      \u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0731\/5016\/9239\/files\/c1222416-2b53-4a56-a73b-ddc27ea6c32e.png?v=1787018323\" alt=\"Halloween treats presentation\" loading=\"lazy\"\u003e\n    \u003c\/div\u003e\n    \u003c!-- BOTTOM CTA BUTTON --\u003e\n    \u003cdiv class=\"mf-cta-wrapper\"\u003e\n      \u003ca href=\"javascript:void(0);\" onclick=\"scrollToProductForm(event)\" class=\"mf-btn-primary mf-btn-secondary\"\u003e\n        \u003cspan\u003eGET YOUR HALLOWEEN TREAT BAG\u003c\/span\u003e →\n      \u003c\/a\u003e\n      \u003cspan class=\"mf-subtext-guarantee\"\u003ePerfect for trick-or-treating, parties, classrooms \u0026amp; Halloween gifts.\u003c\/span\u003e\n    \u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- TRUST BAR --\u003e\n  \u003csection class=\"mf-trust\"\u003e\n    \u003cdiv\u003e🚚 Fast Local Shipping\u003c\/div\u003e\n    \u003cdiv\u003e🔒 Secure Checkout\u003c\/div\u003e\n    \u003cdiv\u003e🎃 Satisfaction Guarantee\u003c\/div\u003e\n  \u003c\/section\u003e\n\n  \u003c!-- 模板 A 全能兼容滚动脚本 (支持 iframe、类名匹配、多层级穿透与直接 Top 兜底) --\u003e\n  \u003cscript\u003e\n    function scrollToProductForm(e) {\n      if (e) {\n        if (typeof e.preventDefault === 'function') e.preventDefault();\n        if (typeof e.stopPropagation === 'function') e.stopPropagation();\n      }\n\n      \/\/ 常见规格\/加购区域选择器列表\n      var selectors = [\n        'form[action*=\"\/cart\/add\"]',\n        '.product-form',\n        'product-form',\n        '.product-single__meta',\n        '.product__info-container',\n        '.product-info',\n        'variant-radios',\n        'variant-selects',\n        '.variant-picker',\n        'button[name=\"add\"]',\n        '.product-form__buttons',\n        '#shopify-section-main-product'\n      ];\n\n      var target = null;\n\n      \/\/ 遍历当前 DOM 树查找包含规格\/加购按钮的真实可视元素\n      for (var i = 0; i \u003c selectors.length; i++) {\n        var el = document.querySelector(selectors[i]);\n        if (el \u0026\u0026 (el.offsetWidth \u003e 0 || el.offsetHeight \u003e 0 || el.getClientRects().length \u003e 0)) {\n          target = el;\n          break;\n        }\n      }\n\n      \/\/ 如果未找到，尝试穿透 Shadow DOM (面向 Dawn 等 Web Components 主题)\n      if (!target) {\n        var webComponents = document.querySelectorAll('product-form, product-info, variant-radios, variant-selects');\n        for (var j = 0; j \u003c webComponents.length; j++) {\n          if (webComponents[j].shadowRoot) {\n            var inner = webComponents[j].shadowRoot.querySelector('form[action*=\"\/cart\/add\"], button[name=\"add\"], select, input');\n            if (inner) {\n              target = webComponents[j];\n              break;\n            }\n          }\n        }\n      }\n\n      \/\/ 执行平滑滚动逻辑\n      if (target) {\n        \/\/ 1. 如果找到目标节点，计算相对位置平滑滚动\n        var rect = target.getBoundingClientRect();\n        var absoluteTop = window.pageYOffset + rect.top - 80; \/\/ 留出80px顶部导航栏边距\n        window.scrollTo({\n          top: absoluteTop,\n          behavior: 'smooth'\n        });\n      } else {\n        \/\/ 2. 兜底方案：直接平滑滚动到页面最顶部（即商品主图\/规格\/加购区域）\n        window.scrollTo({\n          top: 0,\n          behavior: 'smooth'\n        });\n      }\n    }\n  \u003c\/script\u003e\n\u003c\/div\u003e","brand":"NB01","offers":[{"title":"Purple Black Cat Ghost","offer_id":44914297536605,"sku":"SZ06262608193002-紫色黑猫幽灵*10","price":19.99,"currency_code":"USD","in_stock":true},{"title":"Green Skulls","offer_id":44914297569373,"sku":"SZ06262608193002-绿色骷髅头*10","price":19.99,"currency_code":"USD","in_stock":true},{"title":"Pumpkin face","offer_id":44914297602141,"sku":"SZ06262608193002-南瓜鬼脸*10","price":19.99,"currency_code":"USD","in_stock":true},{"title":"Bat font","offer_id":44914297634909,"sku":"SZ06262608193002-蝙蝠字体*10","price":19.99,"currency_code":"USD","in_stock":true},{"title":"🎃Mix Style","offer_id":44914314969181,"sku":"SZ06262608193002-紫色黑猫幽灵*3+SZ06262608193002-绿色骷髅头*3+SZ06262608193002-南瓜鬼脸*2+SZ06262608193002-蝙蝠字体*2","price":19.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0739\/9797\/5645\/files\/b246a956-81be-4e9b-84cd-c4f220e5fa41.png?v=1787130372","url":"https:\/\/pielyra.com\/products\/candy-bag","provider":"Pielyra","version":"1.0","type":"link"}