@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700;800&family=Caveat:wght@400..700&display=swap');

:root {
  /* Jagdish Brand Colors — Announcement blue primary */
  --brand-green: #076d9e;
  --heritage-green: #076d9e;
  --fresh-green: #076d9e;
  --primary-color: #076d9e;
  --primary-color-dark: #054e73;
  --secondary-color: #076d9e;
  --secondary-color-dark: #0a3f5c;
  --accent-light: #eaf3f7;
  --warm-cream: #fcf8ed;
  --soft-ivory: #fcf8ed;
  --light-beige: #ede8df;
  --premium-gold: #c5a059;
  --light-saffron: #f4c430;
  --warm-tone: #d4a574;

  /* UI Colors */
  --text-dark: #1a1a1a;
  --text-light: #5a5a5a;
  --hero-text: #054e73;
  --hero-title: #054e73;
  --bg-light: #fcf8ed;
  --bg-white: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);

  /* Functional Colors */
  --danger: #e63946;
  --success: #2a9d8f;
  --warning: #ffb703;

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-accent: 'Caveat', cursive;

  /* Box Shadows - Softer and more realistic */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 30px 60px -12px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Professional Lighting */
  --light-glow: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 80%);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
  background-color: #fcf8ed;
  color: var(--text-dark);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.text-secondary {
  color: var(--secondary-color);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-transform: capitalize;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--secondary-color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* Section Padding */
.section-padding {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title span {
  color: var(--secondary-color);
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.2rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  padding: 22px 0;
  background: transparent;
}

.header.scrolled {
  padding: 10px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 110px;
  width: auto;
  transition: height 0.4s ease, filter 0.4s ease, transform 0.4s ease;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.1));
  transform: translateY(6px);
}

.header.scrolled .logo img {
  height: 76px;
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 14px;
  border-radius: 60px;
  border: 1px solid rgba(7, 109, 158, 0.12);
  box-shadow: 0 8px 32px rgba(7, 109, 158, 0.09), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  color: var(--heritage-green);
  position: relative;
  padding: 11px 20px;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(7, 109, 158, 0.1);
  box-shadow: none;
}

.nav-link.active {
  color: var(--primary-color);
  background: rgba(7, 109, 158, 0.12);
  box-shadow: none;
  font-weight: 600;
}

.nav-link::after {
  display: none;
}

.nav-mobile-actions {
  display: none;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 22px;
  border-radius: 60px;
  border: 1px solid rgba(7, 109, 158, 0.12);
  box-shadow: 0 8px 32px rgba(7, 109, 158, 0.09), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-shrink: 0;
}

.icon-btn {
  color: var(--heritage-green);
  font-size: 1.25rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
}

.icon-btn:hover {
  color: var(--primary-color);
  background: rgba(7, 109, 158, 0.1);
}

.icon-btn:focus,
.icon-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

#searchToggleBtn,
#authToggleBtn {
  border: none;
  background: none;
  padding: 0;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--bg-white);
  font-size: 0.68rem;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(7, 109, 158, 0.4);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--heritage-green);
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(7, 109, 158, 0.1);
  color: var(--primary-color);
}

.header.scrolled .mobile-toggle,
.header.static .mobile-toggle {
  color: var(--heritage-green);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
  /* Prevent white flashes during transitions */
}

.hero .container {
  width: 100%;
}

/* ==========================================
   HERO BANNER SLIDER
   ========================================== */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--desktop-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  /* Smooth cross-fade */
  image-rendering: -webkit-optimize-contrast;
  /* Sharpen images */
  transform: scale(1.1);
  /* Start slightly zoomed for Ken Burns effect */
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  /* Light subtle wash for dark text */
  pointer-events: none;
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
  /* Slow zoom out animation */
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-slide.out {
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Arrow Buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

.hero-content {

  max-width: 700px;
  /* Increased for better layout */
  color: var(--hero-text);
  position: relative;
  z-index: 3;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--hero-title);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--hero-text);
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-btns .btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);

}

.hero-btns .btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* ==========================================
   CATEGORY SECTION
   ========================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: rgba(7, 109, 158, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background-color: var(--secondary-color);
}

.category-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: var(--transition);
}

.category-card:hover .category-icon img {
  filter: brightness(0) invert(1);
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  transition: var(--transition);
}

.category-card:hover h3 {
  color: var(--primary-color);
}

/* ==========================================
   NEW ARRIVALS SECTION
   ========================================== */
.new-arrivals-section {
  padding: 20px 0;
  background-color: transparent;
}

.new-arrivals-header {
  margin-bottom: 25px;
}

.new-arrivals-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 5px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.new-arrivals-subtitle {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.new-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.na-product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.na-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.na-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.na-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}

.na-new {
  background-color: #1a4a68;
  color: #fff;
}

.na-must-try {
  background-color: #ffbc00;
  color: #000;
}

.na-icon-veg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  background-color: #a4c95a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 1px solid #7ea338;
}

.na-icon-veg i {
  font-size: 12px;
  color: #1a4a68;
}

.na-badge-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #55a9d2;
  color: #1a4a68;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 2;
}

.na-product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.na-product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.na-rating {
  color: #bc1818;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.na-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.na-weight {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  align-self: flex-start;
  margin-bottom: 15px;
}

.na-btn {
  margin-top: auto;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  align-self: flex-start;
}

.na-btn:hover {
  background-color: #000;
}

@media (max-width: 1200px) {
  .new-arrivals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .new-arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-arrivals-title {
    font-size: 2.5rem;
  }
}

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

/* ==========================================
   PREMIUM HERITAGE SECTION
   ========================================== */
.premium-heritage-section {
  background-image: url('../images/test1.png');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #f5f2eb;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.premium-heritage-grid {
  max-width: 560px;
  margin-left: 0;
}

