/* ============================================================
   YUM-YUM CAJUN — "Get Messy" production styles
   near-black #100E0C · cream #F5EFE4 · boil-red #C1272D
   Headings: Anton (condensed, uppercase) · Body: Archivo
   ============================================================ */
:root {
  --ink: #100e0c;
  --ink-2: #1a1613;
  --ink-3: #241e19;
  --cream: #f5efe4;
  --cream-dim: #cfc6b4;
  --red: #c1272d;
  --red-dark: #9a1f24;
  --gold: #e0a83c;
  --radius: 14px;
  --max: 1200px;
  --font-head: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cream); }

h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

.kicker {
  font-family: var(--font-head);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 14px;
  margin-bottom: 14px;
}

.lead { color: var(--cream-dim); font-size: 19px; max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(16, 14, 12, 0.96);
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(245, 239, 228, 0.12); }
.btn-small { padding: 10px 22px; font-size: 15px; }

.cart-btn {
  position: relative;
  background: transparent;
  border: 2px solid rgba(245, 239, 228, 0.35);
  border-radius: 999px;
  color: var(--cream);
  padding: 9px 18px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  cursor: pointer;
}
.cart-btn:hover { border-color: var(--cream); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.cart-count[hidden] { display: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(245, 239, 228, 0.35);
  border-radius: 10px;
  color: var(--cream);
  font-size: 22px;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,14,12,0.55) 0%, rgba(16,14,12,0.25) 40%, rgba(16,14,12,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 90px; }
.hero h1 {
  font-size: clamp(52px, 9vw, 128px);
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  max-width: 900px;
}
.hero .tagline-rule {
  width: 120px;
  height: 6px;
  background: var(--red);
  margin: 26px 0;
}
.hero p.sub {
  font-size: 20px;
  color: var(--cream);
  max-width: 560px;
  margin-bottom: 34px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Product cards ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.card {
  flex: 0 1 340px;
  max-width: 380px;
  background: var(--ink-2);
  border: 1px solid rgba(245, 239, 228, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,239,228,0.25); }
.card-media {
  background: #0a0908;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* pouch fully visible, never clipped */
}
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 34px; }
.card-price { font-family: var(--font-head); font-size: 22px; color: var(--gold); }
.card-flavor { color: var(--cream-dim); font-size: 16px; flex: 1; }
.card .btn { margin-top: 12px; text-align: center; }
.stock-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffb3b5;
  background: rgba(193, 39, 45, 0.18);
  border: 1px solid rgba(193, 39, 45, 0.5);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pdp-media {
  background: #0a0908;
  border: 1px solid rgba(245,239,228,0.1);
  border-radius: var(--radius);
  padding: 40px;
  position: sticky;
  top: 110px;
}
.pdp-media img { width: 100%; height: auto; object-fit: contain; }
.pdp-info h1 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 8px; }
.pdp-flavor { font-size: 21px; color: var(--cream); margin: 18px 0 6px; font-weight: 600; }
.pdp-fact { color: var(--cream-dim); margin-bottom: 6px; }
.buybox {
  margin: 28px 0;
  padding: 26px;
  background: var(--ink-2);
  border: 1px solid rgba(245,239,228,0.12);
  border-radius: var(--radius);
}
.buybox-price { font-family: var(--font-head); font-size: 34px; color: var(--gold); }
.buybox-note { font-size: 14px; color: var(--cream-dim); margin-top: 4px; }
.buybox .btn { width: 100%; margin-top: 16px; text-align: center; }
.buybox-connecting {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(245,239,228,0.35);
  border-radius: 10px;
  color: var(--cream-dim);
  font-size: 15px;
  text-align: center;
}
.buybox-error {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(193,39,45,0.15);
  border: 1px solid rgba(193,39,45,0.5);
  color: #ffc9cb;
  font-size: 15px;
}
.variant-row { margin-top: 14px; }
.variant-row label { display: block; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.variant-row select, .variant-row input[type="text"] {
  width: 100%;
  background: var(--ink-3);
  color: var(--cream);
  border: 1px solid rgba(245,239,228,0.25);
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-family: var(--font-body);
}
.choice-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.choice-btns button {
  background: var(--ink-3);
  color: var(--cream);
  border: 1px solid rgba(245,239,228,0.25);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.choice-btns button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.choice-btns button:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.crafted { margin: 34px 0; }
.crafted h2 { font-size: 26px; margin-bottom: 10px; }
.crafted p { color: var(--cream-dim); font-size: 18px; }
.allergens {
  margin-top: 14px;
  font-weight: 700;
  color: var(--cream);
}
.allergens strong { color: var(--gold); }

.howto { margin: 34px 0; }
.howto h2 { font-size: 26px; margin-bottom: 14px; }
.howto ol { margin-left: 22px; display: grid; gap: 10px; color: var(--cream-dim); }
.howto ol li::marker { color: var(--red); font-weight: 700; }
.pairings { margin: 34px 0; }
.pairings h2 { font-size: 26px; margin-bottom: 12px; }
.pairing-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pairing-tags span {
  border: 1px solid rgba(245,239,228,0.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--cream);
}

details.accordion {
  margin: 34px 0;
  background: var(--ink-2);
  border: 1px solid rgba(245,239,228,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
details.accordion summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: "+"; font-size: 26px; color: var(--red); }
details.accordion[open] summary::after { content: "–"; }
.accordion-body { padding: 0 24px 26px; color: var(--cream-dim); font-size: 15.5px; }
.accordion-body h3 { font-size: 17px; margin: 18px 0 8px; color: var(--cream); font-family: var(--font-body); font-weight: 700; text-transform: none; }

table.nutrition { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
table.nutrition caption { text-align: left; font-weight: 700; color: var(--cream); padding-bottom: 8px; }
table.nutrition th, table.nutrition td {
  border-bottom: 1px solid rgba(245,239,228,0.14);
  padding: 7px 4px;
  text-align: left;
  vertical-align: top;
}
table.nutrition td:last-child, table.nutrition th:last-child { text-align: right; }
table.nutrition .nut-head { font-family: var(--font-head); font-size: 20px; text-transform: uppercase; }
table.nutrition .indent { padding-left: 18px; }

.cross-sell {
  margin: 34px 0;
  padding: 24px;
  border: 1px dashed rgba(224,168,60,0.55);
  border-radius: var(--radius);
  background: rgba(224,168,60,0.06);
  font-size: 17px;
}
.cross-sell strong { color: var(--gold); }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: var(--ink-2);
  border-left: 1px solid rgba(245,239,228,0.15);
  z-index: 401;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(245,239,228,0.12);
}
.cart-head h2 { font-size: 24px; }
.cart-close { background: transparent; border: none; color: var(--cream); font-size: 28px; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { color: var(--cream-dim); text-align: center; padding: 40px 10px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: #0a0908; border-radius: 8px; }
.cart-line-name { font-weight: 700; font-size: 15px; }
.cart-line-price { font-size: 14px; color: var(--cream-dim); }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-row button {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(245,239,228,0.3);
  background: var(--ink-3);
  color: var(--cream);
  font-size: 17px;
  cursor: pointer;
}
.qty-row .qty { min-width: 24px; text-align: center; font-weight: 700; }
.line-remove { background: transparent; border: none; color: var(--cream-dim); font-size: 13px; text-decoration: underline; cursor: pointer; margin-top: 6px; padding: 0; }
.cart-foot { padding: 20px 22px 26px; border-top: 1px solid rgba(245,239,228,0.12); }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 21px; text-transform: uppercase; margin-bottom: 6px; }
.cart-note { font-size: 13px; color: var(--cream-dim); margin-bottom: 14px; }
.cart-foot .btn { width: 100%; text-align: center; }
.cart-error { margin-top: 10px; font-size: 14px; color: #ffc9cb; }

/* ---------- Promo popup ---------- */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.promo-overlay[hidden] { display: none; }
.promo-box {
  background: var(--ink-2);
  border: 2px solid var(--red);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 40px 34px;
  text-align: center;
  position: relative;
}
.promo-box h2 { font-size: 34px; color: var(--cream); margin-bottom: 10px; }
.promo-box p { color: var(--cream-dim); margin-bottom: 6px; }
.promo-code {
  display: inline-block;
  margin: 14px 0 20px;
  font-family: var(--font-head);
  font-size: 30px;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 2px dashed var(--gold);
  border-radius: 12px;
  padding: 10px 26px;
}
.promo-close {
  position: absolute;
  top: 10px; right: 14px;
  background: transparent; border: none;
  color: var(--cream-dim); font-size: 26px; cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(245,239,228,0.12);
  background: #0a0908;
  padding: 56px 0 34px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--cream-dim); font-size: 15px; max-width: 300px; }
.footer-col h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: 0.06em; }
.footer-col a { display: block; color: var(--cream-dim); text-decoration: none; margin-bottom: 8px; font-size: 16px; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(245,239,228,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--cream-dim);
  font-size: 14px;
}

/* ---------- Misc pages ---------- */
.page-hero { padding: 70px 0 10px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.prose { max-width: 760px; }
.prose p { color: var(--cream-dim); margin-bottom: 18px; font-size: 18px; }
.prose h2 { font-size: 28px; margin: 34px 0 12px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 26px 0; }
.contact-list a { color: var(--cream); font-size: 19px; font-weight: 600; }
.contact-form { max-width: 560px; margin-top: 30px; display: grid; gap: 14px; }
.contact-form label { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-form input, .contact-form textarea {
  background: var(--ink-2);
  border: 1px solid rgba(245,239,228,0.25);
  border-radius: 10px;
  color: var(--cream);
  padding: 14px;
  font-size: 16px;
  font-family: var(--font-body);
  width: 100%;
}
.center { text-align: center; }
.big-404 { font-size: clamp(90px, 18vw, 220px); color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .pdp-media { position: static; }
  .section { padding: 60px 0; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    gap: 0;
    border-bottom: 1px solid rgba(245,239,228,0.12);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(245,239,228,0.08); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .footer-inner { flex-direction: column; }
}

/* ---------- Reviews ---------- */
.reviews-section {
  padding: 3rem 1.5rem;
  background: #f5efe4;
}
.reviews-inner {
  max-width: 720px;
  margin: 0 auto;
}
.reviews-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.review-stars {
  color: #d4a017;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.review-text {
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.review-author {
  font-weight: 700;
  font-size: 0.9rem;
}
.review-date {
  color: #888;
  font-size: 0.85rem;
  font-weight: 400;
}
.reviews-empty {
  text-align: center;
  color: #666;
}
