/* ============================================
   MARSHALL'S MADNESS HOT SAUCE
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Lato:wght@300;400;700;900&family=Oswald:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-cream: #ffffff;
  --color-cream-light: #fafafa;
  --color-cream-dark: #e5e5e5;
  --color-red: #c0392b;
  --color-red-dark: #a93226;
  --color-red-banner: #c0392b;
  --color-gold: #b8860b;
  --color-gold-light: #d4a017;
  --color-brown-dark: #2c1810;
  --color-brown-heading: #3a2a1a;
  --color-text: #4a4a4a;
  --color-text-light: #6a6a6a;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-teal: #2d8a70;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-nav: 'Lato', sans-serif;
  --font-label: 'Oswald', sans-serif;

  --max-width: 1200px;
  --nav-height: 50px;
  --banner-height: 42px;
}

/* --- 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(--color-text);
  background-color: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Announcement Banner --- */
.announcement-banner {
  background-color: var(--color-red-banner);
  color: var(--color-white);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}

/* --- Navigation --- */
.site-nav {
  background: var(--color-white);
  border-bottom: 1px solid #e0dbd3;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 30px;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  font-family: var(--font-nav);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  padding: 6px 14px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-red);
}

.nav-links a.active {
  background: var(--color-red);
  color: var(--color-white);
}

.nav-cart {
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-cart .cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-red);
  color: white;
  font-size: 0.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-black);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 40px 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.4);
}

.hero-content .hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-home {
  min-height: 600px;
  flex-direction: column;
  background-size: contain;
  background-color: #111;
}

.hero-home .hero-text-left {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--color-white);
  padding: 60px;
  align-self: flex-start;
  max-width: 700px;
}

.hero-home .hero-text-left h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.5);
}

.hero-home .hero-text-left p {
  font-size: 0.95rem;
  opacity: 0.9;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

.hero-home .hero-title-large {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 3px 5px 10px rgba(0,0,0,0.4);
}

.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 60px;
  margin-top: auto;
}

.btn-hero {
  background: rgba(255,255,255,0.95);
  color: var(--color-black);
  padding: 12px 30px;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero:hover {
  background: var(--color-white);
  transform: translateY(-1px);
}

/* --- Section Styles --- */
.section {
  padding: 80px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-full {
  padding: 80px 30px;
  width: 100%;
}

.section-cream {
  background: var(--color-cream);
}

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

.text-center {
  text-align: center;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-brown-heading);
  margin-bottom: 15px;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-brown-heading);
  margin-bottom: 10px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Brand Statement (homepage) --- */
.brand-statement {
  text-align: center;
  padding: 70px 30px;
  max-width: 900px;
  margin: 0 auto;
}

.brand-statement p {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-brown-heading);
}

/* --- Meet the Madness (homepage product cards) --- */
.products-section {
  padding: 60px 30px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.products-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 500px;
}

.product-card-text {
  text-align: center;
  max-width: 220px;
}

.product-card-text h3 {
  font-family: var(--font-heading);
  color: var(--color-red);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.product-card-text p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.product-card .bottle-img {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-red);
  transition: gap 0.2s ease;
}

.btn-shop:hover {
  gap: 10px;
}

.btn-shop::after {
  content: '→';
}

/* --- Logo Section (homepage) --- */
.logo-section {
  text-align: center;
  padding: 60px 30px;
}

.logo-section .logo-img {
  max-width: 300px;
  margin: 0 auto 30px;
}

.logo-section h2 {
  margin-bottom: 15px;
}

/* --- Subscribe Section --- */
.subscribe-section {
  text-align: center;
  padding: 70px 30px;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-icon {
  font-size: 2rem;
  color: var(--color-red);
  margin-bottom: 10px;
}

.subscribe-section .subscribe-label {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-red);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.subscribe-section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.subscribe-section p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 25px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.subscribe-form input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--color-red);
}

.btn-subscribe {
  background: var(--color-red);
  color: var(--color-white);
  padding: 12px 35px;
  border: none;
  border-radius: 25px;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-subscribe:hover {
  background: var(--color-red-dark);
}

/* --- Trust Badges --- */
.badges-section {
  padding: 40px 30px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.badges-img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Instagram Section --- */
.instagram-section {
  padding: 40px 30px 60px;
  text-align: center;
}

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 25px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-cream);
  padding: 50px 30px 30px;
  text-align: center;
  border-top: 1px solid var(--color-cream-dark);
}

