/* ===== Design Tokens ===== */
:root {
  /* Dark modern palette */
  --bg-page: #0f0f0f;
  --bg-section: #161616;
  --bg-card: #1e1e1e;
  --bg-elevated: #252525;
  --text-primary: #f2f2f2;
  --text-secondary: #b8b8b8;
  --text-inverse: #0f0f0f;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-hot: #e8c040;
  --gold-dark: #a8892a;
  --border: #333333;
  --border-accent: #d4af37;
  --hero-bg: #0a0a0a;
  --error: #ff5555;
  --success: #2ecc71;

  /* Checkout input wells — cream on dark for typing affordance */
  --input-bg: #f3ead8;
  --input-text: #1a1a1a;
  --input-placeholder: #7a7268;
  --input-border: #c9b896;
  --input-border-focus: var(--gold);
  --input-shadow-focus: 0 0 0 3px rgba(212, 175, 55, 0.25);

  /* Legacy aliases */
  --brown: var(--hero-bg);
  --orange: var(--gold);
  --orange-hot: var(--gold-hot);
  --orange-btn: var(--gold);
  --yellow: var(--gold-light);
  --promo: var(--gold-light);
  --video-border: var(--gold-dark);
  --check: var(--gold);
  --underline-red: var(--gold-dark);
  --strike-red: var(--error);

  --radius: 10px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 0 20px rgba(212, 175, 55, 0.08);
  --shadow-gold: 0 0 18px rgba(212, 175, 55, 0.25);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --page-max: 100%;
  --content-max: 100%;
  --hero-video-max: 360px;
  --section-x: 14px;
  --section-y: clamp(20px, 4vw, 32px);
}

/* Price → Footer: original warm/light palette (scoped) */
.theme-light {
  --bg-page: #ffffff;
  --bg-section: #f7f7f7;
  --bg-card: #ffffff;
  --bg-elevated: #f0f0f0;
  --text-primary: #0d0e0f;
  --text-secondary: #555555;
  --text-inverse: #ffffff;
  --brown: #623b34;
  --orange: #ff9600;
  --orange-hot: #ff6903;
  --orange-btn: #ff6900;
  --yellow: #ffbe03;
  --gold: #ff9600;
  --gold-light: #ffbe03;
  --gold-hot: #ff6903;
  --gold-dark: #e68802;
  --strike-red: #e02020;
  --border: #cccccc;
  --border-accent: #ff6900;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 0 10px rgba(229, 206, 206, 0.5);
  --shadow-gold: 0 0 18px rgba(255, 105, 0, 0.25);

  --input-bg: #ffffff;
  --input-text: #222222;
  --input-placeholder: #888888;
  --input-border: #cccccc;
  --input-border-focus: var(--orange);
  --input-shadow-focus: 0 0 0 3px rgba(255, 105, 0, 0.2);

  /* Override body inherited light text on dark page */
  color: #0d0e0f;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

@media (min-width: 481px) {
  :root {
    --page-max: 640px;
    --section-x: 20px;
  }
}

@media (min-width: 769px) {
  :root {
    --page-max: 100%;
    --content-max: 960px;
    --hero-video-max: 800px;
    --section-x: max(24px, calc((100vw - var(--content-max)) / 2));
  }

  body {
    box-shadow: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
input {
  font: inherit;
}

/* ===== Shared ===== */
.section {
  padding: var(--section-y) var(--section-x);
  background: var(--bg-page);
}

/* Soft CTA glow (no scale jump) */
.pulse {
  animation: ctaGlow 2.4s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(212, 175, 55, 0.35);
  }
  50% {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4), 0 0 18px 4px rgba(212, 175, 55, 0.45);
  }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Order Now button */
.btn-order {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--text-inverse);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 10px 22px;
  font-family: "Roboto Slab", serif;
  font-size: clamp(17px, 4vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  box-shadow: var(--shadow-gold);
  transition: background 0.25s var(--ease), background-image 0.25s var(--ease),
    transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 48px;
}

.btn-order:hover,
.btn-order:focus {
  background-image: linear-gradient(180deg, #f0d060 0%, #d4af37 100%);
  background-color: transparent;
  color: var(--text-inverse);
}

.btn-order:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.btn-order:active {
  transform: scale(0.97);
}

.btn-order-icon {
  display: flex;
  width: 28px;
  height: 28px;
}

.btn-order-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--text-inverse);
}

/* Curly / highlight helpers */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight.orange .highlight-text {
  color: var(--orange-hot);
}

.curly-underline {
  display: block;
  width: 100%;
  height: 14px;
  margin-top: -4px;
}

.curly-underline.wide {
  height: 16px;
}

.double-underline {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 2px;
  background: linear-gradient(var(--underline-red), var(--underline-red)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--underline-red), var(--underline-red)) 0 4px / 100% 2px no-repeat;
}

