:root {
  --forest: #145c3a;
  --sage: #1f6b45;
  --mint: #e7f6ee;
  --cream: #f3faf6;
  --ivory: #ffffff;
  --gold: #c4a035;
  --ink: #10281c;
  --cta: #17824a;
  --muted: #355746;
  --line: rgba(20, 92, 58, 0.14);
  --shadow: 0 10px 28px rgba(16, 40, 28, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans Bengali", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 500;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
/* Class-level display rules would otherwise beat the UA rule for [hidden]. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; color: var(--forest); letter-spacing: -0.02em; }
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

/* —— Header —— */
.site-header { position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px rgba(16, 40, 28, 0.07); }
.topbar {
  background: var(--forest);
  color: #f4ead6;
  text-align: center;
  font-size: 0.84rem;
  padding: 8px 12px;
}
.brandbar {
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
}
.brand-logo { display: inline-flex; flex-shrink: 0; }
/* Same logo scale as the combo landing page: 56px on phones, 96px on desktop. */
.brand-logo img { height: 56px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest);
}
.site-nav-link:hover { background: var(--mint); }
.site-nav-link.is-active { background: var(--forest); color: #fff; }
.header-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  background: var(--mint);
}
.header-cta:hover { background: #d9eee3; }

/* —— Banner —— */
.banner {
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 107, 69, 0.12), transparent 55%),
    linear-gradient(180deg, var(--mint), var(--cream));
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--line);
}
.banner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}
.banner-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.banner-copy h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.25; }
.banner-sub { color: var(--muted); margin: 14px 0 22px; max-width: 46ch; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta, .cta-ghost {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.98rem;
}
.cta { background: var(--cta); color: #fff; box-shadow: 0 10px 22px rgba(23, 130, 74, 0.26); }
.cta:hover { background: #146f3f; }
.cta-ghost { background: var(--ivory); color: var(--forest); border: 1px solid var(--line); }
.cta-ghost:hover { background: #eef8f2; }
.banner-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--muted);
}
.banner-points li::before { content: "✓"; color: var(--cta); font-weight: 800; margin-inline-end: 6px; }
.banner-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.banner-art img {
  width: 46%;
  border-radius: 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: contain;
  padding: 10px;
}
.banner-art-second { margin-bottom: 26px; }

/* —— Shop page header band —— */
.shop-head-band {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 107, 69, 0.12), transparent 55%),
    linear-gradient(180deg, var(--mint), var(--cream));
  border-bottom: 1px solid var(--line);
  padding: 34px 0 30px;
}
.shop-head-band h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.shop-head-sub { color: var(--muted); margin-top: 8px; max-width: 60ch; }
.shop-head-band .banner-points { margin-top: 14px; }
.shop-cta { display: flex; justify-content: center; padding-bottom: 46px; margin-top: -22px; }

