/* ============================================
   MY SALSITA! — Main Stylesheet
   Color Palette: Terracotta / Earthy / Southwest
   ============================================ */

/* --- CSS Variables --- */
:root {
  --terracotta:    #C0522A;
  --terracotta-dk: #8E3A1A;
  --terracotta-lt: #D97B52;
  --olive:         #5C6B3A;
  --olive-lt:      #7A8C4E;
  --cream:         #F5EFE0;
  --cream-dk:      #EDE0C8;
  --off-white:     #FAF7F2;
  --brown-dark:    #3A2A1A;
  --brown-mid:     #6B4A2A;
  --text-body:     #3D2B1A;
  --text-muted:    #7A6050;
  --white:         #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Arial, sans-serif;

  --radius:   8px;
  --radius-lg: 16px;
  --shadow:   0 4px 20px rgba(58, 42, 26, 0.12);
  --shadow-lg: 0 8px 40px rgba(58, 42, 26, 0.18);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--off-white);
  line-height: 1.7;
}

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

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

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; }

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--brown-dark); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); color: var(--terracotta-dk); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}
.section-label.center { text-align: center; }

.center { text-align: center; }

.subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  border-color: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 82, 42, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn.full-width { width: 100%; text-align: center; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(58, 42, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
}
.logo-my    { color: var(--cream); }
.logo-salsita { color: var(--terracotta-lt); }

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--terracotta-lt); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--brown-dark);
  padding: 1rem 1.5rem;
}
.mobile-menu a {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-menu.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  /* Padding-top creates a 16:9 aspect-ratio box that exactly matches the
     video dimensions. The nav (88px) is offset so the hero starts below it. */
  margin-top: 88px;
  padding-top: 50.625%;  /* 56.25% * 0.90 — 10% height reduction */
  max-height: calc(90vh - 88px);
  overflow: hidden;
  background: #1a0a00;
  text-align: center;
}

.hero-video {
  /* Video fills the aspect-ratio box exactly — no cropping, no black bars */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* cover = fill box, crop excess; top anchor protects Marque's head */
  object-position: top center;
  z-index: 0;
}

/* Overlay, content, and bottom strip must be re-layered over the video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: opacity 0.8s ease;
}

.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(42, 22, 8, 0.25) 0%,
    rgba(42, 22, 8, 0.20) 60%,
    rgba(42, 22, 8, 0.35) 100%
  );
}

.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(42, 22, 8, 0.45);
  backdrop-filter: blur(4px);
  padding: 0.85rem 1.5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  background: rgba(30, 12, 4, 0.38);
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.1em 0.35em 0.15em;
  border-radius: 6px;
}
.hero-my { color: var(--cream); }

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--cream);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  background: rgba(30, 12, 4, 0.38);
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 4px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   STORY
   ============================================ */
.story-section { background: var(--off-white); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.story-image-wrap:hover img { transform: scale(1.03); }

.story-text h2 { margin-bottom: 1.25rem; }
.story-text p  { color: var(--text-body); }
.story-text em { color: var(--terracotta); font-style: italic; }
.story-text .btn { margin-top: 0.75rem; }

/* ============================================
   DIFFERENCE / PILLARS
   ============================================ */
.difference-section {
  background: var(--cream);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--terracotta);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pillar-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.pillar h3   { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pillar p    { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ============================================
   PRODUCTS
   ============================================ */
.products-section { background: var(--off-white); }

.varieties-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.variety-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.variety-card:hover { transform: translateY(-4px); }
.variety-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.5rem; }
.variety-card p  { font-size: 0.88rem; opacity: 0.9; margin: 0; }

.variety-card.mild        { background: linear-gradient(135deg, var(--olive), var(--olive-lt)); }
.variety-card.spicy       { background: linear-gradient(135deg, #A02020, #C84040); }
.variety-card.extra-spicy { background: linear-gradient(135deg, #5A0000, #8B0000); }
.variety-card.smooth      { background: linear-gradient(135deg, var(--terracotta-dk), var(--terracotta)); }
.variety-card.chunky      { background: linear-gradient(135deg, var(--brown-mid), #8A6040); }

/* Sizes */
.sizes-wrap { margin-top: 1rem; }
.sizes-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 1.5rem;
}

.sizes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.size-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--cream-dk);
  transition: border-color var(--transition), transform var(--transition);
}
.size-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
}
.size-card.sample { border-color: var(--olive); }
.size-card.sample .size-price { color: var(--olive); }

.size-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.size-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}
.size-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terracotta);
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
}
.size-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sizes-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

/* ============================================
   JAR SHOWCASE
   ============================================ */
.jar-showcase {
  background: var(--cream);
  padding: 5rem 1.5rem;
}
.jar-showcase-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.jar-showcase img {
  width: 420px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.jar-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--brown-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--terracotta);
}
.jar-quote cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--cream);
  padding-bottom: 3.5rem;
}

