/* KHONCHAIHERB v1.35.0 — lower storefront + footer standard
   Progressive enhancement only: preserves v1.27 footer semantics and v1.34 storefront structure. */
:root{
  --kch-v135-green:#073b2d;
  --kch-v135-green-deep:#042b22;
  --kch-v135-green-soft:#0d4b39;
  --kch-v135-gold:#e5bd55;
  --kch-v135-gold-soft:#f2d982;
  --kch-v135-cream:#fbf8f0;
  --kch-v135-paper:#fffdf8;
  --kch-v135-line:rgba(229,189,85,.22);
}

/* Lower-page rhythm: make the final content feel intentionally connected to the global shell. */
body .kch-master-home{
  padding-bottom:0!important;
}
body .kch-master-home .kch-master-story{
  width:min(1360px,calc(100% - 72px))!important;
  margin-top:36px!important;
  margin-bottom:30px!important;
  border-radius:28px!important;
  border-color:rgba(229,189,85,.24)!important;
  box-shadow:0 24px 60px rgba(14,52,39,.10)!important;
}

/* Pre-footer service block: same design language as the header, but calmer and more editorial. */
body .kch-master-home .kch-master-trust{
  position:relative!important;
  width:min(1260px,calc(100% - 96px))!important;
  margin:30px auto 34px!important;
  border:1px solid rgba(229,189,85,.25)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#0a4937 0%,#073b2d 58%,#052f25 100%)!important;
  box-shadow:0 20px 48px rgba(4,43,34,.14)!important;
  overflow:hidden!important;
}
body .kch-master-home .kch-master-trust:before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 8% 0%,rgba(242,217,130,.10),transparent 28%),radial-gradient(circle at 95% 100%,rgba(255,255,255,.06),transparent 30%);
}
body .kch-master-home .kch-master-trust-inner{
  position:relative!important;
  z-index:1!important;
  padding:18px!important;
}
body .kch-master-home .kch-master-trust-item{
  min-height:76px!important;
  padding:16px 18px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.055)!important;
  box-sizing:border-box!important;
}
body .kch-master-home .kch-master-trust-item .material-symbols-rounded{
  color:var(--kch-v135-gold-soft)!important;
  font-size:25px!important;
}
body .kch-master-home .kch-master-trust-item b{
  color:#fff6df!important;
  font-size:15px!important;
  line-height:1.35!important;
}
body .kch-master-home .kch-master-trust-item small{
  margin-top:3px!important;
  color:#c5d8cf!important;
  font-size:13px!important;
  line-height:1.5!important;
}

