/* ZEKARA 2026-11-18 responsive carousel, account, checkout, PDP layout */

/* Hero is a real horizontal filmstrip, not an instantaneous image swap. */
.image-slider#heroSlider{overflow:hidden;position:relative}
.image-slider#heroSlider .zk-hero-track{
 display:flex!important;flex-wrap:nowrap!important;width:100%;height:100%;
 transform:translate3d(0,0,0);
 transition:transform 690ms cubic-bezier(.23,.74,.23,1);
 will-change:transform;
}
.image-slider#heroSlider .zk-hero-track>.hero-slide,
.image-slider#heroSlider .zk-hero-track>.hero-slide.active{
 display:block!important;position:relative!important;
 flex:0 0 100%!important;width:100%!important;
 min-width:100%!important;height:100%;
}
.image-slider#heroSlider .zk-hero-track>.hero-slide picture{
 width:100%;height:100%;display:block;
}
.image-slider#heroSlider .zk-hero-track>.hero-slide img{
 width:100%;object-fit:cover;object-position:center;
}
.image-slider#heroSlider .slider-dots{z-index:4}
.image-slider#heroSlider .slider-dots button{
 min-height:8px;min-width:8px;transition:background .2s;
}
.image-slider#heroSlider .hero-arrow{z-index:5}
@media(max-width:760px){
 .image-slider#heroSlider .zk-hero-track,
 .image-slider#heroSlider .zk-hero-track>.hero-slide,
 .image-slider#heroSlider .zk-hero-track>.hero-slide picture{
  width:100%;height:100%;
 }
 .image-slider#heroSlider .zk-hero-track>.hero-slide img{
  height:100%!important;max-height:none!important;
  width:100%!important;object-fit:cover;
 }
}
/* Announcement changes move in from the right and out to the left. */
#announcementTicker{overflow:hidden!important;white-space:nowrap;position:relative}
#announcementTicker .zk-announcement-item{
 display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;
 max-width:calc(100vw - 24px);
 animation:zkNoticeMarquee 4.2s cubic-bezier(.18,.74,.26,1) both;
 will-change:opacity,transform;
}
@keyframes zkNoticeMarquee{
 0%{opacity:0;transform:translateX(45px)}
 13%{opacity:1;transform:translateX(0)}
 83%{opacity:1;transform:translateX(0)}
 100%{opacity:.2;transform:translateX(-45px)}
}

/* Account becomes fifth mobile control; Cart stays exactly in middle. */
@media(max-width:760px){
 body .bottom-nav.zk-nav-five{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  height:76px!important;
  min-height:76px!important;
 }
 body .bottom-nav.zk-nav-five>a,
 body .bottom-nav.zk-nav-five>button{
  min-width:0!important;
  text-align:center!important;
  padding-left:0!important;padding-right:0!important;
 }
 body .bottom-nav.zk-nav-five #bottomAccount svg{
  width:22px!important;height:22px!important;
  stroke:currentColor!important;fill:none!important;
 }
 body .bottom-nav.zk-nav-five .zk-bottom-cart{
  transform:translateY(-4px);
 }
 body .bottom-nav.zk-nav-five #bottomBagCount{
  left:calc(50% + 12px)!important;
 }
}

/* Product page: two fixed surfaces may never cover one another.
   Bottom navigation uses 76px + padding/safe-area; the purchase bar
   is positioned above it with breathing room instead of bottom:66px. */
@media(max-width:760px){
 body:has(.pdp-page.zk-ref-pdp){
  padding-bottom:calc(246px + env(safe-area-inset-bottom))!important;
 }
 body .pdp-page.zk-ref-pdp .product-sticky-cta{
  bottom:calc(92px + env(safe-area-inset-bottom))!important;
  z-index:44!important;
  padding:8px 12px 10px!important;
  box-shadow:0 -7px 18px rgba(28,22,16,.06)!important;
  border-top:1px solid #e5dfd9!important;
 }
 body .pdp-page.zk-ref-pdp .product-sticky-cta button{
  min-height:44px!important;
 }
 body .pdp-page.zk-ref-pdp .zk-ref-photo-navigation{
  bottom:14px!important;
 }
 body:has(.pdp-page.zk-ref-pdp) .zk-product-float{
  bottom:calc(220px + env(safe-area-inset-bottom))!important;
 }
 body .product-sticky-cta{
  bottom:calc(92px + env(safe-area-inset-bottom))!important;
 }
 body.zk-pdp-inline-controls-visible .bottom-nav{
  opacity:1!important;pointer-events:auto!important;
  visibility:visible!important;transform:none!important;
 }
 /* Preserve the existing visibility logic for sticky bar when
    inline buy buttons are already in the customer's viewport. */
 body .pdp-page.zk-ref-pdp .product-sticky-cta.zk-sticky-hidden{
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;
  transform:translateY(135%)!important;
 }
}

/* Minimal promotional WhatsApp opt-in: independent from mandatory COD flow. */
.zk-marketing-choice{
 display:flex;align-items:flex-start;gap:10px;
 margin:16px 0 0!important;padding:12px 13px!important;
 border:1px solid #e9e3dc!important;border-radius:9px!important;
 background:#faf8f5!important;
 color:#605a53!important;
 font-size:11px!important;line-height:1.55!important;
}
.zk-marketing-choice input[type=checkbox]{
 appearance:auto!important;accent-color:#171513;
 flex:0 0 17px!important;width:17px!important;
 min-width:17px!important;height:17px!important;min-height:17px!important;
 margin:1px 0 0!important;padding:0!important;
 border-radius:3px!important;
}
.zk-marketing-choice span{flex:1;min-width:0}

/* Distinct verification step within existing customer account drawer */
.account-verification-step{
 margin-top:17px;
 padding:16px;border:1px solid #e9e1d8;
 background:#fcfaf7;
 border-radius:8px;
}
.account-verification-step h3{font:500 18px/1.2 Georgia,serif;margin:0 0 8px}
.account-verification-step p{font-size:11px;line-height:1.6;color:#70675c}
.account-verification-step label{display:grid;gap:7px;font-size:10px}
.account-verification-step input{width:100%;padding:12px;border:1px solid #d7cec3;min-height:42px}
.account-verification-step button{margin-top:11px;width:100%;min-height:44px}
.account-verification-step .secondary{background:transparent;color:#24201d}
.account-security-prompt{
 padding:15px 13px;background:#faf3e8;border:1px solid #ebd9c0;
 border-radius:8px;margin:12px 0;
 font-size:11px;line-height:1.6;
}
.account-security-prompt button{
 margin-top:9px;min-height:38px;width:100%;
 border:1px solid #111;background:#111;color:#fff;
}
.account-page .account-profile-card{
 display:grid;gap:12px;max-width:680px;margin:20px auto;
 padding:20px;border:1px solid #e6ded5;border-radius:8px;background:#fff;
}
.account-profile-card h2{font:500 24px/1.2 Georgia,serif;margin:0}
.account-profile-card label{display:grid;gap:6px;font-size:11px}
.account-profile-card input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8d2ca}
.account-profile-card input[readonly]{background:#f5f2ee;color:#6a6259}
.account-profile-card button{min-height:44px}
.account-profile-card .info-note{font-size:10px;color:#81756c;line-height:1.5}
@media(prefers-reduced-motion:reduce){
 .image-slider#heroSlider .zk-hero-track{transition:none!important;will-change:auto!important}
 #announcementTicker .zk-announcement-item{animation:none!important}
}
