/* ============================================================
   WOXERA KITCHEN — Southern Hearth CSS
   Theme: Deep bourbon amber, cast-iron warmth
   ============================================================ */

:root {
  --primary-dark: #2d1000;
  --primary-mid: #8b4a00;
  --accent: #c87a20;
  --accent-hover: #a05a10;
  --bg: #faf5ee;
  --bg-warm: #f5ede0;
  --text: #3a2010;
  --text-light: #6b4a28;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border: #e8d5b8;
  --gold: #c87a20;
  --shadow: 0 4px 24px rgba(45, 16, 0, 0.12);
  --shadow-lg: 0 12px 48px rgba(45, 16, 0, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--primary-dark);
  line-height: 1.25;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(45, 16, 0, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 122, 32, 0.3);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo .logo-icon { font-size: 1.4rem; }
.nav-logo em { color: var(--accent); font-style: italic; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(200, 122, 32, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2d1000 0%, #8b4a00 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,122,32,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,74,0,0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Texture grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45,16,0,0.2) 0%, rgba(45,16,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 100px 24px 60px;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 122, 32, 0.15);
  border: 1px solid rgba(200, 122, 32, 0.4);
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hero-h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-h2 em {
  color: var(--accent);
  font-style: italic;
}

.hero-p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 20px rgba(200, 122, 32, 0.5);
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 122, 32, 0.6);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounceDown 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── PRODUCT SECTION ── */
.product-section {
  padding: 80px 0;
  background: var(--bg-warm);
  position: relative;
}

.product-section--alt {
  background: linear-gradient(135deg, #2d1000 0%, #5a2800 100%);
}

.product-section--alt .product-header h2,
.product-section--alt .product-header p {
  color: var(--white);
}

.product-section--alt .product-subhead {
  color: var(--accent) !important;
}

.product-promo-badge {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 10px;
  margin-bottom: 60px;
}

.product-header {
  text-align: center;
  margin-bottom: 48px;
}

.product-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.product-subhead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.product-section--alt .product-desc {
  color: rgba(255,255,255,0.75);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.product-card--best {
  border-color: var(--gold);
  background: linear-gradient(160deg, #fffbf5 0%, #fff8ee 100%);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-starter { background: var(--primary-mid); color: var(--white); }
.badge-standard { background: var(--accent); color: var(--white); }
.badge-bestseller {
  background: linear-gradient(90deg, #c87a20, #f0a840);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(200,122,32,0.4);
}

.product-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 20px;
}

.product-img-wrap img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.price-per {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.price-per span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.price-total {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.price-total s { opacity: 0.6; }
.price-total strong {
  color: var(--accent);
  font-size: 1.15rem;
  margin-left: 4px;
}

.shipping-info {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a7c40;
  margin-bottom: 8px;
}

.savings-tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  background: #d44a20;
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.btn-buy {
  display: block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  margin-top: 16px;
  transition: var(--transition);
  letter-spacing: 0.02em;
  box-shadow: 0 3px 12px rgba(200,122,32,0.3);
}

.btn-buy:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,122,32,0.4);
}

.btn-buy--gold {
  background: linear-gradient(135deg, #c87a20, #e09030);
  box-shadow: 0 4px 16px rgba(200,122,32,0.45);
}

/* Guarantee Box */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.guarantee-seal {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  object-fit: contain;
}

.guarantee-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.guarantee-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badges img {
  height: 50px;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.2);
}

/* ── RECIPES SECTION ── */
.recipes-section {
  padding: 90px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.recipe-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.recipe-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* override transform when already visible */
.recipe-card.visible:hover {
  transform: translateY(-4px);
}

.recipe-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.recipe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.recipe-card:hover .recipe-img-wrap img {
  transform: scale(1.06);
}

.recipe-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,16,0,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.recipe-body {
  padding: 24px 24px 20px;
}

.recipe-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.recipe-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.recipe-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}

.recipe-toggle-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.recipe-toggle-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* Recipe Details Accordion */
.recipe-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.recipe-details.active {
  max-height: 900px;
}

.recipe-details-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 24px;
  border-top: 2px solid var(--border);
  background: #fdf8f2;
}

.recipe-ingredients h4,
.recipe-instructions h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.recipe-ingredients ul {
  list-style: none;
  padding: 0;
}

.recipe-ingredients ul li {
  font-size: 0.92rem;
  color: var(--text);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.recipe-ingredients ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.recipe-instructions ol {
  padding-left: 20px;
}

.recipe-instructions ol li {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.65;
  padding-left: 6px;
}

.recipe-instructions ol li::marker {
  color: var(--accent);
  font-weight: 700;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.85;
}

.footer-contact a { color: var(--accent); }
.footer-contact a:hover { text-decoration: underline; }

.footer-disclaimer {
  padding: 28px 0;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  max-width: 800px;
  margin: 0 auto 10px;
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.35) !important;
}

/* ── LEGAL PAGES ── */
.legal-hero {
  background: linear-gradient(135deg, #2d1000 0%, #8b4a00 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.legal-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.legal-content p,
.legal-content li {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-contact-box {
  background: var(--bg-warm);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 36px 0;
}

.legal-contact-box h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.legal-contact-box p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .recipe-details-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .guarantee-box { flex-direction: column; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(45, 16, 0, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(200,122,32,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 28px; border-radius: 0; }
}