/* Check list */
.check-list {
  margin: 12px 0 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: var(--check);
}

/* ===== 1. Hero ===== */
.hero {
  position: relative;
  background: var(--hero-bg);
  padding: 20px var(--section-x) 90px;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: "Anek Bangla", sans-serif;
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
  text-align: center;
}

.hero-title-plain {
  color: var(--text-primary);
}

.hero-title-highlight {
  position: relative;
  display: inline-block;
}

.hero-title-highlight .highlight-text {
  color: var(--gold-light);
}

.hero-title-highlight .curly-underline {
  width: 90px;
  margin: -2px auto 0;
  height: 16px;
}

.hero-video-wrap {
  display: flex;
  justify-content: center;
  margin: 8px auto 14px;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: min(var(--hero-video-max), 100%);
  aspect-ratio: 16 / 9;
  border: 3px solid var(--video-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  background: #000;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s var(--ease);
}

.video-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.video-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}

.video-poster:hover .video-play,
.video-poster:focus .video-play {
  transform: scale(1.06);
}

.video-play svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  margin-left: 3px;
}

.hero-promo {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--promo);
  margin: 10px 0 18px;
  line-height: 1.4;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
}

.hero .btn-order {
  margin-bottom: 8px;
}

.hero-curve {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-curve svg {
  width: 100%;
  height: 84px;
  display: block;
}

.hero-curve path {
  fill: var(--bg-page);
}

/* ===== 2. Promo Carousel ===== */
.promo-carousel-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--bg-page);
}

.promo-swiper {
  width: 100%;
  padding-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
}

.promo-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next,
.promo-swiper .swiper-button-prev,
.promo-swiper .swiper-button-next {
  color: var(--gold);
  width: 28px;
  height: 28px;
}

.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after,
.promo-swiper .swiper-button-prev::after,
.promo-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.reviews-swiper .swiper-pagination-bullet,
.promo-swiper .swiper-pagination-bullet {
  background: #555;
  opacity: 1;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.reviews-swiper .swiper-pagination-bullet-active,
.promo-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 22px;
}

/* ===== 3 & 4. Feature cards ===== */
.features-section,
.wallet-section {
  background: var(--bg-page);
}

