:root {
  color-scheme: light;
  --ink: #080808;
  --muted: #727272;
  --paper: #ffffff;
  --stone: #eaeae8;
  --line: #e0e0e0;
  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(12px, 1.4vw, 20px);
  font: 16px/1.5 Inter, 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  accent-color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; container-type: inline-size; }
button, select, input, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid #222222;
  outline-offset: 3px;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; }
h2 { font-size: clamp(22px, 2.4vw, 28px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
button { min-height: 44px; }
.shell { width: min(100%, 1440px); padding-inline: var(--gutter); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-preview { min-height: 100dvh; display: grid; place-items: center; background: #f5f5f5; }
.mobile-preview iframe { width: min(390px, 100%); height: min(844px, 100dvh); border: 0; border: 1px solid var(--line); }
.delivery-strip { display: block; padding: 8px var(--gutter); background: white; text-align: center; text-decoration: underline; text-decoration-color: #767676; font: 12px/1.5 var(--mono); }
.site-header { position: sticky; top: 0; z-index: 3; background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr minmax(240px, 440px) 1fr; grid-template-rows: minmax(64px, auto) auto; grid-template-areas: "logo search actions" "nav nav nav"; align-items: center; column-gap: 16px; }
.brand-home { grid-area: logo; display: flex; align-items: center; width: fit-content; text-decoration: none; }
.brand-home span { font-size: clamp(16px, 2vw, 24px); font-weight: 400; letter-spacing: -.04em; white-space: nowrap; }

.top-nav, .header-actions { display: flex; align-items: center; }
.top-nav { grid-area: nav; gap: clamp(18px, 3vw, 32px); }
.header-actions { grid-area: actions; justify-content: flex-end; gap: 8px; }
.top-nav button, .save-toggle { border: 0; background: none; padding: 0 5px; }
.top-nav button { min-height: 48px; padding: 0; font-size: .81rem; font-weight: 400; text-transform: uppercase; }
.top-nav button:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.save-toggle { min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.compact-search { display: none; }
.compact-search .search-icon { margin-right: 0; }
.search-icon { display: inline-block; flex: 0 0 auto; width: 15px; height: 15px; border: 1.6px solid; border-radius: 50%; position: relative; margin-right: 4px; }
.search-icon::after { content: ''; width: 6px; height: 1.6px; position: absolute; top: 11px; left: 10px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.save-toggle > span:first-child { font-size: 1.6rem; line-height: 1; }
.save-toggle[aria-pressed="true"] { background: var(--stone); border-radius: 2px; }
#saved-count { font-size: .82rem; }
#admin { font-size: .85rem; }
main { min-height: 62vh; }
.hero { width: 100cqw; margin-inline: calc((100% - 100cqw) / 2); }
.outline, select, .contact { min-height: 44px; border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; border-radius: 2px; }
.contact { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.contact.primary { border-color: var(--ink); background: var(--ink); color: white; }
.contact:hover, .outline:hover { border-color: var(--ink); }
#spotlight { background: #1b1b1b; }
#banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
#banner-track:focus-visible { outline-offset: -3px; }
.banner-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: minmax(0, 1fr); height: clamp(360px, 38vw, 600px); scroll-snap-align: start; color: white; }
.banner-slide img { grid-area: 1 / 2; display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-slide:nth-child(1) img { object-fit: contain; background: linear-gradient(#d1ccc9, #d8d4d2 50%, #d4cecd); }
.banner-slide:nth-child(2) img { object-fit: contain; background: linear-gradient(#f5f5f5, #f6f6f6 50%, #f1f1f1); }
.banner-slide:nth-child(3) img { object-position: center 53%; }
.banner-copy { grid-area: 1 / 1; align-self: center; padding: 24px clamp(24px, 5vw, 80px); }
.banner-copy h2 { font-size: clamp(32px, 5vw, 76px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.banner-copy .outline { display: inline-flex; gap: 14px; align-items: center; margin-top: clamp(18px, 3vw, 36px); color: var(--ink); font-size: .9rem; text-align: left; }
.banner-copy .outline:hover { background: #eaeae8; }
.banner-copy .outline:focus-visible { outline-color: white; }
.banner-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
#banner-pagination { grid-column: 2; display: flex; justify-content: center; }
#banner-pagination button { display: grid; place-items: center; width: 34px; min-height: 44px; border: 0; padding: 0; background: transparent; }
#banner-pagination button::after { content: ''; width: 8px; height: 8px; border: 1px solid #727272; border-radius: 50%; }
#banner-pagination button[aria-current="true"]::after { background: var(--ink); border-color: var(--ink); }
.banner-arrows { justify-self: end; display: flex; }
.banner-arrow { width: 44px; padding: 0; border: 0; background: white; font-size: 26px; line-height: 1; }
.banner-arrow:disabled { color: #b0b0b0; cursor: default; }
.preorder-strip { margin-top: clamp(22px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: clamp(16px, 2.4vw, 28px); background: #f8f8f8; border: 1px solid var(--line); }
.preorder-strip h2 { font-size: clamp(20px, 2.2vw, 26px); }
.preorder-strip p { margin: 6px 0 0; color: var(--muted); }
.preorder-strip .contact { border-color: var(--ink); }

.categories, .intro, .brand-strip, #purchase-feed { scroll-margin-top: 126px; }
.categories { margin-top: clamp(48px, 6vw, 80px); }
.categories h2 { margin-bottom: 20px; }
#category-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: var(--gap); overflow-x: auto; padding: 3px 3px 8px; scroll-snap-type: x proximity; }
.category-tile { display: grid; grid-template-rows: auto auto; min-width: 0; border: 0; padding: 0; text-align: left; background: transparent; scroll-snap-align: start; }
.category-tile img { display: block; width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: 50% 40%; }
.category-tile span { padding-top: 12px; font: 12px/1.5 var(--mono); text-transform: uppercase; }
.category-tile:hover span { text-decoration: underline; }
.intro { display: grid; gap: 14px; margin-top: clamp(32px, 5vw, 72px); padding-bottom: 10px; }
.catalog-heading { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
#result-count { color: var(--muted); font-size: .9rem; }
.filter-toggle { display: flex; align-items: center; gap: 10px; text-align: left; }
.filter-icon { width: 16px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) top / 16px 1px, linear-gradient(currentColor, currentColor) center / 11px 1px, linear-gradient(currentColor, currentColor) bottom / 6px 1px; background-repeat: no-repeat; }
.search-field { grid-area: search; display: flex; min-width: 0; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--stone); border-radius: 2px; background: white; }
#search { width: 100%; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; }
#search:focus { outline: 0; }
.search-field:focus-within { border-color: var(--ink); }
.brand-strip { display: flex; gap: 6px; overflow-x: auto; padding: 3px 3px 7px; }
.brand-strip button { flex: none; padding: 7px 14px; min-height: 36px; border: 0; background: transparent; font-size: .9rem; }
.brand-strip button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 5px; }
#status { margin: 8px 0 16px; color: var(--muted); }
#status:empty { display: none; }
.grid, .skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 42px) var(--gap); }
.skeleton-grid { grid-column: 1 / -1; }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 7px;  }
.product { width: 100%; display: block; padding: 0; border: 0; background: transparent; text-align: left; }
.product-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; margin-bottom: 10px; background: #f4f4f2; }
.product-media img { width: 100%; height: 100%; display: block; padding: 3%; object-fit: contain; }
.photo-unavailable { display: none; position: absolute; inset: 0; place-items: center; padding: 6px; color: var(--muted); font-size: .82rem; pointer-events: none; }
.product-media > .photo-error { visibility: hidden; }
.product-media > img:first-child.photo-error + .photo-unavailable { display: grid; }
.product-media .product-photo-alternate { position: absolute; inset: 0; background: #f4f4f2; opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .product-media:hover:not(.has-swiped):not(:active) .product-photo-alternate:not(.photo-loading):not(.photo-error) { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .product-photo-alternate { transition: opacity 180ms ease; }
}
.product strong { display: block; line-height: 1.25; font-weight: 400; overflow-wrap: anywhere; }
.product:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.brand-line { display: block; font: 12px/1.5 var(--mono); text-transform: uppercase; margin-bottom: 4px; }
.price { font: 13px/1.5 var(--mono); }
.stock { font-size: .87rem; color: var(--muted); }
.size-list { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.size-badge { min-height: 33px; min-width: 33px; border: 1px solid var(--line); background: transparent; border-radius: 2px; padding: 3px 6px; font-size: .84rem; }
.size-badge:hover { border-color: var(--ink); }
.favorite { position: absolute; top: 6px; right: 6px; padding: 0; width: 44px; min-height: 44px; border-radius: 50%; border: 0; background: #fffffff2; font-size: 1.45rem; line-height: 1; }
.favorite[aria-pressed="true"] { background: var(--ink); color: white; }
.card > .contact { margin-top: auto; padding: 6px 0; border: 0; background: transparent; min-height: 36px; font-size: .875rem; color: var(--muted); text-align: left; text-decoration: underline; }
.swipe-photo { touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; }
.swipe-photo:active { cursor: grabbing; }
.skeleton, img.photo-loading { background: var(--stone); }
.skeleton-cover { aspect-ratio: 4 / 5; }
.skeleton-line { width: 70%; height: 12px; margin-top: 10px; border-radius: 2px; }
.skeleton-line.short { width: 39%; }

.related { margin-top: clamp(24px, 4vw, 52px); border-top: 1px solid var(--line); padding-top: 18px; }
.related-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(126px, 1fr); gap: var(--gap); overflow-x: auto; padding: 6px 3px 9px; scroll-snap-type: x proximity; }
#recent-products .related-list { grid-auto-columns: clamp(138px, 20%, 200px); }
.related-item { display: grid; grid-template-rows: auto 1fr auto; gap: 5px; padding: 0; border: 0; background: transparent; text-align: left; scroll-snap-align: start; }
.related-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.related-item strong { font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.site-footer { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; min-height: 95px; padding-block: 20px; }
.footer-inner strong { letter-spacing: -.04em; }
.footer-socials { display: flex; flex-basis: 100%; order: 1; gap: 8px; align-items: center; justify-content: center; }
.footer-meta { order: 2; flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px clamp(16px, 5vw, 56px); padding-top: 8px; font-size: .9rem; }
.footer-region { display: inline-flex; align-items: center; gap: 8px; }
.footer-flag { width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(#fff 0 33.33%, #164194 33.33% 66.66%, #d52b1e 66.66%); }
.footer-socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 5px; background: var(--ink); color: white; }
.site-footer .footer-socials a:hover { opacity: .75; text-decoration: none; }
.vk-mark { font-size: .84rem; font-weight: 700; letter-spacing: -.08em; }
.telegram-mark { width: 19px; height: 19px; background: currentColor; clip-path: polygon(3% 43%, 96% 7%, 75% 94%, 51% 73%, 39% 85%, 35% 59%, 79% 26%, 27% 51%); }
.avito-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; place-items: center; }
.avito-mark i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.avito-mark i:nth-child(2) { width: 8px; height: 8px; }
.avito-mark i:nth-child(3) { width: 5px; height: 5px; }
.bottom-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.bottom-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.bottom-nav a[aria-current] { text-decoration: underline; }
.info { margin-top: 20px; padding: clamp(24px, 6vw, 76px); background: var(--stone); }
.info h1 { font-size: clamp(38px, 6vw, 80px); }
.info p { max-width: 55ch; margin-block: 22px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.delivery-terms { max-width: 64ch; margin: 24px 0; }
.delivery-terms dt { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.delivery-terms dd { margin: 4px 0 12px; color: var(--muted); }

dialog { width: min(1060px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(14px, 2.4vw, 34px); border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #2229; }
.close { position: sticky; float: right; top: 0; margin: 0 0 8px 8px; z-index: 1; padding: 0; min-width: 44px; font-size: 1.4rem; }
.product-layout { clear: both; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); }
.gallery { position: relative; display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery img { flex: 0 0 100%; min-width: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 56vh; object-fit: contain; scroll-snap-align: start; background: var(--stone); }
.thumbnails { margin-top: 6px; display: flex; gap: 6px; overflow-x: auto; padding: 4px; }
.thumbnails button { flex: 0 0 48px; padding: 2px; border: 1px solid transparent; border-radius: 2px; background: transparent; }
.thumbnails button[aria-pressed="true"] { border-color: var(--ink); }
.thumbnails img { display: block; width: 42px; height: 54px; object-fit: cover; }
.product-overview h2 { font-size: clamp(25px, 3.2vw, 42px); }
.product-overview .price { font-size: 1.25rem; margin: 12px 0 16px; }
.product-overview .contact.primary { width: 100%; }
.product-specs, .fit-guide { border-block: 1px solid var(--line); margin: 12px 0; }
.product-specs summary, .fit-guide summary { padding: 12px 0; font-weight: 400; }
.product-specs .description { margin-top: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.fit-guide { overflow-x: auto; }
.fit-guide table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.fit-guide th, .fit-guide td { padding: 7px; text-align: center; border-bottom: 1px solid var(--line); }
.fit-guide th:first-child { text-align: left; }
.fit-guide tbody th { font-weight: 400; }
.shoe-size-table, .clothing-size-table { border: 1px solid var(--line); background: #fafafa; }
.shoe-size-table { table-layout: fixed; }
.fit-guide caption { padding-bottom: 8px; text-align: left; font-size: 1rem; }
.fit-guide thead { background: #f1f1ef; }
.shoe-size-table th:nth-child(-n+2) { width: 25%; }
.fit-guide .shoe-size-table th { text-align: center; font-weight: 500; }
.shoe-size-table td { font: .875rem/1.5 var(--mono); overflow-wrap: anywhere; }
.shoe-size-note { display: block; color: #636363; font: .8rem/1.4 Inter, 'Segoe UI', Arial, sans-serif; }
.foot-measurement, .clothing-measurement { margin-top: 14px; padding: 12px; border: 1px solid var(--line); background: #fafafa; }
.foot-measurement h3, .clothing-measurement h3 { font-size: 1rem; }
.foot-measurement-diagram, .clothing-measurement-diagram { display: block; width: 100%; max-width: 370px; height: auto; margin: 4px auto 8px; }
.foot-measurement ol, .clothing-measurement ol { margin: 8px 0 0; padding-inline-start: 20px; font-size: .875rem; }
.foot-measurement li + li, .clothing-measurement li + li { margin-top: 4px; }
.foot-measurement-note, .clothing-measurement-note, .clothing-measurement p { margin: 10px 0 0; font-size: .875rem; }
.clothing-measurement-note { color: #636363; }
.fit-guide .contact { margin: 12px 0; }
.share-product { margin-left: 9px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }

#management { padding-block: 30px; }
#management h1 { font-size: clamp(28px, 4vw, 48px); }
.admin-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.admin-header .admin-tools { margin: 0; }
.admin-tools, .admin-photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.admin-tools [aria-pressed="true"] { background: var(--ink); color: white; }
.admin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-item { align-self: start; min-width: 0; border: 1px solid var(--line); background: white; }
.admin-select-item { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 6px 8px; font-size: .825rem; }
.admin-row { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; padding: 8px; background: white; text-align: left; }
.admin-row img { width: 60px; height: 70px; object-fit: cover; background: var(--stone); }
.admin-row small { display: block; color: var(--muted); }
.admin-dialog { max-width: 620px; }
.admin-dialog > button { float: right; }
.admin-dialog form { clear: both; display: grid; gap: 12px; margin-top: 20px; }
.admin-dialog form label:not(.check), .admin-dialog fieldset { display: grid; gap: 5px; }
.admin-dialog input:not([type=checkbox]), .admin-dialog textarea { width: 100%; padding: 8px; border: 1px solid var(--line); background: white; }
.admin-dialog fieldset { border: 1px solid var(--line); }
.admin-photos div { display: grid; gap: 3px; }
.admin-photos img { width: 84px; height: 92px; object-fit: cover; }
.admin-dialog button:disabled { opacity: .55; }
.product-preview-label { margin: 0 52px 14px 0; color: var(--muted); }
.product-preview a.contact[aria-disabled="true"] { opacity: .6; cursor: default; }

@media (max-width: 800px) {
  .header-inner { grid-template-columns: 1fr auto; grid-template-rows: auto; grid-template-areas: "logo actions" "search search" "nav nav"; column-gap: 8px; }
  .brand-home, .header-actions { min-height: 48px; }
  .top-nav button { min-height: 40px; }
  .categories, .intro, .brand-strip, #purchase-feed { scroll-margin-top: 150px; }
  .grid, .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skeleton-card:nth-child(n+3) { display: none; }
}
@media (max-width: 600px) {
  .banner-slide { height: auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: clamp(200px, 32svh, 310px) minmax(0, 1fr); }
  .banner-slide img { grid-area: 1 / 1; }
  .banner-copy { grid-area: 2 / 1; padding: 17px var(--gutter) 20px; }
  .banner-copy h2 { font-size: clamp(27px, 7.6vw, 38px); text-wrap: unset; }
  .banner-copy .outline { margin-top: 14px; }
  .site-header.is-compact .compact-search { display: inline-flex; }
  .site-header.is-compact #saved-only:not(:focus), .site-header.is-compact .top-nav:not(:focus-within) { display: none; }
  .site-header.is-compact:not(:has(.compact-search[aria-expanded="true"])) .search-field:not(:focus-within) { display: none; }
  .site-header.is-compact .header-inner { grid-template-rows: minmax(48px, auto) auto auto; }
  #category-rail { grid-auto-columns: clamp(110px, 35vw, 160px); }
  .product-layout, .admin-list { grid-template-columns: minmax(0, 1fr); }
  .product strong { font-size: .94rem; }
  .brand-line { font-size: .75rem; }
  .gallery img { max-height: 43vh; }
  .bottom-nav { position: fixed; inset: auto 0 0; margin-left: 0; justify-content: space-evenly; gap: 0; padding-bottom: env(safe-area-inset-bottom); background: white; z-index: 2; border-top: 1px solid var(--line); }
  .bottom-nav a { padding-inline: 7px; }
  .footer-inner { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 375px) {

  .header-actions { gap: 0; }
  #admin { padding-inline: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  #banner-track { scroll-behavior: smooth; }
  .skeleton, img.photo-loading { animation: loading-pulse 1.4s ease-in-out infinite alternate; }
  .size-option input:checked + span { animation: size-select 220ms ease-out; }
  @keyframes loading-pulse { to { background-color: #f6f6f6; } }
  @keyframes size-select { 0% { transform: scale(.94); } 65% { transform: scale(1.04); } 100% { transform: scale(1); } }
}
.size-picker { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.size-picker legend { padding: 0; margin-bottom: 6px; font-weight: 400; }
.size-option { display: inline-flex; position: relative; cursor: pointer; }
.size-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-option span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 5px 9px; border: 1px solid var(--line); border-radius: 2px; font-weight: 400; }
.size-option input:checked + span { background: var(--ink); color: white; border-color: var(--ink); }
.size-option input:focus-visible + span { outline: 2px solid #222222; outline-offset: 3px; }

.footer-inner strong { font: 13px/1.5 var(--mono); }
.favorite[aria-pressed="true"], .save-toggle[aria-pressed="true"] { background: var(--stone); color: var(--ink); }
.size-option input:checked + span { background: var(--stone); color: var(--ink); }
.product-specs summary:hover, .fit-guide summary:hover, .brand-strip button:hover, .contact:hover { text-decoration: underline; }
.bag-icon { width: 16px; height: 15px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; margin-top: 3px; }
.bag-icon::before { content: ''; position: absolute; top: -6px; left: 3px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
#cart-count { font: 12px var(--mono); margin-left: 3px; }
.add-to-cart { width: 100%; margin-bottom: 8px; border-color: var(--ink); }
.add-to-cart:disabled { opacity: .6; cursor: default; }
#cart { max-width: 570px; }
#cart h2 { margin: 8px 0 20px; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-block-start: 1px solid var(--line); }
.cart-item img { width: 54px; height: 68px; object-fit: cover; flex: none; }
.cart-item div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cart-item strong { font-weight: 400; }
.cart-item p { margin: 4px 0 0; font: 12px/1.5 var(--mono); color: var(--muted); }
.cart-remove { border: 0; background: transparent; padding: 6px 0; font-size: .8rem; text-decoration: underline; }
.cart-total { border-top: 1px solid var(--line); margin: 0; padding: 14px 0; font: 16px/1.5 var(--mono); }
#cart-content .contact { width: 100%; }
@media (max-width: 600px) {
  .header-actions { gap: 0; }
  .header-actions .save-toggle { min-width: 38px; }
}
#purchase-list { grid-auto-columns: clamp(146px, 22%, 230px); margin-top: 12px; }
#purchase-empty { color: var(--muted); }
.related-item { position: relative; }
.product-badge, .sold-status { display: inline-block; padding: 4px 8px; border-radius: 2px; background: white; color: var(--ink); border: 1px solid var(--line); font: 12px/1.5 var(--mono); text-transform: uppercase; }
.product-badges { position: absolute; z-index: 1; left: 8px; top: 8px; display: grid; justify-items: start; gap: 4px; pointer-events: none; }
.discount-badge { color: #b42328; border-color: currentColor; }
@media (max-width: 600px) {
  .top-nav { gap: clamp(12px, 4vw, 22px); }
}
#management > [role="status"]:empty { display: none; }
.admin-tabs { padding: 8px 0; border-block: 1px solid var(--line); }
.admin-tabs button { white-space: nowrap; font-size: .88rem; }
.admin-list-controls { display: grid; grid-template-columns: minmax(160px, 2fr) repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-list-controls select, .admin-search { min-width: 0; width: 100%; }
.admin-search { min-height: 44px; padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 2px; }
.admin-result-count { color: var(--muted); margin: 10px 0; font-size: .875rem; }
@media (max-width: 600px) {
  .admin-list-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-search { grid-column: 1 / -1; }
}
.admin-row { min-width: 0; }
.admin-row:hover strong { text-decoration: underline; }
.admin-row img { flex: none; }
.admin-selection { align-items: center; }
.admin-selection > span { color: var(--muted); font-size: .875rem; }
.admin-publish-toolbar { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); }
.admin-publish-message, .admin-publish-issues { flex-basis: 100%; margin: 0; font-size: .875rem; }
.admin-publish-message:empty { display: none; }
.admin-publish-issues ul { max-height: 130px; overflow: auto; margin: 6px 0; padding-inline-start: 22px; }
@media (max-width: 600px) {
  .admin-publish-toolbar { bottom: calc(45px + env(safe-area-inset-bottom)); }
  .admin-publish-toolbar button { width: 100%; }
}
.admin-bulk-actions { flex-basis: 100%; align-items: center; margin: 0; padding: 8px; background: #f8f8f8; }
.admin-bulk-actions input, .admin-stepper input { width: 108px; min-height: 44px; padding: 8px; border: 1px solid var(--line); background: white; }
.admin-quick-stock { border-top: 1px solid var(--line); padding: 0 8px 4px; }
.admin-quick-stock summary { min-height: 44px; padding: 10px 0; font-size: .875rem; }
.admin-stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.admin-stepper > span:first-child { flex: 1 1 75px; min-width: 0; overflow-wrap: anywhere; }
.admin-stepper .admin-quantity { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.admin-stepper button { min-width: 44px; }
.admin-stepper button:disabled { opacity: .55; }
.admin-photo-warning { color: #b42328; font-size: .8rem; }
.admin-photo-warning:empty { display: none; }
.admin-history h2 { margin-bottom: 14px; }
.admin-history-entries { clear: both; display: grid; gap: 8px; }
.admin-history-entry { border: 1px solid var(--line); padding: 10px; overflow-wrap: anywhere; }
.admin-history-entry p { margin: 3px 0; font-size: .875rem; }
.admin-row-summary { display: grid; justify-items: start; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.admin-badge { width: fit-content; display: inline-block; padding: 2px 7px; border: 1px solid var(--line); border-radius: 2px; background: white; color: var(--ink); font: 12px/1.5 var(--mono); }
.admin-badge[data-state="catalog"] { background: var(--ink); border-color: var(--ink); color: white; }
.admin-badge[data-state="sold"] { background: var(--stone); }
.admin-badge[data-state="hidden"] { border-style: dashed; color: var(--muted); }
.admin-badge[data-state="pending"] { border-color: var(--ink); }
.admin-badge[data-state="archived"] { background: var(--stone); color: var(--muted); }
.admin-visibility { margin: 0; padding: 12px; background: #f8f8f8; }
.admin-visibility p { margin: 0 0 8px; }
.admin-visibility .check { min-height: 36px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.admin-empty { color: var(--muted); }
.admin-stock-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(72px, 100px); align-items: center; gap: 8px; }
.admin-stock-row .check { overflow-wrap: anywhere; }
.admin-stock-hint { margin: 0 0 5px; color: var(--muted); font-size: .875rem; }
.stock-note { display: block; margin: 0; width: fit-content; padding: 4px 7px; background: var(--stone); border-radius: 2px; color: var(--ink); font-size: .8rem; }
.stock-note-last { background: var(--ink); color: white; padding: 5px 9px; font-weight: 600; }
.size-badge:disabled, .size-option input:disabled + span { color: var(--muted); border-color: var(--line); background: var(--stone); cursor: not-allowed; text-decoration: line-through; }
.product-overview .stock-note { margin-bottom: 12px; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.discounted-price > span { font-weight: 650; }
.discounted-price del { color: var(--muted); font-size: .84em; }
.cart-item .product-price { margin-top: 4px; }
.top-nav > a { display: flex; align-items: center; align-self: stretch; font-size: .81rem; text-transform: uppercase; text-decoration: none; }
.top-nav > a:hover, .top-nav > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.faq { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 6vw, 88px); padding-block: clamp(32px, 6vw, 80px); }
.faq h1 { font-size: clamp(28px, 4vw, 46px); }
.faq-intro p { max-width: 34ch; margin: 16px 0 20px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--muted); font: 22px/1 var(--mono); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
@media (max-width: 600px) {
  .top-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .top-nav > * { flex: none; }
  .top-nav > a:focus-visible, .top-nav > button:focus-visible { outline-offset: -2px; }
  .bottom-nav a { padding-inline: 4px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
}
.shop-services { margin-top: clamp(44px, 7vw, 80px); }
.shop-services h2 { font-size: clamp(26px, 4vw, 46px); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.shop-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.shop-service { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(16px, 2.3vw, 28px); border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.shop-service-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: var(--stone); color: var(--ink); font: 20px/1 var(--mono); }
.shop-service h3 { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }
.shop-service p { margin: 0; color: var(--muted); }
.shop-service a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-size: .91rem; }
@media (max-width: 680px) {
  .shop-services-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shop-service { gap: 8px; }
}
.shop-reviews { margin-top: clamp(44px, 7vw, 80px); scroll-margin-top: 126px; }
.reviews-heading { padding: clamp(24px, 5vw, 64px); background: #191919; color: white; }
.reviews-heading h2 { font-size: clamp(30px, 5vw, 58px); letter-spacing: -.04em; }
.reviews-heading p { margin: 12px 0 0; color: #d1d1cf; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.review-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(16px, 2.3vw, 28px); border: 1px solid var(--line); }
.review-card h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(19px, 2vw, 24px); }
.review-icon { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stone); }
.review-card blockquote, .review-card p { margin: 0; }
.review-card p, .review-original { color: #636363; }
.review-original { font-size: .875rem; }
.review-platform { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin-top: auto; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 2px; font-size: .875rem; text-decoration: none; }
.review-platform:hover { background: var(--ink); color: white; }
@media (max-width: 800px) {
  .shop-reviews { scroll-margin-top: 150px; }
}
@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
}
#catalog-tools { grid-template-columns: minmax(0, 1fr) minmax(230px, 360px); align-items: start; gap: 10px 20px; }
#catalog-tools .catalog-heading, #catalog-tools .brand-strip, #catalog-tools .catalog-active { grid-column: 1 / -1; }
.catalog-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-quick button { min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 2px; background: white; font-size: .875rem; }
.catalog-quick button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.catalog-active, #filter-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.catalog-active { border-top: 1px solid var(--line); padding-top: 8px; }
.active-filter, #clear-filters { min-height: 38px; background: var(--stone); border: 0; border-radius: 2px; padding: 5px 9px; font-size: .85rem; overflow-wrap: anywhere; max-width: 100%; }
#clear-filters { background: transparent; padding-inline: 2px; text-decoration: underline; }
@media (max-width: 680px) {
  #catalog-tools { grid-template-columns: minmax(0, 1fr); }
  .catalog-quick button { flex: 1 1 auto; }
  #catalog-tools .brand-strip { display: none; }
}
.filter-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(380px, calc(100% - 24px)); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; border-left: 1px solid var(--line); }
body:has(.filter-drawer[open]) { overflow: hidden; }
.filter-drawer form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.filter-drawer-header, .filter-drawer-footer { padding: 12px 16px; display: flex; gap: 8px; align-items: center; }
.filter-drawer-header { justify-content: space-between; border-bottom: 1px solid var(--line); }
.filter-drawer-header button { width: 44px; padding: 0; font-size: 1.4rem; }
.filter-drawer-fields { display: grid; align-content: start; gap: 16px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.filter-drawer-fields > label { display: grid; gap: 5px; }
.filter-drawer-fields select, .filter-drawer-fields input:not([type="checkbox"]) { min-width: 0; width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 2px; background: #f7f7f6; font-size: 1rem; }
.filter-drawer-fields fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-drawer-fields legend { margin-bottom: 5px; padding: 0; }
.drawer-price > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.drawer-quick label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.drawer-quick input { width: 17px; height: 17px; margin: 0; }
.filter-drawer-footer { border-top: 1px solid var(--line); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.filter-drawer-footer button[type="submit"] { flex: 1; }
@media (min-width: 681px) {
  .filter-drawer { width: 440px; }
  .filter-drawer-header, .filter-drawer-fields, .filter-drawer-footer { padding-inline: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .filter-drawer[open] { animation: filter-drawer-enter 220ms ease-out; }
  @keyframes filter-drawer-enter { from { transform: translateX(100%); } }
}
