/* =========================================================
   CARMEL Goods — global stylesheet
   ========================================================= */

@font-face {
  font-family: "Rose Club";
  src: url("fonts/RoseClub.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hinato";
  src: url("fonts/Hinato.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* official CARMEL brand palette */
  --cream: #fff8e7;
  --cream-deep: #fff3bc;
  --tan: #f0b8a8;
  /* General site accent (underlines, eyebrow labels, borders, active nav
     state). As foreground color on cream/white it measures ~2:1 — well
     under WCAG AA's 4.5:1 (text) and even 3:1 (non-text/UI) — so decorative
     uses (borders, underlines, focus rings) are fine, but the handful of
     spots below that use it as actual text/icon color (.eyebrow,
     .qty-btn:hover, .info-card a:hover, .accent-word) do not pass AA.
     Flagged, not silently patched with an off-palette shade — see commit
     message / handoff notes. */
  --light-blue: #9db8d8;
  /* Muted coral/salmon accent, kept independent of --light-blue above.
     Still used where a readable (contrast-passing) accent-colored text is
     needed — back-link, quote arrows, signature line — since it clears
     WCAG AA (4.5:1+) against cream/white and --light-blue does not. */
  --wood-text: #a85a4e;
  --text: #3d1c02;
  --text-soft: rgba(61, 28, 2, 0.68);
  --white: #ffffff;

  /* flavor accents, drawn from the official palette */
  --pumpkin-spice: #e07868;
  --brown-sugar: #3d1c02;
  --honey-cinnamon: #d86070;
  --vanilla: #fff3bc;
  --mixed-berries: #780018;
  --garlic-chili: #1e0f35;
  --chimichurri: #b8cc78;
  --coffee: #3d1c02;
  --sampler: #f2a0b0;

  /* type */
  --font-body: "Livvic", Arial, sans-serif;
  --font-logo: "Rose Club", "Livvic", cursive;
  --weight-title: 700;
  --weight-subtitle: 600;
  --weight-body: 400;
  --weight-emphasis: 500;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(61, 28, 2, 0.12);
  --shadow-card: 0 6px 18px rgba(61, 28, 2, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   Accessibility helpers
   ========================================================= */

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 1000;
  background-color: var(--text);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--light-blue);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  margin: 0 0 0.5em;
  color: var(--text);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 0.75em;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--text);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background-color: var(--brown-sugar);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-outline:hover {
  background-color: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 9px 20px;
  font-size: 0.82rem;
}

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 248, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(61, 28, 2, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-mark {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 2.3rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Two-line CARMEL wordmark construction (CAR / MEL, MEL shifted right).
   Font-family/weight/color/size all still come from .logo-mark above
   (including its responsive overrides); this only adds the two-line
   layout. Proportions measured from production logo artwork, do not
   adjust. */
.carmel-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.carmel-mark .car {
  line-height: 0.9;
}

.carmel-mark .mel {
  line-height: 0.84;
  margin-left: 0.71em;
}

/* Inline brand-name mentions within running copy */
.font-logo {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: "Hinato", "Georgia", serif;
  font-weight: normal;
  font-size: 1.2rem;
  color: var(--text);
  margin-top: -2px;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--light-blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
}

/* =========================================================
   Language toggle
   ========================================================= */

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background-color: var(--white);
  box-shadow: var(--shadow-card);
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text-soft);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.lang-btn:hover {
  opacity: 1;
  color: var(--text);
  transform: scale(1.08);
}

.lang-btn.active {
  opacity: 1;
  color: var(--text);
  background-color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--light-blue);
}

.lang-btn.active:hover {
  transform: none;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 72px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy .logo-mark {
  font-size: 3.4rem;
}

.hero-copy .logo-sub {
  font-size: 2rem;
  margin-left: 6px;
}

.hero-tagline {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: var(--weight-emphasis);
  color: var(--text-soft);
  max-width: 46ch;
  margin: 22px 0 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Placeholder image blocks
   ========================================================= */

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-deep),
    var(--cream-deep) 12px,
    var(--tan) 12px,
    var(--tan) 24px
  );
  border: 1.5px dashed var(--light-blue);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 20px;
}

.img-placeholder span {
  max-width: 220px;
}

.img-placeholder::before {
  content: "📷";
  display: block;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero-image .img-placeholder,
.hero-image .product-photo {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
}

/* Drop-in replacement for .img-placeholder once real photography is
   ready — see IMAGES.md. Keeps the same box sizing/aspect-ratio. */
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* =========================================================
   Brand story teaser
   ========================================================= */

.story-teaser {
  padding: 40px 0 70px;
}

.story-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 48px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.story-card p {
  font-family: var(--font-body);
  font-weight: var(--weight-subtitle);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* =========================================================
   Section headings
   ========================================================= */

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: 2.1rem;
}

/* =========================================================
   Product grid + cards
   ========================================================= */

.featured-products,
.products-section {
  padding: 30px 0 70px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.product-card {
  --accent: var(--light-blue);
  --tag-ink: var(--white);
  --price-ink: var(--accent);
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(61, 28, 2, 0.16);
}

.product-card .img-placeholder,
.product-card .product-photo {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.product-card .img-placeholder {
  border-width: 0 0 1.5px 0;
}

.product-photo-link {
  display: block;
}

.product-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: color-mix(in srgb, var(--accent) 10%, white);
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
  background-color: var(--accent);
  color: var(--tag-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-weight: var(--weight-subtitle);
  font-size: 1.25rem;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover {
  text-decoration: underline;
}

.product-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
  flex: 1 0 auto;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-deep);
  flex-shrink: 0;
}

.product-size {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.product-price {
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  font-size: 1.15rem;
  color: var(--price-ink);
}

/* Multiple size/price tiers for a single product */
.product-sizes {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-deep);
  flex-shrink: 0;
}

.product-sizes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
}

.product-sizes li + li {
  border-top: 1px dashed var(--cream-deep);
}

.product-sizes .size {
  color: var(--text-soft);
}

.product-sizes .price {
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  color: var(--price-ink);
}

/* Per-product WhatsApp order button */
.whatsapp-order-btn,
.whatsapp-order-btn-sample {
  align-self: flex-start;
  margin-top: 14px;
}

/* Flavor picker (Butter Sample Pack) */
.flavor-picker {
  margin-top: 4px;
  padding: 14px 16px;
  background-color: var(--cream);
  border-radius: 10px;
  flex-shrink: 0;
}

.flavor-picker-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.flavor-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flavor-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  cursor: pointer;
}

.flavor-options input[type="checkbox"] {
  accent-color: var(--light-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.flavor-options input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.flavor-options label:has(input:disabled) {
  color: var(--tan);
}

.flavor-picker-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 10px 0 0;
}

/* Quantity stepper (every product card, incl. the Butter Sample Pack,
   where it counts packs — separate from the flavor picker above). Buttons
   are sized to the 40x40px touch-target minimum used elsewhere on the site
   (see .lang-btn). */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 4px;
  border-radius: 999px;
  background-color: var(--cream);
  flex-shrink: 0;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.qty-btn:hover {
  background-color: var(--light-blue);
  color: var(--white);
}

.qty-btn:active {
  transform: scale(0.94);
}

.qty-input {
  width: 42px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Butter Sample Pack: quantity means "how many packs", so it gets its own
   labeled row instead of sitting silently next to the flavor picker. */
.qty-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.qty-stepper-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.qty-stepper-row .qty-stepper {
  margin-top: 0;
}

/* accent color classes */
.accent-pumpkin-spice   { --accent: var(--pumpkin-spice); --tag-ink: var(--text); }
.accent-brown-sugar     { --accent: var(--brown-sugar); }
.accent-honey-cinnamon  { --accent: var(--honey-cinnamon); --tag-ink: #000; }
.accent-vanilla         { --accent: var(--vanilla); --tag-ink: var(--text); --price-ink: var(--text); }
.accent-mixed-berries   { --accent: var(--mixed-berries); }
.accent-garlic-chili    { --accent: var(--garlic-chili); }
.accent-chimichurri     { --accent: var(--chimichurri); --tag-ink: var(--text); --price-ink: var(--text); }
.accent-coffee          { --accent: var(--coffee); }
.accent-sampler         { --accent: var(--sampler); --tag-ink: var(--text); --price-ink: var(--text); }

/* =========================================================
   Product detail page
   ========================================================= */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--wood-text);
  margin-bottom: 28px;
}

.back-link:hover {
  color: var(--text);
}

.product-detail-section {
  padding: 48px 0 20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-detail-media .product-photo {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
}

/* Reuses .product-card's markup/JS hooks (qty stepper, WhatsApp button,
   meta/sizes) at a larger, non-hover, non-grid scale for the standalone
   detail page. */
.product-detail-copy {
  box-shadow: none;
}

.product-detail-copy:hover {
  transform: none;
  box-shadow: none;
}

.product-detail-copy .product-card-body {
  padding: 0;
  background-color: transparent;
}

.product-detail-copy h1 {
  font-weight: var(--weight-title);
  font-size: 2rem;
  margin-bottom: 10px;
}

.product-detail-copy .product-desc {
  font-size: 1rem;
}

.product-info-section {
  padding: 10px 0 70px;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
  background-color: var(--brown-sugar);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: var(--cream);
  max-width: 46ch;
  margin: 0 auto 28px;
}

.cta-band .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-band .btn-outline:hover {
  background-color: var(--white);
  color: var(--brown-sugar);
}

/* =========================================================
   Products page — section blocks
   ========================================================= */

.product-section-block {
  margin-bottom: 70px;
}

.product-section-block:last-child {
  margin-bottom: 0;
}

.product-section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--tan);
  padding-bottom: 14px;
}

.product-section-heading h2 {
  margin: 0;
}

.product-section-heading span {
  font-weight: var(--weight-subtitle);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.page-header {
  padding: 60px 0 20px;
  text-align: center;
}

.page-header p {
  font-style: italic;
  font-weight: var(--weight-emphasis);
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 auto;
}

/* =========================================================
   About page
   ========================================================= */

.about-hero {
  padding: 60px 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}

.about-grid.reverse .about-copy {
  order: 2;
}

.about-grid.reverse .about-image {
  order: 1;
}

.about-image .img-placeholder,
.about-image .product-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* At tablet widths, auto-fit would naturally land on 3 columns (with the
   4th value card wrapping alone). Force a clean 2x2 grid instead. */
@media (min-width: 561px) and (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  background-color: color-mix(in srgb, var(--light-blue) 10%, white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  font-weight: var(--weight-subtitle);
  font-size: 1.1rem;
}

.value-card p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-section {
  padding: 60px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-form {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--tan);
  border-radius: 10px;
  background-color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(157, 184, 216, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 14px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
}

.info-card h2 {
  font-weight: var(--weight-title);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.info-card p,
.info-card a {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.info-card a:hover {
  color: var(--light-blue);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--cream);
  border: 1.5px solid var(--tan);
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background-color: var(--wood-text);
  color: var(--white);
  transform: translateY(-2px);
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background-color: var(--cream-deep);
  color: var(--text);
  font-size: 0.9rem;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.error {
  background-color: var(--mixed-berries);
  color: var(--white);
}

/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   About page — editorial brand story sections
   ========================================================= */

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.fade-in-up {
  animation: fadeUpIn 0.7s ease both;
  animation-delay: var(--delay, 0s);
}

/* Full-bleed photo hero */
.photo-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
  /* Warm dark fallback matching the cafe-counter photo's own tone, so
     there's no white flash or unreadable gap before the image loads. */
  background-color: var(--text);
}

.photo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61, 28, 2, 0.32), rgba(61, 28, 2, 0.6));
  z-index: 1;
}

.photo-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 640px;
}

.photo-hero .eyebrow {
  color: var(--cream-deep);
}

.photo-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin: 10px 0 18px;
}

