/* V7 Editorial Heritage Catalog — Structured after global.llbean.com (#FFFFFF, #0C5641 pine green, #3B5343 buttons, #9B1B20 quick strip, Montserrat + Lora) */
:root {
  --ll-bg: #ffffff;
  --ll-surface: #f5f5f5;
  --ll-footer: #efefef;
  --ll-line: #d0d0d0;
  --ll-line-soft: #e6e6e6;
  --ll-pine: #0c5641;
  --ll-promo: #16662c;
  --ll-btn: #3b5343;
  --ll-btn-hover: #2c3f33;
  --ll-charcoal: #333333;
  --ll-red: #9b1b20;
  --ll-red-bright: #cc0000;
  --ll-ink: #1a1a1a;
  --ll-body: #333333;
  --ll-muted: #666666;
}

.v7-theme-btn {
  background: transparent;
  border: 1px solid var(--ll-line);
  color: var(--ll-charcoal);
  padding: 3px 9px;
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.v7-theme-btn:hover {
  border-color: var(--ll-pine);
  color: var(--ll-pine);
}

* { box-sizing: border-box; }
body.v7-body {
  margin: 0;
  background: var(--ll-bg);
  color: var(--ll-body);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.v7-serif {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.v7-mono {
  font-family: 'Geist Mono', ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.v7-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.v7-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--ll-pine);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.v7-skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--ll-pine); outline-offset: 2px; }

/* 1. Top Full-Bleed Pine Announcement Bar */
.v7-announce-bar {
  background: var(--ll-pine);
  color: #ffffff;
  font-size: 12.5px;
  padding: 6px 16px;
}
.v7-announce-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.v7-announce-bar a { color: #ffffff; text-decoration: underline; }
.v7-ver-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 11.5px; }
.v7-ver-links a { text-decoration: none; padding: 1px 6px; border: 1px solid rgba(255,255,255,0.3); border-radius: 2px; }
.v7-ver-links a.is-cur { background: #ffffff; color: var(--ll-pine); font-weight: 700; }

/* 2. Main Header */
.v7-header {
  background: #ffffff;
  border-bottom: 1px solid var(--ll-line);
}
.v7-utility-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 8px 0 4px;
  font-size: 12.5px;
  color: var(--ll-charcoal);
  flex-wrap: wrap;
}
.v7-utility-row a { color: var(--ll-charcoal); text-decoration: none; }
.v7-utility-row a:hover { text-decoration: underline; }

.v7-brand-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 620px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 14px;
}
.v7-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ll-pine);
}
.v7-logo img { width: 34px; height: 34px; border-radius: 4px; }
.v7-logo-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.v7-search-form {
  display: flex;
  width: 100%;
  min-width: 0;
}
.v7-search-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ll-line);
  border-right: 0;
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  color: var(--ll-ink);
  background: #ffffff;
}
.v7-search-form button {
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ll-btn);
  border-radius: 2px;
  background: var(--ll-btn);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
}
.v7-search-form button:hover { background: var(--ll-btn-hover); }

.v7-bag-links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.v7-bag-stack {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.35;
}
.v7-bag-stack a { color: var(--ll-ink); text-decoration: none; }
.v7-bag-stack a:first-child { font-weight: 700; letter-spacing: 0.03em; }
.v7-bag-stack a:hover { text-decoration: underline; }

/* Secondary Contained Promo Strip (#16662C) */
.v7-promo-strip {
  background: var(--ll-promo);
  color: #ffffff;
  text-align: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.v7-promo-strip a { color: #ffffff; text-decoration: underline; margin-left: 6px; }

/* Category Nav Bar */
.v7-cat-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 0;
  flex-wrap: wrap;
}
.v7-cat-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.v7-cat-nav a:hover { color: var(--ll-pine); text-decoration: underline; }
.v7-cat-nav a.is-hot { color: var(--ll-red-bright); font-weight: 700; }

/* 3. Hero 50/50 Asymmetric Editorial Mosaic */
.v7-hero-section { padding: 20px 0 36px; }
.v7-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.v7-mosaic-left {
  position: relative;
  background: linear-gradient(155deg, #0b3c2d 0%, #0c5641 55%, #194d3b 100%);
  color: #ffffff;
  padding: 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 440px;
  border: 1px solid #093527;
}
.v7-mosaic-left h1 {
  margin: 12px 0 14px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.16;
  color: #ffffff;
  max-width: 520px;
}
.v7-mosaic-left p {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}
.v7-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.v7-btn-white:hover { background: #f2f2f2; }

.v7-mosaic-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.v7-studio-tile {
  background: var(--ll-surface);
  border: 1px solid var(--ll-line-soft);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--ll-ink);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.v7-studio-tile:hover { border-color: var(--ll-pine); background: #eef4f1; }
.v7-studio-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ll-pine);
}
.v7-studio-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ll-ink);
}
.v7-studio-meta { font-size: 12.5px; color: var(--ll-muted); }

