/* === CROPPAK BRAND SYSTEM === */
:root {
  --bg: #FEFCF3;
  --bg-soft: #FAF6E9;
  --bg-card: #F2EDE0;
  --bg-elevated: #FAF6E9;
  --accent: #546B41;
  --accent-hover: #3D5230;
  --accent-glow: rgba(84, 107, 65, 0.1);
  --sage: #99AD7A;
  --beige: #DCCCAC;
  --paper: #FAF6E9;
  --stone: #4A5B3A;
  --stone-light: #6A7B5A;
  --border: rgba(84, 107, 65, 0.18);
  --border-strong: rgba(84, 107, 65, 0.35);
  --text: #1A2E15;
  --text-secondary: #4A5B3E;
  --text-muted: #5A6B4A;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-button: 8px;
  --radius-card: 12px;
  --radius-card-lg: 16px;
  --radius-input: 8px;

  --section-pad: 100px 0;
  --container: 1200px;
  --container-pad: 24px;

  --shadow-card: 0 1px 3px rgba(84, 107, 65, 0.08), 0 0 0 1px var(--border);
  --shadow-elevated: 0 20px 60px -20px rgba(84, 107, 65, 0.15), 0 0 0 1px var(--border-strong);
  --shadow-glow: 0 8px 32px -8px var(--accent-glow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #FAF6E9; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* === SCROLL REVEALS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal:nth-child(1) { animation-delay: 0ms; }
.reveal:nth-child(2) { animation-delay: 100ms; }
.reveal:nth-child(3) { animation-delay: 200ms; }
.reveal:nth-child(4) { animation-delay: 300ms; }

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--accent);
  color: #FAF6E9;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--sage);
  background: rgba(84, 107, 65, 0.04);
}
.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 233, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 300ms ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms;
  cursor: pointer;
}
.nav-item > a:hover { color: var(--text); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 12px 40px -12px rgba(84,107,65,0.25);
  z-index: 100;
  margin-top: 0;
  overflow: hidden;
}
.nav-item:hover .nav-dropdown { display: flex; }

/* Two-panel flyout */
.mega-panel {
  display: flex;
  min-width: 580px;
  max-height: 520px;
  overflow: hidden;
}
.mega-cats {
  width: 240px;
  flex-shrink: 0;
  padding: 8px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.mega-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 150ms;
  cursor: pointer;
}
.mega-cats a:hover, .mega-cats a.active {
  color: var(--text);
  background: var(--accent-glow);
}
.mega-cats a::after {
  content: '›';
  font-size: 18px;
  color: var(--stone-light);
  margin-left: auto;
}
.mega-cats a:hover::after, .mega-cats a.active::after {
  color: var(--accent);
}
.mega-items {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
}
.mega-items-group { display: none; }
.mega-items-group.active { display: block; }
.mega-items a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 150ms;
}
.mega-items a:hover {
  color: var(--text);
  background: var(--accent-glow);
}
.mega-items a.mega-view-all {
  color: var(--accent);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.mega-items a.dropdown-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  padding: 10px 12px 4px;
  cursor: default;
}
.mega-items a.dropdown-heading:hover { background: none; color: var(--accent); }
.nav-dropdown a.dropdown-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  padding: 8px 12px 4px;
  cursor: default;
}
.nav-dropdown a.dropdown-heading:hover { background: none; color: var(--accent); }
.nav-dropdown > div > div > div > a,
.nav-dropdown > div > a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 150ms;
  text-decoration: none;
}
.nav-dropdown > div > div > div > a:hover,
.nav-dropdown > div > a:hover {
  color: var(--text);
  background: var(--accent-glow);
}
.nav-dropdown .dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-button);
  border: 1px solid var(--border-strong);
  transition: all 200ms;
  cursor: pointer;
}
.cart-link:hover { border-color: var(--accent); background: var(--accent-glow); }
.cart-icon { color: var(--text); transition: color 200ms; }
.cart-link:hover .cart-icon { color: var(--accent); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #FAF6E9;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transition: transform 200ms;
}
.cart-count.pulse { animation: pulse 400ms ease; }
.cart-text { font-size: 14px; font-weight: 500; color: var(--text-secondary); }

