/* ═══════════════════════════════════════════════════════════════
   HULCY RANCH BEEF — Western Theme Stylesheet
   Palette: saddle brown, aged leather, parchment, burnt orange
   ═══════════════════════════════════════════════════════════════ */

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

/* ── CSS Variables ── */
:root {
  --brown-deep:    #3b1405;
  --brown-saddle:  #6b2d0f;
  --brown-mid:     #8b4513;
  --brown-warm:    #a0522d;
  --leather:       #c17f4a;
  --leather-light: #d4956a;
  --burnt-orange:  #cc5500;
  --parchment:     #f5ead8;
  --cream:         #fdf6ee;
  --cream-dark:    #ede0cc;
  --text-dark:     #2a1205;
  --text-mid:      #5a3010;
  --text-light:    #8b6040;
  --white:         #ffffff;
  --shadow:        0 4px 20px rgba(59,20,5,0.18);
  --shadow-sm:     0 2px 8px rgba(59,20,5,0.12);
  --radius:        6px;
  --radius-lg:     12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--parchment);
  /* Subtle leather texture via CSS */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(139,69,19,0.03) 40px,
      rgba(139,69,19,0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(139,69,19,0.02) 60px,
      rgba(139,69,19,0.02) 61px
    );
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-saddle); text-decoration: none; }
a:hover { color: var(--burnt-orange); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Western Headings ── */
h1, h2, h3 {
  font-family: 'Rye', 'Georgia', serif;
  color: var(--brown-deep);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown-saddle);
  font-style: italic;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--brown-saddle);
  color: var(--cream);
  border-color: var(--brown-saddle);
}
.btn-primary:hover {
  background: var(--brown-deep);
  border-color: var(--brown-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--leather);
  color: var(--white);
  border-color: var(--leather);
}
.btn-secondary:hover {
  background: var(--burnt-orange);
  border-color: var(--burnt-orange);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--brown-deep);
}

.btn-danger {
  background: #8b0000;
  color: #fff;
  border-color: #8b0000;
}
.btn-danger:hover { background: #600; }

.btn-disabled {
  background: #bbb;
  color: #777;
  border-color: #bbb;
  cursor: not-allowed;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ── Navbar ── */
.navbar {
  background: var(--brown-deep);
  background-image: linear-gradient(to bottom, #4a1a08, var(--brown-deep));
  border-bottom: 3px solid var(--leather);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon { font-size: 1.6rem; }

.brand-text {
  font-family: 'Rye', Georgia, serif;
  font-size: 1.25rem;
  color: var(--parchment);
  letter-spacing: 0.04em;
}

/* Rope-style brand divider via pseudo */
.nav-brand::after {
  content: '✦';
  color: var(--leather);
  font-size: 0.8rem;
  margin-left: 14px;
}

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

.nav-links a {
  color: var(--cream-dark);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--leather-light); }

.cart-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--brown-saddle);
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid var(--leather);
}

.cart-badge {
  background: var(--burnt-orange);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Flash Messages ── */
.flash-container {
  padding: 0 20px;
  max-width: 1160px;
  margin: 12px auto 0;
}
.flash {
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-weight: 500;
}
.flash-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.flash-error   { background: #fce4e4; color: #8b0000; border-left: 4px solid #c62828; }
.flash-info    { background: #fff8e1; color: #6d4c00; border-left: 4px solid #f9a825; }

/* ══════════════════════════════════════════════════
   HERO SECTION — Ranch Gate Feel
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Barn wood plank texture via gradient stripes */
  background-color: var(--brown-deep);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 80px,
      transparent 80px,
      transparent 82px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.08) 0px,
      rgba(0,0,0,0.08) 1px,
      transparent 1px,
      transparent 120px
    ),
    linear-gradient(160deg, #3b1405 0%, #6b2d0f 45%, #4a1a08 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(204,85,0,0.08) 0%, transparent 70%);
}

/* Fencepost left accent */
.hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(to bottom, var(--leather) 0%, var(--brown-mid) 50%, var(--leather) 100%);
  box-shadow: 2px 0 8px rgba(0,0,0,0.4);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 20px 60px 60px;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leather-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--leather);
}

.hero-content h1 {
  color: var(--parchment);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.5);
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--cream-dark);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.4);
}

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

/* ── Barbed Wire Divider ── */
.barbed-divider {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  height: 24px;
  margin: 0;
  background: var(--brown-deep);
  position: relative;
}

.barbed-divider svg {
  width: 100%;
  height: 24px;
}