/* Footer body: match the structural header rather than feeling like a separate template. */
body .kch-master-footer.kch-footer-v2{
  margin-top:0!important;
  color:#d7e3dd!important;
  background:linear-gradient(135deg,var(--kch-v135-green) 0%,#053428 58%,var(--kch-v135-green-deep) 100%)!important;
  border-top:1px solid rgba(229,189,85,.42)!important;
  box-shadow:0 -14px 40px rgba(3,38,29,.08)!important;
}
body .kch-master-footer.kch-footer-v2:before{
  background:radial-gradient(circle at 10% -12%,rgba(229,189,85,.11),transparent 31%),radial-gradient(circle at 92% 110%,rgba(84,143,111,.15),transparent 35%)!important;
}

/* Confidence rail: readable, premium, equal-height, aligned with top header spacing. */
body .kch-footer-v2 .kch-footer-confidence{
  width:min(1360px,calc(100% - 72px))!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  border-bottom:1px solid rgba(229,189,85,.19)!important;
}
body .kch-footer-v2 .kch-footer-confidence>div{
  min-height:94px!important;
  gap:13px!important;
  padding:20px 18px!important;
  box-sizing:border-box!important;
}
body .kch-footer-v2 .kch-footer-confidence>div+div{
  border-left:1px solid rgba(229,189,85,.13)!important;
}
body .kch-footer-v2 .kch-footer-confidence .material-symbols-rounded{
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border:1px solid rgba(229,189,85,.24)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.055)!important;
  color:var(--kch-v135-gold-soft)!important;
  font-size:22px!important;
}
body .kch-footer-v2 .kch-footer-confidence b{
  color:#fff0bf!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
body .kch-footer-v2 .kch-footer-confidence small{
  margin-top:4px!important;
  color:#b8cbc1!important;
  font-size:12px!important;
  line-height:1.55!important;
}

/* Footer information architecture. */
body .kch-footer-v2 .kch-master-footer-inner{
  width:min(1360px,calc(100% - 72px))!important;
  display:grid!important;
  grid-template-columns:minmax(260px,1.35fr) repeat(4,minmax(150px,.82fr))!important;
  gap:clamp(28px,3vw,48px)!important;
  padding:46px 0 42px!important;
  box-sizing:border-box!important;
}
body .kch-footer-v2 .kch-master-footer-brand h3{
  margin:0!important;
  color:#f2d57b!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:30px!important;
  line-height:1.08!important;
  letter-spacing:.6px!important;
}
body .kch-footer-v2 .kch-master-footer-brand>b{
  display:block!important;
  margin-top:7px!important;
  color:#fff0c2!important;
  font-size:14px!important;
  line-height:1.4!important;
}
body .kch-footer-v2 .kch-master-footer-brand p{
  max-width:330px!important;
  margin:18px 0 0!important;
  color:#b8cbc1!important;
  font-size:13px!important;
  line-height:1.75!important;
}
body .kch-footer-v2 .kch-footer-company{
  margin-top:18px!important;
  gap:8px!important;
  color:#9fb5aa!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body .kch-footer-v2 .kch-footer-company .material-symbols-rounded{
  color:var(--kch-v135-gold-soft)!important;
  font-size:18px!important;
}
body .kch-footer-v2 .kch-master-footer-col h4{
  margin:2px 0 13px!important;
  color:#f1cf72!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:850!important;
}
body .kch-footer-v2 .kch-master-footer-col button,
body .kch-footer-v2 .kch-master-footer-col a{
  width:max-content!important;
  max-width:100%!important;
  min-height:34px!important;
  padding:7px 0!important;
  color:#c7d7cf!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:600!important;
  text-decoration:none!important;
  border-radius:7px!important;
}
body .kch-footer-v2 .kch-master-footer-col button:hover,
body .kch-footer-v2 .kch-master-footer-col a:hover,
body .kch-footer-v2 .kch-master-footer-col button:focus-visible,
body .kch-footer-v2 .kch-master-footer-col a:focus-visible{
  color:#fff0bd!important;
  transform:translateX(3px)!important;
  outline:none!important;
}
body .kch-footer-v2 .kch-footer-member-link{
  color:#f2d57b!important;
  font-weight:800!important;
}
body .kch-footer-v2 .kch-footer-assurance{
  gap:11px!important;
}
body .kch-footer-v2 .kch-footer-assurance>span{
  gap:9px!important;
  color:#bed0c7!important;
  font-size:12px!important;
  line-height:1.6!important;
}
body .kch-footer-v2 .kch-footer-assurance .material-symbols-rounded{
  flex:0 0 auto!important;
  margin-top:1px!important;
  color:var(--kch-v135-gold-soft)!important;
  font-size:18px!important;
}

/* Legal rail: quiet and aligned; payment/COD treatment becomes a compact status chip. */
body .kch-footer-v2 .kch-master-footer-bottom{
  border-top:1px solid rgba(229,189,85,.17)!important;
  background:rgba(0,0,0,.08)!important;
}
body .kch-footer-v2 .kch-master-footer-bottom>div{
  width:min(1360px,calc(100% - 72px))!important;
  min-height:70px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  box-sizing:border-box!important;
}
body .kch-footer-v2 .kch-footer-legal{
  gap:14px!important;
  color:#a9bdb3!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body .kch-footer-v2 .kch-footer-legal a{
  color:#a9bdb3!important;
  font-size:12px!important;
}
body .kch-footer-v2 .kch-footer-legal a:hover,
body .kch-footer-v2 .kch-footer-legal a:focus-visible{
  color:#f2d982!important;
}
body .kch-footer-v2 .kch-master-payments{
  display:flex!important;
  gap:8px!important;
}
body .kch-footer-v2 .kch-master-payments span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 13px!important;
  border:1px solid rgba(229,189,85,.28)!important;
  border-radius:999px!important;
  background:#f5dfa0!important;
  color:#173b31!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:850!important;
  box-shadow:none!important;
}

