::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-thumb {
    background: #1707ef;
    border-radius: 5px;
}

/* ===== LD product page v4: сторінка товару ТІЛЬКИ для гірлянд (html.ld-pdp ставиться лише на /girlanda*/tproduct/*) (кремовий фон, зелений + золото, липка кнопка на мобільному) ===== */
html.ld-pdp body{background-color:#f6f1e6!important}
html.ld-pdp .r:has(.t-store__prod-snippet__container),html.ld-pdp .r.ld-pdp-r{background-color:#f6f1e6!important;background-image:none!important}
html.ld-pdp .t-store__prod-snippet__container{color:#1b3a2f}
/* назва + ціна */
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__name{color:#1b3a2f!important;font-size:30px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.01em}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-wrapper{display:flex!important;align-items:baseline;flex-wrap:wrap;gap:6px 14px;margin:14px 0 8px!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item{display:inline-flex!important;align-items:baseline;gap:5px;margin:0!important;padding:0!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price:not(.t-store__prod-popup__price_old),html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item:not(.t-store__prod-popup__price_old) .t-store__prod-popup__price-value,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item:not(.t-store__prod-popup__price_old) .t-store__prod-popup__price-currency{color:#1b3a2f!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item:not(.t-store__prod-popup__price_old) .t-store__prod-popup__price-value{font-size:34px!important;font-weight:800!important;line-height:1!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item:not(.t-store__prod-popup__price_old) .t-store__prod-popup__price-currency{font-size:18px!important;font-weight:700!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price_old,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price_old .t-store__prod-popup__price-value,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price_old .t-store__prod-popup__price-currency{color:#7d8a83!important;font-size:19px!important;font-weight:400!important;text-decoration:line-through}
/* опції: довжина, колір */
html.ld-pdp .t-store__prod-snippet__container .t-product__option{margin:14px 0 0!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option>.t-product__option-title{color:#52665c!important;font-size:12px!important;font-weight:700!important;letter-spacing:.09em;text-transform:uppercase;margin:0 0 8px!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons{display:inline-flex!important;align-items:center;justify-content:center;min-width:56px;height:46px!important;padding:0 16px!important;margin:0 8px 8px 0!important;box-sizing:border-box;background-color:#fff!important;border:1.5px solid #cdc4ab!important;border-radius:12px!important;cursor:pointer;transition:border-color .15s,background-color .15s}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons:hover{border-color:#1b3a2f!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons .t-product__option-checkmark{display:none!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons .t-product__option-title{color:#1b3a2f!important;font-size:15px!important;font-weight:700!important;letter-spacing:0;text-transform:none;margin:0!important;line-height:1!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons.t-product__option-item_active{background-color:#ecc15a!important;border-color:#c99a2e!important;box-shadow:0 2px 8px rgba(201,154,46,.35)}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-item_buttons.t-product__option-item_active .t-product__option-title{color:#10201a!important}
html.ld-pdp .t-store__prod-snippet__container .t-product__option-select,html.ld-pdp .t-store__prod-snippet__container .t-product__option-variants_custom .t-product__option-select{border:1.5px solid #cdc4ab!important;border-radius:12px!important;background-color:#fff!important;color:#1b3a2f!important;font-size:15px!important;font-weight:600!important;min-height:46px}
/* кнопка «Замовити зараз» */
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn-wrapper{margin:20px 0 6px!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn{display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:none!important;height:58px!important;background-color:#1b3a2f!important;background-image:none!important;border:0!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(27,58,47,.28)!important;transition:background-color .2s,transform .2s}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn .t-btnflex__text,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn td{color:#fff!important;font-size:16px!important;font-weight:800!important;letter-spacing:.07em;text-align:center}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn:hover{background-color:#e1b458!important;transform:translateY(-1px)}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn:hover .t-btnflex__text,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn:hover td{color:#10201a!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn .t-btn_wrap-effects{display:none!important}
.ld-pdp-price{display:none;font-family:TildaSans,Arial,sans-serif}
/* опис: читабельний, з заголовками й списками */
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text{color:#2b3f36!important;font-size:16px!important;line-height:1.7!important;margin-top:26px!important}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text p{margin:0 0 12px!important;color:inherit!important}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text h3{font-size:19px!important;line-height:1.3!important;font-weight:700!important;color:#1b3a2f!important;margin:26px 0 10px!important;padding-left:12px;border-left:4px solid #e1b458}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text ul{margin:0 0 14px!important;padding-left:22px!important;list-style:disc!important}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text li{margin:0 0 7px!important;color:inherit!important}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text li::marker{color:#c99a2e}
html.ld-pdp .t-store__prod-snippet__container .js-store-prod-text strong{color:#1b3a2f}
/* галерея: яскраві великі стрілки */
html.ld-pdp .t-store__prod-snippet__container .t-slds__container{background-color:#10201a!important}
html.ld-pdp .t-store__prod-snippet__container .t-slds__arrow-withbg{width:50px!important;height:50px!important;border:2px solid #fff!important;border-radius:50%!important;background-color:#ecc15a!important;box-shadow:0 4px 16px rgba(0,0,0,.5)!important;opacity:1!important;display:flex!important;align-items:center;justify-content:center;transition:transform .15s,background-color .15s}
html.ld-pdp .t-store__prod-snippet__container .t-slds__arrow-withbg:hover{background-color:#ffd978!important;transform:scale(1.08)}
html.ld-pdp .t-store__prod-snippet__container .t-slds__arrow_body{width:13px!important}
html.ld-pdp .t-store__prod-snippet__container .t-slds__arrow_body polyline{stroke:#10201a!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet{border-radius:8px;opacity:.75;transition:opacity .15s}
html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet:hover,html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet.t-slds__bullet_active{opacity:1}
html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet.t-slds__bullet_active{box-shadow:0 0 0 2px #ecc15a}
/* «назад» і закриття */
html.ld-pdp .t-store__prod-snippet__container .t-popup__close{width:44px!important;height:44px!important;border-radius:50%!important;background-color:#1b3a2f!important;display:block!important}
html.ld-pdp .t-store__prod-snippet__container .t-popup__close-wrapper{position:absolute!important;top:0;left:0;width:44px;height:44px}
html.ld-pdp .t-store__prod-snippet__container .t-popup__close-icon{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:translate(-50%,-50%)}
html.ld-pdp .t-store__prod-snippet__container .t-popup__close path,html.ld-pdp .t-store__prod-snippet__container .t-popup__close g{fill:#fff!important}
/* мобільний: липка нижня панель — ціна зліва, кнопка справа */
@media (max-width:960px){
  html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__name{font-size:24px!important}
  html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__price-item:not(.t-store__prod-popup__price_old) .t-store__prod-popup__price-value{font-size:30px!important}
}
@media (max-width:640px){
  html.ld-pdp body{padding-bottom:88px}
  html.ld-pdp .t-store__prod-snippet__container .t-popup__close{top:10px!important;left:10px!important;right:auto!important}
  html.ld-pdp .t-store__prod-snippet__container .t-slds__arrow-withbg{width:44px!important;height:44px!important}
  html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet-wrapper{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px;justify-content:flex-start;padding:8px 0;-webkit-overflow-scrolling:touch}
  html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet{flex:0 0 auto;width:58px!important;height:58px!important;margin:0!important}
  html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn-wrapper{position:fixed!important;left:0;right:0;bottom:0;z-index:9990;display:flex!important;align-items:center;gap:14px;margin:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background-color:#fff!important;box-shadow:0 -8px 28px rgba(27,58,47,.2);opacity:1!important;box-sizing:border-box}
  html.ld-pdp .t-store__prod-snippet__container .ld-pdp-price{display:flex;flex-direction:column;justify-content:center;flex:0 0 auto;min-width:92px;line-height:1.1}
  html.ld-pdp .t-store__prod-snippet__container .ld-pdp-price b{font-size:23px;font-weight:800;color:#1b3a2f;white-space:nowrap;font-family:TildaSans,Arial,sans-serif}
  html.ld-pdp .t-store__prod-snippet__container .ld-pdp-price s{font-size:13px;color:#7d8a83;white-space:nowrap;font-family:TildaSans,Arial,sans-serif}
  html.ld-pdp .t-store__prod-snippet__container .ld-pdp-price s:empty{display:none}
  html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn{flex:1 1 auto;width:auto!important;height:52px!important}
  html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn .t-btnflex__text,html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn td{font-size:15px!important;letter-spacing:.04em}
  html.ld-pdp #ld-theme-toggle{bottom:92px;width:38px;height:38px;opacity:.92}
}
/* темна тема на сторінці товару: золота кнопка і золотий «назад» */
html.ld-dark.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn{background-color:#ecc15a!important;box-shadow:0 10px 24px rgba(0,0,0,.45)!important}
html.ld-dark.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn .t-btnflex__text,html.ld-dark.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn td{color:#10201a!important}
html.ld-dark.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__btn:hover{background-color:#ffd978!important}

/* ===== LD dark/light theme switch v5 (без інверсії; кольори переписує скрипт у head пачками, без перемикання класів на кожну зміну; картки товарів лишаються білими як у світлій темі) ===== */
html.ld-dark{color-scheme:dark}
html.ld-dark body{background-color:#0a120e!important}
html.ld-boot #allrecords{opacity:0}
html.ld-dark #allrecords{transition:opacity .25s ease}
html.ld-dark ::placeholder{color:#8fa097!important;opacity:1}
html.ld-dark ::-webkit-scrollbar-thumb{background:#ecc15a}
html.ld-dark ::selection{background:#ecc15a;color:#10201a}
/* схема-плашка: у темній темі темно-зелена плашка з золотою обводкою, світлий текст, лампочки мерехтять */
html.ld-dark #allrecords .ldsch{background:linear-gradient(135deg,#0d1813 0%,#16291f 100%);border-color:#e1b458}
html.ld-dark #allrecords .ldsch-k{color:#ecc15a}
html.ld-dark #allrecords .ldsch-t{color:#f4efe3}
html.ld-dark #allrecords .ldsch-n{color:#bccabf}
html.ld-dark #allrecords .ldsch svg [stroke^="rgba(27,58,47"]{stroke:rgba(244,239,227,.55)}
#ld-theme-toggle{position:fixed;left:16px;bottom:16px;z-index:9998;width:46px;height:46px;border-radius:50%;border:0;padding:0;margin:0;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#1b3a2f;color:#ffffff;box-shadow:0 4px 16px rgba(0,0,0,.35);transition:transform .2s ease,background-color .2s ease}
#ld-theme-toggle:hover{transform:scale(1.08)}
#ld-theme-toggle:focus-visible{outline:3px solid #ecc15a;outline-offset:2px}
#ld-theme-toggle svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ld-theme-toggle .ld-sun{display:none}
html.ld-dark #ld-theme-toggle{background:#ecc15a;color:#10201a}
html.ld-dark #ld-theme-toggle .ld-sun{display:block}
html.ld-dark #ld-theme-toggle .ld-moon{display:none}
@media (max-width:640px){#ld-theme-toggle{left:12px;bottom:12px;width:42px;height:42px}}
/* на мобільній сторінці товару кнопка теми — над липкою панеллю (тільки гірлянди) */
@media (max-width:640px){html.ld-pdp #ld-theme-toggle{bottom:92px;width:38px;height:38px;opacity:.92}}
/* спливаюче вікно «Детальніше» (тільки /girlanda*): дизайн вікна лишається, додаємо яскраві стрілки, смужку мініатюр і липку панель на мобільному; темну тему перефарбовує скрипт */
html.ld-gl #allrecords .t-popup .t-slds__arrow-withbg{width:50px!important;height:50px!important;border:2px solid #fff!important;border-radius:50%!important;background-color:#ecc15a!important;box-shadow:0 4px 16px rgba(0,0,0,.5)!important;opacity:1!important;display:flex!important;align-items:center;justify-content:center}
html.ld-gl #allrecords .t-popup .t-slds__arrow_body{width:13px!important}
html.ld-gl #allrecords .t-popup .t-slds__arrow_body polyline{stroke:#10201a!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
html.ld-gl #allrecords .t-popup .t-slds__thumbsbullet-wrapper{scrollbar-width:none}
html.ld-gl #allrecords .t-popup .t-slds__thumbsbullet-wrapper::-webkit-scrollbar{display:none}
.t-popup .ld-pdp-price{display:none;font-family:TildaSans,Arial,sans-serif}
@media (max-width:640px){
  html.ld-gl #allrecords .t-popup .t-slds__arrow-withbg{width:44px!important;height:44px!important}
  html.ld-gl #allrecords .t-popup .t-slds__thumbsbullet-wrapper{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px;justify-content:flex-start;padding:8px 0}
  html.ld-gl #allrecords .t-popup .t-slds__thumbsbullet{flex:0 0 auto;width:58px!important;height:58px!important;margin:0!important}
  html.ld-gl #allrecords .t-popup .t-store__prod-popup__btn-wrapper{position:fixed!important;left:0;right:0;bottom:0;z-index:9990;display:flex!important;align-items:center;gap:14px;margin:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background-color:#fff!important;box-shadow:0 -8px 28px rgba(27,58,47,.2);opacity:1!important;box-sizing:border-box}
  html.ld-gl #allrecords .t-popup .ld-pdp-price{display:flex;flex-direction:column;justify-content:center;flex:0 0 auto;min-width:92px;line-height:1.1}
  html.ld-gl #allrecords .t-popup .ld-pdp-price b{font-size:23px;font-weight:800;color:#1b3a2f;white-space:nowrap;font-family:TildaSans,Arial,sans-serif}
  html.ld-gl #allrecords .t-popup .ld-pdp-price s{font-size:13px;color:#7d8a83;white-space:nowrap;font-family:TildaSans,Arial,sans-serif}
  html.ld-gl #allrecords .t-popup .ld-pdp-price s:empty{display:none}
  html.ld-gl #allrecords .t-popup .t-store__prod-popup__btn-wrapper .t-btn,html.ld-gl #allrecords .t-popup .t-store__prod-popup__btn-wrapper .t-btnflex,html.ld-gl #allrecords .t-popup .t-store__prod-popup__btn{flex:1 1 auto;width:auto!important;height:52px!important}
}
html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet-wrapper{scrollbar-width:none}
html.ld-pdp .t-store__prod-snippet__container .t-slds__thumbsbullet-wrapper::-webkit-scrollbar{display:none}
/* ===== LD v6: кнопка «Усі гірлянди» + кружечки кольору в один рядок (сторінка товару й попап «Детальніше», тільки /girlanda*) ===== */
html.ld-gl .t-store__prod-popup__close-txt{display:inline-flex!important;align-items:center;justify-content:center;height:46px;padding:0 22px!important;box-sizing:border-box;border-radius:999px!important;background-color:#1b3a2f!important;border:2px solid #e1b458;box-shadow:0 8px 22px rgba(27,58,47,.32);font-size:0!important;line-height:1;text-decoration:none!important;cursor:pointer;transition:background-color .15s,transform .15s,box-shadow .15s}
html.ld-gl .t-store__prod-popup__close-txt::before{content:"\2190\00a0\00a0Усі гірлянди";font-size:15px;font-weight:800;letter-spacing:.02em;color:#fff;white-space:nowrap;font-family:TildaSans,Arial,sans-serif}
html.ld-gl .t-store__prod-popup__close-txt:hover{background-color:#ecc15a!important;transform:translateY(-1px);box-shadow:0 10px 26px rgba(0,0,0,.35)}
html.ld-gl .t-store__prod-popup__close-txt:hover::before{color:#10201a}
html.ld-dark.ld-gl .t-store__prod-popup__close-txt{background-color:#ecc15a!important;border-color:#ffd978}
html.ld-dark.ld-gl .t-store__prod-popup__close-txt::before{color:#10201a}
html.ld-dark.ld-gl .t-store__prod-popup__close-txt:hover{background-color:#ffd978!important}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__close-txt::before{color:#fff}
html.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__close-txt:hover::before{color:#10201a}
html.ld-dark.ld-pdp .t-store__prod-snippet__container .t-store__prod-popup__close-txt::before{color:#10201a}
@media (max-width:640px){html.ld-gl .t-store__prod-popup__close-txt-wr{display:none!important}}
/* колір: кружечки в ряд замість списку, що вспливає */
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"]{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 14px}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"]>.t-product__option-title{flex:0 0 100%;order:0}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-variants_custom{order:1;display:flex!important;flex-wrap:wrap;gap:12px;position:static!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important;width:auto!important;min-width:0!important;margin:0!important;padding:4px 4px 6px!important;background:none!important;box-shadow:none!important;border:0!important;transform:none!important}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-item_color{display:block!important;position:relative;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;cursor:pointer}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-item_color .t-product__option-title{display:none!important}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-item_color .t-product__option-checkmark{display:block!important;width:36px!important;height:36px!important;margin:0!important;border-radius:50%!important;border:2px solid #fff!important;box-shadow:0 0 0 1px rgba(110,125,118,.6),0 3px 8px rgba(0,0,0,.25)!important;transition:transform .15s,box-shadow .15s}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-item_color:hover .t-product__option-checkmark{transform:scale(1.1)}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-item_color.t-product__option-item_active .t-product__option-checkmark{box-shadow:0 0 0 2px #1b3a2f,0 0 0 5px #ecc15a!important}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-selected{order:2;display:flex!important;align-items:center;margin:0!important;padding:0 0 0 2px!important;border:0!important;background:none!important;pointer-events:none;cursor:default}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-selected::after,html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-selected::before{display:none!important}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-selected-checkmark{display:none!important}
html.ld-gl :is(.t-popup,.t-store__prod-snippet__container) .js-product-edition-option[data-option-type="color"] .t-product__option-selected-title{font-size:14px!important;font-weight:700!important}