/* SVG inline barbed wire alternative — CSS only rope */
.rope-divider {
  height: 20px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--leather)     0px,
      var(--leather)     4px,
      var(--brown-mid)   4px,
      var(--brown-mid)   8px,
      var(--leather)     8px,
      var(--leather)     10px,
      transparent        10px,
      transparent        14px
    );
  opacity: 0.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   STORY SECTION
   ══════════════════════════════════════════════════ */
.story-section {
  padding: 90px 0;
  background: var(--cream);
  position: relative;
}

/* Subtle leather grain texture */
.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

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

.story-text h2 {
  margin-bottom: 20px;
}

.story-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  background: var(--brown-deep);
  color: var(--parchment);
  padding: 7px 16px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--leather);
}

.story-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 4px solid var(--leather);
}

/* ══════════════════════════════════════════════════
   BUYING OPTIONS
   ══════════════════════════════════════════════════ */
.buying-options {
  padding: 90px 0;
  background: var(--brown-deep);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
      transparent 1px, transparent 80px
    );
  position: relative;
}

.buying-options::before {
  content: '✦  HULCY RANCH BEEF  ✦';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Rye', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--leather);
  white-space: nowrap;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 { color: var(--parchment); }
.section-header p   { color: var(--leather-light); font-size: 1.05rem; margin-top: 12px; }

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.option-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 2px solid var(--leather);
  transition: transform 0.2s, box-shadow 0.2s;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.option-featured {
  border-color: var(--burnt-orange);
  background: linear-gradient(160deg, #fdf6ee, #f5ead8);
}

.option-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burnt-orange);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.option-icon { font-size: 2.8rem; margin-bottom: 12px; }

.option-card h3 { margin-bottom: 6px; }

.option-price {
  font-family: 'Rye', serif;
  font-size: 2rem;
  color: var(--burnt-orange);
  margin: 8px 0 4px;
}

.option-sub {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.option-features {
  list-style: none;
  margin-bottom: 28px;
}
.option-features li {
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
  color: var(--text-mid);
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(139,69,19,0.15);
}
.option-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brown-saddle);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   WHY US
   ══════════════════════════════════════════════════ */
.why-us {
  padding: 80px 0;
  background: var(--cream);
}

/* Western brand stamp heading style */
.why-us .section-header h2,
.why-us .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--parchment);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.2s;
}
.why-item:hover { box-shadow: var(--shadow-sm); }

.why-icon { font-size: 2.4rem; margin-bottom: 12px; }
.why-item h4 { font-style: normal; font-family: 'Playfair Display', serif; color: var(--brown-deep); margin-bottom: 8px; font-size: 1rem; }
.why-item p  { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ══════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════ */
.cta-banner {
  background: var(--brown-saddle);
  background-image: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown-saddle) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent, transparent 30px,
    rgba(255,255,255,0.02) 30px, rgba(255,255,255,0.02) 31px
  );
}

.cta-banner h2 { color: var(--parchment); position: relative; }
.cta-banner p  { color: var(--leather-light); margin: 16px auto 36px; max-width: 500px; position: relative; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ══════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ══════════════════════════════════════════════════ */
.page-header {
  background: var(--brown-deep);
  background-image: linear-gradient(160deg, #3b1405 0%, #6b2d0f 100%);
  padding: 56px 0 48px;
  border-bottom: 4px solid var(--leather);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--leather) 0, var(--leather) 8px,
    var(--burnt-orange) 8px, var(--burnt-orange) 10px,
    var(--leather) 10px, var(--leather) 18px
  );
}

.page-header h1 { color: var(--parchment); }
.page-header p  { color: var(--leather-light); margin-top: 10px; font-size: 1rem; }

/* ══════════════════════════════════════════════════
   CUTS PAGE
   ══════════════════════════════════════════════════ */
.cuts-page { padding: 40px 0 80px; }

.cuts-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--cream-dark);
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border: 2px solid var(--cream-dark);
  background: transparent;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--brown-saddle);
  border-color: var(--brown-saddle);
  color: var(--cream);
}

.cart-summary-bar {
  color: var(--text-mid);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--leather);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream-dark);
  position: relative;
}

.category-heading::before {
  content: '— ';
  color: var(--brown-saddle);
}
.category-heading::after {
  content: ' —';
  color: var(--brown-saddle);
}

.cut-category { margin-bottom: 56px; }

.cuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.cut-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.cut-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cut-card.sold-out { opacity: 0.7; }

.cut-photo-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--cream-dark);
}

.cut-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cut-card:hover .cut-photo { transform: scale(1.04); }

.cut-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 4rem;
  background: var(--parchment);
}

