/*
Theme Name: SomShree Masale
Theme URI: https://somshreemasale.com/
Author: SomShree Brand Studio
Author URI: https://somshreemasale.com/
Description: Premium, mobile-first WordPress theme for SomShree Masale — Authentic Indian Spices from Dehradun, Uttarakhand.
Version: 1.0.0
Text Domain: somshree
*/

/* ==========================================================================
   Design Tokens & CSS Variables
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-masala-red: #A81B1B;
  --color-masala-red-dark: #7A1111;
  --color-masala-red-light: #C92A2A;
  --color-warm-cream: #FDFBF7;
  --color-cream-card: #F6F1E9;
  --color-muted-gold: #D4AF37;
  --color-gold-hover: #B89320;
  --color-terracotta: #C65D3E;
  --color-dark-brown: #3A2A1A;
  --color-charcoal: #222222;
  --color-text-muted: #5A524C;
  --color-border: #E5DEC9;
  --color-border-light: #F0EAD8;
  --color-white: #FFFFFF;
  --color-amazon: #FF9900;
  --color-amazon-hover: #E68A00;
  --color-flipkart: #2874F0;
  --color-flipkart-hover: #1A5CC8;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE57;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Mukta', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(58, 42, 26, 0.06);
  --shadow-md: 0 6px 20px rgba(58, 42, 26, 0.09);
  --shadow-lg: 0 12px 32px rgba(58, 42, 26, 0.14);

  /* Container */
  --container-max: 1240px;
  --header-height: 80px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-warm-cream);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--color-masala-red);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark-brown);
  line-height: 1.25;
  font-weight: 700;
}

.hindi-text {
  font-family: var(--font-hindi);
  font-weight: 600;
  color: var(--color-terracotta);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.section-sm {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--color-dark-brown);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-masala-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(168, 27, 27, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-masala-red-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 27, 27, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark-brown);
  border-color: var(--color-muted-gold);
}

.btn-secondary:hover {
  background-color: var(--color-muted-gold);
  color: var(--color-dark-brown);
  transform: translateY(-2px);
}

.btn-amazon {
  background-color: var(--color-amazon);
  color: #111;
  font-weight: 700;
}

.btn-amazon:hover {
  background-color: var(--color-amazon-hover);
  color: #000;
  transform: translateY(-2px);
}

.btn-flipkart {
  background-color: var(--color-flipkart);
  color: var(--color-white);
  font-weight: 700;
}

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

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  color: var(--color-white);
}

.btn-disabled, .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Header & Announcement Bar
   ========================================================================== */
.announcement-bar {
  background-color: var(--color-masala-red-dark);
  color: var(--color-warm-cream);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announcement-bar strong {
  color: var(--color-muted-gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.logo-badge {
  background: var(--color-masala-red);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-muted-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-masala-red);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-dark-brown);
  font-weight: 600;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  padding: 0.5rem 0;
  position: relative;
}

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

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

.header-cta {
  display: none;
}

@media (min-width: 992px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-dark-brown);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-warm-cream);
  z-index: 1050;
  padding: 4.5rem 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1040;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  display: block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(250, 245, 238, 0.92) 0%, rgba(245, 236, 223, 0.94) 100%), url('assets/images/spices-blur-bg-light.svg');
  background-size: cover;
  background-position: center;
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 27, 27, 0.08);
  border: 1px solid rgba(168, 27, 27, 0.2);
  color: var(--color-masala-red);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark-brown);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.25rem;
  }
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

/* Multi-Packet Hero Showcase */
.hero-packets-showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.packet-card {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  border: 3px solid #FFFFFF;
  background: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.packet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.packet-main {
  width: 240px;
  height: 320px;
  z-index: 3;
  transform: translateY(0) scale(1.05);
  box-shadow: 0 18px 40px rgba(168, 27, 27, 0.22);
}

.packet-left {
  width: 200px;
  height: 270px;
  z-index: 2;
  left: 10px;
  transform: rotate(-8deg) translateY(15px);
  opacity: 0.95;
}

.packet-right {
  width: 200px;
  height: 270px;
  z-index: 2;
  right: 10px;
  transform: rotate(8deg) translateY(15px);
  opacity: 0.95;
}

.hero-packets-showcase:hover .packet-main {
  transform: translateY(-8px) scale(1.08);
}

.hero-packets-showcase:hover .packet-left {
  transform: rotate(-12deg) translateY(5px) translateX(-10px);
}

.hero-packets-showcase:hover .packet-right {
  transform: rotate(12deg) translateY(5px) translateX(10px);
}

.packet-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(36, 8, 8, 0.82);
  color: var(--color-muted-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   Mobile-Specific Hero Adjustments (< 768px)
   Hide left-side text, show packet image showcase top, buttons underneath
   ========================================================================== */
@media (max-width: 767px) {
  .hero-content {
    display: none !important;
  }

  .hero-section {
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
  }

  .desktop-only-cta {
    display: none !important;
  }

  .mobile-only-cta {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .mobile-only-cta .btn {
    flex: 1;
    max-width: 180px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.88rem;
  }

  .hero-packets-showcase {
    height: 310px;
    max-width: 340px;
  }

  .packet-main {
    width: 165px;
    height: 220px;
  }

  .packet-left {
    width: 135px;
    height: 180px;
    left: 5px;
    transform: rotate(-6deg) translateY(10px);
  }

  .packet-right {
    width: 135px;
    height: 180px;
    right: 5px;
    transform: rotate(6deg) translateY(10px);
  }

  .packet-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
    bottom: 6px;
  }
}

@media (min-width: 768px) {
  .mobile-only-cta {
    display: none !important;
  }
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Trust Badges Section
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.trust-card {
  background: var(--color-cream-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: var(--color-masala-red);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.trust-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-dark-brown);
}

.trust-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.08);
}

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

.category-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.category-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-brown);
}