.footer-description {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.footer-contact h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--color-red);
  font-size: 0.95rem;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* --- About Page --- */
.page-about {
  background-color: #f5f1e8;
}

.page-about .hero {
  min-height: 360px;
}

.page-about .hero-content h1 {
  font-size: 2.2rem;
}

.page-about .hero-content .hero-subtitle {
  font-size: 0.95rem;
}

.page-about .site-footer {
  background-color: #ece7dc;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 30px;
}

.about-content h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
}

.about-content h3 {
  font-size: 1.05rem;
  font-style: italic;
  margin-top: 28px;
  margin-bottom: 10px;
}

.about-content p {
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.about-content strong {
  color: var(--color-brown-heading);
}

.about-content .welcome-text {
  color: var(--color-red);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
}

.about-cta {
  text-align: center;
  padding: 50px 30px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.about-cta p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-brown-heading);
  margin-bottom: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  padding: 50px 30px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--color-cream-dark);
  border-bottom: 1px solid var(--color-cream-dark);
}

.pillar h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Philosophy & Process alternating layout */
.about-philosophy,
.about-process {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 60px 30px;
  max-width: 900px;
  margin: 0 auto;
}

.about-philosophy .text-block,
.about-process .text-block {
  flex: 1;
}

.about-philosophy .image-block,
.about-process .image-block {
  flex-shrink: 0;
}

.about-philosophy .image-block img,
.about-process .image-block img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about-philosophy h3,
.about-process h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.about-philosophy .subtitle,
.about-process .subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.about-philosophy p,
.about-process p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: var(--color-text-light);
}

.btn-red {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  padding: 14px 30px;
  border-radius: 30px;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s;
  margin-top: 10px;
}

.btn-red:hover {
  background: var(--color-red-dark);
}

/* --- Our Peppers Page --- */
.page-peppers {
  background-color: #f5f1e8;
}

.page-peppers .hero {
  min-height: 400px;
}

.page-peppers .hero-content h1 {
  font-size: 2.2rem;
}

.page-peppers .hero-content .hero-subtitle {
  font-size: 0.95rem;
}

.page-peppers .site-footer {
  background-color: #ece7dc;
}

.peppers-intro {
  text-align: center;
  padding: 60px 30px;
  max-width: 800px;
  margin: 0 auto;
}

.peppers-intro p.tagline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-brown-heading);
  margin-bottom: 20px;
}

.pepper-section-title {
  font-family: var(--font-heading);
  color: var(--color-red);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 12px;
}

.pepper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
}

.pepper-card {
  text-align: center;
}

.pepper-card .pepper-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}

.pepper-card .pepper-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
}

.greenhouse-section {
  padding: 40px 30px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.greenhouse-section h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.greenhouse-section p {
  max-width: 700px;
  margin: 0 auto 14px;
  font-size: 0.88rem;
  line-height: 1.8;
}

.greenhouse-section .manifesto {
  margin-top: 18px;
  font-size: 0.88rem;
  line-height: 2;
}

.greenhouse-img {
  max-width: 550px;
  margin: 40px auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* --- Seed to Sauce Page --- */
.page-seedtosauce {
  background-color: #f5f1e8;
}

.page-seedtosauce .hero {
  min-height: 360px;
}

.page-seedtosauce .hero-content h1 {
  font-size: 2.2rem;
}

.page-seedtosauce .site-footer {
  background-color: #ece7dc;
}

.seed-intro {
  text-align: center;
  padding: 60px 30px;
}

.seed-intro h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.seed-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.process-section {
  padding: 40px 30px 60px;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 20px 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  max-width: 200px;
}

.step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.84rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 35px;
  width: 40px;
}

.step-arrow svg {
  width: 28px;
  height: 28px;
}

.closing-tagline {
  text-align: center;
  padding: 60px 30px 80px;
}

.closing-tagline p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-brown-heading);
  margin-bottom: 25px;
}

.closing-tagline .logo-img {
  max-width: 200px;
  margin: 0 auto 30px;
}

