/* MotoSziget — bukósisak katalógus kiegészítő stílusok.
   Fehér háttér, fekete tipográfia, narancs kiemelés, valódi termékfotók.
   A hero-videó, a katalóguskártyák, a márksáv, az ordersection, a faq,
   a businesscard és a googlereviews stílusai a styles.css / responsive.css /
   theme-light.css jóváhagyott szabályaiból érkeznek — itt csak a katalógusátállás
   új elemeit (valódi termékfotó, szűrősáv, termékoldal-galéria) egészítjük ki. */

/* Valódi termékfotó: tiszta fehér alapon, levágás nélkül (object-fit:contain). */
.product-photo { display: block; width: 100%; height: 100%; background: #fff; }
.product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Katalóguskártya képmező: a valós fotó tiszta fehér keretben, contain-nel. */
.catalog-card-image .product-photo { padding: 10px; border-radius: 16px; }
.catalog-card-image { background: #fff; }

/* Katalógus szűrősáv — a csoportok (Márka, Méret, Szín, Ár) függőlegesen, egyenként. */
.catalog-toolbar { display: flex; flex-direction: column; gap: 20px; padding: 22px 0 10px; }
.filter-group { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.filter-label { font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 12px; line-height: 1; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Ár csúszka — két végpontú range, közös sín, narancs aktív tartomány. */
.price-range { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.price-slider { position: relative; height: 44px; display: flex; align-items: center; }
.price-track { position: absolute; left: 0; right: 0; height: 6px; border-radius: 999px; background: var(--line); }
.price-track-active { position: absolute; height: 6px; border-radius: 999px; background: var(--orange); pointer-events: none; }
.price-range input[type="range"] { position: absolute; left: 0; right: 0; width: 100%; height: 44px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-range input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.price-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-shadow: 0 2px 8px #17191b26; pointer-events: auto; cursor: grab; }
.price-range input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; }
.price-range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--orange); outline-offset: 2px; }
.price-range input[type="range"]::-moz-range-track { height: 6px; background: transparent; }
.price-range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); box-shadow: 0 2px 8px #17191b26; pointer-events: auto; cursor: grab; }
.price-range input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--orange); outline-offset: 2px; }
.price-values { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.toolbar-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); }
.toolbar-count { font-size: 12px; color: var(--muted); }
.toolbar-reset { font-size: 12px; color: var(--orange); background: none; padding: 9px 0; }
.toolbar-reset:hover { text-decoration: underline; }
.catalog-empty { padding: 48px 0; text-align: center; color: var(--muted); font-size: 14px; }
.catalog-empty a { color: var(--orange); }
@media (max-width: 760px) {
  .price-range input[type="range"]::-webkit-slider-thumb, .price-range input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
  .price-range input[type="range"]::-webkit-slider-thumb { margin-top: -11px; }
  .toolbar-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Márksáv: egyetlen cím, 3 egyforma, középre rendezett, finom keretes csempe fehér alapon. */
.brandstrip { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.brandstrip .brandtile { flex: 1 1 0; min-width: 160px; max-width: 320px; display: grid; place-items: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: 1.5px; text-align: center; transition: border-color .2s, color .2s; }
.brandstrip .brandtile:hover { border-color: var(--orange); color: var(--orange); }
@media (max-width: 760px) { .brandstrip .brandtile { min-width: 0; max-width: 100%; flex-basis: calc(33.333% - 12px); font-size: 18px; padding: 20px 8px; letter-spacing: 1px; } }
@media (max-width: 480px) { .brandstrip .brandtile { flex-basis: 100%; max-width: 100%; } }

/* Visszaszámláló — keret nélkül, "Karácsonyi készletkisöprés" címmel, fekete betűszínnel. */
.countdown-block { margin-bottom: 22px; }
.countdown-title { margin: 0 0 10px; font-size: 22px; font-weight: 700; color: #000; letter-spacing: -.3px; line-height: 1.2; }
.countdown { display: inline-flex; align-items: center; gap: 6px; color: #000; font-family: inherit; font-size: 14px; }
.countdown-units { display: flex; align-items: center; gap: 6px; color: #000; }
.countdown-unit { display: inline-flex; align-items: baseline; gap: 3px; color: #000; }
.countdown-unit strong { font-size: 22px; font-weight: 700; color: #000; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown-unit small { font-size: 11px; color: #000; font-weight: 500; }
.countdown-sep { font-weight: 700; color: #000; opacity: .4; }
@media (max-width: 480px) {
  .countdown-title { font-size: 19px; }
  .countdown { font-size: 12px; }
  .countdown-unit strong { font-size: 18px; }
  .countdown-unit small { font-size: 10px; }
}

/* Hero CTA + lefelé nyíl: külön 44x44 tap target, min. 24px间隙, flex wrap sorban. */
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 22px; }
.hero-cta-row .primary { margin: 0; }
.hero-cta-row .hero-down { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; min-width: 44px; }
@media (max-width: 480px) { .hero-cta-row { gap: 18px; } }

/* Zárt, keskeny függőleges kártya: nagyított, élekig levágott sisak-borító a saját CDN főfotóból. */
.widget-cover { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; z-index: 0; }
.widget-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.5); }
.widget-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.14) 50%, transparent); pointer-events: none; }
.widget-toggle > .widget-index,
.widget-toggle > .widget-label,
.widget-toggle > .widget-plus { z-index: 1; }

/* Nyitott kártya fejléc: sorszám + cím + bezáró X egy tiszta flex sorban, 18px间隙, átfedés nélkül. */
@media (min-width: 1101px) {
  .product-widget.expanded .widget-toggle { display: flex; align-items: center; gap: 18px; padding: 0 22px; height: 76px; }
  .product-widget.expanded .widget-index { position: static; top: auto; left: auto; flex: 0 0 auto; }
  .product-widget.expanded .widget-label { position: static; top: auto; left: auto; right: auto; bottom: auto; flex: 1 1 auto; min-width: 0; }
  .product-widget.expanded .widget-plus { position: static; left: auto; right: auto; bottom: auto; margin-left: auto; flex: 0 0 auto; }
}

/* Google értékelések: review-marquee finom ritmus a korábbi kártyákhoz. */
.reviews-marquee { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(248px, 1fr); gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 6px; }
.reviews-marquee::-webkit-scrollbar { display: none; }
.reviews-marquee .reviewcard { flex: 0 0 auto; width: 100%; scroll-snap-align: start; }
.reviewavatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--wash); color: var(--ink); font-weight: 700; font-size: 13px; }

