/**
 * MANOHORA (মনোহরা) — Master Stylesheet
 * Traditional Bengali Sweets Design System (Agartala Heritage Folio)
 */

@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Tiro+Bangla:ital@0;1&display=swap');

:root {
  /* Heritage Palette (Inspired by Illustrated Folio) */
  --color-primary: #8B2E16;         /* Alta Terracotta */
  --color-primary-dark: #4A150E;    /* Deep Chocolate Ink */
  --color-primary-light: #A83A1D;
  --color-secondary: #2C120A;       /* Deep Sepia Ink */
  --color-accent: #B77718;          /* Turmeric Saffron Gold */
  --color-accent-light: #F5CF87;
  --color-accent-dark: #945C12;
  --color-gold: #D97706;
  --color-gold-light: #F59E0B;
  --bg-dark: #24110E;
  
  /* Canvas & Parchment Tones */
  --color-bg: #FBF6EB;              /* Aged Recipe Parchment */
  --color-surface: #FFFDF7;         /* Warm Shola Cream */
  --color-surface-soft: #F4E7CE;     /* Warm Parchment Card */
  --color-border: #E3CEB2;          /* Subtle Sepia Border */
  --color-border-accent: #D4B283;
  --line: #E3CEB2;
  --line-strong: #D4B283;
  --bg-card: #FFFDF7;
  --radius: 16px;
  --shadow-soft: 0 4px 16px rgba(55, 24, 13, 0.06);
  --shadow-card: 0 12px 28px rgba(55, 24, 13, 0.12);
  
  /* Text Tones (High Contrast WCAG AAA Compliant) */
  --color-text-main: #24110E;       /* Deep Espresso Ink */
  --color-text-muted: #3D2115;      /* Rich Dark Sepia */
  --color-text-light: #543224;      /* High-contrast secondary text */
  --color-text-inverse: #FFFDF9;    /* Pure Cream */

  /* Typography Families */
  --font-heading-bn: 'Hind Siliguri', 'Anek Bangla', 'Tiro Bangla', -apple-system, sans-serif;
  --font-body-bn: 'Hind Siliguri', 'Anek Bangla', -apple-system, sans-serif;
  --font-ui-bn: 'Anek Bangla', 'Hind Siliguri', sans-serif;
  --font-heading-en: 'Playfair Display', Georgia, serif;
  --font-body-en: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 6px rgba(55, 24, 13, 0.05);
  --shadow-md: 0 6px 18px rgba(55, 24, 13, 0.08);
  --shadow-lg: 0 14px 32px rgba(55, 24, 13, 0.12);
  --shadow-gold: 0 4px 16px rgba(183, 119, 24, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text-main);
}

body {
  font-family: var(--font-body-bn);
  font-weight: 500;
  line-height: 1.7;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 50% 0%, rgba(244, 231, 206, 0.5) 0%, rgba(251, 246, 235, 0.98) 100%);
  color: var(--color-text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Bengali Script Legibility: Never break conjuncts or matra tracking */
:lang(bn),
[lang="bn"],
.is-bn,
.is-bn h1, .is-bn h2, .is-bn h3, .is-bn h4, .is-bn h5, .is-bn h6,
.is-bn .eyebrow, .is-bn .btn, .is-bn .badge, .is-bn .form-label {
  letter-spacing: 0 !important;
  word-spacing: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-bn);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.site-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background-color: rgba(251, 246, 235, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 5vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

.brand-title {
  font-family: var(--font-heading-bn);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-title small {
  font-family: var(--font-body-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 2px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header nav a {
  font-family: var(--font-body-bn);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--color-primary);
}

.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher Toggle */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-accent);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.25rem;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  font-family: var(--font-body-en);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.45rem 0.85rem;
  min-height: 38px;
  min-width: 44px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.lang-btn:hover {
  color: var(--color-primary);
  background: var(--color-surface-soft);
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--color-primary), #5B130D);
  color: #FFF8EA !important;
  box-shadow: 0 2px 8px rgba(139, 46, 22, 0.35);
}

.lang-sep {
  color: var(--color-border-accent);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
  user-select: none;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-accent);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cart-button:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-soft);
  transform: translateY(-1px);
}

.cart-button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-accent);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 0.5rem 0.95rem;
  color: var(--color-primary-dark);
  font-family: var(--font-body-en);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}
.nav-toggle:hover, .nav-toggle.is-active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}
.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.nav-toggle.is-active .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-toggle-text {
  font-weight: 700;
}

