/* ============================================================
   ELAANYCH — Minimalist Black & White
   ============================================================ */

/* ──────────────────────────────
   RESET & BASE
────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html {
  font-family: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Форм-элементы по умолчанию игнорируют font-family — принудительно наследуем */
input, button, select, textarea, optgroup, option {
  font-family: inherit;
  font-size: inherit;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; }

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

/* ──────────────────────────────
   VARIABLES
────────────────────────────── */
:root {
  --black:  #000;
  --white:  #fff;
  --gray:   #7c7c7c;
  --light:  #efefef;
  --border: 1px solid #000;
  --nav-h:  62px;
  --pad:    40px;
}

/* ──────────────────────────────
   PLACEHOLDER
   Замените <div class="ph"> на <img src="...">
────────────────────────────── */
.ph {
  width: 100%;
  height: 100%;
  background: var(--light);
  display: flex;
  align-items: flex-end;
}
.ph::after {
  content: attr(data-label);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #bbb;
  padding: 16px 20px;
}
.ph--dark            { background: #1c1c1c; }
.ph--dark::after     { color: #444; }
.ph--modal           { min-height: 460px; }

/* ──────────────────────────────
   SECTION LABEL
────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
}

/* ──────────────────────────────
   NAVIGATION
────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  transition: background 0.4s ease, border-color 0.4s ease;
}

/* Прозрачный режим (только главная, до скролла) */
.nav--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.nav--transparent .nav__brand,
.nav--transparent .nav__link {
  color: var(--white);
}
.nav--transparent .nav__link::after {
  background: var(--white);
}

.nav__brand {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 5px;
  color: var(--black);
  transition: color 0.4s ease;
  user-select: none;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: center;
}

.nav__mobile-only {
  display: none;
}

.nav__right {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}

.nav__cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-h);
}

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--black);
  transition: color 0.3s, opacity 0.2s;
}

.nav__cart:hover,
.nav__cart:focus-visible {
  opacity: 0.55;
}

.nav__cart--empty .nav__cart-count {
  opacity: 0;
}

