@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f6f0e8;
  --ink: #241b1c;
  --wine: #571d2a;
  --deep-wine: #36141b;
  --muted: #695653;
  --line: #d9c9c0;
  --cream: #e9dcd0;
}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 Vazirmatn,Tahoma,Arial,sans-serif}h1,h2{font-weight:800}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--wine);outline-offset:4px}
.top{border-bottom:1px solid var(--line)}.bar,main,footer{max-width:1440px;margin:auto;padding-inline:clamp(22px,4vw,62px)}.bar{height:78px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.brand img{display:block}.nav{font-size:13px}.bag,.options button,.thumbs button,.cart-head button,.line button{background:none;border:1px solid var(--line)}.bag{padding:8px 12px}.bag :is(#count,#city-cart-count){display:inline-grid;place-items:center;background:var(--wine);color:#fff;border-radius:50%;min-width:23px;height:23px;margin-inline-start:5px}
.breadcrumb{color:var(--muted);font-size:12px;padding:23px 0}.breadcrumb b{margin:0 6px}.product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,6vw,92px);padding-bottom:50px}.frame{height:clamp(460px,66vw,700px);background:#ded1c4}.frame img{display:block;width:100%;height:100%;object-fit:contain}.thumbs{display:flex;gap:9px;margin-top:12px}.thumbs button{width:65px;height:73px;padding:2px}.thumbs img{width:100%;height:100%;object-fit:cover}.thumbs button[aria-pressed=true]{border-color:var(--wine)}
.details{padding-top:22px}.pricing{padding-bottom:23px;border-bottom:1px solid var(--line);color:var(--wine)}.pricing strong{font-size:29px}.pricing span{font-size:13px}
fieldset{padding:0;border:0;margin:18px 0;min-width:0}fieldset[hidden]{display:none}legend{font-weight:bold;margin-bottom:8px}.selected{font-weight:normal;color:var(--muted);margin-inline-start:5px}.options{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-start}.sizes .options{justify-content:flex-end}.options button{padding:7px 10px;min-width:40px;min-height:41px}.options button[aria-pressed=true]{border-color:var(--wine);background:var(--wine);color:#fff}.colors button{width:38px;height:38px;min-width:0;min-height:0;padding:4px;border-radius:50%;background:none!important}.colors button[aria-pressed=true]{outline:1px solid var(--wine);outline-offset:1px}.swatch{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch)}.stock{color:#34543c;font-size:13px;margin:16px 0 8px}.stock span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#427951;margin-inline-end:4px}
.primary{display:flex;justify-content:space-between;width:100%;border:0;background:var(--wine);color:white;padding:14px 18px}.primary:hover{background:#39101d}.message{color:var(--wine);min-height:24px;margin:4px 0}.details details{border-top:1px solid var(--line);padding:11px 0}.details summary{cursor:pointer}.details details p{color:var(--muted)}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-block:20px;color:var(--muted);font-size:12px}footer [lang=en]{letter-spacing:.15em}
dialog{width:min(94vw,500px);max-height:88vh;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:22px}dialog::backdrop{background:#1d1312aa}.cart-head,.line,.total{display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-head h2{margin:0}.cart-head button{font-size:22px;min-width:38px}.line{padding:13px 0;border-bottom:1px solid var(--line)}.line small{display:block;color:var(--muted)}.line button{min-width:35px;min-height:34px}.qty{white-space:nowrap}.total{font-weight:bold;margin-top:12px}.note{font-size:12px;color:var(--muted)}
@media(max-width:740px){.bar,main,footer{padding-inline:19px}.bar{height:64px}.product{grid-template-columns:1fr;gap:5px}.frame{height:min(122vw,620px)}.details{padding-top:15px}.thumbs button{width:56px;height:62px}.breadcrumb{padding:14px 0}}
.primary[hidden]{display:none}.shipping{border:1px solid var(--line);padding:10px;color:var(--muted);font-size:13px}.address-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}#delivery label{display:grid;gap:4px;margin-bottom:9px;font-size:13px}#delivery input,#delivery textarea{background:#fffaf6;color:var(--ink);border:1px solid var(--line);padding:8px;width:100%;min-width:0;font:inherit}#delivery :is(input,textarea):focus-visible{outline:2px solid var(--wine);outline-offset:1px}.bill{margin:14px 0;border-block:1px solid var(--line);padding:7px 0}.bill div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;font-size:13px}.bill span:last-child{color:var(--muted)}

/* Storefront */
.top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7f0e9;
}
.bar { gap: 14px; }
.brand img { width: clamp(90px, 9vw, 120px); }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav a:hover, .nav a[aria-current], footer a:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 5px;
}
:is(.bar, .header-actions) > .bag {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  border-color: transparent;
}
:is(.bar, .header-actions) > .bag:hover { border-color: var(--line); }
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
}
.header-search {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
}
.header-search:hover { border-color: var(--line); }
.header-search-icon {
  position: relative;
  width: 15px;
  height: 15px;
  margin: 0 3px 3px 0;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.header-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.6px;
  top: calc(100% - 2px);
  left: calc(100% - 2px);
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
@media (max-width: 360px) {
  :is(#home, #sniper) .bar { gap: 6px; }
}
.bag-icon { position: relative; width: 18px; height: 16px; border: 1.6px solid currentColor; border-radius: 2px; margin-top: 4px; }
.bag-icon::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 6px;
  inset-inline-start: 3.4px;
  top: -6px;
  border: 1.6px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
:is(.bar, .header-actions) > .bag :is(#count,#city-cart-count) {
  position: absolute;
  inset-inline-end: 1px;
  top: 1px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0 3px;
  font-size: 11px;
}
.header-nav .menu-toggle { border-color: transparent; color: var(--ink); }
.header-nav .menu-toggle:hover { border-color: var(--line); }

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  min-height: clamp(460px, 50vw, 660px);
  background: var(--deep-wine);
  color: var(--paper);
}
.masthead-copy { align-self: center; padding: clamp(24px, 4.5vw, 76px); }
.masthead h2 { font-size: clamp(30px, 4.4vw, 60px); margin: 0 0 24px; line-height: 1.2; }
.masthead h2.mast-display { font: normal clamp(54px, 8.1vw, 110px)/.96 Georgia, serif; letter-spacing: -.065em; text-align: right; }
.masthead-cities { background: var(--cream); color: var(--wine); }
.mast-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 45px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--wine);
  font-weight: bold;
}
.mast-action:focus-visible { outline-color: var(--paper); }
.slide-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
}
.slide-action:focus-visible { outline-color: currentColor; }
.slide-action-arrow {
  position: relative;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.slide-action-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 1px 1px;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .slide-action-arrow { transition: transform 160ms ease-out; }
  .slide-action:is(:hover, :focus-visible) .slide-action-arrow { transform: translateX(-3px); }
}