/* Anchored Crimson Quick-Link Strip (#9B1B20) */
.v7-quick-strip {
  margin-top: 14px;
  background: var(--ll-red);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.v7-quick-strip button,
.v7-quick-strip a {
  background: transparent;
  border: 0;
  color: #ffffff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.v7-callout-line {
  text-align: center;
  padding: 14px 10px 0;
  font-size: 13px;
  color: var(--ll-muted);
}

/* Smart Hint Drawer (Light Heritage style) */
.v7-hint-box {
  margin-top: 14px;
  padding: 16px 20px;
  background: #f3f8f6;
  border: 1px solid var(--ll-pine);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.v7-hint-box[hidden] { display: none !important; }

/* Sections */
.v7-section { padding: 44px 0; }
.v7-section-tinted { background: #fafafa; border-top: 1px solid var(--ll-line-soft); border-bottom: 1px solid var(--ll-line-soft); }
.v7-center-head { text-align: center; margin-bottom: 26px; }
.v7-center-head h2 {
  margin: 0 0 8px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--ll-ink);
}
.v7-center-head p { margin: 0 auto; max-width: 680px; color: var(--ll-muted); font-size: 15px; }

.v7-pine-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.v7-pine-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--ll-pine);
}
.v7-pine-head a { color: var(--ll-pine); font-weight: 600; font-size: 13.5px; }

/* Buttons */
.v7-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--ll-charcoal);
  color: #ffffff;
  border: 1px solid var(--ll-charcoal);
  border-radius: 2px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.v7-btn-dark:hover { background: #1a1a1a; }

.v7-btn-pine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--ll-btn);
  color: #ffffff;
  border: 1px solid var(--ll-btn);
  border-radius: 2px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.v7-btn-pine:hover { background: var(--ll-btn-hover); }

.v7-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  background: #ffffff;
  color: var(--ll-ink);
  border: 1px solid var(--ll-line);
  border-radius: 2px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.v7-btn-outline:hover { border-color: var(--ll-pine); color: var(--ll-pine); }

/* 2-Column Editorial Feature Cards */
.v7-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.v7-editorial-card {
  background: #ffffff;
  border: 1px solid var(--ll-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

/* 14-Row Clean Comparison Table (Light Heritage) */
.v7-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ll-line);
  background: #ffffff;
}
.v7-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}
.v7-table th, .v7-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ll-line-soft);
  text-align: left;
  font-size: 13.5px;
  vertical-align: middle;
}
.v7-table th {
  background: var(--ll-surface);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ll-charcoal);
}
.v7-table th.is-us, .v7-table td.is-us { background: #f2f8f5; }

/* Category & Product Cards */
.v7-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v7-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v7-cat-card {
  background: var(--ll-surface);
  border: 1px solid var(--ll-line-soft);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: var(--ll-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.v7-cat-card:hover { border-color: var(--ll-pine); background: #edf5f1; }

.v7-lot-card {
  background: #ffffff;
  border: 1px solid var(--ll-line-soft);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

/* Modal */
.v7-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.v7-modal-backdrop[hidden] { display: none !important; }
.v7-modal-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  color: var(--ll-ink);
  border: 1px solid var(--ll-line);
  padding: 24px;
}

/* 4-Column Classic Footer (#EFEFEF) */
.v7-footer {
  background: var(--ll-footer);
  border-top: 1px solid var(--ll-line);
  padding: 40px 0 28px;
  color: var(--ll-charcoal);
  font-size: 13px;
}
.v7-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ll-line);
}
.v7-footer h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ll-pine);
}
.v7-footer a { color: var(--ll-charcoal); text-decoration: none; }
.v7-footer a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .v7-brand-search-row { grid-template-columns: 1fr; gap: 12px; }
  .v7-mosaic, .v7-two-col { grid-template-columns: 1fr; }
  .v7-grid-4, .v7-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v7-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .v7-wrap { padding: 0 14px; }
  .v7-mosaic-right, .v7-grid-4, .v7-grid-3, .v7-footer-grid { grid-template-columns: 1fr; }
  .v7-mosaic-left { padding: 28px 18px; min-height: 300px; }
}