/* Mobile Nav Drawer Enhancements */
.mobile-nav-head {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-accent);
  margin-bottom: 1rem;
}
.mobile-nav-title {
  font-family: var(--font-heading-bn);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.btn-close-nav {
  background: rgba(139, 46, 22, 0.1);
  border: 1.5px solid var(--color-border-accent);
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}
.btn-close-nav:hover {
  background: var(--color-primary);
  color: #fff;
}
.nav-arrow {
  display: none;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 14, 8, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open {
  overflow: hidden !important;
}

/* ==========================================================================
   Hero Section — Editorial Confectioner's Folio
   ========================================================================== */
.hero-card-layout {
  padding: 2.5rem 0 3.5rem;
}

.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(183, 119, 24, 0.15) inset;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-card-body {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.98) 0%, rgba(244, 231, 206, 0.9) 100%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  background: #EED7B5;
  border: 1px solid var(--color-border-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 4px rgba(55, 24, 13, 0.08);
}

.hero-tag span[lang="bn"], .hero-tag .hero-tag-badge {
  background: #DFBE8F;
  color: #37180D;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading-en), Georgia, serif;
  font-size: 2.85rem;
  color: #37180D;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero-verse {
  font-family: var(--font-heading-en), Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  color: #5B130D;
  margin-bottom: 1.2rem;
  display: block;
  letter-spacing: 0.2px;
}

.hero-desc {
  font-family: var(--font-body-en), sans-serif;
  font-size: 1.06rem;
  font-weight: 450;
  color: #2D140D;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-body-en), sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #37180D;
  border-top: 1.5px dashed var(--color-border-accent);
  padding-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust b {
  color: #8B2E16;
  font-weight: 800;
}

.hero-trust .dot {
  color: #B77718;
  font-size: 1.1rem;
}

/* Feature Discovery Highlights Strip */
.feature-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-highlight-card {
  background: linear-gradient(135deg, #FFFDF9, #FFF8EA);
  border: 1.5px solid #E3CEB2;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-shadow: 0 2px 8px rgba(91, 19, 13, 0.04);
}

.feature-highlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(139, 46, 22, 0.1);
}

.feature-highlight-card b {
  color: #8B2E16;
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.feature-highlight-card span {
  font-size: 0.85rem;
  color: #5B483C;
  line-height: 1.45;
}

/* Hero Gallery */
.hero-card-media {
  position: relative;
  background: #24110E;
  min-height: 420px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(55,24,13,0.75) 100%);
}

.hero-slide-caption {
  position: absolute;
  bottom: 4.5rem;
  left: 2rem;
  right: 2rem;
  color: #FFFDF7;
  font-family: var(--font-heading-bn);
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 3;
}

.hero-gallery-count {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(36, 17, 14, 0.75);
  color: var(--color-accent-light);
  border: 1px solid rgba(217, 155, 60, 0.4);
  font-family: var(--font-body-en);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  z-index: 5;
}

.floating-seal {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(251, 246, 235, 0.95);
  border: 1.5px solid var(--color-accent);
  color: var(--color-primary-dark);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  line-height: 1.2;
}

.hero-pagination {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  display: flex;
  gap: 0.85rem;
  z-index: 10;
}

.hero-page-btn {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  touch-action: manipulation;
}

.hero-page-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.hero-page-btn.is-active {
  background: var(--color-accent);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(229, 169, 60, 0.7);
}

/* ==========================================================================
   Continuous Edge-to-Edge Marquee Ribbon
   ========================================================================== */
.heritage-marquee {
  background: var(--color-primary);
  color: #FFF8EA;
  overflow: hidden;
  position: relative;
  width: 100%;
  white-space: nowrap;
}

.heritage-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.heritage-marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2.5rem;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body-bn);
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Buttons & UI Elements (Refined Visual Hierarchy)
   ========================================================================== */
.btn, .btn-cta, .btn-phone, .btn-add-bag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}

.btn-cta, .btn.gold {
  background: linear-gradient(135deg, var(--color-primary), #6B1D0E);
  color: #FFF8EA !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.88rem 2rem;
  border-radius: 30px;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(139, 46, 22, 0.35);
  letter-spacing: 0.3px;
  min-height: 48px;
}

.btn-cta:hover, .btn.gold:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(139, 46, 22, 0.45);
  transform: translateY(-2px);
}

.btn-phone {
  background-color: transparent;
  border: 1.5px solid rgba(139, 46, 22, 0.3);
  color: #5B130D !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  min-height: 48px;
  opacity: 0.88;
}

.btn-phone:hover {
  background-color: rgba(139, 46, 22, 0.05);
  border-color: var(--color-primary);
  color: var(--color-primary) !important;
  opacity: 1;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border-accent);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  min-height: 44px;
}

.btn-outline:hover {
  background: var(--color-surface-soft);
  border-color: var(--color-primary);
}

