/* ========================================================
   MASALA MANDIR - INDIAN TRADITIONAL SPICES THEME
   Aesthetics: Royal Indian Heritage, Saffron Gold, 
   Terracotta Chili, Cardamom Forest Green & Warm Parchment
   ======================================================== */

:root {
  /* Indian Masala Color Palette Tokens */
  --masala-deep-maroon: #2e050a;
  --masala-royal-maroon: #4a0e17;
  --masala-chili-red: #b91c1c;
  --masala-chili-bright: #dc2626;
  --masala-terracotta: #c2410c;
  --masala-saffron-gold: #d97706;
  --masala-turmeric: #f59e0b;
  --masala-gold-light: #fef3c7;
  --masala-cardamom-green: #15803d;
  --masala-cardamom-dark: #14532d;
  --masala-parchment: #fdfbf7;
  --masala-cream: #faf5eb;
  --masala-dark: #1c1917;
  --masala-border: rgba(217, 119, 6, 0.22);
  --masala-shadow: 0 10px 25px -5px rgba(120, 53, 15, 0.10), 0 8px 10px -6px rgba(120, 53, 15, 0.06);
  --masala-shadow-hover: 0 20px 30px -8px rgba(120, 53, 15, 0.20), 0 10px 15px -4px rgba(185, 28, 28, 0.12);
  --masala-radius: 14px;

  /* Bootstrap 5 Core Overrides - Eliminates Ocean Blue Everywhere */
  --bs-primary: #b91c1c;
  --bs-primary-rgb: 185, 28, 28;
  --bs-primary-bg-subtle: #fee2e2;
  --bs-primary-border-subtle: #fca5a5;
  --bs-primary-text-emphasis: #7f1d1d;
  --bs-link-color: #c2410c;
  --bs-link-color-rgb: 194, 65, 12;
  --bs-link-hover-color: #991b1b;
  --bs-link-hover-color-rgb: 153, 27, 27;
  --bs-info: #d97706;
  --bs-info-rgb: 217, 119, 6;
  --bs-info-bg-subtle: #fef3c7;
  --bs-info-border-subtle: #fde68a;
  --bs-info-text-emphasis: #78350f;
  --bs-focus-ring-color: rgba(217, 119, 6, 0.25);
  --bs-border-color: rgba(217, 119, 6, 0.2);
  --bs-border-color-translucent: rgba(217, 119, 6, 0.15);
}

/* Global Reset & Base */
body.masala-theme, body {
  background-color: var(--masala-parchment);
  color: #3f3f46;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  background-image: radial-gradient(rgba(217, 119, 6, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

h1, h2, h3, h4, h5, h6, 
.heritage-heading, .heritage-main-title, .product-title, .newsletter-title {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  color: var(--masala-deep-maroon);
  font-weight: 700;
  letter-spacing: 0.5px;
}

a {
  color: var(--masala-terracotta);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--masala-chili-bright);
}

/* Full Width Container Enhancements */
.container-fluid {
  max-width: 1720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  .container-fluid.px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}

/* Container & Layout */
#container {
  width: 100%;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

#content, #column-left, #column-right {
  padding-bottom: 40px;
}

/* 1. Top Announcement Bar */
.masala-announcement-bar {
  background: linear-gradient(90deg, #260307 0%, #4a0e17 50%, #260307 100%);
  color: #fef08a;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.announcement-badge {
  background: linear-gradient(135deg, #15803d, #166534);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 8px;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.4);
}

.announcement-text {
  font-weight: 500;
}

.helpline-link {
  color: #fde68a;
  font-size: 12px;
  font-weight: 500;
}

/* 2. Top Nav */
#top {
  background-color: #fff;
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
  padding: 6px 0;
  margin-bottom: 0;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > span {
  font-size: 12.5px;
  color: #52525b;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

#top .list-inline-item > a:hover,
#top .list-inline-item .dropdown > span:hover {
  color: var(--masala-terracotta);
  background-color: var(--masala-cream);
}

#top .dropdown-menu {
  border: 1px solid var(--masala-border);
  border-radius: 12px;
  box-shadow: var(--masala-shadow);
  padding: 8px;
}

#top .dropdown-item {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

#top .dropdown-item:hover {
  background-color: var(--masala-cream);
  color: var(--masala-chili-red);
}

