@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* Негізгі параметрлер */

:root {
  color-scheme: dark;

  --ink: #ffffff;
  --paper: #000000;
  --bg: #000000;
  --green: #ffffff;
  --accent: #ffffff;
  --line: #303030;
  --muted: #b8b8b8;
  --surface: #111111;
}

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

html {
  background: #000;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

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

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

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

p {
  line-height: 1.8;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 15px 0 0;
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1.8px;
}

/* Жоғарғы бөлік */

.announcement {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #000;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 100px;
  padding: 20px 4%;

  border-bottom: 1px solid #202020;
  background: #000;
}

.logo,
.wordmark {
  display: inline-block;
  flex-shrink: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -3px;
}

.wordmark {
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.logo span {
  font-size: 15px;
  vertical-align: top;
  letter-spacing: 0;
}

.logo small {
  display: block;
  margin-top: 11px;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

nav,
.tools {
  display: flex;
  align-items: center;
}

nav {
  gap: clamp(18px, 3vw, 50px);
}

nav a {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

nav a:hover {
  color: #bcbcbc;
}

.tools {
  gap: 18px;
  flex-shrink: 0;
}

.tools select {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
}

.tools button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.tools b,
#count {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 10px;
}

select option {
  background: #000;
  color: #fff;
}

/* Баннер */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  height: min(780px, 85svh);
  overflow: hidden;
  background: #171717;
  color: #fff;
}

.hero-image,
.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000a, #0001),
    linear-gradient(0deg, #000b, transparent 65%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(0deg, #0008, transparent 65%);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4%;
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-copy {
  position: absolute;
  right: 6%;
  bottom: 80px;
  left: 6%;
  max-width: 1000px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.hero h1 {
  margin: 30px 0;
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero h1 em {
  color: #fff;
  font-style: normal;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 500px;
  font-size: 14px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: 850px;
}

.hero-bottom p {
  margin: 0;
  font-size: 14px;
}

.vertical {
  position: absolute;
  top: 45%;
  right: 3%;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 2px;
}

.photo-caption {
  position: absolute;
  bottom: 22px;
  left: 4%;
  font-size: 8px;
  letter-spacing: 2px;
}

.reference-hero {
  width: 100%;
  max-width: 1600px;
  height: calc(100svh - 100px);
  min-height: 460px;
  margin: 0 auto;
}

.reference-hero .hero-shade {
  background: linear-gradient(0deg, #0006, transparent 55%);
}

/* Батырмалар */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 19px 25px;
  border: 1px solid transparent;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.button:hover {
  background: #dedede;
  transform: translateY(-2px);
}

.light,
.dark {
  background: #fff;
  color: #000;
}

.dark,
.full {
  width: 100%;
}

.hero-copy > .button {
  margin-top: 16px;
}

.hero-order {
  position: absolute;
  bottom: 12%;
  left: 50%;
  min-width: 260px;
  justify-content: center;
  padding: 22px 35px;
  font-size: 18px;
  font-weight: 500;
  transform: translateX(-50%);
}

.hero-order:hover {
  transform: translate(-50%, -2px);
}

/* Қосымша дроптар */

.ticker {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #000;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ticker > div {
  width: max-content;
  animation: marquee 28s linear infinite;
}

.section {
  padding: 75px 5%;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-title h2 {
  margin: 0;
}

.section-title > span,
.section-aside {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.drop-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.drop-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
  text-align: left;
}

.drop-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.drop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, #000d);
}

.drop-card:hover img {
  transform: scale(1.05);
}

.drop-index {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  font-size: 9px;
  letter-spacing: 1px;
}

.drop-card > div {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  z-index: 1;
}

.drop-card h3 {
  margin: 0 0 7px;
  font-size: 36px;
  letter-spacing: -1.5px;
}

.drop-card div span {
  font-size: 11px;
}

.drop-card b {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 28px;
  font-weight: 400;
}

.club img {
  padding: 30px 5px 70px;
  object-fit: contain;
}

.type-card {
  background: #151515;
}

.type-card::after {
  display: none;
}

.big-b {
  position: absolute;
  inset: 25px 0 0;
  color: #fff;
  font-size: 280px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -30px;
  text-align: center;
}

/* Каталог */

.catalog {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.catalog > *,
.reference-catalog > *,
.catalog-main,
.catalog-sidebar {
  min-width: 0;
}

.reference-catalog {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 35px;
  padding: 35px 4% 80px;
}

.catalog-sidebar {
  position: sticky;
  top: 125px;
  max-width: 100%;
  padding-top: 105px;
}

.filters {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.filters button {
  padding: 11px 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #ccc;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.filters button:hover {
  color: #fff;
  background: #151515;
}

.filters button.active {
  background: #fff;
  color: #000;
}

.catalog-sidebar .filters {
  align-items: flex-start;
  gap: 20px;
}

.catalog-sidebar .filters button {
  padding: 0;
  border: 0;
  background: transparent;
}

.catalog-sidebar .filters button.active {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.toolbar,
.catalog-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  margin-bottom: 18px;
}

.toolbar > input,
.toolbar > select,
.search-label input,
.sort select {
  min-width: 0;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #666;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-size: 12px;
}

.toolbar > input {
  width: min(55%, 300px);
}

.toolbar > select {
  max-width: 45%;
}

.catalog-toolbar {
  justify-content: flex-end;
}

.search-label {
  position: relative;
  display: flex;
  width: 240px;
  min-width: 0;
}

.search-label input {
  width: 100%;
  padding-right: 36px;
}

.search-label > span:last-child:not(.sr-only) {
  position: absolute;
  top: 7px;
  right: 12px;
  font-size: 24px;
  pointer-events: none;
}

.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sort select {
  width: 100%;
}

.catalog-toolbar .sort {
  width: 190px;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.filter-row .filters {
  flex-direction: row;
  flex-wrap: wrap;
}

.notice,
.demo-label,
.catalog-notice {
  margin: 0 0 24px;
  color: #aaa;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.8px;
}

.catalog-notice {
  text-align: right;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 20px;
}

.reference-catalog .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 45px 20px;
}

.product {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.product > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
}

.product-image,
.art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-image {
  background: #000;
}

.art {
  background: #000;
}

.reference-catalog .product-image {
  aspect-ratio: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: transform 0.4s;
}

.art svg {
  width: 90%;
  height: 90%;
  transition: transform 0.4s;
}

.product:hover .product-image img,
.product:hover .art svg {
  transform: scale(1.05);
}

.product-badge,
.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 8px;
  background: #000;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.product-plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 20px;
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  font-size: 12px;
}

.product-meta h3 {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.5;
}

.product-meta b {
  font-weight: 600;
  line-height: 1.5;
}

.product-meta > span {
  flex-shrink: 0;
  white-space: nowrap;
}

.product-meta small,
.product-sub,
.product-note {
  color: #aaa;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
}

.product-sub,
.product-note {
  margin-top: 7px;
}

.reference-catalog .product {
  text-align: center;
}

.reference-catalog .product-meta {
  display: block;
  padding-top: 20px;
  text-align: center;
}

.reference-catalog .product-meta h3 {
  display: grid;
  place-items: center;
  min-height: 36px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

.reference-catalog .product-meta > span {
  display: block;
  font-size: 15px;
}

.product .product-order {
  display: inline-block;
  width: auto;
  min-width: 120px;
  padding: 13px 22px;
  margin: 20px auto 0;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.product .product-order:hover {
  background: #000;
  color: #fff;
}

.swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-top: 12px;
  margin-right: 5px;
  border: 1px solid #888;
  border-radius: 50%;
}

.empty {
  grid-column: 1 / -1;
  padding: 45px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* Ақпарат */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #000;
}

.editorial-image {
  min-height: 550px;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.editorial-copy {
  padding: 70px 10%;
  overflow: hidden;
}

.editorial-copy h2 {
  margin: 35px 0 25px;
  font-size: clamp(34px, 4vw, 60px);
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  padding: 18px 0;
  border-bottom: 1px solid #666;
  font-size: 12px;
}

.editorial-mark {
  display: block;
  margin-top: 40px;
  color: #fff;
  font-size: 85px;
  font-weight: 800;
  letter-spacing: -8px;
}

.info {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 65px;
  border-top: 1px solid var(--line);
}

.info details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}

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

.info summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1.2;
}

.info details[open] summary::after {
  content: "−";
}

.info details p {
  max-width: 580px;
  color: var(--muted);
  font-size: 12px;
}

/* Footer */

footer {
  padding: 50px 5% 25px;
  border-top: 1px solid var(--line);
  background: #000;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 45px;
}

.footer-top > a:not(.logo) {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
}

.footer-bottom button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

/* Модаль терезелер */

dialog {
  width: min(850px, 92vw);
  max-width: 850px;
  max-height: 90dvh;
  padding: 35px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #383838;
  background: #000;
  color: #fff;
}

dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}

.close {
  display: block;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0 0 12px auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.product-detail,
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}

.detail-photo {
  width: 100%;
  height: 360px;
  background: #000;
  object-fit: contain;
}

.detail-text {
  padding-top: 15px;
}

.detail-text h2,
.detail h2 {
  margin-top: 15px;
  font-size: 28px;
  letter-spacing: -1px;
}

.detail-text .price {
  font-size: 20px;
  font-weight: 700;
}

.detail-text p {
  font-size: 12px;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 24px;
}

.sizes button {
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #666;
  background: transparent;
  color: #fff;
}

.sizes button.selected,
.sizes button.active {
  border-color: #fff;
  background: #fff;
  color: #000;
}

/* Себет */

.drawer {
  width: min(480px, 100vw);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 28px;
  margin: 0 0 0 auto;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

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

.drawer-header h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -1px;
}

.drawer-header .close {
  flex-shrink: 0;
  margin: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 70px;
  height: 90px;
  background: #000;
  object-fit: contain;
}

.cart-line h3 {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.6;
}

.cart-line p {
  margin: 4px 0;
  font-size: 11px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cart-row > div {
  min-width: 0;
}

.cart-row > div:last-child {
  flex-shrink: 0;
}

.quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
}

.quantity button {
  min-width: 32px;
  min-height: 32px;
  padding: 4px;
  border: 1px solid #555;
  background: transparent;
}

.remove,
.quantity .remove {
  width: auto;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #ccc;
  font-size: 10px;
  text-decoration: underline;
}

.quantity .remove {
  margin-left: auto;
}

.total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  font-size: 18px;
  font-weight: 700;
}

.small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* Тапсырыс формасы */

form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 18px 0;
  font-size: 11px;
}

form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 12px;
  border: 1px solid #666;
  border-radius: 0;
  background: #080808;
  color: #fff;
}

form input::placeholder {
  color: #929292;
  opacity: 1;
}

.name-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: #fff;
}

#orderResult {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
}

#orderResult:not(:empty) {
  padding: 17px;
  border: 1px solid #555;
  background: #151515;
}