/* --- Heading --- */
.testi-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.testi-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.testi-title-accent {
  color: var(--terracotta);
}
.testi-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.testi-divider-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--brown-mid);
  opacity: 0.35;
}
.testi-tomato {
  font-size: 1.3rem;
  line-height: 1;
}
.testi-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Featured card --- */
.testi-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.testi-featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  max-width: 680px;
  width: 100%;
  text-align: center;
  position: relative;
}
.testi-open-quote {
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--terracotta);
  font-family: Georgia, serif;
  margin-bottom: 0.25rem;
}
.testi-featured-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0 0 1rem;
  line-height: 1.4;
}
.testi-featured-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin: 0;
}

/* --- Carousel wrapper --- */
.testi-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}
.testi-track-outer {
  flex: 1;
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform 0.45s ease;
}
.testi-slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  min-width: 100%;
}

/* --- Mini cards --- */
.testi-mini-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.testi-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.testi-mini-quote {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--terracotta);
  font-family: Georgia, serif;
  display: block;
}
.testi-mini-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.testi-mini-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin: 0.5rem 0 0;
}

/* --- Arrows --- */
.testi-arrow {
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  color: var(--brown-dark);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.testi-arrow:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* --- Dots --- */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.testi-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--cream-dk);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.testi-dot.active {
  background: var(--terracotta);
}

/* ============================================
   ORDER SECTION
   ============================================ */
.order-section { background: var(--off-white); }

/* Step blocks */
.order-step-block {
  margin-bottom: 2.5rem;
}
.order-step-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}

/* Flavor row: two axis groups side by side */
.order-flavor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.order-axis-group {}
.order-axis-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

/* Selector containers */
.order-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.order-size-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

/* Individual selector buttons */
.sel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--cream-dk);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-body);
  color: var(--text-body);
  flex: 1;
  min-width: 120px;
}
.sel-btn:hover {
  border-color: var(--terracotta-lt);
  box-shadow: var(--shadow);
}
.sel-btn.selected {
  border-color: var(--terracotta);
  background: rgba(192, 82, 42, 0.06);
  box-shadow: 0 0 0 3px rgba(192, 82, 42, 0.15);
}
.sel-btn strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.sel-btn small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.sel-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

/* Size button extras */
.size-btn { padding: 1rem 0.75rem; }
.size-oz {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.size-price-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terracotta);
}
.size-price-tag.free {
  color: var(--olive);
}

/* Summary bar */
.order-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.order-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.summary-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.summary-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.order-now-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.order-now-btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.order-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}
.order-note a {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================
   IMAGE BREAK
   ============================================ */
.image-break {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.image-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 22, 8, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-break-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); }

.contact-list {
  list-style: none;
  margin: 1.5rem 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.contact-list a {
  color: var(--terracotta);
  font-weight: 700;
  transition: color var(--transition);
}
.contact-list a:hover { color: var(--terracotta-dk); }
.contact-icon { font-size: 1.2rem; }

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--brown-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--cream-dk);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
}
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #EAF4EA;
  border: 1px solid #7AB87A;
  border-radius: var(--radius);
  color: #2A6A2A;
  font-size: 0.9rem;
  text-align: center;
}

