:root {
  --ink: #0d1210;
  --ink-soft: #17221e;
  --green: #1b5c48;
  --green-bright: #247958;
  --gold: #d2a849;
  --paper: #f3f2ed;
  --white: #ffffff;
  --line: #d8d5ca;
  --muted: #666b65;
  --danger: #8c2f28;
  --shadow: 0 18px 44px rgba(13, 18, 16, 0.16);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.drawer-open,
body.dialog-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.shell {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  color: #14233a;
  border-bottom: 3px solid var(--ink);
}

.header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(390px, 2.25fr) minmax(130px, 1fr);
  align-items: center;
  gap: 22px;
  padding-block: 9px 8px;
}

.brand {
  display: block;
  width: min(480px, 100%);
  margin: 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-footer img {
  width: 300px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(69%) sepia(46%) saturate(726%) hue-rotate(3deg) brightness(92%) contrast(89%);
}

.masthead-brand {
  align-self: center;
  min-width: 0;
  text-align: center;
}

.masthead-tagline {
  margin: 4px 0 2px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead-contact {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: #58606c;
  font-size: 0.72rem;
}

.masthead-contact a:hover,
.masthead-contact a:focus-visible {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  padding: 8px 0;
  color: #14233a;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
}

.selection-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 6px 6px 6px 13px;
  border: 1px solid #9d9d98;
  border-radius: 4px;
  background: transparent;
  color: #14233a;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.selection-count {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #393b37;
  color: white;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/ballard-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  width: 76%;
  background: linear-gradient(
    90deg,
    rgba(7, 11, 9, 0.76) 0%,
    rgba(7, 11, 9, 0.71) 70%,
    rgba(7, 11, 9, 0.32) 88%,
    rgba(7, 11, 9, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 36px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 20px;
  color: #e7e8e3;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-bright);
}

.button.ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(13, 18, 16, 0.22);
  color: white;
}

.button.gold {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button.danger {
  border-color: #c7bbb5;
  background: #fff;
  color: var(--danger);
}

.utility-band {
  background: var(--ink);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.utility-grid > div {
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.utility-grid > div:first-child {
  padding-left: 20px;
}

.utility-grid > div:last-child {
  border-right: 0;
}

.utility-grid strong,
.utility-grid span {
  display: block;
}

.utility-grid strong {
  margin-bottom: 2px;
  color: var(--gold);
}

.utility-grid span {
  color: #cbceca;
  font-size: 0.93rem;
}

.inventory-section {
  padding: 48px 0 112px;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-subtext {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inventory-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-control, .sort-control { display: flex; flex-direction: column; align-items: stretch; gap: 6px; color: var(--muted); font-weight: 700; }
.filter-control select, .sort-control select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; padding: 8px; font: inherit; font-weight: 400; color: var(--ink); }

.search-control {
  grid-column: 1 / -1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}

.search-control svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.owner-cost { display: block; margin: 8px 0; padding: 8px; background: #fff2cc; color: #493500; font-weight: 700; }
.owner-cost-notice { position: fixed; bottom: 12px; left: 12px; z-index: 2000; max-width: calc(100vw - 24px); padding: 12px; border: 1px solid #ad8200; background: #fff2cc; color: #493500; box-shadow: 0 2px 12px #0002; }
.owner-cost-notice button { margin-left: 12px; padding: 6px 12px; cursor: pointer; }

.search-control input {
  width: 100%;
  min-height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
}

.inventory-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sync-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
}

.sync-status i.warning {
  background: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.load-more {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 34px;
  text-align: center;
}

.load-more p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.load-more button:disabled {
  opacity: 0.72;
  cursor: default;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(13, 18, 16, 0.12);
}

.product-open {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.product-image {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 240ms ease;
}

.product-image.has-image-margin img {
  transform: scale(.9);
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-card:hover .product-image.has-image-margin img {
  transform: scale(.9225);
}

.product-status {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(50% - 18px);
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--green);
  color: white;
  font-size: 0.74rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-status.low {
  background: #8b5c19;
}

.product-status.sold-out,
.product-status.unknown {
  background: #656762;
}

.manufacturer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: calc(50% - 18px);
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
}

.product-copy {
  flex: 1;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-category {
  margin-bottom: 9px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy h3 {
  min-height: 2.85em;
  margin-bottom: 18px;
}

.product-price {
  margin-top: auto;
  margin-bottom: 3px;
  font-size: 1.24rem;
  font-weight: 800;
}

.compare-price {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 68px;
  padding: 0 20px 18px;
}

.card-add {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.card-share {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: white;
  color: var(--green);
  cursor: pointer;
}

.card-share svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-share:hover,.card-share:focus-visible { background: #f2f7f3; }
.card-share::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 2;
  width: max-content;
  max-width: 190px;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) { .card-share:hover::after { opacity: 1; } }
.card-share:focus-visible::after { opacity: 1; }

.card-add:disabled {
  opacity: 0.5;
  cursor: default;
}

.product-selected-label {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-quantity {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.card-quantity button {
  width: 42px;
  height: 44px;
  border: 0;
  background: white;
  color: var(--ink);
  font-size: 1.35rem;
  cursor: pointer;
}

.card-quantity button:disabled {
  color: #a2a49f;
  cursor: default;
}

.card-quantity output {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 72px 20px;
  border: 1px solid var(--line);
  background: white;
  text-align: center;
}

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

.rich-description p { white-space: pre-wrap; margin: 0 0 .85em; }
.rich-description ul, .rich-description ol { margin: 0 0 1em; padding-left: 1.5em; }
.rich-description li { white-space: pre-wrap; margin: .35em 0; }

.visit-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.visit-copy {
  padding: 88px 84px 88px 0;
}

.visit-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #cdd0cc;
  font-size: 1.08rem;
}

.visit-details {
  margin: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.visit-details > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.visit-details dt {
  color: var(--gold);
  font-weight: 800;
}

.visit-details dd {
  margin: 0;
}

.visit-visual {
  min-height: 480px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  background-image: url("assets/delivery-van.png");
  background-position: center;
  background-size: cover;
}

.visit-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: transparent;
}

.showroom-features {
  max-width: 520px;
  margin: 0 0 28px;
  padding-left: 1.35em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.showroom-features li {
  padding: 7px 0;
}

.showroom-features li::marker {
  color: var(--gold);
}

.about-section {
  padding: 104px 0;
  background: white;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.5fr 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-layout h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.about-layout > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  padding: 36px 0;
  background: #080b09;
  color: white;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.site-footer p {
  margin: 10px 0 0;
  color: #aeb2ad;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-contact a:hover {
  color: var(--gold);
}

dialog {
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(6, 8, 7, 0.76);
  backdrop-filter: blur(3px);
}

.product-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: auto;
  padding: 24px;
  background: rgba(6, 8, 7, 0.76);
  backdrop-filter: blur(3px);
}

.product-dialog[hidden] {
  display: none;
}

.dialog-shell {
  position: relative;
  width: min(1240px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0 auto;
  overflow: auto;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.close-dialog {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
  min-height: 690px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  padding: 34px;
  background: #f4f4f1;
}

.gallery-frame { position:relative; width:100%; height:clamp(280px,55vh,520px); overflow:hidden; touch-action:pan-y; }
.gallery-frame.has-image-margin {background:#fff;}
.gallery-enlarge { display:block; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:zoom-in; }
.gallery-prev,.gallery-next { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:42px; height:42px; padding:0; border:1px solid #ccc; border-radius:50%; background:rgba(255,255,255,.94); color:#101918; font-size:0; line-height:1; cursor:pointer; outline:none; box-shadow:none; }
.gallery-prev::before,.gallery-next::before { content:""; position:absolute; top:50%; left:50%; width:8px; height:8px; border-top:2px solid currentColor; border-right:2px solid currentColor; }
.gallery-prev::before { transform:translate(calc(-50% + 2px),-50%) rotate(-135deg); }
.gallery-next::before { transform:translate(calc(-50% - 2px),-50%) rotate(45deg); }
.gallery-prev:focus,.gallery-next:focus,.gallery-prev:focus-visible,.gallery-next:focus-visible,.gallery-prev:active,.gallery-next:active { outline:none; box-shadow:none; }
.gallery-prev {left:8px;} .gallery-next {right:8px;}
.gallery-position {position:absolute; bottom:8px; left:50%; transform:translateX(-50%); padding:4px 10px; border-radius:20px; background:rgba(255,255,255,.94);color:#101918;}
.photo-lightbox {width:94vw;max-width:1600px;height:92dvh;max-height:92dvh;padding:54px 16px 16px;background:#f4f4f1;}
.lightbox-frame {position:relative;width:100%;height:100%;touch-action:auto;}
.lightbox-image-viewport {width:100%;height:100%;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;}
.lightbox-image-viewport img {display:block;max-width:none;max-height:none;margin:auto;object-fit:contain;}
.lightbox-zoom-controls {position:absolute;top:10px;left:16px;z-index:2;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.94);border-radius:24px;padding:3px 8px;}
.lightbox-zoom-controls button {width:32px;height:32px;border:0;background:transparent;color:#101918;font-size:1.4rem;cursor:pointer;}
.lightbox-zoom-controls button:disabled {opacity:.4;cursor:default;}
.lightbox-zoom-controls .zoom-level {min-width:2.5em;text-align:center;font-size:.85rem;font-weight:700;}
.price-breakdown {margin:16px 0;} .price-breakdown div {display:flex;justify-content:space-between;gap:14px;padding:5px 0;} .price-breakdown dd {margin:0;text-align:right;} .estimate-total {border-top:1px solid var(--line);font-weight:800;}
.discount-note {font-size:.9rem;} .request-honeypot {position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.gallery-main {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}
.gallery-frame.has-image-margin .gallery-main {transform:scale(.9);}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  padding-top: 18px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 84px;
  height: 70px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.gallery-thumb.active {
  border: 2px solid var(--ink);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumb.has-image-margin img {transform:scale(.9);}

.product-information {
  padding: 66px 54px 46px;
}

.product-information h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.detail-price {
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.detail-retail {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-options strong {
  color: var(--ink);
}

.detail-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 700;
}

.detail-availability::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--green-bright);
}

.detail-availability.sold-out,
.detail-availability.unknown {
  color: var(--muted);
}

.detail-availability.sold-out::before,
.detail-availability.unknown::before {
  background: #8a8c87;
}

.add-row .availability-action {
  grid-column: 1 / -1;
}

.detail-description {
  color: var(--muted);
}

.detail-specs {
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.detail-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  font-weight: 800;
}

.detail-specs dd {
  margin: 0;
  color: var(--muted);
}

.add-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
}

.quantity-select {
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}

.qr-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(6, 8, 7, 0.62);
}

.selection-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(520px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  box-shadow: -18px 0 44px rgba(13, 18, 16, 0.2);
  transform: translateX(103%);
  transition: transform 220ms ease;
}

.selection-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: white;
}

.drawer-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.drawer-body {
  overflow: auto;
  padding: 24px 28px;
}

.drawer-empty {
  display: grid;
  min-height: 300px;
  align-content: center;
  text-align: center;
  color: var(--muted);
}

.selection-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.selection-item img {
  width: 96px;
  height: 82px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}

.selection-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.selection-item p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.item-quantity {
  display: flex;
  align-items: center;
  gap: 7px;
}

.item-quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
  cursor: pointer;
}

.item-quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.selection-item .selection-stock {
  color: var(--green);
  font-weight: 700;
}

.remove-item {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.82rem;
}

.drawer-footer {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
  background: white;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
}

.drawer-total strong {
  font-size: 1.5rem;
}

.drawer-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.drawer-footer .button {
  width: 100%;
}

.inquiry-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: white;
}

.inquiry-form {
  position: relative;
  padding: 46px;
}

.inquiry-form h2 {
  margin-bottom: 10px;
  font-size: 2.8rem;
}

.form-intro {
  color: var(--muted);
}

.request-summary {
  margin: 26px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.request-summary strong {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.request-summary ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  font-weight: 700;
}

.inquiry-form sup {
  color: var(--danger);
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
}

.inquiry-form input {
  min-height: 48px;
  padding: 0 12px;
}

.inquiry-form textarea {
  padding: 12px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-actions span {
  color: var(--muted);
  font-size: 0.82rem;
}

.success-message {
  padding: 84px 36px;
  text-align: center;
}

.success-message h2 {
  font-size: 2.6rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 0.45fr 1.25fr;
  }

  .about-layout > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 36px, 760px);
  }

  .header-inner {
    grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr) minmax(118px, 1fr);
    gap: 14px;
  }

  .brand {
    width: min(400px, 100%);
  }

  .hero {
    min-height: 420px;
    align-items: end;
  }

  .hero-photo {
    background-position: 65% center;
  }

  .hero-shade {
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 9, 0.66);
  }

  .hero-content {
    padding-block: 44px;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }

  .utility-grid > div,
  .utility-grid > div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .utility-grid > div:last-child {
    border-bottom: 0;
  }

  .visit-layout,
  .about-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .inventory-toolbar {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .search-control {
    min-width: 0;
  }

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

  .visit-copy {
    padding: 68px 0;
  }

  .visit-visual {
    min-height: 420px;
    margin-inline: -18px;
    padding: 46px 18px;
  }

  .about-layout {
    gap: 22px;
  }

  .about-layout > p:last-child {
    grid-column: auto;
  }

  .product-gallery {
    min-height: 520px;
  }

  .product-information {
    padding: 44px 32px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand brand"
      "nav selections";
    min-height: 0;
    gap: 6px 12px;
    padding-block: 12px 9px;
  }

  .brand {
    min-width: 0;
  }

  .brand {
    width: min(320px, 100%);
  }

  .masthead-brand {
    grid-area: brand;
  }

  .masthead-tagline {
    margin-top: 5px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }

  .masthead-contact {
    flex-wrap: wrap;
    gap: 2px 8px;
    font-size: 0.68rem;
  }

  .masthead-contact span {
    display: none;
  }

  .main-nav {
    grid-area: nav;
    gap: 18px;
    font-size: 0.78rem;
  }

  .selection-trigger {
    grid-area: selections;
    min-height: 42px;
    padding-left: 9px;
    font-size: 0.7rem;
  }

  .selection-trigger > span:first-child {
    display: inline;
  }

  .selection-count {
    width: 26px;
    height: 26px;
  }

  .hero {
    min-height: 390px;
  }

  .hero-content {
    padding-block: 34px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .inventory-section {
    padding: 32px 0 76px;
  }

  .inventory-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    min-height: 170px;
  }

  .product-copy h3 {
    min-height: 0;
  }

  .footer-inner {
    align-items: center;
    flex-direction: column;
  }

  .footer-contact {
    align-items: center;
  }

  .product-dialog {
    width: 100%;
    padding: 0;
    background: white;
  }

  .product-dialog .dialog-shell {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .product-gallery {
    min-height: 390px;
    padding: 24px 16px 18px;
  }

  .gallery-main { min-height: 0; }

  .product-information {
    padding: 36px 20px 28px;
  }

  .add-row {
    grid-template-columns: 74px 1fr;
  }

  .drawer-header,
  .drawer-body,
  .drawer-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .selection-item {
    grid-template-columns: 78px 1fr;
  }

  .selection-item img {
    width: 78px;
    height: 70px;
  }

  .remove-item {
    grid-column: 2;
    justify-self: start;
  }

  .inquiry-form {
    padding: 42px 20px 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
