/* Stilsi — complete shared storefront stylesheet.
   Static HTML/CSS/JS demo with no framework or build step. */
:root {
  --ink: #20201e;
  --muted: #6e6d69;
  --line: #e7e6e2;
  --soft: #f5f5f2;
  --accent: #953b4e;
  --page: 1248px;
  --gap: 24px;
  --heading: Arial,Helvetica,sans-serif;
  --body: Arial,Helvetica,sans-serif;
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2 {
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.8px;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 14px;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select,textarea {
  font: inherit;
  color: inherit;
}

button,a,input,select,summary {
  -webkit-tap-highlight-color: transparent;
}

button,select,summary,label {
  cursor: pointer;
}

button,input,select {
  border-radius: 0;
}

button {
  background: none;
}

input,select {
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

button {
  border: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details>summary {
  user-select: none;
}

::selection {
  background: #e9dedc;
  color: #161616;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

input:focus-visible,select:focus-visible {
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -100px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--page),calc(100% - 80px));
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-link svg {
  width: 17px;
  height: 17px;
}

.text-link:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  transition: background .18s,color .18s;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button--light {
  background: #fff;
  color: var(--ink);
}

.button--light:hover {
  color: #fff;
}

.button svg {
  width: 18px;
  height: 18px;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  gap: 9px;
}

.icon-link:hover {
  color: var(--accent);
}

.line-input {
  height: 48px;
  border: 1px solid var(--line);
  padding: 0 13px;
  min-width: 0;
  width: 100%;
}

.line-input::placeholder {
  color: #767570;
}

/* Header: native details menus remain operable without scripts. */
.site-header {
  background: #fff;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 100px;
  display: grid;
  grid-template-columns: 230px minmax(220px,460px) 1fr;
  align-items: center;
  gap: 40px;
}

.brand {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 43px;
  letter-spacing: -3.3px;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  width: max-content;
}

.brand-dot {
  color: var(--accent);
}

.search-form {
  height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #bdbcb5;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 12px 0;
  background: transparent;
  outline-offset: 0;
  font-size: 13px;
}

.search-form button {
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.search-form svg {
  width: 19px;
  height: 19px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.tool-label {
  font-size: 12px;
}

.header-nav {
  border-top: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 53px;
}

.nav-inner>a {
  font-size: 13px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-inner>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .2s;
}

.nav-inner>a:hover::after {
  transform: scaleX(1);
}

.nav-inner .sale-link {
  color: var(--accent);
}

.nav-help {
  margin-left: auto;
}

.desktop-menu {
  position: relative;
  align-self: stretch;
  display: flex;
  min-width: 188px;
}

.desktop-menu>summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 23px;
  min-height: 53px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.desktop-menu>summary svg {
  width: 17px;
}

.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 26px #00000009;
  z-index: 30;
}

.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
}

.menu-panel a:last-child {
  border: 0;
}

.menu-panel a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 24px;
  box-shadow: 0 12px 15px #00000008;
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-top: 12px;
}

.mobile-panel nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* Homepage components. No overlines, secondary marketing copy, or badges. */
.home-main {
  padding-top: 28px;
}

.home-opening {
  display: grid;
  grid-template-columns: 188px 1fr;
  gap: 32px;
}

.home-sidebar {
  padding: 10px 23px 0 0;
  border-right: 1px solid var(--line);
}

.home-sidebar h2 {
  font: 600 14px/1.4 var(--body);
  letter-spacing: 0;
  margin-bottom: 14px;
}

.home-sidebar nav {
  display: grid;
  gap: 0;
}

.home-sidebar nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 35px;
  font-size: 13px;
}

.home-sidebar nav a:hover {
  color: var(--accent);
}

.home-sidebar nav svg {
  height: 14px;
  width: 14px;
}

.home-sidebar .quick-size {
  margin-top: 33px;
}

.quick-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quick-size-list a {
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 39px;
  font-size: 12px;
}

.quick-size-list a:hover {
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 462px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 26px 28px 20px;
}

.hero h1 {
  font-size: 57px;
  letter-spacing: -2.2px;
  line-height: 1.04;
  margin-bottom: 33px;
}

.hero-media {
  overflow: hidden;
  background: #eeece9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 488px;
  object-fit: cover;
  object-position: center 32%;
}

.hero-copy .button {
  gap: 25px;
}

.section {
  margin-top: 68px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.section-heading .text-link {
  font-size: 13px;
  white-space: nowrap;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: var(--gap);
}

.category-card {
  min-width: 0;
}

.category-image {
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 1.38;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.category-card:hover img {
  transform: scale(1.025);
}

.category-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-top: 14px;
}

.category-card svg {
  height: 19px;
  width: 19px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 34px var(--gap);
}

.product-card {
  position: relative;
  min-width: 0;
}

.product-visual {
  position: relative;
  overflow: hidden;
  background: #f2f1ef;
  aspect-ratio: 4/5;
}

.product-photo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.product-photo-link:hover img {
  transform: scale(1.025);
}

.favorite {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #ffffffdb;
}

.favorite svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.4;
}

.favorite:has(input:checked) svg {
  fill: var(--accent);
  stroke: var(--accent);
}

.favorite:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-card h3 {
  font: 400 14px/1.45 var(--body);
  margin-top: 13px;
  margin-bottom: 6px;
}

.product-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1px;
}

.price del {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.price .reduced {
  color: var(--accent);
}

.swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  min-height: 12px;
}

.swatches span {
  display: block;
  width: 11px;
  height: 11px;
  background: var(--swatch);
  border: 1px solid #00000012;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  margin-block: 72px;
}

.feature-image {
  aspect-ratio: 1.48;
  overflow: hidden;
  background: #eee;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 37%;
}

.feature-copy h2 {
  font-size: 43px;
  letter-spacing: -1.2px;
  margin-bottom: 27px;
  max-width: 390px;
}

.feature-copy {
  padding-right: 30px;
}

.browse-center {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Footer keeps policies as links, not unverified store promises. */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.service-links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--line);
}

