
/* ==========================================================
   ZLATO Z OLIV — CHECKOUT V7 STOCK RECOMMENDATIONS HOTFIX
   Načítat ZA V6 FINAL.
   ========================================================== */

/* --- V7 recommendation section --- */
body.zzo-checkout-page .zzo-v7-upsell {
  width:100% !important;
  max-width:100% !important;
  margin:20px 0 26px !important;
  padding:22px !important;
  box-sizing:border-box !important;
  background:#faf8f2 !important;
  border:1px solid #eee4ce !important;
  border-radius:14px !important;
  position:static !important;
  float:none !important;
  transform:none !important;
  clear:both !important;
}
body.zzo-checkout-page .zzo-v7-upsell__head {
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-end !important;
  gap:16px !important;
  margin-bottom:16px !important;
}
body.zzo-checkout-page .zzo-v7-upsell__head h2 {
  margin:0 0 3px !important;
  font-family:Georgia,"Times New Roman",serif !important;
  color:#17250b !important;
  font-size:25px !important;
  line-height:1.15 !important;
}
body.zzo-checkout-page .zzo-v7-upsell__head p {
  margin:0 !important;
  color:#706d65 !important;
  font-size:13px !important;
}
body.zzo-checkout-page .zzo-v7-upsell__note {
  color:#477027 !important;
  font-size:12px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
body.zzo-checkout-page .zzo-v7-upsell__grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
}
body.zzo-checkout-page .zzo-v7-rec {
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  padding:12px !important;
  background:#fff !important;
  border:1px solid #e8e1d4 !important;
  border-radius:11px !important;
}
body.zzo-checkout-page .zzo-v7-rec__image {
  height:138px !important;
  display:grid !important;
  place-items:center !important;
  margin-bottom:10px !important;
  overflow:hidden !important;
  text-decoration:none !important;
}
body.zzo-checkout-page .zzo-v7-rec__image img {
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}
body.zzo-checkout-page .zzo-v7-rec__name {
  display:block !important;
  min-height:56px !important;
  color:#17250b !important;
  text-decoration:none !important;
  font-size:13px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}
body.zzo-checkout-page .zzo-v7-rec__stock {
  margin-top:7px !important;
  color:#3c781c !important;
  font-size:11px !important;
  font-weight:700 !important;
}
body.zzo-checkout-page .zzo-v7-rec__price {
  margin-top:auto !important;
  padding-top:8px !important;
  color:#253511 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  font-weight:700 !important;
}
body.zzo-checkout-page .zzo-v7-rec__add {
  width:100% !important;
  min-height:42px !important;
  margin-top:10px !important;
  border:0 !important;
  border-radius:7px !important;
  background:#253511 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}
body.zzo-checkout-page .zzo-v7-rec__add:hover {
  background:#17250b !important;
}
body.zzo-checkout-page .zzo-v7-rec__add[disabled] {
  opacity:.65 !important;
  cursor:default !important;
}

/* V6 recommendation is disabled by V7. */
body.zzo-checkout-page .zzo-v6-upsell:not(.zzo-v7-upsell) {
  display:none !important;
}

/* --- Stable summary footer; no overlap --- */
body.zzo-checkout-page .zzo-v7-summary-footer {
  display:block !important;
  width:100% !important;
  margin:14px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  position:static !important;
  overflow:visible !important;
}
body.zzo-checkout-page .zzo-v7-summary-footer .zzo-v6-actions {
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  position:static !important;
  background:transparent !important;
}
body.zzo-checkout-page .zzo-v7-summary-footer .zzo-continue-btn {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:56px !important;
  margin:0 !important;
  padding:12px 18px !important;
  position:static !important;
  float:none !important;
  transform:none !important;
  background:#253511 !important;
  border:0 !important;
  border-radius:8px !important;
  color:#fff !important;
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  box-shadow:none !important;
}
body.zzo-checkout-page .zzo-v7-summary-footer .zzo-back-link {
  display:block !important;
  width:auto !important;
  align-self:center !important;
  min-height:0 !important;
  margin:0 !important;
  padding:4px 8px !important;
  position:static !important;
  float:none !important;
  transform:none !important;
  background:transparent !important;
  border:0 !important;
  color:#66705d !important;
  font-size:13px !important;
  font-weight:500 !important;
  box-shadow:none !important;
}
body.zzo-checkout-page .zzo-v7-summary-footer .zzo-v6-summary-usp {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100% !important;
  margin:14px 0 0 !important;
  padding:14px 0 !important;
  position:static !important;
  float:none !important;
  transform:none !important;
  background:#fff !important;
}
body.zzo-checkout-page .zzo-v7-summary-footer .zzo-v6-trust-rating {
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  width:100% !important;
  margin:12px 0 0 !important;
  padding:13px 14px !important;
  position:static !important;
  float:none !important;
  transform:none !important;
}

/* Heureka without fake star rating */
body.zzo-checkout-page .zzo-v7-heureka-verified {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:56px !important;
}
body.zzo-checkout-page .zzo-v7-heureka-verified__brand {
  color:#ef7c00 !important;
  font-size:14px !important;
  font-weight:800 !important;
  margin-bottom:5px !important;
}
body.zzo-checkout-page .zzo-v7-heureka-verified__text {
  color:#253511 !important;
  font-size:11px !important;
  font-weight:700 !important;
}

/* Mobile */
@media (max-width:1100px) {
  body.zzo-checkout-page .zzo-v7-upsell__grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:767px) {
  body.zzo-checkout-page .zzo-v7-upsell {
    padding:16px !important;
  }
  body.zzo-checkout-page .zzo-v7-upsell__head {
    flex-direction:column !important;
    align-items:flex-start !important;
  }
  body.zzo-checkout-page .zzo-v7-upsell__grid {
    display:flex !important;
    overflow-x:auto !important;
    scroll-snap-type:x mandatory !important;
    padding-bottom:5px !important;
  }
  body.zzo-checkout-page .zzo-v7-rec {
    flex:0 0 74% !important;
    scroll-snap-align:start !important;
  }
  body.zzo-checkout-page .zzo-v7-summary-footer .zzo-v6-summary-usp {
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  body.zzo-checkout-page .zzo-v7-summary-footer .zzo-v6-summary-usp__item + .zzo-v6-summary-usp__item {
    border-left:0 !important;
  }
}
