@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --charcoal: #1b1e21;
  --ink: #000;
  --red: #ed2427;
  --burgundy: #873737;
  --burgundy-hover: #6a2929;
  --paper: #fff;
  --subtle: #f4f3f2;
  --muted: #625e5c;
  --line: #e7e3e1;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
p { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
::selection { color: white; background: var(--burgundy); }

.shell { width: min(1280px, 100% - clamp(2rem, 9.45vw, 9rem)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--burgundy);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.masthead {
  border-top: 3px solid var(--burgundy);
  background: var(--charcoal);
  color: white;
}

.masthead-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3.85vw, 4rem);
  min-height: 83px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.55rem;
  color: var(--red);
  font: 800 clamp(1.45rem, 2.1vw, 1.9rem) / 1 var(--display);
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.brand img { flex: none; width: 32px; height: auto; }
.brand-suffix { font-size: 0.78em; }

.search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 46px;
  align-items: stretch;
  background: #fcfbfb;
  color: var(--ink);
  border: 1px solid var(--burgundy);
  border-radius: 3px;
}

.search-category { display: flex; align-items: center; position: relative; }

.search-category::after {
  content: "";
  position: absolute;
  inset: 10px 0 10px auto;
  width: 1px;
  background: #e4e0df;
}

.search-category::before {
  content: "";
  position: absolute;
  right: 1rem;
  top: calc(50% - 0.23rem);
  width: 0.4rem;
  height: 0.4rem;
  border: solid #5f5856;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.search-category select,
.search-box input {
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
}

.search-category select { width: 100%; appearance: none; padding: 0 2rem 0 1rem; cursor: pointer; }
.search-box input { width: 100%; padding-inline: 1rem; }
.search-box input::placeholder { color: #756f6d; }
.search-box :is(input, select):focus-visible { position: relative; z-index: 1; outline-offset: -2px; }
.search-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding-inline: 1.15rem;
  border: 0;
  color: white;
  background: var(--burgundy);
  font-size: 0.875rem;
  font-weight: 700;
}

.search-submit:hover { background: var(--burgundy-hover); }
.icon-search { position: relative; width: 13px; height: 13px; border: 1.5px solid; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; right: -4px; bottom: -2px; width: 6px; height: 1.5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }

.cart-toggle {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  min-width: 6rem;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: white;
  text-align: left;
}

.cart-toggle:hover .cart-totals { color: white; }
.cart-icon { position: relative; display: grid; place-items: center; width: 29px; height: 32px; }
.icon-bag { position: relative; display: block; width: 21px; height: 19px; margin-top: 7px; border: 1.5px solid; border-radius: 2px; }
.icon-bag::before { content: ""; position: absolute; top: -7px; left: 5px; width: 8px; height: 8px; border: 1.5px solid; border-radius: 6px 6px 0 0; border-bottom: 0; }
.cart-count { position: absolute; top: -2px; right: -5px; min-width: 19px; height: 19px; display: grid; place-items: center; padding-inline: 3px; border-radius: 1rem; background: var(--burgundy); color: white; font-size: 0.6875rem; font-weight: 700; }
.cart-totals { display: grid; gap: 0.2rem; color: #d1cdcb; font-size: 0.8125rem; white-space: nowrap; }
.cart-totals strong { color: white; font-size: 0.9375rem; }

.navigation { border-bottom: 1px solid var(--line); background: white; }
.nav-layout, .nav-links { display: flex; align-items: center; }
.nav-layout { justify-content: space-between; gap: 1.5rem; }
.nav-links { align-self: stretch; gap: clamp(1.4rem, 3.1vw, 3.25rem); }
.nav-links a, .nav-phone { font-size: 0.875rem; font-weight: 650; white-space: nowrap; }
.nav-links a { position: relative; display: flex; align-items: center; min-height: 53px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--burgundy); }
.nav-links a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--red); }
.nav-phone { color: var(--burgundy); font-size: 0.9375rem; letter-spacing: 0.02em; }
.nav-phone:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #262320;
  border-bottom: 3px solid var(--burgundy);
}