/* —— Product grid —— */
.section { padding: 46px 0 56px; scroll-margin-top: 96px; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.section-sub { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16, 40, 28, 0.12); }
.product-card-link { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-link:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 14px; }
.product-media {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: var(--ivory);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Catalogue photos come in mixed ratios; cover keeps every tile the same size. */
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.product-title {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
  /* Two lines keeps every card in a row the same height. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { margin-top: auto; font-size: 1.15rem; font-weight: 800; color: var(--forest); }
.catalog-note { text-align: center; color: var(--muted); }
.catalog-note a { color: var(--cta); font-weight: 700; }

/* —— Pagination —— */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.pager-pages { display: flex; gap: 6px; }
.pager-step, .pager-page {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  min-width: 42px;
  text-align: center;
}
.pager-page { padding: 8px 14px; }
.pager-step:hover, .pager-page:hover { background: var(--mint); }
.pager-page.is-current { background: var(--cta); border-color: var(--cta); color: #fff; }
.pager-step.is-off { opacity: 0.42; }

/* —— Product detail —— */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs a { color: var(--cta); font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs-current { color: var(--muted); }
.detail { padding-top: 22px; }
.detail-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 34px; align-items: start; }
.detail-main-media {
  aspect-ratio: 1 / 1;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.detail-main-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.detail-thumb {
  width: 72px;
  height: 72px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  cursor: pointer;
  overflow: hidden;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumb.is-active { border-color: var(--cta); box-shadow: 0 0 0 2px rgba(23, 130, 74, 0.18); }
.detail-category {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.detail-info h1 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.3; }
.detail-price { font-size: 1.7rem; font-weight: 800; color: var(--cta); margin: 10px 0 16px; }
.detail-facts { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.detail-facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  font-size: 0.94rem;
}
.detail-facts span { min-width: 96px; color: var(--muted); }
.detail-facts strong { color: var(--ink); font-weight: 700; }
.in-stock { color: var(--cta); }
.out-stock { color: #8b3a3a; }
.detail-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.detail-buy .cta { border: 0; cursor: pointer; font: inherit; font-weight: 700; flex: 1 1 200px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-block { margin-top: 24px; }
.detail-block h2 { font-size: 1.15rem; margin-bottom: 8px; }
.detail-text { color: var(--muted); }
.detail-extra { padding-top: 0; }
.detail-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.detail-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.detail-card h2 { font-size: 1.1rem; margin-bottom: 12px; }
.tick-list, .chip-list, .step-list { display: grid; gap: 9px; }
.tick-list { list-style: none; }
.tick-list li { display: flex; gap: 9px; color: var(--muted); }
.tick-list li::before { content: "✓"; color: var(--cta); font-weight: 800; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 600;
}
.step-list { padding-inline-start: 20px; color: var(--muted); }
.step-list li::marker { color: var(--cta); font-weight: 700; }
.detail-warning { background: #fff8f2; border-color: rgba(139, 58, 58, 0.22); }
.detail-warning h2 { color: #8b3a3a; }

/* —— Checkout on the product detail page —— */
.order-section { padding-top: 8px; scroll-margin-top: 96px; }
.checkout {
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 26px;
  box-shadow: var(--shadow);
}
.checkout h2 { font-size: 1.25rem; text-align: center; margin-bottom: 18px; }
.form-alert {
  background: #fff2f2;
  border: 1px solid rgba(139, 58, 58, 0.28);
  color: #8b3a3a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.field-label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field { display: block; margin-bottom: 14px; }
.field input[type="text"], .field input[type="number"], .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  background: #fdfffe;
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid rgba(23, 130, 74, 0.35); outline-offset: 1px; }
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: #8b3a3a; background: #fff7f7; }
.errors { display: block; color: #8b3a3a; font-size: 0.84rem; margin-top: 4px; }
.errors:empty { display: none; }
.zones { display: grid; gap: 10px; margin-bottom: 16px; }
.zones label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 0.95rem;
}
.zones label.active { border-color: var(--cta); background: var(--mint); }
.zones label span { display: flex; align-items: center; gap: 8px; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 40px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mint);
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}
.qty-btn:hover { background: #d9eee3; }
.qty input { width: 78px; text-align: center; }
.bill {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 18px 0;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}
.bill-thumb {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.bill .row { width: 100%; display: flex; justify-content: space-between; font-size: 0.94rem; color: var(--muted); }
.bill .grand {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 1.05rem;
  color: var(--ink);
}
.bill .grand strong { color: var(--forest); font-size: 1.2rem; }
.cta.full { display: flex; width: 100%; justify-content: center; align-items: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.cta .btn-loading { display: none; align-items: center; justify-content: center; gap: 8px; }
.cta.is-loading { pointer-events: none; opacity: 0.9; }
.cta.is-loading .btn-label { display: none; }
.cta.is-loading .btn-loading { display: inline-flex; }
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lock { text-align: center; color: var(--muted); font-size: 0.84rem; margin-top: 10px; }

.checkout-success { text-align: center; }
.success-panel { display: grid; gap: 8px; justify-items: center; }
.success-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(23, 130, 74, 0.28);
}
.success-lead { color: var(--muted); }
.success-note { color: var(--muted); font-size: 0.92rem; }
.success-box {
  width: 100%;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 8px 0;
}
.success-thumb { width: 80px; height: 80px; object-fit: contain; }
.success-combo { font-weight: 700; }
.success-price { color: var(--forest); font-weight: 800; }

/* —— Cart drawer —— */
.brandbar-actions { display: flex; align-items: center; gap: 10px; }
.cart-button {
  position: relative;
  border: 1px solid var(--line);
  background: var(--mint);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}
.cart-button:hover { background: #d9eee3; }
.cart-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
body.cart-locked { overflow: hidden; }
.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(16, 40, 28, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 40;
}
.cart-scrim.is-visible { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  height: 100%;
  width: min(430px, 100%);
  background: var(--cream);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: -18px 0 40px rgba(16, 40, 28, 0.18);
  visibility: hidden;
}
.cart-drawer.is-open { transform: none; visibility: visible; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.1rem; }
.cart-head-count { color: var(--muted); font-weight: 600; }
.cart-close {
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
}
.cart-body { flex: 1; overflow-y: auto; padding: 16px 18px 26px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.cart-empty a { color: var(--cta); font-weight: 700; }
.cart-lines { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.cart-line {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
.cart-line-media {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mint);
}
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { font-weight: 700; font-size: 0.92rem; line-height: 1.35; }
.cart-line-price { color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.cart-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty .qty-btn { width: 30px; height: 30px; font-size: 1rem; border-radius: 9px; }
.cart-qty-value { min-width: 26px; text-align: center; font-weight: 700; }
.cart-line-end { display: grid; gap: 6px; justify-items: end; }
.cart-line-end strong { color: var(--forest); }
.cart-remove {
  border: 0;
  background: transparent;
  color: #8b3a3a;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.cart-remove:hover { text-decoration: underline; }
.cart-form { display: block; }
.cart-alert {
  background: #fff2f2;
  border: 1px solid rgba(139, 58, 58, 0.28);
  color: #8b3a3a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.cart-bill {
  background: var(--ivory);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  margin: 16px 0;
}
.cart-bill .row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); }
.cart-bill .grand {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--ink);
  font-size: 1rem;
}
.cart-bill .grand strong { color: var(--forest); font-size: 1.15rem; }
.cart-success { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 28px 0; }
.cart-success h3 { font-size: 1.25rem; }
.cart-toast {
  position: fixed;
  inset-inline: 0;
  bottom: 22px;
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  background: var(--forest);
  color: #eaf7f0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 60;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.cart-toast.is-visible { opacity: 1; transform: none; }
.card-add {
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--forest);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.card-add:hover { background: var(--cta); border-color: var(--cta); color: #fff; }

/* —— Footer —— */
.foot {
  background: #0e3d27;
  color: #e7f6ee;
  text-align: center;
  padding: 36px 16px 40px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.foot-note { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; }
.foot a { background: #fff; border-radius: 22px; padding: 18px 22px; display: flex; }
.foot img { width: min(260px, 70vw); height: auto; display: block; }

@media (max-width: 860px) {
  .banner { padding: 34px 0 38px; }
  .banner-grid { grid-template-columns: 1fr; gap: 26px; }
  .banner-sub { max-width: none; }
  .banner-art { order: -1; }
  .banner-art img { width: 44%; }
  .detail-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (min-width: 860px) {
  .brand-logo img { height: 96px; }
  .foot img { width: 280px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 8px 8px 12px; border-radius: 14px; }
  .product-title { font-size: 0.88rem; }
  .product-price { font-size: 1rem; }
  .card-add { padding: 7px 10px; font-size: 0.78rem; }
  /* Logo, nav and cart only — the combo link would not fit beside them. */
  .header-cta { display: none; }
  .site-nav-link { padding: 7px 11px; font-size: 0.88rem; }
  .brandbar-actions { gap: 6px; }
  .banner-actions .cta, .banner-actions .cta-ghost { flex: 1 1 100%; text-align: center; }
  .pager-step, .pager-page { padding: 7px 12px; font-size: 0.85rem; }
  .product-more { font-size: 0.76rem; }
  .detail-actions .cta, .detail-actions .cta-ghost { flex: 1 1 100%; text-align: center; }
  .detail-thumb { width: 60px; height: 60px; }
}
