/* ============================================================
   IQUO COOKHOUSE - Main Stylesheet
   Primary: #A97142 (Warm Caramel Brown)
   Accent:  #F5E6D3 (Soft Cream Beige)
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C1A0E;
  background: #FFFDF9;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1A0E05;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: #4A3020; }

/* --- VARIABLES --- */
:root {
  --primary: #A97142;
  --primary-dark: #8A5C34;
  --primary-light: #C9925A;
  --accent: #F5E6D3;
  --accent-dark: #EDD0B0;
  --text: #2C1A0E;
  --text-light: #6B4C35;
  --white: #FFFFFF;
  --off-white: #FFFDF9;
  --border: #E8D5C0;
  --shadow: 0 4px 24px rgba(169,113,66,0.10);
  --shadow-lg: 0 8px 48px rgba(169,113,66,0.15);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
}

/* --- LAYOUT --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* --- BUTTONS --- */
.btn-primary, .btn-outline, .btn-sm, .btn-lg {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; border-radius: 50px; font-weight: 600; letter-spacing: 0.02em;
  transition: all var(--transition); cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  padding: 0.75rem 1.75rem; font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(169,113,66,0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(169,113,66,0.35); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary); padding: 0.7rem 1.6rem; font-size: 0.95rem;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-white { background: #fff; color: var(--primary); padding: 0.75rem 1.75rem; font-size: 0.95rem; font-weight: 600; border-radius: 50px; }
.btn-white:hover { background: var(--accent); }
.btn-ghost { color: var(--text-light); font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: background var(--transition); }
.btn-ghost:hover { background: var(--accent); color: var(--primary); }

/* --- BADGES --- */
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-primary { background: var(--primary); color: #fff; }
.badge-accent { background: var(--accent); color: var(--primary); }
.badge-new { background: #3A9A5C; color: #fff; }
.badge-sale { background: #E05252; color: #fff; }

/* --- HEADER / NAV --- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,253,249,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; height: 70px; overflow: visible; position: relative;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--text); line-height: 1.2;
}
.logo-text em { font-style: italic; color: var(--primary); }
.nav-links {
  flex: 1; display: flex; justify-content: center; gap: 0.25rem;
  align-items: center; list-style: none;
}
.nav-links a {
  padding: 0.5rem 0.85rem; border-radius: 6px; font-size: 0.92rem; font-weight: 500;
  color: var(--text); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--accent); }
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.5rem; min-width: 200px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem;
  z-index: 999;
}
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: all; }
.nav-dropdown a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 6px;
  font-size: 0.85rem; color: var(--text); white-space: nowrap;
  transition: background var(--transition);
}
.nav-dropdown a:hover { background: var(--accent); color: var(--primary); }
.nav-actions { flex-shrink: 0; display: flex; align-items: center; gap: 0.75rem; }
.nav-cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--text);
  transition: background var(--transition);
}
.nav-cart:hover { background: var(--accent); color: var(--primary); }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--primary); color: #fff; font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 0.5rem;
  background: none; border: none; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; background: #fff; border-top: 1px solid var(--border);
  padding: 1rem 1.5rem; position: absolute; left: 0; right: 0; top: 70px;
  z-index: 890; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block; padding: 0.6rem 0.75rem; border-radius: 6px;
  font-size: 0.95rem; color: var(--text); transition: background var(--transition);
}
.mobile-menu a:hover { background: var(--accent); color: var(--primary); }

/* --- HERO --- */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,14,5,0.72) 0%, rgba(26,14,5,0.30) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; padding: 3rem 0;
}
.hero-eyebrow {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- SECTION HEADER --- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block; color: var(--primary); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* --- CATEGORY GRID --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; cursor: pointer; transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,14,5,0.80) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1rem;
}
.cat-card-name { color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; }

/* --- RECIPE GRID --- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.recipe-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column;
}
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.recipe-card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.recipe-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.recipe-card:hover .recipe-card-img img { transform: scale(1.05); }
.recipe-card-cat {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--primary); color: #fff; padding: 0.2rem 0.7rem;
  border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.recipe-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.recipe-card-meta {
  display: flex; gap: 1rem; margin-bottom: 0.75rem;
  font-size: 0.78rem; color: var(--text-light);
}
.recipe-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.recipe-card-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.recipe-card-body p { font-size: 0.87rem; color: var(--text-light); flex: 1; }
.recipe-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.recipe-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: #C17B3C; }
.recipe-card-link {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 0.25rem;
}
.recipe-card-link:hover { color: var(--primary-dark); }

/* --- PRODUCT GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card-img { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--accent); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
}
.product-card-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.product-card-body h3 { font-size: 0.95rem; margin-bottom: 0.4rem; line-height: 1.3; }
.product-rating { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; color: #C17B3C; margin-bottom: 0.75rem; }
.product-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.price-current { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.price-original { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.product-desc { font-size: 0.82rem; color: var(--text-light); flex: 1; margin-bottom: 0.75rem; }
.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--primary); color: #fff; border: none; border-radius: 50px;
  padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: 600; width: 100%;
  cursor: pointer; transition: all var(--transition);
}
.btn-add-cart:hover { background: var(--primary-dark); }
.btn-add-cart.added { background: #3A9A5C; }

/* --- FEATURED RECIPE (large card) --- */
.featured-recipe {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.2fr 1fr;
}
.featured-recipe-img { position: relative; min-height: 400px; overflow: hidden; }
.featured-recipe-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-recipe-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-recipe-body .section-eyebrow { text-align: left; margin-bottom: 0.75rem; }
.featured-recipe-body h2 { margin-bottom: 1rem; }
.featured-recipe-body p { margin-bottom: 1.5rem; }
.featured-meta { display: flex; gap: 1.5rem; margin-bottom: 1.75rem; }
.featured-meta-item { display: flex; flex-direction: column; }
.featured-meta-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.featured-meta-val { font-weight: 700; font-size: 1rem; color: var(--text); }

/* --- HOW IT WORKS --- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.how-card { text-align: center; padding: 2rem 1.5rem; }
.how-icon {
  width: 72px; height: 72px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 2rem; color: var(--primary);
}
.how-card h3 { margin-bottom: 0.75rem; }

/* --- TESTIMONIALS --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: #fff; padding: 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid var(--primary);
}
.testi-stars { color: #C17B3C; font-size: 1.1rem; margin-bottom: 1rem; }
.testi-text { color: var(--text-light); font-style: italic; margin-bottom: 1.25rem; font-size: 0.95rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-location { font-size: 0.78rem; color: var(--text-light); }

/* --- SUBSCRIPTION PLANS --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; max-width: 780px; margin: 0 auto;
}
.plan-card {
  background: #fff; border: 2px solid var(--border); border-radius: 16px; padding: 2.5rem;
  transition: all var(--transition); position: relative;
}
.plan-card.featured {
  border-color: var(--primary); box-shadow: var(--shadow-lg);
}
.plan-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 0.25rem 1rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { margin-bottom: 1.5rem; }
.plan-price .amount { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--primary); }
.plan-price .period { font-size: 0.9rem; color: var(--text-light); }
.plan-savings { display: inline-block; background: #3A9A5C; color: #fff; border-radius: 20px; padding: 0.15rem 0.6rem; font-size: 0.72rem; font-weight: 700; margin-left: 0.4rem; }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li { padding: 0.4rem 0; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid var(--border); }
.plan-features li::before { content: ''; display: inline-block; width: 18px; height: 18px; background: var(--primary); border-radius: 50%; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpolyline points='20,6 9,17 4,12'/%3E%3C/svg%3E"); background-size: 70%; background-repeat: no-repeat; background-position: center; }
.plan-guarantee { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 1rem; }

/* --- BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { overflow: hidden; aspect-ratio: 16/10; flex-shrink: 0; display: block; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; background: #fff; }
.blog-meta { font-size: 0.78rem; color: #6B4C35; margin-bottom: 0.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.35; color: #1A0E05; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.blog-card-body p { font-size: 0.87rem; color: #6B4C35; margin-bottom: 1rem; flex: 1; line-height: 1.65; }
.blog-read-more { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-block; margin-top: auto; }

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  position: relative; min-height: 340px; display: flex; align-items: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,14,5,0.75) 0%, rgba(26,14,5,0.40) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; }

/* --- RECIPE DETAIL --- */
.recipe-detail-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start;
}
.recipe-hero-img { border-radius: 16px; overflow: hidden; margin-bottom: 2rem; }
.recipe-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.recipe-meta-bar {
  display: flex; gap: 2rem; flex-wrap: wrap; padding: 1.5rem;
  background: var(--accent); border-radius: var(--radius); margin-bottom: 2rem;
}
.recipe-meta-item { display: flex; flex-direction: column; align-items: center; }
.recipe-meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); }
.recipe-meta-value { font-weight: 700; font-size: 1rem; color: var(--text); }
.recipe-sidebar {
  position: sticky; top: 100px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
}
.ingredients-list { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.ingredients-list li { padding: 0.3rem 0; font-size: 0.9rem; color: var(--text-light); }
.steps-list { counter-reset: step; }
.steps-list li {
  counter-increment: step; display: flex; gap: 1rem; margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.steps-list li:last-child { border-bottom: none; margin-bottom: 0; }
.step-num {
  width: 32px; height: 32px; min-width: 32px; background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* --- PRODUCT DETAIL --- */
.product-detail-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start;
}
.product-detail-img { border-radius: 16px; overflow: hidden; }
.product-detail-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail-price { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--primary); margin: 1rem 0; }
.product-detail-price .was { font-size: 1.1rem; color: var(--text-light); text-decoration: line-through; margin-left: 0.75rem; font-family: 'Inter', sans-serif; font-weight: 400; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.qty-input { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: none; cursor: pointer; transition: background var(--transition); }
.qty-btn:hover { background: var(--accent); }
.qty-num { width: 40px; text-align: center; font-weight: 600; border: none; outline: none; }

/* --- CART --- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); border-bottom: 2px solid var(--border); }
.cart-table td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-img { width: 72px; height: 72px; min-width: 72px; object-fit: cover; border-radius: 8px; display: block; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; }
.cart-item-remove { color: var(--text-light); font-size: 0.8rem; cursor: pointer; margin-top: 0.25rem; display: inline-block; }
.cart-item-remove:hover { color: #E05252; }
.cart-qty { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: all var(--transition); background: none; }
.cart-qty-btn:hover { background: var(--accent); border-color: var(--primary); }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.summary-total { font-weight: 700; font-size: 1.1rem; color: var(--primary); }
.empty-cart { text-align: center; padding: 4rem 2rem; }
.empty-cart svg { margin: 0 auto 1.5rem; opacity: 0.3; }
.empty-cart h2 { margin-bottom: 0.75rem; }

/* --- CHECKOUT --- */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: start; }
.form-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }
.form-section h3 { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--text);
  transition: border-color var(--transition); background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(169,113,66,0.10);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: #E05252; font-size: 0.82rem; margin-top: 0.3rem; }