.service-links a {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding: 26px 10px;
  font-size: 13px;
}

.service-links a:hover {
  color: var(--accent);
}

.service-links svg {
  width: 22px;
  height: 22px;
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 45px 0;
  border-bottom: 1px solid var(--line);
}

.newsletter h2 {
  font-size: 28px;
  max-width: 330px;
}

.newsletter form {
  width: 440px;
  max-width: 100%;
}

.newsletter-fields {
  display: flex;
}

.newsletter-fields input {
  border: 1px solid #bdbcb5;
  border-right: 0;
  height: 48px;
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  font-size: 13px;
}

.newsletter-fields .button {
  min-height: 48px;
  padding: 11px 20px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 11px;
  cursor: pointer;
}

.consent input {
  accent-color: var(--ink);
  margin: 2px 0 0;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 35px;
  padding: 42px 0;
}

.footer-grid h2 {
  font: 500 14px/1.4 var(--body);
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-grid li {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}

.footer-grid li a {
  display: inline-block;
  padding-block: 2px;
}

.footer-grid li a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-brand .brand {
  font-size: 36px;
}

.footer-brand .social-links {
  display: flex;
  gap: 20px;
  margin-top: 23px;
  font-size: 12px;
}

.social-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 0 27px;
  font-size: 11px;
  color: var(--muted);
}

/* Collection: URL-fragment category navigation + native radio filters.
   CSS :has() also powers sorting through the selected native <option>.
   When :has() is unsupported the full, readable collection remains visible. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  padding: 25px 0;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb svg {
  width: 10px;
  height: 10px;
}

.catalog-page {
  position: relative;
}

.category-target {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 37px;
  gap: 20px;
}

.catalog-heading h1 {
  font-size: 42px;
}

.catalog-count {
  font-size: 12px;
  color: var(--muted);
}

.category-title:not([data-category=all]) {
  display: none;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 38px;
}

.filters {
  font-size: 13px;
}

.filter-group {
  border-bottom: 1px solid var(--line);
  padding: 0 0 23px;
  margin-bottom: 24px;
}

.filter-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  font-weight: 500;
}

.filter-group summary svg {
  width: 15px;
  height: 15px;
  transition: transform .15s;
}

.filter-group[open] summary svg {
  transform: rotate(180deg);
}

.filter-options {
  padding-top: 14px;
}

.category-filters {
  display: grid;
}

.category-filters a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
}

.category-filters a span {
  font-size: 11px;
  color: var(--muted);
}

.category-filters a:hover {
  color: var(--ink);
}

.size-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.size-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.size-option>span {
  min-width: 43px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  padding: 0 8px;
  font-size: 12px;
  background: #fff;
}

.size-option input:checked+span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.size-option input:focus-visible+span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.radio-option {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 12px 0;
  font-size: 13px;
}

.radio-option input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--ink);
}

.reset-filters {
  font-size: 12px;
  min-height: 42px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  min-height: 45px;
}

.view-label {
  font-size: 12px;
  color: var(--muted);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.sort-field select {
  min-height: 38px;
  max-width: 180px;
  border: 0;
  border-bottom: 1px solid #aaa;
  padding: 4px 26px 4px 5px;
  font-size: 12px;
}

.catalog-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 34px 22px;
}

.mobile-filter-toggle {
  display: none;
}

.filter-toggle-label {
  display: none;
}

.empty-state {
  display: none;
  padding: 70px 20px;
  text-align: center;
  grid-column: 1/-1;
  order: 100;
}

.empty-state h2 {
  font-size: 26px;
  margin-bottom: 25px;
}

.catalog-end {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.catalog-end a {
  color: var(--ink);
}

body:has(#sort option[value=low]:checked) .catalog-grid .product-card {
  order: var(--price-rank);
}

body:has(#sort option[value=high]:checked) .catalog-grid .product-card {
  order: calc(20 - var(--price-rank));
}

body:has(#sort option[value=name]:checked) .catalog-grid .product-card {
  order: var(--name-rank);
}

body:has(#price-low:checked) .catalog-grid .product-card[data-price=high],body:has(#price-high:checked) .catalog-grid .product-card[data-price=low] {
  display: none;
}

body:has(#size-xs:checked) .catalog-grid .product-card:not([data-sizes~=XS]),body:has(#size-s:checked) .catalog-grid .product-card:not([data-sizes~=S]),body:has(#size-m:checked) .catalog-grid .product-card:not([data-sizes~=M]),body:has(#size-l:checked) .catalog-grid .product-card:not([data-sizes~=L]),body:has(#size-xl:checked) .catalog-grid .product-card:not([data-sizes~=XL]) {
  display: none;
}

body:not(:has(.category-target:not(#all):target)) .category-filters a[href="#all"] {
  font-weight: 600;
  color: var(--ink);
}

/* Product template. Gallery, swatches, sizes and accordions use native HTML. */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr);
  gap: 70px;
  align-items: start;
  margin-top: 9px;
}