.feature-card {
  border: 3px solid var(--border-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
}

.feature-card-reverse {
  flex-direction: column;
}

.feature-card-content {
  text-align: left;
}

.feature-card-content .btn-order {
  margin-top: 4px;
}

.section-headline {
  font-family: "Anek Bangla", sans-serif;
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.section-headline .plain {
  color: var(--text-primary);
  margin-right: 4px;
}

.section-headline .highlight.orange .highlight-text {
  color: var(--gold-hot);
}

.section-headline.centered {
  text-align: center;
}

.feature-card-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-card-image img {
  width: 100%;
  border-radius: var(--radius);
}

/* ===== 5. Guarantee ===== */
.guarantee-section {
  background: var(--bg-section);
}

.guarantee-card {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 22px 16px;
  text-align: center;
}

.guarantee-text {
  font-family: "Anek Bangla", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.guarantee-plain {
  display: block;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.guarantee-highlight {
  display: inline-block;
  color: var(--gold-hot);
  position: relative;
}

/* ===== 6. Reviews ===== */
.reviews-section {
  padding-bottom: 32px;
  text-align: center;
}

.reviews-title {
  font-family: "Anek Bangla", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}

.reviews-title .highlight {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.reviews-title .double-underline {
  width: 100%;
  min-width: 70px;
}

.reviews-swiper {
  padding-bottom: 36px;
}

.reviews-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.reviews-swiper .swiper-slide img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ===== 7. Price (gold pills + animated markers) ===== */
.price-section {
  background: linear-gradient(180deg, #f5efe9 0%, #ffffff 100%);
  padding-top: 28px;
  padding-bottom: 32px;
}

.price-inner {
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.price-heading {
  font-family: "Anek Bangla", sans-serif;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(12px);
}

.price-pill {
  background: var(--yellow);
  border: 3px solid #000;
  border-radius: 72px;
  padding: 14px 20px;
  margin: 0 auto 14px;
  max-width: min(340px, 100%);
  box-shadow: 0 4px 0 #000;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  font-family: "Anek Bangla", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
  margin: 0;
}

.price-label {
  color: #000;
}

.price-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding: 0 4px;
}

.price-num {
  position: relative;
  z-index: 1;
  color: #1427d1;
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.marker-x,
.marker-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.85em;
  height: 1.85em;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.marker-path {
  fill: none;
  stroke: #c0392b;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: stroke-dashoffset 1.2s var(--ease), opacity 0.45s var(--ease);
}

.marker-circle .marker-path {
  stroke-width: 5;
}

.price-savings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 16px;
  padding: 6px 16px;
  background: var(--orange-hot);
  color: #fff;
  border-radius: 20px;
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 105, 0, 0.35);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}

.price-pill-discount {
  margin-bottom: 0;
}

/* Stagger reveal when data-reveal adds .is-visible */
.price-inner.is-visible .price-heading {
  animation: priceFadeUp 0.45s var(--ease) forwards;
}

.price-inner.is-visible .price-pill-regular {
  animation: priceReveal 0.5s 0.1s var(--ease) forwards;
}

.price-inner.is-visible .price-savings {
  animation: pricePop 0.4s 0.35s var(--ease) forwards;
}

.price-inner.is-visible .price-pill-discount {
  animation: priceReveal 0.5s 0.5s var(--ease) forwards,
    discountGlow 3s 1s ease-in-out infinite;
}

.price-inner.is-visible .marker-path {
  stroke-dashoffset: 0 !important;
  opacity: 1;
  transition-delay: 0.55s, 0.55s;
  animation: markerPulse 8s ease-in-out 1.85s infinite;
}

.price-inner.is-visible .price-pill-discount .marker-path {
  transition-delay: 0.75s, 0.75s;
  animation-delay: 2.05s;
}

@keyframes priceFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes priceReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pricePop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes markerPulse {
  0%,
  85%,
  100% {
    opacity: 1;
  }
  90% {
    opacity: 0.3;
  }
}

@keyframes discountGlow {
  0%,
  100% {
    box-shadow: 0 4px 0 #000, 0 0 0 0 rgba(255, 105, 0, 0);
  }
  50% {
    box-shadow: 0 4px 0 #000, 0 0 16px 4px rgba(255, 105, 0, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-heading,
  .price-pill,
  .price-savings {
    opacity: 1;
    transform: none;
  }

  .price-inner.is-visible .price-heading,
  .price-inner.is-visible .price-pill-regular,
  .price-inner.is-visible .price-savings,
  .price-inner.is-visible .price-pill-discount,
  .price-inner.is-visible .marker-path {
    animation: none;
  }

  .price-inner .marker-path {
    opacity: 1;
    stroke-dashoffset: 0 !important;
  }

  .price-pill-discount {
    box-shadow: 0 4px 0 #000, 0 0 12px rgba(255, 105, 0, 0.35);
  }
}

/* ===== 8. Checkout ===== */
.checkout-section {
  padding-bottom: 32px;
  background: var(--bg-page);
}

.checkout-heading {
  font-family: "Anek Bangla", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--text-primary);
}

.checkout-box {
  background: var(--bg-card);
  border: 4px solid var(--border-accent);
  border-radius: 12px;
  padding: 18px 14px 22px;
  box-shadow: var(--shadow-card);
}

.checkout-subheading {
  font-family: "Hind Siliguri", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 18px 0 12px;
  color: var(--text-primary);
}

.checkout-subheading:first-child {
  margin-top: 0;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  padding-left: 10px;
  cursor: pointer;
  background: var(--bg-card);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}

.product-card.selected {
  border-color: var(--orange);
  background: #fffaf3;
  box-shadow: 0 2px 10px rgba(255, 105, 0, 0.12);
}

.product-card.selected::before {
  width: 4px;
}

.product-card:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.product-card input[type="radio"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--orange);
}

.product-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.product-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-card-title {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  font-family: "Hind Siliguri", sans-serif;
  overflow-wrap: anywhere;
}

.product-qty-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: #f0f0f0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #333;
  transition: background 0.15s var(--ease);
}

.qty-btn:active {
  background: #e0e0e0;
  transform: scale(0.96);
}

.qty-input {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--input-border);
  border-right: 1px solid var(--input-border);
  text-align: center;
  font-size: 16px;
  background: var(--input-bg);
  color: var(--input-text);
  caret-color: var(--input-text);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-card-price {
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Billing */
.billing-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: "Hind Siliguri", sans-serif;
  color: var(--text-primary);
}

.form-row .required {
  color: var(--strike-red);
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--input-border);
  border-radius: 8px;
  outline: none;
  background: var(--input-bg);
  color: var(--input-text);
  caret-color: var(--input-text);
  font-size: 16px;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}

.form-row input:focus {
  border-color: var(--input-border-focus);
  box-shadow: var(--input-shadow-focus);
}

.form-row input:focus-visible {
  border-color: var(--input-border-focus);
  box-shadow: var(--input-shadow-focus);
}

.form-row input.invalid {
  border-color: var(--strike-red);
  background: #fff5f5;
}

.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:hover,
.form-row input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
  -webkit-text-fill-color: var(--input-text);
  caret-color: var(--input-text);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--strike-red);
  font-family: "Hind Siliguri", sans-serif;
}

