@font-face {
  font-family: Inter;
  src: url('/assets/inter-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #121212;
  --muted: #757575;
  --line: #d9d9d9;
  --accent: #aa0a22;
  --photo: #e3e3e3;
  --gutter: 15px;
  --width: 1440px;
  --icon-button-size: 44px;
  --header-height: 50px;
  --disclosure-duration: 380ms;
  font: 400 14px/1.28 Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, select, input { color: inherit; font: inherit; }
button, .icon-button, details summary { border-radius: 0; }
.button, .variants label span, .quantity button, .gallery-arrow { border-radius: 999px; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
h1, h2, p { margin: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
#main { flex: 1; }
#main:focus { outline: none; }
.container { max-width: var(--width); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 5; inset: .6rem auto auto .6rem; padding: .65rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); position: absolute; white-space: nowrap; }

.site-header { background: white; }
.header-inner { height: var(--header-height); max-width: var(--width); padding-inline: 3px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.icon-button { width: var(--icon-button-size); height: var(--icon-button-size); display: inline-grid; place-items: center; position: relative; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 699px) {
  .site-header .brand { position: relative; inset-inline-start: -4.5px; }
}
.header-actions { justify-self: end; display: flex; align-items: center; }
#cart-count { position: absolute; inset: 2px 2px auto auto; background: var(--accent); color: white; min-width: 16px; padding: 2px 3px; font-size: 10px; text-align: center; border-radius: 99px; }
.desktop-nav, .desktop-favorites { display: none; }

.photo { position: relative; display: block; background: var(--photo); overflow: hidden; isolation: isolate; }
.photo::before { content: ''; position: absolute; inset: 0; background: url('/assets/placeholder.png') center / contain no-repeat; opacity: .2; z-index: -1; pointer-events: none; }
.hero { height: calc(100svh - var(--header-height)); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; height: 100%; padding-bottom: var(--gutter); }
.hero h1 { color: #000; font-size: 20px; line-height: 24px; font-weight: 600; margin-bottom: 5px; }
.hero p { color: #000; margin-bottom: 15px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; text-align: center; font-weight: 500; }
.solid { background: var(--ink); color: white; }
.solid:hover:not(:disabled) { background: #343434; }
.outline { border: 1px solid var(--ink); background: white; }
.hero-button { min-width: 136px; background: white; color: #000; }
.hero-button:hover, .outline:hover { background: #f5f5f5; }
.recommendations { padding-top: 30px; padding-bottom: 30px; }
.recommendations h2 { font-size: inherit; font-weight: 500; margin-bottom: 29px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 10px; overflow-x: auto; padding-bottom: 32px; scrollbar-color: var(--line) transparent; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.rail .card { scroll-snap-align: start; }
.recommendations:has(.all-products) .rail { gap: 15px; }
.rail-indicator { display: none; }
@media (max-width: 699px) {
  .recommendations .rail {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .recommendations .rail .card { scroll-snap-stop: always; }
  .rail-indicator { display: block; position: relative; height: 3px; }
  .rail-indicator span { position: absolute; height: 100%; border-radius: 10px; background: var(--line); }
}
.rail .favorite { top: 5px; right: 5px; }
.all-products { display: flex; margin-top: 30px; }

.card { min-width: 0; }
.card-photo { position: relative; }
.card-info { min-height: 72px; margin: 9px var(--gutter) 0; }
.rail .card-info, .compact .card-info { margin-inline: 0; }
.card-info > a { display: table; }
.card-info > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prices { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; font-weight: 400; }
.card-info .prices { margin-top: 5px; }
.prices s { color: var(--muted); }
.prices .sale { color: var(--accent); }
.badge { position: absolute; left: 15px; top: 15px; background: var(--ink); color: white; font-size: 12px; height: 26px; min-width: 54px; display: grid; place-items: center; font-weight: 600; }
.badge-red { background: var(--accent); }
.badge-white { background: white; color: var(--ink); }
.hero-copy-light :is(h1,p) { color: white; text-shadow: 0 1px 5px #000; }
.favorite { width: 32px; height: 32px; border-radius: 50%; background: white; display: grid; place-items: center; position: absolute; right: 15px; top: 15px; }
.gallery-marks { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; pointer-events: none; }

.catalog { padding-inline: 0; }
.catalog-toolbar { padding: 16px var(--gutter); min-height: 78px; display: flex; align-items: center; gap: 16px; }
.catalog-toolbar h1 { font-size: inherit; font-weight: 500; margin-right: auto; }
.catalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.catalog.compact .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: var(--gutter); gap: 19px 10px; }
.catalog.compact .badge, .catalog.compact .gallery-marks { display: none; }
.catalog.compact .favorite { top: 5px; right: 5px; }
.catalog > .empty, .catalog > .button { margin-inline: var(--gutter); }
.catalog > .button { margin-bottom: 28px; }

.product { padding-inline: 0; }
.product-details { padding: 9px var(--gutter) 0; }
.product-details h1, .article h1 { font-size: inherit; font-weight: 500; margin-bottom: 5px; }
#product-form { margin-top: 15px; }
.variants { border: 0; padding: 0; margin: 0 0 15px; min-width: 0; }
.variants legend { margin-bottom: 5px; padding: 0; }
.variants div { display: flex; gap: 5px; }
.variants label { position: relative; cursor: pointer; min-width: 0; }
.variants.size label { flex: 1; max-width: 74px; }
.variants input { appearance: none; width: 1px; height: 1px; position: absolute; overflow: hidden; }
.variants label span { display: grid; place-items: center; min-width: 0; height: 32px; border: 1px solid var(--line); }
.variants.fit label span { width: 112px; }
.variants input:checked + span { background: var(--ink); color: white; border-color: var(--ink); }
.variants input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.quantity { display: flex; gap: 10px; margin: 5px 0 15px; }
.quantity button { height: 32px; width: 32px; border: 1px solid var(--line); }
.quantity input { appearance: textfield; text-align: center; width: 30px; border: 0; border-bottom: 1px solid var(--ink); }
.quantity input::-webkit-inner-spin-button { appearance: none; }
.product-add, .favorite-wide { width: 100%; }
.product-add img { filter: invert(1); }
.favorite-wide { margin-top: 5px; }
.product-accordions { margin-top: 30px; }
.size-chart { width: 100%; border-collapse: collapse; margin-block: 0 16px; color: var(--muted); }
.size-chart caption { text-align: left; padding-bottom: 8px; }
.size-chart :is(caption, th) { font-weight: 400; }
.size-chart :is(th, td) { border-bottom: 1px solid var(--line); padding: 8px 5px; text-align: center; }
.size-chart th:first-child { text-align: left; }
.size-chart thead th { vertical-align: bottom; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; margin-right: 20px; }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 15px; color: var(--muted); white-space: pre-line; }
details a, .article article a, .consent a { text-decoration: underline; text-underline-offset: 2px; }

.article { padding-block: 30px 40px; }
.article h1 { margin-bottom: 17px; }
.article h2 { font-size: inherit; font-weight: 600; margin: 20px 0 5px; }
.article p { margin: 0 0 15px; white-space: pre-line; }
.empty { color: var(--muted); margin-bottom: 15px; }

.site-footer { color: var(--muted); font-size: 12px; background: #f5f5f5; }
.footer-inner { max-width: var(--width); margin: auto; padding: 30px var(--gutter); }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; row-gap: 5px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { text-align: center; margin-top: 15px; }

dialog { background: white; color: var(--ink); border: 0; padding: 0; }
dialog::backdrop { background: #0007; }
.drawer { inset: 0 0 0 auto; margin: 0; height: 100dvh; width: 100%; max-height: 100dvh; max-width: none; overflow-y: auto; }
.dialog-head { height: 50px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter) var(--dialog-edge-padding, 5px); flex: 0 0 auto; background: white; }
.dialog-head h2 { font-size: 16px; font-weight: 500; }
.close::before, .close::after { content: ''; width: var(--close-stroke-width, 20px); height: var(--close-stroke-height, 1.5px); background: var(--ink); position: absolute; transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }
.menu-nav { display: grid; padding: 15px var(--gutter) 30px; }
.menu-nav a { display: flex; align-items: center; min-height: 49px; gap: 9px; font-size: 16px; }
.menu-nav a::after, .menu-info > summary::after, .filter-group summary::after {
  content: ''; flex: 0 0 auto; width: var(--drawer-chevron-width); height: var(--drawer-chevron-height);
  margin-inline: auto calc(var(--drawer-icon-right-inset) - var(--gutter)); background: currentColor;
  mask: url('/assets/menu-chevron.svg') center / contain no-repeat;
}
.menu-nav .menu-favorites { min-height: 64px; align-items: flex-start; padding-top: 14px; font-weight: 500; }
.menu-nav .menu-favorites::after { margin-top: 4px; }
.menu-group { border-block: 1px solid var(--line); padding-block: 15px; margin-bottom: 15px; }
.cart-drawer[open] { display: flex; flex-direction: column; overflow: hidden; }
.cart-items { flex: 1 1 auto; padding: 0 var(--gutter); overflow-y: auto; }
.cart-items-empty { display: grid; place-items: center; text-align: center; color: var(--muted); }
.cart-empty-bottom { padding: 15px var(--gutter) max(24px, env(safe-area-inset-bottom)); background: #fff; }
.cart-empty-bottom .button { width: 100%; }
.cart-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; padding-block: 30px 23px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item > .photo { height: 75px; }
.cart-item > .photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-product { min-width: 0; }
.cart-product > a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-product small { display: block; color: var(--muted); margin-top: 5px; font-size: 12px; }
.cart-quantity { display: flex; margin-top: 5px; align-items: center; gap: 4px; }
.cart-quantity button { min-width: 26px; min-height: 30px; }
.cart-quantity span { text-align: center; min-width: 30px; border-bottom: 1px solid; padding: 3px 0; }
.cart-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-price .prices { flex-direction: column; align-items: flex-end; }
.cart-price button { font-size: 12px; text-decoration: underline; min-height: 30px; }
.cart-bottom, .filter-bottom, .product-actions.pinned {
  padding: 15px var(--gutter) max(30px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: inset 0 1px rgb(0 0 0 / 12%);
}
.cart-bottom > div, .checkout-total { display: flex; justify-content: space-between; gap: 14px; }
.cart-bottom > div { line-height: 17px; }
.cart-bottom strong { font-weight: 700; }
.cart-bottom > .button { width: 100%; margin-top: 15px; }
.cart-bottom > .cart-continue { margin-top: 6px; }

.checkout { inset: 0; margin: auto; width: min(100%, 560px); max-width: 100%; max-height: 100dvh; overflow: auto; }
.checkout .dialog-head { position: sticky; top: 0; z-index: 2; }
.checkout form, .checkout-confirmation { padding: 12px var(--gutter) 20px; }
.checkout-confirmation p { margin: 0 0 16px; }
.checkout-confirmation .order-number { display: block; overflow-wrap: anywhere; }
.checkout-confirmation .button { width: 100%; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 54px; min-width: 0; position: relative; }
.checkout fieldset::after { content: ''; position: absolute; inset: auto 0 -27px; border-top: 1px solid var(--line); }
.checkout fieldset:last-of-type::after { content: none; }
.checkout fieldset:last-of-type { margin-bottom: 36px; }
.checkout legend { font-size: 16px; font-weight: 400; padding: 0; margin-bottom: 14px; }
.checkout-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 12px; }
.checkout-options span { flex-basis: 100%; }
.checkout-options label { display: inline-flex; align-items: center; min-height: 28px; gap: 4px; }
.checkout-options input { accent-color: var(--ink); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; min-width: 0; }
.field :is(input, select) { width: 100%; min-height: 32px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; font: inherit; }
.field input:disabled { background: #f5f5f5; }
@media (pointer: coarse), (max-width: 699px) {
  .checkout { overflow-x: hidden; }
  .checkout .field input {
    /* Keep iOS focus zoom from triggering while displaying 14px text. */
    font-size: 16px;
    width: calc(100% / .875);
    min-height: calc(32px / .875);
    margin-block: calc((32px - 32px / .875) / 2);
    transform: scale(.875);
    transform-origin: left center;
  }
}
.lookup-status, .delivery-note, #checkout-message { color: var(--muted); font-size: 12px; }
.lookup-status:empty, #checkout-message:empty { display: none; }
.lookup-input { position: relative; }
.suggestions {
  position: absolute; z-index: 1; inset: calc(100% + 4px) 0 auto;
  display: grid; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  max-height: 168px; overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
}
.search-field:has(.suggestions:not([hidden])) { position: relative; z-index: 1; }
.suggestions button { min-height: 44px; text-align: start; padding: 6px 10px; }
.suggestions button:hover { background: #f5f5f5; }
.suggestions button + button { border-top: 1px solid #eee; }
.checkout-total { border-block: 1px solid var(--line); padding-block: 30px; margin-bottom: 30px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.consent input { accent-color: var(--ink); min-width: 16px; height: 16px; margin: 0; }
#checkout-message { margin-top: 10px; min-height: 15px; }
#submit-order { display: flex; width: 100%; margin-top: 12px; }
.checkout-back { min-height: 42px; display: block; margin: 0 auto; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 700px) {
  :root { --gutter: 30px; }
  .header-inner { padding-inline: 19px 21px; }
  .hero h1 { font-size: 28px; line-height: 1.2; }
  .hero p { font-size: 16px; }
  .catalog { padding-inline: var(--gutter); }
  .catalog-toolbar { padding-inline: 0; }
  .catalog-grid, .catalog.compact .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; gap: 24px 14px; }
  .catalog.compact .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-info { margin-inline: 0; }
  .recommendations { padding-block: 40px; }
  .rail { grid-auto-columns: minmax(220px, 1fr); grid-template-columns: repeat(4, minmax(172px, 1fr)); gap: 14px; }
  .all-products { width: fit-content; margin: 22px auto 0; }
  .product { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 38px; padding: 28px var(--gutter) 0; }
  .product-details { padding: 0; }
  .product-details h1 { font-size: 20px; }
  .article { max-width: 780px; font-size: 16px; }
  .article h1 { font-size: 24px; }
  .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .site-footer nav { grid-template-columns: repeat(2, max-content); gap: 6px 34px; }
  .site-footer p { margin: 0; }
  .drawer { width: 420px; }
  .drawer, .checkout { --gutter: 22px; }
  .checkout { max-height: calc(100dvh - 40px); }
}

@media (min-width: 1000px) {
  :root { --gutter: 48px; --header-height: 65px; }
  .header-inner { padding-inline: var(--gutter) calc(var(--gutter) - 10px); }
  .menu-button { display: none; }
  .brand { justify-self: start; margin: 0; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 54px); }
  .desktop-nav a, .desktop-nav button { padding-block: 14px; }
  .desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav button:hover, .desktop-nav button:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
  .desktop-favorites { display: grid; }
  .hero h1 { font-size: 34px; }
  .catalog-toolbar h1 { font-size: 16px; }
  .catalog-grid, .catalog.compact .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
  .catalog.compact .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product { gap: clamp(42px, 6.3vw, 100px); }
  .product-details { max-width: 490px; padding-top: 18px; }
  .site-footer nav { grid-template-columns: repeat(4, max-content); }
}

.favorite[aria-pressed=true], .favorite-wide[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.favorite[aria-pressed=true] img, .favorite-wide[aria-pressed=true] img { filter: invert(1); }

.menu-drawer { inset: 0 auto 0 0; scrollbar-width: none; }
.dialog-head h2:focus { outline: none; }
.close { border: 0; outline: 0; }
.close:focus-visible { background: #e8e8e8; }

.drawer {
  --dialog-edge-padding: 5px;
  --drawer-chevron-width: 8.11424px;
  --drawer-chevron-height: 15.98867px;
  --close-stroke-width: 20px;
  --close-stroke-height: 1.5px;
  /* Project half of a diagonal stroke onto the horizontal axis. */
  --drawer-icon-right-inset: calc(var(--dialog-edge-padding) + var(--icon-button-size) / 2 - (var(--close-stroke-width) + var(--close-stroke-height)) * .35355339);
  --drawer-offset: 100%;
  --panel-duration: 280ms;
  transform: translateX(var(--drawer-offset));
  transition: transform var(--panel-duration) cubic-bezier(.22,.61,.36,1);
}
.menu-drawer { --drawer-offset: -100%; }
.drawer[open]:not([data-opening], [data-closing]) { transform: translateX(0); }
.drawer::backdrop { opacity: 0; transition: opacity var(--panel-duration); }
.drawer[open]:not([data-opening], [data-closing])::backdrop { opacity: 1; }
.drawer .close::before, .drawer .close::after { transform: scaleX(.7); opacity: 0; transition: transform var(--panel-duration), opacity var(--panel-duration); }
.drawer[open]:not([data-opening], [data-closing]) .close::before { transform: rotate(45deg); opacity: 1; }
.drawer[open]:not([data-opening], [data-closing]) .close::after { transform: rotate(-45deg); opacity: 1; }
.drawer .close img { transition: transform var(--panel-duration), opacity var(--panel-duration); }
.drawer[open]:not([data-opening], [data-closing]) .close img { transform: scale(.65); opacity: 0; }
.cart-drawer:not([open]) { display: none; }

.filter-group summary::after, .menu-info > summary::after {
  margin-inline-end: calc(var(--drawer-icon-right-inset) - var(--gutter) + (var(--drawer-chevron-height) - var(--drawer-chevron-width)) / 2);
  transform: rotate(90deg);
  transition: transform var(--disclosure-duration) ease-in-out;
}
.filter-group[open] summary::after, .menu-info[open] > summary::after { content: ''; }
.filter-group[open]:not([data-closing]) summary::after, .menu-info[open]:not([data-closing]) > summary::after { transform: rotate(-90deg); }
.menu-info { border: 0; }
.menu-info summary { min-height: 49px; font-size: 16px; }
.menu-info-links { padding-inline-start: 16px; }
.menu-info-links a { min-height: 47px; font-size: 14px; text-decoration: none; }
.menu-info-links a::after {
  width: calc(var(--drawer-chevron-width) * .75);
  height: calc(var(--drawer-chevron-height) * .75);
  margin-inline-end: calc(var(--drawer-icon-right-inset) - var(--gutter) + var(--drawer-chevron-width) * .125);
  background: var(--muted);
}
.disclosure-panel[data-animating] { overflow: hidden; }
details[data-closing] summary::after { content: '+'; }

.photo-track { display: flex; overflow-x: hidden; }
[data-gallery] .photo-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.photo-track > .photo { flex: 0 0 100%; min-width: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.photo-track > .photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-marks { z-index: 1; inset-block-end: 6px; gap: 3px; max-width: 90%; pointer-events: auto; }
.gallery-marks button { flex: 0 1 20px; width: 20px; min-width: 10px; height: 22px; }
.gallery-marks button::after { content: ''; display: block; width: 100%; height: 2px; background: #fff; box-shadow: 0 0 2px #0009; transition: background 180ms; }
.gallery-marks button[aria-current=true]::after { background: var(--ink); box-shadow: 0 0 2px #fff; }
.gallery-arrow { position: absolute; display: grid; place-items: center; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; background: white; }
.gallery-arrow.previous { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-arrow::before { content: ''; width: 8px; height: 8px; border: solid var(--ink); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.gallery-arrow.previous::before { transform: rotate(-135deg); }
.gallery-arrow:disabled { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer::backdrop, .drawer .close::before, .drawer .close::after, .drawer .close img,
  .filter-group summary::after, .menu-info summary::after { transition: none; }
  [data-gallery] .photo-track { scroll-behavior: auto; }
}

.site-header { position: sticky; top: 0; z-index: 5; }
.banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.product-action-slot { min-height: 49px; }
.product-actions { width: 100%; }
.product-actions.pinned {
  --pin-duration: 280ms;
  position: fixed; z-index: 4; bottom: 0; inset-inline: 0;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--pin-duration) cubic-bezier(.22,.61,.36,1), visibility 0s var(--pin-duration);
}
body:not(:has(dialog[open])) .product-actions.pinned.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
@media (prefers-reduced-motion: reduce) {
  .product-actions.pinned { --pin-duration: 0ms; }
}
body:has(.product-action-slot) .footer-inner { padding-bottom: calc(89px + max(0px, env(safe-area-inset-bottom) - 30px)); }
.product-add:disabled { background: #d5d5d5; color: #363636; opacity: 1; }
.product-add:disabled img { filter: none; }
@media (min-width: 700px) {
  .product-actions.pinned { inset-inline-start: auto; inset-inline-end: max(var(--gutter), calc((100vw - var(--width)) / 2 + var(--gutter))); width: min(39vw, 490px); padding-inline: 0; }
}

.catalog-toolbar { gap: 12px; }
.filter-toggle { display: flex; align-items: center; min-height: 44px; gap: 8px; }
.filter-toggle span { position: relative; width: 9px; height: 9px; }
.filter-toggle span::before, .filter-toggle span::after { content: ''; position: absolute; inset: 4px 1px auto; height: 1px; background: currentColor; }
.filter-toggle span::after { transform: rotate(90deg); }
.layout-toggle { width: 38px; }
.layout-symbol { display: grid; width: 12px; height: 12px; }
.layout-symbol.four { grid-template: repeat(2, 1fr) / repeat(2, 1fr); gap: 2px; }
.layout-symbol i { border: 1px solid currentColor; border-radius: 1px; }

.filter-drawer[open], #filter-form { display: flex; flex-direction: column; overflow: hidden; }
#filter-form { flex: 1; min-height: 0; }
.filter-scroll { flex: 1; overflow-y: auto; overflow-anchor: none; scrollbar-width: none; padding-inline: var(--gutter); }
.filter-group { border-color: var(--line); }
.filter-group summary { min-height: 79px; font-size: 16px; }
.filter-options { padding-bottom: 22px; }
.filter-options label { min-height: 32px; display: flex; gap: 5px; align-items: center; cursor: pointer; }
.filter-options input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; }
.filter-bottom { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 9px; min-height: 90px; }
.filter-bottom .outline { border-color: rgb(0 0 0 / 12%); }

.catalog-empty { display: grid; grid-template-rows: 1fr auto; align-items: center; min-height: max(320px, calc(100dvh - 253px)); padding: 0 var(--gutter) 30px; text-align: center; gap: 20px; }
.catalog-empty p { width: min(100%, 340px); justify-self: center; color: var(--muted); }
@media (min-width: 700px) { .catalog-empty .button { width: min(100%, 345px); justify-self: center; } }


#main:has(.not-found-page) { display: flex; }
.not-found-page {
  flex: 1; width: 100%; min-height: 14rem; display: grid; grid-template-rows: 1fr auto;
  padding-block-end: 30px; text-align: center;
}
.not-found-page h1 {
  align-self: center; margin: 0; color: var(--muted); font-size: 14px; font-weight: 400;
}
@media (min-width: 700px) {
  .not-found-page .button { justify-self: center; width: min(100%, 345px); }
}
