﻿@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/static/fonts/BeVietnamPro-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/static/fonts/BeVietnamPro-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/static/fonts/BeVietnamPro-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/static/fonts/BeVietnamPro-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("/static/fonts/BeVietnamPro-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/PlayfairDisplay-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/static/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("/static/fonts/NotoSerif-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("/static/fonts/NotoSerif-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("/static/fonts/NotoSerif-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --forest: #3e5a79;
  --forest-2: #48627e;
  --wood: #a57348;
  --wood-ink: #744b2c;
  --gold: #a57348;
  --cream: #ffffff;
  --paper: #ffffff;
  --sand: #aac2d9;
  --ink: #2d5272;
  --muted: #687a89;
  --line: #afc0d1;
  --danger: #8c302c;
  --shadow: 0 18px 50px rgba(55, 40, 22, 0.09);
  --font-body: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --font-display: "Playfair Display", "Noto Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: var(--wood-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 0.45em;
  color: var(--forest);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: white; color: var(--forest); font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: min(1480px, calc(100% - 48px)); margin: auto; }
.section { padding: 86px 0; }
.muted-section { background: #ffffff; }
.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--wood-ink);
  font: 700 0.74rem/1.3 var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f3bf7a; }
.lead { font-size: 1.16rem; color: #676b70; }
.text-link { display: inline-block; margin: 18px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  min-height: 44px;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); background: #3a4a5a; text-decoration: none; }
.button-outline { background: transparent; color: var(--forest); }
.button-light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.button-gold { background: var(--sand); border-color: var(--sand); color: var(--forest); }
.button-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
.button-small { padding: 9px 15px; font-size: .9rem; margin-top: 13px; }
.button-call { padding: 10px 15px; font-size: .9rem; }
.preview-bar {
  padding: 7px 16px;
  background: #d89a3e;
  color: #1d241f;
  text-align: center;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.5;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 246, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { flex: 0 0 280px; color: var(--forest); text-decoration: none; }
.brand img { width: 250px; height: auto; object-fit: contain; }
.brand span { display: block; margin: 1px 0 0 4px; color: var(--muted); font-size: .71rem; font-weight: 500; }
.header-search {
  position: relative;
  flex: 1;
  max-width: 620px;
  display: flex;
  border: 1px solid #cfc5b5;
  border-radius: 999px;
  overflow: hidden;
  background: white;
}
.header-search input { flex: 1; min-width: 0; border: 0; padding: 12px 18px; outline: none; background: transparent; }
.header-search button { border: 0; padding: 0 20px; background: var(--forest); color: white; font-weight: 700; }
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.suggestion-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 8px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.suggestion-item:hover { background: var(--cream); text-decoration: none; }
.suggestion-item img { width: 48px; height: 44px; object-fit: cover; border-radius: 7px; }
.suggestion-item small { display: block; color: var(--muted); }
.header-actions { margin-left: auto; display: flex; gap: 16px; align-items: center; white-space: nowrap; font-size: .88rem; }
.counter { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sand); color: var(--forest); font-weight: 800; }
.menu-toggle { display: none; border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 10px; font-size: 1.4rem; }
.main-nav { border-top: 1px solid #afc0d1; }
.nav-close { display: none; }
.mobile-nav-search { display: none; }
.nav-utility { display: none; }
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 45px; }
.nav-inner > a, .mega > button { color: var(--forest); font-size: .86rem; font-weight: 700; text-decoration: none; border: 0; background: transparent; padding: 10px 0; }
.nav-inner > a.active { color: var(--wood-ink); }
.mega-panel .mega-secondary { border-top: 1px solid var(--line); background: #ffffff; }
.mega { position: relative; }
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: -20px;
  width: min(720px, 80vw);
  padding: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel { display: grid; }
.mega-panel a { padding: 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.mega-panel a:hover { background: var(--cream); }
.mega-panel small { display: block; color: var(--muted); }

.hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; overflow: hidden; background: var(--forest); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: center right; background: var(--forest); }
.hero-overlay { background: linear-gradient(90deg, rgba(12,20,15,.94) 0%, rgba(12,20,15,.72) 42%, rgba(12,20,15,.08) 82%); }
.hero-content { position: relative; z-index: 2; padding: 110px 0 80px; display: flex; align-items: end; gap: 40px; }
.hero-copy { max-width: 820px; color: white; }
.hero-copy h1 { color: #ffffff; }
.hero-copy > p { max-width: 660px; font-size: 1.2rem; color: #d9ded8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; padding: 0; list-style: none; color: #ffffff; font-size: .9rem; }
.hero-points li::before { content: "✓"; color: var(--gold); margin-right: 7px; }
.hero-data { margin-left: auto; width: 250px; padding: 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(56, 72, 92,.72); color: white; backdrop-filter: blur(10px); }
.hero-data > strong { display: block; color: #f2c07b; font: 700 2.6rem/1 var(--font-display); }
.hero-data span { display: block; margin: 5px 0 18px; font-size: .82rem; color: #dbdee1; }
.hero-data div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; font-size: .8rem; }
.hero-data b { color: #f2c07b; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.section-intro { max-width: 760px; color: #696e74; }
.priority-section { background: #ffffff; }
.priority-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.primary-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-section { background: var(--forest); color: #ffffff; }
.price-section h2, .price-section .section-head > a { color: #fff; }
.price-section .eyebrow { color: #e7bc86; }
.price-board { border: 1px solid rgba(255,255,255,.2); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.04); }
.price-board-head, .price-row { display: grid; grid-template-columns: minmax(280px, 1.6fr) minmax(160px, .8fr) minmax(150px, .55fr) auto; gap: 20px; align-items: center; padding: 14px 18px; }
.price-board-head { background: rgba(255,255,255,.09); color: #adb6c4; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-row { border-top: 1px solid rgba(255,255,255,.14); }
.price-product { display: grid; grid-template-columns: 68px 1fr; gap: 12px; align-items: center; color: #fff; text-decoration: none; }
.price-product img { width: 68px; height: 68px; object-fit: contain; border-radius: 8px; background: var(--paper); }
.price-product strong, .price-product small { display: block; }
.price-product small, .price-row > span { color: #a6b2bb; font-size: .8rem; }
.price-value { color: #f2c07b; white-space: nowrap; }
.data-footnote { margin: 14px 0 0; color: #a6b2bb; font-size: .82rem; }
.solid-section { background: #ebe3d6; }
.secondary-section { background: var(--paper); }
.secondary-discovery { background: var(--cream); }
.secondary-grid { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.8fr); gap: 24px; align-items: stretch; }
.feature-panel { padding: 28px; border-radius: 14px; background: var(--forest); color: #fff; }
.feature-panel h3 { color: #fff; }
.feature-panel .text-link { color: #f2c07b; }
.compact-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-articles .article-card h3 { font-size: 1.08rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.category-tile { min-height: 165px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--paper); transition: background .2s ease; }
.category-tile:hover { background: #f1e8db; text-decoration: none; }
.category-tile > span { color: var(--wood-ink); font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.category-tile h3 { margin-top: 35px; font-size: 1.45rem; }
.category-tile p { color: var(--muted); font-size: .84rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.product-card { height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.product-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-fit { position: absolute; top: 12px; left: 12px; border-radius: 999px; padding: 4px 9px; background: rgba(66, 80, 96,.92); color: white; font-size: .68rem; font-weight: 700; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.product-body h3 { min-height: 2.7em; margin-bottom: 8px; font-size: 1.15rem; }
.product-body h3 a { color: var(--forest); text-decoration: none; }
.product-meta { color: var(--muted); font-size: .82rem; margin: 0 0 6px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 15px; }
.product-footer strong { color: var(--wood-ink); font-size: .96rem; }
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 7px;
  margin-top: auto;
  padding-top: 15px;
}
.product-price-button {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px 11px;
  border: 1px solid #d9c8b3;
  border-radius: 8px;
  background: #f5ecdf;
  color: var(--wood-ink);
  text-align: center;
  text-decoration: none;
}
.product-price-button strong { max-width: 100%; color: var(--wood-ink); font-size: .94rem; line-height: 1.25; white-space: nowrap; }
.product-price-button:hover { border-color: var(--wood); background: #eee0cd; text-decoration: none; }
.product-detail-button { width: 100%; min-height: 42px; margin-top: 0; padding: 9px 12px; white-space: nowrap; }
.material-reference-link { color: #8a5428; font: inherit; font-weight: inherit; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.material-reference-link:hover { color: var(--forest); }
.quick-actions { display: flex; gap: 5px; }
.icon-button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--forest); }
.icon-button.active { background: var(--forest); color: white; }
.image-placeholder { height: 100%; display: grid; place-items: center; color: #7c7469; background: #e4ddd2; text-align: center; padding: 20px; }
.image-placeholder.large { min-height: 500px; }

.page-hero { background: var(--forest); color: white; padding: 80px 0; }
.page-hero.compact { padding: 54px 0; }
.page-hero h1 { color: #ffffff; margin-bottom: 12px; }
.page-hero p { max-width: 760px; color: #d7ddd8; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: .82rem; }
.page-hero .breadcrumbs { color: #9fa9b0; }
.breadcrumbs span { margin: 0 8px; }
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: 138px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 1.45rem; }
.filters-head button { display: none; background: none; border: 0; }
.filters form, .stack-form { display: grid; gap: 13px; }
label { display: grid; gap: 5px; font-size: .82rem; font-weight: 700; color: #4d5053; }
input, select, textarea { width: 100%; border: 1px solid #c9c0b3; border-radius: 7px; padding: 10px 11px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-toolbar { display: flex; justify-content: space-between; margin-bottom: 16px; color: var(--muted); font-size: .9rem; }
.mobile-filter-button { display: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--forest); background: white; }
.pagination a.active { background: var(--forest); color: white; }
.empty-state { padding: 56px; border: 1px dashed #c7bdad; border-radius: 14px; text-align: center; background: rgba(255,255,255,.45); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .8fr); gap: 50px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-main { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 9px; }
.gallery-thumbs button { border: 1px solid transparent; border-radius: 8px; overflow: hidden; background: none; padding: 0; aspect-ratio: 1; }
.gallery-thumbs button:hover { border-color: var(--wood); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.product-summary { position: sticky; top: 140px; }
.product-summary h1 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
.price-panel { display: grid; gap: 2px; padding: 20px; margin: 24px 0; border-left: 4px solid var(--gold); background: #ffffff; }
.price-panel span, .price-panel small { color: var(--muted); font-size: .78rem; }
.price-panel strong { color: var(--wood-ink); font-size: 1.5rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.spec-list { margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: .81rem; }
.spec-list dd { margin: 0; font-size: .9rem; }
.notice-box { padding: 15px 17px; border: 1px solid #a8becf; border-radius: 9px; background: #ffffff; font-size: .86rem; }
.notice.error { color: var(--danger); background: #fff0ed; border-color: #e8b3ab; }
.prose-wide { max-width: 920px; }
.prose-wide p { font-size: 1.05rem; color: #4b4e51; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 55px; align-items: start; }
.quote-form { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.quote-form label { margin-bottom: 13px; }
.checkbox-row { display: flex; align-items: start; gap: 8px; font-weight: 400; }
.checkbox-row input { width: auto; margin-top: 4px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-image { aspect-ratio: 4/5; overflow: hidden; border-radius: 14px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-steps { margin: 28px 0; border-top: 1px solid var(--line); }
.story-steps > div { display: grid; grid-template-columns: 55px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.story-steps b { color: var(--wood-ink); }
.data-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 34px; border: 1px solid #a8becf; border-radius: 16px; background: #ffffff; }
.data-note h2 { margin: 0; }
.contact-strip { padding: 46px 0; background: var(--forest); color: white; }
.contact-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-strip h2 { color: #fff; margin: 0; }
.contact-actions { display: flex; align-items: center; gap: 20px; }
.phone-link, .footer-phone { color: #f1bf7a; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; }
.site-footer { padding: 64px 0 24px; background: #375068; color: #e3e7e9; }
.site-footer h3, .site-footer h4 { color: white; }
.footer-brand { width: min(240px, 100%); margin-bottom: 18px; padding: 10px 12px; border-radius: 10px; background: var(--cream); }
.footer-brand img { width: 100%; height: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid a { display: block; margin-bottom: 7px; color: #d5dcd7; }
.footer-bottom { margin-top: 46px; padding-top: 18px; border-top: 1px solid #545e69; display: flex; justify-content: space-between; font-size: .78rem; color: #878b91; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.article-body p { color: #5e656a; }
.article-hero {
  display: block;
  width: min(100%, 920px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 28px auto 36px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #ded5c6;
  box-shadow: 0 18px 45px rgba(65, 80, 94, .12);
}
.mobile-sticky { display: none; }
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 100; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: var(--forest); color: white; box-shadow: var(--shadow); }
.comparison-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.comparison-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.comparison-card img { aspect-ratio: 1; object-fit: contain; background: var(--paper); border-radius: 8px; margin-bottom: 12px; }
.comparison-card dl { display: grid; gap: 8px; font-size: .83rem; }
.comparison-card dt { color: var(--muted); }
.comparison-card dd { margin: 0; }

.admin-shell { background: #eee9df; min-height: 70vh; }
.admin-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 22px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.admin-nav a { padding: 9px 14px; border-radius: 7px; background: white; border: 1px solid var(--line); color: var(--forest); }
.admin-nav a.active { background: var(--forest); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stats-grid > div, .admin-panel, .admin-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.stats-grid span, .stats-grid small { display: block; color: var(--muted); }
.stats-grid strong { display: block; font: 700 2.1rem var(--font-display); color: var(--forest); }
.admin-login-wrap { min-height: 65vh; display: grid; place-items: center; }
.admin-card { width: min(460px, 100%); }
.table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { padding: 11px 12px; border-bottom: 1px solid #afc0d1; text-align: left; vertical-align: top; }
th { background: #ffffff; color: var(--forest); }
.status { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e9e5dd; font-size: .7rem; }
.status.new, .status.draft { background: #f5dfb9; color: #6d4715; }
.status.won, .status.approved, .status.completed { background: #a3bbd6; color: #37608a; }
.status.lost, .status.rejected, .status.failed_review { background: #f0d2ce; color: #7b2b24; }
.inline-form { display: flex; gap: 5px; min-width: 145px; }
.inline-form select { padding: 5px; }
.inline-form button { border: 1px solid var(--line); border-radius: 5px; background: white; }
.centered { text-align: center; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.admin-form { display: grid; gap: 18px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-form textarea { min-height: 110px; }
.admin-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice.success { border-color: #98abbf; background: #abc5df; color: #37608a; }
.error-hero { background: var(--forest); }

@media (max-width: 1100px) {
  .header-actions { display: none; }
  .brand { flex-basis: 220px; }
  .brand img { width: 210px; }
  .nav-utility { display: inline-flex; align-items: center; gap: 6px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout, .quote-grid, .story-grid { grid-template-columns: 1fr; }
  .product-summary, .filters { position: static; }
  .hero-data { display: none; }
}

@media (max-width: 960px) {
  .container { width: min(100% - 28px, 1480px); }
  .section { padding: 56px 0; }
  .header-main { min-height: 66px; gap: 12px; }
  .brand { flex: 1; }
  .brand img { width: 180px; }
  .brand span { display: none; }
  .header-search { display: none; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 80; padding: 72px 22px; background: #ffffff; overflow: auto; overscroll-behavior: contain; }
  .menu-open .main-nav { display: block; }
  .nav-inner { position: relative; display: grid; gap: 5px; }
  .nav-close { display: inline-flex; position: fixed; top: 16px; right: 18px; z-index: 2; align-items: center; justify-content: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--forest); font-weight: 700; }
  .mobile-nav-search { display: flex; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: white; }
  .mobile-nav-search input { border: 0; min-height: 46px; font-size: 16px; }
  .mobile-nav-search button { border: 0; border-radius: 0; padding: 0 16px; background: var(--forest); color: white; font-weight: 700; }
  .nav-inner > a, .mega > button { padding: 12px 2px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .mega-panel { position: static; display: grid; width: auto; grid-template-columns: 1fr 1fr; padding: 10px 0; box-shadow: none; border: 0; }
  .hero { min-height: 620px; }
  .hero-content { padding: 76px 0 55px; }
  .hero-copy > p { font-size: 1rem; }
  .hero-points { display: grid; gap: 7px; }
  .category-grid, .product-grid, .article-grid, .comparison-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .listing-layout { display: block; }
  .filters { display: none; position: fixed; inset: 0; z-index: 90; border-radius: 0; overflow: auto; padding: 24px; }
  .filters.open { display: block; }
  .filters-head button, .mobile-filter-button { display: inline-block; }
  .mobile-filter-button { border: 1px solid var(--line); border-radius: 6px; background: white; padding: 6px 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .price-board-head { display: none; }
  .price-row { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 16px; }
  .price-product { grid-column: 1 / -1; }
  .price-row > span:nth-child(2) { grid-column: 1; }
  .price-value { text-align: right; }
  .secondary-grid { grid-template-columns: 1fr; }
  .compact-articles { grid-template-columns: 1fr 1fr; }
  .contact-strip .container, .contact-actions, .admin-head { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-sticky { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: white; border-top: 1px solid var(--line); }
  .mobile-sticky a { padding: 13px 8px; text-align: center; font-weight: 800; color: var(--forest); }
  .mobile-sticky a:last-child { background: var(--forest); color: white; }
  body { padding-bottom: 48px; }
  input, select, textarea { font-size: 16px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
  .category-grid, .product-grid, .article-grid, .comparison-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-pair { grid-template-columns: 1fr; }
  .brand { flex-basis: 154px; }
  .brand img { width: 154px; }
  .preview-bar { padding-inline: 10px; font-size: .68rem; }
  .compact-articles { grid-template-columns: 1fr; }
  .price-row > .button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