.field-error.is-visible {
  display: block;
}

/* Shipping */
.shipping-methods li {
  margin-bottom: 8px;
}

.shipping-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s var(--ease);
}

.shipping-methods input:checked + span,
.shipping-methods label:has(input:checked) {
  background: #f0f0f0;
}

.shipping-methods input[type="radio"] {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
}

/* Order table */
.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.order-table th,
.order-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.order-table thead th {
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.order-table th:last-child,
.order-table td:last-child {
  text-align: right;
}

.order-table .cart-item td:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.order-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.order-table .order-total th,
.order-table .order-total td {
  font-size: 16px;
  border-bottom: 0;
  padding-top: 14px;
}

.order-table .order-total strong {
  font-size: 18px;
  display: inline-block;
}

.order-table .order-total strong.flash,
#btn-total.flash {
  animation: totalFlash 0.45s var(--ease);
}

@keyframes totalFlash {
  0% {
    color: var(--orange-hot);
    transform: scale(1.05);
  }
  100% {
    color: inherit;
    transform: scale(1);
  }
}

/* Payment */
.payment-box {
  margin: 12px 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.payment-method input {
  accent-color: var(--orange);
}

.payment-desc {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.privacy-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 14px 0 16px;
}

.privacy-text a {
  color: var(--orange);
  text-decoration: underline;
}

.btn-place-order {
  display: block;
  width: 100%;
  background: var(--orange-btn);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 16px 20px;
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 105, 0, 0.35);
  min-height: 54px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn-place-order:hover,
.btn-place-order:focus {
  background: var(--orange-hot);
}

.btn-place-order:active {
  transform: scale(0.97);
}

.btn-place-order:disabled,
.btn-place-order.is-loading {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(110%);
  width: 100%;
  max-width: var(--page-max);
  z-index: 100;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #eee;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  background: var(--orange-btn);
  color: #fff;
  border: 2px solid var(--orange-hot);
  border-radius: var(--radius);
  font-family: "Roboto Slab", "Anek Bangla", sans-serif;
  font-size: 17px;
  font-weight: 500;
  box-shadow: var(--shadow-gold);
  transition: transform 0.15s var(--ease), background 0.2s var(--ease);
}

.sticky-cta a:active {
  transform: scale(0.98);
}

.sticky-cta-price {
  color: #fff;
  font-weight: 700;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 28px);
  max-width: min(420px, var(--page-max));
  z-index: 110;
  background: var(--success);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 9. Footer ===== */
.site-footer {
  background: var(--brown);
  color: #fff;
  text-align: center;
  padding: 28px 16px 32px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-size: 15px;
  font-family: "Hind Siliguri", sans-serif;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: #f5f5f5;
  font-family: "Hind Siliguri", sans-serif;
}

.footer-copy span {
  color: #fff;
}

/* ===== Responsive: small phones ≤360px ===== */
@media (max-width: 360px) {
  .price-pill {
    padding: 12px 14px;
  }

  .price-line {
    font-size: 18px;
  }

  .price-savings {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-title-highlight .curly-underline {
    width: 72px;
  }
}

/* ===== Responsive: landscape phones ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: 12px;
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: clamp(22px, 5vw, 28px);
    margin-bottom: 8px;
  }

  .hero-video {
    max-width: min(280px, 70vw);
  }
}

/* ===== Responsive: tablet bridge (481–768) ===== */
@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --hero-video-max: 480px;
  }

  .hero-title {
    font-size: clamp(36px, 6vw, 44px);
  }
}