.photo-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 auto;
}

.fun-section {
  padding: 70px 0;
}

.fun-section.alt-bg {
  background-color: var(--white);
}

.fun-section .about-grid {
  margin-bottom: 0;
}

/* Short italic accent line, used in place of keyword bubbles */
.editorial-line {
  text-align: center;
  font-family: var(--font-body);
  font-weight: var(--weight-subtitle);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 58ch;
  margin: 30px auto 0;
}

.accent-word {
  font-family: var(--font-body);
  font-weight: var(--weight-subtitle);
  color: var(--light-blue);
}

/* Full-width quote band */
.quote-section {
  background-color: var(--cream-deep);
}

.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.quote-es {
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 10px;
}

.quote-en {
  font-family: var(--font-body);
  font-weight: var(--weight-subtitle);
  font-size: 1.1rem;
  color: var(--text-soft);
  margin: 0;
}

/* Not / is contrast list */
.contrast-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 36px auto 0;
}

.contrast-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contrast-list.revealed .contrast-row {
  opacity: 1;
  transform: none;
}

.contrast-list.revealed .contrast-row:nth-child(1) { transition-delay: 0.02s; }
.contrast-list.revealed .contrast-row:nth-child(2) { transition-delay: 0.10s; }
.contrast-list.revealed .contrast-row:nth-child(3) { transition-delay: 0.18s; }
.contrast-list.revealed .contrast-row:nth-child(4) { transition-delay: 0.26s; }

