:root {
  --gutter: clamp(14px, 2.8vw, 44px);
  --display: 'Taiga Display', 'Taiga Serif', Georgia, serif;
}

[hidden], .toast:empty { display: none !important; }
html { scroll-padding-top: 18px; }
body { overflow-x: visible; }
main { min-width: 0; }
img, canvas, input, select { max-width: 100%; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .56; }
input[type="range"], input[type="checkbox"], input[type="radio"] { accent-color: var(--pine); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #577358;
  outline-offset: 3px;
}
.btn { gap: 8px; max-width: 100%; line-height: 1.2; padding-block: 8px; text-align: center; }
.btn.ghost { margin-left: 0; }
.text-link, .text-button, .crumbs a { text-decoration: underline; text-underline-offset: .22em; }
.text-button { color: inherit; border: 0; background: transparent; padding: 4px 0; text-align: left; }
.text-link .ui-icon, .text-button .ui-icon { width: 15px; height: 15px; vertical-align: middle; }
.wrap { width: min(1388px, calc(100% - var(--gutter) * 2)); }
.crumbs { overflow-wrap: anywhere; }
.toast {
  z-index: 120;
  width: max-content;
  max-width: calc(100% - 28px);
  bottom: 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .16s;
  text-align: center;
}
.toast.show { visibility: visible; opacity: 1; }

