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

:root {
  --ember:    #c0392b;
  --ember-dk: #922b21;
  --amber:    #e67e22;
  --oak:      #4a2c0a;
  --oak-lt:   #7d4e1e;
  --smoke:    #1a1a1a;
  --cream:    #fdf6ee;
  --warm-gray:#f5ede0;
  --border:   #e8d5c0;
  --text:     #2c1a0e;
  --text-muted: #7a5c3e;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:0 8px 40px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Georgia', serif; background: var(--cream); color: var(--text); line-height: 1.6; }

h1,h2,h3,h4 { font-family: 'Georgia', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { font-family: system-ui, sans-serif; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--oak);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-icon { font-size: 1.8rem; }
.logo-name     { display: block; font-size: 1.2rem; font-weight: 700; color: #fff; }
.logo-tagline  { display: block; font-size: .68rem; color: #d4a96a; letter-spacing: 1.5px; text-transform: uppercase; font-family: system-ui; }
nav { display: flex; gap: 1.6rem; margin-left: auto; }
nav a { color: #e8d5c0; text-decoration: none; font-family: system-ui; font-size: .92rem; letter-spacing: .5px; transition: color .2s; }
nav a:hover { color: var(--amber); }

/* ── Buttons ── */
.btn-primary {
  background: var(--ember); color: #fff; padding: .85rem 2rem;
  border-radius: 50px; text-decoration: none; font-family: system-ui;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-primary:hover { background: var(--ember-dk); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #e8d5c0; padding: .85rem 2rem;
  border-radius: 50px; text-decoration: none; font-family: system-ui;
  font-weight: 700; font-size: 1rem; border: 2px solid rgba(255,255,255,.3);
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--oak) 0%, #2d1a06 60%, #3d1a00 100%);
  color: #fff; padding: 7rem 1.5rem 4.5rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.hero-eyebrow { font-family: system-ui; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-sub { font-family: system-ui; font-size: 1.1rem; color: #d4c5b0; max-width: 580px; margin: 0 auto 2rem; line-height: 1.75; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 4rem; position: relative; }
.badge {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #e8d5c0; padding: .4rem 1rem; border-radius: 50px;
  font-family: system-ui; font-size: .85rem;
}

/* ── Section Base ── */
.section { padding: 5.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.dark-section { background: var(--oak); max-width: 100%; padding: 5.5rem 1.5rem; }
.dark-section .inner { max-width: 1200px; margin: 0 auto; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section p { color: #d4c5b0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-sub { font-family: system-ui; color: var(--text-muted); max-width: 540px; margin: .8rem auto 0; font-size: 1.05rem; }
.dark-section .section-sub { color: #b8a08a; }

/* ── Cart ── */
.cart-btn {
  position: relative; margin-left: auto;
  background: var(--ember); border: none; border-radius: 50px;
  color: #fff; cursor: pointer; padding: .45rem .9rem;
  display: flex; align-items: center; gap: .3rem; flex-shrink: 0;
  transition: background .2s;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--ember-dk); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--amber); color: #fff; border-radius: 50%;
  width: 20px; height: 20px; font-size: .72rem; font-family: system-ui; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 100vw;
  height: 100vh; background: var(--cream); z-index: 201;
  transition: right .3s ease; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { right: 0; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; background: var(--oak); color: #fff;
}
.cart-header h2 { font-size: 1.2rem; color: #fff; }
.close-cart { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 3rem 0; font-family: system-ui; }
.cart-item { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; }
.cart-item-emoji { font-size: 2.2rem; flex-shrink: 0; }
.cart-item-info { flex: 1; font-family: system-ui; }
.cart-item-info strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.cart-item-info span { font-size: .83rem; color: var(--text-muted); }
.cart-item-controls { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.qty-btn:hover { background: var(--warm-gray); }
.qty-num { font-family: system-ui; font-size: .9rem; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--ember); font-family: system-ui; flex-shrink: 0; }
.cart-footer { padding: 1.2rem 1.5rem; border-top: 1px solid var(--border); }
.cart-summary { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.cart-row { display: flex; justify-content: space-between; font-family: system-ui; font-size: .9rem; color: var(--text-muted); }
.cart-row em { font-size: .78rem; font-style: normal; opacity: .7; }
.cart-total { font-size: 1.1rem; font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: .5rem; margin-top: .3rem; }
.free-ship-nudge { font-family: system-ui; font-size: .82rem; color: var(--oak-lt); background: #fff8ee; border: 1px solid #f0d9b0; border-radius: 8px; padding: .5rem .75rem; margin-top: .5rem; text-align: center; }
.free-ship-earned { font-family: system-ui; font-size: .82rem; color: #27ae60; background: #f0faf4; border: 1px solid #b7e4c7; border-radius: 8px; padding: .5rem .75rem; margin-top: .5rem; text-align: center; }
.checkout-btn {
  width: 100%; padding: .85rem; border: none; border-radius: var(--radius);
  font-size: .95rem; font-family: system-ui; font-weight: 700; cursor: pointer;
  transition: opacity .2s, transform .15s; display: flex; align-items: center;
  justify-content: center; gap: .6rem; background: #635bff; color: #fff;
}
.checkout-btn:hover { opacity: .88; transform: translateY(-1px); }
.secure-note { font-family: system-ui; font-size: .78rem; text-align: center; color: var(--text-muted); margin-top: .6rem; }

/* ── Shop / Product Spotlight ── */
.shop-section { padding-top: 4rem; }
.product-spotlight {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center;
  background: #fff; border-radius: 20px; padding: 3rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.product-img-box {
  border-radius: 16px; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: #0f0602; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.product-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-cat { font-family: system-ui; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; }
.product-name { font-size: 2.2rem; margin-bottom: .8rem; }
.product-desc { font-family: system-ui; font-size: .95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.2rem; }
.product-ingredients { margin-bottom: 1.2rem; }
.ingredients-label { font-family: system-ui; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.ingredient-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.ingredient-tags span {
  background: var(--warm-gray); border: 1px solid var(--border);
  font-family: system-ui; font-size: .85rem; color: var(--text);
  padding: .3rem .75rem; border-radius: 50px;
}

.product-traits {
  list-style: none; display: flex; flex-direction: column; gap: .45rem;
  margin-bottom: 1.8rem;
}
.product-traits li { font-family: system-ui; font-size: .9rem; color: var(--text); }
.product-purchase { display: flex; align-items: center; gap: 1.5rem; }
.product-price { font-size: 2rem; font-weight: 700; color: var(--ember); font-family: system-ui; }

/* ── Coming Soon ── */
.coming-soon-section {
  background: linear-gradient(135deg, var(--smoke) 0%, #2d1a06 100%);
  padding: 5.5rem 1.5rem; text-align: center;
}
.coming-soon-inner { max-width: 620px; margin: 0 auto; }
.cs-tag {
  display: inline-block; background: var(--amber); color: #fff;
  font-family: system-ui; font-size: .78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1.2rem;
}
.coming-soon-section h2 { color: #fff; margin-bottom: 1rem; }
.coming-soon-section p { font-family: system-ui; color: #b8a08a; line-height: 1.75; max-width: 500px; margin: 0 auto 2rem; }
.notify-form { display: flex; gap: .75rem; max-width: 460px; margin: 0 auto 2rem; flex-wrap: wrap; }
.notify-form input {
  flex: 1; min-width: 200px; padding: .85rem 1.2rem;
  border: 1.5px solid rgba(255,255,255,.15); border-radius: 50px;
  background: rgba(255,255,255,.08); color: #fff; font-family: system-ui; font-size: .95rem;
  transition: border-color .2s;
}
.notify-form input::placeholder { color: #888; }
.notify-form input:focus { outline: none; border-color: var(--amber); }
.notify-form .btn-primary { border-radius: 50px; white-space: nowrap; }
.cs-hints { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.cs-hints span { font-family: system-ui; font-size: .85rem; color: #888; }

/* ── Philosophy Pillars ── */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;
}
.pillar {
  background: #fff; border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow); text-align: center;
  border-top: 4px solid var(--amber);
}
.pillar-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.pillar h3 { margin-bottom: .7rem; }
.pillar p { font-family: system-ui; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* ── Ingredients Grid ── */
.ingredients-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.ingredient-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.6rem; text-align: center;
}
.ingredient-card span { font-size: 2.2rem; display: block; margin-bottom: .6rem; }
.ingredient-card h4 { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.ingredient-card p { font-family: system-ui; font-size: .83rem; color: #b8a08a; line-height: 1.6; }

/* ── Testimonials ── */
.testimonials { text-align: center; background: var(--warm-gray); max-width: 100%; padding: 5.5rem 1.5rem; }
.testimonials h2 { margin-bottom: 2.5rem; }
.review-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.review {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); text-align: left;
}
.stars { color: var(--amber); font-size: 1.1rem; margin-bottom: .8rem; }
.review p { font-style: italic; color: var(--text-muted); font-family: system-ui; font-size: .93rem; margin-bottom: .9rem; line-height: 1.7; }
.review span { font-family: system-ui; font-size: .82rem; font-weight: 700; color: var(--oak); }

/* ── About ── */
.about { padding: 6rem 1.5rem; }
.about-content { max-width: 1200px; margin: 0 auto; }
.about-text { max-width: 700px; }
.about-text h2 { color: #fff; margin-bottom: 1.5rem; line-height: 1.3; }
.about-text p { margin-bottom: 1.1rem; font-family: system-ui; font-size: .97rem; line-height: 1.8; }
.about-values { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.value { display: flex; align-items: center; gap: .6rem; }
.value span { font-size: 1.4rem; }
.value p { font-family: system-ui; font-size: .88rem; color: #d4c5b0; margin: 0; }

/* ── Contact ── */
.contact-section { text-align: center; }
.contact-form {
  max-width: 600px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: system-ui; font-size: .95rem;
  background: #fff; color: var(--text); transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--amber); }
.contact-form textarea { resize: vertical; }
.contact-form .btn-primary { align-self: flex-start; }

/* ── Footer ── */
footer { background: var(--smoke); color: #ccc; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand .logo-name { color: #fff; font-size: 1.1rem; }
.footer-brand p { font-family: system-ui; font-size: .85rem; color: #888; margin-top: .6rem; line-height: 1.7; }
.footer-links h4 { color: #fff; font-size: .9rem; margin-bottom: .8rem; font-family: system-ui; }
.footer-links a { display: block; font-family: system-ui; font-size: .85rem; color: #888; text-decoration: none; margin-bottom: .4rem; transition: color .2s; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid #333; padding: 1.2rem 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-family: system-ui; font-size: .82rem; color: #666;
  max-width: 1200px; margin: 0 auto;
}

/* ── Toast ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--oak); color: #fff; padding: .8rem 1.8rem;
  border-radius: 50px; font-family: system-ui; font-size: .9rem;
  box-shadow: var(--shadow-lg); z-index: 300; opacity: 0;
  transition: transform .3s ease, opacity .3s ease; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-values { flex-direction: column; gap: 1rem; }
  .product-spotlight { grid-template-columns: 1fr; gap: 2rem; padding: 1.8rem; }
  .product-img-box { aspect-ratio: unset; padding: 2.5rem; }
  .product-name { font-size: 1.8rem; }
  .notify-form { flex-direction: column; }
  .notify-form .btn-primary { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
