/* ============================================
   Creamy Millets - Premium Ecommerce Website
   Fonts: Inter & Poppins
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --cream: #FFF8F0;
  --cream-dark: #F5E6D0;
  --brown: #5C3A21;
  --brown-light: #8B6B4A;
  --brown-dark: #3E2515;
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --gold-dark: #B8923E;
  --green: #7CB342;
  --green-light: #A5D66A;
  --green-dark: #558B2F;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray: #F8F9FA;
  --gray-dark: #6C757D;
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
  --glass-bg: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-secondary);
  background: var(--cream);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.3; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section-padding { padding: 100px 0; }
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brown-dark);
}
.section-subtitle {
  text-align: center;
  color: var(--brown-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* ===== Animated Background ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.animated-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}
.animated-bg .orb:nth-child(1) { width: 600px; height: 600px; background: var(--gold); top: -10%; left: -5%; animation-delay: 0s; }
.animated-bg .orb:nth-child(2) { width: 500px; height: 500px; background: var(--green); top: 40%; right: -8%; animation-delay: -5s; }
.animated-bg .orb:nth-child(3) { width: 400px; height: 400px; background: var(--brown-light); bottom: -5%; left: 30%; animation-delay: -10s; }
.animated-bg .orb:nth-child(4) { width: 350px; height: 350px; background: var(--gold-light); top: 20%; left: 50%; animation-delay: -15s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -80px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.9); }
  75% { transform: translate(70px, 30px) scale(1.05); }
}

/* ===== Glassmorphism Utility ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.75);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--cream);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-primary); font-size: 2rem; font-weight: 800; color: var(--brown-dark); }
.loader-bar {
  width: 200px; height: 3px;
  background: var(--cream-dark);
  border-radius: 10px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--brown-light));
  border-radius: 10px;
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350px); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,248,240,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,168,83,0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  padding: 10px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--gold); }
.nav-logo img { height: 45px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
  position: relative;
  padding: 5px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brown-light));
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--brown-dark); }

.nav-icons { display: flex; align-items: center; gap: 18px; }
.nav-icons a, .nav-icons button {
  position: relative;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--brown);
  cursor: pointer;
  transition: var(--transition);
}
.nav-icons a:hover, .nav-icons button:hover { color: var(--gold); transform: translateY(-2px); }
.nav-icons .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--brown-dark);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,83,0.15);
  border: 1px solid rgba(212,168,83,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 20px;
}
.hero-badge i { color: var(--gold); }
.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--brown-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--brown-light);
  margin-bottom: 35px;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(212,168,83,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(212,168,83,0.45); }

.btn-secondary {
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--brown);
  border: 2px solid rgba(92,58,33,0.2);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(212,168,83,0.3);
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--green), var(--brown-light));
  z-index: -1;
  animation: spinSlow 10s linear infinite;
}
@keyframes spinSlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.hero-floating-card {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-dark);
  animation: float 4s ease-in-out infinite;
}
.hero-floating-card i { font-size: 1.5rem; color: var(--gold); }
.hero-floating-card.top-right { top: 5%; right: -5%; animation-delay: 0s; }
.hero-floating-card.bottom-left { bottom: 10%; left: -8%; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(92,58,33,0.1);
}
.hero-stat h3 { font-size: 1.8rem; color: var(--gold); }
.hero-stat p { font-size: 0.85rem; color: var(--brown-light); margin-bottom: 0; }

/* ===== Category Cards ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.category-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 35px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(212,168,83,0.1), rgba(124,179,66,0.1));
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover::before { opacity: 1; }
.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.category-card .icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.category-card h3 {
  font-size: 1.1rem;
  color: var(--brown-dark);
  position: relative;
  z-index: 1;
}
.category-card p {
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.product-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-card .image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-dark);
}
.product-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .image-wrapper img { transform: scale(1.08); }
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-card .badge.sold-out { background: var(--gray-dark); color: var(--white); }
.product-card .badge.new { background: var(--green); color: var(--white); }
.product-card .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brown-light);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  backdrop-filter: blur(8px);
}
.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active { background: var(--gold); color: var(--white); }
.product-card .info { padding: 20px; }
.product-card .info .rating { color: var(--gold); font-size: 0.9rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.product-card .info .rating span { color: var(--brown-light); font-size: 0.8rem; }
.product-card .info h3 { font-size: 1.1rem; color: var(--brown-dark); margin-bottom: 4px; }
.product-card .info .desc { font-size: 0.85rem; color: var(--gray-dark); margin-bottom: 10px; }
.product-card .info .price {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 12px;
}
.product-card .info .price .old { font-size: 0.95rem; font-weight: 400; color: var(--gray-dark); text-decoration: line-through; margin-left: 8px; }
.product-card .info .add-to-cart {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-card .info .add-to-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,83,0.35); }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 35px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.testimonial-card .stars { color: var(--gold); margin-bottom: 15px; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-card .author { display: flex; align-items: center; gap: 15px; }
.testimonial-card .author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .author .name { font-weight: 600; color: var(--brown-dark); }
.testimonial-card .author .role { font-size: 0.85rem; color: var(--brown-light); }

/* ===== Instagram Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(92,58,33,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i { color: var(--white); font-size: 2rem; }
.gallery-item:nth-child(1) { grid-row: span 2; grid-column: span 2; }

/* ===== Newsletter ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  border-radius: var(--radius);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212,168,83,0.1);
}
.newsletter-section h2 { color: var(--white); }
.newsletter-section p { color: rgba(255,255,255,0.7); }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1rem;
  outline: none;
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== FAQ Section ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  text-align: left;
  transition: var(--transition);
}
.faq-question i { transition: var(--transition); color: var(--gold); font-size: 1.2rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding: 0 28px 22px; color: var(--brown-light); line-height: 1.8; }

/* ===== Offers / Banner ===== */
.offer-banner {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.offer-banner .content h2 { color: var(--white); font-size: 2rem; }
.offer-banner .content p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.offer-banner .content .discount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.offer-banner .btn { background: var(--white); color: var(--brown-dark); }
.offer-banner .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* ===== Footer ===== */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
footer h3, footer h4 {
  font-family: var(--font-primary);
  color: var(--white);
  margin-bottom: 20px;
}
footer h3 { font-size: 1.5rem; }
footer h3 span { color: var(--gold); }
footer p { line-height: 1.8; margin-bottom: 15px; }
footer ul li { margin-bottom: 10px; }
footer ul li a:hover { color: var(--gold); padding-left: 5px; }
footer .social-links { display: flex; gap: 12px; margin-top: 20px; }
footer .social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  transition: var(--transition);
}
footer .social-links a:hover { background: var(--gold); transform: translateY(-3px); }
footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== Recipe Cards ===== */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.recipe-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.recipe-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.recipe-card .video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-dark);
}
.recipe-card .video-wrapper img,
.recipe-card .video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.recipe-card .video-wrapper .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
  cursor: pointer;
}
.recipe-card:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); }
.recipe-card .info { padding: 22px; }
.recipe-card .info .meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--brown-light); margin-bottom: 10px; }
.recipe-card .info .meta i { color: var(--gold); margin-right: 4px; }
.recipe-card .info h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 8px; }
.recipe-card .info p { font-size: 0.9rem; color: var(--gray-dark); margin-bottom: 12px; }
.recipe-card .info .recipe-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.recipe-card .info .recipe-tags span {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(212,168,83,0.12);
  color: var(--brown);
}

