/* ==========================================================================
   THE BAKERS FARM (TBF) - Component Specific Styles
   High-End Artisan Bakery & Café UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 250, 246, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(185, 136, 53, 0.22);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(43, 29, 22, 0.08);
  border-bottom-color: rgba(185, 136, 53, 0.3);
}

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

.site-header.scrolled .nav-container {
  height: 68px;
}

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

.brand-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  border-radius: 12px 12px 6px 6px;
  overflow: hidden;
  border: 1.5px solid var(--color-gold-primary);
  box-shadow: 0 4px 12px rgba(43, 29, 22, 0.12);
  background: #3a5360;
  transition: var(--transition);
}

.brand-identity:hover .brand-logo-frame {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(185, 136, 53, 0.28);
  border-color: #b98835;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2b1d16;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b98835;
  font-weight: 600;
  margin-top: 1px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #38271e;
  position: relative;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c59341, #8c601c);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #b98835;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(185, 136, 53, 0.1);
  border: 1.5px solid rgba(185, 136, 53, 0.32);
  color: #2b1d16;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-btn-trigger:hover {
  background: rgba(185, 136, 53, 0.2);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(185, 136, 53, 0.25);
  border-color: #b98835;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c42727;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #ffffff;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.mobile-toggle {
  display: none;
  background: none;
  color: #2b1d16;
  font-size: 1.6rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION (Warm Luxury Bakery — Matching Reference)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 660px;
  background-color: #faf5ed;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

/* Subtle gradient scrim on wide screens to guarantee text contrast */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 242, 0.94) 0%, rgba(251, 248, 242, 0.85) 38%, rgba(251, 248, 242, 0.35) 60%, rgba(251, 248, 242, 0) 78%);
  pointer-events: none;
  z-index: 1;
}

/* Sunlight glow effect */
.hero-sunbeam-glow {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 237, 196, 0.5) 0%, rgba(255, 237, 196, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

/* Floating warm gold dust motes */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 175, 103, 0.7);
  box-shadow: 0 0 10px rgba(212, 175, 103, 0.9);
  animation: floatMote 6s ease-in-out infinite;
}

.particle.p1 { top: 22%; left: 32%; width: 5px; height: 5px; animation-delay: 0s; }
.particle.p2 { top: 48%; left: 48%; width: 4px; height: 4px; animation-delay: 1.5s; }
.particle.p3 { top: 32%; left: 62%; width: 6px; height: 6px; animation-delay: 3s; }
.particle.p4 { top: 62%; left: 38%; width: 3px; height: 3px; animation-delay: 2.2s; }
.particle.p5 { top: 18%; left: 70%; width: 5px; height: 5px; animation-delay: 4.2s; }

@keyframes floatMote {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50% { transform: translate(-12px, -18px) scale(1.35); opacity: 0.9; }
}

/* Layout Container */
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content-col {
  max-width: 540px;
}

/* ESTD Tagline */
.hero-estd-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-estd-line {
  width: 28px;
  height: 1.5px;
  background: #b98835;
  display: inline-block;
}

.hero-estd-text {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #b98835;
  text-transform: uppercase;
}

/* Main Heading */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.8vw, 4.3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}

.hero-title-top {
  display: block;
  color: #2b1d16;
  font-weight: 600;
}

.hero-title-bot {
  display: block;
  color: #b98835;
  font-weight: 600;
}