.contact-order-note {
  font-size: 0.875rem;
  color: #5a4030;
  margin: 0 0 1rem;
  padding: 0.6rem 0.9rem;
  background: #fdf6f0;
  border-left: 3px solid var(--terracotta);
  border-radius: 0 4px 4px 0;
}
.contact-order-note a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 3rem 1.5rem 0;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: block;
  margin-bottom: 0.75rem;
}
.footer-logo-img {
  height: 140px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.footer-tagline {
  font-style: italic;
  color: var(--cream-dk);
  font-size: 1.15rem;
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--cream-dk);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--terracotta-lt); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact a,
.footer-contact span {
  color: var(--cream-dk);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--terracotta-lt); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 239, 224, 0.5);
  margin: 0;
}
.footer-bottom a {
  color: var(--terracotta-lt);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.5rem;
  border-top: 1px solid rgba(245, 239, 224, 0.12);
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.75rem;
  color: rgba(245, 239, 224, 0.55);
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}
.footer-legal-links a:hover { color: var(--terracotta-lt); }
.footer-legal-sep {
  font-size: 0.65rem;
  color: rgba(245, 239, 224, 0.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet landscape / small desktop (max 1024px) --- */
@media (max-width: 1024px) {
  .pillars-grid    { grid-template-columns: repeat(2, 1fr); }
  .varieties-row   { grid-template-columns: repeat(3, 1fr); }
  .sizes-grid      { grid-template-columns: repeat(3, 1fr); }
  .jar-showcase-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .jar-showcase img { width: 100%; max-width: 480px; margin: 0 auto; }
  .jar-quote blockquote { border-left: none; padding-left: 0; border-top: 4px solid var(--terracotta); padding-top: 1rem; }

  /* Order selectors: wrap gracefully on tablet */
  .order-size-selector { grid-template-columns: repeat(3, 1fr); }
  .order-flavor-row { grid-template-columns: 1fr; gap: 1rem; }

  /* Nav logo slightly smaller */
  .nav-logo-img { height: 52px; }
}

/* --- Tablet portrait / large phone (max 768px) --- */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: block; }
  .nav-logo-img { height: 44px; }

  /* Hero: adjust nav offset for tablet (nav shrinks to 68px) */
  .hero { margin-top: 68px; padding-top: 50.625%; max-height: calc(90vh - 68px); }
  .hero-content { padding: 1.5rem 1.25rem; }
  .hero-bottom-strip { padding: 0.7rem 1.25rem; }

  .story-grid    { grid-template-columns: 1fr; }
  .story-image-wrap img { height: 300px; object-fit: cover; width: 100%; border-radius: var(--radius-lg); }

  .order-steps   { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 2rem; }

  .sizes-grid    { grid-template-columns: repeat(2, 1fr); }
  .varieties-row { grid-template-columns: repeat(2, 1fr); }

  /* Order selectors: stack on tablet */
  .order-size-selector { grid-template-columns: repeat(2, 1fr); }
  .order-flavor-row { grid-template-columns: 1fr; gap: 1rem; }
  .order-summary-bar { flex-direction: column; align-items: stretch; gap: 1rem; }
  .order-now-btn { width: 100%; text-align: center; }

  /* Testimonials: two-column mini cards on tablet */
  .testi-slide { grid-template-columns: repeat(2, 1fr); }
  .testi-featured-card { padding: 2rem 1.75rem; }

  /* Jar showcase stacks on tablet */
  .jar-showcase { padding: 3rem 1.25rem; }

  /* Order CTA stacks */
  .order-cta-group { flex-direction: column; align-items: center; }

  /* Image break text sizing */
  .image-break-text { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Contact form full width */
  .contact-form-wrap { padding: 1.75rem; }

  /* Footer logo smaller on tablet */
  .footer-logo-img { height: 110px; }
}

/* --- Mobile phones (max 480px) --- */
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }

  /* Nav */
  .nav-logo-img { height: 38px; }
  .nav-inner { height: 68px; }

  /* Testimonials: single column on mobile */
  .testi-slide { grid-template-columns: 1fr; }
  .testi-arrow { width: 36px; height: 36px; }
  .testi-featured-card { padding: 1.5rem 1.25rem; }

  /* Hero adjustments for small screens (nav is 68px) */
  .hero { margin-top: 68px; padding-top: 50.625%; max-height: calc(90vh - 68px); }
  .hero-content { padding: 1rem 1rem; }
  .hero-title { background: rgba(30, 12, 4, 0.45); }
  .hero-tagline { background: rgba(30, 12, 4, 0.45); }
  .hero-bottom-strip { padding: 0.6rem 1rem; }
  .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; }

  .pillars-grid    { grid-template-columns: 1fr; }
  .varieties-row   { grid-template-columns: 1fr 1fr; }
  .sizes-grid      { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-group  { flex-direction: column; align-items: center; width: 100%; }
  .hero-cta-group .btn { width: 100%; max-width: 280px; text-align: center; }
  .order-cta-group { flex-direction: column; align-items: center; }
  .order-cta-group .btn { width: 100%; max-width: 320px; text-align: center; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Order selectors: single column on mobile */
  .order-size-selector { grid-template-columns: 1fr 1fr; }
  .order-flavor-row { grid-template-columns: 1fr; }
  .sel-btn { min-width: unset; padding: 0.85rem 0.75rem; }
  .order-summary-bar { flex-direction: column; align-items: stretch; gap: 0.75rem; padding: 1rem 1.25rem; }
  .order-now-btn { width: 100%; text-align: center; }

  /* Footer stacks cleanly */
  .footer-inner { text-align: center; }
  .footer-links, .footer-contact { align-items: center; }
  .footer-logo-img { height: 90px; }

  /* Sizes grid single column on very small phones */
  .sizes-grid { grid-template-columns: 1fr 1fr; }

  /* Contact form */
  .contact-form-wrap { padding: 1.25rem; }
}

/* ============================================
   ORDER CONFIRMATION MODAL
   ============================================ */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 12, 4, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: modalFadeIn 0.25s ease;
}
.order-modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.order-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  animation: modalSlideUp 0.28s ease;
  text-align: center;
  margin: auto;
  align-self: flex-start;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.order-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.order-modal-close:hover {
  color: var(--brown-dark);
  background: var(--cream);
}