#privacyDialog {
  max-width: 580px;
}

#privacyDialog h2 {
  font-size: 26px;
}

#privacyDialog p {
  font-size: 13px;
}

/* Хабарлама */

#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 50;
  max-width: 90vw;
  padding: 15px 24px;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  pointer-events: none;
}

#toast:empty {
  display: none;
}

/* Контент JavaScript болмаса да көрінеді */

.reveal,
.motion .reveal,
.motion .reveal.shown {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Планшет */

@media (min-width: 1700px) {
  .reference-catalog {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 45px;
  }

  .reference-catalog .product-meta h3 {
    font-size: 15px;
  }

  .reference-catalog .product-meta > span {
    font-size: 17px;
  }
}

@media (max-width: 1200px) {
  nav {
    gap: 22px;
  }

  .reference-catalog {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
  }

  .reference-catalog .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 15px;
  }
}

@media (max-width: 950px) {
  header {
    min-height: 85px;
  }

  nav {
    display: none;
  }

  .reference-hero {
    height: calc(90svh - 85px);
  }

  .catalog {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
  }

  .reference-catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 30px 4% 60px;
  }

  .catalog-sidebar {
    position: static;
    padding-top: 0;
  }

  .catalog-sidebar .filters {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 22px;
    max-width: 100%;
    overflow-x: auto;
    padding: 10px 0 15px;
  }

  .catalog-sidebar .filters button {
    flex-shrink: 0;
    font-size: 11px;
    white-space: nowrap;
  }

  .catalog-toolbar {
    justify-content: space-between;
  }

  .search-label {
    flex: 1 1 55%;
    width: 0;
  }

  .catalog-toolbar .sort {
    flex: 1 1 45%;
    width: 0;
  }

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

  .drop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .type-card {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .big-b {
    top: -60px;
    font-size: 250px;
  }

  .drop-card {
    min-height: 350px;
  }

  .drop-card.type-card {
    min-height: 220px;
  }

  .editorial-image {
    min-height: 450px;
  }

  .editorial-copy {
    padding: 45px 8%;
  }

  .info {
    gap: 30px;
  }

  .section {
    padding: 55px 5%;
  }

  .reference-catalog.section {
    padding: 30px 4% 60px;
  }
}