.nav__cart-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.nav__cart-count {
  position: absolute;
  top: -1px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid currentColor;
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.nav__status-link {
  position: absolute;
  top: calc(100% - 1px);
  right: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 132px;
  padding: 10px 12px;
  border: var(--border);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__cart-wrap:hover .nav__status-link,
.nav__cart-wrap:focus-within .nav__status-link {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.nav__logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}
.nav__logo-img:hover { opacity: 0.6; }
.nav--transparent .nav__logo-img { filter: invert(1); }
.nav--transparent .nav__cart {
  color: var(--black);
}
.nav--transparent .nav__cart-count {
  background: var(--white);
  color: var(--black);
}

/* Бургер (скрыт на десктопе) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 34px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: background 0.4s ease;
}
.nav--transparent .nav__burger span { background: var(--white); }
.nav--transparent.nav--open .nav__burger span { background: var(--black); }

.nav__link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3.5px;
  color: var(--gray);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.25s ease, background 0.4s ease;
}
.nav__link:hover,
.nav__link.is-active       { color: var(--black); }
.nav--transparent .nav__link:hover,
.nav--transparent .nav__link.is-active { color: var(--white); }
.nav__link.is-active::after,
.nav__link:hover::after    { transform: scaleX(1); }

/* ──────────────────────────────
   BRAND SECTION
────────────────────────────── */

/* На главной — герой уходит под прозрачную шапку */
body.page--home .brand { margin-top: 0; }

/* На остальных страницах — section отступает вниз */
.page-header { margin-top: var(--nav-h); }

.brand__photo { width: 100%; overflow: hidden; }
.brand__photo--hero      { height: 55vh; min-height: 380px; }
.brand__photo--secondary { height: 56vh; min-height: 380px; }

.brand__text {
  padding: 110px var(--pad);
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.brand__tagline,
.brand__body {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
}

.brand__tagline {
  color: var(--gray);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.brand__heading-divider {
  color: var(--gray);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.brand__about-link {
  color: #b8b8b8;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  display: inline-block;
  transition: color 0.2s, transform 0.14s ease, text-shadow 0.14s ease;
}

.brand__about-link:hover,
.brand__about-link:focus-visible {
  color: #8f8f8f;
}

.brand__about-link:active {
  transform: translateY(-7px);
  text-shadow: 0 10px 12px rgba(0,0,0,0.22);
}

/* ──────────────────────────────
   CATALOG SECTION
────────────────────────────── */
.catalog {
  padding: 0;
  border-top: var(--border);
}

.catalog__loader {
  padding: 0 var(--pad);
}

.catalog__error-wrap {
  padding: 0 var(--pad);
}

.catalog__header {
  padding: 0 var(--pad);
  margin-bottom: 28px;
}

/* ──────────────────────────────
   CATALOG CATEGORY GROUP
────────────────────────────── */
.cat-group {
  margin-bottom: 0;
  position: relative;
}

.cat-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  border-bottom: var(--border);
}

.cat-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-banner .ph {
  height: 100%;
  min-height: 360px;
}

.cat-banner__label {
  position: absolute;
  bottom: 24px;
  left: var(--pad);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

/* Горизонтальная лента */
.catalog__grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  border-top: var(--border);
  border-left: var(--border);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.catalog__grid:active { cursor: grabbing; }
.catalog__grid::-webkit-scrollbar { display: none; }

.catalog-scroll {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(max(70vh, 480px) + 15vw);
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.catalog-scroll__btn {
  width: 64px;
  height: 76px;
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.72);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.2s;
}

.catalog-scroll__btn--hidden {
  opacity: 0;
  pointer-events: none;
}

/* ──────────────────────────────
   PRODUCT CARD
────────────────────────────── */
.product-card {
  cursor: pointer;
  position: relative;
  flex: 0 0 30vw;
  width: 30vw;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
  border-right: var(--border);
  border-bottom: var(--border);
  display: block;
  scroll-snap-align: start;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s, transform 0.5s cubic-bezier(.25,.46,.45,.94);
}

/* Hover-оверлей "СМОТРЕТЬ" */
.product-card::after {
  content: 'СМОТРЕТЬ';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  color: transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s, color 0.35s;
}

.product-card__info {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  pointer-events: none;
  text-align: left;
}

.product-card__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
  text-shadow:
    0 0 6px rgba(255,255,255,1),
    0 0 14px rgba(255,255,255,1),
    0 0 26px rgba(255,255,255,0.98),
    0 2px 16px rgba(255,255,255,0.95);
}

.product-card__price {
  font-size: 11px;
  font-weight: 300;
  color: var(--black);
  text-shadow:
    0 0 6px rgba(255,255,255,1),
    0 0 14px rgba(255,255,255,1),
    0 0 26px rgba(255,255,255,0.98),
    0 2px 16px rgba(255,255,255,0.95);
}

.product-card__price--sold {
  text-decoration: line-through;
  color: var(--gray);
}

.product-card__sold-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--gray);
  margin-top: 3px;
  text-transform: uppercase;
}
.product-card:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}
.product-card:hover::after {
  background: rgba(0,0,0,0.2);
  color: var(--white);
}


/* пустая заглушка без фото */
.product-card__img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
}
.product-card__img-wrap--empty::before {
  content: '—';
  font-size: 20px;
  color: #ccc;
  z-index: 1;
}
.product-card__img-wrap--empty::after { display: none; }


/* ──────────────────────────────
   CLOSING SECTION
────────────────────────────── */
.closing {
  border-top: var(--border);
}
.closing__text {
  padding: 80px var(--pad);
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.closing__text p {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}
.closing__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.closing__nav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8b8b8;
  transition: color 0.2s, transform 0.14s ease, text-shadow 0.14s ease;
}
.closing__nav-link:hover,
.closing__nav-link:focus-visible {
  color: #8f8f8f;
}