/* 3. Main Header */
.masala-main-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  box-shadow: 0 4px 15px rgba(120, 53, 15, 0.04);
}

.masala-brand-wrapper {
  margin: 4px 0;
}

.masala-logo-img {
  max-height: 78px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(120, 53, 15, 0.2));
  transition: transform 0.3s ease;
}

.masala-logo-img:hover {
  transform: scale(1.04);
}

.brand-text-group {
  vertical-align: middle;
}

.brand-name-main {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 1.5px;
  color: var(--masala-deep-maroon);
}

.brand-name-sub {
  color: var(--masala-saffron-gold);
}

.brand-tagline-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--masala-terracotta);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Homepage Carousel Banners */
.carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(74, 14, 23, 0.15);
  margin-bottom: 30px;
}

.carousel-inner .carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--masala-royal-maroon);
  margin: 0 5px;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--masala-turmeric);
  transform: scale(1.25);
  border-color: #fff;
}

.carousel-control-prev, .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: rgba(74, 14, 23, 0.75);
  backdrop-filter: blur(4px);
  margin: 0 15px;
  opacity: 0.85;
  transition: all 0.3s;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  background-color: var(--masala-chili-bright);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Search Bar */
.masala-search-wrapper {
  position: relative;
}

.masala-search-group {
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 119, 6, 0.3);
  transition: all 0.3s;
}

.masala-search-group:focus-within {
  border-color: var(--masala-turmeric);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.masala-search-input {
  border: none !important;
  font-size: 13.5px;
  height: 46px;
  background-color: #fff;
}

.masala-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.badge-spice-tag {
  background: var(--masala-cream);
  color: #78350f;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 12px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: all 0.2s;
}

.badge-spice-tag:hover {
  background: var(--masala-turmeric);
  color: #fff;
  border-color: var(--masala-turmeric);
}

.trending-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #713f12;
}

/* Cart Button in Header */
.btn-masala-cart {
  background: linear-gradient(135deg, #4a0e17 0%, #78350f 100%);
  color: #fff !important;
  border: 1.5px solid var(--masala-turmeric);
  border-radius: 28px;
  height: 48px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(120, 53, 15, 0.2);
  transition: all 0.3s;
}

.btn-masala-cart:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.3);
  transform: translateY(-1px);
}

.masala-cart-dropdown {
  min-width: 350px;
  border-radius: 16px;
  border: 1px solid var(--masala-border);
  box-shadow: var(--masala-shadow-hover);
}

/* 4. Full-Width Navigation Menu */
#menu {
  background: linear-gradient(90deg, #38060c 0%, #5c1815 50%, #38060c 100%) !important;
  border-bottom: 3.5px solid var(--masala-turmeric);
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(46, 5, 10, 0.25);
  padding: 0;
  margin-bottom: 25px;
}

#menu .navbar-nav > li > a {
  color: #fef3c7 !important;
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 14px 18px;
  transition: all 0.25s ease;
  position: relative;
}

#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li.show > a {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #ffffff !important;
}

#menu .navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--masala-turmeric);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#menu .navbar-nav > li > a:hover::after {
  width: 80%;
}

#menu .dropdown-menu {
  background-color: #fffdf9;
  border: 1.5px solid var(--masala-border);
  border-top: 3px solid var(--masala-turmeric);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--masala-shadow-hover);
  padding: 10px 0;
}

#menu .dropdown-item {
  color: #44403c;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 20px;
  transition: all 0.2s;
}

#menu .dropdown-item:hover {
  background-color: var(--masala-cream);
  color: var(--masala-chili-red);
  padding-left: 24px;
}

#category {
  color: #fef08a;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 15px;
}

/* 5. Complete Button Overrides (Zero Ocean Blue) */
.btn-primary, 
a.btn-primary, 
button.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%) !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 25px;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #991b1b 0%, #b45309 100%) !important;
  border-color: #991b1b !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.35);
  transform: translateY(-2px);
}