/* ── Complete Dark Theme Overrides (at bottom so cascade always wins) ── */
html[data-theme="dark"] {
  --ll-bg: #0b0f14;
  --ll-surface: #121821;
  --ll-footer: #0d1219;
  --ll-line: #283241;
  --ll-line-soft: #1f2937;
  --ll-pine: #34d399;
  --ll-promo: #065f46;
  --ll-btn: #059669;
  --ll-btn-hover: #047857;
  --ll-charcoal: #e5e7eb;
  --ll-red: #991b1b;
  --ll-red-bright: #f87171;
  --ll-ink: #f3f4f6;
  --ll-body: #d1d5db;
  --ll-muted: #9ca3af;
}
html[data-theme="dark"] .v7-announce-bar { background: #064e3b; color: #ecfdf5; }
html[data-theme="dark"] .v7-header { background: #0f141c; border-bottom-color: #1f2937; }
html[data-theme="dark"] .v7-promo-strip { background: #065f46; color: #ecfdf5; }
html[data-theme="dark"] .v7-cat-nav { border-top: 1px solid #1f2937; }
html[data-theme="dark"] .v7-cat-nav a { color: #e5e7eb; }
html[data-theme="dark"] .v7-cat-nav a:hover { color: #34d399; }
html[data-theme="dark"] .v7-cat-nav a.is-hot { color: #f87171; }
html[data-theme="dark"] .v7-bag-stack a { color: #e5e7eb; }
html[data-theme="dark"] .v7-search-form input { background: #111827; color: #f3f4f6; border-color: #374151; }
html[data-theme="dark"] .v7-section-tinted { background: #0f151e; border-color: #1f2937; }
html[data-theme="dark"] .v7-studio-tile,
html[data-theme="dark"] .v7-lot-card,
html[data-theme="dark"] .v7-cat-card,
html[data-theme="dark"] .v7-editorial-card,
html[data-theme="dark"] .v7-table-wrap,
html[data-theme="dark"] .v7-modal-card { background: #141b25; border-color: #283241; color: #f3f4f6; }
html[data-theme="dark"] .v7-studio-tile:hover,
html[data-theme="dark"] .v7-cat-card:hover { background: #1b2432; border-color: #34d399; }
html[data-theme="dark"] .v7-hint-box { background: #11221c; border-color: #10b981; color: #e5e7eb; }
html[data-theme="dark"] .v7-table th { background: #111827; color: #e5e7eb; }
html[data-theme="dark"] .v7-table th.is-us,
html[data-theme="dark"] .v7-table td.is-us { background: rgba(16, 185, 129, 0.1); }
html[data-theme="dark"] .v7-btn-outline { background: #141b25; border-color: #374151; color: #e5e7eb; }
html[data-theme="dark"] .v7-btn-outline:hover { background: #1f2937; border-color: #34d399; color: #34d399; }
html[data-theme="dark"] .v7-theme-btn { background: #141b25; border-color: #374151; color: #e5e7eb; }
html[data-theme="dark"] .v7-theme-btn:hover { border-color: #34d399; color: #34d399; }
html[data-theme="dark"] .v7-footer { background: #0d1219; border-top-color: #1f2937; color: #d1d5db; }
html[data-theme="dark"] .v7-footer a { color: #d1d5db; }
html[data-theme="dark"] .v7-footer input { background: #111827 !important; color: #f3f4f6 !important; border-color: #374151 !important; }