.closing__nav-link:active {
  transform: translateY(-7px);
  text-shadow: 0 10px 12px rgba(0,0,0,0.22);
}
.closing__photo {
  height: 58vh;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
}

/* ──────────────────────────────
   FOOTER
────────────────────────────── */
.footer {
  border-top: var(--border);
}

.footer__nav {
  display: flex;
  gap: 32px;
  padding: 32px var(--pad);
  border-bottom: var(--border);
}

.footer__nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}

.footer__nav-link:hover { color: var(--gray); }

.footer__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--pad);
}

.footer__meta span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gray);
}

/* ──────────────────────────────
   CHECKOUT RESULT
────────────────────────────── */
.checkout-result {
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: var(--border);
}

.checkout-result__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 120px var(--pad);
}

.checkout-result__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.checkout-result__title {
  max-width: 760px;
  font-size: 56px;
  font-weight: 200;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 24px;
}

.checkout-result__number {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 12px 0;
  margin-bottom: 44px;
}

.checkout-result__copy {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}

.checkout-result__copy p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray);
}

.checkout-result__telegram {
  max-width: 680px;
  padding: 24px 0;
  border-top: var(--border);
  border-bottom: var(--border);
  margin-bottom: 44px;
}

.checkout-result__telegram-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}

.checkout-result__telegram-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 18px;
}

.checkout-result__telegram-copy {
  display: inline-block;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  padding: 13px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.checkout-result__telegram-copy:hover,
.checkout-result__telegram-copy:focus-visible {
  background: var(--white);
  color: var(--black);
}

.checkout-result__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.checkout-result__link {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s, transform 0.14s ease, text-shadow 0.14s ease;
}

.checkout-result__link--primary {
  color: var(--black);
}

.checkout-result__link:hover,
.checkout-result__link:focus-visible {
  color: var(--black);
}

.checkout-result__link:active {
  transform: translateY(-7px);
  text-shadow: 0 10px 12px rgba(0,0,0,0.22);
}

/* ──────────────────────────────
   ORDER STATUS / INFO PAGES
────────────────────────────── */
.status-page,
.info-page {
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
  border-bottom: var(--border);
}

.status-page__inner,
.info-page__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 112px var(--pad);
}

.status-page__eyebrow,
.info-page__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.status-page__title,
.info-page__title {
  max-width: 760px;
  font-size: 54px;
  font-weight: 200;
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 44px;
}

.status-page__form {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr auto;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 32px;
}

.status-page__input {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
}

.status-page__button {
  padding: 14px 18px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-page__message {
  max-width: 680px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

.status-page__card {
  max-width: 780px;
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 24px 0;
}

.status-page__card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.status-page__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid #ececec;
}

.status-page__row span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.status-page__row strong {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--black);
}

.status-page__items {
  margin-top: 20px;
  padding-top: 18px;
  border-top: var(--border);
}

.status-page__items p,
.info-page__content p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--gray);
}

.info-page__content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-page__content a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ──────────────────────────────
   LOADING / EMPTY
────────────────────────────── */
.loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
}
.loading__dot {
  width: 7px; height: 7px;
  background: var(--black);
  border-radius: 50%;
  animation: beat 1.4s ease-in-out infinite;
}
@keyframes beat {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.6); }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 96px 0;
  text-align: center;
}
.empty-state__text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #c0c0c0;
}

/* ──────────────────────────────
   MODAL
────────────────────────────── */

/* Product navigation arrows */
.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 52px;
  font-weight: 200;
  width: 64px;
  height: 64px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.2s;
  user-select: none;
}
.modal__nav--prev { left: 20px; }
.modal__nav--next { right: 20px; }
.modal__nav:hover { color: rgba(255, 255, 255, 1); }
.modal__nav--hidden { visibility: hidden; pointer-events: none; }