.mast-photo { position: relative; min-height: 100%; overflow: hidden; background: #161318; }
.mast-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.masthead-cities .mast-photo { background: #f2e8d7; }
.masthead-cities .mast-photo img { object-fit: contain; padding: clamp(14px, 4vw, 58px); }

.catalog, .product-section, .city-card, #city-config-title { scroll-margin-top: 106px; }
.catalog { padding: clamp(38px, 6vw, 78px) 0 clamp(33px, 5vw, 65px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.section-head h2 { margin: 0; font-size: clamp(23px, 4vw, 42px); }
.section-head > span { color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(10px, 2vw, 24px); }
.catalog-card { border-bottom: 1px solid var(--line); min-width: 0; }
.catalog-photo { aspect-ratio: 5/6; overflow: hidden; background: var(--ink); }
.catalog-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.catalog-photo-hoodie img { transform: scale(1.6); transform-origin: 49% 8%; }
.catalog-photo-pants img { transform: scale(1.4); transform-origin: 52% 93%; }
.catalog-meta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 6px; padding: 12px 0 15px; }
.catalog-meta h3 { margin: 0; font-size: clamp(14px, 2vw, 21px); line-height: 1.35; grid-column: 1; }
.catalog-meta span { color: var(--muted); grid-column: 1; font-weight: 600; }
.catalog-meta .catalog-arrow { grid-column: 2; grid-row: 1 / 3; padding: 0 9px; color: var(--wine); font-size: 21px; }
.catalog-card:hover h3 { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }

.city-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); margin-bottom: clamp(38px, 5vw, 72px); background: var(--cream); }
.city-feature-photo { display: grid; grid-template-columns: 1fr 1fr; min-height: 290px; position: relative; overflow: hidden; }
.city-feature-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.city-feature-photo img:first-child { position: absolute; width: 50%; inset-inline-start: 0; object-position: center 30%; }
.city-feature-photo img:last-child { grid-column: 2; object-fit: contain; padding: 10px; background: #f2e8d7; }
.city-feature-copy { align-self: center; padding: clamp(22px, 5vw, 74px); }
.city-feature h2, .city-page h1 { font-size: clamp(31px, 5.4vw, 66px); line-height: 1.25; margin: 0; }
.city-feature p { margin: 12px 0 20px; color: var(--muted); }
.city-feature .mast-action { background: var(--wine); color: var(--paper); }
.city-feature .mast-action:focus-visible { outline-color: var(--wine); }

.product-section { border-top: 1px solid var(--line); }
.details { align-self: start; padding: clamp(18px, 3vw, 38px); background: #fbf6ef; border: 1px solid var(--line); }
#title { margin: 0 0 10px; font-size: clamp(29px, 4vw, 52px); line-height: 1.3; }
footer { gap: 12px; flex-wrap: wrap; }
dialog { box-shadow: 0 12px 56px #1d131233; }

.city-page-head { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--deep-wine); color: var(--paper); }
.city-page-head > div { padding: clamp(22px, 5vw, 72px); }
.city-page-head p { margin: 12px 0 18px; }
.city-page-head img { display: block; width: 100%; height: auto; padding: clamp(12px, 3vw, 34px); background: #eee3d4; }
.city-index { display: flex; gap: 9px; flex-wrap: wrap; list-style: none; margin: 22px 0; padding: 0; }
.city-index a { display: block; padding: 7px 14px; border: 1px solid var(--line); }
.city-index a:hover, .city-index a:focus-visible { border-color: var(--wine); }
.city-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; padding-bottom: 32px; }
.city-card { min-width: 0; }
.city-art { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--cream); }
.city-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.city-art-garment img { padding: 10px; }
.city-art-print img { padding: clamp(10px,3vw,30px); }
.city-art-ardabil { background: #282323; }
.city-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.city-meta h2, .city-meta p { margin: 0; }
.city-meta p { color: var(--muted); }
.city-meta a { font-size: 12px; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.city-config { margin: 24px 0 34px; padding: clamp(18px,4vw,42px); border: 1px solid var(--line); background: #fbf6ef; }
.city-config h2 { margin: 0; font-size: clamp(24px,4vw,34px); }
.city-config > p { color: var(--muted); margin: 6px 0 18px; }
.city-config-layout { display: flex; align-items: start; gap: 20px; }
.city-config-layout form { flex: 1; min-width: 0; }
.city-config-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.city-config-fields label { display: grid; gap: 5px; font-weight: bold; }
.city-config-fields select { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--line); background: #fffaf6; color: var(--ink); font: inherit; }
.city-config-fields select:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.city-config-preview { width: min(180px,25%); flex-shrink: 0; margin: 0; background: #382e2b; color: var(--paper); }
.city-config-preview img { display: block; width: 100%; height: 110px; object-fit: contain; }
.city-config-preview figcaption { padding: 6px 8px; font-size: 11px; }
.city-option-summary { margin: 12px 0 0; color: var(--wine); font-weight: bold; }
.city-price { margin: 8px 0 12px; color: var(--wine); font-size: 22px; font-weight: bold; }
.city-price:empty, .city-option-summary:empty, .message:empty { display: none; }

@media (max-width: 740px) {
  .masthead { grid-template-columns: 1fr; }
  .masthead-copy { padding: 26px 22px 30px; }
  .masthead h2.mast-display { font-size: clamp(49px, 14vw, 80px); }
  .mast-photo img { object-position: center 39%; }
  .mast-photo { grid-row: 1; min-height: 0; height: clamp(240px,72vw,420px); }
  .catalog-meta span { font-size: 11px; }
  .catalog-meta .catalog-arrow { display: none; }
  .section-head > span { font-size: 12px; }
  .city-feature { grid-template-columns: 1fr; }
  .city-feature-photo { min-height: 210px; }
  .city-grid { gap: 20px 12px; }
  .city-meta h2 { font-size: 19px; }
  .city-meta { align-items: start; flex-direction: column; gap: 5px; }
  .city-meta p { font-size: 12px; }
}

@media (max-width: 490px) {
  .city-page-head { grid-template-columns: 1fr; }
  .city-config-layout { flex-direction: column-reverse; }
  .city-config-layout form, .city-config-preview { width: 100%; }
  .city-config-preview img { height: 130px; }
}

@media (max-width: 360px) {
  .city-grid { grid-template-columns: 1fr; }
}

/* Right-side navigation */
.header-nav { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 16px); min-width: 0; }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
}
.menu-toggle:hover { border-color: var(--wine); }
.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px currentColor, 0 6px currentColor;
}
.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(370px, 88vw);
  height: 100%;
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-end: 1px solid var(--line);
}
.site-menu-panel {
  min-height: 100%;
  padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
}
.site-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.site-menu-head h2 { font-size: 23px; margin: 0; }
.menu-close { font: 27px/1 Arial, sans-serif; }
.site-menu-links a { display: flex; justify-content: space-between; gap: 10px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.site-menu-links a:hover, .site-menu-links a[aria-current] { color: var(--wine); font-weight: bold; }
html:has(.site-menu[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .site-menu[open] { animation: menu-slide-in 220ms ease-out; }
}
@keyframes menu-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (max-width: 740px) {
  .bar { min-height: 64px; }
  .header-nav > .nav { display: none; }
}

.site-menu-links summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
.site-menu-links summary::-webkit-details-marker { display: none; }
.site-menu-links summary::after { content: "+"; color: var(--wine); }
.site-menu-links details[open] > summary::after { content: "−"; }
.site-menu-sub { padding-inline-start: 14px; }
.site-menu-sub a { padding-block: 10px; color: var(--muted); }
.related-hoodie { display: inline-block; color: var(--wine); margin-bottom: 8px; text-decoration: underline; text-underline-offset: 4px; }
.related-hoodie[hidden] { display: none; }
.shop-info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 36px; }
.shop-info section { padding: clamp(16px,3vw,30px); border: 1px solid var(--line); background: #fbf6ef; scroll-margin-top: 105px; }
.shop-info h2 { margin: 0; font-size: clamp(20px,2.6vw,28px); }
.shop-info p { margin: 8px 0; color: var(--muted); }
.shop-info a { display: inline-block; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) {
  .shop-info { grid-template-columns: 1fr; gap: 12px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.home-slides { margin-top: 24px; }
.slide-stage { display: grid; }
.slide-stage > .masthead { grid-area: 1 / 1; }
.slide-stage > [inert] { visibility: hidden; }
.slide-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding-top: 6px; }
.slide-controls[hidden] { display: none; }
.slide-selectors { grid-column: 2; display: flex; }
.slide-controls button {
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  font-size: 13px;
}
.slide-selectors button { display: grid; place-items: center; min-width: 44px; padding: 0; border: 0; }
.slide-selectors button::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--wine); border-radius: 50%; }
.slide-selectors button[aria-pressed=true]::before { background: var(--wine); }
#toggle-slides { justify-self: end; border: 0; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .slide-stage > .masthead:not([inert]) { animation: slide-appear 350ms ease-out; }
}
@keyframes slide-appear {
  from { opacity: .42; }
  to { opacity: 1; }
}
@media (max-width: 740px) {
  .home-slides { margin-top: 12px; }
}

.store-notice {
  margin: 0;
  padding: 8px 16px;
  background: var(--wine);
  color: var(--paper);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.city-art-look { aspect-ratio: 4 / 5; }
.city-art-look img { background: var(--cream); }
.city-card:has(.city-art-print) .city-art { aspect-ratio: 4 / 5; }
.city-card-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.heritage-feature-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  background: #ddd0c2;
}
.heritage-feature-photo img {
  display: block;
  width: 100%;
  height: clamp(210px, 28vw, 430px);
  object-fit: contain;
}
.heritage-heading {
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 60px);
  background: var(--deep-wine);
  color: var(--paper);
}
.heritage-heading p { margin: 8px 0 0; }
@media (min-width: 1050px) {
  .heritage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tractor-feature-photo {
  display: grid;
  place-items: center;
  background: #edb1bd;
}
.tractor-feature-photo img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  object-fit: contain;
}
.tractor-page-head img {
  padding: 0;
  max-height: 660px;
  object-fit: contain;
  background: #edb1bd;
}
.tractor-colors { margin-top: 32px; scroll-margin-top: 106px; }
.tractor-art { aspect-ratio: 3 / 4; }
.tractor-colors h3 { margin: 0; font-size: clamp(16px, 2vw, 23px); }

.basics-feature-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  background: #e1dcda;
}
.basics-feature-photo img { display: block; width: 100%; height: auto; }
.basics-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 0 24px;
}
.basics-filters[hidden] { display: none; }
.basics-filters button {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--wine);
}
.basics-filters button[aria-pressed="true"] {
  border-color: var(--wine);
  background: var(--wine);
  color: white;
}
.basics-art { aspect-ratio: 4 / 5; }
.basics-art-portrait { background: #eee0d2; }
.basics-placeholder {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  text-align: center;
}
.basics-meta { padding-block: 12px; border-bottom: 1px solid var(--line); }
.basics-meta h2 { margin: 0; font-size: clamp(17px, 2.4vw, 25px); }
.basics-meta p, .basics-meta a { font-size: 14px; margin: 4px 0 0; }
.basics-meta p { color: var(--muted); }
.basics-meta .basics-price { color: var(--wine); font-weight: 700; }
.basics-meta a { display: inline-block; color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 920px) {
  .basics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shop-search { display: flex; gap: 8px; }
.shop-search-menu { margin-block: 16px 4px; }
.shop-search input, .shop-search button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font: inherit;
}
.shop-search input { flex: 1; min-width: 0; background: var(--paper); color: var(--ink); }
.shop-search button { background: var(--wine); color: white; white-space: nowrap; }
.shop-search-page { padding-bottom: 40px; }
.shop-search-page > form { max-width: 640px; margin-block: 22px 16px; }
.shop-search-results { max-width: 760px; padding: 0; list-style: none; }
.shop-search-results a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.shop-search-results a:hover { color: var(--wine); }
.shop-search-results span, #search-status { font-size: 14px; color: var(--muted); }

.header-search { padding: 0; background: transparent; }
.header-search[aria-expanded="true"] { border-color: var(--line); color: var(--wine); }
.header-search-panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: max(19px, 4vw, calc((100% - 1440px) / 2 + 62px));
  width: min(460px, calc(100% - 38px));
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 30px #36141b24;
}
.header-search-panel[hidden] { display: none; }
.header-search-panel input { font-size: 16px; }
.header-search-panel #search-status { margin: 8px 0 0; }
.header-search-panel .shop-search-results {
  max-height: min(300px, 36dvh);
  overflow-y: auto;
  margin: 0;
}
.header-search-panel .shop-search-results a:focus-visible { outline-offset: -2px; }
@media (max-width: 740px) {
  .header-search-panel { inset-inline-end: 19px; }
}

.size-guide-link {
  display: inline-block;
  max-width: max-content;
  padding-block: 7px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.heritage-heading .size-guide-link { color: inherit; }
.size-chart {
  width: 100%;
  margin-block: 10px 16px;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
}
.size-chart caption { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.size-chart :is(th,td) { padding: 8px 4px; border: 1px solid var(--line); }
.size-chart thead { background: var(--cream); }
.size-guide-dialog { padding: clamp(14px, 4vw, 24px); }
.size-guide-dialog h2 { font-size: clamp(18px, 5vw, 24px); }

.masthead-tractor .mast-photo { background: #432626; }
.masthead-tractor video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
