:root {
  --ink: #1c241f;
  --muted: #546158;
  --paper: #f8f6ee;
  --surface: #fffdf5;
  --line: #dcded2;
  --forest: #1b2b24;
  --sage: #dfe7d7;
  --sun: #f7c46e;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  font-family: 'Avenir Next', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
html { scroll-padding-top: 22px; }
button, a, input { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 3; padding: 12px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 2px solid #987143; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(3.4rem, 6.8vw, 7.3rem); line-height: .93; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.08; }
h3 { line-height: 1.22; }
p { color: var(--muted); line-height: 1.55; }
.wrap { width: min(100% - 64px, 1260px); margin-inline: auto; }
.nav, .footer { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 18px; }
.nav nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 3vw, 34px); }
.nav nav a, .footer nav a { font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav nav a:hover, .footer nav a:hover { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; line-height: 1.05; text-decoration: none; }
.brand-icon { position: relative; flex: 0 0 45px; width: 45px; height: 45px; overflow: hidden; border-radius: 50%; background: #f3eee2; }
.brand-icon img { position: absolute; width: 57px; max-width: none; left: -6px; top: 1px; mix-blend-mode: multiply; }
.mark-small { display: block; margin-top: 4px; font-size: .56rem; letter-spacing: .22em; }
.cart-toggle, .icon-button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; font-weight: 700; }
.cart-toggle { padding: 7px 8px 7px 14px; font-size: .85rem; }
.cart-toggle span { display: inline-grid; place-items: center; border-radius: 99px; background: var(--sage); min-width: 1.55rem; height: 1.55rem; margin-left: 4px; padding-inline: 3px; }
.hero { background: radial-gradient(ellipse at 90% 0, #344437, transparent 62%), var(--forest); color: var(--surface); }
.hero-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 5vw, 86px); align-items: center; padding-block: clamp(25px, 5vw, 65px); }
.intro { padding-block: 24px; }
.eyebrow { color: #44634d; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { margin: 16px 0 22px; }
.hero em { color: var(--sun); font-weight: inherit; }
.hero p:not(.eyebrow) { max-width: 37ch; color: #e0e5dc; font-size: 1.04rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 25px; }
.hero-browse { font-size: .9rem; color: #f7f2e8; font-weight: 650; }
.intro .button { background: var(--sun); color: #241c13; }
.intro .button:hover { background: #ffd592; }
.hero-image { position: relative; }
.hero-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px 18px 108px 18px; }
figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; border-radius: 6px; background: #1b2621; color: #f5f1e8; font-size: .65rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px;
  width: fit-content; border: 1px solid transparent; border-radius: 999px;
  padding: 12px 18px; background: var(--forest); color: white; font-weight: 750; text-decoration: none;
}
.button:hover { background: #385041; }
.button.secondary { border-color: #9da99b; color: var(--ink); background: transparent; }
.button.secondary:hover { background: var(--sage); }
.button.compact { padding: 8px 14px; font-size: .87rem; }
.text-button { border: 0; padding: 4px 0; color: #36543d; background: transparent; font-weight: 750; text-decoration: underline; text-underline-offset: .22em; }
.shop { padding-block: 30px; }
.finder, .fit-guide {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(20px, 5vw, 68px); border-radius: 18px; padding: clamp(22px, 4vw, 44px);
}
.finder { background: var(--sage); border: 1px solid #ccd8c8; }
.finder h2, .fit-guide h2, .catalog-heading h2 { margin: 5px 0 8px; }
.finder-intro > a { display: inline-block; margin-top: 12px; color: #334c3a; font-size: .87rem; font-weight: 750; }
.finder-controls { display: grid; gap: 15px; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { padding: 0; margin-bottom: 8px; font-size: .85rem; font-weight: 780; }
.brand-options, .model-options, .finder-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.brand-options .choice { flex: 1 1 110px; text-align: left; min-height: 52px; }
.choice { display: inline-flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid #9eae9c; border-radius: 8px; padding: 9px 12px; background: var(--surface); color: var(--ink); font-size: .85rem; }
.choice span, .model-options p { color: var(--muted); font-size: .8rem; }
.choice:hover { border-color: #506e58; background: #f1f4e8; }
.choice[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: var(--surface); }
.choice[aria-pressed="true"] span { color: #d4e2ce; }
.finder-actions { gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-size: .85rem; font-weight: 750; min-width: 0; }
input, select, textarea {
  display: block; width: 100%; min-width: 0; padding: 10px 11px;
  border: 1px solid #aab3a8; border-radius: 7px; background: var(--surface); color: var(--ink);
}
select:disabled { opacity: .65; }
input[type="checkbox"] { width: auto; }
.check { display: flex; align-items: center; }
.catalog { padding: clamp(34px, 6vw, 63px) 0; }
.catalog-heading, .split { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.catalog-heading { align-items: end; margin-bottom: 11px; }
.catalog-search { flex: 0 1 285px; width: 100%; }
.catalog-categories { margin-bottom: 12px; }
.catalog-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 31px; font-size: .84rem; }
.empty-catalog { grid-column: 1 / -1; padding: 24px; border: 1px dashed #a6ada2; border-radius: 12px; }
.empty-catalog p { margin: 6px 0 12px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 224px), 1fr)); gap: 15px; }
.product { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.product img, .quick-view img, .product-model { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8e7da; }
.product-model {
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
  padding: clamp(16px, 2vw, 24px); background: radial-gradient(ellipse at 90% 10%, #e7d5ab, transparent 64%), #e6eada;
}
.product-model span { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-model strong { font: 500 clamp(1.25rem, 2.5vw, 2.2rem)/1 var(--serif); }
.product { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product:hover { border-color: #b1bca8; box-shadow: 0 7px 22px rgb(30 48 34 / 9%); transform: translateY(-2px); }
.product-name { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.product-name:hover { text-decoration: underline; text-underline-offset: .2em; }
.product-body { padding: 17px 17px 12px; }
.product-body h3 { font-size: 1.03rem; }
.product-body p { margin-top: 7px; font-size: .87rem; }
.product-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 0 17px 17px; font-size: .87rem; }
.product-actions a { color: #36543d; font-weight: 750; }
.price { font-size: 1.02rem; }
.fit-guide { background: var(--surface); border: 1px solid var(--line); }
.fit-guide .button { margin-top: 14px; }
.faq details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { padding-top: 5px; }
.faq summary { font-weight: 750; cursor: pointer; }
.faq details p { padding: 8px 0 0; font-size: .9rem; }
.footer-logo { display: block; margin-block: 10px; }
.footer-logo img { display: block; height: auto; mix-blend-mode: multiply; }
.footer { border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

dialog { padding: clamp(16px, 4vw, 28px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgb(20 31 24 / 55%); }
.cart { width: min(480px, 100% - 22px); margin: 12px 12px 12px auto; height: calc(100% - 24px); max-height: none; }
.quick-view { position: fixed; width: min(760px, 100% - 24px); padding: 0; }
.quick-close { position: absolute; top: 10px; right: 10px; z-index: 1; }
#quick-content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
#quick-content > :is(img, .product-model) { height: 100%; min-height: 160px; aspect-ratio: auto; }
.quick-body { display: grid; align-content: center; justify-items: start; gap: 12px; padding: 34px 28px 28px; }
.quick-body .compatibility { padding: 4px 9px; border-radius: 6px; background: var(--sage); color: #284032; font-size: .85rem; font-weight: 750; }
.quick-body a { font-weight: 750; }
#cart-summary > a { margin-top: 14px; }
.cart-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.icon-button { min-width: 38px; min-height: 38px; font-size: 1.4rem; }
.cart-row, .subtotal { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row-actions { display: flex; align-items: flex-end; gap: 10px; }
.cart-row-actions input { width: 68px; }
#cart-summary > p { margin-top: 12px; font-size: .85rem; }
#cart-summary > .button { margin-top: 12px; width: 100%; }
.notice { margin-block: 12px; padding: 11px 14px; border-radius: 7px; background: var(--sage); color: var(--ink); }

.utility .nav { border-bottom: 1px solid var(--line); }
.narrow { max-width: 680px; padding-bottom: 48px; }
.utility-heading { padding: clamp(24px, 6vw, 56px) 0 24px; }
.utility-heading h1 { font-size: clamp(2.85rem, 6vw, 5.7rem); margin: 8px 0 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: clamp(15px, 3vw, 24px); }
#track-form, .login { display: grid; gap: 12px; align-items: end; }
#track-form { grid-template-columns: 1fr auto; }
.login { max-width: 420px; }
.order-details { margin-top: 20px; }
.pill { width: fit-content; border-radius: 99px; padding: 4px 9px; background: var(--sage); color: #284032; font-size: .76rem; font-weight: 750; }
.order-lines { list-style: none; padding: 0; margin: 8px 0 16px; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-lines strong { white-space: nowrap; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; }
.totals dd { margin: 0; text-align: right; }
.shipment-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 18px 0; padding: 0; list-style: none; }
.shipment-progress li { border-top: 4px solid var(--line); padding-top: 6px; color: var(--muted); font-size: .74rem; }
.shipment-progress .reached { border-color: #6e8b72; }
.shipment-progress [aria-current="step"] { border-color: #a56828; color: var(--ink); font-weight: 800; }
.shipment { margin-top: 20px; padding: 12px; background: var(--sage); border-radius: 8px; }
.tracking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.admin { padding-bottom: 48px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.admin-tabs button { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 750; }
.admin-tabs [aria-pressed="true"] { background: var(--forest); color: white; }
.admin-row, .admin-order summary { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-row p, .admin-order p { overflow-wrap: anywhere; }
.admin-order summary { cursor: pointer; list-style: none; }
.admin-order summary::before { content: '+'; grid-column: 5; grid-row: 1; }
.admin-order[open] summary::before { content: '−'; }
.admin-order-body { padding: 12px 0 18px; }
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; margin: 15px 0; }
.search-form label { width: min(100%, 330px); }
.editor { width: min(620px, 100% - 24px); }
.full { grid-column: 1 / -1; }
.editor form > p { margin: 12px 0; }
@media (max-width: 750px) {
  .wrap { width: calc(100% - 36px); }
  .hero-layout, .finder, .fit-guide { grid-template-columns: 1fr; }
  .hero-layout { gap: 8px; }
  .hero-image img { aspect-ratio: 16 / 10; border-bottom-right-radius: 58px; }
  .nav { min-height: 65px; }
  .nav nav, .footer nav { gap: 10px; }
  .nav nav a, .footer nav a { font-size: .78rem; }
  .admin-row, .admin-order summary { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-order summary::before { display: none; }
}
@media (max-width: 440px) {
  .nav { flex-wrap: wrap; padding-block: 10px; }
  .nav nav { justify-content: space-between; width: 100%; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-model { padding: 12px; }
  .product-body { padding: 12px 11px 9px; }
  .product-actions { padding: 0 11px 12px; }
  .cart-row { align-items: flex-start; }
  #track-form { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .catalog-search { flex-basis: 100%; }
  #quick-content { grid-template-columns: 1fr; }
  #quick-content > :is(img, .product-model) { height: auto; max-height: 230px; }
  .quick-body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .product { transition: none; }
  .product:hover { transform: none; }
}

.sale-banner { padding: 9px 16px; text-align: center; background: var(--forest); color: var(--sun); font-weight: 800; font-size: .87rem; }
.sale-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.sale-price del { color: var(--muted); font-size: .87rem; }
.variant-controls { display: grid; gap: 12px; width: 100%; }
.variant-editor { overflow: auto; }
.variant-editor table { width: 100%; border-collapse: collapse; min-width: 500px; }
.variant-editor th, .variant-editor td { padding: 4px; text-align: left; }
.promotion-editor { display: grid; gap: 10px; margin-bottom: 18px; }
.price-options { margin: 16px 0; }
.price-options summary { cursor: pointer; font-weight: 700; }