/* ===== Responsive: tablet+ carousel nav ===== */
@media (min-width: 481px) {
  .reviews-swiper .swiper-button-prev,
  .reviews-swiper .swiper-button-next,
  .promo-swiper .swiper-button-prev,
  .promo-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .reviews-swiper .swiper-button-prev::after,
  .reviews-swiper .swiper-button-next::after,
  .promo-swiper .swiper-button-prev::after,
  .promo-swiper .swiper-button-next::after {
    font-size: 22px;
  }

  .price-inner {
    max-width: 420px;
  }

  .price-pill {
    max-width: min(380px, 100%);
  }
}

/* ===== Responsive: checkout billing grid ===== */
@media (min-width: 600px) {
  .billing-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .form-row:has(#billing_address) {
    grid-column: 1 / -1;
  }
}

/* ===== Responsive: desktop full-width layout ===== */
@media (min-width: 769px) {
  .section {
    padding-left: max(24px, calc((100vw - var(--content-max)) / 2));
    padding-right: max(24px, calc((100vw - var(--content-max)) / 2));
  }

  .hero {
    padding: 48px var(--section-x) 120px;
  }

  .hero-inner {
    max-width: var(--content-max);
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(44px, 4.5vw, 56px);
    margin-bottom: 20px;
  }

  .hero-title-highlight .curly-underline {
    width: 120px;
    height: 20px;
  }

  .hero-video {
    max-width: min(var(--hero-video-max), 90%);
  }

  .video-play {
    width: 72px;
    height: 72px;
  }

  .video-play svg {
    width: 32px;
    height: 32px;
  }

  .hero-promo {
    font-size: 22px;
    margin: 16px 0 24px;
  }

  .hero-curve svg {
    height: 100px;
  }

  .feature-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 24px 20px;
  }

  .feature-card-reverse {
    flex-direction: row-reverse;
  }

  .feature-card-content {
    flex: 1;
    min-width: 0;
  }

  .feature-card-image {
    flex: 0 0 42%;
    max-width: 420px;
  }

  .price-inner {
    max-width: 520px;
  }

  .price-pill {
    max-width: min(440px, 100%);
  }

  .checkout-box {
    padding: 24px 20px 28px;
  }

  .product-card {
    padding: 14px;
  }

  .site-footer {
    padding: 36px max(24px, calc((100vw - var(--content-max)) / 2)) 40px;
  }

  .sticky-cta {
    max-width: 100%;
    padding: 12px max(24px, calc((100vw - var(--content-max)) / 2));
  }

  .sticky-cta a {
    max-width: var(--content-max);
    margin: 0 auto;
  }

  .toast {
    max-width: min(480px, calc(100vw - 48px));
  }
}
