
/***************************
  Footer Styles (footer.css)
  This file controls all footer styling.
****************************/

/* Footer Wrapper */
.ks-footer {
  --ks-green:#0f8b45;
  --ks-green-dark:#063f25;
  --ks-green-soft:#ecfff3;
  --ks-ink:#10251a;
  --ks-muted:#66786e;
  --ks-line:rgba(15,139,69,.14);
  --ks-card:#ffffff;
  color:var(--ks-ink);
  margin-top:44px;
  padding-top:24px;
  border-top:1px solid var(--ks-line);
  background:
    radial-gradient(720px 240px at 12% 0%, rgba(15,139,69,.10), transparent 66%),
    linear-gradient(180deg,#fbfffc 0%,#f4faf6 100%);
}

/* Container (4-Column Grid) */
.ks-footer-container {
  width:min(1200px,92vw);
  margin:0 auto;
  padding:28px;
  display:grid;
  grid-template-columns:1.25fr .92fr .92fr 1.08fr;
  gap:28px;
  border:1px solid var(--ks-line);
  border-radius:30px;
  background:rgba(255,255,255,.86);
  box-shadow:0 24px 70px rgba(8,34,22,.08);
}

/* Footer Columns common styling */
.ks-footer-col { display:flex; flex-direction:column; gap:10px; min-width:0; }
.ks-footer-col h3,
.ks-acc-head span {
  font-size:1.04rem;
  font-weight:800;
  margin:0 0 10px;
  color:var(--ks-green-dark);
  letter-spacing:-.01em;
}

/* Brand Section */
.footer-logo { max-width:170px; margin-bottom:12px; }
.brand-desc {
  font-size:.94rem;
  line-height:1.65;
  margin:0 0 14px;
  color:#4c6257;
}
.ks-footer-actions{display:flex;flex-direction:column;gap:10px;align-items:flex-start}

/* Download App Button */
.ks-download-app-btn,
.ks-seller-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  border-radius:999px;
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ks-download-app-btn{
  color:#fff;
  background:linear-gradient(135deg,var(--ks-green),#16b865);
  padding:10px 16px;
  box-shadow:0 14px 28px rgba(15,139,69,.24);
}
.ks-download-app-btn i{font-size:1.25rem}
.ks-download-app-btn small{display:block;font-size:.68rem;line-height:1;opacity:.88;font-weight:700}
.ks-download-app-btn span{line-height:1.05}
.ks-seller-link{
  color:#0b7540;
  background:#f1fff6;
  border:1px solid #bfe9ce;
  padding:9px 14px;
}
.ks-download-app-btn:hover,
.ks-seller-link:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(15,139,69,.18)}

/* Quick Links & Top Categories */
.links-col ul,.categories-col ul{ list-style:none; padding:0; margin:0; }
.links-col ul li,.categories-col ul li{ margin-bottom:7px; }
.links-col ul li a,.categories-col ul li a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  text-decoration:none;
  color:#3b5147;
  font-size:.94rem;
  transition:color .18s ease, transform .18s ease;
}
.links-col ul li a i,.categories-col ul li a i{
  color:#16a057 !important;
  font-size:.75rem;
}
.links-col ul li a:hover,.categories-col ul li a:hover{
  color:var(--ks-green);
  transform:translateX(2px);
}

