/* ==========================================================================
   VEDIKLY — Brand layer (v2)
   Loaded AFTER style.css. Palette is lifted straight from the new logo:
   lotus red · wordmark gold · ivory paper. Adds the shared components used by
   the cart, checkout, order tracking, blog widgets and policy pages.
   ========================================================================== */

:root {
  --lotus:      #B71C24;   /* lotus petal red */
  --lotus-dk:   #8F1219;
  --lotus-soft: #FBEDEC;
  --saffron-dk: #A1711E;   /* exact wordmark gold */
  --saffron:    #C98F2E;
  --saffron-lt: #E6B65A;
  --cream:      #F8F3EA;   /* logo paper */
  --card:       #FFFFFF;
  --border:     #E8DEC9;
  --red:        var(--lotus);
  --ok:         #2F7D4F;
  --ok-soft:    #E8F4EC;
  --warn-soft:  #FFF4DC;
  --shadow-sm:  0 1px 3px rgba(60,40,20,.08), 0 1px 2px rgba(60,40,20,.06);
  --shadow-md:  0 6px 22px rgba(60,40,20,.10);
  --shadow-lg:  0 18px 50px rgba(40,25,15,.18);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
html { font-size: 16.5px; }
body { background: var(--cream); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2.5px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────────── Announcement bar ───────────── */
.announcement-bar {
  background: linear-gradient(90deg, #2A1220, #3B1620 50%, #2A1220);
  color: #F6E3B4; font-size: .8rem; letter-spacing: .03em; padding: .55rem 2.2rem;
  position: relative;
}
.announcement-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.announcement-bar:empty, .announcement-bar[hidden] { display: none; }

/* ───────────── Header + logo ───────────── */
.site-header { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { height: 76px; gap: 1.5rem; }
.logo { text-shadow: none; padding: 0; gap: 0; }
.logo-img { height: 50px; width: auto; display: block; }
.logo-img.stacked { height: 64px; }
.site-footer .logo-img { height: 54px; }
.mobile-nav-header .logo-img { height: 40px; }
.main-nav { gap: .1rem; margin-left: auto; margin-right: auto; }
.main-nav a, .main-nav a:hover, .main-nav a.active {
  background: none; border: 0; box-shadow: none; transform: none; border-radius: 0;
  font-size: .86rem; font-weight: 600; letter-spacing: .01em; color: var(--earth);
  padding: .55rem .9rem; position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px;
  background: linear-gradient(90deg, var(--lotus), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover { color: var(--saffron-dk); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--lotus); }
.header-actions { gap: .35rem; }
.header-actions .icon-btn { width: 42px; height: 42px; font-size: 1.15rem; color: var(--deep); }
.cart-count { background: var(--lotus); width: 19px; height: 19px; font-size: .7rem; top: 0; right: 0; box-shadow: 0 0 0 2px #fff; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.currency-select { display: none !important; } /* checkout is INR-only; showing $/€ would mislead */

/* ───────────── Buttons ───────────── */
.btn { border-radius: 10px; letter-spacing: .03em; text-transform: none; font-size: .92rem; padding: .8rem 1.6rem; }
.btn-primary { background: linear-gradient(135deg, var(--lotus-dk), var(--lotus)); box-shadow: 0 4px 14px rgba(183,28,36,.28); }
.btn-primary:hover { background: linear-gradient(135deg, var(--lotus), #D2333B); box-shadow: 0 8px 22px rgba(183,28,36,.34); }
.btn-gold { background: linear-gradient(135deg, var(--saffron-dk), var(--saffron)); color: #fff; box-shadow: 0 4px 14px rgba(161,113,30,.3); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { border-radius: 10px; }
.btn[disabled], .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ───────────── Product cards ───────────── */
#productGrid, #featuredGrid, .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.product-card { border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: var(--saffron-lt); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img-wrap { padding-top: 82%; cursor: pointer; background: #F2EBDD; }
.product-body { padding: 1rem 1.05rem 1.05rem; }
.product-origin { font-size: .7rem; color: var(--saffron-dk); letter-spacing: .09em; }
.product-body h3 { font-size: 1.12rem; margin: .3rem 0 .15rem; cursor: pointer; line-height: 1.25; }
.product-sub { font-size: .78rem; color: var(--muted); margin-bottom: .35rem; }
.product-desc { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 0; min-height: 2.4em; }
.product-footer { border-top: 0; padding-top: .55rem; margin-top: auto; gap: .5rem; }
.product-price { font-size: 1.35rem; line-height: 1.1; }
.product-price .original { font-size: .9rem; font-family: 'Inter', sans-serif; font-weight: 400; }
.product-off { display: inline-block; font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 6px; padding: .1rem .4rem; margin-left: .35rem; vertical-align: middle; }
.stock-hint { font-size: .72rem; font-weight: 600; color: var(--lotus); margin-top: .2rem; }
.add-to-cart { background: var(--lotus); border-radius: 10px; padding: .6rem 1.1rem; font-size: .84rem; min-height: 40px; }
.add-to-cart:hover { background: var(--lotus-dk); transform: none; }
.add-to-cart[disabled] { background: #C9BFAE; cursor: not-allowed; }
.product-card.is-oos .product-img-wrap img { filter: none; opacity: 1; }
.product-badge { border-radius: 8px; font-size: .68rem; }
.badge-sale { background: var(--lotus); }
.product-wishlist { width: 36px; height: 36px; }

/* ───────────── Toast ───────────── */
.toast { border-radius: 12px; bottom: calc(1.25rem + var(--safe-bottom)); z-index: 600; }

/* ───────────── Cart drawer v2 ───────────── */
.cart-overlay { z-index: 500; background: rgba(30,18,22,.55); backdrop-filter: blur(2px); }
.cart-drawer { z-index: 510; width: min(440px, 100%); background: #FFFDF9; box-shadow: var(--shadow-lg); }
.cd-head { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); background: #fff; }
.cd-head h3 { font-size: 1.35rem; margin: 0; }
.cd-count { background: var(--lotus-soft); color: var(--lotus); font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .6rem; }
.cd-head .cart-close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.1rem; }
.cd-body { flex: 1; overflow-y: auto; padding: 0 1.25rem 1rem; }
.cd-ship { margin: 1rem 0 .4rem; padding: .8rem .95rem; border-radius: 12px; background: var(--warn-soft); border: 1px solid #F1DDA8; font-size: .82rem; color: #6B4E10; }
.cd-ship.ok { background: var(--ok-soft); border-color: #BFE0CB; color: #1F5B38; }
.cd-bar { height: 6px; border-radius: 999px; background: rgba(0,0,0,.08); margin-top: .5rem; overflow: hidden; }
.cd-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--ok)); border-radius: 999px; transition: width .4s ease; }
.cd-issue { margin: .5rem 0; padding: .6rem .8rem; border-radius: 10px; background: var(--lotus-soft); color: var(--lotus-dk); font-size: .8rem; }
.cd-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.cd-line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #F2EBDD; }
.cd-name { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.cd-sub { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.cd-unit { font-size: .76rem; color: var(--muted); margin-top: .25rem; }
.cd-price { text-align: right; font-weight: 700; font-size: .95rem; }
.cd-price s { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); }
.cd-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; margin-top: .55rem; background: #fff; }
.cd-qty button { width: 34px; height: 34px; font-size: 1.05rem; color: var(--earth); }
.cd-qty button:disabled { opacity: .35; cursor: not-allowed; }
.cd-qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .88rem; }
.cd-remove { font-size: .74rem; color: var(--muted); text-decoration: underline; margin-left: .75rem; }
.cd-remove:hover { color: var(--lotus); }
.cd-oos { color: var(--lotus); font-weight: 600; font-size: .78rem; margin-top: .25rem; }
.cd-sec { margin-top: 1.3rem; }
.cd-sec h4 { font-family: 'Inter', sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.cd-sugg { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.cd-sg { flex: 0 0 150px; scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .55rem; }
.cd-sg img { width: 100%; height: 86px; object-fit: cover; border-radius: 8px; }
.cd-sg b { display: block; font-size: .78rem; line-height: 1.25; margin: .4rem 0 .15rem; height: 2.5em; overflow: hidden; }
.cd-sg small { display: block; font-size: .66rem; color: var(--saffron-dk); font-weight: 600; margin-bottom: .3rem; }
.cd-sg .row { display: flex; align-items: center; justify-content: space-between; }
.cd-sg .row button { background: var(--cream); border: 1px solid var(--saffron-lt); color: var(--saffron-dk); font-weight: 700; font-size: .75rem; border-radius: 8px; padding: .3rem .6rem; }
.cd-sg .row button:hover { background: var(--saffron); color: #fff; }
.cd-coupon { display: flex; gap: .5rem; }
.cd-coupon input { flex: 1; padding: .65rem .8rem; border: 1px dashed #C9B382; border-radius: 10px; font: inherit; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; background: #fff; }
.cd-coupon button { background: var(--deep); color: #fff; font-weight: 600; font-size: .82rem; padding: 0 1.1rem; border-radius: 10px; }
.cd-coupon-msg { font-size: .78rem; margin-top: .4rem; }
.cd-coupon-msg.ok { color: var(--ok); } .cd-coupon-msg.err { color: var(--lotus); }
.cd-applied { display: flex; align-items: center; justify-content: space-between; background: var(--ok-soft); border: 1px solid #BFE0CB; color: #1F5B38; padding: .55rem .8rem; border-radius: 10px; font-size: .83rem; font-weight: 600; }
.cd-applied button { font-size: .75rem; color: #1F5B38; text-decoration: underline; font-weight: 500; }
.cd-foot { border-top: 1px solid var(--border); background: #fff; padding: 1rem 1.25rem calc(1rem + var(--safe-bottom)); box-shadow: 0 -8px 24px rgba(60,40,20,.06); }
.cd-rows { font-size: .86rem; color: var(--earth); }
.cd-rows .r { display: flex; justify-content: space-between; padding: .18rem 0; }
.cd-rows .r.disc { color: var(--ok); font-weight: 600; }
.cd-rows .r.total { font-size: 1.12rem; font-weight: 700; color: var(--deep); border-top: 1px dashed var(--border); margin-top: .35rem; padding-top: .6rem; }
.cd-rows .r.total span:last-child { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; }
.cd-save { font-size: .78rem; color: var(--ok); font-weight: 600; text-align: right; margin-top: .15rem; }
.cd-go { width: 100%; justify-content: center; margin-top: .8rem; padding: .95rem; font-size: 1rem; }
.cd-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .7rem; font-size: .72rem; color: var(--muted); }
.cd-empty { text-align: center; padding: 3.5rem 1rem 2rem; }
.cd-empty .ico { font-size: 3.2rem; }
.cd-empty h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; text-transform: none; letter-spacing: 0; color: var(--deep); margin: .6rem 0 .3rem; }
.cd-empty p { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.cd-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* ───────────── Checkout v2 ───────────── */
.checkout-overlay { z-index: 520; background: rgba(30,18,22,.6); padding: 0; align-items: stretch; justify-content: center; }
.checkout-box.ck2 { max-width: 980px; width: 100%; max-height: none; height: 100%; border-radius: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--cream); }
@media (min-width: 900px) { .checkout-overlay { padding: 2.5vh 1.5rem; } .checkout-box.ck2 { border-radius: 20px; max-height: 95vh; height: auto; } }
.ck-top { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.4rem; background: #fff; border-bottom: 1px solid var(--border); }
.ck-top img { height: 36px; }
.ck-top .secure { margin-left: auto; font-size: .78rem; color: var(--ok); font-weight: 600; display: flex; gap: .35rem; align-items: center; }
.ck-top .checkout-close { position: static; }
.ck-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.5rem; padding: 1.4rem; overflow-y: auto; flex: 1; align-items: start; }
@media (max-width: 899px) { .ck-grid { grid-template-columns: 1fr; padding: 1rem; } }
.ck-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.15rem 1.2rem; margin-bottom: 1rem; }
.ck-card h4 { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.ck-card h4 .n { width: 24px; height: 24px; border-radius: 50%; background: var(--lotus); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .ck-row { grid-template-columns: 1fr; gap: 0; } }
.ck-f { margin-bottom: .85rem; position: relative; }
.ck-f label { display: block; font-size: .76rem; font-weight: 600; color: var(--earth); margin-bottom: .3rem; }
.ck-f label em { color: var(--muted); font-weight: 400; font-style: normal; }
.ck-f input, .ck-f textarea, .ck-f select { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: .92rem; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.ck-f input:focus, .ck-f textarea:focus, .ck-f select:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(201,143,46,.18); }
.ck-f.bad input, .ck-f.bad textarea, .ck-f.bad select { border-color: var(--lotus); background: #FFF8F7; }
.ck-f .err { display: none; font-size: .74rem; color: var(--lotus); margin-top: .25rem; }
.ck-f.bad .err { display: block; }
.ck-f .pre { position: absolute; left: .85rem; top: 2.02rem; font-size: .92rem; color: var(--muted); pointer-events: none; }
.ck-f.has-pre input { padding-left: 2.8rem; }
.ck-f .hint { font-size: .72rem; color: var(--ok); margin-top: .25rem; }
.pay-opt { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; margin-bottom: .6rem; background: #fff; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: var(--saffron-lt); }
.pay-opt.sel { border-color: var(--lotus); background: #FFFAF9; box-shadow: 0 0 0 3px rgba(183,28,36,.08); }
.pay-opt input { margin-top: .25rem; accent-color: var(--lotus); }
.pay-opt b { font-size: .92rem; display: block; }
.pay-opt small { color: var(--muted); font-size: .76rem; display: block; margin-top: .1rem; line-height: 1.4; }
.pay-opt .tag { margin-left: auto; font-size: .68rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; }
.pay-opt.off { opacity: .55; cursor: not-allowed; }
.pay-icons { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.pay-icons span { font-size: .66rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--border); border-radius: 6px; padding: .12rem .45rem; color: var(--earth); background: var(--cream); }
.ck-sum { position: sticky; top: 0; }
.ck-sum .item { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.ck-sum .item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.ck-sum .item small { color: var(--muted); display: block; }
.ck-banner { display: none; background: var(--lotus-soft); border: 1px solid #F0C4C1; color: var(--lotus-dk); border-radius: 12px; padding: .75rem 1rem; font-size: .85rem; margin-bottom: 1rem; }
.ck-banner.show { display: block; }
.ck-pay { width: 100%; justify-content: center; padding: 1.05rem; font-size: 1.05rem; margin-top: .4rem; }
.ck-fine { font-size: .72rem; color: var(--muted); text-align: center; margin-top: .6rem; line-height: 1.5; }
.ck-fine a { text-decoration: underline; }
.ck-ok { text-align: center; padding: 2.2rem 1.4rem; margin: auto; max-width: 520px; }
.ck-ok .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 1rem; animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.ck-ok h3 { font-size: 1.9rem; }
.ck-ok .ref { display: inline-block; margin: .8rem 0; padding: .45rem 1rem; background: #fff; border: 1px dashed var(--saffron); border-radius: 10px; font-weight: 700; letter-spacing: .05em; }
.ck-ok .acts { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* ───────────── Order tracking ───────────── */
.trk-wrap { max-width: 920px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.trk-find { max-width: 480px; margin: 2rem auto; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.trk-find h2 { font-size: 1.8rem; margin-bottom: .3rem; }
.trk-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; justify-content: space-between; margin-bottom: 1.25rem; }
.trk-ref { font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.trk-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; background: var(--warn-soft); color: #7A5B12; }
.chip.ok { background: var(--ok-soft); color: #1F5B38; } .chip.bad { background: var(--lotus-soft); color: var(--lotus-dk); } .chip.info { background: #E6EEF9; color: #26467A; }
.trk-eta { background: linear-gradient(135deg, #3B1620, #2A1220); color: #F6E3B4; border-radius: 16px; padding: 1rem 1.3rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.2rem; }
.trk-eta b { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; display: block; }
.trk-eta small { opacity: .8; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem 1rem 1.1rem; margin-bottom: 1.2rem; position: relative; }
.step { text-align: center; position: relative; font-size: .78rem; color: var(--muted); }
.step .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: #fff; margin: 0 auto .5rem; display: grid; place-items: center; font-size: .8rem; position: relative; z-index: 1; font-weight: 700; }
.step::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--border); }
.step:first-child::before { display: none; }
.step.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.done::before, .step.current::before { background: var(--ok); }
.step.current .dot { border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 5px rgba(201,143,46,.2); color: var(--saffron-dk); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(201,143,46,.08); } }
.step.done, .step.current { color: var(--deep); font-weight: 600; }
.step small { display: block; font-size: .68rem; color: var(--muted); font-weight: 400; margin-top: .1rem; }
@media (max-width: 600px) {
  .stepper { grid-template-columns: 1fr; gap: 0; padding: 1rem 1.2rem; }
  .step { display: flex; align-items: center; gap: .9rem; text-align: left; padding: .55rem 0; }
  .step .dot { margin: 0; flex: none; }
  .step::before { top: -50%; left: 13px; width: 3px; height: 100%; }
}
.trk-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 800px) { .trk-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.3rem; margin-bottom: 1.1rem; }
.card h3 { font-family: 'Inter', sans-serif; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.tl { list-style: none; position: relative; margin-left: .45rem; }
.tl li { position: relative; padding: 0 0 1.1rem 1.4rem; border-left: 2px solid var(--border); font-size: .88rem; }
.tl li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl li::before { content: ''; position: absolute; left: -7px; top: .2rem; width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--saffron); }
.tl li:first-child::before { background: var(--ok); box-shadow: 0 0 0 1px var(--ok), 0 0 0 5px rgba(47,125,79,.15); }
.tl b { display: block; } .tl small { color: var(--muted); display: block; } .tl p { margin: .15rem 0 0; font-size: .82rem; color: var(--earth); line-height: 1.5; }
.kv { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; padding: .22rem 0; }
.kv.total { border-top: 1px dashed var(--border); margin-top: .4rem; padding-top: .6rem; font-weight: 700; font-size: 1.02rem; }
.kv.disc { color: var(--ok); }
.ship-box { background: var(--cream); border-radius: 12px; padding: .8rem 1rem; font-size: .86rem; margin-bottom: .9rem; }
.trk-items .it { display: flex; justify-content: space-between; gap: .8rem; padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.trk-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0; }
.btn-ghost { background: #fff; border: 1.5px solid var(--border); color: var(--earth); font-weight: 600; border-radius: 10px; padding: .7rem 1.3rem; font-size: .88rem; }
.btn-ghost:hover { border-color: var(--lotus); color: var(--lotus); }
.btn-danger-ghost { color: var(--lotus); border-color: #F0C4C1; }

/* ───────────── Blog layout + ad / promo widgets ───────────── */
.journal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.2rem; align-items: start; }
@media (max-width: 1000px) { .journal-layout { grid-template-columns: 1fr; } }
.journal-side { position: sticky; top: 92px; display: grid; gap: 1.2rem; }
@media (max-width: 1000px) { .journal-side { position: static; } }
.wgt { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.wgt h4 { font-family: 'Inter', sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; display: flex; align-items: center; justify-content: space-between; }
.wgt-empty { display: none; }
.ad { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: block; color: inherit; }
.ad:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ad-tag { position: absolute; top: .6rem; left: .6rem; z-index: 2; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--muted); padding: .18rem .55rem; border-radius: 6px; }
.ad img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #F2EBDD; }
.ad-body { padding: .9rem 1rem 1.05rem; }
.ad-body small { color: var(--saffron-dk); font-weight: 700; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.ad-body h5 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.2; margin: .2rem 0 .3rem; }
.ad-body p { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: .7rem; }
.ad-price { font-weight: 700; font-size: 1.05rem; margin-bottom: .65rem; }
.ad-price s { font-weight: 400; font-size: .82rem; color: var(--muted); margin-left: .35rem; }
.ad-cta { display: inline-flex; align-items: center; gap: .4rem; background: var(--lotus); color: #fff; font-weight: 600; font-size: .84rem; padding: .6rem 1.1rem; border-radius: 10px; }
.ad.banner { border: 0; }
.ad.banner img { aspect-ratio: 16/9; }
.ad.banner .ad-cta { position: absolute; bottom: .9rem; right: .9rem; }
.ad.coupon { background: linear-gradient(135deg, #3B1620, #2A1220); color: #F6E3B4; border: 0; }
.ad.coupon .ad-body { padding: 1.2rem 1.2rem 1.3rem; text-align: center; }
.ad.coupon .ad-tag { background: rgba(255,255,255,.14); color: #F6E3B4; }
.ad.coupon h5 { color: #fff; font-size: 1.5rem; margin-top: 1rem; }
.ad.coupon p { color: #E8D3A0; }
.ad.coupon code { display: inline-block; font-size: 1.1rem; font-weight: 700; letter-spacing: .14em; border: 2px dashed var(--saffron-lt); padding: .45rem 1rem; border-radius: 10px; color: var(--saffron-lt); margin: .2rem 0 .9rem; cursor: copy; }
.ad.coupon .ad-cta { background: var(--saffron); }
.ad.text { background: var(--lotus-soft); border-color: #F0C4C1; }
.ad-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
.ad-row img { aspect-ratio: 1; height: 100%; }
.ad-inline { margin: 2rem 0; }
.ad-inline .ad.product { display: grid; grid-template-columns: 220px 1fr; align-items: stretch; }
.ad-inline .ad.product img { height: 100%; aspect-ratio: auto; min-height: 190px; }
.ad-inline .ad.product .ad-body { display: flex; flex-direction: column; justify-content: center; padding: 1.3rem 1.5rem; }
@media (max-width: 560px) { .ad-inline .ad.product { grid-template-columns: 1fr; } .ad-inline .ad.product img { min-height: 0; aspect-ratio: 16/10; } }
.mini-prod { display: grid; grid-template-columns: 62px 1fr auto; gap: .75rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.mini-prod:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-prod img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.mini-prod b { font-size: .85rem; line-height: 1.25; display: block; }
.mini-prod small { color: var(--saffron-dk); font-size: .68rem; font-weight: 600; display: block; }
.mini-prod .p { font-size: .84rem; font-weight: 700; margin-top: .1rem; }
.mini-prod button { background: var(--cream); border: 1px solid var(--saffron-lt); color: var(--saffron-dk); font-weight: 700; font-size: .8rem; border-radius: 9px; width: 36px; height: 36px; }
.mini-prod button:hover { background: var(--saffron); color: #fff; }
.news-mini input { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: .88rem; margin-bottom: .6rem; }
.pop-list { list-style: none; counter-reset: p; }
.pop-list li { counter-increment: p; display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .86rem; line-height: 1.35; }
.pop-list li:last-child { border-bottom: 0; }
.pop-list li::before { content: counter(p); font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 700; color: var(--saffron-lt); line-height: 1; min-width: 1.2rem; }
.pop-list a:hover { color: var(--lotus); }
.shop-article { background: linear-gradient(180deg, #FFF9EE, #fff); border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem; margin: 2.5rem 0; }
.shop-article h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.shop-article .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-top: 1.1rem; }
.sa-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: .7rem; display: flex; flex-direction: column; }
.sa-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.sa-card b { font-size: .86rem; margin: .5rem 0 .1rem; line-height: 1.25; }
.sa-card .why { font-size: .68rem; color: var(--saffron-dk); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sa-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .55rem; }
.share-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .84rem; }
.share-bar a, .share-bar button { border: 1.5px solid var(--border); border-radius: 999px; padding: .4rem .95rem; font-weight: 600; background: #fff; font-size: .8rem; }
.share-bar a:hover, .share-bar button:hover { border-color: var(--saffron); color: var(--saffron-dk); }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--lotus), var(--saffron)); z-index: 700; width: 0; }

/* ───────────── Quick view ───────────── */
.qv-overlay { position: fixed; inset: 0; background: rgba(30,18,22,.6); z-index: 530; display: none; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(2px); }
.qv-overlay.open { display: flex; }
.qv { background: #fff; border-radius: 22px; width: 100%; max-width: 880px; max-height: 92vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .qv { grid-template-columns: 1fr; } }
.qv > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; background: #F2EBDD; }
.qv-body { padding: 1.8rem 1.7rem 1.6rem; }
.qv-body h2 { font-size: 2rem; margin: .3rem 0 .2rem; }
.qv-price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; margin: .7rem 0 .2rem; }
.qv-price s { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 400; color: var(--muted); margin-left: .4rem; }
.qv-tax { font-size: .74rem; color: var(--muted); margin-bottom: 1rem; }
.qv-row { display: flex; gap: .8rem; align-items: center; margin: 1rem 0; flex-wrap: wrap; }
.qv-perks { list-style: none; font-size: .82rem; color: var(--earth); display: grid; gap: .4rem; margin: 1rem 0; padding: .9rem 1rem; background: var(--cream); border-radius: 12px; }
.qv-close { position: absolute; top: .8rem; right: .8rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); font-size: 1.1rem; display: grid; place-items: center; }
.pin-check { display: flex; gap: .5rem; }
.pin-check input { flex: 1; padding: .6rem .8rem; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: .88rem; }
.pin-check button { padding: 0 1rem; border-radius: 10px; background: var(--deep); color: #fff; font-weight: 600; font-size: .82rem; }
.pin-msg { font-size: .78rem; margin-top: .4rem; }

/* ───────────── Floating helpers + mobile bottom nav ───────────── */
.wa-float { position: fixed; right: 1rem; bottom: calc(1rem + var(--safe-bottom)); z-index: 450; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,.45); font-size: 1.6rem; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.bottom-nav { display: none; }
@media (max-width: 768px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 440; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding: .35rem 0 calc(.35rem + var(--safe-bottom)); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .66rem; font-weight: 600; color: var(--muted); padding: .3rem 0; position: relative; }
  .bottom-nav .ic { font-size: 1.25rem; line-height: 1.2; }
  .bottom-nav .on { color: var(--lotus); }
  .bottom-nav .cnt { position: absolute; top: 0; left: 55%; background: var(--lotus); color: #fff; font-size: .62rem; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
  body { padding-bottom: calc(62px + var(--safe-bottom)); }
  .wa-float { bottom: calc(76px + var(--safe-bottom)); width: 48px; height: 48px; font-size: 1.4rem; }
  .toast { bottom: calc(80px + var(--safe-bottom)); }
  .logo-img { height: 40px; }
  .header-inner { height: 64px; }
  #productGrid, #featuredGrid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .product-body { padding: .75rem; } .product-body h3 { font-size: .98rem; } .product-desc { display: none; }
  .product-footer { flex-direction: column; align-items: stretch; } .add-to-cart { justify-content: center; }
  .product-price { font-size: 1.15rem; } .product-off { display: none; }
  .cd-foot { padding-bottom: calc(1rem + var(--safe-bottom)); }
}

/* ───────────── Footer: trust + legal ───────────── */
.site-footer { background: #1F1219; }
.foot-legal { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; line-height: 1.8; color: #A8979A; display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.foot-legal b { color: #E6D3A3; font-weight: 600; }
.footer-bottom-links a { text-decoration: none; }

/* ───────────── Policy / legal pages ───────────── */
.legal { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.legal .updated { color: var(--muted); font-size: .82rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.55rem; margin: 2.2rem 0 .6rem; color: var(--saffron-dk); }
.legal p, .legal li { font-size: .98rem; line-height: 1.8; color: var(--earth); }
.legal ul { margin: .4rem 0 1rem 1.2rem; list-style: disc; }
.legal li { margin-bottom: .3rem; }
.legal .callout { background: var(--warn-soft); border: 1px solid #F1DDA8; border-radius: 12px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: .9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.legal th { background: var(--cream); }

@media print { .announcement-bar, .site-header, .site-footer, .bottom-nav, .wa-float, .trk-actions { display: none !important; } }

/* ───────────── Search overlay + toast action ───────────── */
.search-ov { position: fixed; inset: 0; z-index: 560; background: rgba(30,18,22,.55); backdrop-filter: blur(3px); display: none; align-items: flex-start; justify-content: center; padding: 8vh 1rem 1rem; }
.search-ov.open { display: flex; }
.search-box { width: 100%; max-width: 640px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; max-height: 80vh; display: flex; flex-direction: column; }
.search-in { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
.search-in input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; background: transparent; min-width: 0; }
.search-x { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); }
.search-res { overflow-y: auto; padding: .4rem 0 .6rem; }
.search-hint { padding: .9rem 1.2rem; font-size: .85rem; color: var(--muted); }
.search-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.2rem 1rem; }
.search-chips a { border: 1.5px solid var(--border); border-radius: 999px; padding: .35rem .9rem; font-size: .84rem; font-weight: 600; text-transform: capitalize; }
.search-chips a:hover { border-color: var(--saffron); color: var(--saffron-dk); }
.search-item { display: grid; grid-template-columns: 1fr auto 40px; gap: .8rem; align-items: center; padding: .5rem 1.1rem; }
.search-item:hover { background: var(--cream); }
.search-item a { display: grid; grid-template-columns: 52px 1fr; gap: .8rem; align-items: center; min-width: 0; }
.search-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.search-item b { font-size: .9rem; display: block; line-height: 1.25; }
.search-item small { color: var(--muted); font-size: .74rem; }
.search-item .p { font-weight: 700; font-size: .9rem; }
.search-item button { width: 36px; height: 36px; border-radius: 9px; background: var(--lotus); color: #fff; font-weight: 700; font-size: 1.1rem; }
.search-all { display: block; text-align: center; padding: .8rem; font-weight: 600; color: var(--lotus); font-size: .88rem; }
.toast { display: flex; align-items: center; gap: .6rem; }
.toast-act { margin-left: .4rem; font-weight: 700; font-size: .82rem; color: var(--saffron-lt); text-decoration: underline; white-space: nowrap; }
.toast-act[hidden] { display: none; }

/* listing / quick-view additions */
.qv-img { background:#F2EBDD; min-height:320px } .qv-img img { width:100%; height:100%; object-fit:cover; display:block }
.qv-close { position:absolute; top:.7rem; right:.8rem; z-index:2; width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.92); font-size:1.4rem; cursor:pointer }
.qv-sub { color:var(--muted,#7a6a6a); margin:0 0 .5rem } .qv-desc { line-height:1.6; margin:.8rem 0 }
.qv-off { color:var(--ok); font-weight:700; font-size:.9rem }
.qv-eta { background:#FBF6EC; border-radius:12px; padding:.8rem .9rem; font-size:.88rem; margin:.8rem 0 }
.qv-pin { display:flex; gap:.4rem; margin-top:.5rem } .qv-pin input { flex:1; padding:.5rem .7rem; border:1px solid #e3d9c6; border-radius:8px }
.qv-pin button { padding:.5rem .9rem; border:0; border-radius:8px; background:var(--lotus); color:#fff; cursor:pointer }
.qv-actions { display:flex; gap:.6rem; flex-wrap:wrap; margin:1rem 0 } .qv-actions .btn { flex:1; justify-content:center }
.qv-trust { display:flex; gap:1rem; flex-wrap:wrap; font-size:.78rem; color:var(--muted,#7a6a6a) }
.product-card.is-out img { filter:none; opacity:1 }
.product-img-wrap .product-off { position:absolute; left:.6rem; bottom:.6rem; margin:0; background:#fff }
.product-oos { position:absolute; inset:auto 0 0 0; text-align:center; background:rgba(40,25,30,.75); color:#fff; font-size:.75rem; padding:.3rem }
.store-toolbar { display:flex; gap:.7rem; flex-wrap:wrap; align-items:center; margin-bottom:1.1rem }
.store-toolbar input[type=search], .store-toolbar select { padding:.6rem .85rem; border:1px solid #e3d9c6; border-radius:10px; background:#fff; font:inherit }
.store-toolbar input[type=search] { flex:1; min-width:180px } .store-toolbar label { font-size:.85rem; display:flex; gap:.35rem; align-items:center }
.store-toolbar .result-count { margin-left:auto; font-size:.85rem; color:var(--muted,#7a6a6a) }
.card-box { background:#fff; border:1px solid var(--border); border-radius:16px; padding:1.2rem 1.3rem } .card-box h3 { font-size:1.25rem; margin-bottom:.7rem }
.legal .updated em { color: var(--lotus-dk) }
.site-footer .footer-brand p, .site-footer .footer-bottom p { color: #CDBFAE !important; }
.site-footer .footer-bottom-links a { color: #CDBFAE; opacity: 1 !important; }

/* wordmark-with-lotus logo (landing page) */
.logo-img.gold { height: 60px; width: auto; }
.site-footer .logo-img.gold { height: 62px; }
.mobile-nav-header .logo-img.gold { height: 48px; }

/* Wholesale & Franchise "soon" tag */
.soon-pill{background:#B71C24;color:#fff;font-size:.55rem;font-weight:700;letter-spacing:.06em;padding:1px 7px;border-radius:99px;margin-left:4px;animation:vkblink 1.2s infinite}
@keyframes vkblink{50%{opacity:.2}}

/* Sold-out tag on product cards */
.product-oos{background:rgba(183,28,36,.92)!important;color:#fff!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.2em;padding:.45rem!important}

.product-card.is-out .product-img-wrap img,.product-card.is-oos .product-img-wrap img{filter:none!important;opacity:1!important}

/* Chakki Fresh nav highlight */
.main-nav a.nav-chakki{position:relative;font-weight:800;color:#5a1f4a;padding:.35rem .9rem .35rem 2.6rem;border-radius:999px;background:linear-gradient(90deg,rgba(240,193,92,.35),rgba(255,255,255,0)) ,url(../images/chakki/nav-grinder.svg) no-repeat .35rem 50%/2rem auto;animation:ncglow 2s ease-in-out infinite}
.main-nav a.nav-chakki .nc-pop{position:absolute;top:-9px;right:-10px;background:#c62828;color:#fff;font-size:.58rem;font-weight:800;letter-spacing:.08em;padding:.12rem .4rem;border-radius:999px;animation:ncflash 1s steps(2,jump-none) infinite;box-shadow:0 2px 6px rgba(198,40,40,.5)}
@keyframes ncflash{0%{opacity:1;transform:scale(1.12)}100%{opacity:.35;transform:scale(.95)}}
@keyframes ncglow{0%,100%{box-shadow:0 0 0 0 rgba(240,193,92,.0)}50%{box-shadow:0 0 14px 3px rgba(240,193,92,.65)}}
@media (prefers-reduced-motion:reduce){.main-nav a.nav-chakki,.nc-pop{animation:none!important}}

/* Nav tabs: bolder with gold borders */
.main-nav a:not(.nav-chakki){font-weight:700;color:#3d1230;border:1.5px solid #d89b3c;border-radius:999px;padding:.38rem 1rem;background:rgba(240,193,92,.08);transition:.15s}
.main-nav a:not(.nav-chakki)::after{display:none}
.main-nav a:not(.nav-chakki):hover,.main-nav a.active:not(.nav-chakki){background:#f0c15c;border-color:#b8860b;color:#2a0c22}
.main-nav a.nav-chakki{border:2px solid #d89b3c}
.main-nav{gap:.5rem}
/* Landing hero: smaller logo, nudged left */
.hero-logo{width:clamp(110px,11vw,150px)!important;margin:0 0 1rem -.5rem!important}
@media(min-width:1100px){.hero-logo{margin-left:-3.5rem!important}}