/* ===== Blog Cards ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.blog-card .image-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card .image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.blog-card:hover .image-wrapper img { transform: scale(1.08); }
.blog-card .info { padding: 24px; }
.blog-card .info .date { font-size: 0.85rem; color: var(--brown-light); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.blog-card .info .date i { color: var(--gold); }
.blog-card .info h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 8px; }
.blog-card .info p { font-size: 0.9rem; color: var(--gray-dark); margin-bottom: 15px; }
.blog-card .info .read-more {
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card .info .read-more:hover { gap: 12px; }

/* ===== Page Header ===== */
.page-header {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: 3rem; color: var(--brown-dark); }
.page-header p { color: var(--brown-light); max-width: 500px; margin: 10px auto 0; }
.page-header .breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: var(--brown-light); margin-top: 15px; }
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb span { color: var(--brown-light); }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
}
.contact-item i { font-size: 1.5rem; color: var(--gold); margin-top: 2px; }
.contact-item h4 { font-size: 1rem; color: var(--brown-dark); margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--brown-light); }

.contact-form { background: rgba(255,255,255,0.5); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius); padding: 40px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--brown-dark); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(92,58,33,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--brown-dark);
  outline: none;
  transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,83,0.15); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button { width: 100%; }

/* ===== Chat Page ===== */
.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
}
.chat-header {
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
}
.chat-header img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.chat-header .status { font-size: 0.8rem; color: var(--green-light); display: flex; align-items: center; gap: 5px; }
.chat-header .status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-msg {
  max-width: 70%;
  padding: 14px 20px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.chat-msg.bot {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--brown);
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg .time { font-size: 0.7rem; opacity: 0.7; margin-top: 4px; display: block; }
.chat-input-area {
  display: flex;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid rgba(92,58,33,0.1);
  background: rgba(255,255,255,0.3);
}
.chat-input-area input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(92,58,33,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.8);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.chat-input-area input:focus { border-color: var(--gold); }
.chat-input-area button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-input-area button:hover { transform: scale(1.05); }

/* ===== Shop Page ===== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 35px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
}
.shop-toolbar .result-count { font-size: 0.9rem; color: var(--brown-light); }
.shop-toolbar .sort-select {
  padding: 10px 18px;
  border: 1px solid rgba(92,58,33,0.15);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: var(--brown);
  outline: none;
  cursor: pointer;
}
.shop-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.shop-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(92,58,33,0.15);
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  cursor: pointer;
  transition: var(--transition);
}
.shop-filter-btn:hover,
.shop-filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== Cart & Wishlist ===== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
}
.cart-table th {
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--brown-dark);
  background: rgba(212,168,83,0.1);
  border-bottom: 1px solid rgba(92,58,33,0.1);
}
.cart-table td { padding: 18px 20px; border-bottom: 1px solid rgba(92,58,33,0.05); vertical-align: middle; }
.cart-table .product-info { display: flex; align-items: center; gap: 15px; }
.cart-table .product-info img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; }
.cart-table .qty-controls { display: flex; align-items: center; gap: 8px; }
.cart-table .qty-controls button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(92,58,33,0.2);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-table .qty-controls button:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.cart-table .qty-controls span { font-weight: 600; min-width: 30px; text-align: center; }
.cart-table .remove-btn {
  color: #dc3545;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.cart-table .remove-btn:hover { transform: scale(1.2); }

.cart-summary {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 30px;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(92,58,33,0.1); }
.cart-summary .row:last-child { border-bottom: none; font-weight: 700; font-size: 1.2rem; color: var(--brown-dark); }
.cart-summary .checkout-btn { width: 100%; margin-top: 20px; }

/* ===== Wishlist Grid ===== */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== Back to Top ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212,168,83,0.35);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-5px); }