.btn-masala-primary {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 25px;
  padding: 9px 20px;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-masala-primary:hover {
  background: linear-gradient(135deg, #991b1b 0%, #b45309 100%);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.35);
  transform: translateY(-2px);
}

.btn-masala-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #2e050a !important;
  border: 1px solid #fef08a;
  font-weight: 800;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
  transition: all 0.25s;
}

.btn-masala-gold:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-outline-masala-gold {
  background: #fff;
  border: 1.5px solid var(--masala-border);
  color: var(--masala-saffron-gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-outline-masala-gold:hover {
  background: var(--masala-cream);
  border-color: var(--masala-turmeric);
  color: var(--masala-chili-red);
  transform: scale(1.08);
}

/* 6. Category-Wise View (Left Column, Filter & Grid) */
.list-group {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--masala-border) !important;
  box-shadow: var(--masala-shadow);
  background: #ffffff;
}

.list-group-item {
  background-color: #ffffff;
  border-color: rgba(217, 119, 6, 0.12) !important;
  color: #44403c;
  font-weight: 600;
  padding: 12px 18px;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background-color: var(--masala-cream);
  color: var(--masala-chili-bright);
  padding-left: 22px;
}

/* Category Active Item - Eliminates Ocean Blue */
.list-group-item.active {
  background: linear-gradient(135deg, #4a0e17 0%, #78350f 100%) !important;
  border-color: var(--masala-turmeric) !important;
  color: #fef3c7 !important;
  font-weight: 700;
  border-left: 5px solid var(--masala-turmeric) !important;
  box-shadow: 0 4px 12px rgba(74, 14, 23, 0.25);
}

/* Compare Total Button in Category */
#compare-total {
  background: linear-gradient(135deg, #4a0e17 0%, #78350f 100%) !important;
  border: 1px solid var(--masala-turmeric) !important;
  color: #fef3c7 !important;
  border-radius: 25px;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: 0 4px 10px rgba(120, 53, 15, 0.15);
}

#compare-total:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%) !important;
  color: #fff !important;
}

/* Grid / List View Toggle Buttons */
#button-list, #button-grid {
  background: #fff;
  border: 1.5px solid var(--masala-border) !important;
  color: #78350f;
  border-radius: 8px;
  padding: 7px 14px;
  transition: all 0.2s;
}

#button-list:hover, #button-grid:hover,
#button-list.active, #button-grid.active,
#button-list:focus, #button-grid:focus {
  background: var(--masala-saffron-gold) !important;
  border-color: var(--masala-saffron-gold) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* Sort & Limit Dropdowns in Category View */
.input-group-text {
  background-color: var(--masala-cream) !important;
  border-color: var(--masala-border) !important;
  color: #78350f !important;
  font-weight: 600;
  font-size: 13px;
}

.form-select, .form-control {
  border-color: var(--masala-border) !important;
  font-size: 13.5px;
}

.form-select:focus, .form-control:focus {
  border-color: var(--masala-turmeric) !important;
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.2) !important;
}

/* Pagination - Eliminates Ocean Blue */
.pagination {
  gap: 4px;
}

.pagination .page-item .page-link {
  border-radius: 8px;
  border: 1px solid var(--masala-border);
  color: #78350f;
  background: #fff;
  padding: 8px 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.pagination .page-item .page-link:hover {
  background: var(--masala-cream);
  border-color: var(--masala-turmeric);
  color: var(--masala-chili-bright);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #b91c1c, #d97706) !important;
  border-color: #b91c1c !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.25);
}

/* 7. Cart Page Overrides (Shopping Cart) */
#output-cart table.table {
  border: 1px solid var(--masala-border) !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--masala-shadow);
}

#output-cart table.table thead {
  background: linear-gradient(90deg, #3a0810 0%, #681d11 50%, #3a0810 100%) !important;
  color: #fef08a !important;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

#output-cart table.table thead th {
  border: none !important;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fef08a !important;
}

#output-cart table.table tbody td {
  vertical-align: middle;
  border-color: rgba(217, 119, 6, 0.12) !important;
  padding: 14px 16px;
}

#output-cart table.table tbody tr:hover {
  background-color: #fffdfa;
}

#checkout-total {
  background-color: var(--masala-cream);
  border-top: 2px solid var(--masala-turmeric);
}

#checkout-total td {
  font-family: 'Cinzel', serif;
  color: var(--masala-deep-maroon);
  font-size: 15px;
}