.site-header nav { gap: clamp(13px, 2.6vw, 38px); margin-left: clamp(14px, 2.9vw, 42px); }
.site-header .nav-choice { display: none; }
.site-header .brand small { white-space: nowrap; }
.site-header .actions a, .site-header .actions button { min-width: 34px; }
.cart-link { position: relative; }
[data-cart-badge] {
  position: absolute;
  inset: 0 0 auto auto;
  min-width: 16px;
  padding: 1px 3px;
  border-radius: 99px;
  background: var(--pine);
  color: white;
  font-size: 9px;
  text-align: center;
  line-height: 14px;
}
.site-header .actions .tryon-close { padding: 5px 10px; border-radius: 4px; }
.page-tryon .site-header { width: auto; min-height: 61px; padding-inline: var(--gutter); }
.page-tryon .site-header .brand { transform: none; }
.page-tryon .site-header .actions { display: flex !important; }
.page-tryon .site-header nav:not(.open) { display: none; }
.page-tryon .tryon-close { color: var(--pine); background: var(--paper); }
.site-footer, .page-catalog .site-footer, .page-product .site-footer,
.page-delivery .site-footer, .page-about .site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 13rem) auto;
  align-items: center;
  gap: 14px 24px;
  width: 100%;
  height: auto;
  min-height: 90px;
  margin: 0;
  padding: 18px var(--gutter);
}
.site-footer nav { flex-wrap: wrap; gap: 8px 18px; min-width: 0; }
.site-footer .footer-motto { display: block; margin: 0; }
.footer-tools { width: auto; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.footer-tools .icon-button { width: 34px; height: 34px; }
.footer-tools .ui-icon { width: 18px; height: 18px; }

.shop-dialog {
  width: min(600px, calc(100% - 28px));
  max-height: calc(100dvh - 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(14px, 3vw, 28px);
  color: var(--ink);
  background: var(--paper);
}
.shop-dialog::backdrop { background: #081d16bb; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.dialog-heading h2 { margin: 0 0 16px; font-size: clamp(20px, 4vw, 29px); }
.dialog-heading .icon-button { width: 36px; height: 36px; flex: 0 0 36px; }
.search-dialog form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search-dialog input, .catalog-search input, .catalog-sort select, .choice-page input:not([type="checkbox"]), .choice-page select {
  min-width: 0;
  width: 100%;
  border: 1px solid #a9aca4;
  border-radius: 3px;
  background: #fcfbf7;
  color: var(--ink);
  padding: 9px 10px;
}
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: grid; grid-template-columns: minmax(42px, 74px) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 0; }
.search-results img { width: 100%; height: 40px; object-fit: contain; }
.search-results b { white-space: nowrap; font-size: 12px; }

.page-index .hero {
  display: grid;
  align-content: space-between;
  min-height: 424px;
  height: auto;
  padding-bottom: 18px;
}
.hero[data-slide="2"] { background-image: linear-gradient(90deg,#071a10df,#071a1019), url('assets/krasnoyarsk-clean-v2.png'); }
.hero[data-slide="3"] { background-image: linear-gradient(90deg,#071a10e6,#071a1039), url('assets/collection-stolby.png'); }
.page-index .hero-inner { padding-top: 73px; }
.hero-inner .buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.page-index .hero h1 { font-size: clamp(31px, 5.4vw, 52px); line-height: .96; margin: 10px 0 12px; }
.page-index .hero .lead { margin: 4px 0 14px; }
.page-index .hero-features {
  inset: auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 12px var(--gutter) 0;
  gap: clamp(11px, 3.8vw, 52px);
}
.mini-feature { grid-template-columns: auto minmax(0, 1fr); gap: 5px; }
.mini-feature b { overflow-wrap: normal; }
.home-duo, .home-story { height: auto; overflow: visible; }
.home-duo { padding-inline: var(--gutter); }
.page-index .collection-banner, .collection-banner { min-height: 122px; height: auto; padding: 16px clamp(16px, 2vw, 30px); }
.collection-banner h2 { line-height: 1.1; overflow-wrap: anywhere; }
.collection-banner p { margin: 6px 0 10px; }
.product-strip, .page-product .related-products {
  height: auto;
  min-height: 146px;
  overflow: visible;
  grid-template-columns: 160px repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding-inline: var(--gutter);
}
.strip-title h2 { font-size: 19px; line-height: 1.14; }
.related-title h2 { font-family: var(--display); font-size: 16px; line-height: 1.2; }
.home-story .try-steps { grid-template-columns: minmax(117px, 1.2fr) repeat(3, minmax(0, 1fr)); }
.try-steps .step { padding-inline: 8px; }
.try-steps h2 { margin: 8px 0; line-height: 1.1; font-size: clamp(18px, 1.8vw, 25px); }
.benefit-row, .page-delivery > .benefit-row, .page-catalog .catalog-benefits {
  width: 100%;
  margin: 0;
  height: auto;
  padding-inline: var(--gutter);
  align-items: stretch;
}
.benefit-row > div { min-width: 0; padding-inline: min(1.25vw, 18px); }
.benefit-row i { margin-right: 7px; }

.page-catalog .page-hero, .page-delivery .page-hero, .page-about .about-hero { height: auto; }
.page-catalog .page-hero { min-height: 217px; }
.page-delivery .page-hero { min-height: 252px; }
.page-about .about-hero { min-height: 400px; }
.page-catalog .page-hero .wrap, .page-delivery .page-hero .wrap, .page-about .about-hero .wrap {
  width: min(1388px, calc(100% - var(--gutter) * 2));
  padding-block: 95px 25px;
}
.page-hero h1 { font-size: clamp(28px, 4.1vw, 52px); line-height: 1.04; }
.about-hero .lead, .page-delivery .page-hero .lead { margin-bottom: 0; }
.catalog-hero-actions { flex-wrap: wrap; gap: 8px; }
.catalog-hero-actions .ui-icon { width: 21px; height: 21px; margin-right: 0; }
.page-catalog .catalog-layout {
  grid-template-columns: minmax(165px, 210px) minmax(0, 1fr);
  width: min(1388px, calc(100% - var(--gutter) * 2));
  height: auto;
  align-items: start;
  gap: 10px 18px;
  padding: 12px 0 18px;
}
.catalog-crumbs { margin: 0; grid-column: 1 / -1; }
.page-catalog .filters-panel { display: block; min-width: 0; padding: 0; }
.filters-panel summary { font-weight: 600; font-size: 13px; padding: 8px 0; }
.filters-panel fieldset { min-width: 0; margin: 8px 0 12px; padding: 0 0 9px; border: 0; border-bottom: 1px solid var(--line); }
.filters-panel legend { padding: 0 0 4px; font-weight: 600; font-size: 12px; }
.filters-panel label { gap: 6px; }
.filters-panel input[type="range"] { display: block; width: 100%; margin: 6px 0; }
.filters-panel .filter-promo { margin-top: 15px; min-height: 145px; }
.filter-count { color: var(--muted); }
.swatches { align-items: center; }
.swatches button, .color-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #565d56;
  border-radius: 50%;
  background: var(--swatch);
}
.swatches button[aria-pressed="true"], .color-dots button[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--pine);
}
.color-dots button { width: 31px; height: 31px; }
.catalog-content { min-width: 0; }
.page-catalog .catalog-head, .model-shelf .catalog-head {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin: 0 0 10px;
  justify-content: space-between;
}
.catalog-head span { min-width: 0; }
.catalog-search { flex: 1 1 120px; max-width: 240px; }
.catalog-sort { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; }
.catalog-sort select { width: auto; font-size: 12px; }
.catalog-view { margin: 0; }
.catalog-view button[aria-pressed="true"] { background: var(--pine); color: white; }
.page-catalog .catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-card { overflow-wrap: anywhere; }
.product-card a { display: block; }
.product-card h3 { font-family: 'Taiga Sans', Arial, sans-serif; font-size: 12px; margin-top: 2px; }
.page-catalog .catalog-grid .product-card, .model-shelf .catalog-grid .product-card { height: auto; min-height: 135px; }
.page-catalog .catalog-grid .product-card img, .model-shelf .catalog-grid .product-card img { height: clamp(67px, 7vw, 100px); }
.product-card .card-meta { display: flex; justify-content: space-between; gap: 4px; flex-wrap: wrap; align-items: center; }
.product-card .product-dots { margin-top: 0; min-height: 0; }
.card-meta strong { white-space: nowrap; }
.product-card .heart { top: 2px; right: 3px; }
.page-catalog .catalog-grid.is-list { grid-template-columns: 1fr; }
.catalog-grid.is-list .product-card { min-height: 90px; }
.catalog-grid.is-list .product-card a { display: grid; grid-template-columns: minmax(90px, 26%) minmax(0, 1fr); align-items: center; column-gap: 14px; padding-right: 28px; }
.catalog-grid.is-list .product-card img { grid-row: span 2; height: 80px; }
.catalog-grid.is-list .card-meta { justify-content: start; gap: 8px; }
.promo-wide { margin-top: 10px; height: auto; min-height: 128px; padding: clamp(16px, 3vw, 27px); }
.promo-wide h2 { margin: 0 0 8px; font-size: clamp(19px, 2vw, 26px); }
.promo-wide p { margin: 0 0 6px; }
.empty-state { padding: clamp(16px, 4vw, 28px); background: var(--card); }
.empty-state h2 { margin: 0; }

.page-product > .crumbs {
  width: 100%;
  margin: 0;
  height: auto;
  min-height: 36px;
  padding: 10px var(--gutter) !important;
}
.page-product .product-main {
  width: min(1388px, calc(100% - var(--gutter) * 2));
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 16px 0 22px;
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr);
}
.page-product .gallery { min-width: 0; grid-template-columns: minmax(56px, 17%) minmax(0, 1fr); gap: 9px; padding: 0; }
.page-product .thumbs { display: grid; align-content: start; gap: 6px; overflow: visible; }
.gallery-thumb { width: 100%; height: 64px; border: 1px solid var(--line); background: var(--card); padding: 4px; }
.gallery-thumb[aria-pressed="true"] { border-color: var(--pine); }
.page-product .thumbs .gallery-thumb img { height: 100%; margin: 0; border: 0; background: transparent; }
.angled { clip-path: inset(0 7% 25% 7%); }
.page-product .main-product { min-height: 0; display: grid; align-items: stretch; }
.gallery-image { min-width: 0; width: 100%; min-height: clamp(202px, 26vw, 372px); display: grid; place-items: center; padding: 12px; }
.page-product .main-product img, .gallery-image canvas { width: 100%; max-height: 345px; object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding: 9px 12px; width: 100%; }
.gallery-controls p { margin: 0; font-size: 12px; }
.gallery-paging { display: flex; align-items: center; gap: 2px; font-size: 11px; }
.gallery-paging .icon-button { width: 31px; height: 34px; }
.gallery-dialog img { width: 100%; max-height: 75vh; object-fit: contain; }
.page-product .product-info { min-width: 0; padding: 0; }
.page-product .product-info h1 { font-size: clamp(26px, 3vw, 45px); overflow-wrap: anywhere; line-height: 1.12; }
.page-product .product-info > p { font-size: 13px; line-height: 1.45; margin-block: 10px; }
.product-buy { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 6px; align-items: stretch; }
.page-product .product-info .product-buy .btn { margin: 0; width: 100%; }
.page-product .product-info #product-add { width: 100%; margin: 0; }
.page-product .product-info .product-buy .heart { height: auto; padding: 6px; border: 1px solid var(--ink); }
.page-product .specs { padding: 0 0 0 12px; min-width: 0; }
.spec-tabs { display: flex; flex-wrap: wrap; gap: 7px 10px; }
.spec-tabs a { padding: 4px 0 7px; border-bottom: 2px solid transparent; font-size: 11px; }
.spec-tabs a.active { border-bottom-color: var(--pine); }
.specs table { table-layout: fixed; }
.specs th, .specs td { padding: 7px 4px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.specs th { font-weight: 500; text-align: left; }
.specs h2 { font-size: 19px; }
.specs img { max-height: 128px; object-fit: contain; }
.page-product .editorial { min-height: 200px; height: auto; overflow: visible; grid-template-columns: 1.35fr 1fr .8fr; }
.page-product .editorial-copy { overflow: visible; }
.editorial-photo { min-height: 155px; }

.page-tryon .tryon-layout {
  grid-template-columns: minmax(0, 31fr) minmax(0, 40fr) minmax(0, 29fr);
  min-height: 0;
  height: auto;
  background: var(--paper);
}
.page-tryon .tryon-intro {
  padding: clamp(98px, 11vw, 175px) clamp(18px, 3.3vw, 48px) 32px;
  background-position: 55% center;
}
.page-tryon .tryon-intro .eyebrow { position: static; width: auto; margin: 0 0 23px; transform: none; font: 21px/1.05 'Taiga Hand', cursive; }
.page-tryon .tryon-intro h1 { font-size: clamp(28px, 3.4vw, 49px); line-height: 1.08; margin-top: 0; }
.tryon-benefits { gap: 7px; }
.tryon-benefits span { min-width: 0; overflow-wrap: anywhere; }
.tryon-benefits .ui-icon { display: block; }
.page-tryon .camera-stage { height: auto; min-width: 0; margin: 20px 0; border: 2px solid #fff; border-radius: 8px; align-self: start; }
.camera-view { position: relative; height: clamp(360px, 40vw, 595px); background: #14231e; }
.page-tryon .camera-stage .camera-placeholder, #fitting-canvas, .camera-view #cameraVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#fitting-canvas { z-index: 1; }
.page-tryon .camera-placeholder { background-image: url('assets/app/fitting-demo.webp'); background-position: center 42%; }
.page-tryon .camera-controls {
  position: relative;
  inset: auto;
  transform: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 9px 14px;
  background: var(--pine);
  color: #fff;
}
.camera-controls .icon-button { width: 34px; height: 34px; border: 1px solid #f7f5ef8c; border-radius: 50%; flex: 0 0 34px; }
.camera-controls .ui-icon { width: 19px; height: 19px; }
.camera-controls .shutter { background: #f7f5ef; color: var(--pine); }
.camera-selection { display: grid; flex: 1 1 110px; gap: 2px; min-width: 0; margin-left: 7px; }
.camera-selection span { font-size: 10px; opacity: .8; }
.camera-selection strong { overflow-wrap: anywhere; }
.page-tryon .tryon-help { padding: 75px clamp(16px, 2.8vw, 40px) 22px; min-width: 0; }
.tryon-help h2 { line-height: 1.13; font-size: clamp(23px, 2.2vw, 32px); margin: 0 0 18px; }
.tryon-help li { min-height: 0; padding: 0 0 0 72px; margin: 12px 0; }
.try-step-icon { left: 28px; width: 35px; height: 38px; }
.try-step-icon .ui-icon { width: 24px; height: 24px; }
.tryon-help li::before { top: 3px; width: 22px; height: 22px; }
.tryon-help li p { margin-top: 2px; }
.tryon-help .upload-note { font-size: 11px; color: var(--muted); }
#fitting-status { margin: 10px 0; font-size: 12px; }
.fitting-product-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; }
#adjust-fit { margin-top: 12px; padding: 10px; background: var(--paper); }
#adjust-fit label { display: block; margin-top: 7px; }
#adjust-fit input[type="range"] { display: block; width: 100%; }
.page-tryon .model-shelf { height: auto; min-height: 0; padding: 16px var(--gutter); overflow: visible; }
.model-shelf .catalog-head h2 { margin: 0; font-size: clamp(18px, 2vw, 27px); }
.page-tryon .tryon-filters { display: flex; flex-wrap: wrap; justify-content: start; gap: 7px; margin: 0 0 12px; padding: 0; }
.page-tryon .tryon-filters button { padding: 8px 12px; font-size: 11px; white-space: normal; }
.tryon-filters button[aria-pressed="true"] { background: var(--pine); color: white; }
.page-tryon .model-shelf .catalog-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.model-pick {
  width: 100%;
  padding: 3px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
}
.model-pick[aria-pressed="true"] { border-color: var(--pine); }
.page-tryon .tryon-bottom { height: auto; overflow: visible; }
.tryon-promo.small { grid-template-columns: 1fr; }
.tryon-assurance span { min-width: 0; height: auto; min-height: 80px; padding: 6px; }

.page-delivery main.wrap { width: min(1388px, calc(100% - var(--gutter) * 2)); }
.page-delivery .delivery-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, .86fr);
  min-height: 0;
  height: auto;
  overflow: visible;
  gap: 9px;
  padding: 12px 0 16px;
}
.delivery-grid .info-card { min-width: 0; }
.delivery-grid .info-card h2 { font-size: clamp(21px, 2vw, 27px); line-height: 1.1; margin: 0 0 8px; }
.info-icon-list span { min-width: 0; overflow-wrap: anywhere; }
.info-icon-list i { grid-row: span 2; }
.page-delivery .stores {
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(132px, .7fr) minmax(0, 2fr) minmax(0, 1.25fr);
  gap: 10px;
  padding: 16px 0;
  overflow: visible;
}
.stores .people-intro h2 { margin: 0 0 10px; font-size: clamp(19px, 1.9vw, 26px); }
.stores-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.store img { height: 108px; }
.store h3, .store p { margin: 0 0 6px; }
.store .text-link { display: inline-block; line-height: 1.35; font-size: 12px; }
.store-map {
  min-height: 170px;
  align-content: end;
  padding: 15px;
  background: linear-gradient(0deg,#0a261aaa,transparent), url('assets/krasnoyarsk-clean-v2.png') center/cover;
}
.page-delivery .contact-channels { height: auto; min-height: 0; overflow: visible; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); }
.page-delivery #contact { display: grid; }
.contact-channels a { align-content: center; }
.contact-channels a b { font-size: 13px; }
.help-questions { padding: 18px 0 30px; }
.help-questions details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.help-questions summary { font-weight: 600; }

.page-about .place-grid, .page-about .people-grid, .page-about .values, .page-about .brand-quote {
  height: auto;
  min-height: 0;
}
.page-about .place-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.place { display: flex; justify-content: end; flex-direction: column; padding: 0; }
.place div { position: static; padding: 18px 45px 14px 16px; }
.place h2, .place p { margin: 0 0 5px; }
.place h2 { font-size: clamp(16px, 1.7vw, 23px); }
.place a { position: absolute; display: grid; place-items: center; right: 9px; bottom: 10px; width: 33px; height: 33px; border: 1px solid #f7f5efb9; border-radius: 50%; }
.place a .ui-icon { width: 16px; height: 16px; }
.page-about .people-grid { grid-template-columns: minmax(0, .92fr) repeat(4, minmax(0, 1fr)); }
.page-about .people-grid > * { height: auto; min-height: 179px; overflow: visible; }
.people-intro h2 { margin: 0 0 8px; font-size: clamp(18px, 2vw, 24px); }
.person-landscape { background-image: url('assets/home-hero-clean-v2.png'); }
.page-about .values { grid-template-columns: minmax(0, .8fr) repeat(4, minmax(0, 1fr)); padding-block: 18px; }
.values h3 { flex-wrap: wrap; }
.page-about .brand-quote { padding: 18px var(--gutter); background-color: var(--pine); }
.brand-quote blockquote small { font-family: 'Taiga Sans', Arial, sans-serif; font-size: 12px; }

.choice-page { padding-block: 18px 52px; }
.choice-page > h1 { margin: 14px 0; font-size: clamp(31px, 5vw, 56px); line-height: 1.12; }
.choice-page > .lead { color: var(--muted); }
.choice-nav { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.choice-nav a { padding: 7px 0; text-decoration: underline; text-underline-offset: .2em; }
.choice-page > section { margin-top: 24px; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 8px; }
.saved-grid .product-card { padding: 9px; }
.compare-check { display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 10px; }
.compare-card, .order-summary, .loyalty-tiers > section, .loyalty-calculator { background: #e8ebe1; border: 1px solid #d4d9cb; padding: clamp(12px, 2.5vw, 26px); }
.compare-card img { height: 82px; width: 100%; object-fit: contain; }
.compare-card dl > div { min-width: 0; display: grid; grid-template-columns: 1fr 1.25fr; gap: 7px; padding: 5px 0; border-top: 1px solid #ccd2c7; }
.compare-card dd { margin: 0; overflow-wrap: anywhere; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.cart-row { display: grid; grid-template-columns: minmax(70px, 24%) minmax(0, 1fr) auto; align-items: center; gap: 9px 13px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.cart-photo { background: var(--card); padding: 7px; }
.cart-photo img { height: 75px; width: 100%; object-fit: contain; }
.cart-description, .cart-row-actions { display: grid; gap: 5px; min-width: 0; }
.cart-description > a:first-child { font: clamp(16px, 2.1vw, 25px)/1.14 var(--display); overflow-wrap: anywhere; }
.cart-description small { color: var(--muted); }
.cart-row-actions { justify-items: end; }
.cart-row-actions strong { white-space: nowrap; }
.quantity { display: flex; align-items: center; gap: 4px; border: 1px solid #b2b8ae; border-radius: 3px; }
.quantity button { width: 33px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--ink); }
.order-summary h3, .order-summary .price { margin: 0 0 6px; }
.order-summary form, .loyalty-calculator form { display: grid; gap: 9px; }
.order-summary label, .loyalty-calculator label { display: grid; gap: 4px; }
.loyalty-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.loyalty-tiers h2, .loyalty-calculator h2 { margin: 0 0 10px; }
.loyalty-tiers strong { font: clamp(25px, 4vw, 42px)/1.15 var(--display); color: var(--pine); }
.loyalty-tiers p { margin: 9px 0 0; }
.loyalty-calculator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; }
.points-result { border-left: 1px solid #b8c2b1; padding-left: 16px; }
.points-result > p:first-child { margin: 0; font-weight: 700; color: var(--pine); }
.points-result dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 9px; border-bottom: 1px solid #ccd2c7; padding: 7px 0; }
.points-result dd { margin: 0; }
.loyalty-terms li + li { margin-top: 7px; }

@media (min-width: 1200px) {
  .page-catalog .page-hero .wrap { padding-top: 19px; }
  .page-delivery .page-hero .wrap, .page-about .about-hero .wrap { padding-top: 75px; }
}
@media (max-width: 1359px) {
  .hero-note, .hero-location, .catalog-hero-note, .catalog-hero-place,
  .delivery-hero-note, .delivery-hero-place, .about-hero-note, .about-hero-place { display: none; }
  .hero-slider-control {
    position: relative;
    inset: auto;
    justify-self: end;
    display: flex;
    gap: 7px;
    margin: 8px var(--gutter) 0;
  }
  .hero-slider-control strong { display: none; }
  .hero-slider-control button { width: 32px; height: 32px; }
}
@media (max-width: 1100px) {
  .site-header { min-height: 66px; padding-inline: var(--gutter); }
  .site-header nav { display: none; }
  .site-header nav.open, .page-tryon .site-header nav.open {
    display: grid !important;
    gap: 10px;
    position: absolute;
    top: 100%;
    inset-inline: var(--gutter);
    padding: 16px;
    margin: 0;
    border: 1px solid #688372;
    color: white;
    background: var(--pine);
  }
  .site-header nav a { width: fit-content; padding: 5px 0; }
  .site-header .nav-choice, .site-header .menu { display: grid !important; }
  .site-header .actions .search { display: grid !important; place-items: center; width: 34px !important; justify-content: center !important; padding: 0 !important; }
  .site-header .search span { display: none; }
  .site-header .search .ui-icon { width: 20px; height: 20px; }
  .site-footer, .page-catalog .site-footer, .page-product .site-footer, .page-delivery .site-footer, .page-about .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .site-footer .footer-motto { grid-column: 1 / -1; grid-row: 2; }
  .page-index .hero-inner { padding-top: 95px; }
  .product-strip, .page-product .related-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-title, .related-title { grid-column: 1 / -1; }
  .page-catalog .catalog-grid, .page-tryon .model-shelf .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-product .product-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .page-product .specs { grid-column: 1 / -1; }
  .page-tryon .tryon-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .page-tryon .camera-stage { margin: 70px 12px 12px; }
  .page-tryon .tryon-help { grid-column: 1 / -1; padding-top: 27px; }
  .page-tryon .tryon-intro h1 { font-size: clamp(28px, 4.3vw, 46px); }
  .page-tryon .site-header .menu { color: white; }
  .page-delivery .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-delivery .stores { grid-template-columns: 1fr; }
  .page-about .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-about .people-intro { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 760px) {
  .page-catalog .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .page-catalog .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters-panel form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .filters-panel .filter-promo { display: none; }
  .page-tryon .tryon-layout { grid-template-columns: minmax(0, 1fr); }
  .page-tryon .tryon-intro { min-height: 0; padding: 88px var(--gutter) 25px; }
  .page-tryon .tryon-intro h1 br { display: none; }
  .page-tryon .tryon-intro h1 { max-width: 450px; font-size: clamp(28px, 6.4vw, 40px); }
  .page-tryon .tryon-intro .eyebrow { margin-bottom: 12px; }
  .page-tryon .tryon-benefits, .page-tryon .tryon-place { margin-top: 14px; }
  .page-tryon .camera-stage { margin: 0; border: 0; border-radius: 0; }
  .camera-view { height: clamp(300px, 97vw, 520px); }
  .tryon-intro h1 { overflow-wrap: anywhere; }
  .cart-layout, .loyalty-calculator { grid-template-columns: minmax(0, 1fr); }
  .points-result { padding-left: 0; border-left: 0; border-top: 1px solid #b8c2b1; padding-top: 10px; }
  .page-about .place-grid, .page-about .people-grid, .page-about .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-about .brand-quote { grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-quote > span { display: none; }
  .page-delivery .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-intro { grid-row: auto; }
}
@media (max-width: 620px) {
  html, body { overflow-x: visible; }
  .site-header .brand { min-width: 112px; }
  .site-header .brand small { font-size: 5.7px; }
  .site-header .actions { gap: 2px; }
  .site-header .actions .icon-button { display: grid; }
  .site-header .actions .icon-button[aria-label="Мой выбор"] { display: none; }
  .site-footer, .page-catalog .site-footer, .page-product .site-footer, .page-delivery .site-footer, .page-about .site-footer {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .footer-motto { grid-column: 1 / -1; grid-row: 3; }
  .site-footer .brand { justify-self: start; }
  .footer-tools { grid-column: 2; grid-row: 1; }
  .page-index .hero { min-height: 535px; background-position: 61% center; }
  .page-index .hero h1 { font-size: clamp(29px, 9.5vw, 44px); }
  .page-index .hero-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .hero-features .mini-feature .ui-icon { width: 21px; height: 21px; }
  .page-index .mini-feature b { font-size: 8px; overflow-wrap: anywhere; }
  .hero-slider-control { margin-top: 11px; }
  .product-strip, .page-product .related-products, .page-catalog .catalog-grid, .page-tryon .model-shelf .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-story .try-steps { grid-template-columns: 1fr; padding-inline: var(--gutter); }
  .benefit-row, .page-delivery > .benefit-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .benefit-row > div { padding-inline: 8px; }
  .page-catalog .page-hero, .page-delivery .page-hero { min-height: 260px; }
  .page-product .product-main, .page-product .editorial { grid-template-columns: 1fr; }
  .page-product .gallery { grid-template-columns: 1fr; }
  .page-product .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-product .specs { padding-left: 0; }
  .page-tryon .tryon-close { font-size: 0; }
  .page-tryon .tryon-close span { display: none; }
  .page-tryon .tryon-bottom { grid-template-columns: 1fr; }
  .tryon-promo, .tryon-promo.small { min-height: 130px; padding: 18px var(--gutter); }
  .page-delivery .delivery-grid, .page-delivery .contact-channels, .loyalty-tiers { grid-template-columns: 1fr; }
  .page-delivery .delivery-scene { min-height: 150px; }
  .stores-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-about .about-hero { min-height: 300px; }
  .page-about .brand-quote { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: minmax(62px, 27%) minmax(0, 1fr); }
  .cart-row-actions { grid-column: 2; justify-items: start; }
}
@media (max-width: 350px) {
  .site-header .brand { min-width: 97px; }
  .site-header .brand b { font-size: 21px; }
  .site-header .brand small { font-size: 5px; }
  .footer-tools { gap: 2px; }
  .filters-panel form { grid-template-columns: 1fr; }
  .catalog-sort { flex: 1 1 auto; flex-wrap: wrap; }
  .page-catalog .catalog-head { align-items: start; }
  .search-dialog form .btn { padding-inline: 12px; }
  .place h2 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