/* ===== Floating Labels ===== */
.floating-labels { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 99; display: flex; flex-direction: column; gap: 4px; }
.floating-labels a {
  writing-mode: vertical-lr;
  padding: 12px 8px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
  transition: var(--transition);
}
.floating-labels a:hover { background: var(--gold); color: var(--white); padding-right: 14px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { margin: 0 auto 35px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-stat { text-align: center; }
  .hero-img-wrapper { margin: 0 auto; max-width: 350px; }
  .hero-floating-card { display: none; }
  footer .grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-row: span 1; grid-column: span 1; }
  .page-header h1 { font-size: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100vh; 
    background: rgba(255,248,240,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 998;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; }
  .hamburger { display: flex; z-index: 999; }

  .section-title { font-size: 1.8rem; }
  .section-padding { padding: 60px 0; }
  .hero { padding: 100px 0 50px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .newsletter-section { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }

  footer .grid { grid-template-columns: 1fr; gap: 30px; }
  .offer-banner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .offer-banner .content .discount { font-size: 2.5rem; }

  .cart-table { font-size: 0.85rem; }
  .cart-table th, .cart-table td { padding: 12px; }
  .cart-table .product-info img { width: 50px; height: 50px; }

  .page-header { padding: 120px 0 40px; }
  .page-header h1 { font-size: 1.8rem; }

  .faq-question { font-size: 1rem; padding: 18px 20px; }
  .chat-container { height: 80vh; border-radius: 0; margin: 0 -24px; }
  .floating-labels { display: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { padding: 22px 14px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
}
