/* ZEDO V208 — arányos termékoldal (v206 terméklogika + v205 változatválasztó).
   Csak a .z208-product-page oldalon működik; sem kosár, sem termékadat, sem API nem módosul. */
.z208-product-page .product-detail,
.z208-product-page .product-detail *{min-width:0}

/* Asztal: galéria | vásárlás | szállítás. */
body.storefront-v200.z28.z28-complete .z208-product-page .product-detail{
  display:grid!important;
  grid-template-columns:minmax(0,1.09fr) minmax(0,1.03fr) minmax(226px,.55fr)!important;
  column-gap:clamp(15px,1.65vw,25px)!important;
  row-gap:18px!important;
  align-items:start!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-gallery-v6{
  grid-column:1!important;grid-row:1!important;
  padding:13px!important;
  background:#fff!important;
  border:1px solid #dce5f0!important;
  border-radius:16px!important;
  box-shadow:0 7px 25px rgba(28,53,83,.035)!important;
  overflow:hidden!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-main-v6{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:clamp(315px,32vw,440px)!important;
  max-height:440px!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:9px!important;
  border:0!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-main-v6>a{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:100%!important;width:100%!important;min-height:0!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-main-v6>a>img{
  display:block!important;width:100%!important;height:100%!important;
  max-height:100%!important;max-width:100%!important;
  object-fit:contain!important;object-position:center center!important;
  padding:0!important;transform:none!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-thumbs-v6{
  display:flex!important;flex-wrap:nowrap!important;gap:9px!important;
  margin:12px 0 0!important;padding:0 0 5px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-thumb-v6{
  flex:0 0 67px!important;width:67px!important;height:71px!important;
  padding:3px!important;background:#fff!important;
  border:1px solid #dae3ee!important;border-radius:9px!important;
  scroll-snap-align:start!important;overflow:hidden!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-thumb-v6:hover,
body.storefront-v200.z28.z28-complete .z208-product-page .product-thumb-v6:focus-visible{border-color:#ff6257!important;outline-offset:2px!important}
body.storefront-v200.z28.z28-complete .z208-product-page .product-thumb-v6 img{
  display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;
}

body.storefront-v200.z28.z28-complete .z208-product-page .product-summary{
  grid-column:2!important;grid-row:1!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  padding:18px 19px!important;
  border:1px solid #dce5f0!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 25px rgba(28,53,83,.035)!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-summary h1{
  font-size:clamp(23px,2.15vw,30px)!important;
  line-height:1.22!important;
  margin:7px 0 10px!important;
  font-weight:850!important;overflow-wrap:anywhere!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-meta-line{
  display:flex!important;flex-wrap:wrap!important;gap:4px 12px!important;
  margin:0 0 9px!important;font-size:11px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-lead{
  margin:0 0 9px!important;line-height:1.48!important;
  font-size:12px!important;
}

/* A PHP-ban a tényleges ár/elérhetőség a variációválasztó elé került. */
body.storefront-v200.z28.z28-complete .z208-product-page .z208-price-status{
  display:flex!important;flex-direction:column!important;gap:0!important;
  padding:11px 0 12px!important;margin:0 0 10px!important;
  border-bottom:1px solid #e5ebf2!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .purchase-price-block{
  margin:0 0 7px!important;padding:0!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .purchase-price{
  font-size:clamp(30px,2.7vw,39px)!important;line-height:1.12!important;
  font-weight:850!important;color:#ff6257!important;white-space:normal!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-dispatch-detail{
  display:flex!important;align-items:flex-start!important;
  margin:5px 0 0!important;padding:5px 0!important;
  background:transparent!important;box-shadow:none!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .product-dispatch-detail strong{
  font-size:14px!important;line-height:1.4!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .zedo-product-timing{
  margin:3px 0 0!important;font-size:12px!important;line-height:1.5!important;
}

/* Variáció: az ár alatt, de a kosárgomb felett, egyetlen kompakt blokkban. */
body.storefront-v200.z28.z28-complete .z208-product-page .zedo-variation-box{
  margin:0 0 12px!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .zedo-variation-box>label{
  display:block!important;margin:0 0 7px!important;font-size:13px!important;
  font-weight:750!important;line-height:1.4!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .zedo-variation-box.v205-js-enabled>.zedo-variation-reminder{display:none!important}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-picker{
  margin:0!important;padding:12px!important;
  border:1px solid #e1ebe5!important;border-radius:12px!important;
  background:#f7fbf8!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-picker-hint{
  margin:0 0 8px!important;font-size:11px!important;line-height:1.48!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-picker-groups{gap:11px!important}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-shop-fieldset legend{
  font-size:12px!important;margin-bottom:6px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-options{gap:7px!important}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-option{
  min-height:36px!important;padding:5px 9px!important;font-size:12px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-swatch-color{
  height:25px!important;width:25px!important;flex-basis:25px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .v205-picker-status{
  margin:10px 0 0!important;padding:7px 9px!important;min-height:0!important;
  line-height:1.45!important;font-size:11px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .zedo-variation-grid{
  grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;
  max-height:270px!important;overflow-y:auto!important;
}

/* A kosárpanel tartalmazza a valódi POST űrlapot, érintetlen mezőkkel. */
body.storefront-v200.z28.z28-complete .z208-product-page .purchase-card{
  margin:0!important;padding:12px 0 0!important;
  border:0!important;border-top:1px solid #e5ebf2!important;
  border-radius:0!important;background:transparent!important;
  box-shadow:none!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .purchase-form{
  display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;
  gap:9px!important;margin:8px 0 0!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .qty-field{
  flex:0 0 105px!important;min-width:105px!important;width:105px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-qty-control{width:105px!important}
body.storefront-v200.z28.z28-complete .z208-product-page .buy-button{
  flex:1 1 160px!important;width:auto!important;min-width:0!important;
  white-space:normal!important;min-height:47px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .detail-favorite-form,
body.storefront-v200.z28.z28-complete .z208-product-page .detail-favorite-button{
  margin:10px 0 0!important;
}

body.storefront-v200.z28.z28-complete .z208-product-page .z29-product-delivery{
  grid-column:3!important;grid-row:1!important;
  min-width:0!important;width:100%!important;
  padding:17px 14px!important;margin:0!important;
  border:1px solid #dce5f0!important;
  border-radius:16px!important;background:#fff!important;
  box-shadow:0 7px 25px rgba(28,53,83,.035)!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-product-delivery h2{
  margin:0 0 12px!important;font-size:17px!important;line-height:1.25!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-delivery-row{
  grid-template-columns:20px minmax(0,1fr) auto!important;
  gap:7px!important;padding:12px 0!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-delivery-row svg{
  width:19px!important;height:19px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-delivery-row strong{
  white-space:nowrap!important;font-size:11px!important;
}
body.storefront-v200.z28.z28-complete .z208-product-page .z29-delivery-row>span{
  overflow-wrap:anywhere!important;
}

/* Tablet: 2 oszlop, a szállítás a vásárlás alá kerül. */
@media(max-width:1210px){
  body.storefront-v200.z28.z28-complete .z208-product-page .product-detail{
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
    gap:17px!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-gallery-v6{
    grid-column:1!important;grid-row:1/3!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-summary{
    grid-column:2!important;grid-row:1!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .z29-product-delivery{
    grid-column:2!important;grid-row:2!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-main-v6{
    height:clamp(300px,38vw,430px)!important;
  }
}

/* Mobil: kép, ár és választó, kosár, majd szállítás és leírás. */
@media(max-width:790px){
  body.storefront-v200.z28.z28-complete .z208-product-page .product-detail{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    row-gap:12px!important;padding:0!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-gallery-v6,
  body.storefront-v200.z28.z28-complete .z208-product-page .product-summary,
  body.storefront-v200.z28.z28-complete .z208-product-page .z29-product-delivery{
    grid-column:1!important;grid-row:auto!important;width:100%!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-summary{padding:15px!important}
  body.storefront-v200.z28.z28-complete .z208-product-page .product-main-v6{
    height:clamp(260px,68vw,400px)!important;max-height:400px!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-summary h1{
    font-size:clamp(22px,5.8vw,28px)!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .product-thumb-v6{
    flex-basis:60px!important;width:60px!important;height:64px!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .z29-product-delivery{
    padding:16px!important;
  }
}
@media(max-width:385px){
  body.storefront-v200.z28.z28-complete .z208-product-page .product-gallery-v6{padding:9px!important}
  body.storefront-v200.z28.z28-complete .z208-product-page .product-summary{padding:12px!important}
  body.storefront-v200.z28.z28-complete .z208-product-page .purchase-form{gap:6px!important}
  body.storefront-v200.z28.z28-complete .z208-product-page .qty-field{
    flex-basis:93px!important;min-width:93px!important;width:93px!important;
  }
  body.storefront-v200.z28.z28-complete .z208-product-page .z29-qty-control{width:93px!important}
}

/* Régi sablon esetén is: ár a variáció felett, kétoszlopos galéria és adatblokk. */
body:not(.z28-complete) .z208-product-page .product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
body:not(.z28-complete) .z208-product-page .z208-price-status{margin:10px 0!important}
@media(max-width:790px){body:not(.z28-complete) .z208-product-page .product-detail{grid-template-columns:minmax(0,1fr)!important}}
