/* Always visible black track / Thunder-yellow thumb across desktop surfaces. */
html{scrollbar-color:#ffce00 #05070a!important;scrollbar-width:auto!important}
html::-webkit-scrollbar,body::-webkit-scrollbar,.th-search-body::-webkit-scrollbar{width:11px!important;height:11px!important}
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,.th-search-body::-webkit-scrollbar-track{background:#05070a!important}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,.th-search-body::-webkit-scrollbar-thumb{background:#ffce00!important;border-radius:9px;border:2px solid #05070a!important}
/* Search: inline header input + results dropdown; no duplicated editor or page scrim. */
.th-smart-search .th-search-trigger-form{position:relative!important}
.th-smart-search .th-search-trigger-form input[data-th-search-source]{padding-right:42px!important}
.thunder-polish-search-clear{position:absolute!important;right:8px;top:50%;transform:translateY(-50%);border:0!important;background:transparent!important;color:#38465a!important;cursor:pointer;z-index:4;font-size:25px;line-height:1;width:32px;height:32px}
.thunder-polish-search-clear[hidden]{display:none!important}
.th-search-modal:not([hidden]){position:fixed!important;inset:70px 0 auto!important;pointer-events:none!important;background:none!important;backdrop-filter:none!important;height:auto!important;max-height:calc(100dvh - 82px)!important;transform:none!important}
.th-search-modal .th-search-scrim{display:none!important}
.th-search-modal .th-search-panel{pointer-events:auto!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;margin:0 auto!important;width:min(1100px,calc(100vw - 28px))!important;max-height:calc(100dvh - 88px)!important;border-top:2px solid #ffcf00!important;animation:thunder-search-dropdown .22s ease-out both!important}
.th-search-modal .th-search-top{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;margin:0!important;padding:0!important;clip-path:inset(50%)!important}
.th-search-modal .th-search-body{overscroll-behavior:contain!important;scrollbar-color:#ffcf00 #080b11!important;overflow-y:auto!important;min-height:0!important;max-height:calc(100dvh - 110px)!important}
body.th-layer-open:has(.th-search-modal:not([hidden])){overflow:auto!important}
.th-search-hit-add{font-size:20px!important}
@keyframes thunder-search-dropdown{from{opacity:0;translate:0 -14px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.th-search-modal:not([hidden]){inset:58px 0 auto!important}.th-search-modal .th-search-panel{height:auto!important;max-height:calc(100dvh - 70px)!important;border-radius:15px!important}.th-search-modal .th-search-body{max-height:calc(100dvh - 100px)!important}}
/* Sales, editorial, and checkout notices keep their own original pricing semantics. */
.th-react-card{cursor:pointer}
.th-react-card :is(button,a){cursor:pointer}
/* Quiet, genuine partner assets (no invented payment availability claims). */
.thunder-polish-ship-logo picture{display:flex;align-items:center;justify-content:center;max-width:150px;max-height:55px}
.thunder-polish-ship-logo picture img{max-width:135px!important;max-height:54px!important;width:auto!important;height:auto!important;object-fit:contain}
.thunder-polish-partners{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;padding:12px 15px;margin:14px auto;color:#adb7c8;border-top:1px solid #ffffff20}
.thunder-polish-partners small{font-size:9px;font-weight:750;letter-spacing:.09em}
.thunder-polish-partners picture{max-width:100px;display:inline-flex;align-items:center;justify-content:center}
.thunder-polish-partners img{display:block;width:auto;height:auto;max-height:26px;max-width:95px;object-fit:contain}
.thunder-polish-payment-brands{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0}
.thunder-polish-payment-brands img{display:block;max-height:35px;max-width:120px;width:auto;object-fit:contain}
/* Parallax is deliberately isolated to Journal editorial imagery. */
.th-base44-blog-card-media,.thunder-polish-blog-image,.thunder-polish-article-cover{overflow:hidden!important}
.th-base44-blog-card-media img.thunder-polish-parallax,.thunder-polish-blog-image img.thunder-polish-parallax,.thunder-polish-article-cover img.thunder-polish-parallax{transform:translate3d(0,var(--thunder-parallax-y,0px),0) scale(1.12)!important;will-change:transform}
html.light body.page-id-38 :is(.th-base44-blog-card h2,.thunder-polish-blog-title){color:#fff!important}
html.light body.page-id-38 :is(.th-base44-blog-card,.thunder-polish-blog-card){background:#101721!important;color:#fff!important}
html.light body.single-post .thunder-polish-article :is(h2,h3,li,p){color:#e5ebf5!important}
@media(prefers-reduced-motion:reduce){.th-search-modal .th-search-panel{animation:none!important}.thunder-polish-parallax{transform:none!important;will-change:auto!important}}
/* High-contrast smoked-glass account dialog, only on the existing modal. */
#thunder-auth-dialog{width:min(430px,calc(100vw - 26px))!important;padding:24px!important;background:linear-gradient(145deg,rgba(24,32,45,.96),rgba(7,10,17,.98))!important;border:1px solid #ffce0070!important;border-radius:22px!important;box-shadow:0 24px 85px #0009,inset 0 1px 1px #ffffff33,0 0 25px #ffcd0018!important;color:#f4f6fc!important;backdrop-filter:blur(22px)!important}
#thunder-auth-dialog .thunder-auth-header h2{font-size:19px!important;color:#fff!important;font-weight:900}
#thunder-auth-dialog #thunder-auth-reason{color:#bac5d5!important;font-size:12px!important}
#thunder-auth-dialog .thunder-auth-tabs{gap:8px!important;margin:17px 0!important}
#thunder-auth-dialog .thunder-auth-tabs button{font-size:13px!important;padding:10px!important;border-radius:12px!important;color:#e3eaf5!important;border:1px solid #8493a844!important;background:#111a29!important}
#thunder-auth-dialog .thunder-auth-tabs button[aria-pressed=true],#thunder-auth-dialog button[type=submit]{color:#0d1118!important;background:#ffce00!important;border:1px solid #ffce00!important;font-size:13px!important;font-weight:850!important}
#thunder-auth-dialog :is(.woocommerce label,.woocommerce p){color:#d3def0!important;font-size:12px!important}
#thunder-auth-dialog .woocommerce .input-text{background:#101b2b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;caret-color:#ffce00!important;border:1px solid #586a83!important;border-radius:11px!important;min-height:42px!important}
#thunder-auth-dialog .woocommerce .input-text::placeholder{color:#9eb0c7!important}
#thunder-auth-dialog .woocommerce .input-text:focus{outline:2px solid #ffce00!important}
#thunder-auth-dialog .thunder-social-auth{margin-top:17px;border-top:1px solid #ffffff20;padding-top:15px!important}
#thunder-auth-dialog .thunder-social-auth>p{font-size:11px!important;text-transform:uppercase;letter-spacing:.1em;color:#afbcd1!important}
#thunder-auth-dialog .thunder-social-auth :is(.nsl-button,.nsl-container a){border-radius:12px!important;overflow:hidden!important;box-shadow:0 0 0 1px #ffce0055!important}
html.light #thunder-auth-dialog{background:linear-gradient(145deg,#fff,#eaf0f8)!important;color:#101827!important}
html.light #thunder-auth-dialog .thunder-auth-header h2,html.light #thunder-auth-dialog .woocommerce :is(label,p){color:#131b29!important}
html.light #thunder-auth-dialog .woocommerce .input-text{color:#101827!important;-webkit-text-fill-color:#101827!important;background:#fff!important;border-color:#52647b!important}
/* Color-code the actual social links, without changing their URLs. */
#thunder-original-footer a[aria-label=Instagram]:is(:hover,:focus-visible){color:#e1306c!important;border-color:#e1306c!important}
#thunder-original-footer a[aria-label=Facebook]:is(:hover,:focus-visible){color:#1877f2!important;border-color:#1877f2!important}
#thunder-original-footer a[aria-label=YouTube]:is(:hover,:focus-visible){color:#ff0033!important;border-color:#ff0033!important}
#thunder-original-footer a[aria-label=TikTok]:is(:hover,:focus-visible){color:#25f4ee!important;border-color:#25f4ee!important}
/* The public storefront's original React SmartSearch uses a different DOM tree
   from the Elementor shortcode. Treat it as an anchored search dropdown. */
#thunder-original-root [role="dialog"][aria-label="Keresés"]{position:fixed!important;inset:75px 0 auto!important;height:auto!important;max-height:calc(100dvh - 82px)!important;pointer-events:none!important;z-index:1100!important}
#thunder-original-root [role="dialog"][aria-label="Keresés"]>div:first-child{display:none!important}
#thunder-original-root [role="dialog"][aria-label="Keresés"]>div:nth-child(2){position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:min(1140px,calc(100vw - 26px))!important;max-height:calc(100dvh - 90px)!important;margin:0 auto!important;pointer-events:auto!important;display:flex!important;flex-direction:column!important;animation:thunder-search-dropdown .24s ease-out both!important}
#thunder-original-root [role="dialog"][aria-label="Keresés"]>div:nth-child(2)>div:has(input[aria-label="Keresés a panelban"]){position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;pointer-events:none!important;padding:0!important;border:0!important}
#thunder-original-root [role="dialog"][aria-label="Keresés"]>div:nth-child(2)>div.overflow-y-auto{max-height:calc(100dvh - 110px)!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-color:#ffce00 #05070a!important}
.thunder-polish-original-search-clear{position:fixed;z-index:1500;display:grid;place-items:center;width:30px;height:30px;transform:translateY(-50%);padding:0;color:#4b5d75!important;background:transparent!important;border:0!important;border-radius:50%;font-size:24px;cursor:pointer}
.thunder-polish-original-search-clear[hidden]{display:none!important}
@media(max-width:700px){#thunder-original-root [role="dialog"][aria-label="Keresés"]{inset:64px 0 auto!important;max-height:calc(100dvh - 72px)!important}}

/* Original React search results: replace ambiguous sparkle icon visually with cart. */
#thunder-original-root [role="dialog"][aria-label="Keresés"] button.thunder-polish-search-cart svg{display:none!important}
#thunder-original-root [role="dialog"][aria-label="Keresés"] button.thunder-polish-search-cart::before{content:'🛒';font-size:17px;display:inline-block;line-height:1}
/* Keep native page scrolling possible outside a scrollable smart-search dropdown. */
body:has(#thunder-original-root [role="dialog"][aria-label="Keresés"]){overflow:auto!important}
/* Stable two-column address cards on the existing Woo account page. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important;margin:22px 0 12px!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses .col-1,
body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses .col-2{float:none!important;width:auto!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;padding:22px!important;align-self:stretch!important}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
@media(max-width:700px){body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,body.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses{grid-template-columns:1fr!important}}
/* Branded channel colors are visible without requiring hover. */
#thunder-original-footer a[aria-label="Instagram"]{color:#e84f9a!important}
#thunder-original-footer a[aria-label="Facebook"]{color:#398bff!important}
#thunder-original-footer a[aria-label="YouTube"]{color:#ff3636!important}
#thunder-original-footer a[aria-label="TikTok"]{color:#53e3df!important}

body.woocommerce-account #billing_thunder_company_purchase_field{margin-top:14px!important}
body.woocommerce-account #billing_thunder_company_purchase_field input{accent-color:#ffcf00;width:20px;height:20px;vertical-align:middle;margin-right:8px}
body.woocommerce-account #billing_tax_number_field[hidden],body.woocommerce-account #billing_company_field[hidden]{display:none!important}