.order-modal-icon {
  margin-bottom: 0.75rem;
  line-height: 1;
}
.modal-logo-mark {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.order-modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--brown-dark);
  margin-bottom: 0.3rem;
}

.order-modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.order-modal-summary {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.order-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--cream-dk);
  font-size: 0.95rem;
}
.order-modal-row:last-child { border-bottom: none; }

.oml {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.omv {
  font-weight: 700;
  color: var(--brown-dark);
}

.order-modal-total {
  margin-top: 0.4rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--cream-dk);
  border-bottom: none;
}
.order-modal-total .omv {
  font-size: 1.3rem;
  color: var(--terracotta);
}
.order-modal-total .omv.free-price {
  color: var(--olive);
}

.order-modal-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.order-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.order-modal-actions .btn-outline {
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.order-modal-actions .btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

.order-modal-footer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* --- Modal Customer Form --- */
.modal-form {
  text-align: left;
  margin-bottom: 1.25rem;
}

.modal-form-group {
  margin-bottom: 0.85rem;
}

.modal-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.modal-form-group .required {
  color: var(--terracotta);
}

.modal-form-group input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-form-group input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 82, 42, 0.12);
}

.modal-form-group input::placeholder {
  color: #bbb;
}

/* --- Modal Error Message --- */
.modal-error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* --- Modal Purchase Button --- */
.modal-purchase-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.modal-purchase-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 480px) {
  .order-modal { padding: 2rem 1.25rem 1.5rem; }
  .order-modal-actions { flex-direction: column; align-items: stretch; }
  .order-modal-actions .btn { text-align: center; }
}

/* ============================================
   CART SYSTEM — v2.0
   ============================================ */

/* Quantity stepper */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}
.qty-btn {
  background: var(--cream-light, #f5f0eb);
  border: 1.5px solid #d4c5b0;
  color: var(--brown-dark, #1a0a00);
  font-size: 1.25rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: #e8ddd0; }
.qty-value {
  min-width: 2.75rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown-dark, #1a0a00);
  padding: 0 0.5rem;
}

/* Add to Cart button */
.add-to-cart-wrap {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.add-to-cart-btn {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}
.add-to-cart-btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Inline error (below Add to Cart) */
.cart-inline-error {
  background: #fff3f0;
  border: 1px solid #f5c6c0;
  border-left: 4px solid #C0522A;
  color: #7a2a1a;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  max-width: 560px;
}

/* Cart panel */
.cart-panel {
  background: #fdf6f0;
  border: 1.5px solid #e8d5c4;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cart-panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark, #1a0a00);
}
.cart-clear-btn {
  background: none;
  border: none;
  color: var(--terracotta, #C0522A);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.cart-clear-btn:hover { color: #8a3a1a; }

/* Cart item rows */
.cart-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e8d5c4;
  font-size: 0.95rem;
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-desc { color: var(--brown-dark, #1a0a00); }
.cart-item-qty  { color: #777; font-size: 0.9rem; white-space: nowrap; }
.cart-item-total {
  font-weight: 700;
  color: var(--terracotta, #C0522A);
  white-space: nowrap;
  min-width: 3.5rem;
  text-align: right;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.15s;
}
.cart-item-remove:hover { color: #C0522A; }

/* Cart total row */
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid #e8d5c4;
}
.cart-total-label {
  font-weight: 700;
  color: var(--brown-dark, #1a0a00);
}
.cart-total-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--terracotta, #C0522A);
}

/* Checkout button in cart panel */
.cart-checkout-btn {
  width: 100%;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  padding: 0.9rem;
}

/* Modal: cart item rows */
.modal-cart-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid #e8d5c4;
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal-cart-item-row {
  display: grid !important;
  grid-template-columns: 1fr auto auto !important;
  gap: 0.75rem;
}
.omv-qty {
  color: #777;
  font-size: 0.9rem;
  white-space: nowrap;
  text-align: center;
  min-width: 2.5rem;
}
.omv-total {
  font-weight: 700;
  color: var(--terracotta, #C0522A);
  white-space: nowrap;
  text-align: right;
  min-width: 3.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cart-item-row {
    grid-template-columns: 1fr auto auto;
  }
  .cart-item-remove { display: none; }
  .add-to-cart-btn { width: 100%; }
}