.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 62% 45%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #131618f5 0%, #131618dc 28%, #13161872 57%, #13161807 91%),
    linear-gradient(0deg, #13161872 0%, transparent 35%);
}

.hero-layout { min-height: clamp(470px, 38.6vw, 570px); display: grid; align-items: center; }
.hero-copy { max-width: 42rem; padding: 3.35rem 0 3.75rem; }
.eyebrow { color: var(--burgundy); font: 700 0.8125rem / 1.4 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.hero-location { display: flex; align-items: center; gap: 0.7rem; color: white; }
.hero-location::before { content: ""; width: 1.7rem; height: 3px; background: var(--red); }
.hero h1 {
  margin: 0.15em 0 0.2em;
  color: #fff;
  font: 800 clamp(4.5rem, 7.2vw, 7.1rem) / 0.86 var(--display);
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.hero-description { max-width: 27rem; margin-bottom: 1.55rem; color: #f0ece8; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; }
.hero-description a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.17em; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.65rem 1.15rem; border: 1px solid transparent; border-radius: 2px; font-size: 0.875rem; font-weight: 700; line-height: 1.25; }
.button-primary { background: var(--burgundy); color: white; }
.button-primary:hover { background: var(--burgundy-hover); }
.hero .button { padding-inline: 1.4rem; }
.button-outline { background: transparent; border-color: var(--burgundy); color: var(--burgundy); }
.button-outline:hover { background: #f0e6e4; }

.shop-section { padding-block: clamp(2.6rem, 4.15vw, 4.2rem) clamp(3.4rem, 5.6vw, 5.2rem); scroll-margin-block-start: 1rem; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.section-title { margin: 0; font: 800 clamp(2.65rem, 4.15vw, 4.15rem) / 0.95 var(--display); letter-spacing: -0.005em; text-transform: uppercase; }

.shop-notice {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
  scroll-margin-block-start: 1rem;
  border: 1px solid #e6d7d4;
  border-top: 4px solid var(--burgundy);
  border-radius: 2px;
  background: #f8f2f0;
}

.shop-notice-copy,
.shop-notice-contact {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 2.75rem);
}

.shop-notice-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.shop-notice-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2.5rem;
  bottom: -2.75rem;
  width: 10rem;
  height: 10rem;
  background: url("assets/wsm-mark.png") center / contain no-repeat;
  opacity: 0.08;
}

.shop-notice-copy .section-title { font-size: clamp(2.5rem, 4.35vw, 4rem); }
.shop-notice-copy p:not(.eyebrow) { max-width: 36rem; color: #514b49; line-height: 1.6; }
.shop-notice-contact { color: var(--paper); background: var(--charcoal); }
.shop-notice-contact h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.shop-notice-contact p { max-width: 29rem; color: #e2dddd; line-height: 1.55; }
.shop-notice-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.15rem; }
.shop-notice-actions .button { border-color: #b46c68; overflow-wrap: anywhere; }

.shop-notice-phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border: 1px solid #848080;
  border-radius: 2px;
  font-size: 1.05rem;
  white-space: nowrap;
}

.shop-notice-phone:hover { background: #34373a; border-color: var(--paper); }

.section-note { margin-top: 0.58rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.filters button { min-height: 40px; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 2px; color: #373232; background: white; font-size: 0.875rem; font-weight: 600; }
.filters button:hover { border-color: var(--burgundy); color: var(--burgundy); }
.filters button[aria-pressed="true"] { border-color: var(--charcoal); background: var(--charcoal); color: white; }

.search-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin-bottom: 1rem; color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
.text-button { padding: 0.3rem 0; border: 0; background: transparent; color: var(--burgundy); font-size: 0.875rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.14em; }
.text-button:hover { color: var(--burgundy-hover); }
.empty-results { display: grid; justify-items: start; gap: 1rem; padding: 2.25rem 1.5rem; border: 1px solid var(--line); background: var(--subtle); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 1.7vw, 1.5rem); }
.product-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: white; }
.product-card:hover { border-color: #c8b9b6; }
.product-photo { width: 100%; aspect-ratio: 1.34; object-fit: cover; background: var(--subtle); }
.product-info { display: grid; align-content: start; justify-items: start; gap: 0.4rem; padding: 0.95rem 0.95rem 0.65rem; }
.product-category { color: var(--burgundy); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.075em; text-transform: uppercase; }
.product-name { margin: 0; font-size: clamp(0.95rem, 1.25vw, 1.0625rem); font-weight: 700; line-height: 1.35; }
.product-detail-button { padding: 0; border: 0; color: inherit; background: none; font-weight: inherit; text-align: left; }
.product-detail-button::before { content: ""; position: absolute; inset: 0; }
.product-detail-button:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: 0.15em; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.35rem; padding: 0 0.95rem 0.85rem; }
.product-price { font-size: 1rem; font-weight: 700; }
.add-button { position: relative; min-height: 38px; padding: 0.45rem 0.62rem; border: 1px solid #e6d8d6; border-radius: 2px; background: #fbf6f5; color: var(--burgundy); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.add-button:hover { border-color: var(--burgundy); background: var(--burgundy); color: white; }
.add-button span { margin-right: 0.15rem; font-size: 1rem; line-height: 0.8; }

.range-section { margin-bottom: clamp(3rem, 5.5vw, 5rem); scroll-margin-block-start: 1rem; }
.range-layout { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 330px; overflow: hidden; border-top: 3px solid var(--burgundy); border-radius: 2px; background: var(--subtle); }
.range-layout img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; object-position: center 53%; }
.range-copy { display: grid; align-content: center; justify-items: start; gap: 0.75rem; padding: clamp(1.75rem, 4.1vw, 4rem); }
.range-copy .section-title { font-size: clamp(2.5rem, 3.75vw, 3.65rem); }
.range-copy p:not(.eyebrow) { max-width: 30rem; color: #514b49; line-height: 1.65; }
.range-copy .button { margin-top: 0.25rem; }

.site-footer { border-top: 1px solid #373334; background: var(--charcoal); color: white; }
.footer-layout { display: grid; grid-template-columns: 1.55fr 0.75fr 0.8fr; gap: 2rem; padding-block: 2.4rem 1.8rem; }
.footer-layout :is(section, nav) { display: grid; justify-items: start; align-content: start; gap: 0.58rem; }
.footer-layout h2 { margin: 0 0 0.25rem; font-size: 0.9375rem; }
.footer-layout p, .footer-layout a:not(.brand) { color: #e0dcd9; font-size: 0.875rem; line-height: 1.5; }
.footer-layout a:not(.brand):hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.55rem; padding-block: 1.05rem; border-top: 1px solid #454445; color: #c8c3c1; }
.footer-bottom small { font-size: 0.8125rem; }

body:has(dialog[open]) { overflow: hidden; }
dialog { color: var(--ink); border: 0; background: white; }
dialog::backdrop { background: #101215b3; }
.cart-dialog { position: fixed; inset: 0 0 0 auto; width: min(100%, 440px); height: 100%; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; }
.cart-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.dialog-head .section-title { font-size: 2.55rem; }
.close-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 2px; color: var(--charcoal); background: white; font-size: 1.55rem; line-height: 1; }
.close-button:hover { color: var(--burgundy); border-color: var(--burgundy); }
.cart-body { min-height: 0; overflow: auto; padding-inline: 1.3rem; }
.cart-empty { padding-block: 2rem; color: var(--muted); }
.cart-items { padding: 0; margin: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 0.8rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 64px; object-fit: cover; border: 1px solid var(--line); background: var(--subtle); }
.cart-line-info { display: grid; gap: 0.45rem; }
.cart-line-heading, .cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.65rem; }
.cart-line-heading { font-size: 0.9375rem; }
.cart-line-heading span { font-weight: 650; white-space: nowrap; }
.quantity-control { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.quantity-control button { min-width: 34px; min-height: 34px; border: 1px solid var(--line); border-radius: 2px; background: white; color: var(--ink); }
.quantity-control button:hover:not(:disabled) { border-color: var(--burgundy); color: var(--burgundy); }
.quantity-control button:disabled { opacity: 0.5; cursor: default; }
.cart-footer { display: grid; gap: 0.85rem; padding: 1.15rem 1.3rem; border-top: 1px solid var(--line); background: var(--subtle); }
.subtotal { display: flex; justify-content: space-between; font-weight: 650; }
.cart-footer p { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }
.cart-footer .button { width: 100%; }

.product-dialog { width: min(calc(100% - 2rem), 735px); max-width: none; max-height: calc(100% - 2rem); padding: 0; border-radius: 3px; }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.product-dialog > img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; background: var(--subtle); }
.detail-close { position: absolute; top: 0.65rem; right: 0.65rem; }
.product-dialog > form { position: absolute; inset: 0; pointer-events: none; }
.detail-close { pointer-events: auto; }
.detail-copy { display: grid; align-content: center; gap: 0.7rem; padding: 3.65rem 1.5rem 1.65rem; }
.detail-copy .section-title { font-size: clamp(2.25rem, 5vw, 3rem); }
.detail-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding-top: 0.35rem; }
.detail-actions strong { font-size: 1.2rem; }

.toast {
  position: fixed;
  z-index: 2;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--red);
  border-radius: 2px;
  background: var(--charcoal);
  color: white;
  box-shadow: 0 8px 35px #0003;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms, transform 150ms;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .masthead-layout { gap: 1rem; }
  .brand { font-size: 1.45rem; gap: 0.4rem; }
  .brand img { width: 28px; }
  .brand-suffix { display: none; }
  .search-category select { padding-left: 0.65rem; }
  .search-box input { padding-inline: 0.65rem; }
  .search-submit { padding-inline: 0.85rem; }
  .cart-toggle { min-width: auto; gap: 0.55rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 610px) {
  .masthead-layout { grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; padding-block: 0.5rem 0.8rem; }
  .masthead .brand { font-size: 1.6rem; }
  .brand-suffix { display: inline; }
  .cart-toggle { grid-area: 1 / 2; }
  .cart-totals { gap: 0.1rem; }
  .search-box { grid-area: 2 / 1 / 3 / -1; margin-top: 0.35rem; }
  .nav-layout { min-width: 0; }
  .nav-links { width: 100%; gap: 1.25rem; overflow-x: auto; scrollbar-width: thin; }
  .nav-links a { min-height: 48px; }
  .nav-links a[aria-current]::after { bottom: 0; }
  .nav-links a:focus-visible { outline-offset: -2px; }
  .nav-phone { display: none; }
  .hero-layout { min-height: 435px; }
  .hero-image { object-position: 66% center; }
  .hero::after { background: linear-gradient(90deg, #131618e8, #13161896 71%, #1316186b), linear-gradient(0deg, #13161850, transparent 45%); }
  .hero-copy { padding-block: 3.25rem; }
  .hero h1 { font-size: clamp(3rem, 13.4vw, 5.15rem); }
  .hero-description { max-width: 21rem; }
  .shop-notice { grid-template-columns: minmax(0, 1fr); }
  .range-layout { grid-template-columns: 1fr; }
  .range-layout img { min-height: 0; height: auto; aspect-ratio: 1.65; }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-layout #about { grid-column: 1 / -1; }
  .product-dialog[open] { grid-template-columns: 1fr; }
  .product-dialog > img { height: 215px; min-height: 0; }
  .detail-copy { padding: 1.2rem; }
}

@media (max-width: 370px) {
  .search-category select { max-width: 7.25rem; }
  .search-submit { width: 44px; }
  .search-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .product-info, .product-actions { padding-inline: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