/* Mega menu: show active group only */
.mega-items-group { display: none; }
.mega-items-group.active { display: block; }

/* === BREADCRUMB === */
.breadcrumb {
  padding: 100px 0 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.breadcrumb a:hover { color: var(--sage); }
.breadcrumb-sep { opacity: 0.4; }

/* === HERO === */
.hero {
  padding: 40px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content > * {
  opacity: 0;
  animation: heroIn 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0ms; }
.hero-content > *:nth-child(2) { animation-delay: 150ms; }
.hero-content > *:nth-child(3) { animation-delay: 300ms; }
.hero-content > *:nth-child(4) { animation-delay: 450ms; }
.hero-content > *:nth-child(5) { animation-delay: 600ms; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(84, 107, 65, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-hover);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 20px 0 0;
  color: var(--text);
}
.hero h1 .accent { color: var(--accent-hover); }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 20px 0 0;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 32px 0 0;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stone-light);
}
.hero-trust-item svg { color: var(--accent); flex-shrink: 0; }

/* === HERO VISUAL === */
.hero-visual {
  position: relative;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-elevated);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(206, 78, 34, 0.08), transparent 60%);
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(232, 226, 201, 0.4));
  z-index: 1;
}
.hero-visual-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-visual-tag .tag-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-visual-tag .tag-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

/* === SECTION === */
section { position: relative; }
.section-pad { padding: var(--section-pad); }
.section-pad-sm { padding: 60px 0; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
}

/* === STAT BAR === */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat-cell {
  background: var(--bg-soft);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === PRODUCT DETAIL GRID === */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.detail-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin: 36px 0 12px;
}
.detail-text h3:first-child { margin-top: 0; }
.detail-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.detail-text strong { color: var(--text); font-weight: 600; }

.detail-text ul {
  list-style: none;
  margin: 16px 0;
}
.detail-text li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.detail-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* === SPECS TABLE === */
.specs-panel {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  padding: 36px;
  box-shadow: var(--shadow-elevated);
}
.specs-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-light);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.spec-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.spec-value strong { color: var(--accent); font-weight: 600; }

.specs-cta {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.specs-cta-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.specs-cta .btn { width: 100%; justify-content: center; }

/* === TRUST BADGES === */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stone-light);
}
.trust-badge svg { color: var(--accent); flex-shrink: 0; }

/* === PROCESS === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: all 300ms ease;
}
.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.process-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}
.process-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(232, 226, 201, 0.5));
}
.gallery-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === FAQ === */
.faq-list {
  margin-top: 48px;
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  list-style: none;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 300ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === RELATED PRODUCTS === */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 300ms ease;
}
.related-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}
.related-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-card);
  overflow: hidden;
}
.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card h3,
.related-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
}
.related-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.related-card-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms;
}
.related-card:hover .related-card-link { gap: 8px; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.cta-section h2 .accent { color: var(--accent-hover); }
.cta-section p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* === FOOTER === */
footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-brand span { color: var(--accent); }
.footer-tag {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 200ms;
}
.footer-col a:hover { color: var(--accent-hover); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-address {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .specs-panel { position: static; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .cta-section h2 { font-size: 34px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-buttons { flex-direction: column; }
  .hero-trust { flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; }
}
/* === QUOTE CART === */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-button);
  border: 1px solid var(--border-strong);
  transition: all 200ms;
  cursor: pointer;
}
.cart-link:hover { border-color: var(--accent); background: var(--accent-glow); }
.cart-icon { color: var(--text); transition: color 200ms; }
.cart-link:hover .cart-icon { color: var(--accent); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #FAF6E9;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  transition: transform 200ms;
}
.cart-count.pulse { animation: pulse 400ms ease; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.cart-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.btn-full { width: 100%; justify-content: center; }
@media (max-width: 700px) {
  .cart-text { display: none; }
}

/* === ADD TO CART BANNER === */
.added-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px -10px rgba(84, 107, 65, 0.15), 0 0 0 1px var(--accent-glow);
  opacity: 0;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.added-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.added-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(84, 107, 65, 0.12);
  color: #546B41;
  flex-shrink: 0;
}
.added-banner-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.added-banner-text strong { color: var(--accent); }
.added-banner a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}

/* === CONFIGURATOR === */
.config-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  padding: 40px;
  box-shadow: 0 20px 60px -20px rgba(84, 107, 65, 0.15), 0 0 0 1px var(--border);
}
.config-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.config-quantity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.config-qty-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.config-qty-input {
  width: 180px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms;
}
.config-qty-input:focus { border-color: var(--accent); }
.config-qty-input::placeholder { color: var(--text-muted); }