/* Termékoldal: galéria valódi fotókkal, méret- és színválasztó. */
.product-detail-page .detail-product-photo .product-photo { width: 100%; height: 100%; }
.gallery-thumb .product-photo { width: 100%; height: 100%; border-radius: 8px; }
.detail-colors { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 6px; }
.detail-color { font: inherit; font-size: 11px; line-height: 1.25; min-width: 0; max-width: 100%; padding: 8px 11px; border: 1px solid #17191b25; border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; }
.detail-color:hover { border-color: var(--orange); }
.detail-color[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.variant-note { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 760px) { .detail-colors { max-width: 500px; } }

/* Hostolt Payments-fizetési blokk testreszabása:
   - A beépített belső Order summary sáv rejtése, hogy ne legyen duplázódás
   - Kupon és promóciós kód mező rejtése
   - Egyetlen tiszta, teljes szélességű űrlap a bal oldalon */
.ghl-payment-checkout__aside { display: none !important; }
.ghl-payment-checkout__shell { display: block !important; grid-template-columns: 1fr !important; width: 100% !important; }
.ghl-payment-checkout__main { width: 100% !important; max-width: 100% !important; }
.ghl-payment-checkout__coupon,
.ghl-payment-checkout__coupon-row,
.ghl-payment-checkout__coupon-btn,
.ghl-payment-checkout__coupon-error,
.ghl-payment-checkout__coupon-note,
#stripe-checkout [class*="coupon" i],
#stripe-checkout [class*="promo" i],
#stripe-checkout .coupon-field,
#stripe-checkout .promo-field { display: none !important; }

/* Rendelési adatűrlap (/rendeles) — magyar nyelvű lépés a kártyás fizetés előtt.
   A Stripe kártyabeviteli blokk nem mountolódik ezen az oldalon. */
.order-form-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.order-form-title { font-size: 22px; font-weight: 500; letter-spacing: -.4px; margin: 18px 0 0; color: var(--ink); }
.order-form-title:first-child { margin-top: 0; }
.order-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.order-field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.order-field input, .order-field select {
  width: 100%; min-height: 44px; padding: 11px 14px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid #17191b25; border-radius: 12px; }
.order-field input:focus-visible, .order-field select:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-color: var(--orange); }
.order-field-error { font-size: 12px; color: #b3261e; margin: 0; }
.order-field-row { display: flex; gap: 14px; }
.order-field-row .order-field { flex: 1; }
@media (max-width: 560px) { .order-field-row { flex-direction: column; gap: 18px; } }
.order-payment-choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid #17191b25; border-radius: 12px; cursor: pointer; }
.order-payment-choice input { margin-top: 4px; }
.order-payment-copy { display: flex; flex-direction: column; gap: 3px; }
.order-payment-copy strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.order-payment-copy span { font-size: 13px; color: var(--muted); }
.order-form-error { color: #b3261e; font-size: 14px; margin: 4px 0; }
.order-submit-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 52px; padding: 14px 18px; border: 0; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; }
.order-submit-button:hover { background: var(--orange); }
.order-submit-button .icon { width: 19px; height: 19px; }
.order-draft-recap { display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 1px solid #17191b25; border-radius: 12px; margin-bottom: 6px; }
.order-draft-recap p { margin: 0; font-size: 14px; color: var(--ink); }
.order-draft-edit { font-size: 13px; color: var(--orange); text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.order-payment-note { font-size: 13px; line-height: 1.6; color: var(--ink); background: #f6f6f6; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; max-width: 640px; }
.order-payment-pending { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #17191b25; border-radius: 16px; padding: 22px; background: #fff; }
.order-payment-pending > .icon { width: 30px; height: 30px; flex: none; color: var(--orange); }
.order-payment-pending-body { min-width: 0; }
.order-payment-pending-body h2 { font-size: 20px; font-weight: 500; letter-spacing: -.3px; margin: 0 0 8px; }
.order-payment-pending-body p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.order-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 10px; }
.order-confirmation-lines { display: grid; gap: 14px; margin: 0 0 20px; }
.order-confirmation-lines .checkout-line { border: 1px solid #17191b14; border-radius: 14px; padding: 16px; background: #fff; }
.order-confirmation-lines .order-sum-row { margin-top: 10px; }
.order-confirmation-totals { border-top: 1px solid #17191b18; padding-top: 16px; display: grid; gap: 10px; max-width: 380px; }

/* Áthúzott „eredeti ár” (értékelt ár) a tényleges eladási ár felett — 1,25× szorzó.
   Csak vizuális referenciaár; a kosár/fizetés a tényleges eladási árat használja. */
.catalog-card-prices { display: flex; flex-direction: column; gap: 2px; }
.catalog-card-compare { font-size: 13px; color: #8a8f99; text-decoration: line-through; text-decoration-thickness: 1px; line-height: 1.2; }
.catalog-card-compare > span { font-size: 10px; }
.widget-compare { font-size: 14px; color: #8a8f99; text-decoration: line-through; text-decoration-thickness: 1px; }
.detail-prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.detail-compare { font-size: 15px; color: #8a8f99; text-decoration: line-through; text-decoration-thickness: 1px; line-height: 1.2; }
.detail-compare > span { font-size: 11px; }
.shop-result-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.shop-result-compare { font-size: 11px; color: #8a8f99; text-decoration: line-through; text-decoration-thickness: 1px; }
@media (max-width: 760px) {
  .catalog-card-compare { font-size: 12px; }
  .detail-compare { font-size: 14px; }
}

/* Nyereményjáték űrlap — fehér/narancs kártya, főoldal és sisakok oldalon. */
/* Nyereményjáték felirat — narancssárga, a countdown blokk felett. */
.giveaway-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: var(--orange); letter-spacing: -.3px; line-height: 1.2; }
/* Nyereményjáték űrlap — INLINE a hero szöveg helyén, nem doboz. */
.giveaway-inline { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.giveaway-line { display: flex; flex-wrap: wrap; gap: 14px; }
.giveaway-line .giveaway-field { flex: 1 1 220px; }
.giveaway-field { display: flex; flex-direction: column; gap: 6px; }
.giveaway-field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.giveaway-field input { width: 100%; min-height: 48px; padding: 10px 2px; font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid #17191b40; border-radius: 0; }
.giveaway-field input::placeholder { color: #9aa0a4; }
.giveaway-field input:focus-visible { outline: none; border-bottom-color: var(--orange); }
.giveaway-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 20px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; align-self: flex-start; transition: background .15s; }
.giveaway-submit:hover { background: var(--orange); }
.giveaway-submit .icon { width: 18px; height: 18px; }
.giveaway-note { font-size: 13px; color: var(--orange); margin: 2px 0 0; min-height: 1em; font-weight: 500; }
@media (max-width: 480px) { .giveaway-line { flex-direction: column; } .giveaway-line .giveaway-field { flex: none; } .giveaway-submit { align-self: stretch; } }