/* --- Food Pairing Guide --- */
.page-pairing {
  background-color: #f5f1e8;
}

.page-pairing .site-footer {
  background-color: #ece7dc;
}
.pairing-intro {
  text-align: center;
  padding: 60px 30px 30px;
}

.pairing-intro h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 8px;
}

.pairing-intro .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 20px;
}

.pairing-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Sauce pairing section */
.sauce-pairing {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px;
  border-top: 1px solid var(--color-cream-dark);
}

.sauce-pairing h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.sauce-pairing.sunset h2 { color: var(--color-gold); }
.sauce-pairing.tropical h2 { color: var(--color-gold); }
.sauce-pairing.classic h2 { color: var(--color-gold); }
.sauce-pairing.reaper h2 { color: var(--color-red); }

.heat-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 8px 0 15px;
}

.heat-badge.mild {
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
}

.heat-badge.medium {
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
}

.heat-badge.extreme {
  border: 1.5px solid var(--color-red);
  color: var(--color-red);
}

.sauce-pairing .sauce-description {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 700px;
}

.use-info {
  display: flex;
  gap: 40px;
  margin-bottom: 25px;
}

.use-info .label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.use-info.sunset .label,
.use-info.tropical .label { color: var(--color-gold); }
.use-info.classic .label { color: var(--color-gold); }
.use-info.reaper .label { color: var(--color-red); }

.use-info .value {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.pairings-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.pairing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.pairing-card {
  background: var(--color-white);
  border-radius: 6px;
  padding: 20px;
  border-left: 3px solid transparent;
}

.sauce-pairing.sunset .pairing-card,
.sauce-pairing.tropical .pairing-card { border-left-color: var(--color-gold-light); }
.sauce-pairing.classic .pairing-card { border-left-color: var(--color-gold); }
.sauce-pairing.reaper .pairing-card { border-left-color: var(--color-red); }

.pairing-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--color-brown-heading);
}

.pairing-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.note-box {
  background: var(--color-cream-light);
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 15px;
}

.note-box .note-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.note-box.sunset .note-label,
.note-box.tropical .note-label { color: var(--color-gold); }
.note-box.classic .note-label { color: var(--color-gold); }
.note-box.reaper .note-label,
.note-box.avoid .note-label { color: var(--color-red); }

.note-box p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Quick Reference Table */
.quick-ref {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

.quick-ref h2 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.quick-ref .subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 25px;
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
}

.ref-table thead th {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 15px;
  text-align: center;
  border-bottom: 2px solid var(--color-cream-dark);
}

.ref-table thead th:first-child {
  text-align: left;
}

.ref-table thead th.sunset { color: var(--color-gold); }
.ref-table thead th.tropical { color: var(--color-gold); }
.ref-table thead th.classic { color: var(--color-gold); }
.ref-table thead th.reaper { color: var(--color-red); }

.ref-table tbody td {
  padding: 10px 15px;
  text-align: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-cream-dark);
}

.ref-table tbody td:first-child {
  text-align: left;
  font-weight: 400;
  color: var(--color-brown-heading);
}

.ref-table .best {
  font-weight: 700;
}

.ref-legend {
  display: flex;
  gap: 25px;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Store Page --- */
.page-store {
  background-color: #ffffff;
}

.page-store .site-footer {
  background-color: #ffffff;
}

.store-header {
  text-align: center;
  padding: 50px 30px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.store-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
}

.store-header p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.store-products {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 30px 60px;
}

/* --- Scroll to Top Button --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-red);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-red-dark);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid #e0dbd3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

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

  .nav-toggle {
    display: block;
  }

  .hero-home .hero-title-large {
    font-size: 3.5rem;
  }

  .hero-home .hero-text-left h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 20px 30px;
  }

  .brand-statement p {
    font-size: 1.3rem;
  }

  .product-row {
    flex-direction: column;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .about-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-philosophy,
  .about-process {
    flex-direction: column;
    text-align: center;
  }

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

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }

  .pairing-cards {
    grid-template-columns: 1fr;
  }

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

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

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

  .ref-table {
    font-size: 0.8rem;
  }
}

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

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

  .hero-home .hero-title-large {
    font-size: 2.5rem;
  }
}