.config-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.config-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.config-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.config-optional {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
}
.config-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.config-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
}
.config-pill:hover {
  border-color: var(--stone-light);
  color: var(--text);
}
.config-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FAF6E9;
  font-weight: 600;
}
.config-pill.active .pill-tag {
  background: rgba(255,255,255,0.25);
  color: #FAF6E9;
}
.config-pill.config-custom {
  border-style: dashed;
}
.config-pill.config-custom.active {
  border-style: solid;
}
.pill-tag {
  display: inline-block;
  padding: 1px 6px;
  background: rgba(231, 218, 193, 0.1);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Multi-select pills (print effects) */
.config-multi .config-pill.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent-hover);
}
.config-multi .config-pill.active .pill-tag {
  background: var(--accent);
  color: var(--text);
}

/* Custom size reveal */
.config-custom-size {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
}
.config-custom-size.show {
  animation: fadeUp 300ms ease;
}

/* Config CTA bar */
.config-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.config-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.config-summary-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.config-summary-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

@media (max-width: 700px) {
  .config-panel { padding: 24px; }
  .config-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .config-qty-input { width: 100%; }
  .config-cta { flex-direction: column; align-items: stretch; }
  .config-cta .btn { width: 100%; justify-content: center; }
}

/* === CART/FORM/QUOTE PAGE STYLES === */
/* === PAGE HEADER === */
.page-header {
  padding: 120px 0 40px;}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);}
.page-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 600px;}
/* === CART LAYOUT === */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;}
/* === CART ITEMS === */
.cart-items { display: flex; flex-direction: column; gap: 16px;}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;}
.cart-items-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;}
.clear-cart-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 200ms;
  text-transform: uppercase;
  letter-spacing: 0.05em;}
.clear-cart-btn:hover { color: var(--danger);}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: border-color 200ms;}
.cart-item:hover { border-color: var(--border-strong);}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;}
.cart-item-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;}
.cart-item-sku {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;}
.cart-item-attrs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(206, 78, 34, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 10px;
  line-height: 1.5;}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;}
.qty-label {
  font-size: 13px;
  color: var(--text-secondary);}
.qty-input {
  width: 80px;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 200ms;}
.qty-input:focus { border-color: var(--accent);}
.qty-input::placeholder { color: var(--text-muted);}
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 200ms;
  font-size: 18px;}
.cart-item-remove:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(192, 69, 46, 0.08);}
/* === EMPTY CART === */
.empty-cart {
  padding: 80px 40px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);}
.empty-cart-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);}
.empty-cart h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;}
.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 24px;}
/* === ADD MORE BANNER === */
.add-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
  margin-top: 16px;
  transition: border-color 200ms;}
.add-more:hover { border-color: var(--accent);}
.add-more-text {
  font-size: 14px;
  color: var(--text-secondary);}
.add-more-text strong { color: var(--text);}
.add-more-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms;}
.add-more:hover .add-more-btn { gap: 10px;}
/* === QUOTE FORM === */
.quote-form {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-lg);
  padding: 36px;
  box-shadow: 0 20px 60px -20px rgba(84, 107, 65, 0.15);}
.quote-form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 4px;}
.quote-form-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);}
/* === FORM FIELDS === */
.form-group { margin-bottom: 20px;}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--stone-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;}
.form-label .required { color: var(--accent);}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-input);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted);}
.form-textarea {
  min-height: 80px;
  resize: vertical;}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237A8B6A' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;}