.checkout-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; position: sticky; top: 100px; }
.checkout-item { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.checkout-item img { width: 60px; height: 60px; min-width: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; display: block; }

/* --- AUTH PAGES --- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.auth-visual { background: var(--primary); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.auth-visual-content { position: relative; z-index: 1; padding: 3rem; text-align: center; }
.auth-visual-content h2 { color: #fff; margin-bottom: 1rem; }
.auth-visual-content p { color: rgba(255,255,255,0.85); }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 3rem; }
.auth-form-inner { width: 100%; max-width: 400px; }
.auth-form-inner h1 { margin-bottom: 0.5rem; }
.auth-form-inner .subtitle { color: var(--text-light); margin-bottom: 2rem; }
.auth-links { margin-top: 1.5rem; font-size: 0.9rem; text-align: center; color: var(--text-light); }
.auth-links a { color: var(--primary); font-weight: 600; }
.alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.9rem; }
.alert-error { background: #FEF2F2; color: #C0392B; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }

/* --- ACCOUNT --- */
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.account-sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 100px; }
.account-avatar {
  width: 72px; height: 72px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: #fff; margin: 0 auto 1rem;
}
.account-nav li { border-bottom: 1px solid var(--border); }
.account-nav a { display: block; padding: 0.75rem 0.5rem; font-size: 0.9rem; color: var(--text); transition: color var(--transition); }
.account-nav a:hover, .account-nav a.active { color: var(--primary); font-weight: 600; }
.account-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.account-panel h2 { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.subscription-status {
  padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.subscription-status.active-plan { background: #F0FDF4; border: 1px solid #BBF7D0; }
.subscription-status.no-plan { background: var(--accent); border: 1px solid var(--accent-dark); }

/* --- LEGAL PAGES --- */
.legal-content { max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem; }
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; color: var(--text); }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { margin-bottom: 1rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.legal-content li { padding: 0.25rem 0; color: var(--text-light); }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.legal-content th, .legal-content td { padding: 0.75rem 1rem; text-align: left; border: 1px solid var(--border); font-size: 0.9rem; }
.legal-content th { background: var(--accent); font-weight: 700; }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--text);
  gap: 1rem;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--primary); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; }