@media (max-width: 900px) {
  .modal__nav { display: none; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.is-open {
  pointer-events: all;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 1200px;
  max-height: 96vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(600px, 660px) minmax(420px, 540px);
  border: var(--border);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}
.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.92);
  border: none;
  width: 36px; height: 36px;
  font-size: 13px;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.modal__close:hover { background: rgba(255,255,255,1); color: var(--black); }

/* ── GALLERY (slider) ── */
.modal__gallery {
  background: var(--light);
  overflow: hidden;
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: stretch;
  touch-action: pan-y;
  user-select: none;
}

.gallery__slide {
  width: 100%;
  flex-shrink: 0;
  touch-action: pan-y;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

.gallery__image {
  min-height: 460px;
}

/* Prev / Next кнопки */
.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  width: 40px; height: 40px;
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: background 0.2s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.gallery__btn:hover {
  background: rgba(120, 120, 120, 0.28);
}
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }

/* Счётчик "2 / 5" */
.gallery__counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gray);
  background: rgba(255,255,255,0.85);
  padding: 4px 9px;
}

/* Точки-индикаторы */
.gallery__dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.gallery__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.gallery__dot.is-active {
  background: var(--black);
}

/* ── Modal info ── */
.modal__info {
  position: relative;
  z-index: 2;
  padding: 48px 44px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal__category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.modal__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 16px;
}

.modal__price {
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 32px;
}

.modal__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray);
  flex: 1;
  margin-bottom: 32px;
  white-space: pre-line;
}

.modal__price--sold {
  text-decoration: line-through;
  color: #c0c0c0;
}

.modal__sold-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #c0c0c0;
  margin-bottom: 32px;
}

.modal__min-order {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}

.modal__min-order__text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 8px;
}

.modal__min-order__why {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal__min-order__label {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.modal__min-order__icon {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--gray);
  cursor: default;
  outline: none;
}

.modal__min-order__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  white-space: normal;
  z-index: 10;
}

.modal__min-order__icon:hover .modal__min-order__tooltip,
.modal__min-order__icon:focus .modal__min-order__tooltip {
  opacity: 1;
}

.modal__buy {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  text-align: center;
  background: var(--black);
  color: var(--white);
  padding: 16px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  border: var(--border);
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.modal__buy:hover:not(:disabled) {
  background: var(--white);
  color: var(--black);
}
.modal__buy--disabled {
  background: var(--white);
  color: #c0c0c0;
  border-color: #e0e0e0;
  pointer-events: none;
  cursor: default;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.cart-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.46);
}

.cart-modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border: var(--border);
}

.cart-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  font-size: 13px;
}

.cart-modal__head {
  padding: 28px 32px 18px;
  border-bottom: var(--border);
}

.cart-modal__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-modal__sub {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.cart-modal__list {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-modal__empty {
  padding: 34px 32px;
  font-size: 12px;
  color: var(--gray);
}

.cart-modal__item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  padding: 16px 32px;
  border-bottom: 1px solid #e8e8e8;
  align-items: center;
}

.cart-modal__image {
  width: 82px;
  aspect-ratio: 1 / 1;
  background: var(--light);
  overflow: hidden;
}

.cart-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-modal__item-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cart-modal__item-price {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray);
}

.cart-modal__qty {
  display: inline-grid;
  grid-template-columns: 28px 32px 28px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #d8d8d8;
}

.cart-modal__qty button,
.cart-modal__qty span {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.cart-modal__qty span {
  width: 32px;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  font-size: 11px;
}

.cart-modal__qty button:disabled {
  color: #c0c0c0;
  cursor: default;
}

.cart-modal__remove {
  border: none;
  background: none;
  color: var(--gray);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-modal__summary {
  padding: 22px 32px 30px;
}

.cart-modal__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-modal__total strong {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
}

.cart-modal__min {
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--gray);
}

.cart-modal__checkout {
  width: 100%;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.cart-modal__checkout:hover:not(:disabled),
.cart-modal__checkout:focus-visible:not(:disabled) {
  background: var(--white);
  color: var(--black);
}

.cart-modal__checkout--disabled {
  background: var(--white);
  color: #c0c0c0;
  border-color: #e0e0e0;
  cursor: default;
}

.cdek-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cdek-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.cdek-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}

.cdek-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border: var(--border);
}

