/* ZEDO V325 - ONLY the homepage "Legjobb ajánlatok" moving product row.
   Only the homepage offers row: 160px cards, vertical label, arrows on both sides.
   No overrides to any other product cards, hero, admin, cart or checkout. */
body.storefront-v200 .h316 .h316-marquee .h316-marquee-track {
  gap: 9px !important;
  align-items: stretch !important;
}
body.storefront-v200 .h316 .h316-marquee .h316-marquee-track > .modern-product-card {
  flex: 0 0 160px !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  min-height: 0 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-product-media,
body.storefront-v200 .h316 .h316-marquee .modern-product-media .modern-product-image {
  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;
  aspect-ratio: auto !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-product-media .modern-product-image {
  padding: 5px !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-product-media .modern-product-image img {
  object-fit: contain !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-product-info {
  padding: 7px 9px 9px !important;
  min-width: 0 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-brand {
  font-size: 8px !important;
  line-height: 1.2 !important;
  margin-bottom: 3px !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-product-title {
  font-size: 13px !important;
  line-height: 1.22 !important;
  min-height: 32px !important;
  max-height: 32px !important;
  -webkit-line-clamp: 2 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-price-line {
  margin-top: 5px !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-price-line strong,
body.storefront-v200 .h316 .h316-marquee .modern-product-card.is-sale .modern-price-line strong {
  font-size: 21px !important;
  line-height: 1.15 !important;
  color: #172620 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-price-line del,
body.storefront-v200 .h316 .h316-marquee .modern-unit-price {
  font-size: 9px !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-saving-chip {
  font-size: 9px !important;
  padding: 3px 5px !important;
}
body.storefront-v200 .h316 .h316-marquee .storefront-availability,
body.storefront-v200 .h316 .h316-marquee .storefront-availability strong {
  font-size: 12px !important;
  line-height: 1.2 !important;
  min-height: 18px !important;
  white-space: normal !important;
}
body.storefront-v200 .h316 .h316-marquee .storefront-availability svg {
  width: 13px !important;
  height: 13px !important;
  flex: 0 0 13px !important;
}
body.storefront-v200 .h316 .h316-marquee .storefront-card-actions {
  padding-top: 5px !important;
  margin-top: auto !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-cart-form {
  grid-template-columns: minmax(0, 1fr) 36px !important;
  gap: 5px !important;
  margin-top: 3px !important;
}
body.storefront-v200 .h316 .h316-marquee .qty-stepper {
  height: 35px !important;
  grid-template-columns: 24px minmax(0, 1fr) 24px !important;
  min-width: 0 !important;
}
body.storefront-v200 .h316 .h316-marquee .qty-stepper button {
  min-width: 0 !important;
  padding: 0 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-cart-button {
  width: 36px !important;
  height: 35px !important;
  min-height: 35px !important;
  padding: 0 !important;
}
body.storefront-v200 .h316 .h316-marquee .modern-cart-button svg {
  width: 17px !important;
  height: 17px !important;
}
body.storefront-v200 .h316 .h316-marquee .favorite-card-form {
  top: 7px !important;
  right: 7px !important;
}
body.storefront-v200 .h316 .h316-marquee .favorite-card-button {
  width: 30px !important;
  height: 30px !important;
}
body.storefront-v200 .h316 .h316-marquee .favorite-card-button svg {
  width: 16px !important;
  height: 16px !important;
}
body.storefront-v200 .h316 .h316-marquee .product-card-badges {
  top: 7px !important;
  left: 7px !important;
  right: 38px !important;
}
body.storefront-v200 .h316 .h316-marquee .product-card-badges > span {
  font-size: 8px !important;
  padding: 4px 6px !important;
}
/* Narrow devices: keep cards tappable, while still shorter than V322. */
@media (max-width: 760px) {
  body.storefront-v200 .h316 .h316-marquee .h316-marquee-track > .modern-product-card {
    flex-basis: 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
  }
  body.storefront-v200 .h316 .h316-marquee .modern-product-media,
  body.storefront-v200 .h316 .h316-marquee .modern-product-media .modern-product-image {
    height: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
  }
  body.storefront-v200 .h316 .h316-marquee .modern-product-title {
    font-size: 12px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
  body.storefront-v200 .h316 .h316-marquee .modern-price-line strong,
  body.storefront-v200 .h316 .h316-marquee .modern-product-card.is-sale .modern-price-line strong {
    font-size: 19px !important;
  }
}

/* V325: no brand/manufacturer or availability/dispatch labels in this row ONLY. */
body.storefront-v200 .h316 .h316-marquee .modern-brand,
body.storefront-v200 .h316 .h316-marquee .storefront-availability{display:none!important}
/* V325: vertical title alongside the cards. The arrows flank the scroller. */
body.storefront-v200 .h316 .h316-marquee .h325-offer-layout{
 display:grid!important;
 grid-template-columns:38px 34px minmax(0,1fr) 34px!important;
 align-items:center!important;
 column-gap:7px!important;
 min-width:0!important;
}
body.storefront-v200 .h316 .h316-marquee .h325-offer-title{
 writing-mode:vertical-rl!important;
 transform:rotate(180deg)!important;
 display:flex!important;
 justify-content:center!important;
 align-items:center!important;
 min-height:180px!important;
 max-height:300px!important;
 align-self:stretch!important;
 color:#145c3b!important;
 font-size:18px!important;
 font-weight:900!important;
 letter-spacing:.01em!important;
 line-height:1.1!important;
 text-align:center!important;
}
body.storefront-v200 .h316 .h316-marquee .h325-offer-nav{
 height:42px!important;
 width:34px!important;
 min-height:42px!important;
 min-width:34px!important;
 border:1px solid #d5e7d9!important;
 background:#ffffff!important;
 color:#087a46!important;
 border-radius:9px!important;
 box-shadow:0 2px 7px #1c483116!important;
 font-size:25px!important;
 line-height:1!important;
 cursor:pointer!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0!important;
}
body.storefront-v200 .h316 .h316-marquee .h325-offer-nav:hover:not(:disabled){background:#e9f7ed!important}
body.storefront-v200 .h316 .h316-marquee .h325-offer-nav:disabled{opacity:.35!important;cursor:not-allowed!important}
body.storefront-v200 .h316 .h316-marquee .h316-marquee-window{min-width:0!important;max-width:100%!important;}
body.storefront-v200 .h316 .h316-marquee .h316-marquee-track{padding-bottom:4px!important;}
@media(max-width:760px){
 body.storefront-v200 .h316 .h316-marquee .h325-offer-layout{
  grid-template-columns:25px 27px minmax(0,1fr) 27px!important;
  column-gap:3px!important;
 }
 body.storefront-v200 .h316 .h316-marquee .h325-offer-title{font-size:13px!important;min-height:150px!important}
 body.storefront-v200 .h316 .h316-marquee .h325-offer-nav{height:38px!important;width:27px!important;min-width:27px!important;font-size:20px!important;}
}
