@import url("fonts.css");

:root {
  color-scheme: light only;
  --bg: #fff;
  --text: #111;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --danger: #b42318;
  --header-h: 56px;
  --wrap: 1080px;
  --gutter: 20px;
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.42s;
  --dur-fast: 0.28s;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

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

html {
  min-height: 100%;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button {
  cursor: pointer;
}

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

.caps {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  min-height: var(--header-h);
  flex: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header.is-menu {
  z-index: 61;
}

.header-inner {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-logo img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  flex: none;
}

.wordmark {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transition: opacity var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .icon-btn:hover {
    opacity: 0.55;
  }

  .burger:hover {
    opacity: 1;
  }
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.icon-btn.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  width: 44px;
  padding: 0;
}

.burger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #111;
  margin: 0;
  border-radius: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) ease;
}

.header.is-menu .burger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.is-menu .burger span:nth-child(2) {
  opacity: 0;
}

.header.is-menu .burger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.desktop-nav,
.lang-desktop {
  display: none;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(92vw, 400px);
  height: 100dvh;
  background: #fff;
  z-index: 81;
  transform: translateX(-105%);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.drawer.open {
  transform: none;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  height: 56px;
  padding-left: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-top .drawer-lang {
  padding: 0;
  border: 0;
  gap: 6px;
}

.drawer-top .lang-btn {
  min-width: 0;
  min-height: 44px;
  padding: 0 4px;
}

.drawer-x {
  width: 48px;
  height: 56px;
  font-size: 18px;
  line-height: 1;
}

.drawer-lang {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.lang-btn {
  font-size: 11px;
  letter-spacing: 0.14em;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  transition: color var(--dur-fast) ease;
}

.lang-btn.is-active {
  color: #111;
}

.drawer-list {
  flex: none;
}

.acc-btn,
.drawer-link,
.drawer-foot a {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.acc-btn span {
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}

.acc-panel.open {
  grid-template-rows: 1fr;
}

.acc-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.acc-panel a {
  display: block;
  padding: 14px 20px 14px 32px;
  min-height: 48px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: #111;
  border-bottom: 1px solid var(--line);
}

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

.ghost {
  border: 1px solid #111;
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

@media (hover: hover) {
  .ghost:hover {
    background: #111;
    color: #fff;
  }
}

.drawer-foot {
  flex: none;
  margin-top: auto;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom));
}

.drawer-foot a {
  font-weight: 400;
  font-size: 11px;
  color: #111;
}

/* Product card */
.card {
  min-width: 0;
  position: relative;
}

.header-actions .drawer-lang {
  padding: 0 8px 0 0;
  border: 0;
  gap: 4px;
}

.header-actions .lang-btn {
  min-width: 36px;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #f4f4f4;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease;
}

@media (hover: hover) {
  .card:hover .card-media::after {
    opacity: 0.05;
  }
}

.card-media > a {
  position: absolute;
  inset: 0;
  display: block;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.card-media .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9a9a;
  text-align: center;
  padding: 16px;
}

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  height: 20px;
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #111;
  padding: 0 5px;
  line-height: 1;
  background: #fff;
}

.fav-mini {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #111;
  opacity: 0.38;
}

.fav-mini.is-on {
  opacity: 0.9;
}

.fav-mini::before {
  content: "";
  position: absolute;
  inset: -12px;
}

.fav-mini svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.fav-mini.is-on svg {
  fill: #111;
}

.card-name {
  margin: 10px 0 2px;
  font-size: 13px;
  font-weight: 400;
}

.card-meta {
  color: var(--muted);
  font-size: 11px;
}

.card-price {
  margin-top: 4px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.old {
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 6px;
}

/* Home */
.section {
  padding: 28px 0 8px;
}

.section-head {
  padding: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel .card,
.home-swiper .card {
  min-width: 0;
}

.home-swiper {
  overflow: hidden;
  padding-bottom: 48px;
}

.home-swiper .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  top: auto;
}

.home-swiper .swiper-slide {
  height: auto;
}

.m-cats {
  position: relative;
  z-index: 35;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.m-cats-back {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(0, 0, 0, 0.28);
  z-index: 0;
}

.m-cats.is-open .m-cats-back {
  display: block;
}

.m-cats-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.m-cats-row::-webkit-scrollbar {
  display: none;
}

.m-cats-row button,
.m-cats-row a {
  flex: none;
  height: 44px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.m-cats-row button.is-on {
  border-bottom-color: #111;
}

.m-cats-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 2;
  background: #fff;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  pointer-events: none;
  transition: grid-template-rows var(--dur) var(--ease);
}

.m-cats-panel.open {
  grid-template-rows: 1fr;
  pointer-events: auto;
}

.m-cats-inner {
  overflow: hidden;
  min-height: 0;
  padding-bottom: 8px;
}

.m-cats-inner a {
  display: block;
  padding: 12px 0;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.menu-all {
  margin-top: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdp-swiper.swiper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto !important;
  padding-bottom: 0;
  align-self: start;
}

.pdp-swiper .swiper-wrapper {
  height: auto !important;
}

.pdp-swiper .swiper-slide {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  background: #f4f4f4;
  position: relative;
  overflow: hidden;
}

.pdp-swiper img,
.pdp-swiper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.pdp-swiper .slide.video {
  cursor: pointer;
}

.pdp-swiper .slide.video img,
.pdp-swiper .slide.video video {
  pointer-events: none;
}

.pdp-swiper .video-sound {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  min-width: 44px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  background: rgba(17, 17, 17, .72);
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: auto;
}

.pdp-swiper .slide.video.has-sound .video-sound {
  background: #111;
}

.pdp-swiper .slide.video video {
  opacity: 0;
  transition: opacity .35s ease;
}

.pdp-swiper .slide.video.is-ready video {
  opacity: 1;
}

.pdp-swiper .swiper-zoom-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-swiper .swiper-slide:not(.video) img {
  pointer-events: auto;
}

.pdp-swiper .swiper-slide-zoomed {
  cursor: grab;
}

.pdp-swiper .swiper-pagination {
  position: relative;
  bottom: auto !important;
  left: 0 !important;
  width: 100% !important;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #cfcfcf;
  border: 0;
  opacity: 1;
  border-radius: 0;
  vertical-align: middle;
  transition: width var(--dur-fast) ease, background var(--dur-fast) ease;
}

.swiper-pagination-bullet-active {
  width: 22px;
  background: #111;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 0 8px;
}

.pager-num {
  min-width: 28px;
  height: 28px;
  padding: 0 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.pager-num.is-on {
  color: #111;
  border-bottom: 1px solid #111;
}

.pdp-swiper .swiper-button-prev,
.pdp-swiper .swiper-button-next {
  display: flex;
  width: 40px;
  height: 40px;
  top: 0;
  bottom: 36px;
  margin-top: auto;
  margin-bottom: auto;
  transform: none;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  color: #111;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--dur-fast) ease;
}

.pdp-swiper .swiper-button-prev {
  left: 8px;
}

.pdp-swiper .swiper-button-next {
  right: 8px;
}

.pdp-swiper .swiper-button-prev:hover,
.pdp-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.88);
}

.pdp-swiper .swiper-button-disabled {
  opacity: 1;
  color: #111;
  pointer-events: none;
}

.pdp-swiper .swiper-button-prev::after,
.pdp-swiper .swiper-button-next::after {
  font-size: 12px;
  font-weight: 400;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 0 12px;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #111;
  display: block;
}

.dots i.on {
  background: #111;
}

.text-block {
  max-width: 420px;
  margin: 48px auto 56px;
  padding: 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.text-block p {
  margin: 0 0 1em;
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

#site-footer {
  flex: none;
  margin-top: auto;
  width: 100%;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  row-gap: 4px;
}

.footer a {
  display: inline-block;
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.copy {
  flex: 1 0 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* Catalog */
.page {
  flex: 1 0 auto;
  width: 100%;
  padding: 0 0 32px;
}

.page-home {
  padding-top: 0;
}

.crumbs {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  padding-top: 16px;
  margin-bottom: 10px;
}

.crumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

.crumbs a:hover {
  color: #111;
}

.page-title,
.static h1,
.pdp-title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  margin: 0 0 16px;
}

.subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0 0 14px;
}

.subcats a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 3px 0 1px;
  border-bottom: 1px dotted currentColor;
}

.subcats a.is-on,
.subcats a:hover {
  color: #111;
  border-bottom-style: solid;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
  margin-bottom: 16px;
  align-items: stretch;
}

.toolbar .count {
  grid-column: 1 / -1;
  white-space: nowrap;
  line-height: 1.2;
}

.toolbar-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.sort-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 32px 0 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23111' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid #111;
  border-radius: 0;
  color: #111;
}

.pdp-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
}

.pdp-channel-mark {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #229ed9;
}

.pdp-channel-mark svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.pdp-channel-text {
  font-size: 13px;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #d8d8d8;
}

@media (hover: hover) {
  .pdp-channel:hover {
    color: #111;
  }

  .pdp-channel:hover .pdp-channel-text {
    text-decoration-color: #111;
  }
}

.count {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 8px;
}

.outline-btn,
.solid-btn {
  min-height: 48px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}

.outline-btn {
  border: 1px solid #111;
  width: 100%;
  white-space: normal;
  line-height: 1.25;
  padding: 10px 16px;
}

.solid-btn {
  background: #111;
  color: #fff;
  width: 100%;
}

@media (hover: hover) {
  .outline-btn:hover {
    background: #111;
    color: #fff;
  }

  .solid-btn:hover {
    opacity: 0.82;
  }
}

/* Filters */
.filters-mobile {
  border: 1px solid #111;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}

.filters-mobile svg {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
}

.filters-mobile span {
  line-height: 1;
}

.sheet-back {
  position: fixed;
  inset: 0;
  z-index: 69;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.sheet-back.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: #fff;
  z-index: 70;
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.sheet.open {
  transform: none;
}

.sheet-head {
  flex: none;
  height: 56px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.sheet-x {
  flex: none;
  width: 18px;
  height: 56px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sheet-body {
  flex: 1;
  overflow: auto;
  padding: 0 var(--gutter) 24px;
}

.filter-block {
  border-bottom: 1px solid var(--line);
}

.fb-head {
  width: 100%;
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
}

.fb-head span:last-child {
  flex: none;
  width: 18px;
  text-align: right;
}

.fb-opts {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows var(--dur) var(--ease);
}

.fb-opts.open {
  grid-template-rows: 1fr;
}

.fb-opts-inner {
  overflow: hidden;
  min-height: 0;
}

.fb-opts.open .fb-opts-inner {
  padding-bottom: 8px;
}

.f-opt {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  font-size: 13px;
  cursor: pointer;
}

.f-instock {
  min-height: 48px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.f-opt input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #111;
  border-radius: 0;
  flex: none;
}

.weight-range {
  padding: 8px 2px 20px;
}

.weight-labs {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.dual-range {
  position: relative;
  height: 28px;
}

.dual-range::before,
.dual-range::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 13px;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.dual-range::after {
  left: var(--a, 0%);
  right: auto;
  width: calc(var(--b, 100%) - var(--a, 0%));
  background: #111;
}

.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #111;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.dual-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  background: #111;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.dual-range input[type="range"]::-moz-range-track {
  background: transparent;
}

.sheet-actions {
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}

/* PDP */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.chips[hidden] {
  display: none;
}

.chip {
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #111;
  background: #fff;
}

.pdp-media {
  position: relative;
}

.pdp-arrow {
  display: none;
}

.slide {
  position: relative;
  background: #fff;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #9a9a9a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 24px;
}

.play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: auto;
  height: auto;
  transform: none;
  display: grid;
  place-items: center;
  background: transparent;
}

.play i {
  width: 48px;
  height: 48px;
  border: 1px solid #111;
  display: grid;
  place-items: center;
  background: #fff;
}

.play i::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #111;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.slide.playing .play {
  opacity: 0;
}

.mute {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  width: 44px;
  height: 44px;
  font-size: 10px;
  letter-spacing: 0.08em;
  display: none;
}

.slide.video.playing .mute {
  display: grid;
  place-items: center;
}

.pdp-info {
  padding: 20px 0 48px;
}

.pdp-cat {
  color: var(--muted);
}

.pdp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pdp-sku {
  color: inherit;
}

.pdp-stock {
  color: inherit;
}

.pdp-stock::before {
  content: "·";
  margin-right: 10px;
}

.pdp-title {
  margin: 0 0 10px;
}

.pdp-desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pdp-more {
  padding-bottom: 24px;
}

.related {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.specs th,
.specs td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}

.specs th {
  width: 42%;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1a5fd4;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: #6a8fd4;
}

.spec-link svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  flex-shrink: 0;
}

@media (hover: hover) {
  .spec-link:hover {
    color: #1248a8;
    text-decoration-style: solid;
    text-decoration-color: #1248a8;
  }

  .spec-link:hover svg {
    opacity: 1;
  }
}

.pdp-price {
  font-size: 20px;
  margin: 12px 0 16px;
  font-variant-numeric: tabular-nums;
}

.pdp-actions {
  display: grid;
  gap: 8px;
}

.pdp-actions .solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

.pdp-actions .solid-btn span {
  line-height: 1;
}

.pdp-actions .solid-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.note a {
  border-bottom: 1px solid var(--line);
}

.lead-back {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.lead-back.open {
  opacity: 1;
  pointer-events: auto;
}

.lead {
  width: min(100%, 400px);
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px 28px 32px;
  position: relative;
  transform: translateY(18px) scale(0.98);
  opacity: 0.6;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.lead-back.open .lead {
  transform: none;
  opacity: 1;
}

.lead-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.lead-kicker {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lead-name {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.lead-price {
  margin: 6px 0 28px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.lead-field {
  display: block;
  margin-bottom: 20px;
}

.lead-field span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.lead-field input {
  width: 100%;
  height: 44px;
  border: 0;
  border-bottom: 1px solid #111;
  outline: none;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
}

.lead-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  background: #111;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.lead-done {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}

.search-back {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 74;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.search-back.open {
  opacity: 1;
  pointer-events: auto;
}

.search-drop {
  position: fixed;
  inset: 0;
  z-index: 76;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  overflow: auto;
  pointer-events: none;
  padding-top: env(safe-area-inset-top);
}

.search-drop.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}

.search-inner {
  padding-top: 12px;
  padding-bottom: 48px;
}

.search-drop-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #111;
}

.search-drop-bar input {
  flex: 1;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: none;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.search-drop-bar input::placeholder {
  color: var(--muted);
  letter-spacing: 0.16em;
}

.search-drop-bar input::-webkit-search-cancel-button {
  display: none;
}

.search-x {
  flex: none;
  width: 44px;
  height: 56px;
  font-size: 18px;
  color: #111;
  line-height: 1;
}

.search-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0 8px;
}

.search-quick a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 8px 0;
  transition: color var(--dur-fast) ease;
}

.search-quick a:hover {
  color: #111;
}

.search-results {
  padding: 8px 0 24px;
}

.search-hint,
.search-results .empty {
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.search-count {
  display: block;
  margin: 8px 0 16px;
}

.search-grid {
  grid-template-columns: 1fr 1fr;
}

.search-lock {
  overflow: hidden;
}

.search-quick::-webkit-scrollbar {
  display: none;
}

.empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--muted);
}

.static {
  max-width: 640px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1);
  margin: 0 auto 28px;
}

.static h1 {
  margin: 0 0 16px;
}

.static h2 {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 400;
  margin: 28px 0 8px;
}

.static p {
  color: #333;
  line-height: 1.7;
}

.static-doc {
  max-width: 720px;
}

.static-lead {
  color: var(--muted);
  margin: 0 0 8px;
}

.static-doc section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.static-doc section h2 {
  margin: 0 0 12px;
}

.static-doc section p {
  margin: 0;
}

.contacts-page {
  max-width: 720px;
}

.contacts-lead {
  margin: 0 0 8px;
  color: var(--muted);
}

.contacts-phone {
  font-size: 20px;
  margin: 0 0 20px;
}

.contacts-phone a {
  color: inherit;
}

.contacts-msg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 20px;
  max-width: 420px;
}

.msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.msg-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.msg-btn span {
  line-height: 1;
}

.msg-btn--tg {
  background: #229ed9;
}

.msg-btn--vb {
  background: #7360f2;
}

.msg-btn--wa {
  background: #25d366;
}

@media (hover: hover) {
  .msg-btn--tg:hover {
    background: #1b8ec4;
  }
  .msg-btn--vb:hover {
    background: #624ee0;
  }
  .msg-btn--wa:hover {
    background: #1ebe5d;
  }
}

@media (min-width: 640px) {
  .contacts-msg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
  }
}

.contacts-channel {
  margin: 0 0 28px;
}

.contacts-map {
  width: 100%;
  height: 420px;
  margin: 12px 0 12px;
  background: #f4f4f4;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.filter-col {
  display: none;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --wrap: 1080px;
    --header-h: 64px;
  }

  .header {
    height: 64px;
    min-height: 64px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .icon-btn.burger {
    display: none;
  }

  .header-logo {
    justify-content: flex-start;
    align-items: center;
    min-width: 220px;
    height: 100%;
  }

  .header-logo img {
    width: 36px;
    height: 36px;
    object-position: top center;
  }

  .wordmark {
    font-size: 15px;
    letter-spacing: 0.16em;
  }

  .desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    height: 100%;
  }

  .desktop-nav > a,
  .nav-drop > a,
  .nav-drop > button {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-fast) ease, opacity var(--dur-fast) ease;
  }

  .desktop-nav > a:hover,
  .nav-drop:hover > a,
  .nav-drop:hover > button {
    border-bottom-color: #111;
  }

  .nav-drop {
    position: relative;
  }

  .mega {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-20%) translateY(8px);
    background: #fff;
    border: 1px solid var(--line);
    min-width: 240px;
    padding: 12px 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur-fast);
  }

  .nav-drop:hover .mega,
  .nav-drop:focus-within .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-20%) translateY(0);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease), visibility 0s;
  }

  .mega a {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 400;
    transition: background var(--dur-fast) ease;
  }

  .mega a:hover {
    background: #f6f6f6;
  }

  .mega .menu-all {
    margin-top: 4px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .lang-desktop {
    display: flex;
    align-items: center;
    margin-right: 8px;
  }

  .home-swiper .swiper-slide {
    /* columns: Swiper 4 from 1024px, 5 from 1280px */
  }

  .m-cats {
    display: none;
  }

  .pdp-swiper .swiper-button-prev,
  .pdp-swiper .swiper-button-next {
    display: flex;
  }

  .text-block {
    margin: 72px auto 96px;
  }

  .footer {
    padding: 18px 0;
  }

  .footer-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: center;
  }

  .footer a {
    display: inline-block;
    padding: 0;
  }

  .copy {
    flex: none;
    margin: 0 0 0 auto;
  }

  .page {
    padding: 0 0 40px;
  }

  .page-home {
    padding-top: 0;
  }

  .page:has(.pdp) {
    padding-top: 0;
  }

  .crumbs {
    padding-top: 20px;
  }

  .subcats {
    gap: 6px 16px;
  }

  .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  .toolbar .count {
    grid-column: auto;
  }

  .toolbar-actions {
    display: flex;
    grid-column: auto;
    width: auto;
    flex: none;
  }

  .sort-wrap {
    display: inline-flex;
  }

  .sort-select {
    width: auto;
  }

  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 16px;
  }

  .cat-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
  }

  .filter-col {
    display: block;
    position: sticky;
    top: 96px;
    max-height: calc(100dvh - 120px);
    overflow: auto;
  }

  .sheet,
  .sheet-back {
    display: none;
  }

  .search-drop-bar input {
    height: 64px;
    font-size: 16px;
  }

  .search-x {
    height: 64px;
  }

  .search-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pdp {
    display: grid;
    grid-template-columns: minmax(0, 55%) minmax(0, 1fr);
    gap: 48px;
    padding-top: 0;
    padding-bottom: 40px;
    align-items: start;
  }

  .pdp-swiper.swiper {
    max-width: none;
    width: 100%;
  }

  .pdp-swiper .swiper-slide:not(.video) {
    cursor: zoom-in;
  }

  .pdp-info {
    padding: 0;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }

  .filters-mobile {
    display: none;
  }

  .lead {
    width: 420px;
    padding: 48px 40px 40px;
  }
}

.zoom-back {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.zoom-back.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}

.zoom-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.zoom-stage img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-out;
}

.zoom-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.zoom-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  font-size: 28px;
  line-height: 1;
  color: #111;
}

.zoom-prev {
  left: 8px;
}

.zoom-next {
  right: 8px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur: 0.01ms;
    --dur-fast: 0.01ms;
  }

  html {
    scroll-behavior: auto;
  }
}