.contrast-not {
  text-align: right;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.contrast-arrow {
  color: var(--wood-text);
  font-weight: 700;
  font-size: 1.1rem;
}

.contrast-is {
  text-align: left;
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  color: var(--text);
  font-size: 1.05rem;
}

.signature-line {
  text-align: center;
  font-family: var(--font-body);
  font-weight: var(--weight-title);
  font-size: 2.4rem;
  color: var(--wood-text);
  margin: 0 0 16px;
}

.about-copy .signature-line {
  text-align: left;
  font-size: 2.2rem;
  margin: 4px 0 12px;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .contrast-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .photo-hero {
    min-height: 52vh;
  }

  .photo-hero h1 {
    font-size: 2.2rem;
  }

  .contrast-row {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .contrast-not,
  .contrast-is {
    text-align: center;
  }

  .quote-es {
    font-size: 2.1rem;
  }

  .signature-line {
    font-size: 2.2rem;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background-color: var(--light-blue);
  color: var(--text);
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

/* Footer accent elements — Butter Yellow (--cream-deep) on the Light Blue
   footer background is a confirmed brand-system pairing. */
.footer-grid .logo-mark,
.footer-grid .logo-sub {
  color: var(--cream-deep);
}

.footer-about p {
  color: var(--text);
  font-size: 0.9rem;
  max-width: 34ch;
  margin-top: 14px;
}

.footer-col h3 {
  color: var(--cream-deep);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream-deep);
}

.footer-bottom {
  border-top: 1px solid rgba(61, 28, 2, 0.15);
  padding-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text);
}

/* =========================================================
   Floating WhatsApp bubble (injected via script.js on every page)
   ========================================================= */

.whatsapp-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-bubble svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whatsapp-bubble:hover,
.whatsapp-bubble:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(61, 28, 2, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-bubble {
    transition: none;
  }
}

@media (max-width: 640px) {
  .whatsapp-bubble {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-bubble svg {
    width: 25px;
    height: 25px;
  }

  /* keep the fixed WhatsApp bubble from sitting on top of the last
     footer content when the page is scrolled all the way down */
  .site-footer {
    padding-bottom: 96px;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .about-grid.reverse .about-copy,
  .about-grid.reverse .about-image,
  .contact-grid,
  .product-detail-grid,
  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .about-grid.reverse .about-copy,
  .about-grid.reverse .about-image {
    order: initial;
  }

  .hero-image,
  .product-detail-media {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(61, 28, 2, 0.08);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-right {
    gap: 10px;
  }

  .logo-mark {
    font-size: 1.9rem;
  }

  .logo-sub {
    font-size: 1rem;
  }

  .hero-copy .logo-mark {
    font-size: 2.6rem;
  }

  .hero-copy .logo-sub {
    font-size: 1.6rem;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .story-card {
    padding: 32px 24px;
  }

  .story-card p {
    font-size: 1.15rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-section-heading {
    flex-direction: column;
    gap: 4px;
  }
}
