/* Scoped to the React shell: no global WooCommerce or Elementor card rules. */
#thunder-original-root{overflow-anchor:none}
#thunder-original-root .thunder-results-grid{min-height:50vh;align-content:start}
#thunder-original-root .thunder-card>.thunder-product-media{aspect-ratio:1/1!important;flex:none;min-height:0!important;height:auto!important}
#thunder-original-root .thunder-product-media .thunder-product-image{position:absolute!important;inset:16px!important;width:calc(100% - 32px)!important;height:calc(100% - 32px)!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important}
#thunder-original-root [aria-label="Termékszűrők"]>div{position:static;max-height:none;overflow:visible}
#thunder-original-root .thunder-results-grid,#thunder-original-root [data-thunder-results]{scroll-margin-top:145px}
.thunder-cart-success{position:fixed;right:20px;bottom:26px;z-index:110;background:#111827;color:#fff;border:1px solid #facc15;border-radius:12px;padding:12px 18px;font:600 14px/1.5 Inter,Arial,sans-serif;max-width:calc(100vw - 32px);box-shadow:0 8px 24px #0004;pointer-events:none}
.thunder-cart-flight{position:fixed;z-index:120;pointer-events:none;object-fit:contain;background:#fff;border:2px solid #facc15;border-radius:12px;width:54px;height:54px;box-shadow:0 4px 16px #0005}
@keyframes thunder-cart-pulse{50%{box-shadow:0 0 0 9px #facc1533;transform:scale(1.12)}}
.thunder-cart-pulse{animation:thunder-cart-pulse .5s ease-out}
@media(max-width:767px){.thunder-cart-success{bottom:76px;right:16px}}
@media(prefers-reduced-motion:reduce){.thunder-cart-pulse{animation:none}.thunder-cart-flight{display:none}}

/* The two catalogue columns scroll with the document at every breakpoint. */
#thunder-original-root .thunder-filter-stack,
#thunder-original-root .thunder-mobile-filters,
#thunder-original-root .thunder-mobile-filters>div{max-height:none;overflow:visible;overscroll-behavior:auto}
#thunder-original-root .thunder-header-catalog{padding:0;gap:0;white-space:nowrap}
#thunder-original-root .thunder-header-catalog-link{display:block;padding:.5rem .35rem .5rem 1rem;border-radius:inherit}
#thunder-original-root .thunder-header-catalog-arrow{display:grid;place-items:center;min-height:34px;min-width:30px;padding-right:.5rem;border-radius:inherit}
#thunder-original-root .thunder-header-catalog :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:1px}

.thunder-editorial{
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch;
  margin:clamp(2.5rem,6vw,5.5rem) 0 0;overflow:hidden;border:1px solid rgba(255,203,5,.23);
  border-radius:28px;background:var(--color-card,#11141b);
}
.thunder-editorial-copy{padding:clamp(1.4rem,4.4vw,4rem);min-width:0}
.thunder-editorial-label{display:block;margin-bottom:1rem;color:#d6a400;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.dark .thunder-editorial-label,.thunder-editorial-action .thunder-editorial-label{color:#ffcb05}
.thunder-editorial h2{font-family:Syncopate,Inter,sans-serif;font-size:clamp(1.3rem,2.7vw,2.45rem);line-height:1.16;letter-spacing:-.04em;text-wrap:balance;margin:0 0 1.25rem}
.thunder-editorial-copy p,.thunder-editorial-copy li{font-size:clamp(.92rem,1.25vw,1.05rem);line-height:1.7}
.thunder-editorial-copy p{margin:0 0 1rem;white-space:pre-line}
.thunder-editorial-copy .thunder-editorial-lead{font-weight:700}
.thunder-editorial-copy .thunder-editorial-condition{display:inline-block;border:1px solid #d59e25;padding:.35rem .7rem;border-radius:.5rem;font-weight:700}
.thunder-editorial-box,.thunder-editorial-answer{margin-top:1.4rem;padding:1rem 1.2rem;border:1px solid rgba(255,203,5,.22);border-radius:14px}
.thunder-editorial h3{font-size:1rem;font-weight:750;margin:0 0 .5rem}
.thunder-editorial-box ul{padding-left:1.25rem;list-style:disc}
.thunder-editorial-box li+li{margin-top:.25rem}
.thunder-editorial-answer p{margin:0}
.thunder-editorial-action{
  display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;
  color:#f7f7f9;padding:2.4rem 1.5rem;border-left:1px solid rgba(255,203,5,.2);
  background:radial-gradient(ellipse at 52% 40%,rgba(255,179,0,.18),transparent 55%),linear-gradient(140deg,#20160c,#0a0b10 62%);
}
.thunder-editorial-bolt{width:clamp(104px,13vw,174px);aspect-ratio:1;filter:drop-shadow(0 0 28px #ffbe2d70)}
.thunder-editorial-emblem{width:100%;height:100%}
.thunder-editorial-pointer{width:3.5rem;height:2.4rem;color:#ffcb05;opacity:.9;margin-bottom:.7rem}
.thunder-editorial-name{font-weight:700;max-width:26ch;text-wrap:balance}
.thunder-editorial-price{display:block;color:#ffcb05;font-size:1.3rem;margin-top:.35rem}
.thunder-editorial-add{padding:.7rem 1.15rem;border-radius:999px;font-weight:750;min-height:44px;margin-top:1rem}
.thunder-editorial-add:disabled{cursor:default;opacity:.55}
.light .thunder-editorial-copy{background:#fff}
@media(max-width:767px){
  .thunder-editorial{grid-template-columns:1fr}
  .thunder-editorial-action{border-left:0;border-top:1px solid rgba(255,203,5,.2)}
  #thunder-original-root [data-thunder-results]{scroll-margin-top:115px}
}

#thunder-original-root .thunder-category-brand {
  height:clamp(106px,16vw,240px);
}
#thunder-original-root .thunder-category-brand img {
  display:block;
  height:auto;
  width:auto;
  max-height:100%;
  max-width:min(100%,620px);
  max-inline-size:min(100%,clamp(240px,48vw,560px));
  object-fit:contain;
}
.thunder-catalog-links{margin:0 0 1.65rem;width:100%}
.thunder-catalog-links ul{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;padding:0;list-style:none}
.thunder-catalog-links a{display:block;padding:.45rem .75rem;border:1px solid #ffffff25;border-radius:999px;color:#f5f5f6;font:600 .82rem/1.35 Inter,sans-serif}
.thunder-catalog-links a:is(:hover,:focus-visible){border-color:#ffcb05;color:#ffcb05}


#thunder-original-root .thunder-category-brand-single {
  height: clamp(145px, 23vw, 328px);
}
#thunder-original-root .thunder-category-brand-single img {
  width: 100%;
  height: 100%;
  max-width: min(100%, clamp(360px, 62vw, 760px));
  max-inline-size: min(100%, clamp(360px, 62vw, 760px));
}

@media (max-width: 767px) {
  #thunder-original-root .thunder-header-cart button { width: 40px; padding-inline: 3px; }
  #thunder-original-root .thunder-header-cart button > span:not(:last-child) { display: none; }
  #thunder-original-root header .thunder-mobile-home { flex-shrink: 0; }
  #thunder-original-root [data-thunder-mobile-search="true"] > div:nth-child(2) > div:has(input[aria-label="Keresés a panelban"]) {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    flex-shrink: 0;
    opacity: 1 !important;
    overflow: visible !important;
    clip-path: none !important;
    pointer-events: auto !important;
    padding: 10px 12px !important;
  }
  #thunder-original-root [data-thunder-mobile-search] input { font-size: 16px !important; }
  #thunder-original-root [data-thunder-mobile-search] .thunder-search-results { order: -1; min-width: 0; }
  #thunder-original-root [data-thunder-mobile-search][data-thunder-search-has-query] .thunder-search-suggestions { display: none; }
  #thunder-original-root [data-thunder-mobile-search] .thunder-search-results > .flex > .group { gap: 6px; padding: 6px; }
}

/* The mobile keyboard resizes the visual viewport without resizing 100dvh on iOS. */
@media (max-width: 767px) {
  html body #thunder-original-root [role="dialog"][data-thunder-mobile-search] > div:nth-child(2) {
    height: auto;
    max-height: calc(var(--thunder-search-viewport, 100dvh) - 76px) !important;
  }
  #thunder-original-root [data-thunder-mobile-search] > div:nth-child(2) > div:first-child {
    flex-shrink: 0;
  }
  #thunder-original-root [data-thunder-mobile-search] .thunder-search-field {
    width: 100%;
  }
  html body #thunder-original-root [data-thunder-mobile-search] .thunder-search-field input[aria-label="Keresés a panelban"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
  #thunder-original-root [data-thunder-mobile-search] .thunder-search-field:focus-within {
    box-shadow: 0 0 0 2px #94a3b8;
  }
  #thunder-original-root .thunder-header-cart button {
    justify-content: center;
  }
  #thunder-original-root .thunder-product-rail {
    touch-action: pan-x pan-y pinch-zoom;
    scroll-snap-type: x proximity;
  }
}

#thunder-original-root .thunder-journal-hero-title { color:#fff !important; -webkit-text-fill-color:#fff; }
/* Use the same logo slot as other single-brand category heroes.
   The square Pokemon asset has transparent space above/below its artwork:
   center the full-resolution image inside this slot instead of enlarging the hero. */
#thunder-original-root .thunder-category-brand-pokemon {
  position: relative;
  height: clamp(145px, 23vw, 328px);
  overflow: hidden;
}
#thunder-original-root .thunder-category-brand-pokemon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, clamp(280px, 44vw, 640px));
  height: auto;
  max-height: none;
  max-width: none;
  max-inline-size: none;
}
#thunder-original-root .thunder-search-header-field input { padding-inline-end:44px; }
#thunder-original-root .thunder-search-header-clear {
  position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:34px;height:34px;color:#475569;border-radius:50%;
}
#thunder-original-root .thunder-search-header-clear:focus-visible { outline:2px solid #475569; }
body:has(.thunder-search-header-field) .thunder-polish-original-search-clear { display:none!important; }
@media(max-width:767px) {
  html body.thunder-search-locked:has(#thunder-original-root [data-thunder-mobile-search]) {
    position:fixed;inset:var(--thunder-search-scroll,0px) 0 auto;width:100%;overflow:hidden!important;
  }
  html body #thunder-original-root [role="dialog"][data-thunder-mobile-search] {
    top:calc(var(--thunder-search-offset,0px) + 65px)!important;
  }
  html body #thunder-original-root [role="dialog"][data-thunder-mobile-search] > div:nth-child(2) {
    border:1px solid #ffcb05!important;
  }
  html body #thunder-original-root [data-thunder-mobile-search] .thunder-search-field:focus-within {
    box-shadow:none;
  }
  html body #thunder-original-root [data-thunder-mobile-search] .overflow-y-auto {
    flex:1 1 auto;min-height:0;
    overscroll-behavior:contain;touch-action:pan-y;
  }
}