.faq-a-inner { padding: 0 0 1.25rem; color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 400px; }

/* --- ABOUT --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card { text-align: center; padding: 2rem 1.5rem; background: var(--accent); border-radius: var(--radius); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card { text-align: center; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.team-name { font-weight: 700; font-size: 1.05rem; }
.team-role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; }
.team-bio { font-size: 0.87rem; color: var(--text-light); }

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem; align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contact-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.contact-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; }

/* --- CAREERS --- */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.career-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.career-type { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; }
.career-card h3 { margin-bottom: 0.5rem; }
.career-card p { font-size: 0.87rem; color: var(--text-light); margin-bottom: 1rem; }
.career-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.career-tag { background: var(--accent); padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.75rem; color: var(--text-light); }

/* --- SUBSCRIBE PAGE --- */
.subscribe-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 6rem 0; text-align: center; color: #fff; }
.subscribe-hero h1 { color: #fff; margin-bottom: 1rem; }
.subscribe-hero p { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-item { text-align: center; padding: 1.5rem 1rem; }
.feature-icon { width: 56px; height: 56px; background: var(--accent); border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; color: var(--primary); }

/* --- PAYMENT SUCCESS --- */
.success-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.success-icon { width: 80px; height: 80px; background: #F0FDF4; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }

/* --- COOKIE NOTICE --- */
.cookie-notice {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 9999;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); max-width: 520px;
}
.cookie-inner { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; flex-wrap: wrap; }
.cookie-inner p { flex: 1; font-size: 0.85rem; color: var(--text-light); min-width: 200px; margin: 0; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-notice.hidden { display: none; }

/* --- FOOTER --- */
.site-footer { background: #1A0E05; color: rgba(255,255,255,0.7); margin-top: auto; }
.footer-top { padding: 4rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text em { color: var(--accent-dark); }
.footer-brand .logo-mark { background: var(--primary); }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-brand .footer-address { font-size: 0.8rem; opacity: 0.7; margin-top: 0.75rem; }
.footer-brand a { color: var(--accent-dark); }
.footer-col h4 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col a { font-size: 0.87rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-dark); }
.footer-form { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.footer-form input {
  flex: 1; padding: 0.55rem 0.9rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.85rem; outline: none;
}
.footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form input:focus { border-color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* --- MISC UTILITY --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }
.bg-accent { background: var(--accent); }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.pill { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.78rem; }
.pill-primary { background: var(--accent); color: var(--primary); font-weight: 600; }
.stars { color: #C17B3C; }
.tag-list { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { background: var(--accent); color: var(--text-light); padding: 0.2rem 0.7rem; border-radius: 20px; font-size: 0.75rem; }
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px; padding: 3.5rem; text-align: center; color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.guarantee-bar {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem;
  background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius); font-size: 0.87rem; color: #166534;
}
.guarantee-bar strong { font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; transition: color var(--transition); }
.back-link:hover { color: var(--primary); }

/* --- STAR RATING DISPLAY --- */
.star-row { display: flex; align-items: center; gap: 0.4rem; }
.star-row svg { fill: #C17B3C; }

/* --- RELATED GRID --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid, .cart-layout, .auth-wrap { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-img { max-width: 480px; }
  .featured-recipe { grid-template-columns: 1fr; }
  .featured-recipe-img { min-height: 300px; aspect-ratio: 16/9; }
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .recipe-detail-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .how-grid, .testi-grid, .values-grid, .blog-grid,
  .careers-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-stats { gap: 1.5rem; }
  .nav-actions .btn-outline { display: none; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 3rem 0; }
  .legal-content { padding: 2.5rem 1.5rem; }
  .footer-col { display: none; }
  .footer-col:first-child { display: block; }
  .footer-col:last-child { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .featured-recipe-body { padding: 2rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .recipe-grid, .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a, .hero-actions button { width: 100%; text-align: center; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { display: block; }
  .cart-table .hide-sm { display: none; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .site-header { position: sticky; }
  .mobile-menu { position: fixed; top: 70px; }
}
