/* =========================================================
   SwasthyaVeda — base + home
   Palette: green #1B4332 · cream #F5EFE6 · gold #C9A227
   ========================================================= */

:root {
  --green: #1b4332;
  --green-deep: #123024;
  --green-soft: #2d6a4f;
  --cream: #f5efe6;
  --cream-2: #fbf7f0;
  --cream-3: #f7eedd;
  --gold: #c9a227;
  --gold-deep: #a8871c;
  --gold-soft: #eee0b8;
  --ink: #1a1a1a;
  --grey: #777777;
  --white: #ffffff;
  --line: #e9e0d1;
  --line-strong: #ddd0ba;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --devanagari: "Noto Sans Devanagari", var(--sans);
  --shell: 460px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: #e8e0d2;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- app shell (mobile first, 360px design) ---------- */

.app {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  padding-bottom: 86px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 520px) {
  .app {
    box-shadow: 0 0 70px rgba(27, 67, 50, 0.14);
  }
}

@media (min-width: 760px) {
  body {
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(201, 162, 39, 0.14), transparent 58%),
      radial-gradient(90% 60% at 50% 100%, rgba(27, 67, 50, 0.18), transparent 62%),
      #e9e1d3;
  }

  .app {
    box-shadow: 0 34px 90px -46px rgba(27, 67, 50, 0.55),
      0 0 0 1px rgba(27, 67, 50, 0.05);
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: 0 10px 24px -20px rgba(27, 67, 50, 0.85);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--green);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--green);
  white-space: nowrap;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999x;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 6px 14px -12px rgba(27, 67, 50, 0.9);
}

.lang-toggle .lang-sep {
  opacity: 0.45;
  font-weight: 400;
}

.lang-toggle [data-lang-opt] {
  transition: opacity 0.2s ease;
}

html[data-lang="en"] .lang-toggle [data-lang-opt="hi"],
html[data-lang="hi"] .lang-toggle [data-lang-opt="en"] {
  opacity: 0.6;
}

html[data-lang="hi"] .lang-toggle [data-lang-opt="hi"],
html[data-lang="en"] .lang-toggle [data-lang-opt="en"] {
  opacity: 1;
  font-family: var(--devanagari);
}

.search {
  position: relative;
  margin-top: 8px;
}

.search > svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  stroke: #9a9284;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 37px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.search input::placeholder {
  color: #9a9284;
  font-weight: 400;
}

.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search input:focus {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin: 11px 12px 0;
  height: clamp(168px, 21vh, 232px);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(158deg, #2f6349 0%, #1b4332 52%, #10291f 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 16px 30px -22px rgba(27, 67, 50, 0.75);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(18, 48, 36, 0.55) 0%,
    rgba(18, 48, 36, 0.1) 45%,
    rgba(18, 48, 36, 0) 70%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px 4px;
  text-align: center;
  color: #fff;
}

.hero-copy h1 {
  max-width: 82%;
  font-family: var(--serif);
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 14px rgba(6, 20, 14, 0.4);
}

.hero-rule {
  width: 26px;
  height: 1px;
  margin: 10px 0 8px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 217, 168, 0.85),
    transparent
  );
}

.hero-kicker {
  max-width: 94%;
  font-size: clamp(6.8px, 1.95vw, 7.6px);
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.8;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.88);
  text-shadow: 0 1px 8px rgba(6, 20, 14, 0.35);
}

.hero-kicker span {
  display: block;
}

/* ---------- category chips ---------- */

.chips {
  display: flex;
  gap: 7px;
  padding: 13px 14px 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 33px;
  padding: 0 14px;
  border: 1px solid rgba(27, 67, 50, 0.26);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.22s ease, color 0.22s ease,
    border-color 0.22s ease, transform 0.15s ease;
}

.chip svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 8px 16px -11px rgba(27, 67, 50, 0.95);
}

.chip.is-active svg {
  color: var(--gold);
}

.chip:active {
  transform: scale(0.97);
}

/* ---------- section head ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 10px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--green);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 4px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.see-all svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.see-all:hover svg {
  transform: translateX(2px);
}

/* ---------- product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px -24px rgba(27, 67, 50, 0.55);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 18px 34px -24px rgba(27, 67, 50, 0.45);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  padding: 6px 8px 0;
  background: radial-gradient(
    120% 90% at 50% 10%,
    #fdf8ee 0%,
    #f7eedd 58%,
    #f2e6d1 100%
  );
}

.card-media .bottle {
  height: 116px;
  width: auto;
}

.badge {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 5px;
  background: linear-gradient(180deg, #d4ae3c, var(--gold));
  color: var(--green-deep);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 4px 10px -8px rgba(92, 71, 12, 0.9);
}

.card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 9px 9px 10px;
}

.card-name {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1px;
  color: var(--green);
  text-align: center;
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.card-meta {
  min-height: 13px;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.45;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.01em;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: auto;
  padding-top: 9px;
}

.card-price {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--green);
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7b349, var(--gold));
  color: var(--green-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 12px -10px rgba(120, 92, 12, 0.95);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-add b {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  margin-top: -1px;
}

.btn-add:active {
  transform: scale(0.95);
}

.btn-add.is-added {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.3);
}

/* ---------- empty state ---------- */

.empty {
  grid-column: 1 / -1;
  padding: 26px 10px 34px;
  text-align: center;
  color: var(--grey);
  font-size: 10.5px;
}

.empty strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}

/* ---------- bottom nav ---------- */

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  width: 100%;
  max-width: var(--shell);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -24px rgba(27, 67, 50, 0.8);
}

.tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0 3px;
  color: #9a917f;
  transition: color 0.2s ease;
}

.tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tab span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tab.is-active {
  color: var(--green);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.tab-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 19px);
  display: grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 44px);
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--green);
  color: #f7f1e4;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 16px 32px -14px rgba(18, 48, 36, 0.85);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- motion ---------- */

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .grid .card {
  opacity: 0;
  animation: cardIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.js .grid .card:nth-child(1) {
  animation-delay: 0.05s;
}
.js .grid .card:nth-child(2) {
  animation-delay: 0.12s;
}
.js .grid .card:nth-child(3) {
  animation-delay: 0.19s;
}
.js .grid .card:nth-child(4) {
  animation-delay: 0.26s;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .grid .card,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

html[data-lang="hi"] .chip,
html[data-lang="hi"] .tab span,
html[data-lang="hi"] .card-name,
html[data-lang="hi"] .section-head h2 {
  font-family: var(--devanagari);
}

/* =========================================================
   Header cart · product cards · cart drawer · shop
   ========================================================= */

/* ---------- search row + cart button ---------- */

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.search-row .search {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

.header-cart {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--green);
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.header-cart svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart:hover {
  background: #fff;
  border-color: var(--gold);
}

.header-cart:active {
  transform: scale(0.94);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- card art + size select ---------- */

.card-art {
  display: grid;
  place-items: center;
  height: 116px;
}

.card-media .bottle-svg {
  height: 116px;
  width: auto;
}

.card-media .card-photo {
  height: 116px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}

.meta-dot {
  color: var(--gold);
  opacity: 0.7;
}

.card-concern {
  overflow: hidden;
  text-overflow: ellipsis;
}

.size-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.size-select {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0 10px 0 0;
  background: transparent;
  color: var(--green);
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  max-width: 70px;
  text-overflow: ellipsis;
}

.size-select:focus-visible {
  outline: none;
  box-shadow: 0 1px 0 var(--gold);
  border-radius: 2px;
}

.size-wrap > svg {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* ---------- cart drawer ---------- */

body.cart-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 48, 36, 0.52);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.cart-open .cart-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50% - 230px));
  bottom: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  width: min(92vw, 380px);
  background: var(--cream);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -30px rgba(18, 48, 36, 0.7);
  visibility: hidden;
  transform: translateX(calc(100% + 30px));
  transition: transform 0.34s cubic-bezier(0.22, 0.72, 0.18, 1),
    visibility 0s linear 0.34s;
}

body.cart-open .cart-drawer {
  visibility: visible;
  transform: none;
  transition: transform 0.34s cubic-bezier(0.22, 0.72, 0.18, 1),
    visibility 0s;
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.cart-eyebrow {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.cart-head h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--green);
}

.cart-head-count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--grey);
}

.cart-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.cart-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.cart-close:active {
  transform: scale(0.92);
}

.cart-close:hover {
  border-color: var(--gold);
}

.cart-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 18px 16px;
}

.cart-list {
  list-style: none;
  padding: 0;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: radial-gradient(
    120% 90% at 50% 8%,
    #fdf8ee 0%,
    #f7eedd 62%,
    #f2e6d1 100%
  );
}

.cart-thumb .bottle-svg {
  height: 58px;
  width: auto;
}

.cart-item-name {
  display: block;
  padding-right: 24px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--green);
}

.cart-item-size {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--grey);
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.mini-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
}

.mini-stepper button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--green);
  font-size: 14px;
  line-height: 1;
}

.mini-stepper span {
  min-width: 18px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}

.cart-line-total {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: var(--green);
}

.cart-remove {
  position: absolute;
  top: 11px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #aaa08d;
  transition: color 0.2s ease;
}

.cart-remove svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-remove:hover {
  color: #8c2f2f;
}

.cart-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 10px 64px;
  text-align: center;
  color: var(--grey);
}

.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold);
}

.cart-empty-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-empty h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}

.cart-empty p {
  max-width: 200px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--grey);
}

.btn-empty {
  display: inline-flex;
  align-items: center;
  height: 38px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-empty:hover {
  background: var(--green);
  color: var(--cream);
}

.cart-foot {
  flex: 0 0 auto;
  padding: 14px 18px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.cart-total span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.cart-total strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--green);
}

.cart-note {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.45;
  color: var(--grey);
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--green);
  color: #f7f1e4;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 26px -16px rgba(27, 67, 50, 0.95);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-wa svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-wa:hover {
  background: #1f4d3a;
}

.btn-wa:active {
  transform: scale(0.98);
}

.cart-contact {
  margin-top: 9px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #9a917f;
}

/* ---------- shop page ---------- */

.shop-head {
  padding: 20px 18px 2px;
  text-align: center;
}

.shop-eyebrow {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.shop-title {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  line-line: 1.1;
  letter-spacing: 0.1px;
  color: var(--green);
}

.shop-sub {
  max-width: 280px;
  margin: 7px auto 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--grey);
}

.chips-scroll {
  padding-top: 14px;
}

.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10x;
  padding: 12px 15px 6px;
}

.shop-result {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a917f;
}

.shop-clear {
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.shop .grid {
  padding-top: 4px;
}

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 34px 22px 60px;
  text-align: center;
  color: var(--grey);
}

.shop-empty svg {
  width: 27px;
  height: 27px;
  margin-bottom: 7px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.shop-empty h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--green);
}

.shop-empty p {
  font-size: 10.5px;
}

.grid > .shop-empty {
  grid-column: 1 / -1;
}

@media (max-width: 379px) {
  .size-select {
    max-width: 56px;
  }
  .cart-drawer {
    width: 94vw;
  }
}

html[data-lang="hi"] .shop-title,
html[data-lang="hi"] .cart-head h2,
html[data-lang="hi"] .cart-empty h3,
html[data-lang="hi"] .shop-empty h2 {
  font-family: var(--devanagari);
}