{"product_id":"nativity-advent-calendar-2026-24-day-christmas-countdown-with-nativity-figures","title":"Nativity Advent Calendar 2026 – 24-Day Christmas Countdown with Nativity Figures","description":"\u003cstyle\u003e\n  #zvg-advent-page {\n    --za-ink: #172b45;\n    --za-text: #435166;\n    --za-red: #98342e;\n    --za-cream: #fff8ee;\n    --za-line: #e4e4df;\n\n    width: 100%;\n    max-width: 1120px;\n    min-width: 0;\n    margin: 28px auto;\n    padding: 0 16px;\n    background: #ffffff;\n    color: var(--za-ink);\n    font: 16px\/1.7 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Arial, sans-serif;\n    text-align: left;\n    overflow-wrap: anywhere;\n    isolation: isolate;\n  }\n\n  #zvg-advent-page,\n  #zvg-advent-page * {\n    box-sizing: border-box;\n  }\n\n  #zvg-advent-page h2,\n  #zvg-advent-page h3,\n  #zvg-advent-page p,\n  #zvg-advent-page figure,\n  #zvg-advent-page ol,\n  #zvg-advent-page ul {\n    margin: 0;\n  }\n\n  #zvg-advent-page h2,\n  #zvg-advent-page h3 {\n    font-family: inherit;\n    font-weight: 750;\n    line-height: 1.2;\n    letter-spacing: -0.025em;\n    text-transform: none;\n    color: var(--za-ink);\n  }\n\n  #zvg-advent-page h2 {\n    font-size: clamp(28px, 3.3vw, 42px);\n  }\n\n  #zvg-advent-page h3 {\n    font-size: 22px;\n  }\n\n  #zvg-advent-page p {\n    color: var(--za-text);\n  }\n\n  #zvg-advent-page img {\n    display: block;\n    width: 100%;\n    max-width: 100%;\n    height: auto;\n    margin: 0;\n    border: 0;\n    border-radius: 16px;\n    box-shadow: none;\n    object-fit: contain;\n  }\n\n  #zvg-advent-page .za-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));\n    align-items: center;\n    gap: 30px;\n  }\n\n  #zvg-advent-page .za-grid \u003e * {\n    min-width: 0;\n  }\n\n  #zvg-advent-page .za-hero {\n    gap: 0;\n    border-radius: 20px;\n    background: var(--za-ink);\n  }\n\n  #zvg-advent-page .za-hero img {\n    border-radius: 20px;\n  }\n\n  #zvg-advent-page .za-hero-copy {\n    padding: clamp(24px, 3.8vw, 44px);\n  }\n\n  #zvg-advent-page .za-kicker {\n    margin-bottom: 12px;\n    color: var(--za-red);\n    font-size: 12px;\n    line-height: 1.6;\n    font-weight: 750;\n    letter-spacing: 0.13em;\n    text-transform: uppercase;\n  }\n\n  #zvg-advent-page .za-hero h2 {\n    color: #ffffff;\n  }\n\n  #zvg-advent-page .za-hero p {\n    color: #f1f5f9;\n  }\n\n  #zvg-advent-page .za-hero .za-kicker {\n    color: #f4cd83;\n  }\n\n  #zvg-advent-page .za-lead {\n    margin-top: 18px;\n    font-size: 18px;\n  }\n\n  #zvg-advent-page .za-tags {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 8px;\n    margin: 22px 0;\n  }\n\n  #zvg-advent-page .za-tags span {\n    padding: 5px 10px;\n    border: 1px solid #798899;\n    border-radius: 6px;\n    color: #ffffff;\n    font-size: 12px;\n    font-weight: 650;\n  }\n\n  #zvg-advent-page a.za-btn {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 10px;\n    min-height: 52px;\n    max-width: 100%;\n    padding: 14px 22px;\n    border: 2px solid var(--za-red);\n    border-radius: 9px;\n    background: var(--za-red);\n    color: #ffffff !important;\n    font: 700 16px\/1.4 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Arial, sans-serif;\n    text-align: center;\n    text-decoration: none !important;\n    white-space: normal;\n    cursor: pointer;\n    box-shadow: none;\n  }\n\n  #zvg-advent-page a.za-btn::before,\n  #zvg-advent-page a.za-btn::after {\n    content: none !important;\n  }\n\n  #zvg-advent-page a.za-btn:hover {\n    background: #7f2824;\n    border-color: #7f2824;\n  }\n\n  #zvg-advent-page .za-hero a.za-btn {\n    background: #fff8ee;\n    border-color: #fff8ee;\n    color: var(--za-ink) !important;\n  }\n\n  #zvg-advent-page .za-hero a.za-btn:hover {\n    background: #f4d9ad;\n    border-color: #f4d9ad;\n  }\n\n  #zvg-advent-page a.za-btn:focus-visible,\n  #zvg-advent-page summary:focus-visible {\n    outline: 3px solid #b77324;\n    outline-offset: 5px;\n  }\n\n  #zvg-advent-page .za-section {\n    margin-top: 48px;\n  }\n\n  #zvg-advent-page .za-heading {\n    max-width: 780px;\n    margin: 0 auto 24px;\n    text-align: center;\n  }\n\n  #zvg-advent-page .za-heading \u003e p {\n    margin-top: 12px;\n  }\n\n  #zvg-advent-page .za-steps {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));\n    gap: 16px;\n    padding: 0;\n    list-style: none;\n  }\n\n  #zvg-advent-page .za-steps li {\n    min-width: 0;\n    margin: 0;\n    padding: 24px;\n    border: 1px solid var(--za-line);\n    border-radius: 14px;\n    background: var(--za-cream);\n  }\n\n  #zvg-advent-page .za-number {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    width: 38px;\n    height: 38px;\n    margin-bottom: 16px;\n    border-radius: 50%;\n    background: var(--za-ink);\n    color: #ffffff;\n    font-size: 15px;\n    font-weight: 750;\n  }\n\n  #zvg-advent-page .za-steps h3 {\n    margin-bottom: 10px;\n  }\n\n  #zvg-advent-page .za-steps p {\n    font-size: 15px;\n  }\n\n  #zvg-advent-page .za-copy \u003e p:not(.za-kicker) {\n    margin-top: 16px;\n  }\n\n  #zvg-advent-page .za-callout {\n    padding: 18px 20px;\n    border-left: 3px solid var(--za-red);\n    border-radius: 0 8px 8px 0;\n    background: var(--za-cream);\n    color: var(--za-ink) !important;\n    font-weight: 650;\n  }\n\n  #zvg-advent-page .za-points {\n    padding: 0;\n    margin-top: 20px;\n    list-style: none;\n  }\n\n  #zvg-advent-page .za-points li {\n    margin: 0;\n    padding: 13px 0;\n    border-top: 1px solid var(--za-line);\n  }\n\n  #zvg-advent-page .za-points strong {\n    display: block;\n    color: var(--za-ink);\n    font-size: 17px;\n  }\n\n  #zvg-advent-page .za-points p {\n    margin-top: 4px;\n    font-size: 15px;\n  }\n\n  #zvg-advent-page .za-gift {\n    padding: 20px;\n    border-radius: 18px;\n    background: var(--za-cream);\n  }\n\n  #zvg-advent-page .za-gift .za-copy {\n    padding: 8px;\n  }\n\n  #zvg-advent-page .za-faq {\n    max-width: 860px;\n    margin-right: auto;\n    margin-left: auto;\n  }\n\n  #zvg-advent-page .za-faq details {\n    padding: 0;\n    border-bottom: 1px solid var(--za-line);\n  }\n\n  #zvg-advent-page .za-faq summary {\n    display: list-item;\n    padding: 18px 6px;\n    list-style: disclosure-closed inside;\n    color: var(--za-ink);\n    background: #ffffff;\n    font-size: 17px;\n    font-weight: 700;\n    line-height: 1.5;\n    cursor: pointer;\n  }\n\n  #zvg-advent-page .za-faq details[open] \u003e summary {\n    list-style-type: disclosure-open;\n  }\n\n  #zvg-advent-page .za-faq summary::before,\n  #zvg-advent-page .za-faq summary::after {\n    content: none;\n  }\n\n  #zvg-advent-page .za-faq details \u003e p {\n    padding: 0 6px 20px;\n  }\n\n  #zvg-advent-page .za-finale {\n    padding: 34px 24px;\n    border: 1px solid var(--za-line);\n    border-radius: 18px;\n    background: var(--za-cream);\n    text-align: center;\n  }\n\n  #zvg-advent-page .za-finale p {\n    max-width: 650px;\n    margin: 14px auto 22px;\n  }\n\n  #price-template--21889986789531__main {\n    scroll-margin-top: 150px;\n  }\n\n  [data-zvg-advent-highlight] {\n    outline: 2px solid #98342e;\n    outline-offset: 6px;\n  }\n\n  @media (max-width: 600px) {\n    #zvg-advent-page {\n      margin: 20px auto;\n      padding: 0 10px;\n    }\n\n    #zvg-advent-page .za-grid,\n    #zvg-advent-page .za-steps {\n      grid-template-columns: minmax(0, 1fr);\n      gap: 20px;\n    }\n\n    #zvg-advent-page .za-hero {\n      gap: 0;\n    }\n\n    #zvg-advent-page .za-hero-copy {\n      padding: 26px 22px;\n    }\n\n    #zvg-advent-page h2 {\n      font-size: 30px;\n    }\n\n    #zvg-advent-page .za-lead {\n      font-size: 17px;\n    }\n\n    #zvg-advent-page .za-section {\n      margin-top: 34px;\n    }\n\n    #zvg-advent-page .za-steps li {\n      padding: 22px;\n    }\n\n    #zvg-advent-page .za-gift {\n      padding: 14px;\n    }\n\n    #zvg-advent-page .za-finale {\n      padding: 28px 20px;\n    }\n\n    #zvg-advent-page a.za-btn {\n      width: 100%;\n    }\n  }\n\u003c\/style\u003e\n\u003csection id=\"zvg-advent-page\" lang=\"en\" aria-label=\"Nativity Advent Calendar details\"\u003e\u003c!-- 首屏：产品与核心价值 --\u003e\n\u003cdiv class=\"za-grid za-hero\"\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_134.png?v=1792399121\u0026amp;width=1200\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_134.png?v=1792399121\u0026amp;width=600 600w,\n          https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_134.png?v=1792399121\u0026amp;width=1200 1200w\" sizes=\"(max-width: 600px) 100vw, (max-width: 900px) 90vw, 540px\" width=\"1254\" height=\"1254\" loading=\"lazy\" decoding=\"async\" alt=\"Wooden Nativity Advent calendar with numbered drawers and miniature Christmas figures\"\u003e\u003c\/figure\u003e\n\u003cdiv class=\"za-hero-copy\"\u003e\n\u003cp class=\"za-kicker\"\u003eZavrlygoods · Nativity Advent Calendar\u003c\/p\u003e\n\u003ch2\u003eThe Christmas story.\u003cbr\u003eOne day at a time.\u003c\/h2\u003e\n\u003cp class=\"za-lead\"\u003eOpen a drawer. Discover a Nativity piece. Share the story of Jesus' birth as your Christmas scene grows, one small moment at a time.\u003c\/p\u003e\n\u003cdiv class=\"za-tags\" aria-label=\"Calendar highlights\"\u003e\n\u003cspan\u003eDaily discoveries\u003c\/span\u003e \u003cspan\u003eNativity figures\u003c\/span\u003e \u003cspan\u003eShared storytime\u003c\/span\u003e\n\u003c\/div\u003e\n\u003ca class=\"za-btn\" data-zvg-advent-buy=\"\" href=\"#price-template--21889986789531__main\"\u003e View Price \u0026amp; Bundles \u003cspan aria-hidden=\"true\"\u003e↑\u003c\/span\u003e \u003c\/a\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c!-- 每日使用仪式 --\u003e\n\u003csection class=\"za-section\" aria-label=\"How the Advent countdown works\"\u003e\n\u003cdiv class=\"za-heading\"\u003e\n\u003cp class=\"za-kicker\"\u003eA little anticipation. A meaningful tradition.\u003c\/p\u003e\n\u003ch2\u003eOne drawer. One story.\u003cbr\u003eOne moment together.\u003c\/h2\u003e\n\u003cp\u003eMake the wait for Christmas something the whole family can take part in.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003col class=\"za-steps\"\u003e\n\u003cli\u003e\n\u003cspan class=\"za-number\" aria-hidden=\"true\"\u003e01\u003c\/span\u003e\n\u003ch3\u003eOpen \u0026amp; discover\u003c\/h3\u003e\n\u003cp\u003eFind the day's numbered drawer and reveal another piece of the Nativity. A small surprise to look forward to.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"za-number\" aria-hidden=\"true\"\u003e02\u003c\/span\u003e\n\u003ch3\u003eRead \u0026amp; connect\u003c\/h3\u003e\n\u003cp\u003eShare a short reading from the included companion storybook, with Scripture references to guide your conversation.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cspan class=\"za-number\" aria-hidden=\"true\"\u003e03\u003c\/span\u003e\n\u003ch3\u003ePlace \u0026amp; watch it grow\u003c\/h3\u003e\n\u003cp\u003eAdd the new piece to your display. Day by day, the Christmas story takes shape in your home.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003c\/section\u003e\n\u003c!-- 家庭情感价值 --\u003e\n\u003csection class=\"za-section za-grid\" aria-label=\"A Christmas family tradition\"\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_135.png?v=1792399122\u0026amp;width=1100\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_135.png?v=1792399122\u0026amp;width=600 600w,\n          https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_135.png?v=1792399122\u0026amp;width=1100 1100w\" sizes=\"(max-width: 600px) 100vw, (max-width: 900px) 90vw, 530px\" width=\"1254\" height=\"1254\" loading=\"lazy\" decoding=\"async\" alt=\"Mother and child sharing time together while arranging the Nativity figures\"\u003e\u003c\/figure\u003e\n\u003cdiv class=\"za-copy\"\u003e\n\u003cp class=\"za-kicker\"\u003eFaith, family \u0026amp; a little Christmas wonder\u003c\/p\u003e\n\u003ch2\u003eGive them a tradition\u003cbr\u003ethey can take part in.\u003c\/h2\u003e\n\u003cp\u003eLet little hands help arrange the figures while you share the story behind them. Invite questions, take turns, and enjoy a screen-free pause in the middle of a busy December.\u003c\/p\u003e\n\u003cp\u003eWhether you gather after breakfast or before bedtime, this is a chance to bring parents, grandparents and children around the same story.\u003c\/p\u003e\n\u003cp class=\"za-callout\"\u003eThe sweetest part of the countdown can be the time you spend together.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003c!-- 人偶与产品细节 --\u003e\n\u003csection class=\"za-section za-grid\" aria-label=\"Nativity figures and display details\"\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_132.png?v=1792399120\u0026amp;width=1100\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_132.png?v=1792399120\u0026amp;width=600 600w,\n          https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_132.png?v=1792399120\u0026amp;width=1100 1100w\" sizes=\"(max-width: 600px) 100vw, (max-width: 900px) 90vw, 530px\" width=\"1254\" height=\"1254\" loading=\"lazy\" decoding=\"async\" alt=\"Close view of Mary, Joseph, Baby Jesus, wise men, shepherds, an angel and animals\"\u003e\u003c\/figure\u003e\n\u003cdiv class=\"za-copy\"\u003e\n\u003cp class=\"za-kicker\"\u003eThe heart of the season, on display\u003c\/p\u003e\n\u003ch2\u003eA growing scene.\u003cbr\u003eA story worth sharing.\u003c\/h2\u003e\n\u003cp\u003eBring together Mary, Joseph and Baby Jesus, along with shepherds, wise men, angels and animals. Each discovery becomes part of the Nativity scene.\u003c\/p\u003e\n\u003cul class=\"za-points\"\u003e\n\u003cli\u003e\n\u003cstrong\u003eNumbered drawers\u003c\/strong\u003e\n\u003cp\u003eA simple way to follow the countdown and enjoy each day's reveal.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eWooden Advent display\u003c\/strong\u003e\n\u003cp\u003eThe calendar becomes part of your Christmas decor, with a space above the drawers to arrange the scene.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompanion storybook\u003c\/strong\u003e\n\u003cp\u003eShort readings help connect the figures with the meaning behind Christmas.\u003c\/p\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003c!-- 圣诞送礼 --\u003e\n\u003csection class=\"za-section za-grid za-gift\" aria-label=\"A meaningful Christmas gift\"\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_133.png?v=1792399122\u0026amp;width=1100\" srcset=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_133.png?v=1792399122\u0026amp;width=600 600w,\n          https:\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_133.png?v=1792399122\u0026amp;width=1100 1100w\" sizes=\"(max-width: 600px) 100vw, (max-width: 900px) 90vw, 510px\" width=\"1254\" height=\"1254\" loading=\"lazy\" decoding=\"async\" alt=\"Nativity Advent calendar displayed beside wrapped gifts and a softly lit Christmas tree\"\u003e\u003c\/figure\u003e\n\u003cdiv class=\"za-copy\"\u003e\n\u003cp class=\"za-kicker\"\u003eGive a little meaning to the waiting\u003c\/p\u003e\n\u003ch2\u003eA gift that begins\u003cbr\u003ebefore Christmas morning.\u003c\/h2\u003e\n\u003cp\u003eFor a family celebrating their faith, or grandparents creating special moments with their grandchildren, give a Christmas experience to discover together.\u003c\/p\u003e\n\u003cp\u003eSet it out for the season and let the anticipation become part of the gift.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003c!-- 常见问题 --\u003e\n\u003csection class=\"za-section za-faq\" aria-label=\"Calendar questions\"\u003e\n\u003cdiv class=\"za-heading\"\u003e\n\u003ch2\u003eBefore your countdown begins.\u003c\/h2\u003e\n\u003c\/div\u003e\n\u003cdetails\u003e\n\u003csummary\u003eWhat is included?\u003c\/summary\u003e\n\u003cp\u003eThe numbered Advent box, Nativity figures and pieces, and a companion storybook. Trees, greenery and other styling decorations shown in the photos are not included.\u003c\/p\u003e\n\u003c\/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eHow do we use it each day?\u003c\/summary\u003e\n\u003cp\u003eOpen the day's drawer, discover the piece inside, share the related reading, and add the piece to your scene. Choose a time that works for your family and enjoy the countdown together.\u003c\/p\u003e\n\u003c\/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eIs it suitable for young children?\u003c\/summary\u003e\n\u003cp\u003eContains small parts. Not suitable for children under 3 years old. An adult should supervise children while opening the drawers and arranging the figures.\u003c\/p\u003e\n\u003c\/details\u003e\n\u003c\/section\u003e\n\u003c!-- 底部购买引导 --\u003e\n\u003csection class=\"za-section za-finale\" aria-label=\"Shop the Nativity Advent Calendar\"\u003e\n\u003cp class=\"za-kicker\"\u003eMake room for a meaningful December\u003c\/p\u003e\n\u003ch2\u003eLet the countdown\u003cbr\u003ebring you closer together.\u003c\/h2\u003e\n\u003cp\u003eA daily discovery, a familiar story, and a little more time with the people you love.\u003c\/p\u003e\n\u003ca class=\"za-btn\" data-zvg-advent-buy=\"\" href=\"#price-template--21889986789531__main\"\u003e Start Your Christmas Tradition \u003cspan aria-hidden=\"true\"\u003e↑\u003c\/span\u003e \u003c\/a\u003e\u003cscript\u003e\n(function () {\n  'use strict';\n\n  var rootId = 'zvg-advent-page';\n  var priceId = 'price-template--21889986789531__main';\n  var productId = '9432203034779';\n  var variantId = '49852886745243';\n\n  var productPath =\n    '\/products\/nativity-advent-calendar-2026-24-day-christmas-countdown-with-nativity-figures';\n\n  var priceSelector =\n    '.product-page-price, [id^=\"price-\"], [data-product-price], .product__price';\n\n  var excluded =\n    'sticky-atc, .sticky-atc, .sticky-add-to-cart, quick-add-modal, product-recommendations, [hidden]';\n\n  function visible(el) {\n    if (\n      !el ||\n      el.closest(excluded) ||\n      !el.getClientRects().length\n    ) {\n      return false;\n    }\n\n    var style = window.getComputedStyle(el);\n\n    return (\n      style.display !== 'none' \u0026\u0026\n      style.visibility !== 'hidden'\n    );\n  }\n\n  function firstVisible(scope, selector) {\n    if (!scope) return null;\n\n    return Array.from(\n      scope.querySelectorAll(selector)\n    ).find(visible) || null;\n  }\n\n  function findTarget() {\n    var exact = document.getElementById(priceId);\n\n    if (visible(exact)) return exact;\n\n    var info = Array.from(\n      document.querySelectorAll('product-info[data-url]')\n    ).find(function (el) {\n      return (\n        (el.getAttribute('data-url') || '')\n          .split('?')[0]\n          .endsWith(productPath) \u0026\u0026\n        !el.closest(excluded)\n      );\n    });\n\n    var infoPrice = firstVisible(info, priceSelector);\n\n    if (infoPrice) return infoPrice;\n\n    var forms = document.querySelectorAll(\n      'form[action*=\"\/cart\/add\"]'\n    );\n\n    for (var i = 0; i \u003c forms.length; i++) {\n      var form = forms[i];\n\n      var id = form.querySelector(\n        '[name=\"product-id\"]'\n      );\n\n      var variant = form.querySelector(\n        '[name=\"id\"]'\n      );\n\n      if (\n        !(id \u0026\u0026 id.value === productId) \u0026\u0026\n        !(variant \u0026\u0026 variant.value === variantId)\n      ) {\n        continue;\n      }\n\n      var add = firstVisible(\n        form,\n        '[name=\"add\"], button[type=\"submit\"]'\n      );\n\n      if (!add || form.closest(excluded)) continue;\n\n      var scope = form.closest(\n        'product-info, .product__info-container, [id^=\"MainProduct-\"]'\n      );\n\n      return firstVisible(scope, priceSelector) || add;\n    }\n\n    return firstVisible(info, '[name=\"add\"]');\n  }\n\n  function linkTo(target) {\n    if (!target.id) {\n      target.id = 'zvg-advent-purchase-target';\n    }\n\n    var root = document.getElementById(rootId);\n\n    if (root) {\n      root.querySelectorAll('[data-zvg-advent-buy]')\n        .forEach(function (link) {\n          link.setAttribute('href', '#' + target.id);\n        });\n    }\n  }\n\n  function refresh() {\n    var target = findTarget();\n\n    if (target) linkTo(target);\n  }\n\n  if (window.__zvgAdventPurchaseInit) {\n    window.__zvgAdventPurchaseInit();\n    return;\n  }\n\n  window.__zvgAdventPurchaseInit = refresh;\n\n  document.addEventListener('click', function (event) {\n    if (\n      event.defaultPrevented ||\n      event.button \u003e 0 ||\n      event.metaKey ||\n      event.ctrlKey ||\n      event.shiftKey ||\n      event.altKey\n    ) {\n      return;\n    }\n\n    var link =\n      event.target.closest \u0026\u0026\n      event.target.closest(\n        '#' + rootId + ' [data-zvg-advent-buy]'\n      );\n\n    if (!link) return;\n\n    var target = findTarget();\n\n    if (!target) return;\n\n    event.preventDefault();\n    linkTo(target);\n\n    var headerHeight = 0;\n    var headerBottom = 0;\n\n    document.querySelectorAll(\n      'sticky-header, .section-header, .shopify-section-header-sticky, #shopify-section-header'\n    ).forEach(function (header) {\n      var rect = header.getBoundingClientRect();\n\n      if (\n        rect.height \u003e 0 \u0026\u0026\n        rect.height \u003c window.innerHeight * 0.45\n      ) {\n        headerHeight = Math.max(\n          headerHeight,\n          rect.height\n        );\n\n        if (rect.top \u003c 80 \u0026\u0026 rect.bottom \u003e 0) {\n          headerBottom = Math.max(\n            headerBottom,\n            rect.bottom\n          );\n        }\n      }\n    });\n\n    var offset = Math.max(\n      120,\n      headerHeight + 36,\n      headerBottom + 20\n    );\n\n    var top = Math.max(\n      0,\n      window.pageYOffset +\n      target.getBoundingClientRect().top -\n      offset\n    );\n\n    var reduced =\n      window.matchMedia \u0026\u0026\n      window.matchMedia(\n        '(prefers-reduced-motion: reduce)'\n      ).matches;\n\n    if (!target.hasAttribute('tabindex')) {\n      target.setAttribute('tabindex', '-1');\n    }\n\n    target.focus({ preventScroll: true });\n\n    window.scrollTo({\n      top: top,\n      behavior: reduced ? 'auto' : 'smooth'\n    });\n\n    target.setAttribute(\n      'data-zvg-advent-highlight',\n      ''\n    );\n\n    window.setTimeout(function () {\n      target.removeAttribute(\n        'data-zvg-advent-highlight'\n      );\n    }, 2200);\n  });\n\n  document.addEventListener(\n    'shopify:section:load',\n    refresh\n  );\n\n  if (document.readyState === 'loading') {\n    document.addEventListener(\n      'DOMContentLoaded',\n      refresh,\n      { once: true }\n    );\n  }\n\n  refresh();\n})();\n\u003c\/script\u003e\u003c\/section\u003e\n\u003c\/section\u003e","brand":"mysite","offers":[{"title":"Default Title","offer_id":49852886745243,"sku":"SZ03842610198637-圣诞降临节套装","price":45.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0766\/3249\/0139\/files\/1_139.png?v=1792399121","url":"https:\/\/zavrlygoods.com\/products\/nativity-advent-calendar-2026-24-day-christmas-countdown-with-nativity-figures","provider":"zavrlygoods","version":"1.0","type":"link"}