/* Follow Us */
.follow-us{
  margin-top:18px;
  padding-top:16px;
  border-top:1px dashed var(--ks-line);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.follow-us h3{ margin:0; font-size:1rem; color:var(--ks-green-dark); font-weight:800; }
.social-list{ display:flex; gap:10px; list-style:none; margin:0; padding:0; }
.social-list li a{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:14px; font-size:1rem;
  transition:transform .18s ease, box-shadow .18s ease; color:#fff;
  box-shadow:0 12px 24px rgba(8,34,22,.10);
}
.social-list li a.facebook{ background-color:#4267B2; }
.social-list li a.instagram{ background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.social-list li a.twitter{ background-color:#1DA1F2; }
.social-list li a.linkedin{ background-color:#0A66C2; }
.social-list li a i{ color:#fff !important; }
.social-list li a:hover{ transform:translateY(-2px); box-shadow:0 16px 30px rgba(8,34,22,.18); }

/* Subscribe & Contact */
.stay-updated{
  padding:16px;
  border-radius:22px;
  background:linear-gradient(135deg,#f0fff5,#ffffff);
  border:1px solid #d7efdf;
}
.stay-updated p{ font-size:.9rem; margin:0 0 12px; color:#5b7066; line-height:1.55; }
.ks-subscribe-form{ display:flex; flex-direction:column; gap:8px; }
.input-wrapper{ display:flex; background:#fff; border:1px solid #cfe2d6; border-radius:999px; overflow:hidden; box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.input-wrapper input[type="email"]{
  flex:1; min-width:0; padding:12px 14px; border:0;
  outline:none; font-size:.94rem; background:transparent;
}
.input-wrapper button{
  background:var(--ks-green); border:none; color:#fff; width:44px;
  cursor:pointer; font-size:1rem; transition:background-color .18s ease;
}
.input-wrapper button:hover{ background-color:#08723a; }

.subscribe-msg{ font-size:.85rem; color:var(--ks-green); }
.contact-info{margin-top:14px}
.contact-info p{ font-size:.93rem; margin:0 0 10px; color:#4a6055; line-height:1.55; }
.footer-address{
  padding:14px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e2eee6;
}
.footer-contact-line{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.footer-contact-line i{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex:0 0 32px;
  border-radius:11px;
  color:#fff;
  background:var(--ks-green);
}
.footer-contact-line span{display:flex;flex-direction:column;gap:1px}
.contact-info a{ color:#1d4730; text-decoration:none; transition:color .18s ease; }
.contact-info a:hover{ color:var(--ks-green); }

/* Footer Bottom */
.ks-footer-bottom{
  width:min(1200px,92vw);
  margin:18px auto 18px;
  color:#d8f7e4;
  background:linear-gradient(135deg,#063f25,#0f8b45);
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px 22px;
}
.ks-footer-bottom p{ font-size:.86rem; margin:0; }
.ks-footer-bottom-links{display:flex;gap:14px;flex-wrap:wrap}
.ks-footer-bottom-links a{color:#fff;text-decoration:none;opacity:.88}
.ks-footer-bottom-links a:hover{opacity:1;text-decoration:underline}

/* Responsive */
@media (max-width:992px){
  .ks-footer-container{ grid-template-columns:repeat(2,1fr); padding:22px; }
}
@media (max-width:600px){
  .ks-footer{margin-top:32px;padding-top:18px}
  .ks-footer-container{ grid-template-columns:1fr; gap:12px; padding:18px; border-radius:24px; }
  .ks-footer-col{ gap:8px; }
  .ks-footer-col h3{ margin-bottom:8px; }
  .footer-logo{max-width:150px}
  .brand-desc{font-size:.9rem}
  .ks-footer-bottom{
    border-radius:18px;
    display:flex;
    justify-content:center;
    text-align:center;
    margin:14px auto calc(78px + env(safe-area-inset-bottom));
    padding:13px 16px;
  }
  .ks-footer-bottom-links{display:none}
}

/* ============================================================
   Floating Help Widget (WhatsApp + Contact) — base styles
============================================================ */
.ksw-widget{
  position:fixed; right:18px; bottom:22px; z-index:11000;
  font-family:inherit; isolation:isolate; transform:translateZ(0); pointer-events:auto;
}
@media (max-width:768px){
  .ksw-widget{ right:calc(14px + env(safe-area-inset-right));
               bottom:calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width:480px){
  .ksw-widget{ right:calc(12px + env(safe-area-inset-right));
               bottom:calc(92px + env(safe-area-inset-bottom)); }
}
.ksw-toggle{
  width:48px; height:48px; border-radius:50%; border:none; cursor:pointer;
  display:grid; place-items:center; background:#148537; color:#fff;
  box-shadow:0 5px 12px rgba(0,0,0,.18); overflow:hidden;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
.ksw-toggle:focus{ outline:3px solid rgba(20,133,55,.35); }
.ksw-widget svg{
  width:24px !important; height:24px !important;
  max-width:none !important; max-height:none !important;
  min-width:24px !important; min-height:24px !important;
  display:inline-block !important; position:static !important; float:none !important;
  color:currentColor; vertical-align:middle !important;
}
.ksw-toggle svg{ width:22px !important; height:22px !important; color:#fff; }
.ksw-widget svg path{ fill:currentColor !important; }
.ksw-panel{
  position:absolute; right:0; bottom:58px;
  display:flex; flex-direction:column; gap:8px;
  opacity:0; transform:translateY(8px); pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.ksw-widget.ksw-open .ksw-panel{ opacity:1; transform:translateY(0); pointer-events:auto; }
.ksw-item{
  display:inline-flex; align-items:center; flex-wrap:nowrap;
  gap:8px; white-space:nowrap; width:auto; text-decoration:none; border-radius:999px; background:#fff;
  height:36px; padding:6px 10px 6px 6px; box-shadow:0 6px 18px rgba(0,0,0,.15); font-weight:600; color:#222; line-height:1;
}
.ksw-item:hover{ transform:translateY(-1px); }
.ksw-ico{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; flex:0 0 26px; overflow:hidden; }
.ksw-ico svg{ width:15px !important; height:15px !important; color:#fff; }
.ksw-whatsapp .ksw-ico{ background:#25D366; }
.ksw-contact  .ksw-ico{ background:#148537; }
.ksw-item > span:last-child{ display:inline-block !important; font-size:12.5px !important; line-height:1 !important; white-space:nowrap !important; color:#222 !important; }
@media (max-width:480px){
  .ksw-item{ height:34px; }
  .ksw-ico{ width:24px; height:24px; }
  .ksw-ico svg{ width:14px !important; height:14px !important; }
  .ksw-item > span:last-child{ font-size:12px !important; }
}
@media (prefers-reduced-motion:reduce){
  .ksw-panel,.ksw-item{ transition:none !important; }
}

/* ============================================================
   Mobile accordion (Quick Links & Top Categories)
   - Smaller gaps, smooth open/close on mobile
   - Desktop stays fully open
============================================================ */
.ks-accordion .ks-acc-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ks-accordion .ks-acc-toggle{
  display:none; background:#fff; border:1px solid #e5e7eb; color:#374151;
  width:30px; height:30px; border-radius:8px; cursor:pointer;
}
.ks-accordion .ks-acc-body{ margin:0; padding:0; overflow:visible; max-height:none; } /* desktop default */
@media (max-width:768px){
  .ks-accordion .ks-acc-toggle{ display:inline-grid; place-items:center; }
  .ks-accordion .ks-acc-head{ padding:8px 0; } /* tighter */
  .ks-accordion .ks-acc-head .fa-angle-down{ transition:transform .2s ease; }
  /* collapsed by default on mobile; JS toggles max-height inline */
  .ks-accordion .ks-acc-body{ overflow:hidden; max-height:0; }
  .ks-accordion.open .ks-acc-head .fa-angle-down{ transform:rotate(180deg); }
}

/* ============================================================
   Bottom Navigation (mobile) – premium look
============================================================ */
.ks-only-mobile{ display:none; }
@media (max-width:768px){ .ks-only-mobile{ display:block; } }

.ks-bottom-nav{
  position:fixed; left:0; right:0; bottom:0; height:62px;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-top:1px solid #e5e7eb;
  box-shadow:0 -8px 24px rgba(0,0,0,.08);
  display:none; z-index:10500;
  grid-template-columns:repeat(4,1fr); align-items:center;
}
.ks-bottom-nav .ks-bnav-item{
  appearance:none; background:none; border:none; cursor:pointer;
  height:62px; width:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:6px; position:relative;
  font-size:12px; color:#4b5563; text-decoration:none; letter-spacing:.2px;
}
.ks-bottom-nav .ks-bnav-item i{ font-size:22px; line-height:1; position:relative; z-index:1; }
.ks-bottom-nav .ks-bnav-item span{ position:relative; z-index:1; }

/* Active: brand color + soft circular pill behind icon */
.ks-bottom-nav .ks-bnav-item.active{ color:#148537; font-weight:600; }
.ks-bottom-nav .ks-bnav-item.active i{ color:#148537; }
.ks-bottom-nav .ks-bnav-item.active::before{
  content:""; position:absolute; top:8px; width:40px; height:40px;
  border-radius:50%; background:rgba(20,133,55,.12);
  box-shadow:0 2px 10px rgba(20,133,55,.18);
  z-index:0;
}

/* Cart badge */
.ks-bnav-badge{
  position:absolute; top:6px; right:26%;
  min-width:16px; height:16px; border-radius:10px; padding:0 4px;
  background:#ef4444; color:#fff; font-style:normal; font-size:11px;
  display:inline-grid; place-items:center; line-height:1;
}

/* Show on mobile + give page bottom spacing so nothing hides behind it */
@media (max-width:768px){
  .ks-bottom-nav{ display:grid; }
  body.has-bottom-nav{ padding-bottom: 82px; } /* space for strip + safe area */
}

/* Mobile copyright strip: show only the copyright text, not extra links. */
@media (max-width:768px){
  .ks-footer-bottom{
    display:flex;
    justify-content:center;
    text-align:center;
    margin-bottom:calc(78px + env(safe-area-inset-bottom));
    border-radius:18px;
  }
  .ks-footer-bottom-links{ display:none; }
}

/* With bottom nav, bring the widget closer (no overlap, lower than before) */
body.has-bottom-nav #ksw-widget{
  bottom: calc(66px + env(safe-area-inset-bottom)) !important;
}

/* ==============================================================
   ETHNICHAAT FOOTER — heritage design (lotus + mandala ornaments)
   Fonts: Cormorant Garamond (headings), EB Garamond (text),
          Great Vibes (hashtag)
   Images: /assets/images/footer/{lotus,sparkle,mandala-half}.svg
   ============================================================= */
.eh-footer {
  --eh-maroon: #8f0c2d;
  --eh-maroon-deep: #5e0419;
  --eh-gold: #b8843c;
  --eh-gold-light: #e7bf78;
  --eh-cream: #fbf6ee;
  --eh-ink: #2a211d;
  --eh-text: #4a3f39;
  --eh-muted: #8a7a6e;
  --eh-line: #e8d6ba;
  --eh-head: 'Cormorant Garamond', Georgia, serif;
  --eh-body: 'EB Garamond', Georgia, serif;
  --eh-script: 'Great Vibes', cursive;
  --eh-mandala: url('/assets/images/footer/mandala-half.svg');
  --eh-lotus: url('/assets/images/footer/lotus.svg');
  --eh-spark: url('/assets/images/footer/sparkle.svg');
  position: relative;
  margin-top: 56px;
  padding: 0;
  overflow: hidden;
  color: var(--eh-ink);
  border: 0;
  background: var(--eh-cream);
  font-family: var(--eh-body);
  -webkit-font-smoothing: antialiased;
}
.eh-footer::before,
.eh-footer::after { content: none; }
.eh-footer i { color: inherit; }

/* Shared maroon band with mandala corners */
.eh-footer-community,
.eh-footer .ks-footer-bottom {
  position: relative;
  isolation: isolate;
  color: #fff4ea;
  background:
    var(--eh-mandala) left center / auto 150% no-repeat,
    radial-gradient(ellipse at 50% 0%, #a3143b 0%, transparent 70%),
    linear-gradient(100deg, var(--eh-maroon-deep), #8a0c2c 50%, var(--eh-maroon-deep));
}
.eh-footer-community::after,
.eh-footer .ks-footer-bottom::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 50%;
  background: var(--eh-mandala) left center / auto 150% no-repeat;
  transform: scaleX(-1);
  transform-origin: center;
  pointer-events: none;
}
.eh-footer-community::after,
.eh-footer .ks-footer-bottom::after { background-position: left center; }

/* ---- Community / newsletter ---- */
.eh-community-inner {
  width: min(100% - 220px, 1500px);
  min-height: 128px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(300px, 440px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.eh-community-copy { display: flex; align-items: center; gap: 26px; min-width: 0; }
.eh-community-lotus { width: 62px; height: auto; padding-right: 26px; border-right: 1px solid rgba(231,191,120,.6); box-sizing: content-box; filter: brightness(1.25); }
.eh-community-copy h2 { margin: 0 0 4px; color: #fff; font: 500 clamp(28px, 2.2vw, 38px)/1.05 var(--eh-head); letter-spacing: -.01em; white-space: nowrap; }
.eh-community-copy p { margin: 0; color: #f4d9d6; font-size: 17px; line-height: 1.4; }
.eh-community-form { position: relative; display: block; margin: 0; }
.eh-community-form .input-wrapper {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 5px;
  overflow: hidden;
  border: 1px solid var(--eh-gold-light);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(40, 2, 12, .28);
}
.eh-community-form .input-wrapper > i { flex: 0 0 auto; margin-left: 16px; color: var(--eh-maroon) !important; font-size: 20px; }
.eh-community-form .input-wrapper input[type='email'] {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: none; background: transparent;
  color: var(--eh-ink); font: 400 17px/1 var(--eh-body);
}
.eh-community-form .input-wrapper input::placeholder { color: #93857b; opacity: 1; }
.eh-community-form .input-wrapper button {
  width: auto; height: 48px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px;
  color: #fff; border: 0; border-radius: 999px;
  background: linear-gradient(145deg, #c99550, #9a6424);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 12px rgba(120, 70, 20, .3);
  font: 500 18px/1 var(--eh-body); cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.eh-community-form .input-wrapper button i { color: #fff !important; font-size: 14px; transition: transform .2s ease; }
.eh-community-form .input-wrapper button:hover { filter: brightness(1.08); }
.eh-community-form .input-wrapper button:hover i { transform: translateX(3px); }
.eh-community-form .subscribe-msg { position: absolute; top: calc(100% + 6px); left: 16px; color: #ffe2a8; font: 500 14px/1.2 var(--eh-body); }
.eh-community-perks { display: flex; align-items: center; gap: 16px; padding-left: 30px; border-left: 1px solid rgba(231,191,120,.45); }
.eh-community-perks > span { min-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.eh-community-perks i { color: var(--eh-gold-light) !important; font-size: 24px; }
.eh-community-perks img { width: 32px; height: 24px; filter: brightness(1.3); }
.eh-community-perks small { color: #ffeadf; font-size: 15px; line-height: 1.1; }
.eh-sparkle { display: inline-block; width: 14px; height: 14px; background: var(--eh-spark) center / contain no-repeat; }

/* ---- Main area ---- */
.eh-footer .eh-footer-main {
  position: relative;
  width: min(100% - 80px, 1600px);
  margin: 0 auto;
  padding: 52px 0 40px;
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(4, minmax(0, 1fr)) minmax(250px, 1.3fr);
  gap: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.eh-footer .eh-footer-main::before,
.eh-footer .eh-footer-main::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  background: var(--eh-mandala) left center / auto 100% no-repeat;
  opacity: .16;
  pointer-events: none;
}
.eh-footer .eh-footer-main::before { left: -40px; }
.eh-footer .eh-footer-main::after { right: -40px; transform: scaleX(-1); }

.eh-footer .ks-footer-col { position: relative; min-width: 0; gap: 0; padding: 0 28px; border-left: 1px solid var(--eh-line); }
.eh-footer .ks-footer-col:first-child { padding: 0 44px 0 0; border-left: 0; }
.eh-footer .ks-footer-col:last-child { padding-right: 0; }
/* small sparkle at the foot of each divider */
.eh-footer .eh-link-column::after {
  content: '';
  position: absolute;
  right: -8px; bottom: -6px;
  width: 16px; height: 16px;
  background: var(--eh-spark) center / contain no-repeat;
  opacity: .8;
}

.eh-footer .footer-logo {
  display: block; width: 100%; max-width: 380px; height: 130px;
  margin: -14px 0 16px -6px; object-fit: contain; object-position: left center;
}
.eh-footer .brand-desc { max-width: 420px; margin: 0; color: var(--eh-text); font-size: 18px; line-height: 1.5; }
.eh-ornament-rule { position: relative; max-width: 420px; height: 20px; margin: 22px 0 12px; display: flex; justify-content: center; }
.eh-ornament-rule::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #d9b27a 15%, #d9b27a 85%, transparent); }
.eh-ornament-rule img { position: relative; width: 30px; height: 20px; padding: 0 10px; background: var(--eh-cream); box-sizing: content-box; }
.eh-brand-promise { max-width: 420px; margin: 0; color: #a1672a; font: italic 500 clamp(18px, 1.35vw, 22px)/1.2 var(--eh-head); text-align: center; white-space: nowrap; }

.eh-footer .ks-footer-col > h3:not(.ks-acc-head),
.eh-footer .ks-acc-head span {
  position: relative;
  display: block;
  margin: 0 0 22px;
  padding: 0 0 12px;
  color: var(--eh-maroon);
  font: 700 clamp(19px, 1.4vw, 23px)/1.15 var(--eh-head);
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
}
.eh-footer .ks-footer-col > h3:not(.ks-acc-head)::before,
.eh-footer .ks-acc-head span::before {
  content: '';
  display: block;
  width: 34px; height: 26px;
  margin-bottom: 12px;
  background: var(--eh-lotus) left center / contain no-repeat;
}
.eh-footer .ks-footer-col > h3:not(.ks-acc-head)::after,
.eh-footer .ks-acc-head span::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 120px; max-width: 100%; height: 1px;
  background: linear-gradient(90deg, #d2a468, transparent);
}
.eh-footer .ks-acc-head { display: block; margin: 0; padding: 0; font-size: inherit; }
.eh-footer .ks-acc-head::before, .eh-footer .ks-acc-head::after { content: none !important; }
.eh-footer .links-col ul { margin: 0; padding: 0; list-style: none; }
.eh-footer .links-col ul li { margin: 0 0 10px; }
.eh-footer .links-col ul li a {
  position: relative;
  display: inline-block;
  color: var(--eh-text);
  font: 400 18px/1.3 var(--eh-body);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.eh-footer .links-col ul li a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--eh-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.eh-footer .links-col ul li a:hover { color: var(--eh-maroon); transform: translateX(3px); }
.eh-footer .links-col ul li a:hover::after { transform: scaleX(1); }
.eh-footer .links-col ul li a.eh-sale-link { color: var(--eh-maroon); font-weight: 600; }

.eh-footer .social-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.eh-footer .social-list li a {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  color: #fff; border-radius: 50%; font-size: 17px;
  box-shadow: 0 4px 10px rgba(60, 20, 10, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.eh-footer .social-list li a i { color: #fff !important; }
.eh-footer .social-list li a.instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.eh-footer .social-list li a.facebook { background: #1877f2; }
.eh-footer .social-list li a.pinterest { background: #e60023; }
.eh-footer .social-list li a.youtube { background: #ff0000; }
.eh-footer .social-list li a.whatsapp { background: #25d366; }
.eh-footer .social-list li a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(60, 20, 10, .25); }
.eh-contact-lines { display: flex; flex-direction: column; gap: 12px; }
.eh-contact-lines a { display: flex; align-items: center; gap: 14px; color: var(--eh-ink); font: 400 17.5px/1.2 var(--eh-body); text-decoration: none; word-break: break-word; transition: color .2s ease; }
.eh-contact-lines a:hover { color: var(--eh-maroon); }
.eh-contact-lines i { width: 22px; color: var(--eh-maroon) !important; font-size: 19px; text-align: center; }
.eh-footer-connect .eh-ornament-rule { margin-top: 24px; }
.eh-artisan-tag { margin: 0; color: #a1672a; font: 400 clamp(22px, 1.8vw, 30px)/1.2 var(--eh-script); text-align: center; white-space: nowrap; }

/* ---- Trust strip ---- */
.eh-trust-strip { position: relative; border-top: 1px solid var(--eh-line); background: #fffdf9; }
.eh-trust-inner {
  width: min(100% - 80px, 1600px);
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.eh-trust-inner > div { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 24px; min-width: 0; }
.eh-trust-inner > div + div::before {
  content: '';
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: linear-gradient(transparent, #d9b27a, transparent);
}
.eh-trust-inner > div + div::after {
  content: '';
  position: absolute; left: -4px; top: calc(50% - 4px);
  width: 8px; height: 8px;
  background: #c9974f;
  transform: rotate(45deg) scale(.6);
}
.eh-trust-inner svg {
  flex: 0 0 52px; width: 52px; height: 52px;
  fill: none; stroke: #a9702e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s ease;
}
.eh-trust-inner > div:hover svg { transform: translateY(-3px); }
.eh-trust-inner span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eh-trust-inner strong { color: var(--eh-ink); font: 500 19px/1.15 var(--eh-body); }
.eh-trust-inner small { color: var(--eh-muted); font: 500 12px/1.2 var(--eh-body); letter-spacing: .14em; text-transform: uppercase; }

/* ---- Bottom bar ---- */
.eh-footer .ks-footer-bottom {
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 14px max(150px, calc((100% - 1500px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border-radius: 0;
  font-size: 17px;
}
.eh-footer .ks-footer-bottom p { margin: 0; font-size: inherit; }
.eh-footer .ks-footer-bottom-links { justify-self: start; display: flex; align-items: center; gap: 0; }
.eh-footer .ks-footer-bottom-links a { padding: 0 20px; color: #ffe8dc; border-left: 1px solid rgba(231,191,120,.5); opacity: 1; text-decoration: none; transition: color .2s ease; }
.eh-footer .ks-footer-bottom-links a:hover { color: var(--eh-gold-light); text-decoration: none; }
.eh-bottom-promise { display: flex; align-items: center; gap: 20px; color: #f6dcc6; font: italic 500 22px/1 var(--eh-head) !important; }
.eh-bottom-promise img { width: 36px; height: 27px; padding-right: 20px; border-right: 1px solid rgba(231,191,120,.5); box-sizing: content-box; filter: brightness(1.3); }

/* ---- Responsive ---- */
@media (max-width: 1400px) {
  .eh-community-copy h2 { white-space: normal; }
  .eh-community-inner { width: min(100% - 140px, 1500px); grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); }
  .eh-community-perks { display: none; }
  .eh-footer .eh-footer-main { grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, 1fr)) minmax(220px, 1.2fr); }
  .eh-footer .ks-footer-col { padding: 0 20px; }
  .eh-footer .ks-footer-col:first-child { padding-right: 30px; }
  .eh-footer .footer-logo { height: 110px; }
  .eh-footer .ks-footer-col h3,
  .eh-footer .ks-acc-head span { font-size: 21px; }
  .eh-footer .links-col ul li a { font-size: 17px; }
  .eh-trust-inner strong { font-size: 17px; }
  .eh-trust-inner > div { gap: 14px; padding: 14px 14px; }
  .eh-trust-inner svg { flex-basis: 44px; width: 44px; height: 44px; }
  .eh-footer .ks-footer-bottom { padding: 14px 90px; gap: 20px; }
  .eh-bottom-promise { display: none !important; }
  .eh-footer .ks-footer-bottom { grid-template-columns: auto 1fr; }
}

@media (max-width: 1100px) {
  .eh-footer .eh-footer-main { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .eh-footer .eh-footer-brand { grid-column: 1 / -1; padding: 0 !important; }
  .eh-footer .ks-footer-col:nth-child(2),
  .eh-footer .ks-footer-col:nth-child(5) { border-left: 0; padding-left: 0; }
  .eh-footer .eh-link-column::after { content: none; }
  .eh-trust-inner { grid-template-columns: repeat(2, 1fr); padding: 10px 0; }
  .eh-trust-inner > div { justify-content: flex-start; }
  .eh-trust-inner > div:nth-child(3)::before,
  .eh-trust-inner > div:nth-child(3)::after { content: none; }
}

@media (max-width: 768px) {
  .eh-footer { margin-top: 36px; }
  .eh-footer-community,
  .eh-footer .ks-footer-bottom { background: radial-gradient(ellipse at 50% 0%, #a3143b 0%, transparent 70%), linear-gradient(100deg, var(--eh-maroon-deep), #8a0c2c 50%, var(--eh-maroon-deep)); }
  .eh-footer-community::after,
  .eh-footer .ks-footer-bottom::after { width: 100%; background-size: auto 100%; opacity: .22; }
  .eh-footer-community::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--eh-mandala) left center / auto 100% no-repeat; opacity: .22; pointer-events: none; }
  .eh-community-inner { width: calc(100% - 32px); min-height: auto; padding: 30px 0; display: flex; flex-direction: column; align-items: stretch; gap: 20px; text-align: center; }
  .eh-community-copy { flex-direction: column; gap: 12px; }
  .eh-community-lotus { width: 48px; padding: 0; border: 0; }
  .eh-community-copy h2 { font-size: 28px; }
  .eh-community-copy p { font-size: 16px; }
  .eh-community-form .input-wrapper { height: 56px; }
  .eh-community-form .input-wrapper input[type='email'] { height: 44px; font-size: 16px; padding: 0 10px; }
  .eh-community-form .input-wrapper button { height: 44px; padding: 0 16px; font-size: 16px; }
  .eh-community-form .input-wrapper button i { display: none; }

  .eh-footer .eh-footer-main { width: calc(100% - 32px); padding: 30px 0 20px; display: block; }
  .eh-footer .eh-footer-main::before,
  .eh-footer .eh-footer-main::after { display: none; }
  .eh-footer .ks-footer-col,
  .eh-footer .ks-footer-col:first-child { padding: 0; border-left: 0; }
  .eh-footer .eh-footer-brand { padding-bottom: 26px !important; text-align: center; }
  .eh-footer .footer-logo { max-width: 280px; height: 100px; margin: -10px auto 10px; object-position: center; }
  .eh-footer .brand-desc { margin: 0 auto; font-size: 17px; }
  .eh-ornament-rule { margin-left: auto; margin-right: auto; }
  .eh-brand-promise { margin: 0 auto; }
  .eh-footer .eh-link-column { border-top: 1px solid var(--eh-line); }
  .eh-footer .ks-accordion .ks-acc-head { min-height: 58px; padding: 0; display: flex; align-items: center; justify-content: space-between; }
  .eh-footer .ks-accordion .ks-acc-head span { display: flex; align-items: center; margin: 0; padding: 0; font-size: 21px; }
  .eh-footer .ks-accordion .ks-acc-head span::before { width: 26px; height: 20px; margin: 0 12px 0 0; }
  .eh-footer .ks-accordion .ks-acc-head span::after { display: none; }
  .eh-footer .ks-accordion .ks-acc-toggle { width: 34px; height: 34px; display: inline-grid; color: var(--eh-maroon); border: 1px solid #e3caa6; border-radius: 50%; background: #fff9ef; }
  .eh-footer .ks-accordion .ks-acc-body { padding: 0 0 0 38px; }
  .eh-footer .ks-accordion.open .ks-acc-body { padding-bottom: 12px; }
  .eh-footer .links-col ul li { margin-bottom: 12px; }
  .eh-footer-connect { padding-top: 26px !important; border-top: 1px solid var(--eh-line) !important; text-align: center; }
  .eh-footer-connect > h3::before { margin: 0 auto 10px; background-position: center; }
  .eh-footer-connect > h3::after { left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #d2a468, transparent); }
  .eh-footer .social-list { justify-content: center; }
  .eh-contact-lines { align-items: center; }

  .eh-trust-inner { width: calc(100% - 32px); grid-template-columns: 1fr; padding: 12px 0; }
  .eh-trust-inner > div { padding: 14px 4px; border-top: 1px solid #f0e3d1; }
  .eh-trust-inner > div:first-child { border-top: 0; }
  .eh-trust-inner > div + div::before,
  .eh-trust-inner > div + div::after { content: none; }
  .eh-trust-inner svg { flex-basis: 44px; width: 44px; height: 44px; }

  .eh-footer .ks-footer-bottom { min-height: auto; margin: 0 0 calc(62px + env(safe-area-inset-bottom)); padding: 20px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: center; font-size: 16px; }
  .eh-footer .ks-footer-bottom-links { display: none; }
}

/* Connect column: keep socials on one row + long email inside the column */
.eh-footer .eh-footer-connect .social-list { flex-wrap: nowrap; gap: 8px; }
.eh-footer .eh-footer-connect .social-list li a { width: 36px; height: 36px; font-size: 15px; }
.eh-footer .eh-contact-lines a { font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1400px) {
  .eh-footer .eh-footer-connect .social-list { gap: 6px; }
  .eh-footer .eh-footer-connect .social-list li a { width: 32px; height: 32px; font-size: 14px; }
  .eh-footer .eh-contact-lines a { font-size: 15px; gap: 10px; }
}
@media (max-width: 768px) {
  .eh-footer .eh-footer-connect .social-list { flex-wrap: wrap; gap: 12px; }
  .eh-footer .eh-footer-connect .social-list li a { width: 40px; height: 40px; font-size: 17px; }
}
