:root {
  --green: #1f3d2b;
  --green-2: #2c5a3f;
  --saffron: #e8792b;
  --cream: #fbf6ee;
  --tint: #f3ece2;
  --ink: #1d1d1b;
  --muted: #6b6559;
  --line: #e4dccf;
  --wa: #1fa855;
  --radius: 16px;
  /* Fraunces for Latin; Baloo 2 automatically takes over for Hindi (Devanagari) letters */
  --display: "Fraunces", "Baloo 2", Georgia, serif;
  --body: "Hind", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 76px; /* room for sticky bar */
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.3; }

/* ---------- Language button ---------- */
.lang-btn {
  min-height: 40px; padding: 4px 16px 0; border-radius: 999px; cursor: pointer;
  border: 2px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color: #fff;
  font: 600 16px var(--body);
}
.lang-btn::before { content: "🌐 "; }
.hero .lang-btn { position: absolute; top: 12px; right: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 10%, rgba(232,121,43,.35), transparent 45%),
    var(--green);
  color: #fff;
  padding: 66px 16px 36px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background: var(--saffron);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .02em;
  transform: rotate(-2deg);
}
.hero__title { font-size: clamp(34px, 9vw, 56px); font-weight: 800; margin: 16px 0 6px; }
.hero__tag { margin: 0 auto 18px; max-width: 32ch; opacity: .9; }
.hero__chips {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.hero__chips li {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 12px; border-radius: 999px; font-size: 15px;
}
.hero__cta {
  display: inline-block; color: var(--green); background: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
}

/* ---------- Sections ---------- */
.section { padding: 36px 16px; max-width: 1100px; margin: 0 auto; }
.section--tint { background: var(--tint); max-width: none; }
.section--tint > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section--dark { background: var(--green-2); color: #fff; max-width: none; text-align: center; }
.section--dark > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.section__title { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.section__sub { color: var(--muted); margin: 0 0 20px; }
.section--dark .section__title { margin-bottom: 10px; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-size: 21px; font-weight: 600; }
.card__name a { color: inherit; text-decoration: none; }
.card__desc { margin: 0; color: var(--muted); font-size: 15px; }
.card__more {
  color: var(--green); font-weight: 600; font-size: 15px;
  text-align: center; padding: 10px 0 0; text-underline-offset: 3px;
}

/* ---------- Gallery (swipe) ---------- */
.gallery { position: relative; aspect-ratio: 1 / 1; background: var(--tint); overflow: hidden; }
.gallery__track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%; height: 100%; scroll-snap-align: start;
  border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__off {
  position: absolute; top: 12px; left: 12px; pointer-events: none;
  background: var(--saffron); color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 4px 10px; border-radius: 8px;
}
.gallery__count {
  position: absolute; top: 12px; right: 12px; pointer-events: none;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px;
  padding: 2px 9px; border-radius: 999px;
}
.gallery__dots {
  position: absolute; left: 0; right: 0; bottom: 10px; pointer-events: none;
  display: flex; justify-content: center; gap: 6px;
}
.gallery__dots i {
  width: 7px; height: 7px; border-radius: 4px;
  background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(0,0,0,.18);
  transition: width .2s;
}
.gallery__dots i.on { width: 18px; background: #fff; }
.gallery__nav { display: none; }
@media (hover: hover) {
  .gallery__nav {
    display: grid; place-items: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.9); color: var(--ink);
    font-size: 24px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s;
  }
  .gallery:hover .gallery__nav { opacity: 1; }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
}

/* ---------- Price ---------- */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price__now { font-size: 26px; font-weight: 600; color: var(--green); }
.price__mrp { color: var(--muted); font-size: 17px; }
.price__unit { color: var(--muted); font-size: 14px; }
.price__save { margin: 0; color: var(--saffron); font-weight: 600; font-size: 15px; }
.actions { display: grid; gap: 8px; margin-top: auto; }

/* ---------- Full-screen viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 50; background: #0d0d0c; color: #fff; }
.viewer__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px;
  background: linear-gradient(rgba(0,0,0,.6), transparent);
}
.viewer__close {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.15); color: #fff; font-size: 20px; cursor: pointer;
}
.viewer__track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: grid; place-items: center; }
.viewer__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer__nav { display: none; }
@media (hover: hover) {
  .viewer__nav {
    display: grid; place-items: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.15); color: #fff; font-size: 30px; cursor: pointer;
  }
  .viewer__nav--prev { left: 16px; }
  .viewer__nav--next { right: 16px; }
}

/* ---------- Product page ---------- */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; background: var(--green); color: #fff;
}
.topbar__back { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__name { font-family: var(--display); font-weight: 800; }
.detail { display: grid; gap: 18px; }
.gallery--detail { border-radius: var(--radius); }
.detail__info { display: flex; flex-direction: column; gap: 6px; }
.detail__name { font-size: 30px; font-weight: 800; }
.detail__desc { margin: 0; color: var(--muted); }
.detail__more { margin: 8px 0 0; }
.detail__more:empty { display: none; }
.detail__notes {
  list-style: none; margin: 12px 0 0; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 6px; font-size: 16px;
}
.detail__notes a, .detail__how { color: var(--green); font-weight: 600; }
.detail__how { margin-top: 8px; }
@media (min-width: 900px) {
  .detail { grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
  .detail .actions { margin-top: 8px; }
}

.qty {
  display: inline-flex; align-items: center; align-self: flex-start;
  border: 1px solid var(--line); border-radius: 999px; margin: 6px 0;
}
.qty button {
  width: 42px; height: 42px; border: 0; background: none;
  font-size: 22px; color: var(--green); cursor: pointer;
}
.qty output { min-width: 32px; text-align: center; font-weight: 600; }


/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 16px;
  border-radius: 12px; font-weight: 600; font-size: 17px;
  text-decoration: none; text-align: center;
}
.btn--wa { background: var(--wa); color: #fff; }
.btn--call { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn--light { background: #fff; color: var(--green); display: inline-flex; margin-top: 8px; }
.btn:active { transform: scale(.98); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 16px;
}
.steps__num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 20px;
}
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Info ---------- */
.info { display: grid; gap: 14px; }
@media (min-width: 560px) { .info { grid-template-columns: repeat(2, 1fr); } }
.info__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.info__icon { font-size: 28px; }
.info__card h3 { font-size: 19px; margin: 6px 0 4px; }
.info__card p { margin: 0; color: var(--muted); }


/* ---------- Footer & sticky ---------- */
.footer { text-align: center; color: var(--muted); font-size: 14px; padding: 20px 16px; }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,246,238,.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Tutorial card (opens the pop-up) ---------- */
.hero__video {
  display: block; width: fit-content; margin: 16px auto 0;
  color: #fff; font-weight: 600; text-underline-offset: 4px;
}
.tutorial {
  position: relative; display: block; width: 100%; max-width: 300px; margin: 0 auto 22px; padding: 0;
  aspect-ratio: 9 / 16; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: var(--green); box-shadow: 0 12px 30px rgba(31, 61, 43, .25);
}
.tutorial__poster { width: 100%; height: 100%; object-fit: cover; }
.tutorial::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.6)); }
.tutorial__icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 78px; height: 78px; border-radius: 50%; padding-left: 6px;
  display: grid; place-items: center; font-size: 30px; color: #fff;
  background: var(--saffron); box-shadow: 0 0 0 10px rgba(232, 121, 43, .3);
}
.tutorial__label {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 1;
  color: #fff; font: 600 18px var(--body); text-align: center;
}

/* ---------- Tutorial pop-up ---------- */
.tmodal {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center; padding: 16px;
  background: rgba(10, 16, 12, .88);
  animation: tmodal-in .2s ease-out;
}
@keyframes tmodal-in { from { opacity: 0; } }
.tmodal__box {
  position: relative; width: min(100%, calc((100dvh - 32px) * 9 / 16), 420px);
  aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.tmodal__box video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.tmodal__close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; font-size: 20px;
}
.tmodal__start {
  position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; cursor: pointer;
  background: rgba(0,0,0,.2); color: #fff;
}
.tmodal__hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  padding: 8px 18px 5px; border-radius: 999px; white-space: nowrap;
  background: rgba(0,0,0,.6); font: 600 17px var(--body);
}
.tmodal__end {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 24px 22px;
  background: linear-gradient(rgba(31,61,43,.97), rgba(20,40,28,.99));
  color: #fff; text-align: center;
  animation: tmodal-in .25s ease-out;
}
.tmodal__end[hidden], .tmodal__start[hidden] { display: none; }
.tmodal__title { margin: 0; font: 800 30px/1.2 var(--display); }
.tmodal__sub { margin: 0 0 10px; opacity: .85; }
.btn--order { background: var(--saffron); color: #fff; border: 0; cursor: pointer; font-family: var(--body); font-size: 19px; min-height: 54px; }
.tmodal__end .btn--call { background: #fff; }
.tmodal__replay {
  margin-top: 4px; background: none; border: 0; color: #fff; cursor: pointer;
  font: 600 16px var(--body); text-decoration: underline; text-underline-offset: 4px; opacity: .9;
}

/* ---------- Product page language button ---------- */
.topbar .lang-btn { min-height: 36px; font-size: 15px; }
