@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
  --wine: #6E1F3B;
  --wine-dark: #4E1329;
  --gold: #B9922A;
  --gold-light: #E8D9B5;
  --cream: #FBF6EF;
  --blush: #F4DCD9;
  --ink: #2B2320;
  --ink-soft: #6b5c56;
  --success: #3F6B4A;
  --danger: #A8402F;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(78, 19, 41, 0.10);
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--wine);
  color: var(--cream);
  padding: 22px 0 18px;
  text-align: center;
}

.brand {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.tagline {
  margin-top: 4px;
  font-size: 14px;
  color: var(--gold-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 10px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  background: var(--blush);
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--wine-dark);
}

.trust-strip span { white-space: nowrap; }

/* ---------- Product grid ---------- */
.grid-section { padding: 34px 0 60px; }

.grid-section h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  text-align: center;
  color: var(--wine-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-card .info { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }

.product-card .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  min-height: 44px;
}

.product-card .price {
  font-size: 17px;
  font-weight: 700;
  color: var(--wine);
  margin: 0 0 12px;
}

.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.15s ease;
}

.cta-btn:hover { background: var(--wine-dark); }

.cta-btn.gold {
  background: var(--gold);
  color: var(--wine-dark);
}
.cta-btn.gold:hover { background: #a17f22; }

/* ---------- Product page ---------- */
.product-header {
  background: var(--wine);
  padding: 14px 0;
}

.gallery { padding-top: 18px; }

.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--blush);
}

.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  width: 64px;
  height: 64px;
  background: none;
  flex-shrink: 0;
}

.gallery-thumbs button.active { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.urgency-bar {
  margin-top: 16px;
  background: var(--wine-dark);
  color: var(--gold-light);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  gap: 10px;
}

.urgency-bar .timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 6px;
}

.product-title {
  font-size: 21px;
  font-weight: 700;
  margin: 18px 0 4px;
  color: var(--ink);
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--wine);
  margin: 0 0 14px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  font-size: 12.5px;
  background: var(--blush);
  color: var(--wine-dark);
  padding: 6px 11px;
  border-radius: 999px;
}

.details-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.details-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--wine-dark);
}

.details-box ul {
  margin: 0;
  padding-right: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.details-box li { margin-bottom: 5px; }

.step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--wine-dark);
  margin: 26px 0 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gold-light);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  background: var(--blush);
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--wine-dark);
}

.qty-control input {
  width: 42px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.qty-control input:focus { outline: none; }

form.checkout-form {
  background: linear-gradient(160deg, var(--cream) 0%, var(--blush) 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-top: 12px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #e6ddd3;
  border-radius: 9px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field .error {
  display: none;
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 5px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }

.field.has-error .error { display: block; }

#cust-district {
  background: var(--gold-light);
  color: var(--wine-dark);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(185,146,42,0.25);
}
#cust-district:focus { background: var(--blush); }

.order-summary {
  background: var(--blush);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
  margin-bottom: 16px;
  font-size: 14.5px;
}

.order-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--wine-dark);
}

.order-summary .row.total {
  border-top: 1px solid rgba(110,31,59,0.2);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--wine);
}

.submit-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 17px;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(110,31,59,0.35), 0 0 0 0 rgba(185,146,42,0.5);
  animation: submitPulse 2.2s ease-in-out infinite;
  transition: transform 0.15s ease;
}

.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: submitShine 2.6s ease-in-out infinite;
}

@keyframes submitPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(110,31,59,0.35), 0 0 0 0 rgba(185,146,42,0.45); }
  50% { box-shadow: 0 8px 26px rgba(110,31,59,0.4), 0 0 0 10px rgba(185,146,42,0); }
}

@keyframes submitShine {
  0% { left: -75%; }
  60% { left: 130%; }
  100% { left: 130%; }
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 100%);
  transform: translateY(-2px) scale(1.01);
}

.submit-btn:active { transform: translateY(0) scale(0.98); }

.cod-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- Thank you page ---------- */
.ty-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 50px 18px 70px;
  text-align: center;
}

.ty-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.ty-wrap h1 {
  font-size: 23px;
  color: var(--wine-dark);
  margin: 0 0 6px;
}

.ty-wrap p.sub { color: var(--ink-soft); margin: 0 0 26px; }

.ty-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  text-align: right;
  margin-bottom: 16px;
}

.ty-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--wine-dark);
  text-align: right;
}

.ty-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14.5px;
  border-bottom: 1px dashed #eee0d3;
}
.ty-row:last-child { border-bottom: none; }
.ty-row.total { font-weight: 700; color: var(--wine); font-size: 16px; }

.ty-address { text-align: right; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wine-dark);
  color: var(--gold-light);
  text-align: center;
  padding: 22px 18px;
  font-size: 13px;
  margin-top: 40px;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: sticky;
  bottom: 0;
  background: var(--cream);
  padding: 10px 0 16px;
  z-index: 5;
}

@media (min-width: 860px) {
  .product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .gallery-main { max-width: 480px; }
}

/* ---------- Top quick-action bar ---------- */
.quick-actions {
  display: flex;
  gap: 10px;
  padding: 14px 0 4px;
}

.quick-actions button, .quick-actions a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  color: #fff;
}