/* Ensure footer is a calm endpoint; avoid floating-card appearance from older layers. */
body .kch-footer-v2 .kch-master-footer-inner,
body .kch-footer-v2 .kch-footer-confidence,
body .kch-footer-v2 .kch-master-footer-bottom>div{
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:1180px){
  body .kch-footer-v2 .kch-master-footer-inner{
    grid-template-columns:1.25fr repeat(2,minmax(0,1fr))!important;
  }
  body .kch-footer-v2 .kch-master-footer-brand{
    grid-column:1/-1!important;
    padding-bottom:4px!important;
  }
  body .kch-footer-v2 .kch-footer-confidence{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body .kch-footer-v2 .kch-footer-confidence>div:nth-child(3){border-left:0!important}
}

@media(max-width:860px){
  body .kch-master-home .kch-master-story{
    width:calc(100% - 32px)!important;
    margin-bottom:22px!important;
  }
  body .kch-master-home .kch-master-trust{
    width:calc(100% - 32px)!important;
    margin:22px auto 26px!important;
  }
  body .kch-footer-v2 .kch-footer-confidence,
  body .kch-footer-v2 .kch-master-footer-inner,
  body .kch-footer-v2 .kch-master-footer-bottom>div{
    width:calc(100% - 32px)!important;
  }
  body .kch-footer-v2 .kch-master-footer-inner{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:30px 24px!important;
    padding:38px 0 34px!important;
  }
  body .kch-footer-v2 .kch-master-footer-brand{
    grid-column:1/-1!important;
  }
  body .kch-footer-v2 .kch-master-footer-bottom>div{
    align-items:flex-start!important;
    flex-direction:column!important;
    padding:18px 0!important;
  }
}

@media(max-width:560px){
  body .kch-master-home .kch-master-story,
  body .kch-master-home .kch-master-trust{
    width:calc(100% - 24px)!important;
  }
  body .kch-master-home .kch-master-trust-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:12px!important;
  }
  body .kch-master-home .kch-master-trust-item{
    min-height:68px!important;
    padding:13px 14px!important;
  }
  body .kch-footer-v2 .kch-footer-confidence,
  body .kch-footer-v2 .kch-master-footer-inner,
  body .kch-footer-v2 .kch-master-footer-bottom>div{
    width:calc(100% - 24px)!important;
  }
  body .kch-footer-v2 .kch-footer-confidence{
    grid-template-columns:1fr!important;
    padding:10px 0!important;
  }
  body .kch-footer-v2 .kch-footer-confidence>div,
  body .kch-footer-v2 .kch-footer-confidence>div+div,
  body .kch-footer-v2 .kch-footer-confidence>div:nth-child(3){
    min-height:74px!important;
    padding:14px 8px!important;
    border-left:0!important;
    border-bottom:1px solid rgba(229,189,85,.11)!important;
  }
  body .kch-footer-v2 .kch-footer-confidence>div:last-child{border-bottom:0!important}
  body .kch-footer-v2 .kch-master-footer-inner{
    grid-template-columns:1fr!important;
    gap:26px!important;
    padding:34px 0 100px!important;
  }
  body .kch-footer-v2 .kch-master-footer-brand,
  body .kch-footer-v2 .kch-master-footer-col{
    grid-column:1!important;
  }
  body .kch-footer-v2 .kch-master-footer-brand h3{font-size:27px!important}
  body .kch-footer-v2 .kch-master-footer-col h4{font-size:14px!important}
  body .kch-footer-v2 .kch-master-footer-col button,
  body .kch-footer-v2 .kch-master-footer-col a{min-height:40px!important;font-size:13px!important;padding:9px 0!important}
  body .kch-footer-v2 .kch-master-footer-bottom>div{gap:14px!important;text-align:left!important}
  body .kch-footer-v2 .kch-footer-legal{align-items:flex-start!important;gap:9px 12px!important}
  body .kch-footer-v2 .kch-master-payments{justify-content:flex-start!important}
}

@media(prefers-reduced-motion:reduce){
  body .kch-footer-v2 *,body .kch-master-home .kch-master-trust *{transition:none!important}
}