/* Cart Quantity Update & Remove Buttons */
#output-cart .input-group .btn-primary {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  border-color: #d97706 !important;
  color: #fff !important;
  border-radius: 0;
}

#output-cart .input-group .btn-primary:hover {
  background: linear-gradient(135deg, #b45309, #78350f) !important;
}

#output-cart .input-group .btn-danger {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  border-color: #dc2626 !important;
  border-radius: 0 8px 8px 0;
}

/* Accordion in Cart ("What would you like to do next?") */
.accordion {
  border: 1px solid var(--masala-border) !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--masala-shadow);
}

.accordion-item {
  border-color: rgba(217, 119, 6, 0.15) !important;
  background: #fff;
}

.accordion-button {
  background-color: #fff;
  color: #4a0e17;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 20px;
  transition: all 0.25s;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #fffcf5, #fef3c7) !important;
  color: #78350f !important;
  box-shadow: inset 0 -1px 0 rgba(217, 119, 6, 0.2) !important;
}

.accordion-button:focus {
  border-color: var(--masala-turmeric) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

.accordion-button::after {
  filter: sepia(100%) hue-rotate(330deg) saturate(300%);
}

/* Radios and Checkboxes - No Ocean Blue */
.form-check-input:checked {
  background-color: var(--masala-chili-red) !important;
  border-color: var(--masala-chili-red) !important;
}

.form-check-input:focus {
  border-color: var(--masala-turmeric) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

/* 8. Single Product Info Page Tabs */
.nav-tabs {
  border-bottom: 2px solid var(--masala-border);
  gap: 6px;
}

.nav-tabs .nav-link {
  color: #78350f;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  padding: 10px 20px;
  transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
  color: var(--masala-chili-bright);
  border-color: rgba(217, 119, 6, 0.2);
}

.nav-tabs .nav-link.active {
  background: #fff;
  border-color: var(--masala-border) var(--masala-border) #fff;
  border-top: 3.5px solid var(--masala-turmeric) !important;
  color: var(--masala-deep-maroon) !important;
}

/* 9. Indian Spices 4 Pillars of Purity */
.masala-features-section {
  margin-bottom: 25px;
}

.masala-feature-card {
  background: #ffffff;
  border: 1px solid var(--masala-border);
  border-radius: var(--masala-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--masala-shadow);
  transition: all 0.3s ease;
}

.masala-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--masala-turmeric);
  box-shadow: var(--masala-shadow-hover);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--masala-cream);
  border: 1px solid rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--masala-deep-maroon);
}

.feature-sub {
  font-size: 11.5px;
  color: #71717a;
}

/* 10. Section Headers Traditional */
.section-header-traditional .sub-heritage-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--masala-terracotta);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-header-traditional .heritage-main-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--masala-deep-maroon);
}

.traditional-divider {
  color: var(--masala-saffron-gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

/* 11. Category Circular Cards */
.category-masala-card {
  background: #fff;
  border: 1px solid var(--masala-border);
  border-radius: 18px;
  padding: 16px 10px;
  box-shadow: var(--masala-shadow);
  transition: all 0.3s ease;
}

.category-masala-card:hover {
  transform: translateY(-6px);
  border-color: var(--masala-turmeric);
  box-shadow: var(--masala-shadow-hover);
}

.cat-img-box {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fef3c7;
  box-shadow: 0 4px 10px rgba(120, 53, 15, 0.15);
  transition: transform 0.4s ease;
}

.category-masala-card:hover .cat-img-box {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--masala-turmeric);
}

.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--masala-deep-maroon);
}

.cat-hindi {
  font-size: 11px;
}

/* 12. Product Cards (.product-thumb / .masala-product-card) */
.product-thumb, .masala-product-card {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.2) !important;
  border-radius: var(--masala-radius) !important;
  box-shadow: var(--masala-shadow);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 24px);
}

.masala-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--masala-turmeric) !important;
  box-shadow: var(--masala-shadow-hover);
}

.spice-origin-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.spice-origin-tag .badge {
  font-size: 10.5px;
  padding: 5px 9px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #15803d, #166534) !important;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
}

