/* ==========================================================================
   SindhiSnacks.online - Desert Kitchen Editorial Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root CSS Variables & Tokens
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Playfair+Display:ital,wght@0,600..800;1,400..600&display=swap');

:root {
  /* Brand Palette */
  --primary: #C45C26;
  --primary-dark: #A04A1F;
  --secondary: #5C3317;
  --accent: #E8A04A;
  --bg: #FFF8F0;
  --bg-soft: #FFF1E0;
  --text-dark: #3D2B1F;
  --text-muted: #6B4E31;
  --white: #FFFFFF;
  --sand: #F6E1C6;
  --line: rgba(92, 51, 23, 0.16);

  /* Status */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Geometry & Elevation */
  --card-radius: 12px;
  --button-radius: 50px;
  --shadow-soft: 0 18px 45px rgba(91, 47, 16, 0.10);
  --shadow-card: 0 9px 26px rgba(87, 47, 22, 0.08);
  --shadow-hover: 0 16px 36px rgba(160, 74, 31, 0.16);

  /* Typography */
  --serif: 'Playfair Display', Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --touch-min: 44px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styling
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--secondary);
  line-height: 1.2;
  font-weight: 700;
  word-wrap: break-word;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--primary);
  font-family: var(--serif);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--secondary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Touch Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--touch-min);
  padding: 0.85rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  border: 2px solid transparent;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  color: var(--white);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(196, 92, 38, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(160, 74, 31, 0.35);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-cream {
  background-color: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.btn-cream:hover {
  background-color: var(--bg-soft);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 52px;
  padding: 1rem 2.2rem;
  font-size: 1.08rem;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Sticky & Editorial Blur)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(92, 51, 23, 0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(196, 92, 38, 0.2);
}

.brand-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.3px;
}

.brand-text span {
  color: var(--primary);
}

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

.nav-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background-color: var(--secondary);
  border-radius: 3px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   5. Hero Section (Desert Kitchen Editorial Layout)
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
  color: var(--secondary);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-subhead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--sand);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
}

/* Organic Arch Crop for Desert Editorial feel */
.hero-image-wrapper {
  position: relative;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
  outline: 2px solid var(--primary);
  outline-offset: -10px;
  transition: transform 0.4s var(--ease-out);
}

.hero-image-wrapper:hover {
  transform: scale(1.015);
}

.hero-main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.8rem 1.4rem;
  border-radius: var(--button-radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.badge-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.1rem;
}

.badge-text-title {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.9rem;
}

.badge-text-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. Product Shelf (Curated Family-Kitchen Shelf)
   -------------------------------------------------------------------------- */
.products-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background-color: var(--bg);
}

.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1.2rem 0.8rem 2.8rem;
  border-radius: var(--button-radius);
  border: 1px solid var(--line);
  background-color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  box-shadow: 0 4px 12px rgba(92, 51, 23, 0.04);
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  min-height: 42px;
  padding: 0.5rem 1.2rem;
  border-radius: var(--button-radius);
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.filter-tab.active, .filter-tab:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Product Shelf Grid Layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Featured Card Rhythm: First item spans 2 cols or wide visual highlight on desktop */
.product-card.featured-item {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background-color: #FFFDF9;
  border: 2px solid var(--sand);
}

.product-card.featured-item .product-img-box {
  height: 100%;
  min-height: 300px;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.product-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-soft);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: var(--sand);
  padding: 0.3rem 0.85rem;
  border-radius: var(--button-radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  color: var(--secondary);
}

.product-sub-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.price-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--serif);
}

.price-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.weight-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  background-color: var(--bg-soft);
  padding: 0.3rem;
  border-radius: var(--button-radius);
}

.weight-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 0.5rem;
}

.weight-options {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.weight-btn {
  flex: 1;
  min-height: 36px;
  padding: 0.3rem 0.4rem;
  border: none;
  background: transparent;
  border-radius: var(--button-radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.weight-btn.active {
  background-color: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(92, 51, 23, 0.08);
}

.product-card .btn-whatsapp {
  width: 100%;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   7. Custom Order Mix Builder
   -------------------------------------------------------------------------- */
.mix-builder-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #3B200E 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.mix-builder-section .section-title {
  color: var(--white);
}

.mix-builder-section .section-subtitle {
  color: var(--sand);
}

.mix-builder-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mix-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.mix-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--card-radius);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.mix-item-info {
  flex: 1;
  min-width: 0;
}

.mix-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
}

.mix-item-price {
  font-size: 0.82rem;
  color: var(--accent);
}

.mix-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.25rem 0.5rem;
  border-radius: var(--button-radius);
  flex-shrink: 0;
}

.mix-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  touch-action: manipulation;
}

.mix-qty-btn:hover {
  background: var(--primary);
}

.mix-qty-val {
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 36px;
  text-align: center;
}

.mix-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
  gap: 1.2rem;
}

.mix-total-info {
  display: flex;
  gap: 2rem;
}

.mix-total-block {
  display: flex;
  flex-direction: column;
}

.mix-total-label {
  font-size: 0.82rem;
  color: var(--sand);
}

.mix-total-value {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  font-family: var(--serif);
}

/* --------------------------------------------------------------------------
   8. Values Section (The good things are made slowly)
   -------------------------------------------------------------------------- */
.values-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: var(--secondary);
  color: var(--white);
  position: relative;
}

.values-section .section-title {
  color: var(--white);
}

.values-section .section-subtitle {
  color: var(--sand);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 1.2rem;
  border-radius: var(--card-radius);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  background: rgba(232, 160, 74, 0.15);
  color: var(--accent);
  border: 1px solid rgba(232, 160, 74, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--sand);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Emotional Story Section (Taste that takes you back home)
   -------------------------------------------------------------------------- */
.emotional-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: var(--bg);
  position: relative;
}

.emotional-card {
  background: var(--bg-soft);
  border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.emotional-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--secondary);
  margin-bottom: 1.2rem;
}

.emotional-text {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.emotional-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-family: var(--serif);
  margin: 1.5rem 0;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.98rem;
  transition: gap 0.2s ease;
}

.story-link:hover {
  gap: 0.8rem;
  color: var(--primary-dark);
}

.emotional-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.emotional-img-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 180px;
}

.emotional-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. Final WhatsApp CTA (Full-width Terracotta with Sun Motif Background)
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Low-opacity Terracotta Sun Orbit Motif */
.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-section h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.8vw, 3rem);
  margin-bottom: 1rem;
}

.final-cta-section p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--sand);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.final-cta-btn-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
}

.note-small {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   11. Footer Section
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--secondary);
  color: var(--sand);
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-text {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  font-family: var(--sans);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: var(--sand);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   12. Floating WhatsApp Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s var(--ease-out), background-color 0.2s ease;
  cursor: pointer;
  touch-action: manipulation;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-dark);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   13. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .product-card.featured-item {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }

  .product-card.featured-item .product-img-box {
    height: 240px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.8rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(92, 51, 23, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
    z-index: 999;
    border-bottom: 3px solid var(--primary);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bg-soft);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .products-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .emotional-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .emotional-quote {
    border-left: none;
    border-top: 3px solid var(--primary);
    padding-left: 0;
    padding-top: 1rem;
  }

  .mix-summary-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .mix-total-info {
    justify-content: space-around;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}