.quick-order-btn { background: linear-gradient(135deg, var(--wine), var(--wine-dark)); }
.quick-chat-btn { background: linear-gradient(135deg, #5b3a8e, #3c2563); }

/* ---------- Gallery arrows ---------- */
.gallery-main { position: relative; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--wine-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }

/* ---------- Marketing subheadline ---------- */
.marketing-subheadline {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--wine-dark);
  background: var(--gold-light);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}

/* ---------- Checklist details box ---------- */
.details-box.checklist {
  background: var(--ink);
  border: 2px solid var(--gold);
}
.details-box.checklist h3 { color: var(--gold-light); }
.details-box.checklist ul { list-style: none; padding: 0; color: #f0e6da; }
.details-box.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 14.5px;
}
.details-box.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ---------- Variant selection ---------- */
.variant-options { display: flex; flex-direction: column; gap: 8px; }
.variant-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e6ddd3;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.variant-option.selected { border-color: var(--wine); background: var(--blush); }
.variant-option input { accent-color: var(--wine); width: 17px; height: 17px; }
.variant-option .v-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.variant-option .v-label { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.variant-option .v-price { font-weight: 700; color: var(--wine); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonial-section { margin-bottom: 20px; }
.testimonial-carousel { position: relative; min-height: 92px; padding-bottom: 4px; }
.testimonial-card {
  background: linear-gradient(135deg, #fff 0%, var(--blush) 130%);
  border: 1px solid #f0d9d4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: none;
  align-items: flex-start;
  gap: 12px;
}
.testimonial-card.active { display: flex; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--wine-dark); font-size: 16px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-body { flex: 1; min-width: 0; }
.t-name-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.t-name-row .t-name { font-weight: 700; font-size: 14px; color: var(--wine-dark); }
.t-name-row .t-platform { display: inline-flex; align-items: center; }
.t-stars { font-size: 11px; margin-bottom: 3px; letter-spacing: 1px; }
.t-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; font-style: italic; }

/* ---------- Trust badge + privacy note near submit ---------- */
.trust-banner {
  background: #e8f5ec;
  border: 1.5px dashed var(--success);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--success);
  margin-top: 10px;
}

.privacy-note {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- Order bump offer ---------- */
.bump-offer {
  background: linear-gradient(135deg, #fff4cc, #ffe9a3);
  border: 3px solid var(--gold);
  border-radius: 14px;
  padding: 14px;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(185,146,42,0.3);
}
.bump-offer.selected {
  background: linear-gradient(135deg, var(--blush), #f0c9c2);
  border-color: var(--wine);
  box-shadow: 0 4px 14px rgba(110,31,59,0.3);
}
.bump-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.bump-check-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; flex-shrink: 0; }
.bump-label input[type="checkbox"] { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--wine); }
.bump-hint { font-size: 9.5px; font-weight: 700; color: var(--wine-dark); white-space: nowrap; }
.bump-img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.bump-info { flex: 1; min-width: 0; }
.bump-name { font-size: 14px; font-weight: 800; color: var(--wine-dark); }
.bump-desc { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.bump-price { font-size: 13.5px; font-weight: 800; color: var(--wine); margin-top: 3px; }

/* ---------- Fixed bottom bar ---------- */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #eee0d3;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fbb-chat-btn {
  flex: 1;
  text-align: center;
  background: linear-gradient(135deg, #5b3a8e, #3c2563);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.fbb-order-btn {
  flex: 1;
  text-align: center;
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Strikethrough / popular badge ---------- */
.price-original { color: var(--ink-soft); text-decoration: line-through; font-size: 16px; font-weight: 500; margin-right: 8px; }
.popular-badge {
  position: absolute;
  top: -10px; right: 10px;
  background: var(--gold);
  color: var(--wine-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.variant-option { position: relative; }

/* ---------- FAQ accordion ---------- */
.faq-section { margin-bottom: 20px; }
.faq-item { background: #fff; border: 1px solid #f0e6da; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: right; background: none; border: none; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--wine-dark); cursor: pointer;
}
.faq-question .faq-icon { flex-shrink: 0; font-size: 18px; color: var(--gold); transition: transform 0.2s ease; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 14px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 14px 14px; }
.faq-answer p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ---------- Cross-sell ---------- */
.cross-sell-section { margin: 26px 0 20px; }
.cross-sell-section h3 { font-size: 15px; color: var(--wine-dark); margin: 0 0 12px; }
.cross-sell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cross-sell-card { display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.cross-sell-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.cross-sell-card .cs-info { padding: 8px; }
.cross-sell-card .cs-name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; margin: 0 0 4px; }
.cross-sell-card .cs-price { font-size: 12.5px; font-weight: 700; color: var(--wine); }

/* ---------- Header logo + footer contact ---------- */
.site-header .brand-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.site-header .brand-logo { height: 32px; width: 32px; object-fit: contain; border-radius: 6px; }
.product-header .brand-row { display: flex; align-items: center; gap: 8px; }
.product-header .brand-logo { height: 26px; width: 26px; object-fit: contain; border-radius: 6px; }
.footer-contact { margin-top: 6px; font-size: 12.5px; color: var(--gold-light); }
