/* ============================================================
   Kick Ass Texas Beef Jerky — kickasstbj.com
   Pastel Americana: cream, denim blue, brick red.
   ============================================================ */

/* Self-hosted fonts (no third-party requests — faster & private) */
@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/inter-latin-800-normal.woff2") format("woff2");
}

:root {
  --cream: #FBF7EF;
  --cream-deep: #F3ECDD;
  --paper: #FFFFFF;
  --ink: #2A2521;
  --ink-soft: #5C544B;
  --brick: #BC4B32;
  --brick-dark: #9A3B26;
  --brick-tint: #F6E0D8;
  --denim: #5B7A9D;
  --denim-dark: #3D5A7C;
  --denim-tint: #DFE8F1;
  --tan: #EFE6D3;
  --gold: #D9A441;
  --line: #E7DECC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(42, 37, 33, 0.10);
  --shadow-soft: 0 3px 14px rgba(42, 37, 33, 0.07);
  --font-display: "Alfa Slab One", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
p { margin: 0 0 1em; }
a { color: var(--denim-dark); }
a:hover { color: var(--brick); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 0.9rem;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); }

/* ---------- Tri-color ribbon (the red-white-blue hint) ---------- */
.tricolor {
  height: 6px;
  background: linear-gradient(to right,
    var(--brick) 0 33.33%,
    var(--cream-deep) 33.33% 66.66%,
    var(--denim) 66.66% 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 20px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brick); border-bottom-color: var(--brick); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cart-btn:hover { background: var(--brick); transform: translateY(-1px); }
.cart-count {
  background: var(--brick);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  min-width: 1.35em;
  height: 1.35em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3em;
  transition: background 0.15s ease;
}
.cart-btn:hover .cart-count { background: var(--cream); color: var(--brick); }

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.9rem 22px; border-bottom: 1px solid var(--line); }
  .brand img { height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brick); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--brick-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--denim-dark); border: 2px solid var(--denim); }
.btn-secondary:hover { background: var(--denim); color: #fff; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--brick); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ---------- Badge chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); flex-shrink: 0; }
.chip:nth-child(2n) .dot { background: var(--denim); }
.chip:nth-child(3n) .dot { background: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 20px clamp(3rem, 6vw, 5rem);
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero-logo { max-width: 420px; width: 100%; margin-bottom: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--paper);
  transform: rotate(1.5deg);
}
.hero-sticker {
  position: absolute;
  bottom: -26px;
  left: -18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: rotate(-3deg);
}
.hero-sticker img { width: 54px; height: auto; }
.hero-sticker span { font-family: var(--font-display); font-size: 1rem; color: var(--brick); white-space: nowrap; }
@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { margin: 0 auto 1rem; max-width: 520px; }
  .hero-sticker { left: 6px; bottom: -18px; }
}