.sold-out-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(139,0,0,0.88);
  color: white;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.low-stock-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--burnt-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cut-info { padding: 18px 16px; }

.cut-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  color: var(--brown-deep);
  margin-bottom: 6px;
  font-style: normal;
}

.cut-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cut-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--cream-dark);
  border-bottom: 1px dashed var(--cream-dark);
}

.cut-price {
  font-family: 'Rye', serif;
  font-size: 1.2rem;
  color: var(--burnt-orange);
}
.cut-weight { font-size: 0.8rem; color: var(--text-light); }
.cut-pack-price { font-size: 0.8rem; color: var(--brown-saddle); font-weight: 600; margin-left: auto; }

.cut-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  background: var(--parchment);
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--brown-saddle);
  transition: background 0.15s;
  font-weight: 600;
}
.qty-btn:hover { background: var(--cream-dark); }

.qty-display {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-deep);
  padding: 0 4px;
}

/* ── Floating Cart ── */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
}

.floating-cart-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brown-deep);
  color: var(--parchment);
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--leather);
  transition: background 0.2s, transform 0.2s;
}
.floating-cart-inner:hover {
  background: var(--brown-saddle);
  transform: translateY(-2px);
  color: var(--cream);
}
.floating-cart-icon { font-size: 1.2rem; }
.floating-cta { color: var(--leather-light); font-size: 0.82rem; }

/* ══════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════ */
.cart-page { padding: 48px 0 80px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-items-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}

.cart-panel-header {
  background: var(--brown-deep);
  color: var(--parchment);
  padding: 18px 24px;
  font-family: 'Rye', serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.cart-empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-light);
}

.cart-empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }

.cart-line-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item-name { font-weight: 600; color: var(--brown-deep); flex: 1; }
.cart-item-qty  { color: var(--text-mid); font-size: 0.9rem; white-space: nowrap; }
.cart-item-price { font-weight: 700; color: var(--burnt-orange); white-space: nowrap; width: 80px; text-align: right; }
.remove-item-btn { background: none; border: none; cursor: pointer; color: #999; font-size: 1.1rem; padding: 4px; }
.remove-item-btn:hover { color: #8b0000; }

.order-form-panel {
  position: sticky;
  top: 80px;
}

.order-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--leather);
  overflow: hidden;
}

.order-form-header {
  background: var(--brown-saddle);
  color: var(--parchment);
  padding: 18px 24px;
  font-family: 'Rye', serif;
  font-size: 1rem;
}

.order-form-body { padding: 24px; }

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown-saddle);
  background: var(--white);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--cream-dark);
  margin-bottom: 16px;
}
.order-total-label { font-weight: 600; color: var(--text-mid); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.order-total-amount { font-family: 'Rye', serif; font-size: 1.5rem; color: var(--burnt-orange); }

.order-note {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════
   ORDER BULK PAGE
   ══════════════════════════════════════════════════ */
.bulk-order-page { padding: 60px 0 80px; }

.bulk-order-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.bulk-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--leather);
  overflow: hidden;
}

.bulk-detail-header {
  background: var(--brown-deep);
  background-image: linear-gradient(135deg, #3b1405, #6b2d0f);
  color: var(--parchment);
  padding: 40px 36px;
  text-align: center;
}

.bulk-detail-header h1 { font-size: 2.5rem; margin-bottom: 8px; }
.bulk-detail-header .bulk-price { font-size: 3.5rem; color: var(--leather-light); }
.bulk-detail-header .bulk-qty  { color: var(--leather-light); font-size: 0.9rem; margin-top: 8px; }

.bulk-detail-body { padding: 32px; }
.bulk-detail-body p { color: var(--text-mid); font-size: 1rem; margin-bottom: 20px; }

.bulk-includes {
  list-style: none;
  margin-bottom: 28px;
}
.bulk-includes li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px dashed var(--cream-dark);
  color: var(--text-mid);
  font-size: 0.95rem;
}
.bulk-includes li::before {
  content: '🐄';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════
   CONFIRMATION PAGE
   ══════════════════════════════════════════════════ */
.confirmation-page {
  padding: 80px 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.confirmation-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--leather);
  overflow: hidden;
}

.confirmation-header {
  background: var(--brown-deep);
  padding: 48px 40px;
  color: var(--parchment);
}
.confirmation-header .check-mark { font-size: 4rem; margin-bottom: 16px; }
.confirmation-header h1 { font-size: 2rem; color: var(--parchment); }

.confirmation-body {
  padding: 36px 40px;
  text-align: left;
}