.cdek-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  font-size: 13px;
}

.cdek-modal__head {
  padding: 28px 32px 18px;
  border-bottom: var(--border);
}

.cdek-modal__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cdek-modal__sub {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.cdek-modal__customer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 18px 32px 0;
}

.checkout-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cdek-modal__search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 18px 32px;
  border-bottom: var(--border);
}

.cdek-modal__map {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #f0f0f0;
  border-bottom: var(--border);
}

.cdek-modal__map-canvas,
.cdek-modal__map-empty {
  position: absolute;
  inset: 0;
}

.cdek-modal__map-canvas {
  z-index: 1;
}

.cdek-modal__map-empty {
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #f4f4f4;
  color: var(--gray);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.cdek-modal__map--empty .cdek-modal__map-empty {
  display: flex;
}

.cdek-modal__map--empty .cdek-modal__map-canvas {
  opacity: 0;
}

.cdek-modal__list {
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cdek-modal__point {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 16px 32px;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  background: var(--white);
  color: var(--black);
  text-align: left;
}

.cdek-modal__point:hover {
  background: #f8f8f8;
}

.cdek-modal__point.is-selected {
  background: #f2f2f2;
  box-shadow: inset 4px 0 0 var(--black);
}

.cdek-modal__point-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cdek-modal__point-address {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.cdek-modal__point-code {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.cdek-modal__confirm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 32px 24px;
  border-top: var(--border);
  background: var(--white);
}

.cdek-modal__selected {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.cdek-modal__selected-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.cdek-modal__selected-address {
  font-size: 12px;
  line-height: 1.45;
  color: var(--black);
}

.cdek-modal__confirm-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.cdek-modal__confirm-btn {
  min-width: 190px;
  padding: 13px 18px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.cdek-modal__confirm-btn:hover:not(:disabled),
.cdek-modal__confirm-btn:focus-visible:not(:disabled) {
  background: var(--white);
  color: var(--black);
}

.cdek-modal__confirm-btn:disabled,
.cdek-modal__confirm-btn--disabled {
  opacity: 0.35;
  cursor: default;
}

.cdek-modal__legal {
  max-width: 320px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--gray);
  text-align: right;
}

.cdek-modal__help {
  max-width: 320px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--gray);
  text-align: right;
}

.cdek-modal__legal a,
.cdek-modal__help a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cdek-modal__empty {
  padding: 28px 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
}

.cdek-modal__input {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
}

.cdek-modal__submit {
  padding: 12px 18px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* ──────────────────────────────
   PAGE HEADER (Archive)
────────────────────────────── */
.page-header {
  padding: 72px var(--pad) 56px;
  border-bottom: var(--border);
}
.page-header__title {
  font-size: 56px;
  font-weight: 100;
  letter-spacing: 8px;
  line-height: 1;
}
.page-header__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
  margin-top: 16px;
}

/* ──────────────────────────────
   ARCHIVE PRODUCTS
────────────────────────────── */
.archive-products {
  padding: 0;
}

.archive-cat-group {
  margin-bottom: 0;
}

.archive-cat-group__title {
  padding: 28px var(--pad) 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gray);
  border-bottom: var(--border);
}

/* Сетка без пробелов */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.archive-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--light);
  cursor: pointer;
  position: relative;
  display: block;
}

.archive-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s, transform 0.5s cubic-bezier(.25,.46,.45,.94);
}

.archive-card::after {
  content: 'СМОТРЕТЬ';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  color: transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s, color 0.35s;
}

.archive-card:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}

.archive-card:hover::after {
  background: rgba(0,0,0,0.2);
  color: var(--white);
}

/* Бейдж "АРХИВ" в модалке */
.modal__archive-badge {
  margin-top: auto;
  padding-top: 20px;
  border-top: var(--border);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #bbb;
  text-align: center;
}

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */

/* ── Планшет (≤ 900px) ── */
@media (max-width: 900px) {
  :root { --pad: 24px; }

  /* Навигация */
  .nav { padding: 0 var(--pad); }

  /* Сетки */
  .archive-grid   { grid-template-columns: repeat(2, 1fr); }

  /* Модалка */
  .modal__panel,
  .modal.is-open .modal__panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    transform: none;
  }
  .modal__close {
    position: fixed;
    top: max(12px, calc(env(safe-area-inset-top, 0px) + 10px));
    right: max(12px, calc(env(safe-area-inset-right, 0px) + 12px));
    z-index: 360;
  }
  .modal__gallery {
    height: clamp(220px, 36dvh, 320px);
    min-height: 0;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
  .gallery__image {
    min-height: 0;
    height: 100%;
  }
  .gallery__slide {
    height: 100%;
  }
  .modal__info    { padding: 32px 28px; flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }

  /* Текстовый блок бренда */
  .brand__tagline,
  .brand__body { font-size: 20px; }

  /* Closing */
  .closing__text p { font-size: 20px; }
}

/* ── Мобильный (≤ 600px) ── */
@media (max-width: 600px) {
  :root { --pad: 16px; }

  /* Навигация — лого слева, пункты внутри бургера */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav__brand  { display: none; }
  .nav__right  { display: flex; order: -1; gap: 0; }
  .nav__logo   { display: flex; }
  .nav__cart-wrap {
    position: absolute;
    top: calc(var(--nav-h) + 10px);
    right: var(--pad);
    z-index: 2;
    height: 34px;
  }
  .nav__cart {
    position: relative;
    top: auto;
    right: auto;
    width: 34px;
    height: 34px;
  }
  .nav__status-link {
    display: none;
  }
  .nav__cart-icon {
    width: 25px;
    height: 25px;
  }
  .nav__burger {
    display: flex;
    order: 1;
    z-index: 2;
  }
  .nav__links {
    position: absolute;
    top: calc(var(--nav-h) + 52px);
    left: auto;
    right: var(--pad);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: max-content;
    min-width: 132px;
    padding: 8px 14px;
    background: var(--white);
    border: var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .nav--open {
    background: var(--white);
    border-bottom-color: var(--black);
  }
  .nav--open .nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav__links li {
    width: 100%;
  }
  .nav__mobile-only {
    display: block;
  }
  .nav__link {
    display: block;
    padding: 10px 0;
    color: var(--black);
    white-space: nowrap;
  }
  .nav--transparent.nav--open .nav__link {
    color: var(--black);
  }
  .nav--transparent.nav--open .nav__link::after {
    background: var(--black);
  }
  .nav--transparent.nav--open .nav__cart {
    color: var(--black);
  }
  .nav--transparent.nav--open .nav__cart-count {
    background: var(--white);
    color: var(--black);
  }
  .nav--transparent.nav--open .nav__logo-img {
    filter: none;
  }

  /* Герой-фото */
  .brand__photo--hero      { height: 40vh; min-height: unset; }
  .brand__photo--hero img  { height: 100%; object-fit: cover; }
  .brand__photo--secondary { height: 40vh; min-height: 260px; }

  /* Текстовый блок бренда */
  .brand__text { padding: 40px var(--pad); }
  .brand__heading {
    gap: 10px;
    margin-bottom: 18px;
  }
  .brand__tagline,
  .brand__heading-divider,
  .brand__about-link {
    font-size: 22px;
    letter-spacing: 0.08em;
  }
  .brand__about-link {
    font-weight: 300;
    text-transform: uppercase;
  }
  .brand__body    { font-size: 16px; }

  /* Каталог — мобильная ширина карточки */
  .catalog__grid { border-left: none; border-bottom: var(--border); }
  .catalog-scroll {
    top: calc(max(22vh, 140px) + 27.5vw);
  }
  .catalog-scroll__btn {
    width: 38px;
    height: 50px;
    font-size: 28px;
  }
  .product-card {
    flex: 0 0 55vw;
    width: 55vw;
    border-bottom: none;
    border-left: var(--border);
    scroll-snap-align: start;
  }
  .product-card__name,
  .product-card__price,
  .product-card__sold-label {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--price-chip-bg, rgba(255,255,255,0.68));
    color: var(--price-chip-color, var(--black));
    text-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .product-card__name {
    margin-bottom: 5px;
  }
  .product-card__price--sold {
    color: var(--price-chip-color, var(--gray));
  }
  .product-card__sold-label {
    margin-top: 5px;
  }

  .archive-grid   { grid-template-columns: repeat(2, 1fr); }
  .cat-banner { height: 22vh; min-height: 140px; }
  .cat-banner .ph { min-height: 140px; }

  /* Closing */
  .closing__text { padding: 48px var(--pad); flex-direction: column; align-items: flex-start; }
  .closing__text p { font-size: 18px; }
  .closing__nav { flex-direction: row; align-items: center; gap: 16px; }
  .closing__photo { height: 44vh; min-height: 260px; }

  /* Footer */
  .closing__nav { flex-direction: row; align-items: center; gap: 16px; }
  .footer__meta { flex-direction: column; gap: 6px; text-align: center; padding: 16px var(--pad); }

  /* Checkout result */
  .checkout-result {
    align-items: flex-start;
  }
  .checkout-result__inner {
    padding: 72px var(--pad) 80px;
  }
  .checkout-result__eyebrow {
    margin-bottom: 24px;
  }
  .checkout-result__title {
    font-size: 38px;
    line-height: 1.12;
  }
  .checkout-result__number {
    margin-bottom: 36px;
  }
  .checkout-result__copy {
    margin-bottom: 40px;
  }
  .checkout-result__copy p {
    font-size: 16px;
  }
  .checkout-result__telegram {
    padding: 20px 0;
    margin-bottom: 36px;
  }
  .checkout-result__telegram-copy {
    width: 100%;
    text-align: center;
  }
  .checkout-result__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .status-page__inner,
  .info-page__inner {
    padding: 72px var(--pad) 80px;
  }
  .status-page__title,
  .info-page__title {
    font-size: 38px;
    line-height: 1.12;
  }
  .status-page__form {
    grid-template-columns: 1fr;
  }
  .status-page__button {
    width: 100%;
  }
  .status-page__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .status-page__items p,
  .info-page__content p {
    font-size: 16px;
  }

  /* Модалка */
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel {
    max-height: 96dvh;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .modal__close {
    position: fixed;
    top: max(10px, calc(env(safe-area-inset-top, 0px) + 10px));
    right: max(10px, calc(env(safe-area-inset-right, 0px) + 10px));
    z-index: 360;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  .modal__gallery {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    touch-action: pan-y;
  }
  .modal__gallery img {
    object-fit: contain;
    background: var(--light);
  }
  .gallery__image {
    min-height: 0;
    height: 100%;
  }
  .gallery__slide {
    height: 100%;
  }
  .gallery__btn {
    width: 48px;
    height: 64px;
    color: var(--black);
    background: rgba(255,255,255,0.62);
    text-shadow: none;
    z-index: 20;
  }
  .gallery__btn--prev { left: 0; }
  .gallery__btn--next { right: 0; }
  .modal__info { padding: 18px 20px 40px; }
  .modal__price { font-size: 22px; }
  .cart-modal {
    padding: 0;
    align-items: flex-end;
  }
  .cart-modal__panel {
    width: 100%;
    max-height: 92dvh;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .cart-modal__head {
    padding: 24px 20px 16px;
  }
  .cart-modal__list {
    max-height: 46dvh;
  }
  .cart-modal__item {
    grid-template-columns: 68px 1fr;
    gap: 12px;
    padding: 14px 20px;
  }
  .cart-modal__image {
    width: 68px;
  }
  .cart-modal__remove {
    grid-column: 2;
    justify-self: start;
  }
  .cart-modal__summary {
    padding: 18px 20px 24px;
  }
  .cdek-modal {
    padding: 0;
    align-items: flex-end;
  }
  .cdek-modal__panel {
    max-height: 96dvh;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  .cdek-modal__head {
    padding: 24px 20px 16px;
  }
  .cdek-modal__customer {
    grid-template-columns: 1fr;
    padding: 16px 20px 0;
  }
  .cdek-modal__search {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }
  .cdek-modal__map {
    height: 300px;
  }
  .cdek-modal__list {
    max-height: 300px;
  }
  .cdek-modal__point {
    padding: 14px 20px;
  }
  .cdek-modal__confirm {
    grid-template-columns: 1fr;
    padding: 16px 20px 22px;
  }
  .cdek-modal__confirm-btn {
    width: 100%;
  }
  .cdek-modal__confirm-actions {
    justify-items: stretch;
  }
  .cdek-modal__legal {
    max-width: none;
    text-align: left;
  }
  .cdek-modal__help {
    max-width: none;
    text-align: left;
  }
  /* Page header */
  .page-header { padding: 48px var(--pad) 36px; }
  .page-header__title { font-size: 36px; letter-spacing: 3px; }

  /* About manifesto */
  .about-manifesto { padding: 40px var(--pad) 60px; }
  .about-manifesto__title { font-size: 24px; margin-bottom: 32px; }
  .about-manifesto__text p { font-size: 16px; }
}

/* ──────────────────────────────
   ABOUT EDITORIAL
────────────────────────────── */

.about-editorial {
  background: #fff;
  border-top: 1px solid #EAEAEA;
}

.about-editorial__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 216px 96px 120px;
}

.about-editorial__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 9fr;
  align-items: start;
}

.about-editorial__label span {
  display: block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A0;
  padding-top: 7px;
}

.about-editorial__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-editorial__p {
  font-family: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #111111;
  max-width: 720px;
  margin: 0;
  opacity: 0;
  transform: translateY(28px);
}

.about-editorial__p.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@media (max-width: 1024px) {
  .about-editorial__inner { padding: 140px 48px; }
  .about-editorial__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-editorial__label span { padding-top: 0; }
  .about-editorial__p { font-size: 24px; }
}

@media (max-width: 600px) {
  .about-editorial__inner { padding: 80px 24px; }
  .about-editorial__p { font-size: 19px; margin-bottom: 32px; }
}

/* ──────────────────────────────
   WELCOME OVERLAY
────────────────────────────── */

.welcome {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--pad);
  opacity: 1;
  transition: opacity 0.65s ease;
}

.welcome--out {
  opacity: 0;
  pointer-events: none;
}

.welcome__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.welcome__brand {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A0A0A0;
  margin-bottom: 52px;
}

.welcome__text {
  font-family: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111;
  margin: 0 0 56px;
}

.welcome__confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.welcome__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.18s;
}

.welcome__checkbox:checked {
  background: #111;
}

.welcome__checkbox:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}

.welcome__confirm-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
}

@media (max-width: 600px) {
  .welcome__text { font-size: 26px; margin-bottom: 40px; }
  .welcome__brand { margin-bottom: 40px; }
}

/* ──────────────────────────────
   ABOUT CONTACTS
────────────────────────────── */

.about-contacts {
  background: #fff;
  border-top: 1px solid #EAEAEA;
}

.about-contacts__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 96px;
}

.about-contacts__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 9fr;
  align-items: start;
}

.about-contacts__label span {
  display: block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A0A0A0;
  padding-top: 6px;
}

.about-contacts__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-contacts__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  transition: opacity 0.2s;
}

.about-contacts__link:hover { opacity: 0.45; }

.about-contacts__platform {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.about-contacts__arrow {
  font-size: 20px;
  font-weight: 300;
  color: #A0A0A0;
}

@media (max-width: 1024px) {
  .about-contacts__inner { padding: 100px 48px; }
  .about-contacts__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-contacts__label span { padding-top: 0; }
  .about-contacts__platform { font-size: 18px; }
}

@media (max-width: 600px) {
  .about-contacts__inner { padding: 64px 24px; }
  .about-contacts__platform { font-size: 16px; }
  .about-contacts__link { padding: 20px 0; }
}