/* ---------- Marquee ribbon ---------- */
.marquee {
  background: var(--brick);
  color: var(--cream);
  overflow: hidden;
  padding: 0.55rem 0;
  border-top: 1px solid var(--brick-dark);
  border-bottom: 1px solid var(--brick-dark);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  animation: marquee 36s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Flavor cards ---------- */
.flavor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 2rem;
}
.flavor-card {
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.flavor-card.denim { background: var(--denim-tint); }
.flavor-card.brick { background: var(--brick-tint); }
.flavor-card img { filter: drop-shadow(0 12px 18px rgba(42,37,33,0.22)); transition: transform 0.25s ease; }
.flavor-card:hover img { transform: translateY(-6px) rotate(-1deg); }
.flavor-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.6rem;
}
.flavor-card.denim .tag { background: var(--denim); color: #fff; }
.flavor-card.brick .tag { background: var(--brick); color: #fff; }
.flavor-quote { font-style: italic; color: var(--ink-soft); font-size: 0.95rem; margin: 0.7rem 0 1rem; }
@media (max-width: 840px) {
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-card { grid-template-columns: 0.8fr 1.2fr; }
}
@media (max-width: 540px) {
  .flavor-card { grid-template-columns: 1fr; text-align: center; }
  .flavor-card img { max-width: 220px; margin: 0 auto; }
  .flavor-quote { margin-inline: auto; }
}

/* ---------- Process ---------- */
.process { background: var(--cream-deep); }
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.process-photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--paper); transform: rotate(-1.2deg); }
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  font-family: var(--font-display);
  background: var(--paper);
  border: 2px solid var(--brick);
  color: var(--brick);
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.steps li:nth-child(2n) .step-num { border-color: var(--denim); color: var(--denim-dark); }
.steps h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 840px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Ingredients strip ---------- */
.ingredients-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3vw, 2rem);
  margin-top: 2.2rem;
}
.ingredient-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; padding: 0; list-style: none; }
.ingredient-chips li {
  background: var(--tan);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.allergen-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0.4rem 0 0; }

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.story-photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--paper); transform: rotate(1.2deg); }
.photo-credit { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.9rem; text-align: center; }
blockquote.owner-quote {
  border-left: 4px solid var(--denim);
  margin: 1.3rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
}
blockquote.owner-quote cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); margin-top: 0.4rem; font-size: 0.92rem; }
.press-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  margin-top: 1.4rem;
  transition: transform 0.15s ease;
}
.press-card:hover { transform: translateY(-2px); }
.press-card .press-icon { font-size: 1.5rem; }
.press-card strong { display: block; color: var(--ink); }
.press-card span { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 840px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- Shipping banner ---------- */
.ship-band { background: var(--denim); color: #fff; }
.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.ship-band h2, .ship-band h3 { color: #fff; }
.ship-band .lead { color: var(--denim-tint); }
.ship-photo { border-radius: var(--radius); border: 6px solid rgba(255,255,255,0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.25); transform: rotate(-1.5deg); }
.ship-perks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.7rem; }
.ship-perks li { display: flex; gap: 0.7rem; align-items: baseline; font-weight: 600; }
.ship-perks .star { color: var(--gold); }
.discount-flag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  transform: rotate(-1.5deg);
  margin-bottom: 1rem;
}
@media (max-width: 840px) { .ship-grid { grid-template-columns: 1fr; } }

/* ---------- Find us ---------- */
.find-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.find-photo { border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--paper); transform: rotate(1deg); }
.find-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brick);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.4rem;
  margin-top: 1.3rem;
}
.find-card h3 { margin-bottom: 0.3rem; }
.find-card p { margin: 0.2rem 0; color: var(--ink-soft); }
@media (max-width: 840px) { .find-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem;
  position: relative;
}
.quote-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--brick-tint);
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  line-height: 1;
}
.quote-card p { font-size: 1.08rem; font-style: italic; margin: 0.8rem 0 0.9rem; position: relative; }
.quote-card footer { font-weight: 800; font-size: 0.9rem; color: var(--brick); }
.stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
@media (max-width: 720px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 2rem auto 0; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.8rem;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 1rem 1.3rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); color: var(--brick); font-size: 1.2rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 1.3rem 1.1rem; color: var(--ink-soft); }
.faq .faq-body p { margin: 0 0 0.6em; }

/* ---------- Facebook feed ---------- */
.fb-section { background: var(--cream-deep); }
.fb-embed-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}
.fb-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.8rem;
  min-height: 300px;
  width: min(500px, 100%);
}
.fb-frame iframe { border: none; width: 100%; display: block; }

/* ---- Facebook feed: posts only ----------------------------------------
   Facebook's Page plugin always renders its own header and gives no option
   to turn it off, so we crop it away. --fb-crop is the ONLY number to touch:
     · still see a sliver of the FB header?  -> raise it a few px
     · top of the first post looks clipped?  -> lower it a few px
   The soft fade at the top hides small misalignments either way.        */
.fb-frame.posts-only {
  --fb-crop: 64px;
  position: relative;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
}
/* The actual clipping box. contain:paint + its own compositing layer stop the
   cross-origin iframe from painting its header outside these bounds. */