.product-gallery {
  min-width: 0;
}

.gallery-stage {
  background: #efeeeb;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.gallery-frame {
  width: 100%;
  height: 100%;
  display: none;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-frame[data-frame=front] {
  display: block;
}

.gallery-frame .color-photo:not([data-color=beige]) {
  display: none;
}

.gallery-thumbnails {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}

.gallery-thumbnails label {
  display: block;
  width: 72px;
  height: 89px;
  border: 1px solid transparent;
  padding: 3px;
  position: relative;
}

.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails label:has(input:checked) {
  border-color: var(--ink);
}

.gallery-thumbnails label:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-gallery:has(#gallery-detail:checked) .gallery-frame[data-frame=front],.product-gallery:has(#gallery-belt:checked) .gallery-frame[data-frame=front] {
  display: none;
}

.product-gallery:has(#gallery-detail:checked) .gallery-frame[data-frame=detail],.product-gallery:has(#gallery-belt:checked) .gallery-frame[data-frame=belt] {
  display: block;
}

.editorial-gallery-extra {
  display: none;
}

.product-info {
  padding-top: 14px;
  position: sticky;
  top: 25px;
}

.product-info h1 {
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: -1.1px;
  margin-bottom: 18px;
}

.product-price {
  font-size: 23px;
  margin-bottom: 31px;
}

.product-price del {
  font-size: 15px;
}

.product-option {
  margin-top: 24px;
}

.product-option legend {
  font-size: 13px;
  margin-bottom: 13px;
}

.color-controls {
  display: flex;
  gap: 10px;
}

.color-option {
  position: relative;
  display: block;
}

.color-option span {
  display: block;
  width: 40px;
  height: 40px;
  background: var(--swatch);
  border: 5px solid #fff;
  outline: 1px solid var(--line);
}

.color-option input:checked+span {
  outline-color: var(--ink);
}

.color-option input:focus-visible+span {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.color-name:not([data-color=beige]) {
  display: none;
}

.product-size-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-size-row .size-option>span {
  min-width: 48px;
  min-height: 45px;
  font-size: 13px;
}

.size-option input:disabled+span {
  color: #b1afa9;
  background: linear-gradient(to bottom right,transparent calc(50% - .5px),#d8d7d1 50%,transparent calc(50% + .5px));
  cursor: not-allowed;
}

.size-guide {
  margin-top: 14px;
  font-size: 12px;
}

.size-guide summary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 32px;
}

.size-guide summary svg {
  width: 16px;
  height: 16px;
}

.size-guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-top: 12px;
  text-align: left;
}

.size-guide th,.size-guide td {
  padding: 9px 5px;
  border-bottom: 1px solid var(--line);
}

.size-guide caption {
  text-align: left;
  margin-bottom: 8px;
  color: var(--muted);
}

.purchase-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 24px;
}

.quantity-control {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  min-width: 64px;
  position: relative;
  padding: 4px 8px;
}

.quantity-control span {
  font-size: 9px;
  color: var(--muted);
}

.quantity-control select {
  border: 0;
  font-size: 14px;
  min-height: 25px;
  width: 100%;
}

.purchase-row .button {
  flex: 1;
  gap: 12px;
  padding-inline: 12px;
  min-height: 52px;
}

.purchase-favorite {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  width: 52px;
  flex-shrink: 0;
}

.purchase-favorite svg {
  width: 20px;
}

.purchase-favorite:has(input:checked) svg {
  fill: var(--accent);
  stroke: var(--accent);
}

.purchase-favorite:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product-delivery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 0;
  margin-top: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.product-delivery a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-delivery a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-delivery svg {
  width: 20px;
  height: 20px;
}

.product-accordion {
  border-bottom: 1px solid var(--line);
}

.product-accordion>summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 13px;
}

.product-accordion>summary svg {
  width: 16px;
  height: 16px;
}

.product-accordion[open]>summary svg {
  transform: rotate(45deg);
}

.accordion-body {
  padding-bottom: 21px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.accordion-body p+p {
  margin-top: 12px;
}

.product-specs {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px;
  font-size: 12px;
}

.product-specs dt {
  color: var(--ink);
}

.product-specs dd {
  margin: 0;
}

.related-products {
  margin-top: 77px;
}

.related-products .product-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.product-code {
  margin-top: 19px;
  font-size: 11px;
  color: var(--muted);
}

body:has(#color-black:checked) .gallery-frame .color-photo,body:has(#color-grey:checked) .gallery-frame .color-photo {
  display: none;
}

body:has(#color-black:checked) .gallery-frame .color-photo[data-color=black],body:has(#color-grey:checked) .gallery-frame .color-photo[data-color=grey] {
  display: block;
}

body:has(#color-black:checked) .color-name,body:has(#color-grey:checked) .color-name {
  display: none;
}

body:has(#color-black:checked) .color-name[data-color=black],body:has(#color-grey:checked) .color-name[data-color=grey] {
  display: inline;
}

/* Explicit static boundaries for actions that require a backend. */
.demo-main {
  max-width: 780px;
  padding: 65px 0 30px;
}

.demo-main h1 {
  font-size: 45px;
  margin-bottom: 26px;
}

.demo-intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 30px;
}

