
:root {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: #f7f3ef;
  --ink: #241b20;
  --muted: #675b61;
  --red: #b21830;
  --red-hover: #891127;
  --tint: #fae8ed;
  --line: #e6dcdd;
  --paper: #f6efec;
  --white: #fff;
  --shadow: 0 2px 5px #4d1e2510, 0 14px 34px -23px #56262b55;
  --shadow-lift: 0 3px 10px #4d1e2516, 0 20px 36px -21px #56262b7a;
  --ease: cubic-bezier(.2, .75, .32, 1);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 70% 620px at 92% 0%, #f5dce3bf, transparent 82%),
    radial-gradient(ellipse 50% 740px at 0% 38%, #f5e7de9c, transparent 88%),
    linear-gradient(180deg, #fffaf6 0%, #faf7f5 45%, #f4ece8 100%);
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
input, button, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }

.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { background: white; display: inline-flex; align-items: center; }
.wordmark img { display: block; width: 116px; height: auto; }
.site-header .wordmark { background: transparent; }
.site-header .wordmark img { mix-blend-mode: multiply; }
.footer > a:last-child:hover { background: var(--tint); color: var(--red-hover); }

.btn, .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;

}
.primary { background: linear-gradient(145deg, #c32b43, var(--red) 63%, #a1132a); color: white; box-shadow: 0 5px 12px #96132930, inset 0 1px #fff3; }
.primary:hover:not(:disabled) { background: var(--red-hover); }
.secondary, .card-action { border-color: #ebcdd4; background: #fcf3f5; color: #891127; }
.secondary:hover, .card-action:hover { background: var(--tint); border-color: #d88c96; }
.light { background: #fff9f5; color: #741127; box-shadow: 0 6px 18px #26070c39; }
.light:hover { background: #ffe9eb; }
.btn:disabled { background: var(--paper); color: var(--muted); box-shadow: none; }

.hero { padding-top: 12px; }
.hero-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(390px, 40vw, 485px);
  color: white;
}
.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 26px;
  border: 1px solid #63202d;
  background:
    radial-gradient(ellipse at 88% 42%, #c63246 0%, #931e32 33%, transparent 70%),
    linear-gradient(118deg, #2c111a 3%, #591525 57%, #78192c);
  box-shadow: inset 0 1px #ffffff20, 0 20px 46px -18px #50172766;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 57%;
  padding: 66px 0 44px clamp(30px, 5.3vw, 74px);
}
.hero h1 { margin: 0; font-size: clamp(2.6rem, 5.15vw, 4.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -.058em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: #ffcad5; }
.hero-description { margin: 19px 0 25px; color: #ffe8e9; font-size: clamp(1rem, 1.6vw, 1.24rem); font-weight: 650; }
.hero-media {
  position: absolute;
  inset: -36px -10px 0 0;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 27px 0;
}
.hero-media img {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  filter: drop-shadow(-6px 7px 18px #30060b40);
}

h2 { margin: 0; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.65rem); line-height: 1.15; letter-spacing: -.045em; }
.catalog { padding: 52px 0 64px; scroll-margin-top: 22px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 5px 0 4px; }
.inventory-status { margin: 7px 0 0; color: var(--muted); font-size: .875rem; }
.search { display: flex; align-items: center; gap: 12px; width: min(100%, 305px); padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; background: #fffdfb; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--tint); }
.search input { border: 0; background: transparent; width: 100%; min-height: 46px; color: var(--ink); outline: none; }
.search-icon { width: 13px; height: 13px; border: 2px solid var(--muted); border-radius: 50%; position: relative; flex: none; }
.search-icon::after { content: ""; width: 6px; height: 2px; background: var(--muted); position: absolute; top: 9px; left: 8px; transform: rotate(45deg); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 22px 0 18px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.filters, .segments { display: flex; flex-wrap: wrap; gap: 7px; }
.filter, .segment-button, .size {
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 750;
}
.filter { border-radius: 100px; }
.filter:hover, .segment-button:hover, .size:hover { border-color: #d88c96; }
.filter[aria-pressed=true] { border-color: #5f1b2c; background: #5f1b2c; color: white; }
.segment-button[aria-pressed=true], .size[aria-pressed=true] {
  border-color: var(--red);
  background: var(--tint);
  color: #7b1329;
  box-shadow: inset 0 0 0 1px var(--red);
}
#result-count { color: var(--muted); font-size: .85rem; white-space: nowrap; }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; position: relative; min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 19px; background: #fffdfc; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .24s var(--ease), translate .24s var(--ease); }
.card-visual { position: relative; aspect-ratio: 1.18; overflow: hidden; border-radius: 13px; background: radial-gradient(ellipse at 50% 24%, #fff, #f1e8e5 88%); }
.card-visual img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s; }

.card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 10px 10px; }
.card h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; letter-spacing: -.026em; }
.card p { margin: 0; }
.card-meta { color: var(--muted); font-size: .85rem; }
.card-fabric { line-height: 1.4; }
.card-price { padding-top: 3px; color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.card-action { width: 100%; min-height: 42px; margin-top: auto; padding-inline: 8px; }
.empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.swatches, .sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.swatch { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 4px; border: 1px solid #d8d0ce; border-radius: 50%; background: white; }
.swatch span { display: block; width: 100%; height: 100%; border: 1px solid #0002; border-radius: 50%; }
.swatch .swatch-melange {
  background-image: radial-gradient(#e2e1e3 24%, transparent 38%), radial-gradient(#73757a 20%, transparent 34%);
  background-position: 0 0, 1.7px 1.2px;
  background-size: 4px 3px, 3px 5px;
}
.swatch[aria-pressed=true] { border: 2px solid var(--red); padding: 3px; box-shadow: 0 0 0 2px var(--tint); }
.swatch[aria-pressed=true]::after {
  content: "✓" / "";
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid white;
  border-radius: 50%;
  background: var(--red-hover);
  color: white;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.card .swatch[aria-pressed=true]::after { width: 12px; height: 12px; }
.card .swatch { width: 27px; height: 27px; padding: 3px; }
.card .swatch[aria-pressed=true] { padding: 2px; }
.swatch-extra { font-size: .8rem; color: var(--muted); }

.process { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; margin-bottom: 38px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(125deg, #fffbf8, #fff 54%, #f7e7eb); box-shadow: var(--shadow); scroll-margin-top: 24px; }
.process .btn { margin-top: 16px; }
.process ol { display: grid; gap: 12px; margin: 0; padding-left: 23px; }
.process li { padding-left: 5px; }
.process li::marker { color: var(--red); font-weight: 800; }
.process p { margin: 2px 0 0; color: var(--muted); }
.footer { min-height: 85px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 800; }
.footer > a:last-child { padding: 9px; border-radius: 9px; }

dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); box-shadow: 0 24px 90px #19080f4d; }
dialog::backdrop { background: #28151ebb; backdrop-filter: blur(5px); }
.dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 10px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #fffaf8, #fff); font-size: .95rem; font-weight: 800; }
.icon { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font-size: 1.45rem; line-height: 1; }
.icon:hover { background: var(--tint); }
.order-layout { display: grid; grid-template-columns: .94fr 1.06fr; }
.order-gallery { position: sticky; top: 74px; align-self: start; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 260px; aspect-ratio: 1.03; margin: 14px 0 14px 14px; overflow: hidden; border-radius: 15px; background: radial-gradient(ellipse at 50% 24%, #fff, #f1e8e5 88%); }
.order-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.order-gallery figcaption { padding: 9px 15px; color: var(--muted); font-size: .85rem; }
.order-layout form { padding: 24px; min-width: 0; }
.order-layout h2 { margin-bottom: 12px; }
.order-layout label { display: grid; gap: 6px; min-width: 0; font-size: .875rem; font-weight: 750; }
.variant-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.order-layout select, .order-layout input, .order-layout textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #d8cdca; border-radius: 10px; background-color: white; color: var(--ink); font-size: 1rem; }
.order-layout select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23696163' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 16px; }
.order-layout input:disabled, .order-layout select:disabled { background-color: var(--paper); }
.option-section { margin: 14px 0; }
.field-title { margin: 0 0 7px; font-size: .9rem; font-weight: 800; }
.field-title span, .option-empty { color: var(--muted); font-weight: 650; }
.field-title span { margin-left: 5px; }
.size { padding-inline: 10px; }
.size[data-empty=true]:not([aria-pressed=true]) { background: var(--paper); color: var(--muted); }
.fabric-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 15px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #faf7f6; font-size: .875rem; }
.fabric-details dt, .cap-common { color: var(--muted); }
.fabric-details dd { margin: 2px 0 0; font-weight: 800; }
#finish-details { grid-column: 1 / -1; }
.cap-common { margin: 0 0 14px; font-size: .875rem; }
.order-details { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.order-details h3 { margin: 0; font-size: 1rem; }
.quote { padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); font-size: .92rem; }
.quote p { margin: 0 0 7px; color: var(--muted); }
.quote dl { display: grid; gap: 5px; margin: 0; }
.quote dl div { display: flex; justify-content: space-between; gap: 8px; }
.quote dl div:last-child { padding-top: 7px; border-top: 1px solid #ded2ce; font-weight: 800; }
.quote dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.quote small { display: block; margin-top: 7px; color: var(--muted); }
.quote small:empty, #status:empty { display: none; }
.order-notes { margin: 14px 0; font-size: .875rem; }
.order-notes summary { cursor: pointer; font-weight: 750; }
.order-notes textarea { margin-top: 8px; }
.submit { width: 100%; }
#status { margin: 7px 0 0; color: var(--red-hover); font-size: .875rem; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 48px); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 28px); }
  .bar { min-height: 66px; gap: 8px; }
  .wordmark img { width: 99px; }
  .bar .btn { min-height: 42px; padding-inline: 12px; }
  .hero { padding-top: 7px; }
  .hero-inner { display: block; min-height: auto; }
  .hero-inner::before { border-radius: 19px; }
  .hero-copy { width: auto; padding: 42px 19px 5px; }
  .hero h1 { font-size: clamp(1.94rem, 8.5vw, 3.55rem); }
  .hero-description { margin: 12px 0 16px; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 1.15; border-radius: 0 0 19px 19px; }
  .hero-media img { width: 100%; object-fit: contain; object-position: center bottom; }
  .catalog { padding: 38px 0; }
  .section-head { align-items: stretch; flex-direction: column; gap: 13px; }
  .search { width: 100%; }
  .toolbar { align-items: start; margin: 16px 0 13px; }
  #result-count { padding-top: 9px; }
  .filter { min-height: 40px; padding-inline: 11px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card { padding: 5px; border-radius: 14px; }
  .card-visual { border-radius: 10px; }
  .card-body { padding: 10px 5px 5px; gap: 7px; }
  .card h3, .card-price { font-size: 1rem; }
  .card .swatches { gap: 4px; }
  .card .swatch { width: 24px; height: 24px; }
  .card-action { font-size: .875rem; }
  .process { grid-template-columns: 1fr; gap: 20px; }
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-gallery { position: static; min-height: 0; aspect-ratio: auto; height: 211px; margin: 10px 10px 0; }
  .order-layout form { padding: 16px; }
  .dialog-bar { padding-inline: 13px; }
  dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); border-radius: 16px; }
}

.shirt-details {
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-left: 3px solid #e6b2ba;
  border-radius: 0 12px 12px 0;
  background: #faf7f6;
  font-size: .875rem;
}
.shirt-details h3 { margin: 0; font-size: 1rem; }
.shirt-details p { margin: 5px 0 0; color: var(--muted); }
.order-gallery[data-premium-shirt=true] {
  background: radial-gradient(ellipse at 49% 27%, #fcfaf7, #e9dfd5 88%);
}

.order-cart {
  margin: 3px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.order-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#cart-count { color: var(--red-hover); font-weight: 800; }
.cart-empty, .size-feedback { margin: 6px 0 0; color: var(--muted); font-size: .875rem; }
.size-feedback:empty, .cart-lines:empty { display: none; }
#cart-warning { color: var(--red-hover); }
.cart-lines { display: grid; gap: 1px; margin: 6px 0 0; padding: 0; list-style: none; }
.cart-lines li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: .875rem; }
.cart-remove { min-height: 34px; padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; background: var(--paper); color: var(--red-hover); font-weight: 750; }
.cart-remove:hover { background: var(--tint); }

.catalog-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 285px); gap: 20px; align-items: start; }
.catalog-results { min-width: 0; }
.catalog-cart-host { position: sticky; top: 12px; }
.order-cart { margin: 0; display: grid; gap: 10px; background: linear-gradient(160deg, #fff, #fff9f8); box-shadow: var(--shadow); }
.order-cart-head h3 { margin: 0; font-size: 1.05rem; }
#cart-count { padding: 3px 8px; border-radius: 20px; background: var(--tint); white-space: nowrap; }
.cart-lines { max-height: 35vh; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding-inline: 2px; }
.cart-lines li > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.cart-lines li span { display: block; }
.cart-lines li span:first-of-type { color: var(--muted); }
.cart-line-actions { display: grid; gap: 4px; flex: none; }
.cart-remove:disabled { opacity: .55; }
.cart-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.cart-payment { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.cart-payment legend { margin-bottom: 6px; padding: 0; color: var(--muted); font-size: .875rem; font-weight: 700; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.payment-options label { position: relative; display: grid; min-width: 0; cursor: pointer; }
.payment-options span { display: grid; place-items: center; min-height: 44px; padding: 5px 4px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); text-align: center; font-size: .8125rem; font-weight: 750; line-height: 1.25; transition: background-color .18s, border-color .18s, box-shadow .18s, transform .15s; }
.payment-options input:checked + span { color: var(--red-hover); background: #fff; border-color: #e8bbbf; box-shadow: 0 2px 5px #42132912; }
.payment-options input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.payment-options label:active span { transform: scale(.97); }
.order-cart textarea { min-width: 0; min-height: 36px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); }
.order-cart textarea { width: 100%; }
.order-cart .order-notes, .order-cart #status { margin: 0; }
.order-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(238px, 270px);
  height: min(650px, calc(100vh - 94px));
  height: min(650px, calc(100dvh - 94px));
  min-height: 0;
}
.order-product { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; min-width: 0; }
.order-scroll .order-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.order-scroll .order-gallery { min-height: 0; }
.order-scroll .order-layout form { padding: 16px; }
.order-scroll .order-layout h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.order-scroll .fabric-details, .order-scroll .shirt-details { margin-block: 8px; padding-block: 8px; }
.order-scroll .option-section { margin-block: 10px; }
.order-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 9px 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: white;
}
.order-quantity label { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 750; }
.order-quantity-fields { display: grid; grid-template-columns: minmax(60px, .55fr) minmax(0, 1.45fr); gap: 6px; }
.order-quantity-fields input { width: 100%; min-width: 0; padding: 5px 8px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); }
.order-quantity-fields input:disabled { background: var(--paper); }
.order-quantity-fields .save-size { min-height: 40px; padding: 5px 6px; white-space: normal; }
.order-controls .quote { padding: 7px 9px; font-size: .85rem; }
.order-controls .quote p { margin-bottom: 3px; }
.order-controls .quote dl { gap: 2px; }
.order-controls .quote dl div:last-child { padding-top: 3px; }
.order-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.order-scroll .order-gallery { top: 12px; }
.dialog-cart-host { min-width: 0; min-height: 0; padding: 12px; overflow: auto; border-left: 1px solid var(--line); }
#order { width: min(1090px, calc(100% - 32px)); overflow: hidden; }

@media (max-width: 1080px) {
  .catalog-workspace .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .order-scroll .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-scroll .order-gallery { position: static; min-height: 0; height: 200px; aspect-ratio: auto; margin: 10px 12px 0; }
}
@media (max-width: 760px) {
  .catalog-workspace { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .catalog-cart-host { position: static; }
  .cart-lines { max-height: 160px; }
  #order {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
    max-height: calc(100dvh - 18px);
    overflow: auto;
    overscroll-behavior: contain;
  }
  .order-workspace, .order-product { display: block; height: auto; }
  .order-scroll, .dialog-cart-host { overflow: visible; }
  .dialog-cart-host { border-left: 0; padding: 8px 9px 12px; }
  .order-controls { gap: 7px; padding: 7px 9px; }
}

@media (max-width: 380px) {
  .order-controls { grid-template-columns: minmax(0, 1fr); }
  .card-action { white-space: normal; overflow-wrap: anywhere; }
}

@media (pointer: coarse) {
  :is(.order-quantity-fields input, .order-cart textarea, #checkout-form input, .search input) {
    font-size: 16px;
  }
  :is(.card-action, .order-quantity-fields .save-size, #checkout-form .btn) { min-height: 44px; }
}

.vest-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; margin: 7px 0 0; }
.vest-specs dt { color: var(--muted); }
.vest-specs dd { margin: 0; font-weight: 750; }

#checkout { width: min(620px, calc(100% - 24px)); }
.checkout-content { padding: clamp(14px, 4vw, 24px); }
.checkout-content h2 { margin: 0 0 13px; font-size: clamp(1.3rem, 4vw, 1.75rem); }
.checkout-receipt { padding: 13px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 14px; background: linear-gradient(180deg, #fff, #fbf4f2); box-shadow: var(--shadow); }
.checkout-lines { max-height: 32dvh; overflow: auto; margin: 0; padding: 0; list-style: none; }
.checkout-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.checkout-lines small { display: block; color: var(--muted); }
.checkout-receipt p, #checkout-status { margin: 10px 0; font-size: .875rem; }
#checkout-status:empty { display: none; }
#checkout-form { display: grid; gap: 9px; margin-top: 14px; }
#checkout-tin-field:not([hidden]) { display: grid; gap: 5px; }
#checkout-tin-hint { color: var(--muted); font-size: .8125rem; }
#checkout-form label { display: grid; gap: 5px; font-size: .9rem; font-weight: 750; }
#checkout-form input { width: 100%; box-sizing: border-box; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }

/* Interaction feedback stays consistent across catalog, cart and checkout. */
:is(.btn, .card-action, .filter, .segment-button, .size, .swatch, .icon, .cart-remove) {
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease),
    border-color .18s, background-color .18s, color .18s;
}
:is(.btn, .card-action, .filter, .segment-button, .size, .swatch, .icon, .cart-remove):not(:disabled):active {
  transform: translateY(1px) scale(.96);
  transition-duration: 75ms;
}
@media (hover: hover) {
  .card:hover, .card:focus-within { translate: 0 -3px; border-color: #e0bbc3; box-shadow: var(--shadow-lift); }
  .card:hover .card-visual img { transform: scale(1.035); }
  :is(.btn, .card-action, .swatch, .icon):not(:disabled):hover:not(:active) { transform: translateY(-2px); }
  .swatch:hover { border-color: var(--red); }
}
@keyframes enter-dialog {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
dialog[open] { animation: enter-dialog .22s var(--ease) both; }
@keyframes select-color {
  from { transform: scale(.72); }
  to { transform: scale(1); }
}
.swatch[aria-pressed=true]::after { animation: select-color .2s var(--ease) both; }
:is(.order-cart textarea, .order-quantity-fields input, #checkout-form input):focus-visible {
  border-color: var(--red);
  outline: 2px solid var(--tint);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .card:hover, .card:focus-within { translate: none; }
  :is(.btn, .card-action, .filter, .segment-button, .size, .swatch, .icon, .cart-remove):not(:disabled):is(:hover, :active),
  .card:hover .card-visual img { transform: none; }
}

.header-actions, .language-switch { display: flex; align-items: center; gap: 8px; }
.header-actions { gap: clamp(8px, 2vw, 22px); }
.language-switch { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 13px; background: #fff9; }
.language-switch a { min-width: 34px; padding: 6px; border-radius: 9px; color: var(--muted); text-align: center; font-size: .8125rem; font-weight: 800; }
.language-switch a:hover, .language-switch a[aria-current] { background: var(--tint); color: var(--red-hover); }
.contact { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fffaf8; margin-bottom: 38px; box-shadow: var(--shadow); }
.contact-copy { align-self: center; padding: clamp(20px, 4.5vw, 54px); }
.contact-copy p { color: var(--muted); }
.contact-phone { font-variant-numeric: tabular-nums; }
.contact address { margin-top: 16px; font-style: normal; }
.contact > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.footer .wordmark { background: transparent; }
.footer .wordmark img { mix-blend-mode: multiply; }
@media (max-width: 680px) {
  .contact { grid-template-columns: 1fr; }
  .contact > img { min-height: 0; aspect-ratio: 3 / 2; }
  .language-switch a { min-width: 28px; padding: 5px 3px; }
}
@media (max-width: 430px) {
  .header-actions > .btn { display: none; }
}