/* Subtitle */
.hero-subtext {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: #5c4a3e;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #c59341 0%, #a87627 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(185, 136, 53, 0.32);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(185, 136, 53, 0.45);
  background: linear-gradient(135deg, #d4a04d 0%, #b3802f 100%);
  color: #ffffff;
}

.hero-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.hero-cta-btn:hover .hero-arrow-icon {
  transform: translateX(5px);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #3b2b21;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(185, 136, 53, 0.4);
  box-shadow: 0 4px 14px rgba(43, 29, 22, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.hero-secondary-btn:hover {
  background: #ffffff;
  border-color: #b98835;
  color: #b98835;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 136, 53, 0.2);
}

/* 3 Feature Badges Row */
.hero-badges-row {
  display: flex;
  align-items: flex-start;
  gap: 2.2rem;
  margin-top: 2.8rem;
}

.hero-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.hero-badge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid #b98835;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c601c;
  box-shadow: 0 4px 12px rgba(185, 136, 53, 0.12);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-badge-card:hover .hero-badge-circle {
  transform: translateY(-3px) scale(1.06);
  border-color: #8c601c;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(185, 136, 53, 0.22);
  color: #b98835;
}

.hero-badge-circle svg {
  width: 24px;
  height: 24px;
}

.hero-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3e2e25;
  text-transform: uppercase;
  line-height: 1.35;
}

/* Visual Card for smaller screens (hidden by default on wide desktop) */
.hero-visual-card {
  display: none;
}

.hero-visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(43, 29, 22, 0.15);
  border: 1px solid rgba(185, 136, 53, 0.25);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Marble Counter Bottom Edge Divider */
.hero-marble-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #dfd6c8 0%, #ede6da 50%, #dfd6c8 100%);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   3. FEATURED CATEGORIES
   -------------------------------------------------------------------------- */
.categories-section {
  padding: 4.5rem 0;
  background: var(--color-bg-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.2rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1rem;
  background: #ffffff;
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(43, 61, 71, 0.06);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(43, 61, 71, 0.12);
  border-color: var(--color-gold-primary);
  background: #fffdf9;
}

.category-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  transition: var(--transition);
}

.category-card:hover .category-card-icon {
  transform: scale(1.16);
}

.category-card-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.category-card-action {
  font-size: 0.72rem;
  color: var(--color-gold-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   4. BEST SELLERS SECTION
   -------------------------------------------------------------------------- */
.bestsellers-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

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

.bestseller-card {
  background: var(--color-bg-light);
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(43, 61, 71, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.bestseller-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(43, 61, 71, 0.15);
  border-color: rgba(212, 175, 103, 0.45);
}

.bestseller-image-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #e6e2d8;
}

.bestseller-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bestseller-card:hover .bestseller-image {
  transform: scale(1.08);
}

.bestseller-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bestseller-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1.25;
}

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

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(43, 61, 71, 0.08);
}

.product-price-wrap {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  line-height: 1;
}

.product-unit {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   5. FULL DIGITAL MENU SECTION (FIXED CARD LAYOUT)
   -------------------------------------------------------------------------- */
.menu-section {
  padding: 5.5rem 0;
  background: var(--color-bg-subtle);
}

.menu-controls {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(43, 61, 71, 0.06);
  margin-bottom: 2.8rem;
  border: 1.5px solid rgba(43, 61, 71, 0.08);
}

.menu-search-bar {
  position: relative;
  margin-bottom: 1.4rem;
}

.search-input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 3rem;
  background: var(--color-bg-light);
  border: 1.5px solid rgba(43, 61, 71, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--color-brand-dark);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-gold-deep);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 175, 103, 0.18);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-brand-slate);
  font-size: 1.1rem;
}

.search-clear-btn {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  cursor: pointer;
  display: none;
  font-size: 1rem;
  background: none;
}

.menu-filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.diet-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.diet-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--color-bg-light);
  border: 1.5px solid rgba(43, 61, 71, 0.1);
  color: var(--color-brand-slate);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: var(--transition);
}

.diet-filter-btn:hover {
  border-color: var(--color-gold-primary);
  background: #ffffff;
}

.diet-filter-btn.active {
  background: var(--color-brand-primary);
  color: var(--color-gold-light);
  border-color: var(--color-brand-primary);
  box-shadow: 0 4px 12px rgba(43, 61, 71, 0.2);
}

.menu-items-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Category Tabs (No ugly scrollbar) */
.menu-category-tabs-wrap {
  position: relative;
  margin-top: 1.2rem;
}