.demo-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}

.demo-block h2 {
  font-size: 22px;
  margin-bottom: 13px;
}

.demo-block p {
  color: var(--muted);
  margin-bottom: 15px;
}

.demo-block:target {
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

.demo-back {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (min-width:1600px) {
  :root {
    --page: 1320px;
  }
  .hero {
    min-height: 490px;
  }
}

@media (max-width:1150px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .header-main {
    grid-template-columns: 190px minmax(180px,360px) 1fr;
    gap: 25px;
  }
  .tool-label {
    display: none;
  }
  .header-tools {
    gap: 9px;
  }
  .nav-inner {
    gap: 25px;
  }
  .home-opening {
    grid-template-columns: 165px 1fr;
    gap: 25px;
  }
  .desktop-menu {
    min-width: 165px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-copy {
    padding-left: 8px;
  }
  .hero {
    min-height: 425px;
  }
  .hero-media img {
    max-height: 450px;
  }
  .hero-copy .button {
    padding-inline: 19px;
  }
  .catalog-layout {
    grid-template-columns: 180px 1fr;
    gap: 26px;
  }
  .catalog-grid {
    gap: 30px 18px;
  }
  .product-layout {
    gap: 40px;
  }
  .product-info h1 {
    font-size: 34px;
  }
  .product-delivery {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .feature {
    gap: 40px;
  }
  .feature-copy h2 {
    font-size: 36px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
}

@media (max-width:900px) {
  .header-main {
    min-height: 83px;
    grid-template-columns: 170px 1fr auto;
    gap: 25px;
  }
  .brand {
    font-size: 38px;
  }
  .header-tools {
    gap: 2px;
  }
  .nav-inner {
    gap: 23px;
  }
  .nav-help {
    display: none !important;
  }
  .desktop-menu {
    min-width: 150px;
  }
  .desktop-menu>summary {
    padding-inline: 15px;
  }
  .nav-inner>a {
    font-size: 12px;
  }
  .home-opening {
    display: block;
  }
  .home-sidebar {
    display: none;
  }
  .hero {
    min-height: 440px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-left: 22px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-media img {
    max-height: 470px;
  }
  .category-grid {
    gap: 18px;
  }
  .product-grid {
    gap: 27px 18px;
  }
  .product-grid:not(.catalog-grid) {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .catalog-layout {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .product-info h1 {
    font-size: 30px;
  }
  .product-size-row {
    gap: 6px;
  }
  .product-size-row .size-option>span {
    min-width: 40px;
  }
  .purchase-row {
    gap: 6px;
  }
  .purchase-row .button {
    font-size: 12px;
  }
  .purchase-favorite {
    width: 44px;
  }
  .quantity-control {
    min-width: 51px;
  }
  .newsletter h2 {
    font-size: 26px;
  }
  .newsletter {
    gap: 30px;
  }
  .footer-grid {
    gap: 20px;
  }
  .service-links a {
    font-size: 12px;
    gap: 10px;
  }
  .service-links svg {
    width: 19px;
  }
  .feature-copy h2 {
    font-size: 31px;
  }
  .related-products .product-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    z-index: 30;
  }
  .header-main {
    min-height: 77px;
    display: flex;
    gap: 0;
    justify-content: space-between;
  }
  .header-main>.search-form,.header-nav {
    display: none;
  }
  .brand {
    font-size: 36px;
    letter-spacing: -2.6px;
  }
  .header-tools {
    gap: 0;
    margin-left: auto;
  }
  .header-tools .account-link {
    display: none;
  }
  .header-tools .icon-link {
    min-width: 40px;
  }
  .header-tools svg {
    width: 20px;
    height: 20px;
  }
  .mobile-menu {
    display: block;
    margin-left: 3px;
  }
  .mobile-menu>summary {
    display: grid;
    place-items: center;
    width: 40px;
    height: 44px;
  }
  .mobile-menu[open]>summary {
    background: var(--soft);
  }
  .mobile-panel .search-form {
    display: flex;
  }
  .home-main {
    padding-top: 18px;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .hero-copy {
    padding: 20px 5px 28px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 47px;
    letter-spacing: -1.8px;
    margin-bottom: 23px;
    max-width: 100%;
  }
  .hero h1 br {
    display: none;
  }
  .hero-copy .button {
    min-height: 46px;
    font-size: 12px;
    padding: 12px 20px;
  }
  .hero-media {
    aspect-ratio: 1.02;
    max-height: none;
  }
  .hero-media img {
    max-height: none;
    width: 100%;
    height: 100%;
    object-position: center 27%;
  }
  .section {
    margin-top: 39px;
  }
  .section-heading {
    margin-bottom: 19px;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 25px;
    letter-spacing: -.6px;
  }
  .section-heading .text-link {
    font-size: 11px;
    gap: 6px;
  }
  .section-heading .text-link svg {
    width: 14px;
    height: 14px;
  }
  .category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 23px 14px;
  }
  .category-image {
    aspect-ratio: 1.15;
  }
  .category-card h3 {
    font-size: 14px;
    margin-top: 10px;
  }
  .category-card svg {
    width: 16px;
    height: 16px;
  }
  .product-grid,.product-grid:not(.catalog-grid) {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 14px;
  }
  .product-card h3 {
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
    line-height: 1.45;
  }
  .price {
    font-size: 13px;
    gap: 7px;
  }
  .price del {
    font-size: 11px;
  }
  .favorite {
    width: 35px;
    height: 35px;
    right: 4px;
    top: 4px;
  }
  .favorite svg {
    width: 17px;
    height: 17px;
  }
  .swatches {
    gap: 5px;
    margin-top: 8px;
  }
  .swatches span {
    width: 10px;
    height: 10px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-block: 45px;
  }
  .feature-image {
    aspect-ratio: 1.25;
  }
  .feature-copy {
    padding: 0 8px;
  }
  .feature-copy h2 {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .feature-copy .text-link {
    font-size: 13px;
  }
  .browse-center {
    margin-top: 27px;
  }
  .browse-center .button {
    min-height: 46px;
  }
  .site-footer {
    margin-top: 47px;
  }
  .service-links {
    grid-template-columns: 1fr;
  }
  .service-links a {
    justify-content: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    gap: 14px;
  }
  .service-links a:last-child {
    border-bottom: 0;
  }
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 29px 0;
  }
  .newsletter h2 {
    font-size: 27px;
    max-width: none;
  }
  .newsletter form {
    width: 100%;
  }
  .newsletter-fields input {
    font-size: 12px;
    padding-inline: 12px;
  }
  .newsletter-fields .button {
    font-size: 12px;
    padding-inline: 15px;
  }
  .consent {
    font-size: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 25px;
    padding-block: 32px;
  }
  .footer-grid h2 {
    font-size: 13px;
    margin-bottom: 13px;
  }
  .footer-grid li {
    font-size: 11px;
    margin-top: 8px;
  }
  .footer-brand .brand {
    font-size: 34px;
  }
  .footer-brand .social-links {
    font-size: 11px;
    gap: 13px;
    margin-top: 19px;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 15px;
    padding: 20px 0 24px;
  }
  .breadcrumb {
    font-size: 10px;
    padding: 20px 0;
    gap: 7px;
  }
  .catalog-heading {
    margin: 4px 0 24px;
    align-items: center;
  }
  .catalog-heading h1 {
    font-size: 32px;
  }
  .catalog-count {
    font-size: 11px;
  }
  .catalog-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .catalog-layout .catalog-results {
    width: 100%;
  }
  .mobile-filter-toggle {
    display: block;
  }
  .filter-toggle-label {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    padding: 10px 15px;
    min-height: 43px;
    width: max-content;
    font-size: 12px;
    margin: 0 0 15px;
  }
  .filter-toggle-label svg {
    width: 17px;
    height: 17px;
  }
  .mobile-filter-toggle:focus-visible+.filter-toggle-label {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .mobile-filter-toggle:checked+.filter-toggle-label {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .mobile-filter-toggle:not(:checked)~.catalog-layout>.filters {
    display: none;
  }
  .filters {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    border: 1px solid var(--line);
    padding: 19px 17px 3px;
    margin-bottom: 24px;
  }
  .filter-group {
    margin-bottom: 16px;
    padding-bottom: 18px;
  }
  .filters .reset-filters {
    align-self: start;
  }
  .filter-options {
    padding-top: 7px;
  }
  .category-filters a {
    min-height: 32px;
    font-size: 12px;
  }
  .category-filters a span {
    display: none;
  }
  .filter-group summary {
    font-size: 12px;
  }
  .size-option>span {
    min-width: 36px;
    min-height: 40px;
    padding-inline: 6px;
  }
  .size-filters {
    gap: 6px;
  }
  .radio-option {
    font-size: 12px;
  }
  .catalog-toolbar {
    margin-top: -58px;
    margin-left: 110px;
    padding: 0;
    border: 0;
    justify-content: flex-end;
    min-height: 43px;
    margin-bottom: 26px;
  }
  .mobile-filter-toggle:checked~.catalog-layout .catalog-toolbar {
    margin-top: 0;
    margin-left: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .catalog-toolbar .view-label {
    display: none;
  }
  .sort-field>label {
    display: none;
  }
  .sort-field select {
    max-width: 175px;
    font-size: 11px;
    min-height: 43px;
    border-color: var(--line);
  }
  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 14px;
  }
  .catalog-end {
    font-size: 11px;
    margin-top: 32px;
    padding-top: 20px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 0;
  }
  .gallery-stage {
    aspect-ratio: 4/4.8;
  }
  .gallery-thumbnails {
    margin-top: 11px;
    gap: 10px;
  }
  .gallery-thumbnails label {
    width: 58px;
    height: 72px;
  }
  .product-info {
    position: static;
    padding-top: 0;
  }
  .product-info h1 {
    font-size: 31px;
    margin-bottom: 13px;
    letter-spacing: -.7px;
  }
  .product-price {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .product-price del {
    font-size: 14px;
  }
  .product-option {
    margin-top: 23px;
  }
  .product-option legend {
    margin-bottom: 12px;
  }
  .product-size-row {
    gap: 9px;
  }
  .product-size-row .size-option>span {
    min-width: 50px;
    min-height: 45px;
  }
  .product-delivery {
    flex-direction: row;
    gap: 10px;
    font-size: 11px;
    padding: 19px 0;
  }
  .product-delivery svg {
    width: 18px;
  }
  .purchase-row {
    gap: 9px;
    margin-top: 22px;
  }
  .quantity-control {
    min-width: 61px;
  }
  .purchase-row .button {
    font-size: 12px;
    min-height: 53px;
  }
  .purchase-favorite {
    width: 51px;
  }
  .product-accordion>summary {
    padding-block: 19px;
    font-size: 13px;
  }
  .accordion-body {
    font-size: 13px;
  }
  .related-products {
    margin-top: 44px;
  }
  .related-products .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .demo-main {
    padding-top: 35px;
  }
  .demo-main h1 {
    font-size: 34px;
  }
  .demo-intro {
    font-size: 14px;
  }
  .demo-block h2 {
    font-size: 21px;
  }
}

@media (max-width:360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .header-tools .wishlist-link {
    display: none;
  }
  .hero h1 {
    font-size: 41px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading .text-link {
    font-size: 10px;
  }
  .newsletter-fields .button {
    padding-inline: 11px;
    font-size: 11px;
  }
  .product-size-row .size-option>span {
    min-width: 43px;
  }
  .product-delivery {
    flex-direction: column;
  }
  .sort-field select {
    max-width: 161px;
  }
  .filters {
    gap: 0 14px;
    padding-inline: 12px;
  }
  .product-info h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,.site-footer,.favorite,.purchase-row,.gallery-thumbnails,.skip-link {
    display: none !important;
  }
  .wrap {
    width: 100%;
  }
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
  .product-info {
    position: static;
  }
  .product-grid {
    grid-template-columns: repeat(4,1fr);
  }
  a {
    text-decoration: none !important;
  }
  body {
    font-size: 11px;
  }
}

.hero-media img[data-asset=coat-model],.editorial-photo-main img[data-asset=coat-model],.studio-photo img[data-asset=coat-model],.gallery-frame img[data-asset=coat-model],.product-visual img[data-asset=coat-model],.category-image img[data-asset=coat-model] {
  object-position: 50% 0%;
}

/* Data-specific CSS for the bundled 12-item example collection. */
body:has(#coats:target) .catalog-grid .product-card:not([data-kind=coats]) {
  display: none;
}

body:has(#coats:target) .category-title {
  display: none;
}

body:has(#coats:target) .category-title[data-category=coats] {
  display: inline;
}

body:has(#coats:target) .category-filters a[href="#coats"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#shirts:target) .catalog-grid .product-card:not([data-kind=shirts]) {
  display: none;
}

body:has(#shirts:target) .category-title {
  display: none;
}

body:has(#shirts:target) .category-title[data-category=shirts] {
  display: inline;
}

body:has(#shirts:target) .category-filters a[href="#shirts"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#trousers:target) .catalog-grid .product-card:not([data-kind=trousers]) {
  display: none;
}

body:has(#trousers:target) .category-title {
  display: none;
}

body:has(#trousers:target) .category-title[data-category=trousers] {
  display: inline;
}

body:has(#trousers:target) .category-filters a[href="#trousers"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#dresses:target) .catalog-grid .product-card:not([data-kind=dresses]) {
  display: none;
}

body:has(#dresses:target) .category-title {
  display: none;
}

body:has(#dresses:target) .category-title[data-category=dresses] {
  display: inline;
}

body:has(#dresses:target) .category-filters a[href="#dresses"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#knit:target) .catalog-grid .product-card:not([data-kind=knit]) {
  display: none;
}

body:has(#knit:target) .category-title {
  display: none;
}

body:has(#knit:target) .category-title[data-category=knit] {
  display: inline;
}

body:has(#knit:target) .category-filters a[href="#knit"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#skirts:target) .catalog-grid .product-card:not([data-kind=skirts]) {
  display: none;
}

body:has(#skirts:target) .category-title {
  display: none;
}

body:has(#skirts:target) .category-title[data-category=skirts] {
  display: inline;
}

body:has(#skirts:target) .category-filters a[href="#skirts"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#accessories:target) .catalog-grid .product-card:not([data-kind=accessories]) {
  display: none;
}

body:has(#accessories:target) .category-title {
  display: none;
}

body:has(#accessories:target) .category-title[data-category=accessories] {
  display: inline;
}

body:has(#accessories:target) .category-filters a[href="#accessories"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#sale:target) .catalog-grid .product-card:not([data-sale=yes]) {
  display: none;
}

body:has(#sale:target) .category-title {
  display: none;
}

body:has(#sale:target) .category-title[data-category=sale] {
  display: inline;
}

body:has(#sale:target) .category-filters a[href="#sale"] {
  color: var(--ink);
  font-weight: 600;
}

body:has(#size-xs:target):has(#size-all:checked) .catalog-grid .product-card:not([data-sizes~=XS]) {
  display: none;
}

body:has(#size-xs:target):has(#size-all:checked) .size-option:has(#size-all)>span {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

body:has(#size-xs:target):has(#size-all:checked) .size-option:has(#size-xs)>span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

body:has(#size-s:target):has(#size-all:checked) .catalog-grid .product-card:not([data-sizes~=S]) {
  display: none;
}

body:has(#size-s:target):has(#size-all:checked) .size-option:has(#size-all)>span {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

body:has(#size-s:target):has(#size-all:checked) .size-option:has(#size-s)>span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

body:has(#size-m:target):has(#size-all:checked) .catalog-grid .product-card:not([data-sizes~=M]) {
  display: none;
}

body:has(#size-m:target):has(#size-all:checked) .size-option:has(#size-all)>span {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

body:has(#size-m:target):has(#size-all:checked) .size-option:has(#size-m)>span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

body:has(#size-l:target):has(#size-all:checked) .catalog-grid .product-card:not([data-sizes~=L]) {
  display: none;
}

body:has(#size-l:target):has(#size-all:checked) .size-option:has(#size-all)>span {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

body:has(#size-l:target):has(#size-all:checked) .size-option:has(#size-l)>span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

body:has(#size-xl:target):has(#size-all:checked) .catalog-grid .product-card:not([data-sizes~=XL]) {
  display: none;
}

body:has(#size-xl:target):has(#size-all:checked) .size-option:has(#size-all)>span {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

body:has(#size-xl:target):has(#size-all:checked) .size-option:has(#size-xl)>span {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.catalog-count {
  font-size: 0 !important;
}

.catalog-count::after {
  content: "12 модела";
  font-size: 12px;
}

body:not(:has(.category-target:not(#all):target)):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "12 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "7 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "7 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "4 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "7 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "5 модела";
}

body:not(:has(.category-target:not(#all):target)):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#coats:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-all:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#coats:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-xs:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#coats:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-s:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-m:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-l:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#coats:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#coats:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#coats:target):has(#size-xl:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#coats:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-all:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#shirts:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-xs:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#shirts:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-s:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#shirts:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-m:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#shirts:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-l:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#shirts:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#shirts:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#shirts:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#trousers:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#trousers:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#trousers:target):has(#size-xs:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#trousers:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#trousers:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#trousers:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#trousers:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#trousers:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#trousers:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-all:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-xs:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-s:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-m:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-l:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#dresses:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-all:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#knit:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#knit:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-xs:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-s:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-m:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-l:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#knit:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#knit:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#knit:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-all:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-xs:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-s:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-m:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#skirts:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-l:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#skirts:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#accessories:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#accessories:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-all:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xs:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-s:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-s:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-s:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-m:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-m:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-m:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-l:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-l:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-l:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-all:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#accessories:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#sale:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#sale:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-xs:checked):has(#price-all:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-xs:checked):has(#price-low:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#sale:target):has(#size-xs:checked):has(#price-low:checked) .empty-state {
  display: block;
}

body:has(#sale:target):has(#size-xs:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-s:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#sale:target):has(#size-s:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-s:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-m:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#sale:target):has(#size-m:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-m:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-l:checked):has(#price-all:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#sale:target):has(#size-l:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-l:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

body:has(#sale:target):has(#size-xl:checked):has(#price-all:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-xl:checked):has(#price-low:checked) .catalog-count::after {
  content: "1 модел";
}

body:has(#sale:target):has(#size-xl:checked):has(#price-high:checked) .catalog-count::after {
  content: "0 модела";
}

body:has(#sale:target):has(#size-xl:checked):has(#price-high:checked) .empty-state {
  display: block;
}

body:has(#size-xs:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "7 модела";
}

body:has(#size-xs:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "3 модела";
}

body:has(#size-xs:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "4 модела";
}

body:has(#size-s:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:has(#size-s:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:has(#size-s:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:has(#size-m:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:has(#size-m:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:has(#size-m:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:has(#size-l:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "11 модела";
}

body:has(#size-l:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "6 модела";
}

body:has(#size-l:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "5 модела";
}

body:has(#size-xl:target):has(#size-all:checked):has(#price-all:checked) .catalog-count::after {
  content: "7 модела";
}

body:has(#size-xl:target):has(#size-all:checked):has(#price-low:checked) .catalog-count::after {
  content: "5 модела";
}

body:has(#size-xl:target):has(#size-all:checked):has(#price-high:checked) .catalog-count::after {
  content: "2 модела";
}

/* Essential theme — retained from the original template. */
.hero-copy { padding-left: 22px; }
.hero h1 { font-weight: 500; }
.hero-media img { object-position: 50% 27%; }
.home-categories { margin-top: 38px; }
.home-categories .section-heading { display: none; }
.home-products { margin-top: 51px; }
.brand-dot { color: var(--accent); }

/* Shared interactive demo and content pages. */
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: -5px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.page-shell {
  padding-block: 30px 88px;
}

.page-shell .breadcrumb { margin-bottom: 34px; }

.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 50px;
  align-items: start;
}

.cart-items { border-top: 1px solid var(--line); }

.cart-row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr) auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 138px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.cart-product { display: flex; flex-direction: column; align-items: flex-start; }
.cart-product h2 { margin-bottom: 7px; font-size: 21px; letter-spacing: -.3px; }
.cart-meta { color: var(--muted); font-size: 13px; }
.cart-price { font-size: 17px; font-weight: 600; white-space: nowrap; }

.cart-row .quantity-control {
  display: inline-grid;
  grid-template-columns: 36px 42px 36px;
  margin-top: auto;
  border: 1px solid var(--line);
}

.cart-row .quantity-control button,
.cart-row .quantity-control span {
  display: grid;
  place-items: center;
  min-height: 36px;
}

.cart-row .quantity-control button:hover { background: var(--soft); color: var(--accent); }

.remove-item {
  margin-top: 14px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.remove-item:hover { color: var(--accent); }

.cart-summary {
  position: sticky;
  top: 24px;
  padding: 28px;
  background: var(--soft);
}

.cart-summary h2 { margin-bottom: 24px; font-size: 26px; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; margin: 13px 0; }
.summary-line.total { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d8d8d3; font-size: 19px; font-weight: 700; }
.summary-note { margin: 15px 0 20px; color: var(--muted); font-size: 12px; }
.cart-summary .button { width: 100%; }
.continue-shopping { display: block; margin-top: 16px; text-align: center; text-decoration: underline; text-underline-offset: 4px; }

.promo-form { display: grid; grid-template-columns: 1fr auto; margin-top: 24px; }
.promo-form input { min-width: 0; height: 45px; padding: 0 12px; border: 1px solid var(--line); }
.promo-form button { padding: 0 16px; border: 1px solid var(--ink); background: #fff; }
.promo-message { min-height: 20px; margin-top: 7px; color: var(--accent); font-size: 12px; }

.cart-empty {
  padding: 72px 24px;
  border: 1px solid var(--line);
  text-align: center;
}

.cart-empty h2 { margin-bottom: 10px; }
.cart-empty p { margin-bottom: 24px; color: var(--muted); }

.content-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.content-nav {
  position: sticky;
  top: 24px;
  border-top: 1px solid var(--line);
}

.content-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.content-nav a:hover,.content-nav a[aria-current="page"] { color: var(--accent); }
.prose { font-size: 16px; line-height: 1.75; }
.prose h2 { margin: 42px 0 13px; font-size: 27px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 25px 0 7px; font-size: 18px; font-weight: 600; }
.prose p,.prose ul,.prose ol { margin: 0 0 18px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ol { padding-left: 22px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 17px 19px; border-left: 3px solid var(--accent); background: var(--soft); color: var(--muted); }

.size-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; font-size: 14px; }
.size-table th,.size-table td { padding: 13px; border: 1px solid var(--line); text-align: center; }
.size-table th { background: var(--soft); font-weight: 600; }

.contact-grid,.account-grid,.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
}

.contact-card,.account-card,.checkout-card { padding: 28px; border: 1px solid var(--line); }
.contact-card h2,.account-card h2,.checkout-card h2 { margin-bottom: 15px; font-size: 24px; }
.stack-form { display: grid; gap: 15px; }
.stack-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.stack-form input,.stack-form select,.stack-form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); }
.stack-form textarea { min-height: 130px; resize: vertical; }
.form-message { min-height: 22px; color: var(--accent); font-size: 13px; }

.search-results { margin-top: 32px; }
.search-results:empty::after { content: "Въведи дума за търсене."; color: var(--muted); }
.demo-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px,calc(100vw - 48px));
  padding: 15px 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  transform: translateY(20px);
  opacity: 0;
  transition: .2s ease;
}
.demo-toast.is-visible { transform: translateY(0); opacity: 1; }

.checkout-steps { display: flex; gap: 8px; margin-bottom: 32px; color: var(--muted); font-size: 13px; }
.checkout-steps strong { color: var(--ink); }
.success-panel { max-width: 660px; margin: 20px auto 80px; padding: 52px; border: 1px solid var(--line); text-align: center; }
.success-panel h1 { margin-bottom: 16px; }
.success-panel p { margin-bottom: 25px; color: var(--muted); }

@media (min-width:701px) {
  .home-categories .category-image { aspect-ratio: 1.55; }
  .home-categories .category-image img { object-position: center 42%; }
}

@media (max-width:1150px) and (min-width:901px) {
  .hero h1 { font-size: 44px; }
  .hero-copy { padding-left: 6px; padding-right: 18px; }
}

@media (max-width:900px) {
  .cart-layout,.content-layout { grid-template-columns: 1fr; gap: 36px; }
  .cart-summary,.content-nav { position: static; }
  .content-nav { display: flex; gap: 0 20px; flex-wrap: wrap; border-top: 0; }
  .content-nav a { border: 0; }
}

@media (max-width:700px) {
  .hero-copy { padding: 15px 3px 26px; }
  .home-categories { margin-top: 28px; }
  .home-products { margin-top: 39px; }
  .page-shell { padding-block: 20px 58px; }
  .page-title-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .cart-row { grid-template-columns: 96px 1fr; gap: 16px; }
  .cart-row img { width: 96px; }
  .cart-price { grid-column: 2; }
  .cart-summary { padding: 22px; }
  .contact-grid,.account-grid,.checkout-grid { grid-template-columns: 1fr; }
  .success-panel { padding: 32px 22px; }
}