.premium-heritage-content {
  color: #3e2723;
}

.premium-heritage-section .section-title {
  text-align: left;
}

.premium-heritage-section .heading-divider {
  justify-content: flex-start;
}

.heritage-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5a4b45;
  margin-bottom: 2rem;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 auto 2.5rem auto;
  max-width: 650px;
  text-align: left;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3e2723;
}

.trust-points li i {
  color: #c5a059;
  font-size: 1.2rem;
}

.heritage-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.mini-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c5a059;
}

.mini-card-icon {
  background: rgba(197, 160, 89, 0.1);
  color: #c5a059;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mini-card-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #3e2723;
  font-weight: 600;
}

.mini-card-text p {
  font-size: 0.85rem;
  color: #7a6b65;
  margin-bottom: 0;
  line-height: 1.4;
}

.trust-counters {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
}

.counter-item {
  display: flex;
  flex-direction: column;
}

.counter-num {
  font-size: 2rem;
  font-weight: 700;
  color: #c5a059;
  font-family: var(--font-accent);
  line-height: 1.2;
}

.counter-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5a4b45;
  font-weight: 500;
}

.heritage-cta {
  background-color: #c5a059;
  color: #fff;
  padding: 14px 36px;
  font-weight: 600;
}

.heritage-cta:hover {
  background-color: #a88746;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

@media (max-width: 992px) {
  .premium-heritage-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .heritage-snack-img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .premium-heritage-section {
    background-image: url('../images/imagemobile.png');
    background-position: center;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .heritage-mini-cards {
    grid-template-columns: 1fr;
  }

  .trust-counters {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* ==========================================
   SNACK MOOD SECTION
   ========================================== */
.mood-section {
  color: var(--bg-white);
  padding: 120px 0 35px 0;
  position: relative;
  overflow: hidden;
  /* Clearly separate from heritage section above */
  isolation: isolate;
}

.mood-section::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: url('../images/promo_bg.png');
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.6);
  z-index: 0;
}

.mood-section .container {
  position: relative;
  z-index: 1;
}

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

.mood-header h2 {
  font-size: 3rem;
  color: var(--bg-black);
}

.mood-header .script-text {
  color: var(--secondary-color);
  /* Yellow */
  font-family: var(--font-accent);
  /* Handwritten style */
  font-size: 4.5rem;
  display: block;
  margin-top: 0.5rem;
}

.mood-container {
  position: relative;
  height: 500px;
  /* Give space for floating elements */
}

.floating-emoji {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.floating-emoji img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.floating-emoji span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--bg-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Hover effect */
.floating-emoji:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.floating-emoji.active img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

/* Ensure anchor-based floating-emoji looks identical to div version */
a.floating-emoji {
  text-decoration: none;
  color: inherit;
}


/* Animations */
.floating-emoji:nth-child(1) {
  animation: float 6s ease-in-out infinite;
}

.floating-emoji:nth-child(2) {
  animation: float 5s ease-in-out infinite 1s;
}

.floating-emoji:nth-child(3) {
  animation: float 7s ease-in-out infinite 0.5s;
}

.floating-emoji:nth-child(4) {
  animation: float 6s ease-in-out infinite 1.5s;
}

.floating-emoji:nth-child(5) {
  animation: float 5s ease-in-out infinite 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(3deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Packets Display */
.packet-display {
  position: absolute;
  bottom: 20px;
  /* Position at bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 600px;
  z-index: 3;
}

.packet {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 200px;
}

.packet img {
  width: 100%;
  height: auto;
}

.packet-left {
  transform: translateX(-100px) rotate(-15deg) scale(0.8);
  z-index: 1;
  opacity: 0.7;
}

.packet-center {
  transform: translateX(0) rotate(0deg) scale(1);
  z-index: 3;
  opacity: 1;
}

.packet-right {
  transform: translateX(100px) rotate(15deg) scale(0.8);
  z-index: 1;
  opacity: 0.7;
}

/* Animation state for packet change */
.packet-display.animating .packet {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
}

/* Premium Organic Torn Paper Divider */
.mood-divider {
  position: absolute;
  bottom: -1px;
  /* Align to bottom, overlap slightly to prevent gap */
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.mood-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Premium Organic Torn Paper Divider (Top) */
.mood-divider-top {
  position: absolute;
  top: -1px;
  /* Align to top, overlap slightly to prevent gap */
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.mood-divider-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================
   POPULAR DISHES (PRODUCT GRID)
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--danger);
  color: var(--bg-white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  padding: 20px 0 10px;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.product-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.product-action-btn:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.product-content {
  padding: 1.5rem;
  text-align: center;
}

.product-rating {
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.1rem;
  /* Medium font size */
  margin-bottom: 0.5rem;
}

.product-title a:hover {
  color: var(--secondary-color);
}

.product-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.2rem;
  /* Medium font size */
  font-weight: 700;
  color: var(--primary-color);
}

/* Product Card Action Buttons */
.product-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}

.btn-add-to-cart {
  flex: 1.2;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-to-cart:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(7, 109, 158, 0.2);
}

.btn-view-details {
  flex: 1;
  background-color: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-view-details:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(7, 109, 158, 0.2);
}

.product-price del {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
  margin-right: 0.5rem;
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.newsletter-text h2 {
  color: var(--bg-white);
  margin-bottom: 0.5rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 500px;
  display: flex;
  background: var(--bg-white);
  padding: 5px;
  border-radius: 50px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  outline: none;
  font-family: var(--font-main);
  font-size: 1rem;
}

.newsletter-form .btn {
  border-radius: 50px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  --footer-navy: #1a2b56;
  --footer-accent: #c87d4a;
  --footer-bg: #fcf8ed;
  --footer-illustration-ratio: 54%;
  background-color: var(--footer-bg);
  background-image: url('../images/footer.png');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  color: var(--footer-navy);
  position: relative;
  z-index: 1;
  padding-top: calc(100vw * 1934 / 3252 * 0.45);
  padding-bottom: 1.5rem;
}

.footer-body {
  padding: 0;
}

.footer .container {
  max-width: none;
  width: 100%;
  padding-left: 4.5%;
  padding-right: 4.5%;
}

/* Organic Torn Paper Divider for Footer */
.footer-divider {
  position: absolute;
  top: -119px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.footer-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.15fr;
  gap: 0;
  margin-bottom: 1.25rem;
}

.footer-widget {
  padding: 0 1.1rem;
  border-left: 1px solid rgba(200, 125, 74, 0.45);
}

.footer-widget:first-child {
  padding-left: 0;
  border-left: none;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0.5rem;
}

.footer-logo-img {
  display: block;
  width: auto;
  height: clamp(58px, 3.6vw, 72px);
  margin-bottom: 0.7rem;
}

.footer-widget:last-child {
  padding-right: 0;
}

.footer-widget h3 {
  color: var(--footer-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-heading-deco {
  display: block;
  width: 90px;
  height: 9px;
  margin-bottom: 0.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' fill='none'%3E%3Cline x1='5' y1='5' x2='14' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.15' stroke-linecap='round'/%3E%3Cline x1='14' y1='5' x2='23' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.4'/%3E%3Cline x1='23' y1='5' x2='32' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.65'/%3E%3Cline x1='32' y1='5' x2='42' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.85'/%3E%3Cline x1='58' y1='5' x2='68' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.85'/%3E%3Cline x1='68' y1='5' x2='77' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.65'/%3E%3Cline x1='77' y1='5' x2='86' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.4'/%3E%3Cline x1='86' y1='5' x2='95' y2='5' stroke='%23c87d4a' stroke-width='0.8' opacity='0.15' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='5' r='1.8' stroke='%23c87d4a' stroke-width='0.8'/%3E%3Ccircle cx='50' cy='5' r='0.6' fill='%23c87d4a'/%3E%3Cpath d='M 46.2 3.2 C 45 4, 45 6, 46.2 6.8' stroke='%23c87d4a' stroke-width='0.8' stroke-linecap='round'/%3E%3Cpath d='M 53.8 3.2 C 55 4, 55 6, 53.8 6.8' stroke='%23c87d4a' stroke-width='0.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

/* Adjust size for the shorter "About Us" heading so the decoration fits within its text width */
.footer-top .footer-widget:nth-child(4) .footer-heading-deco {
  width: 70px;
  height: 7px;
}

.footer-text {
  margin-bottom: 0.75rem;
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #21406F;
  max-width: 240px;
  position: relative;
  z-index: 2;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-link {
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 1.5px solid var(--footer-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--footer-navy);
  font-size: 0.75rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--footer-navy);
  border-color: var(--footer-navy);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: 0.2rem;
}

.footer-links a {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--footer-navy);
}

.footer-links a::before {
  content: '\203A';
  color: var(--footer-accent);
  font-size: 1.1rem;
  line-height: 0.76rem;
  margin-top: 2px;
  font-weight: 700;
  transition: var(--transition);
}

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

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 0.55rem;
  align-items: center;
  font-size: 0.74rem;
  line-height: 1.4;
}



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

.footer-contact-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--footer-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--footer-navy);
  font-size: 0.72rem;
}

.footer-bottom {
  border-top: 1px solid rgba(26, 43, 86, 0.08);
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--footer-navy);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

.footer-bottom-links a {
  color: var(--footer-navy);
}

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

.footer-bottom-sep {
  color: rgba(26, 43, 86, 0.35);
  font-size: 0.75rem;
}

.footer-credit {
  font-size: 0.82rem;
  color: #3a356e;
  text-align: right;
}

.footer-credit a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

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

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid rgba(26, 43, 86, 0.12);
  color: var(--footer-navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.payment-visa {
  color: #1a1f71;
  font-style: italic;
}

.payment-mastercard {
  color: #eb001b;
}

.payment-upi {
  color: #097939;
}

.payment-gpay {
  color: #4285f4;
}

.payment-phonepe {
  color: #5f259f;
}

.payment-paytm {
  color: #00baf2;
}

@media (min-width: 1600px) {
  .footer {
    background-size: 100% auto;
    background-position: top center;
    padding-top: calc(100vw * 1934 / 3252 * 0.45) !important;
  }

  .footer .container {
    padding-left: 3.5%;
    padding-right: 3.5%;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-brand {
    padding-top: 0;
  }

  .footer-logo-img {
    height: 72px;
    margin-bottom: 0.75rem;
  }

  .footer-widget {
    padding: 0 1.4rem;
  }

  .footer-widget:first-child {
    padding-left: 0;
  }

  .footer-widget:last-child {
    padding-right: 0;
  }

  .footer-text {
    max-width: 280px;
    font-size: 0.82rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-contact li {
    font-size: 0.78rem;
  }
}

@media (min-width: 1800px) {
  .footer {
    background-size: 100% auto;
    background-position: top center;
    padding-top: calc(100vw * 1934 / 3252 * 0.45) !important;
  }

  .footer .container {
    padding-left: 3%;
    padding-right: 3%;
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-logo-img {
    height: 74px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding-top: calc(100vw * 1934 / 3252 * 0.44);
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-widget {
    padding: 0;
    border-left: none;
  }

  .footer-widget.footer-brand,
  .footer-widget:last-child {
    grid-column: span 3;
  }

  .footer-widget.footer-brand {
    text-align: center;
    padding-top: 0;
    padding-left: 0;
    align-items: center;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .footer-text {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand .social-links {
    justify-content: center;
  }

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

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

/* ==========================================
   PAGE HEADER (For internal pages)
   ========================================== */
.page-header {
  position: relative;
  padding: 115px 0 35px !important;
  background: none !important;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 99, 142, 0.15);
}

.page-header .page-title {
  color: var(--hero-title) !important;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: none;
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.page-header .page-subtitle {
  color: var(--text-light) !important;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-header .breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: none;
}

.page-header .breadcrumb li:not(:last-child)::after {
  content: '/';
  color: rgba(255, 255, 255, 0.5) !important;
}

.page-header .breadcrumb a {
  color: var(--text-dark) !important;
  transition: var(--transition);
}

.page-header .breadcrumb a:hover {
  color: var(--primary-color) !important;
}

/* Bubbles Container & Bubble styling for Dark/Light Semi-Transparent effects */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  animation: float-bubble 15s infinite linear;
}

/* Dark transparent bubbles */
.bubble:nth-child(odd) {
  background: rgba(11, 99, 142, 0.12);
  border: 1px solid rgba(11, 99, 142, 0.2);
}

/* Light transparent bubbles */
.bubble:nth-child(even) {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Various bubbles with randomized animation parameters */
.bubble:nth-child(1) {
  left: 8%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.bubble:nth-child(2) {
  left: 22%;
  width: 90px;
  height: 90px;
  animation-delay: 3s;
  animation-duration: 18s;
}

.bubble:nth-child(3) {
  left: 38%;
  width: 45px;
  height: 45px;
  animation-delay: 1s;
  animation-duration: 9s;
}

.bubble:nth-child(4) {
  left: 52%;
  width: 110px;
  height: 110px;
  animation-delay: 5s;
  animation-duration: 22s;
}

.bubble:nth-child(5) {
  left: 68%;
  width: 70px;
  height: 70px;
  animation-delay: 2s;
  animation-duration: 14s;
}

.bubble:nth-child(6) {
  left: 82%;
  width: 35px;
  height: 35px;
  animation-delay: 6s;
  animation-duration: 10s;
}

.bubble:nth-child(7) {
  left: 93%;
  width: 80px;
  height: 80px;
  animation-delay: 4s;
  animation-duration: 16s;
}

.bubble:nth-child(8) {
  left: 15%;
  width: 50px;
  height: 50px;
  animation-delay: 8s;
  animation-duration: 13s;
}

.bubble:nth-child(9) {
  left: 45%;
  width: 100px;
  height: 100px;
  animation-delay: 7s;
  animation-duration: 20s;
}

.bubble:nth-child(10) {
  left: 78%;
  width: 55px;
  height: 55px;
  animation-delay: 9s;
  animation-duration: 15s;
}

@keyframes float-bubble {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 0.7;
  }

  85% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(-450px) scale(1.3) rotate(360deg);
    opacity: 0;
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
  }
}

/* Tablet & mobile — slide-in nav */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    display: flex;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 24px 40px;
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(7, 109, 158, 0.12);
    box-shadow: -8px 0 40px rgba(7, 109, 158, 0.12);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    gap: 0.5rem;
    align-items: stretch;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-mobile-actions {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(7, 109, 158, 0.15);
  }

  .nav-mobile-action {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: none;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--heritage-green);
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: var(--transition);
  }

  .nav-mobile-action:hover {
    color: var(--primary-color);
    background: rgba(7, 109, 158, 0.1);
  }

  .nav-mobile-action i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
  }

  .nav-mobile-action .cart-count {
    position: static;
    margin-left: auto;
    border: none;
    box-shadow: none;
  }

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

  .nav-icons {
    padding: 8px 12px !important;
    gap: 0 !important;
  }

  .nav-link {
    color: var(--heritage-green);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 20px;
    text-align: left;
    width: 100%;
  }

  .nav-link:hover {
    color: var(--primary-color);
    background: rgba(7, 109, 158, 0.1);
  }

  .nav-link.active {
    color: var(--primary-color);
    background: rgba(7, 109, 158, 0.12);
    font-weight: 600;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

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

  /* Premium Categories Section Responsive Fixes */
  .mood-section {
    padding: 120px 0 25px 0 !important;
  }

  .mood-header h2 {
    font-size: 2.2rem !important;
  }

  .mood-header .script-text {
    font-size: 3rem !important;
  }

  .mood-container {
    height: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 20px 5px !important;
  }

  .floating-emoji {
    position: static !important;
    transform: none !important;
    animation: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 8px 14px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    width: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px !important;
  }

  .floating-emoji img {
    width: 40px !important;
    height: 40px !important;
  }

  .floating-emoji span {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--bg-white) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  }

  /* Active capsule indicator for touch responsiveness */
  .floating-emoji.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(7, 109, 158, 0.4) !important;
  }

  .packet-display {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 40px auto 0 !important;
    height: 220px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
  }

  .packet {
    width: 120px !important;
  }

  .packet-left {
    transform: translateX(-60px) rotate(-15deg) scale(0.8) !important;
  }

  .packet-center {
    transform: translateX(0) rotate(0deg) scale(1) !important;
  }

  .packet-right {
    transform: translateX(60px) rotate(15deg) scale(0.8) !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

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

  /* Premium Header mobile optimizations */
  .logo img {
    height: 50px !important;
  }

  .header.scrolled .logo img {
    height: 44px !important;
  }

  .header {
    padding: 10px 0 !important;
  }

  .nav-icons {
    gap: 6px !important;
    padding: 6px 12px !important;
  }

  .icon-btn {
    font-size: 1rem !important;
    width: 32px !important;
    height: 32px !important;
  }

  .cart-count {
    top: -3px !important;
    right: -3px !important;
    font-size: 0.6rem !important;
    min-width: 14px !important;
    height: 14px !important;
    border-width: 1px !important;
  }

  .mobile-toggle {
    display: flex !important;
    font-size: 1.15rem !important;
  }
}

/* ==========================================
   E-COMMERCE ENHANCEMENTS
   ========================================== */

/* Brand Story Section */
.brand-story-section {
  background-color: transparent;
  padding: 40px 0 20px;
}

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

.brand-story-text .accent-title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.brand-story-text .story-heading {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.brand-story-text .story-paragraph {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.brand-story-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card Flip Effect */
.flip-card {
  width: 250px;
  background-color: transparent;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  animation: card-flip 5s infinite ease-in-out;
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Safari */
}

.flip-card-front {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-card img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow-md));
}

@keyframes card-flip {

  0%,
  40% {
    transform: rotateY(0deg);
  }

  45%,
  90% {
    transform: rotateY(180deg);
  }

  95%,
  100% {
    transform: rotateY(360deg);
  }
}

@media (max-width: 768px) {
  .brand-story-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .brand-story-logo {
    order: -1;
  }
}

/* Trust Badges */
.trust-section {
  background-color: transparent;
  padding: 40px 0;
}

.trust-badges-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-badge {
  text-align: center;
  flex: 1;
  min-width: 250px;
  padding: 20px;
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-5px);
}

.trust-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.trust-badge h4 {
  font-size: 1.2rem;
  color: #0f0f1a;
  margin-bottom: 5px;
}

.trust-badge p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px 0;
  transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.cookie-text p {
  margin: 0;
  color: var(--text-dark);
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    flex-direction: column;
  }
}

/* Wishlist Active State */
.product-action-btn.active-wishlist {
  background-color: var(--danger);
  color: var(--bg-white);
}

.product-action-btn.active-wishlist i {
  font-weight: 900;
  /* FontAwesome solid */
}

/* Sticky Cart Bar */
.sticky-cart-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: bottom 0.3s ease-in-out;
  border-top: 2px solid var(--secondary-color);
}

.sticky-cart-bar.visible,
.sticky-cart-bar.show {
  bottom: 0;
}

.sticky-cart-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-product-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.sticky-product-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.sticky-product-price {
  font-weight: 700;
  color: var(--secondary-color);
}

/* ==========================================
   POPULAR PRODUCTS (CUSTOM LAYOUT)
   ========================================== */
.popular-products-section {
  background-color: transparent;
  /* Matching var(--bg-light) for seamless transition with divider */
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

/* Background Decoration Packets */
.popular-bg-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
  /* Subtle transparency */
  filter: blur(1px);
  /* Slight blur for depth */
  transition: var(--transition);
  animation: float-slow 8s ease-in-out infinite;
}

.popular-bg-decor img {
  width: 100%;
  height: auto;
  max-width: 200px;
}

.decor-1 {
  top: 10%;
  left: -5%;
  transform: rotate(-15deg);
  animation-duration: 10s;
}

.decor-2 {
  bottom: 15%;
  left: 2%;
  transform: rotate(20deg);
  animation-duration: 12s;
  animation-delay: 1s;
}

.decor-3 {
  top: 5%;
  right: -3%;
  transform: rotate(15deg);
  animation-duration: 9s;
  animation-delay: 0.5s;
}

.decor-4 {
  bottom: 10%;
  right: 1%;
  transform: rotate(-20deg);
  animation-duration: 11s;
  animation-delay: 1.5s;
}

.decor-5 {
  top: 40%;
  left: 45%;
  opacity: 0.08;
  max-width: 150px;
  animation-duration: 15s;
  animation-delay: 2s;
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translateY(-20px) rotate(calc(var(--rot, 0deg) + 5deg));
  }
}

/* Set specific rotation for each to avoid override by animation */
.decor-1 {
  --rot: -15deg;
}

.decor-2 {
  --rot: 20deg;
}

.decor-3 {
  --rot: 15deg;
}

.decor-4 {
  --rot: -20deg;
}

.decor-5 {
  --rot: 5deg;
}

.popular-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.popular-header .section-title.ornate {
  margin-bottom: 0;
}

.popular-header .section-title .subtitle {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--secondary-color);
  text-transform: none;
  letter-spacing: 1px;
  display: block;
  margin-bottom: -10px;
}

.popular-header .section-title .main-title {
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.heading-divider .line {
  height: 2px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.heading-divider i {
  color: var(--secondary-color);
  font-size: 0.8rem;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}


.slider-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.nav-btn:hover {
  background: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.popular-slider-viewport {
  overflow: hidden;
  margin: 0 -15px;
  padding: 20px 15px 40px;
}

.popular-products-grid {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.popular-product-card {
  flex: 0 0 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: var(--bg-white);
  padding: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

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

.popular-product-image {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: relative;
}

.popular-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

.popular-product-card:hover .popular-product-image img {
  transform: scale(1.05) translateY(-5px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.popular-product-content {
  padding: 20px;
  width: 100%;
}

.brand-name {
  color: #c41e3a;
  /* Premium Red */
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
  text-transform: none;
}

.popular-product-content .product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.popular-product-content .product-desc {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-dark {
  background-color: #076d9e;
  /* Matching the screenshot's green */
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-dark:hover {
  background-color: #054e73;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(7, 109, 158, 0.2);
}

.slider-dots-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .popular-product-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .popular-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .popular-header .section-title {
    text-align: center;
  }

  .popular-product-card {
    flex: 0 0 100%;
    flex-direction: column;
    text-align: center;
  }
}

/* Wave Line at the bottom */
/* .popular-products-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%23f5f3e9" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') center bottom/100% 100% no-repeat;
  z-index: 2;
} */

@media (max-width: 768px) {
  .popular-products-grid {
    grid-template-columns: 1fr;
  }

  .popular-products-grid .popular-product-card:nth-child(odd) {
    transform: none;
  }

  .popular-product-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   CART SIDE DRAWER (PREMIUM DESIGN)
   ========================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: rgba(15, 15, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-main);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-white);
}

.cart-drawer-header h3 {
  margin: 0;
  font-family: var(--font-main, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cart-drawer-close:hover {
  transform: none;
}

.cart-drawer-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.cart-drawer-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.cart-drawer-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.cart-drawer-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-drawer-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.cart-drawer-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.cart-drawer-qty-container {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  width: 90px;
  height: 32px;
  align-items: center;
}

.cart-drawer-qty-btn {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-drawer-qty-btn:hover {
  background-color: var(--border-color);
}

.cart-drawer-qty-input {
  width: 30px;
  text-align: center;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
}

.cart-drawer-remove-btn {
  background: none;
  border: none;
  color: var(--danger, #dc3545);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-remove-btn:hover {
  background-color: rgba(220, 53, 69, 0.1);
  transform: scale(1.1);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.02);
}

.cart-drawer-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-light);
}

.cart-drawer-total-row.total-grand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  margin-top: 4px;
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================
   CATEGORY CLOCK SECTION
   ========================================== */
.category-clock-section {
  padding: 120px 0;
  background-color: #e5f0f5;
  /* Soft mint green from reference */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-wrapper {
  position: relative;
  width: 650px;
  height: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-center {
  position: relative;
  width: 320px;
  height: 320px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.promo-text {
  z-index: 15;
}

.promo-text h3 {
  color: var(--primary-color);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1;
}

.promo-text p {
  color: #444;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.promo-code {
  margin-bottom: 2rem;
}

.promo-code span {
  display: block;
  font-size: 0.9rem;
  color: #555;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 5px;
}

.promo-code strong {
  font-size: 2rem;
  color: #FF5252;
  /* Vivid red from image */
  font-weight: 800;
  letter-spacing: 1px;
}

.order-now {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.order-now:hover {
  transform: scale(1.1);
  color: var(--primary-color-dark);
}

.order-now::before,
.order-now::after {
  content: '\2606';
  margin: 0 15px;
  font-size: 1.8rem;
  vertical-align: middle;
}

.clock-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.clock-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin-top: -70px;
  margin-left: -70px;
  transition: var(--transition);
  /* Distribute items in a circle */
  --angle: calc(360deg / var(--total) * var(--i) - 90deg);
  transform: rotate(var(--angle)) translate(280px) rotate(calc(-1 * var(--angle)));
}

.clock-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  text-decoration: none;
}

.item-img-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 5px solid var(--bg-white);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.clock-item span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}

.clock-item:hover .item-img-wrapper {
  transform: scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.clock-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

/* Clock Hands Styling */
.clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-color);
  transform-origin: bottom center;
  border-radius: 20px;
  z-index: 5;
  opacity: 0.7;
}

.hand-long {
  width: 12px;
  height: 200px;
  margin-left: -6px;
  margin-top: -200px;
  transform: translate(0, 15px) rotate(20deg);
}

.hand-short {
  width: 12px;
  height: 130px;
  margin-left: -6px;
  margin-top: -130px;
  transform: translate(0, 15px) rotate(-130deg);
}

.hand-center {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  border: 6px solid #31a6de;
  /* Lighter green ring */
  box-shadow: 0 0 0 4px var(--primary-color);
}

/* Decorative corner elements */
.clock-decor {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.15;
  pointer-events: none;
}

.decor-tl {
  top: 20px;
  left: 20px;
  background-image: radial-gradient(circle, var(--primary-color) 20%, transparent 20%);
  background-size: 20px 20px;
}

.decor-br {
  bottom: 20px;
  right: 20px;
  background-image: radial-gradient(circle, var(--primary-color) 20%, transparent 20%);
  background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clock-wrapper {
    width: 100%;
    height: 500px;
  }

  .clock-item {
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    transform: rotate(var(--angle)) translate(180px) rotate(calc(-1 * var(--angle)));
  }

  .item-img-wrapper {
    width: 80px;
    height: 80px;
  }

  .clock-center {
    width: 250px;
    height: 250px;
  }

  .promo-text h3 {
    font-size: 2rem;
  }

  .promo-text p {
    font-size: 0.8rem;
  }

  .order-now {
    font-size: 1.5rem;
  }

  .hand-long {
    height: 140px;
    margin-top: -140px;
  }

  .hand-short {
    height: 90px;
    margin-top: -90px;
  }
}

.hand-center {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  border: 6px solid #31a6de;
  /* Lighter green ring */
  box-shadow: 0 0 0 4px var(--primary-color);
}

/* Decorative corner elements */
.clock-decor {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.15;
  pointer-events: none;
}

.decor-tl {
  top: 20px;
  left: 20px;
  background-image: radial-gradient(circle, var(--primary-color) 20%, transparent 20%);
  background-size: 20px 20px;
}

.decor-br {
  bottom: 20px;
  right: 20px;
  background-image: radial-gradient(circle, var(--primary-color) 20%, transparent 20%);
  background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .clock-wrapper {
    width: 100%;
    height: 500px;
  }

  .clock-item {
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    transform: rotate(var(--angle)) translate(180px) rotate(calc(-1 * var(--angle)));
  }

  .item-img-wrapper {
    width: 80px;
    height: 80px;
  }

  .clock-center {
    width: 250px;
    height: 250px;
  }

  .promo-text h3 {
    font-size: 2rem;
  }

  .promo-text p {
    font-size: 0.8rem;
  }

  .order-now {
    font-size: 1.5rem;
  }

  .hand-long {
    height: 140px;
    margin-top: -140px;
  }

  .hand-short {
    height: 90px;
    margin-top: -90px;
  }
}

/* ==========================================
   HERITAGE SECTION
   ========================================== */
.heritage-section {
  background-color: #f5f2eb;
  /* Soft, premium light green/beige to differentiate */
  padding: 40px 0 15px 0;
  position: relative;
  overflow: hidden;
}

.heritage-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.heritage-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.heritage-img-main {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  max-height: 520px;
  margin-bottom: 30px;
  /* Align near the jagged edge */
}

.heritage-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 30px;
}

.heritage-btn {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: none;
  margin-bottom: 30px;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
}

.heritage-btn:hover {
  background-color: var(--primary-color-dark);
  color: #fff;
  transform: translateY(-2px);
}

.heritage-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 5px;
}

.heritage-main-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 800;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 3px 3px 0px #F6B846;
}

.heritage-sparkle {
  font-size: 1.5rem;
  color: var(--warning);
}

.heritage-subtitle {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 800;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 4px 4px 0px #F6B846;
}

.heritage-bottom-bar {
  position: relative;
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 0;
  z-index: 15;
  margin-top: -10px;
}

.jagged-edge {
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(-45deg, var(--primary-color) 5px, transparent 0), linear-gradient(45deg, var(--primary-color) 5px, transparent 0);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 10px 10px;
}

.jagged-edge-bottom {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(-135deg, var(--primary-color) 5px, transparent 0), linear-gradient(135deg, var(--primary-color) 5px, transparent 0);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: 10px 10px;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-content span {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-right: 15px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 992px) {
  .heritage-grid {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .heritage-content-col {
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }

  .heritage-title-wrapper {
    justify-content: center;
  }

  .heritage-main-title {
    font-size: 2rem;
  }

  .heritage-subtitle {
    font-size: 3.5rem;
  }

  .heritage-img-main {
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  .heritage-main-title {
    font-size: 1.5rem;
  }

  .heritage-subtitle {
    font-size: 2.5rem;
  }

  .marquee-content span {
    font-size: 1.2rem;
  }
}

/* ==========================================
   CUSTOMER REVIEWS SECTION
   ========================================== */
.reviews-section {
  padding: 20px 0 40px 0;
  background-color: #f5f2eb;
  position: relative;
}

.reviews-slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 50px 20px 20px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  width: 100%;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 40px 20px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-avatar-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #f5f2eb;
}

.review-content-inner {
  width: 100%;
}

.reviewer-name {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: #000;
  margin: 10px 0 2px 0;
}

.review-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 15px;
}

.review-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.review-rating {
  color: #fbbf24;
  font-size: 0.95rem;
}

.verified-badge {
  color: #3b82f6;
  font-size: 1rem;
}

.review-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.review-slider-btn {
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  color: #333;
  font-size: 1.2rem;
  z-index: 10;
  position: absolute;
  transition: all 0.3s ease;
}

.review-slider-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

@media (max-width: 992px) {
  .review-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 25px 0;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .prev-btn,
  .next-btn {
    display: none;
  }
}

/* ==========================================
   BRAND VIDEO SECTION
   ========================================== */
.brand-video-section {
  padding: 40px 0 15px 0;
  background-color: #f5f2eb;
  /* Matches heritage section */
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
  background: #000;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.brand-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 650px;
}

.video-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-nav-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  color: var(--secondary-color);
}

.video-prev {
  left: 20px;
}

.video-next {
  right: 20px;
}

/* ==========================================
   COMPREHENSIVE RESPONSIVENESS (OVERRIDE)
   ========================================== */

/* Mobile & Tablet Overrides */
/* Tablet — compact nav to fit larger logo */
@media (max-width: 1100px) {
  .logo img {
    height: 90px;
  }

  .header.scrolled .logo img {
    height: 68px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .nav-menu {
    padding: 7px 10px;
  }
}

@media (max-width: 992px) {

  /* Header & Navigation — mobile toggle visible, menu slides from right via 768px rules */
  .mobile-toggle {
    display: flex;
  }

  .nav-icons {
    padding: 10px 15px;
    gap: 1rem;
  }

  /* Hero Section */
  .hero-title {
    font-size: 2.8rem;
  }

  /* Brand Story */
  .brand-story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-story-text {
    align-items: center;
  }

  .brand-story-logo {
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {

  /* Global */
  .section-padding {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title span {
    font-size: 1.5rem;
  }

  /* Header */
  .logo img {
    height: 62px;
  }

  .header.scrolled .logo img {
    height: 56px;
  }

  .header {
    padding: 14px 0;
  }

  /* Hero */
  .hero {
    height: 150vw;
    min-height: 400px;
    background-color: transparent;
  }

  .hero-slide {
    background-image: var(--mobile-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1) !important;
  }

  .hero-slide.active {
    transform: scale(1) !important;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }

  .hero-btns {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .hero-btns .btn {
    width: auto;
    max-width: none;
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .hero-dots {
    bottom: 15px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  /* Snack Mood Section */
  .mood-container {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
  }

  .floating-emoji {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    animation: none !important;
    margin: 10px;
    flex-direction: column;
    width: calc(33.33% - 20px);
  }

  .floating-emoji img {
    width: 70px;
    height: 70px;
  }

  .floating-emoji span {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-shadow: none;
    margin-top: 10px;
  }

  .packet-display {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 40px;
    width: 100%;
  }

  .packet {
    position: absolute;
    width: 130px;
  }

  .packet-left {
    transform: translateX(-70px) rotate(-15deg) scale(0.8);
    z-index: 1;
  }

  .packet-center {
    position: relative;
    transform: translateX(0) rotate(0deg) scale(1);
    z-index: 5;
  }

  .packet-right {
    transform: translateX(70px) rotate(15deg) scale(0.8);
    z-index: 1;
  }

  /* Categories */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  .category-icon {
    width: 60px;
    height: 60px;
  }

  .category-icon img {
    width: 35px;
    height: 35px;
  }

  /* Heritage */
  .heritage-main-title {
    font-size: 1.4rem;
  }

  .heritage-subtitle {
    font-size: 2rem;
  }

  .heritage-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .footer {
    padding-bottom: 2.5rem;
  }

  .footer-top .footer-widget:nth-child(4) {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-widget {
    padding: 0;
    border-left: none;
  }

  .footer-widget.footer-brand,
  .footer-widget:last-child {
    grid-column: span 2;
  }

  .footer-brand {
    text-align: center;
    padding-top: 0;
    padding-left: 0;
    align-items: center;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

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

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

@media (max-width: 480px) {

  .footer {
    padding-bottom: 3rem;
  }

  .footer-brand {
    padding-top: 0;
    padding-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .footer-logo-img {
    margin-left: 0;
    margin-right: 0;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .footer-widget.footer-brand,
  .footer-widget:last-child {
    grid-column: span 2;
  }

  .footer-brand {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }

  /* Categories */
  .category-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero-arrow {
    display: none;
  }

  /* Snack Mood */
  .mood-header h2 {
    font-size: 2rem;
  }

  .mood-header .script-text {
    font-size: 3rem;
  }

  .floating-emoji {
    width: calc(50% - 20px);
  }

  .packet {
    width: 110px;
  }

  /* Cart Drawer */
  .cart-drawer-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cart-drawer-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

/* Smaller logo fallback for missing product images */
img.fallback-logo {
  width: 50% !important;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain !important;
  padding: 10px;
}

/* ==========================================
   SHOP INTRO SECTION
   ========================================== */
.shop-intro-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  z-index: 2;
}

.shop-intro-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.shop-intro-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.shop-intro-image {
  max-width: 300px;
  height: auto;
  transition: var(--transition);
}

.shop-intro-image:hover {
  transform: scale(1.08) rotate(2deg);
}

.shop-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-intro-content .accent-title {
  color: var(--secondary-color);
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.shop-intro-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.shop-intro-content .heading-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
  width: 100%;
}

.shop-intro-content .heading-divider .line {
  height: 2px;
  width: 50px;
  background-color: var(--primary-color);
  opacity: 0.3;
}

.shop-intro-content .heading-divider i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.shop-intro-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
}

.shop-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}

.shop-feature-card {
  background: var(--bg-white);
  padding: 1.8rem 1.5rem;
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.shop-feature-card .feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(7, 109, 158, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.shop-feature-card:hover .feature-icon {
  background-color: var(--primary-color);
}

.shop-feature-card .feature-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: var(--transition);
}

.shop-feature-card:hover .feature-icon i {
  color: var(--bg-white);
}

.shop-feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.shop-feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .shop-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .shop-intro-title {
    font-size: 2rem;
  }
}

/* Custom footer padding overrides to reduce spacing between the background illustration and the logo */
@media (min-width: 585.34px) and (max-width: 768px) {
  .footer {
    padding-top: calc(100vw * 1934 / 3252 * 0.40) !important;
  }
}

@media (min-width: 481px) and (max-width: 585.33px) {
  .footer {
    padding-top: calc(100vw * 1934 / 3252 * 0.33) !important;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: calc(100vw * 1934 / 3252 * 0.36) !important;
  }
}

@media (max-width: 585.33px) {
  .footer-logo-img {
    margin-top: 40px;
  }
}

@media (min-width: 596px) and (max-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .footer-top .footer-widget:nth-child(4) {
    display: block !important;
  }

  .footer-widget.footer-brand,
  .footer-widget:last-child {
    grid-column: span 3 !important;
  }
}

@media (min-width: 993.33px) {

  .footer-credit,
  .footer-copyright {
    white-space: nowrap !important;
  }
}

@media (min-width: 993.33px) and (max-width: 1011.33px) {
  .social-link[aria-label="LinkedIn"] {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  
  body,
  .footer {
    --footer-bg: #ffffff;
    background-color: #ffffff !important;
  }
}

/* Legal Pages Background Override */
.legal-page,
.legal-page .footer {
  background-color: #ffffff !important;
  --footer-bg: #ffffff;
}

/* ==========================================================================
   MOBILE HORIZONTAL SCROLL & OVERFLOW PREVENTION (GLOBAL FIX)
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, canvas, svg, iframe, object, embed {
  max-width: 100% !important;
  height: auto;
}

.header, .footer, main, section, .container, .container-fluid,
.page-header, .menu-container, .checkout-container, .cart-container,
.hero-section, .sf-notice, .sf-header, .sf-kandoi {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

h1, h2, h3, h4, h5, h6, .section-title h2, .page-title {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

@media (max-width: 768px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
  }

  .container, .container-fluid, .menu-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  .section-title h2 {
    font-size: clamp(1.8rem, 7.5vw, 3.2rem) !important;
    line-height: 1.15 !important;
    letter-spacing: normal !important;
  }

  .page-title {
    font-size: clamp(1.6rem, 6.5vw, 2.5rem) !important;
  }

  .auth-container {
    padding: 1.5rem 1rem !important;
    margin: 2rem auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-menu, .cart-drawer, .wishlist-drawer, .filter-drawer {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .category-filter-container, .filter-nav, .nav-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
  }
}