/* Телефон */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 90px;
  }

  header {
    min-height: 78px;
    padding: 18px 5%;
    gap: 12px;
  }

  .logo,
  .wordmark {
    font-size: 31px;
    letter-spacing: -2px;
  }

  .logo small {
    font-size: 6px;
  }

  .tools {
    gap: 8px;
  }

  .tools button,
  .tools select {
    font-size: 11px;
  }

  .hero {
    height: 75svh;
    min-height: 460px;
  }

  .reference-hero {
    height: calc(86svh - 78px);
    min-height: 430px;
  }

  .hero-copy {
    right: 5%;
    bottom: 55px;
    left: 5%;
  }

  .hero h1 {
    margin: 25px 0;
    font-size: clamp(52px, 12vw, 76px);
    letter-spacing: -0.06em;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 12px;
  }

  .hero-top {
    padding-top: 20px;
    font-size: 7px;
    letter-spacing: 1px;
  }

  .hero-bottom {
    display: block;
  }

  .hero-bottom p {
    font-size: 12px;
  }

  .hero-bottom .button {
    margin-top: 22px;
  }

  .hero-order {
    bottom: 10%;
    min-width: 210px;
    padding: 18px 26px;
    font-size: 16px;
  }

  .vertical {
    font-size: 7px;
  }

  .section {
    padding: 40px 5%;
  }

  h2 {
    font-size: 32px;
    letter-spacing: -1.3px;
  }

  .section-title {
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
  }

  .section-title > span {
    max-width: 100px;
    text-align: right;
  }

  .section-aside {
    margin-top: 15px;
  }

  .catalog {
    display: block;
  }

  .filters {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .filters button {
    flex-shrink: 0;
    font-size: 10px;
    white-space: nowrap;
  }

  .catalog-sidebar .filters {
    gap: 21px;
    margin-bottom: 0;
  }

  .toolbar,
  .catalog-toolbar {
    gap: 9px;
  }

  .toolbar > input,
  .toolbar > select {
    width: 48%;
    max-width: 48%;
    font-size: 11px;
  }

  .catalog-toolbar select,
  .search-label input {
    font-size: 11px;
  }

  .catalog-notice {
    text-align: left;
  }

  .products,
  .reference-catalog .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }

  .product-meta {
    flex-direction: column;
    gap: 7px;
    padding-top: 13px;
    font-size: 11px;
  }

  .product-meta h3 {
    font-size: 11px;
  }

  .reference-catalog .product-meta {
    padding-top: 15px;
  }

  .reference-catalog .product-meta h3 {
    min-height: 32px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .reference-catalog .product-meta > span {
    font-size: 13px;
  }

  .product .product-order {
    min-width: 105px;
    padding: 11px 15px;
    margin-top: 16px;
    font-size: 11px;
  }

  .product-badge,
  .tag {
    top: 7px;
    left: 7px;
    padding: 5px 6px;
    font-size: 7px;
  }

  .drop-grid {
    gap: 12px;
  }

  .drop-card {
    min-height: 290px;
  }

  .drop-card > div {
    right: 15px;
    bottom: 20px;
    left: 15px;
  }

  .drop-card h3 {
    font-size: 25px;
  }

  .drop-card div span {
    font-size: 9px;
  }

  .drop-index {
    top: 15px;
    left: 15px;
    font-size: 7px;
  }

  .drop-card.type-card {
    min-height: 190px;
  }

  .big-b {
    top: -60px;
    font-size: 220px;
  }

  .editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-image {
    min-height: 0;
    height: 350px;
  }

  .editorial-copy {
    padding: 35px 6%;
  }

  .editorial-mark {
    margin-top: 25px;
    font-size: 75px;
  }

  .info {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .info summary {
    font-size: 12px;
  }

  footer {
    padding: 38px 5% 24px;
  }

  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
    padding-bottom: 30px;
  }

  .footer-top > a:not(.logo) {
    font-size: 11px;
  }

  .footer-bottom {
    gap: 15px;
  }

  dialog {
    padding: 22px;
  }

  .product-detail,
  .detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .detail-photo {
    height: 260px;
  }

  .detail .art {
    max-height: 300px;
  }

  .detail-text {
    padding-top: 0;
  }

  .detail-text h2,
  .detail h2 {
    font-size: 25px;
  }

  .drawer {
    padding: 22px;
  }

  .drawer-header h2 {
    font-size: 23px;
  }

  .name-grid {
    gap: 10px;
  }

  .total {
    font-size: 16px;
  }

  .ticker {
    padding: 12px 0;
    font-size: 16px;
  }
}