.category-desc {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   Product Cards Grid & Gallery Grid
   ========================================================================== */
.products-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .products-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .products-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

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

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

.product-thumb {
  position: relative;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background: #FDFDFD;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}

.product-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.4s ease;
}

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

.product-veg-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border: 2px solid #0F8A10;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.product-veg-icon::after {
  content: '';
  width: 9px;
  height: 9px;
  background: #0F8A10;
  border-radius: 50%;
}

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

.product-cat-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-terracotta);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  margin-bottom: 0.2rem;
}

.product-hindi-name {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.product-short-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-pack-size {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--color-cream-card);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-dark-brown);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark-brown);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--color-masala-red);
  color: var(--color-white);
  border-color: var(--color-masala-red);
}

/* Horizontal scrolling filter tabs on Mobile & Tablet (< 992px) */
@media (max-width: 991px) {
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.25rem 0.25rem 0.75rem 0.25rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .filter-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.88rem;
    padding: 0.5rem 1.15rem;
  }
}

/* ==========================================================================
   Single Product Detail Page
   ========================================================================== */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-dark-brown);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--color-masala-red);
}

.product-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .product-single-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-gallery-main {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.product-gallery-main img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.thumb-item {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-white);
}

.thumb-item.active {
  border-color: var(--color-masala-red);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-title {
  font-size: 2.25rem;
  color: var(--color-dark-brown);
  margin-bottom: 0.25rem;
}

.product-info-hindi {
  font-family: var(--font-hindi);
  font-size: 1.35rem;
  color: var(--color-terracotta);
  margin-bottom: 1.25rem;
}

.marketplace-buttons-wrap {
  background: var(--color-cream-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.marketplace-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-dark-brown);
  margin-bottom: 1rem;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
}

.specs-accordion {
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.25rem;
  max-height: 500px;
}

/* ==========================================================================
   Brand Story & Marketplace Sections
   ========================================================================== */
.brand-story-section {
  background: linear-gradient(180deg, rgba(58, 13, 13, 0.88) 0%, rgba(36, 8, 8, 0.92) 100%), url('assets/images/spices-blur-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--color-warm-cream);
  position: relative;
}

.brand-story-section h2, .brand-story-section h3 {
  color: var(--color-warm-cream);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .brand-story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.brand-story-content p {
  color: var(--color-border-light);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.marketplace-banner {
  background: linear-gradient(135deg, rgba(253, 251, 247, 0.94) 0%, rgba(245, 236, 223, 0.96) 100%), url('assets/images/spices-blur-bg-light.svg');
  background-size: cover;
  background-position: center;
  border: 2px dashed var(--color-muted-gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

/* ==========================================================================
   Contact Form Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
  }
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(168, 27, 27, 0.1);
  color: var(--color-masala-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.info-text p, .info-text a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-brown);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-warm-cream);
  color: var(--color-charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-masala-red);
  box-shadow: 0 0 0 3px rgba(168, 27, 27, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 0.25rem;
}

/* Honeypot field - visually hidden */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-alert.success {
  background: #E6F4EA;
  color: #137333;
  border: 1px solid #CEEAD6;
  display: block;
}

.form-alert.error {
  background: #FCE8E6;
  color: #C5221F;
  border: 1px solid #FAD2CF;
  display: block;
}

/* ==========================================================================
   Mobile Sticky Bottom Action Bar
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

.sticky-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-dark-brown);
  text-decoration: none;
  flex: 1;
  height: 100%;
  border-right: 1px solid var(--color-border-light);
}

.sticky-action-btn:last-child {
  border-right: none;
}

.sticky-action-btn svg {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

.sticky-action-btn.shop-btn {
  background: var(--color-masala-red);
  color: var(--color-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-dark-brown);
  color: var(--color-cream-card);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-top: 4px solid var(--color-muted-gold);
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-title {
  color: var(--color-muted-gold);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-border-light);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-muted-gold);
}

.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-sub {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

/* Skeleton Loading Animation */
.skeleton-box {
  background-color: var(--color-warm-cream);
  background-image: linear-gradient(90deg, var(--color-warm-cream) 0px, #EBE3D3 40px, var(--color-warm-cream) 80px);
  background-size: 600px;
  animation: skeletonShimmer 1.6s infinite linear;
}

@keyframes skeletonShimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 400px 0; }
}

/* ==========================================================================
   Blurred Spice Banners Design System
   ========================================================================== */
.banner-spice-bg {
  position: relative;
  background-image: url('assets/images/spices-blur-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-warm-cream);
  overflow: hidden;
  border-bottom: 2px solid var(--color-muted-gold);
}

.banner-spice-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(36, 8, 8, 0.45) 0%, rgba(58, 13, 13, 0.65) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.banner-spice-bg .container {
  position: relative;
  z-index: 2;
}

.banner-spice-bg .section-subtitle {
  color: var(--color-muted-gold);
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-spice-bg .section-title,
.banner-spice-bg h1,
.banner-spice-bg h2 {
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.banner-spice-bg .section-desc,
.banner-spice-bg p {
  color: var(--color-border-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Light Variant Blurred Spice Banner */
.banner-spice-bg-light {
  position: relative;
  background-image: url('assets/images/spices-blur-bg-light.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-dark-brown);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}

.banner-spice-bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 251, 247, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
}

.banner-spice-bg-light .container {
  position: relative;
  z-index: 2;
}