.menu-category-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.menu-category-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-tab {
  padding: 0.55rem 1.2rem;
  background: var(--color-bg-light);
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-tab:hover {
  background: rgba(212, 175, 103, 0.16);
  border-color: var(--color-gold-primary);
  transform: translateY(-2px);
}

.category-tab.active {
  background: var(--color-gold-gradient);
  color: var(--color-brand-dark);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(212, 175, 103, 0.35);
  font-weight: 700;
}

/* Redesigned Menu Cards: Vertical, Balanced, Spacious */
.menu-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(43, 61, 71, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(43, 61, 71, 0.12);
  border-color: rgba(212, 175, 103, 0.45);
}

.menu-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eeebe3;
}

.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.menu-card-diet-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-card-details {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.menu-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  line-height: 1.25;
}

.menu-card-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(43, 61, 71, 0.08);
  gap: 0.5rem;
}

.menu-group-header {
  grid-column: 1 / -1;
  margin: 3rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-group-header h3 {
  font-size: 1.8rem;
  color: var(--color-brand-primary);
  white-space: nowrap;
}

.menu-group-header::after {
  content: "";
  flex-grow: 1;
  height: 1.5px;
  background: linear-gradient(to right, rgba(212, 175, 103, 0.4), rgba(43, 61, 71, 0.05));
}

/* --------------------------------------------------------------------------
   6. CAKES SHOWCASE & CUSTOM ENQUIRY
   -------------------------------------------------------------------------- */
.cakes-section {
  padding: 5.5rem 0;
  background: radial-gradient(ellipse at 70% 20%, #344a56 0%, #22333b 60%, #152026 100%);
  color: #ffffff;
}

.fondant-notice-bar {
  background: rgba(212, 175, 103, 0.12);
  border: 1.5px solid rgba(212, 175, 103, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

.fondant-notice-text {
  font-size: 0.95rem;
  color: var(--color-gold-light);
  line-height: 1.5;
}

.cake-filter-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.cake-filter-btn {
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(212, 175, 103, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cake-filter-btn.active,
.cake-filter-btn:hover {
  background: var(--color-gold-gradient);
  color: var(--color-brand-dark);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(212, 175, 103, 0.35);
}

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

.cake-card {
  background: rgba(43, 61, 71, 0.7);
  border: 1.5px solid rgba(212, 175, 103, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cake-card:hover {
  transform: translateY(-7px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.cake-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1e2c33;
}

.cake-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

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

.cake-tag-pill {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.65rem;
  background: rgba(212, 175, 103, 0.2);
  color: var(--color-gold-light);
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  font-weight: 700;
  width: fit-content;
}

.cake-prices-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(18, 27, 33, 0.4);
  padding: 0.9rem;
  border-radius: var(--radius-md);
  margin-top: 1.2rem;
  border: 1px solid rgba(212, 175, 103, 0.18);
}

.cake-price-col {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.cake-weight-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.cake-price-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-gold-light);
  margin: 2px 0 6px;
}

.custom-cake-cta-card {
  background: linear-gradient(135deg, rgba(212, 175, 103, 0.16) 0%, rgba(43, 61, 71, 0.9) 100%);
  border: 1.5px solid var(--color-gold-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.custom-cake-title {
  font-size: 2.3rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   7. ABOUT US SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.about-images-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  position: relative;
}

.collage-img {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(43, 61, 71, 0.1);
  object-fit: cover;
  width: 100%;
  height: 240px;
  transition: var(--transition);
}

.collage-img:hover {
  transform: scale(1.03);
}

.collage-img-tall {
  height: 350px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.2rem;
}

.value-item {
  display: flex;
  gap: 1.2rem;
}

.value-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  border: 1.5px solid var(--color-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-deep);
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 175, 103, 0.2);
}

.value-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  margin-bottom: 0.3rem;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. GALLERY WITH LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 5.5rem 0;
  background: var(--color-bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(43, 61, 71, 0.08);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 35, 42, 0.94) 0%, rgba(23, 35, 42, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-title {
  color: var(--color-gold-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.gallery-overlay-caption {
  color: #e0e9ef;
  font-size: 0.82rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 23, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 88vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(212, 175, 103, 0.35);
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--color-gold-light);
  font-size: 1.05rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   9. CART DRAWER & CHECKOUT
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 23, 0.75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  background: var(--color-brand-primary);
  color: #ffffff;
  border-bottom: 2px solid var(--color-gold-primary);
}

.cart-header h3 {
  color: var(--color-gold-light);
  font-size: 1.4rem;
}

.cart-close-btn {
  background: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 1.8rem;
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}

.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(43, 61, 71, 0.08);
}

.cart-item-info {
  flex-grow: 1;
  padding-right: 1rem;
}

.cart-item-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-item-unit-price {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-light);
  border: 1px solid rgba(43, 61, 71, 0.15);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-brand-primary);
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--color-gold-primary);
  color: var(--color-brand-dark);
}

.cart-item-qty {
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.cart-footer {
  padding: 1.5rem 1.8rem;
  background: var(--color-bg-subtle);
  border-top: 1px solid rgba(43, 61, 71, 0.1);
}

.cart-delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.3rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(43, 61, 71, 0.1);
}

.toggle-option {
  text-align: center;
  padding: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-option.active {
  background: var(--color-brand-primary);
  color: var(--color-gold-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cart-input-field {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(43, 61, 71, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}

.cart-input-field:focus {
  border-color: var(--color-gold-deep);
  box-shadow: 0 0 0 3px rgba(212, 175, 103, 0.15);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.1rem 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-brand-primary);
}

.cart-total-amount {
  font-size: 1.5rem;
  color: var(--color-brand-dark);
}

/* --------------------------------------------------------------------------
   10. MODALS (Cake Custom Enquiry)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 1.5rem 2rem;
  background: var(--color-brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-gold-primary);
}

.modal-header h3 {
  color: var(--color-gold-light);
  font-size: 1.4rem;
}

.modal-body {
  padding: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(43, 61, 71, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-gold-deep);
  box-shadow: 0 0 0 3px rgba(212, 175, 103, 0.15);
}

/* --------------------------------------------------------------------------
   11. CONTACT & LOCATION SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6rem 0;
  background: #ffffff;
}

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

.contact-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(43, 61, 71, 0.06);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  border: 1.5px solid var(--color-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-deep);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212, 175, 103, 0.2);
}

.contact-info-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-deep);
}

.contact-info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin: 0.15rem 0;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(43, 61, 71, 0.08);
  border: 1.5px solid rgba(43, 61, 71, 0.08);
  height: 100%;
  min-height: 440px;
  position: relative;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #152026;
  color: #c0cfd8;
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--color-gold-primary);
}

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

.footer-brand-logo-frame {
  width: 54px;
  height: 60px;
  border-radius: 14px 14px 6px 6px;
  overflow: hidden;
  border: 1.5px solid var(--color-gold-primary);
  margin-bottom: 1.2rem;
  background: #39525f;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9ab0bd;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-serif);
  color: var(--color-gold-light);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

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

.footer-link {
  color: #9ab0bd;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 103, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon-link:hover {
  background: var(--color-gold-gradient);
  color: var(--color-brand-dark);
  transform: translateY(-3px);
}

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

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-section {
    background-position: 80% center;
    padding: 4rem 0 3.5rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-section {
    background-image: none;
    background-color: #faf6f0;
    padding: 3.5rem 0 3rem;
  }

  .hero-section::before {
    display: none;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content-col {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-visual-card {
    display: block;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(254, 252, 248, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    border-bottom: 2px solid #b98835;
    box-shadow: 0 10px 30px rgba(43, 29, 22, 0.12);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .hero-section {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.15;
  }

  .hero-badges-row {
    gap: 1.4rem;
  }

  .hero-badge-circle {
    width: 48px;
    height: 48px;
  }

  .hero-badge-circle svg {
    width: 20px;
    height: 20px;
  }

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

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    width: 100%;
  }

  .hero-badge-circle {
    width: 42px;
    height: 42px;
  }

  .hero-badge-label {
    font-size: 0.62rem;
  }

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

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