/* Thunder TCG – 2026-11-13 visual fixes. No checkout state, cart state or payment gateway changes. */
/* The extra partner strip inherited a white theme background. Keep it on-brand. */
html body #thunder-original-footer + .thunder-polish-partners,
html.light body #thunder-original-footer + .thunder-polish-partners,
html.dark body #thunder-original-footer + .thunder-polish-partners{
 background:#080b11!important;color:#f3f6fa!important;border-top:1px solid #253145!important;
 margin:0!important;padding:18px clamp(16px,4vw,42px)!important;min-height:60px;
}
#thunder-original-footer + .thunder-polish-partners small{color:#e2e8f0!important;letter-spacing:.13em!important}
#thunder-original-footer + .thunder-polish-partners picture{max-width:112px;min-width:68px;}
#thunder-original-footer + .thunder-polish-partners img{max-width:106px!important;max-height:30px!important;object-fit:contain!important}
/* Fix invisible text and icons on dark theme, including footer and mobile menus. */
html:not(.light) #thunder-original-footer :is(a,button,p,li,small,span){color:inherit}
html:not(.light) #thunder-original-footer a[aria-label="TikTok"]{color:#fff!important}
html:not(.light) #thunder-original-root button[aria-label*="menü"] :is(svg,path,line),
html:not(.light) #thunder-original-root button[aria-label*="Menü"] :is(svg,path,line){stroke:#fff!important;color:#fff!important}
/* Single unified Thunder Journal palette in every mode. Even on a white site, editorial dark cards stay readable. */
html.light body.page-id-38 :is(.th-base44-blog-grid h2,.th-base44-blog-card h2,.thunder-polish-blog-title),
html.light #thunder-original-root a[href^="/blog/"] :is(h2,h3),
html.light body.thunder-polish-journal-single .thunder-journal-page-heading h1 {color:#fff!important}
html.light body.page-id-38 :is(.th-base44-blog-card,.thunder-polish-blog-card),
html.light #thunder-original-root a[href^="/blog/"]:has(img){background:#121925!important;color:#fff!important}
html.light body.page-id-38 :is(.th-base44-blog-card p,.thunder-polish-blog-excerpt),
html.light #thunder-original-root a[href^="/blog/"] p {color:#ced7e5!important}
html.light body.thunder-polish-journal-single{background:#080b11!important;color:#fff!important}
html.light body.thunder-polish-journal-single .thunder-journal-global-header{background:rgba(7,9,13,.96)!important}
html.light body.thunder-polish-journal-single .thunder-polish-article{background:#121925!important;color:#e4edfa!important}
html.light body.thunder-polish-journal-single .thunder-polish-article :is(h2,h3,h4){color:#fff!important}
html.light body.thunder-polish-journal-single .thunder-polish-article :is(p,li,blockquote){color:#e5edf7!important}
/* Shipping methods: independent cards only; no connecting outer stroke/glow. */
body.woocommerce-checkout :is(#shipping_method,.woocommerce-shipping-totals:has(#shipping_method) > td){
 outline:0!important;box-shadow:none!important;background:transparent!important;
}
body.woocommerce-checkout #shipping_method{border:0!important;border-radius:0!important;padding:0!important}
body.woocommerce-checkout #shipping_method > li.thunder-polish-shipping-card{border-radius:18px!important}
/* Product search cart icon: deterministic SVG graphic, not missing symbol font / empty square. */
#thunder-original-root [role="dialog"][aria-label="Keresés"] button.thunder-polish-search-cart::before,
.th-search-hit-add::before{
 content:""!important;display:inline-block!important;width:19px!important;height:19px!important;
 background-color:currentColor!important;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.6a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat!important;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.6a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.th-search-hit-add{display:inline-flex!important;align-items:center!important;justify-content:center!important}
/* Mobile search needs a real editable, visible header input under expanded panel. */
@media(max-width:767px){
 /* Original React header is already fixed; do not override its position. */
 #thunder-original-root form input[aria-label="Keresés"]{position:relative!important;z-index:1201!important;pointer-events:auto!important;touch-action:manipulation!important;user-select:text!important;-webkit-user-select:text!important;min-width:0!important}
 #thunder-original-root [role="dialog"][aria-label="Keresés"]{pointer-events:none!important;top:65px!important;max-height:calc(100dvh - 70px)!important}
 #thunder-original-root [role="dialog"][aria-label="Keresés"]>div:nth-child(2){pointer-events:auto!important;overscroll-behavior:contain!important;max-height:calc(100dvh - 76px)!important}
}
/* Provider graphics on the information page stay small, aligned and readable. */
.thunder-polish-info-logo picture{display:flex;align-items:center;justify-content:center;max-width:160px;max-height:56px}
.thunder-polish-info-logo img{width:auto!important;height:auto!important;max-width:150px!important;max-height:54px!important;object-fit:contain!important}
.thunder-polish-info-service-description{font-size:13px!important;line-height:1.65!important;color:#cbd5e1!important;margin:8px 0 16px!important}
html.light body.page-id-327 .thunder-info .thunder-polish-info-service-description{color:#cbd5e1!important}
/* Profile form: never show county and ensure company checkbox stays understandable. */
body.woocommerce-account :is(#billing_state_field,#shipping_state_field){display:none!important}
body.woocommerce-account #billing_thunder_company_purchase_field{display:block!important}
body.woocommerce-account #billing_tax_number_field[hidden],
body.woocommerce-account #billing_company_field[hidden]{display:none!important}
/* No cart/checkout price calculations, no blanket notices hiding, no animation on payment buttons. */
@media(prefers-reduced-motion:reduce){.thunder-polish-search-cart,.th-search-hit-add{animation:none!important}}

/* Inline newsletter headline must retain visual whitespace before THUNDER. */
#thunder-original-footer h2 .text-glow-cyan{margin-left:.15em!important}

/* Mobile uses a search-icon trigger, NOT the desktop header input. Thus the
   dialog's own input is mandatory on mobile, even though desktop hides it. */
@media(max-width:767px){
 #thunder-original-root [role="dialog"][aria-label="Keresés"]>div:nth-child(2)>div:has(input[aria-label="Keresés a panelban"]){
   position:relative!important;opacity:1!important;display:flex!important;visibility:visible!important;
   width:100%!important;height:auto!important;overflow:visible!important;clip-path:none!important;
   pointer-events:auto!important;z-index:20!important;padding:12px 14px!important;border:0!important;
 }
 #thunder-original-root [role="dialog"][aria-label="Keresés"] input[aria-label="Keresés a panelban"]{
   display:block!important;visibility:visible!important;pointer-events:auto!important;
   min-height:43px!important;font-size:16px!important;line-height:1.4!important;
   background:#f8fafc!important;color:#0e1928!important;-webkit-text-fill-color:#0e1928!important;
   border-radius:10px!important;padding:0 12px!important;
   caret-color:#111827!important;touch-action:manipulation!important;-webkit-user-select:text!important;
 }
 #thunder-original-root [role="dialog"][aria-label="Keresés"] input[aria-label="Keresés a panelban"]:focus{outline:2px solid #ffcf00!important}
}

/* Bounded, editorial provider guide – information page only. */
body.page-id-327 .thunder-polish-service-guide{max-width:1380px;margin:38px auto 56px;padding:clamp(20px,3vw,36px);background:linear-gradient(145deg,#151d29,#0e131c);border:1px solid #303a49;border-radius:22px;color:#f0f4fb}
body.page-id-327 .thunder-polish-service-guide h2{font-size:clamp(24px,3vw,34px);line-height:1.2;color:#fff;margin:0 0 14px}
body.page-id-327 .thunder-polish-service-guide>p{color:#bfcddd;margin:0 0 25px;line-height:1.7}
body.page-id-327 .thunder-polish-service-group{margin:26px 0 0}
body.page-id-327 .thunder-polish-service-group h3{font-size:17px;color:#ffcf00;margin:0 0 14px}
body.page-id-327 .thunder-polish-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
body.page-id-327 .thunder-polish-service-card{padding:16px;background:#0b1018;border:1px solid #2e3848;border-radius:15px;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:12px}
body.page-id-327 .thunder-polish-service-card picture{display:flex;align-items:center;justify-content:center;min-height:44px}
body.page-id-327 .thunder-polish-service-card img{max-height:39px;max-width:137px;width:auto;height:auto;object-fit:contain}
body.page-id-327 .thunder-polish-service-card p{color:#cad4e3!important;font-size:12px!important;line-height:1.55!important;margin:0!important}
@media(max-width:850px){body.page-id-327 .thunder-polish-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){body.page-id-327 .thunder-polish-service-grid{grid-template-columns:1fr}}
/* Social login providers retain their secured native button; align only the outer shell. */
body.woocommerce-account #customer_login :is(.nsl-container,.googlesitekit-sign-in-with-google__frontend-output-button){max-width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;align-items:center!important}
body.woocommerce-account #customer_login :is(.nsl-button,.nsl-container iframe,.googlesitekit-sign-in-with-google__frontend-output-button iframe){max-width:100%!important;vertical-align:middle!important;border-radius:12px!important}
#thunder-original-footer a[aria-label="TikTok"]{color:#fff!important}