/* Section Titles */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  font-family: var(--font-body-en), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-head h1, .section-head h2 {
  font-family: var(--font-heading-en), Georgia, serif;
  font-size: 2.35rem;
  color: #37180D;
  margin-bottom: 0.5rem;
}

.section-head p:not(.eyebrow) {
  font-family: var(--font-body-en), sans-serif;
  color: #37180D;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 720px;
  margin: 0.5rem auto 0;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* 3D Tilt Card */
.product-card[data-tilt-card] {
  position: relative;
  transform-style: preserve-3d;
  transform: translate3d(0,0,0);
  transition: transform .5s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow .5s cubic-bezier(0.25,0.46,0.45,0.94);
  cursor: pointer;
}
.product-card[data-tilt-card]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(229,169,60,.2) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.product-card[data-tilt-card]:hover {
  transform: translate3d(0,-12px,0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow: 0 40px 80px rgba(13,5,4,.5), 0 0 60px rgba(229,169,60,.2);
  z-index: 10;
}
.product-card[data-tilt-card].is-tilting {
  transition: transform .1s ease-out, box-shadow .2s ease;
  will-change: transform;
}
.product-card[data-tilt-card]:hover::before {
  opacity: 1;
}
.product-card[data-tilt-card] .product-photo,
.product-card[data-tilt-card] .product-card-image-wrap {
  transform: translateZ(20px);
  transition: transform .5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card[data-tilt-card] .product-body,
.product-card[data-tilt-card] .product-card-body {
  transform: translateZ(35px);
  transition: transform .5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.product-card[data-tilt-card] .product-buy,
.product-card[data-tilt-card] .product-card-footer {
  transform: translateZ(15px);
}
.product-card[data-tilt-card]:hover .product-photo,
.product-card[data-tilt-card]:hover .product-card-image-wrap {
  transform: translateZ(30px);
}
.product-card[data-tilt-card]:hover .product-photo img,
.product-card[data-tilt-card]:hover .product-card-image-wrap img {
  transform: scale(1.08);
}
@media (hover:none), (pointer:coarse), (prefers-reduced-motion:reduce) {
  .product-card[data-tilt-card], .product-card[data-tilt-card]:hover { transform: translate3d(0,0,0) !important; }
  .product-card[data-tilt-card]::before { display: none; }
  .product-card[data-tilt-card] .product-photo, .product-card[data-tilt-card] .product-card-image-wrap,
  .product-card[data-tilt-card] .product-body, .product-card[data-tilt-card] .product-card-body,
  .product-card[data-tilt-card] .product-buy, .product-card[data-tilt-card] .product-card-footer { transform: none !important; }
  .product-card[data-tilt-card]:hover .product-photo img,
  .product-card[data-tilt-card]:hover .product-card-image-wrap img { transform: scale(1.04) !important; }
}

.product-3d-canvas { pointer-events: none !important; }

.product-card {
  background: var(--bg-card, #FFFDF7);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  border: 1.5px solid var(--color-border, #E3CEB2);
  box-shadow: 0 2px 10px rgba(55, 24, 13, 0.05);
  transition: all var(--transition-normal, 0.35s ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--color-border-accent, #D4B283);
  box-shadow: 0 14px 32px rgba(55, 24, 13, 0.12), 0 0 0 1px rgba(212, 178, 131, 0.35);
}

.product-card.is-hidden,
.product-card[hidden] {
  display: none !important;
}

.product-photo,
.product-card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  padding-top: 0;
  overflow: hidden;
  background: var(--bg-dark, #24110E);
  border-bottom: 1px solid var(--color-border, #E3CEB2);
}
.product-photo img,
.product-card-image-wrap img,
.product-card-image {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.25,0.46,0.45,0.94), opacity .2s ease;
}
.product-photo .trending-badge,
.product-photo .product-tag,
.product-card-image-wrap .trending-badge,
.product-card-image-wrap .product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #D97706 0%, #9A3412 100%);
  color: #FFFFFF !important;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(154, 52, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transform: translateZ(50px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-body,
.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1rem;
}
.product-body h3,
.product-card-title {
  font-family: var(--font-heading-bn);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.35;
  letter-spacing: normal;
}
.product-body p,
.product-card-desc {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
  font-family: var(--font-body-bn);
}

.product-buy,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .65rem;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.product-buy b,
.product-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-family: var(--font-ui-bn);
}
.product-buy small,
.product-card-price small {
  color: var(--color-text-light);
  font-size: .85rem;
  font-weight: 500;
  font-family: var(--font-body-bn);
}
.product-buy button[data-add],
.product-buy button.btn-add-bag,
.product-card-footer button[data-add],
.product-card-footer button.btn-add-bag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
  color: var(--color-cream);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(184,58,27,.4);
  transform: translateZ(20px);
  cursor: pointer;
}
.product-buy button[data-add]:hover,
.product-buy button.btn-add-bag:hover,
.product-card-footer button[data-add]:hover,
.product-card-footer button.btn-add-bag:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--bg-dark);
  transform: translateZ(25px) scale(1.1);
  box-shadow: 0 8px 25px rgba(229,169,60,.5);
}
.product-buy button[data-add]:active,
.product-buy button.btn-add-bag:active,
.product-card-footer button[data-add]:active,
.product-card-footer button.btn-add-bag:active {
  transform: translateZ(15px) scale(0.95);
}

/* Heritage Section */
.story {
  padding: 5rem 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.story .site-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Testimonials */
/* Testimonials Carousel Section */
.testimonials {
  padding: 5.5rem 1.25rem;
  background: radial-gradient(circle at 50% 50%, rgba(244, 231, 206, 0.4) 0%, rgba(251, 246, 235, 0.95) 100%);
  position: relative;
}

.testimonials-carousel-container {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.testimonials-carousel-viewport {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(183, 119, 24, 0.15) inset;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 3.5rem 3rem 3rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-quote-icon {
  font-family: var(--font-heading-en);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent-light);
  margin-bottom: -1.5rem;
  user-select: none;
  opacity: 0.6;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 1.35rem;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
}

.testimonial-slide blockquote {
  font-family: var(--font-heading-bn);
  font-size: 1.35rem;
  font-style: normal;
  color: var(--color-primary-dark);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

/* Customer Uploaded Product / Sweet Photo in Testimonial */
.testimonial-product-photo-wrap {
  margin: 0.15rem 0 1.25rem;
  display: flex;
  justify-content: center;
}

.testimonial-product-photo-card {
  position: relative;
  width: 150px;
  height: 105px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--color-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  background: #24110E;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.testimonial-product-photo-card:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(139, 46, 22, 0.28);
}

.testimonial-product-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.testimonial-product-photo-card:hover img {
  transform: scale(1.08);
}

.testimonial-product-photo-pill {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(36, 17, 14, 0.92);
  color: #FFF8EA;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--color-accent);
  backdrop-filter: blur(4px);
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.testimonial-author-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 1.25rem;
  width: 100%;
  max-width: 380px;
  justify-content: center;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #FFF8EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.testimonial-author-info {
  text-align: left;
}

.quote-by {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.quote-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Carousel Navigation Arrows */
.testimonials-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-accent);
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  z-index: 10;
}

.testimonials-nav-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}

.testimonials-nav-prev {
  left: -24px;
}

.testimonials-nav-next {
  right: -24px;
}

/* Carousel Pagination Dots */
.testimonials-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.testimonials-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E3CEB2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonials-dot:hover {
  background: var(--color-accent);
}

.testimonials-dot.is-active {
  background: var(--color-primary);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .testimonials-nav-prev { left: 8px; }
  .testimonials-nav-next { right: 8px; }
  .testimonial-slide { padding: 3rem 1.75rem 2.5rem; }
  .testimonial-slide blockquote { font-size: 1.15rem; }
}

/* Subscribe Section — Premium Confectionery Folio */
.subscribe {
  padding: 5.5rem 1.25rem;
  background: linear-gradient(135deg, #24110E 0%, #37180D 50%, #1A0B09 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}

.subscribe::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(183, 119, 24, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.subscribe .site-container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.subscribe-tag {
  display: inline-block;
  font-family: var(--font-body-bn);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.subscribe h2 {
  color: #FFFDF7;
  font-size: 2.5rem;
  font-family: var(--font-heading-bn);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.subscribe p {
  color: #E2D4C5;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.subscribe-form-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.subscribe-input-group {
  display: flex;
  align-items: center;
  background: #FFFDF7;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.35rem 0.35rem 1.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(183, 119, 24, 0.2);
  transition: all var(--transition-fast);
}

.subscribe-input-group:focus-within {
  border-color: var(--color-accent-light);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(217, 155, 60, 0.4);
}

.subscribe-input-group input[type="text"],
.subscribe-input-group input[type="email"],
.subscribe-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-body-bn);
  color: #24110E;
  outline: none;
  width: 100%;
}

.subscribe-input-group input::placeholder {
  color: #8A6D5E;
  font-size: 0.95rem;
}

.subscribe-btn {
  background: linear-gradient(135deg, var(--color-primary), #5B130D);
  color: #FFF8EA;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body-bn);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(139, 46, 22, 0.4);
}

.subscribe-btn:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(139, 46, 22, 0.6);
}

.subscribe-consent {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #D1C0B3;
  cursor: pointer;
}

.subscribe-consent input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .subscribe-input-group {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .subscribe-btn {
    width: 100%;
    border-radius: var(--radius-sm);
  }
}

/* Footer */
footer {
  background: var(--color-primary-dark);
  color: #f4ede4;
  border-top: 3px solid var(--color-accent);
  padding: 4rem 5vw 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

footer h3, footer h4 {
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

footer a {
  color: #d1c0b3;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--color-accent);
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9a8883;
}

/* Slide-over Bag / Cart */
.cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100%;
  height: 100dvh;
  background: var(--color-surface);
  box-shadow: -6px 0 32px rgba(36, 17, 14, 0.22);
  z-index: 2000;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 3.5vw, 1.5rem);
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart.is-open {
  transform: translateX(0);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 14, 8, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

/* Interactive Forms — Contact, Support, Feedback */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(183, 119, 24, 0.1) inset;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.form-label-en {
  font-family: var(--font-body-en);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.form-label-bn {
  font-family: var(--font-body-bn);
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.form-req {
  color: var(--color-primary);
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: #FFFDF7;
  border: 1.5px solid var(--color-border-accent);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body-bn);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 46, 22, 0.12);
  background: #ffffff;
}

.form-file-wrap {
  background: var(--color-surface-soft);
  border: 1.5px dashed var(--color-border-accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  transition: border-color var(--transition-fast);
}

.form-file-wrap:hover {
  border-color: var(--color-primary);
}

.form-file-wrap input[type="file"] {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-surface-soft);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-main);
  cursor: pointer;
}

.form-consent-box input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent-text {
  flex: 1;
}

.form-consent-text b {
  color: var(--color-primary-dark);
}

.form-consent-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

@media (max-width: 1024px) {
  /* Header & Navigation Drawer */
  .site-header {
    padding: 0.75rem clamp(0.75rem, 3vw, 1.5rem);
    gap: 0.5rem;
  }
  .brand img {
    height: 44px;
  }
  .brand-title {
    font-size: 1.35rem;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav-head {
    display: flex;
  }
  .nav-arrow {
    display: inline;
  }
  .site-header nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: rgba(251, 246, 235, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 2px solid var(--color-border-accent);
    box-shadow: -8px 0 32px rgba(36, 17, 14, 0.25);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    gap: 0.4rem;
    z-index: 1202;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-header nav.active,
  #siteNav.active {
    transform: translateX(0) !important;
    display: flex !important;
  }
  .site-header nav a {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border-bottom: 1px solid rgba(227, 206, 178, 0.4);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
  }
  .site-header nav a:hover,
  .site-header nav a.active {
    background: rgba(139, 46, 22, 0.08);
    color: var(--color-primary);
  }
  .site-header nav a.active::after {
    display: none;
  }

  /* Hero & Story Layouts */
  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-card-media {
    min-height: 280px;
    max-height: 380px;
    order: -1;
  }
  .hero-card-body {
    padding: clamp(1.75rem, 4vw, 2.75rem);
  }
  .hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.4rem);
  }
  .story .site-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }
  .form-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-container {
    padding: 0 1rem;
  }
  .section-head h2 {
    font-size: 1.75rem;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 1.25rem;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .box-builder-layout {
    grid-template-columns: 1fr;
  }
  .volume-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 0.65rem 0.75rem;
  }
  .brand img {
    height: 38px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-title small {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .lang-btn {
    padding: 0.22rem 0.45rem;
    font-size: 0.75rem;
  }
  .cart-button {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
  .nav-toggle {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  
  .hero-card-body {
    padding: 1.35rem 1rem;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }
  .hero-verse {
    font-size: 1.05rem;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: stretch;
  }
  .hero-actions .btn-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
  }
  .hero-actions .btn-phone {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
    border: 1px solid rgba(139, 46, 22, 0.2);
    background: transparent;
  }
  .hero-trust {
    font-size: 0.78rem;
    gap: 0.45rem;
  }
  
  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-card {
    padding: 1.25rem 0.85rem;
  }
  .form-label {
    flex-direction: column;
    gap: 0.1rem;
  }
  .volume-tier-grid {
    grid-template-columns: 1fr;
  }
  .sweet-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Sweet Details Product Modal
   ========================================================================== */
/* Sweet Toast Notification */
.sweet-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--font-body-bn);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-accent);
  pointer-events: none;
}
.sweet-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 5, 4, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay:not([hidden]),
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex !important;
}

.modal-container {
  background: var(--bg-card, #24110E);
  border-radius: var(--radius-lg, 16px);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 30px 80px rgba(13, 5, 4, 0.9), 0 0 40px rgba(184, 58, 27, 0.2);
  border: 1px solid var(--line, #3D1C16);
  position: relative;
}

.modal-overlay:not([hidden]) .modal-container,
.modal-overlay.is-open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line, #3D1C16);
  background: var(--bg-card, #24110E);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  z-index: 10;
  color: var(--color-cream, #FFF8EA);
  touch-action: manipulation;
}

.modal-close:hover {
  background: var(--bg-card-hover, #2E1511);
  border-color: var(--color-gold, #E5A93C);
  color: var(--color-gold, #E5A93C);
}

.modal-media {
  position: relative;
  background: var(--bg-dark, #120604);
  border-radius: var(--radius-lg, 16px) 0 0 var(--radius-lg, 16px);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.modal-media-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-media-item {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.modal-media-item img,
.modal-media-item video {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 12px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 235, 225, 0.9);
  backdrop-filter: blur(4px);
  font-size: 1.5rem;
  color: var(--bg-dark, #120604);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast, 0.2s ease);
  box-shadow: 0 4px 15px rgba(13, 5, 4, 0.5);
  z-index: 5;
}

.modal-nav:hover {
  background: var(--color-gold, #E5A93C);
  color: var(--bg-dark, #120604);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev { left: 16px; }
.modal-next { right: 16px; }

.modal-media-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.modal-media-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 235, 225, 0.5);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast, 0.2s ease);
}

.modal-media-dots button:hover {
  background: var(--color-cream, #FFF8EA);
  transform: scale(1.2);
}

.modal-media-dots button.is-active {
  background: var(--color-gold, #E5A93C);
  box-shadow: 0 0 10px rgba(229, 169, 60, 0.6);
  transform: scale(1.3);
}

.modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-cream, #FFF8EA);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.modal-desc {
  color: var(--color-muted, #C9ABA0);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.modal-price {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold, #E5A93C);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.modal-unit {
  color: var(--color-muted, #C9ABA0);
  font-size: 1rem;
  font-weight: 400;
}

.modal-qty {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal-qty label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cream, #FFF8EA);
}

.modal-qty select,
.modal-qty input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, #3D1C16);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-dark, #120604);
  color: var(--color-cream, #FFF8EA);
  transition: all var(--transition-fast, 0.2s ease);
}

.modal-qty select:focus,
.modal-qty input:focus {
  outline: none;
  border-color: var(--color-gold, #E5A93C);
  box-shadow: 0 0 0 4px rgba(229, 169, 60, 0.15);
}

.modal-add {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .modal-container {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .modal-media {
    border-radius: var(--radius-lg, 16px) var(--radius-lg, 16px) 0 0;
    min-height: 250px;
  }
  .modal-nav {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .modal-prev { left: 12px; }
  .modal-next { right: 12px; }
  .modal-info {
    padding: 1.5rem;
  }
}

@media (max-width: 560px) {
  .modal-overlay {
    padding: 1rem;
    align-items: flex-start;
  }
  .modal-container {
    border-radius: 12px;
  }
  .modal-media {
    border-radius: 12px 12px 0 0;
  }
}

/* ==========================================================================
   Checkout Page, Order Cancellation & Data Portal Styles
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-summary-card, .checkout-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.checkout-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-border-accent);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.checkout-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 46, 22, 0.12);
}

.checkout-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.checkout-step-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.fulfilment-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .fulfilment-radio-group {
    grid-template-columns: 1fr;
  }
}

.fulfilment-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.fulfilment-radio-card:hover {
  border-color: var(--color-primary-light);
  background: #ffffff;
}

.fulfilment-radio-card input {
  margin-top: 0.2rem;
}

.cancel-policy-notice {
  background: #fff8eb;
  border: 1px solid #ffd591;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   GROWTH & UPSCALING FEATURES STYLING
   ========================================================================== */

/* Dietary & Sweetness Filter Bar */
.dietary-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  margin-bottom: 1.75rem;
  scrollbar-width: thin;
}

.dietary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dietary-pill:hover,
.dietary-pill.is-active {
  background: var(--color-primary);
  color: #FFF8EA;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(139, 46, 22, 0.25);
}

.sweet-dietary-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
  align-items: center;
}

.sweet-tag-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: #FFF9F0;
  color: #8B2E16;
  border: 1px solid #E3CEB2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(139, 46, 22, 0.05);
  transition: all 0.2s ease;
}

.sweet-tag-pill:hover {
  border-color: #8B2E16;
  background: #FFF2DF;
}

.sweetness-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: #d97706;
  font-weight: 700;
}

/* Box Builder Styling */
.box-builder-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .box-builder-layout {
    grid-template-columns: 1fr;
  }
}

.box-size-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.box-size-card {
  padding: 1rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.box-size-card:hover,
.box-size-card.is-selected {
  border-color: var(--color-primary);
  background: #FFF8EA;
  box-shadow: var(--shadow-sm);
}

.box-preview-container {
  background: linear-gradient(135deg, #FFFDF9, #F7EFE4);
  border: 2px dashed #D2A878;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.box-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.box-slot-item {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  font-size: 0.75rem;
  text-align: center;
  position: relative;
}

.box-slot-item.is-empty {
  border-style: dashed;
  color: #a89f91;
  background: rgba(255, 255, 255, 0.6);
}

.box-slot-item img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 0.2rem;
}

.box-slot-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #b71c1c;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.builder-sweet-list {
  max-height: 480px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-right: 0.4rem;
}

@media (max-width: 540px) {
  .builder-sweet-list {
    grid-template-columns: 1fr;
  }
}

.builder-sweet-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.builder-sweet-card img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

/* Wedding Tatta (বিবাহের তত্ত্ব) Styling */
.wedding-tatta-hero {
  background: linear-gradient(135deg, #5B130D, #8B2E16);
  color: #FFF8EA;
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(91, 19, 13, 0.35);
  margin-bottom: 3.5rem;
  border: 2px solid #E5A93C;
}

.tatta-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.tatta-card {
  background: var(--color-surface);
  border: 1.5px solid #E3CEB2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tatta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 46, 22, 0.15);
  border-color: #8B2E16;
}

.tatta-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tatta-card-body {
  padding: 1.5rem;
}

.tatta-ornament-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFF8EA;
  color: #8B2E16;
  border: 1px solid #E3CEB2;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* Live Order Tracker */
.order-tracker-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2.5rem 0 3rem;
}

.order-tracker-timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: #E3CEB2;
  z-index: 1;
}

.tracker-progress-bar {
  position: absolute;
  top: 22px;
  left: 20px;
  height: 4px;
  background: #2b8a3e;
  z-index: 2;
  transition: width 0.6s ease;
}

.milestone-node {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 110px;
}

.milestone-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #E3CEB2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.milestone-node.is-completed .milestone-icon-wrap {
  background: #2b8a3e;
  border-color: #2b8a3e;
  color: #ffffff;
}

.milestone-node.is-active .milestone-icon-wrap {
  background: #8B2E16;
  border-color: #E5A93C;
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(229, 169, 60, 0.3);
  animation: pulseNode 1.8s infinite;
}

@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(229, 169, 60, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(229, 169, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 169, 60, 0); }
}

.milestone-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

/* Google Reviews Carousel */
.google-carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 14px;
  padding: 0.35rem 0;
}

.google-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  gap: 1.25rem;
}

.google-carousel-slide {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
  display: flex;
  box-sizing: border-box;
}

.google-review-card {
  width: 100%;
  height: 260px;
  min-height: 260px;
  max-height: 260px;
  background: #FFFFFF;
  border: 1.5px solid #E3CEB2;
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 14px rgba(36, 17, 14, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-sizing: border-box;
  position: relative;
}

.google-review-card:hover {
  transform: translateY(-3px);
  border-color: #D4B283;
  box-shadow: 0 10px 24px rgba(139, 46, 22, 0.1);
}

.google-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.google-star-row {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  line-height: 1;
}

.google-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #5F6368;
  font-weight: 600;
  background: #F8F9FA;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
}

.google-review-body {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.google-review-text {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.google-reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px dashed #E3CEB2;
  padding-top: 0.75rem;
  flex-shrink: 0;
}

.google-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF8EA;
  border: 1.5px solid #E3CEB2;
  color: #8B2E16;
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
  padding: 0;
  touch-action: manipulation;
}

.google-nav-btn:hover {
  background: #8B2E16;
  color: #ffffff;
  border-color: #8B2E16;
  transform: scale(1.08);
}

.google-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.google-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E3CEB2;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.google-dot:hover {
  background: var(--color-accent);
}

.google-dot.is-active {
  background: #8B2E16;
  transform: scale(1.1);
  width: 22px;
  border-radius: 10px;
}

@media (max-width: 960px) {
  .google-carousel-slide {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 640px) {
  .google-carousel-slide {
    flex: 0 0 100%;
  }
}

/* Bulk Discount Tier Grid */
.volume-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.volume-tier-card {
  background: #ffffff;
  border: 1.5px solid #E3CEB2;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.volume-tier-card.is-popular {
  border-color: #8B2E16;
  background: #FFF8EA;
}

/* ==========================================================================
   Master Viewport, Zoom & High-DPI Responsiveness Safeguards
   ========================================================================== */

/* 1. Global Horizontal Overflow Prevention on Zoom / Resize */
html, body {
  max-width: 100vw;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 2. Responsive Modals & Popups for High Zoom / Mobile / Tablet */
.ongoing-activity-modal-backdrop {
  padding: clamp(0.5rem, 2vw, 1.5rem) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

#ongoingActivityModal > div,
#trackOrderModal > div,
#trackSubModal > div,
#trackBulkModal > div,
#trackTattaModal > div,
#cancelOrderModal > div,
#orderStatusManageModal > div {
  max-height: min(92vh, 100dvh - 1.5rem) !important;
  width: min(860px, 95vw) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  margin: auto !important;
  box-sizing: border-box;
}

/* 3. Fluid Tables & Horizontal Scroll Touch Targets */
.table-wrap {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* 4. Touch Targets & Minimum Hit Area */
@media (hover: none) and (pointer: coarse) {
  button, 
  .btn, 
  .btn-cta, 
  .btn-phone, 
  .btn-outline, 
  .btn-add-bag, 
  .cart-button, 
  .lang-btn, 
  .nav-toggle, 
  .site-header nav a,
  .hero-page-btn,
  .google-nav-btn,
  .modal-close,
  .btn-close-nav,
  .star-btn,
  .seo-faq-question {
    min-height: 44px;
    touch-action: manipulation;
  }
}

/* 5. Safe Area Inset Support (Notch & Home Bar on iOS/Android) */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
    padding-top: max(0.85rem, env(safe-area-inset-top));
  }
  .cart-drawer, .site-header nav {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

/* 6. Landscape Orientation & Short-Height Viewports (e.g. phones in landscape) */
@media (max-height: 540px) {
  .site-header {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .site-header nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0.2rem;
  }
  .site-header nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
  }
  .admin-modal,
  #ongoingActivityModal > div,
  #trackOrderModal > div,
  #trackSubModal > div,
  #trackBulkModal > div,
  #trackTattaModal > div,
  #cancelOrderModal > div,
  #orderStatusManageModal > div {
    max-height: 96dvh !important;
  }
}

/* ==========================================================================
   SEO FAQ Accordion & Viral Marketing WhatsApp Widgets
   ========================================================================== */
.seo-faq-section {
  padding: 3rem 1.25rem 4.5rem;
}

.seo-faq-card {
  background: #FFFDF9;
  border: 1px solid #EFE2CF;
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 20px rgba(91, 19, 13, 0.04);
  max-width: 920px;
  margin: 0 auto;
}

.seo-faq-header {
  text-align: center;
  margin-bottom: 2rem;
}

.seo-faq-header h2 {
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  color: #24110E;
  margin: 0.35rem 0 0.5rem;
  font-weight: 700;
}

.seo-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seo-faq-item {
  background: #ffffff;
  border: 1px solid #EBE0D2;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.seo-faq-item:hover {
  border-color: #C27D19;
}

.seo-faq-item.is-active {
  border-color: #8B2E16;
  box-shadow: 0 2px 12px rgba(139, 46, 22, 0.06);
}

.seo-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #2D140D;
  cursor: pointer;
  min-height: 48px;
  transition: color var(--transition-fast);
}

.seo-faq-question:hover {
  color: #8B2E16;
}

.seo-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FBF4EA;
  color: #8B2E16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.seo-faq-item.is-active .seo-faq-icon {
  transform: rotate(45deg);
  background: #8B2E16;
  color: #ffffff;
}

.seo-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  color: #5B483C;
  font-size: 0.93rem;
  line-height: 1.65;
}

.seo-faq-item.is-active .seo-faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.15rem;
  border-top: 1px dashed #EFE2CF;
}

/* Viral WhatsApp Share Card */
.viral-share-card {
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: #ffffff;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 2.25rem auto 0;
  max-width: 920px;
  box-sizing: border-box;
}

.viral-share-content {
  flex: 1 1 360px;
}

.viral-share-content h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-weight: 700;
}

.viral-share-content p {
  margin: 0;
  color: #E2F7F2;
  font-size: 0.9rem;
  line-height: 1.5;
}

.viral-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.viral-share-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  min-height: 44px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.viral-share-btn-wa:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.viral-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.viral-copy-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

/* Floating WhatsApp Direct Order Widget */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1900;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-wa-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .floating-wa-btn {
    bottom: 18px;
    right: 18px;
    padding: 0.65rem 0.95rem;
    font-size: 0.82rem;
  }
}

/* Checkout Gift Box Dropdown Breakdown & Edit Button */
.btn-box-dropdown-toggle {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-box-dropdown-toggle:hover {
  background: #ffe7ba !important;
  color: #612500 !important;
  border-color: #ffd591 !important;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.15);
}

.btn-box-edit {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-box-edit:hover {
  background: #8B2E16 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(139, 46, 22, 0.25);
  transform: translateY(-1px);
}

.box-breakdown-card {
  animation: boxDropdownSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes boxDropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