.summary-row:not(:last-child) { border-bottom: 1px solid var(--border);}
.summary-label { color: var(--text-secondary);}
.summary-value { color: var(--text); font-weight: 600;}
.summary-items {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;}
/* === TRUST NOTE === */
.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(84, 107, 65, 0.08);
  border: 1px solid rgba(84, 107, 65, 0.2);
  border-radius: var(--radius-card);
  margin-bottom: 20px;}
.trust-note svg { color: var(--success); flex-shrink: 0; margin-top: 2px;}
.trust-note-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;}
.trust-note-text strong { color: var(--text);}
/* === SUCCESS MESSAGE === */
.success-state {
  text-align: center;
  padding: 40px 20px;}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(84, 107, 65, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);}
.success-state h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 12px;}
.success-state p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;}
/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr;}
.quote-form { position: static;}
.page-title { font-size: 32px;}
@media (max-width: 600px) {
  .cart-item { grid-template-columns: 60px 1fr;}
.cart-item-img { width: 60px; height: 60px;}
.cart-item-remove { grid-column: 2; justify-self: end;}
.form-row { grid-template-columns: 1fr;}
/* ===== STICKY MOBILE CTA BAR ===== */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); padding: 12px 16px; z-index: 999; gap: 8px; }
.mobile-cta-bar a { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.mobile-cta-bar .mobile-cta-quote { background: #FEFCF3; color: var(--accent); }
.mobile-cta-bar .mobile-cta-email { background: transparent; color: #FEFCF3; border: 1.5px solid rgba(254,252,243,0.4); }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex !important; }
  body { padding-bottom: 64px; }
}

/* ===== MOBILE NAV FIXES ===== */
@media (max-width: 900px) {
  .nav-email { display: none; }
  .cart-link { font-size: 13px; padding: 6px 14px; }
  .cart-icon { width: 16px; height: 16px; }
  .cart-text { font-size: 13px; }
}

@media (max-width: 600px) {
  .nav-logo { font-size: 16px; }
  .cart-link { padding: 6px 12px; }
  .cart-text { display: inline; font-size: 12px; }
  .breadcrumb { padding: 12px 16px; font-size: 12px; }
  .breadcrumb a { font-size: 12px; }
  .hero-title { font-size: 32px !important; }
  .hero-sub { font-size: 16px !important; }
  .section-title { font-size: 24px !important; }
  .section-pad { padding: 60px 0 !important; }
  .container { padding: 0 16px; }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section h2 { font-size: 28px !important; }
  .cta-buttons { flex-direction: column; gap: 12px; }
  .cta-buttons .btn { width: 100%; }
}

/* ===== HOMEPAGE MOBILE FIXES ===== */
@media (max-width: 900px) {
  .hp-hero { min-height: 70vh; }
  .hp-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hp-hero-sub { font-size: 16px; }
  .hp-hero-trust { flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .hp-hero-trust .tsep { display: none; }
  .hp-hero-ctas { flex-direction: column; gap: 12px; }
  .hp-hero-ctas .btn { width: 100%; text-align: center; }
  .hp-scroll-hint { display: none; }
  .hp-stat-num { font-size: 32px; }
  .hp-stat-label { font-size: 11px; }
  .hp-marquee { font-size: 18px; }
  .hp-split { padding: 60px 20px; }
  .hp-split-copy h2 { font-size: 24px !important; }
  .hp-img-frame { aspect-ratio: 4/3; }
  .hp-products-grid { grid-template-columns: 1fr; gap: 20px; }
  .hp-cta h2 { font-size: 28px !important; }
  .hp-cta-btns { flex-direction: column; gap: 12px; }
  .hp-cta-btns .btn { width: 100%; text-align: center; }
  .hp-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hp-step { padding: 16px; }
  .hp-step h4 { font-size: 14px; }
  .hp-step p { font-size: 13px; }
}

@media (max-width: 480px) {
  .hp-stats { grid-template-columns: 1fr 1fr; }
  .hp-stat { padding: 28px 12px; }
  .hp-stat-num { font-size: 28px; }
  .hp-steps { grid-template-columns: 1fr; }
  .review-card { padding: 20px; }
}

/* ===== HAMBURGER MENU ===== */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 16px 20px 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  gap: 4px;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-cta {
  background: var(--accent);
  color: #FEFCF3 !important;
  border-radius: 10px;
  padding: 14px !important;
  text-align: center;
  font-weight: 700;
  margin-top: 8px;
  border: none !important;
}
.mobile-menu-email {
  color: var(--text-muted) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: center;
  border: none !important;
  padding: 8px 0 !important;
}

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; flex-direction: column; transform: translateY(-100%); opacity: 0; pointer-events: none; }
  .mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ===== HOMEPAGE PRODUCT CARD FIX ===== */
.hp-products .related-grid { gap: 24px; }
.hp-products .related-card { padding: 24px; }
.hp-products .related-card h3,
.hp-products .related-card h4 { font-size: 15px; line-height: 1.25; margin-bottom: 8px; }
.hp-products .related-card p { font-size: 13px; line-height: 1.5; }
.hp-products .related-card-img { aspect-ratio: 16/10; }
@media (max-width: 600px) {
  .hp-products .related-grid { grid-template-columns: 1fr !important; }
}

.related-grid { gap: 24px; }
.related-card h3,
.related-card h4 { font-size: 15px; line-height: 1.25; }
.related-card p { font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr !important; }
  .related-card { padding: 20px; }
  .related-card h3,
  .related-card h4 { font-size: 14px; }
  .related-card p { font-size: 12px; }
}

/* ===== MOBILE ONLY: 2 columns max on small screens ===== */
@media (max-width: 600px) {
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .related-card { padding: 14px; }
  .related-card h3,
  .related-card h4 { font-size: 13px; line-height: 1.2; }
  .related-card p { font-size: 11px; line-height: 1.4; }
  .related-card-img { aspect-ratio: 16/10; }
  .related-card-link { font-size: 11px; }
}
@media (max-width: 380px) {
  .related-grid { grid-template-columns: 1fr !important; }
}

/* ===== STATE CARDS (US geo page) — CLICKABLE BOXES ===== */
.state-card { text-decoration: none; display: block; }
.state-card-inner { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  padding: 18px 20px; 
  background: var(--bg-soft); 
  border: 2px solid var(--border-strong); 
  border-radius: 14px; 
  transition: all 200ms; 
  height: 100%;
  position: relative;
}
.state-card-inner::after {
  content: '→';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  opacity: 0.4;
  transition: all 200ms;
}
.state-card:hover .state-card-inner { 
  border-color: var(--accent); 
  background: var(--bg); 
  transform: translateY(-3px); 
  box-shadow: 0 12px 28px -10px rgba(84,107,65,0.25); 
}
.state-card:hover .state-card-inner::after {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}
.state-flag { 
  flex-shrink: 0; 
  width: 48px; 
  height: 48px; 
  border-radius: 10px; 
  background: var(--accent); 
  color: #FEFCF3; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: var(--font-display); 
  font-weight: 800; 
  font-size: 17px; 
  letter-spacing: -0.02em; 
  box-shadow: 0 4px 12px -4px rgba(84,107,65,0.3);
}
.state-info { padding-right: 28px; }
.state-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); margin: 0 0 4px; }
.state-info p { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin: 0; }
@media (max-width: 600px) {
  .state-card-inner { padding: 14px 12px; gap: 10px; }
  .state-flag { width: 40px; height: 40px; font-size: 14px; border-radius: 8px; }
  .state-info h3 { font-size: 14px; }
  .state-info p { font-size: 11px; }
  .state-card-inner::after { right: 10px; font-size: 16px; }
}

  .state-info p { font-size: 11px; }
}

/* ===== CONTENT AREA LINK STYLING ===== */
/* Make links visible in all content areas */
.detail-text a,
.blog-main a,
.faq-answer a,
.glossary-answer a,
.guide-content a {
  color: var(--accent) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--sage) !important;
  text-underline-offset: 3px;
  font-weight: 600 !important;
  transition: all 150ms;
}
.detail-text a:hover,
.blog-main a:hover,
.faq-answer a:hover,
.glossary-answer a:hover,
.guide-content a:hover {
  color: var(--accent-hover) !important;
  text-decoration-color: var(--accent);
}