.masala-product-img-box {
  position: relative;
  background-color: #faf5eb;
  padding: 12px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.masala-product-img {
  max-height: 220px;
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

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

.spice-type-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--masala-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spice-weight-badge {
  font-size: 10.5px;
  background: var(--masala-cream);
  color: #713f12;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 40px;
}

.product-title a {
  color: var(--masala-deep-maroon);
}

.product-title a:hover {
  color: var(--masala-chili-bright);
}

.price-new {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

/* 13. Slideshow Carousel Styling */
.carousel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.15);
  border: 2px solid rgba(217, 119, 6, 0.25);
  margin-bottom: 30px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fef3c7;
  border: 2px solid var(--masala-saffron-gold);
  opacity: 0.6;
  transition: all 0.3s;
}

.carousel-indicators .active {
  width: 28px;
  border-radius: 10px;
  background-color: var(--masala-turmeric);
  opacity: 1;
}

.carousel-control-prev, .carousel-control-next {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 5, 10, 0.7);
  border: 1.5px solid var(--masala-turmeric);
  border-radius: 50%;
  color: #fff;
  opacity: 0.85;
  transition: all 0.3s;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--masala-chili-red);
  opacity: 1;
}

/* 14. Heritage Spotlight */
.masala-heritage-spotlight {
  background: linear-gradient(135deg, #fffdf8 0%, #f7ecd7 100%);
  border-top: 1px solid rgba(217, 119, 6, 0.2);
  border-bottom: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 20px;
}

.heritage-image-frame img {
  border: 3px solid #fef3c7;
}

.heritage-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4a0e17, #78350f);
  color: #fef08a;
  border: 2px solid var(--masala-turmeric);
  padding: 14px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.exp-number {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: #fff;
}

.exp-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 15. Reviews & Testimonials */
.masala-review-card {
  background: #ffffff;
  border: 1px solid var(--masala-border);
  border-radius: 16px;
  box-shadow: var(--masala-shadow);
  position: relative;
  transition: all 0.3s;
}

.masala-review-card:hover {
  transform: translateY(-4px);
  border-color: var(--masala-turmeric);
  box-shadow: var(--masala-shadow-hover);
}

.avatar-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--masala-chili-red), var(--masala-saffron-gold));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* 16. Newsletter Strip */
.masala-newsletter-strip {
  background: linear-gradient(135deg, #2e050a 0%, #5c1815 50%, #78350f 100%);
  color: #fff;
  padding: 30px 0;
  border-top: 3px solid var(--masala-turmeric);
}

.masala-newsletter-input {
  border-radius: 25px;
  height: 46px;
  border: 1.5px solid rgba(254, 240, 138, 0.3);
  background: rgba(255, 255, 255, 0.95);
  padding-left: 18px;
}

.masala-newsletter-input:focus {
  border-color: var(--masala-turmeric);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
}

/* 17. Footer */
.masala-footer {
  background-color: #1a0306;
  color: #d4d4d8;
  padding: 55px 0 25px 0;
  border-top: 1px solid rgba(217, 119, 6, 0.2);
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #fef08a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--masala-turmeric);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a1a1aa;
  font-size: 13.5px;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: #fef08a;
  padding-left: 5px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fde68a;
  transition: all 0.25s;
}

.social-icon:hover {
  background: var(--masala-turmeric);
  color: #2e050a;
  transform: translateY(-3px);
}

/* 18. Floating WhatsApp Button */
.masala-float-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatPulse 2.5s infinite;
}

.masala-float-whatsapp:hover {
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.float-tooltip {
  position: absolute;
  right: 68px;
  background: #2e050a;
  color: #fef3c7;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  border: 1px solid var(--masala-turmeric);
}

.masala-float-whatsapp:hover .float-tooltip {
  opacity: 1;
}

@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Breadcrumbs & Inner pages */
.breadcrumb {
  background: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--masala-border);
  box-shadow: var(--masala-shadow);
  margin-bottom: 25px;
}

.breadcrumb-item a {
  color: var(--masala-saffron-gold);
  font-weight: 600;
}

.breadcrumb-item.active {
  color: var(--masala-deep-maroon);
  font-weight: 700;
}

/* Alerts */
#alert .alert {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1.5px solid var(--masala-turmeric);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  #menu .navbar-nav > li > a {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .masala-logo-img {
    max-height: 60px;
  }
}