.fb-frame.posts-only .fb-clip {
  display: block;
  position: relative;
  height: 620px;
  overflow: hidden;
  contain: paint;
  border-radius: inherit;
  transform: translateZ(0);
}
.fb-frame.posts-only .fb-clip iframe {
  display: block;
  margin-top: calc(-1 * var(--fb-crop));
}
/* Safety net: if the JS wrapper ever isn't there, the outer box still clips. */
.fb-frame.posts-only > iframe {
  display: block;
  margin-top: calc(-1 * var(--fb-crop));
}
.fb-frame.posts-only:not(:has(.fb-clip)) {
  height: 620px;
  contain: paint;
  transform: translateZ(0);
}
.fb-frame.posts-only::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: linear-gradient(to bottom, var(--paper), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 2;
}
.fb-follow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem;
  max-width: 320px;
  text-align: center;
}
.fb-follow-card img { width: 70px; margin: 0 auto 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}
.footer-grid h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.8rem; }
.site-footer a { color: var(--cream-deep); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { max-width: 260px; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.footer-note { font-size: 0.9rem; color: #B8AFA3; }
.footer-bottom {
  border-top: 1px solid rgba(251,247,239,0.15);
  padding: 1.2rem 0 1.6rem;
  font-size: 0.85rem;
  color: #B8AFA3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 840px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 3.8rem) 0 clamp(1.5rem, 3vw, 2.2rem); }

/* ---------- Products page ---------- */
.deal-banner {
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0 2.5rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1.6rem;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { padding: 1.6rem 1.6rem 0.6rem; display: flex; justify-content: center; }
.product-card[data-flavor="people-pleaser"] .product-media { background: var(--denim-tint); }
.product-card[data-flavor="spicy-boy"] .product-media { background: var(--brick-tint); }
.product-media img { max-height: 250px; width: auto; filter: drop-shadow(0 10px 14px rgba(42,37,33,0.25)); }
.product-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body h3 { margin: 0; }
.product-size { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.product-heat { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.product-heat.mild { color: var(--denim-dark); }
.product-heat.hot { color: var(--brick); }
.product-price { font-family: var(--font-display); font-size: 1.5rem; margin-top: auto; }
.qty-row { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.4rem; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.16rem;
  background: var(--paper);
  flex: none;          /* never let the Add button squeeze it */
}
.qty-stepper button {
  background: var(--cream);
  border: none;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;  /* round buttons sit inside the pill, nothing clipped */
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.qty-stepper button:hover { background: var(--tan); }
.qty-stepper input {
  width: 2.1rem;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  -moz-appearance: textfield;
  background: transparent;
  color: var(--ink);
  padding: 0;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; white-space: nowrap; padding: 0.7rem 1rem; font-size: 0.95rem; }
.info-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.info-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.8rem;
}
.info-panel h3 { display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 760px) { .info-panels { grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,37,33,0.5);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--cream);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(42,37,33,0.25);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.cart-head h2 { font-size: 1.3rem; margin: 0; }
.cart-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; padding: 0.2rem 0.5rem; }
.cart-close:hover { color: var(--brick); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.1rem 1.3rem; display: grid; gap: 1rem; align-content: start; }
.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
}
.cart-item img { width: 62px; height: 62px; object-fit: contain; }
.cart-item h4 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.cart-item .ci-meta { font-size: 0.82rem; color: var(--ink-soft); }
.ci-qty { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.35rem; }
.ci-qty button {
  width: 1.55rem; height: 1.55rem;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.ci-qty button:hover { background: var(--tan); }
.ci-remove { background: none; border: none; color: var(--ink-soft); font-size: 0.78rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 0.3rem; }
.ci-remove:hover { color: var(--brick); }
.ci-price { font-weight: 800; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 2.5rem 1rem; }
.cart-empty img { width: 90px; margin: 0 auto 1rem; opacity: 0.5; }
.cart-foot { border-top: 1px solid var(--line); background: var(--paper); padding: 1.1rem 1.3rem 1.3rem; }
.cart-line { display: flex; justify-content: space-between; font-size: 0.98rem; margin-bottom: 0.35rem; }
.cart-line.total { font-weight: 800; font-size: 1.15rem; margin: 0.5rem 0 0.9rem; }
.cart-line .saving { color: var(--brick); font-weight: 800; }
.discount-hint {
  background: var(--denim-tint);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem;
  margin-bottom: 0.9rem;
  color: var(--denim-dark);
  font-weight: 600;
}
.cart-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: 0.6rem 0 0; }
.cart-error {
  background: var(--brick-tint);
  color: var(--brick-dark);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
  display: none;
}
.cart-error.show { display: block; }

/* Toast */
.toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--denim);
  outline-offset: 1px;
  background: var(--paper);
}
.form-status { margin-top: 1rem; font-weight: 700; display: none; padding: 0.8rem 1rem; border-radius: var(--radius-sm); }
.form-status.ok { display: block; background: var(--denim-tint); color: var(--denim-dark); }
.form-status.err { display: block; background: var(--brick-tint); color: var(--brick-dark); }
.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-card .cc-icon { font-size: 1.6rem; line-height: 1.2; }
.contact-card h3 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.contact-card a { font-weight: 700; }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal .updated { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