/* Анимацияны азайту параметрі */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Reference campaign: overlay navigation, monochrome banner, white prices. */
.reference-store > header { position: absolute; inset: 0 0 auto; min-height: 120px; background: transparent; border: 0; padding: 30px 4%; }
.reference-store .reference-hero { height: 100svh; min-height: 560px; max-width: 1500px; }
.reference-store .reference-hero .hero-image { filter: grayscale(1); object-position: center; }
.reference-store .reference-hero .hero-shade { background: linear-gradient(180deg, #0005, transparent 28%, #0003); }
.reference-store .hero-order { bottom: 13%; min-width: 290px; padding: 22px 35px; font-size: 22px; }
.reference-store .product-meta > span, .reference-store .price, .reference-store #total { color: #fff; }
@media(max-width: 600px) { .reference-store > header { min-height: 80px; padding: 22px 5%; } .reference-store .reference-hero { min-height: 520px; height: 90svh; } .reference-store .hero-order { min-width: 210px; font-size: 17px; padding: 18px 24px; bottom: 10%; } }


/* WhatsApp: choose a contact before opening the external chat. */
.whatsapp-contact { position: relative; }
.whatsapp-contact summary { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 10px 12px; background: #fff; color: #000; font-size: 12px; cursor: pointer; list-style: none; }
.whatsapp-contact summary::-webkit-details-marker { display: none; }
.whatsapp-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; width: 220px; padding: 8px; border: 1px solid #555; background: #000; box-shadow: 0 8px 30px #0008; }
.whatsapp-menu a { display: block; padding: 14px 10px; color: #fff; font-size: 13px; white-space: nowrap; }
.whatsapp-menu a:hover { background: #222; }
@media(max-width:600px) { .whatsapp-contact summary { padding: 9px 8px; font-size: 10px; } .reference-store > header { gap: 8px; } .tools { gap: 6px; } .whatsapp-menu { right: -70px; width: 210px; } }

@media(max-width:360px) { .reference-store > header { flex-wrap: wrap; padding-top: 16px; } .reference-store > header .tools { width: 100%; justify-content: space-between; } .whatsapp-menu { left: 0; right: auto; } }