.confirmation-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--cream-dark);
  font-size: 0.95rem;
}
.confirmation-detail-row .label { color: var(--text-light); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
.confirmation-detail-row .value { color: var(--text-dark); font-weight: 500; text-align: right; }

.payment-box {
  background: var(--parchment);
  border: 2px dashed var(--leather);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}
.payment-box h3 { color: var(--brown-deep); margin-bottom: 8px; }
.payment-box p  { color: var(--text-mid); font-size: 0.9rem; }
.payment-amount { font-family: 'Rye', serif; font-size: 2rem; color: var(--burnt-orange); margin: 8px 0; }

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.site-footer {
  background: var(--brown-deep);
  background-image: linear-gradient(to bottom, var(--brown-deep), #1a0800);
  color: var(--cream-dark);
  padding: 48px 0;
  text-align: center;
  border-top: 4px solid var(--leather);
}

.footer-inner .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-inner .brand-icon { font-size: 1.8rem; }
.footer-inner strong {
  font-family: 'Rye', serif;
  font-size: 1.2rem;
  color: var(--parchment);
  letter-spacing: 0.06em;
}

.site-footer p { color: var(--leather-light); font-size: 0.9rem; margin-top: 8px; }
.footer-contact { color: var(--leather); font-style: italic; }
.footer-small { color: var(--brown-warm); font-size: 0.78rem; margin-top: 20px; }

/* ══════════════════════════════════════════════════
   ADMIN STYLES
   ══════════════════════════════════════════════════ */
.admin-body {
  background: #f0ebe4;
  font-family: 'Inter', sans-serif;
}

.admin-nav {
  background: var(--brown-deep);
  border-bottom: 3px solid var(--leather);
  padding: 0 20px;
}

.admin-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.admin-brand {
  font-family: 'Rye', serif;
  color: var(--parchment);
  font-size: 1rem;
  text-decoration: none;
}

.admin-nav-links { display: flex; gap: 4px; }
.admin-nav-links a {
  color: var(--cream-dark);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.admin-nav-links a:hover  { background: rgba(255,255,255,0.1); }
.admin-nav-links a.active { background: var(--brown-saddle); }

.admin-page { padding: 36px 20px 60px; max-width: 1200px; margin: 0 auto; }

.admin-section-title {
  font-family: 'Rye', serif;
  color: var(--brown-deep);
  font-size: 1.6rem;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--leather);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border-left: 4px solid var(--leather);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.stat-card .stat-value { font-family: 'Rye', serif; font-size: 2rem; color: var(--brown-deep); }
.stat-card .stat-sub   { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.admin-card-header {
  background: var(--parchment);
  border-bottom: 2px solid var(--cream-dark);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown-deep);
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--parchment);
  padding: 10px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 2px solid var(--cream-dark);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--text-dark);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf6f1; }

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pending   { background: #fff8e1; color: #8b6000; border: 1px solid #f9a825; }
.status-confirmed { background: #e3f2fd; color: #0d47a1; border: 1px solid #1976d2; }
.status-fulfilled { background: #e8f5e9; color: #2e7d32; border: 1px solid #4caf50; }
.status-cancelled { background: #fce4e4; color: #8b0000; border: 1px solid #c62828; }

.admin-form {
  padding: 28px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-form-full { grid-column: 1 / -1; }

/* Login Page */
.login-page {
  min-height: 100vh;
  background: var(--brown-deep);
  background-image: linear-gradient(160deg, #3b1405, #6b2d0f);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 2px solid var(--leather);
}

.login-header {
  background: var(--brown-deep);
  padding: 36px 32px;
  text-align: center;
  border-bottom: 3px solid var(--leather);
}
.login-header .brand-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.login-header h1 { color: var(--parchment); font-size: 1.4rem; }
.login-header p  { color: var(--leather-light); font-size: 0.85rem; margin-top: 6px; }

.login-body { padding: 32px; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .story-grid        { grid-template-columns: 1fr; }
  .story-image-wrap  { order: -1; }
  .story-img         { height: 280px; }
  .options-grid      { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .why-grid          { grid-template-columns: 1fr 1fr; }
  .cart-layout       { grid-template-columns: 1fr; }
  .bulk-order-layout { grid-template-columns: 1fr; }
  .admin-form-grid   { grid-template-columns: 1fr; }
  .order-form-panel  { position: static; }
}

@media (max-width: 640px) {
  .nav-links a:not(.cart-link) { display: none; }
  .hero-content { padding: 48px 20px 48px 28px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .why-grid { grid-template-columns: 1fr; }
  .cuts-toolbar { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .confirmation-body { padding: 24px 20px; }
  .admin-nav-links a { padding: 6px 8px; font-size: 0.75rem; }
}
