/* ==========================================================================
   EURASIA — магазин профессиональной косметики
   Palette (brand guideline): #424532 dark olive · #919390 grey · #B6C4B6 sage
                              #EEF0E5 cream · #F3F3F3 light
   Type:    Montserrat (display) · Golos Text (body) · IBM Plex Mono (labels)
   ========================================================================== */

:root {
  /* brand guideline palette */
  --olive: #424532;
  --grey: #919390;
  --sage: #b6c4b6;
  --lichen: #eef0e5;
  --porcelain: #f3f3f3;
  /* derived */
  --moss: #424532;
  --moss-deep: #33352a;
  --sage-soft: #b6c4b6;
  --graphite: #23251c;
  --stone: #6c6e68;
  --hairline: #e2e3dc;
  --white: #fff;
  --danger: #a3321f;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: 40px;
  --gap: 24px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 76px;
  --section: clamp(72px, 7vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

[hidden] { display: none !important; }

.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;
}

.container { width: 100%; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--graphite);
}
.h1 { font-size: clamp(40px, 4.4vw, 76px); }
.h2 { font-size: clamp(30px, 2.9vw, 48px); }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--olive);
  white-space: nowrap;
}
.link::after {
  content: '';
  width: 14px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url('../assets/icons/arrow.svg') center / contain no-repeat;
  mask: url('../assets/icons/arrow.svg') center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.link:hover::after { transform: translateX(4px); }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { background: var(--moss-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn--ghost:hover { background: var(--porcelain); }
.btn--white { background: var(--white); color: var(--olive); }
.btn--white:hover { background: var(--lichen); }

/* ---------- Form controls ---------- */

.check {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  user-select: none;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px #c3c5bd;
  background: var(--white);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.check__box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  -webkit-mask: url('../assets/icons/check.svg') center / 11px 8px no-repeat;
  mask: url('../assets/icons/check.svg') center / 11px 8px no-repeat;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.check:hover .check__box { box-shadow: inset 0 0 0 1.5px var(--sage); }
.check input:checked + .check__box { background: var(--olive); box-shadow: none; }
.check input:checked + .check__box::after { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--sage); outline-offset: 2px; }
.check--center { align-items: center; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--stone); }
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--porcelain);
  font-size: 16px;
  outline: 0;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: #9fa19b; }
.input:hover { border-color: var(--hairline); }
.input:focus { background: var(--white); border-color: var(--olive); box-shadow: 0 0 0 4px rgba(182, 196, 182, .45); }
.field.is-invalid .input { border-color: var(--danger); background: #fcf5f3; }

.select { position: relative; display: inline-flex; align-items: center; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding: 0 40px 0 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  outline: 0;
}
.select select:focus-visible { border-color: var(--olive); }
.select img { position: absolute; right: 16px; width: 10px; height: 6px; transform: rotate(180deg); pointer-events: none; }

.qty {
  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  background: var(--white);
}
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.qty button img { width: 18px; height: 18px; filter: brightness(0); opacity: .75; }
.qty button:hover:not(:disabled) img { opacity: 1; }
.qty button:disabled { cursor: default; }
.qty button:disabled img { opacity: .25; }
.qty output { min-width: 20px; text-align: center; font-family: var(--font-mono); font-size: 14px; }
.qty--lg { height: 56px; }
.qty--lg button { width: 50px; height: 56px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hairline); }

.header {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__left { display: flex; align-items: center; gap: 28px; }
.header__burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; transition: background-color .2s ease; }
.header__burger:hover { background: var(--porcelain); }
.header__burger img { width: 26px; height: 14px; }
.header__nav { display: flex; gap: 28px; font-size: 15px; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.header__nav a:hover::after, .header__nav a[aria-current]::after { transform: scaleX(1); }
.header__logo { display: block; }
.header__logo img { display: block; width: 156px; height: auto; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.search { position: relative; display: flex; align-items: center; width: 280px; }
.header__right > .search { margin-right: 10px; }
.search input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--porcelain);
  font-size: 14px;
  outline: 0;
  transition: border-color .2s ease, background-color .2s ease;
}
.search input::placeholder { color: var(--stone); }
.search input:focus { background: var(--white); border-color: var(--olive); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; right: 5px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.search button img { width: 17px; height: 17px; }

.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s ease; }
.icon-btn:hover { background: var(--porcelain); }
.icon-btn img { width: 24px; height: 23px; }
.icon-btn__badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid var(--white);
  border-radius: 10px;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
}
.icon-btn__badge[hidden] { display: none; }
.header__search-toggle { display: none; }

.mobile-search { display: none; padding-bottom: 14px; }
.mobile-search .search { width: 100%; }
.mobile-search.is-open { display: block; }

/* ---------- Page head ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--stone);
}
.breadcrumbs a:hover { color: var(--graphite); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs [aria-current] { color: var(--graphite); }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: clamp(24px, 2.6vw, 44px) 0 clamp(28px, 3vw, 44px);
}
.page-head__meta { display: flex; align-items: center; gap: 12px; }

/* ---------- Sections ---------- */

.section { padding-top: var(--section); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(24px, 2.4vw, 40px);
}
.section-head .label { display: block; margin-bottom: 12px; }

/* ---------- Product card ---------- */

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

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--porcelain);
  isolation: isolate;
}
.card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform .7s var(--ease);
}
.card__media img.is-crop { inset: auto; left: var(--l); top: var(--t); width: var(--w); height: auto; max-width: none; }
.card:hover .card__media img { transform: scale(1.04); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  pointer-events: none;
}
.badge--new { background: var(--white); color: var(--olive); }
.badge--sale { background: var(--olive); color: var(--white); }

.card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s var(--ease), background-color .2s ease;
}
.card:hover .card__fav, .card__fav:focus-visible, .card__fav.is-active { opacity: 1; transform: none; }
.card__fav img { width: 19px; height: 17px; }
.fav-toggle .on { display: none; }
.fav-toggle.is-active .on { display: block; }
.fav-toggle.is-active .off { display: none; }

.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 2px 0; flex: 1 1 auto; }
.card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.card__title a:hover { color: var(--olive); }
.card__sub {
  font-size: 14px;
  line-height: 1.4;
  color: var(--stone);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px 0; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.price__now { font-size: 20px; }
.price__old { font-size: 14px; font-weight: 500; color: var(--stone); text-decoration: line-through; }
.price--lg .price__now { font-size: 34px; }
.price--lg .price__old { font-size: 18px; }

.card__add {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--olive);
  transition: background-color .2s ease, transform .2s var(--ease);
}
.card__add:hover { background: var(--moss-deep); transform: scale(1.06); }
.card__add img { width: 20px; height: 20px; }
.card__add.is-done { background: var(--sage); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: clamp(620px, calc(100vh - var(--header-h) - 16px), 920px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e7e7e2;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 76%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 20%;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #e7e7e2 0%, #e7e7e2 24%, rgba(231, 231, 226, 0) 46%),
    linear-gradient(0deg, rgba(40, 42, 30, .22) 0%, rgba(40, 42, 30, 0) 34%);
}
.hero__brand {
  position: absolute;
  top: clamp(20px, 2.6vw, 44px);
  left: clamp(24px, 3vw, 48px);
  right: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 24px);
  pointer-events: none;
}
.hero__wordmark { margin: 0; }
.hero__wordmark img {
  width: 100%;
  height: auto;
  animation: reveal 1.3s var(--ease) both;
}
@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); opacity: .2; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
.hero__tag.label { color: var(--olive); font-size: 13px; letter-spacing: .16em; animation: fade 1s .6s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero__bottom {
  position: absolute;
  left: clamp(24px, 3vw, 48px);
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(24px, 3vw, 48px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.hero__intro { max-width: 440px; }
.hero__lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__actions .btn--ghost { background: rgba(255, 255, 255, .6); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__actions .btn--ghost:hover { background: var(--white); }

.hero-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  width: 400px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 60px -24px rgba(26, 27, 20, .4);
}
.hero-card__media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.hero-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 4px 4px 0 0; min-width: 0; }
.hero-card__title { margin-top: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.hero-card__title a:hover { color: var(--olive); }
.hero-card__row { display: flex; align-items: center; justify-content: space-between; }
.hero-card .card__add { width: 40px; height: 40px; }

/* ---------- Home: brands ---------- */

.brand-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.brand-tile {
  position: relative;
  display: block;
  height: clamp(240px, 22vw, 420px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  isolation: isolate;
}
.brand-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.brand-tile__img.is-crop { inset: auto; left: var(--l); top: var(--t); width: var(--w); height: auto; max-width: none; }
.brand-tile:hover .brand-tile__img { transform: scale(1.05); }
.brand-tile__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  background: linear-gradient(0deg, rgba(40, 42, 30, .38), rgba(40, 42, 30, 0));
}
.brand-tile__name { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.brand-tile .link { color: var(--white); }
.brand-tile--dark { color: var(--olive); }
.brand-tile--dark .brand-tile__foot { background: linear-gradient(0deg, rgba(243, 243, 243, .55), rgba(243, 243, 243, 0)); }
.brand-tile--dark .link { color: var(--olive); }

/* ---------- Home: about ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 80px);
  padding: clamp(24px, 4vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--moss);
  color: var(--white);
}
.about__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.about .label { color: var(--sage-soft); }
.about__statement {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.about .link { margin-top: 28px; color: var(--white); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.about__facts dt { font-family: var(--font-display); font-size: clamp(24px, 2vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.about__facts dd { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.about__photo { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Home: collections ---------- */

.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.collection {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--porcelain);
  isolation: isolate;
}
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.collection::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 42, 30, 0) 45%, rgba(40, 42, 30, .62)); }
.collection:hover img { transform: scale(1.05); }
.collection__body { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.collection__name { font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 36px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.collection .link { color: var(--white); }

/* ---------- Subscribe ---------- */

.subscribe { padding-top: var(--section); }
.subscribe__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: 32px 80px;
  align-items: center;
  padding: clamp(24px, 4vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--lichen);
}
.subscribe__lead { margin-top: 16px; max-width: 460px; color: var(--stone); font-size: 17px; }
.subscribe__row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--white); }
.subscribe__row input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-size: 16px; outline: 0; }
.subscribe__consent { margin-top: 16px; color: var(--stone); font-size: 13px; }
.subscribe__msg { min-height: 20px; margin-top: 10px; font-size: 14px; color: var(--olive); }
.subscribe__msg.is-error, .form-error { color: var(--danger); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: var(--section);
  background: var(--olive);
  color: var(--white);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-top: 72px;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; }
.footer__col .label { margin-bottom: 6px; color: rgba(255, 255, 255, .55); }
.footer__col a { color: rgba(255, 255, 255, .86); transition: color .2s ease; }
.footer__col a:hover { color: var(--white); }
.footer__contact { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.35; }
.footer__col .footer__contact { color: var(--white); }
.footer__contact img { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; object-fit: contain; }
.footer__side .search { width: 100%; max-width: 360px; }
.footer__side .search input { background: rgba(255, 255, 255, .1); color: var(--white); }
.footer__side .search input::placeholder { color: rgba(255, 255, 255, .6); }
.footer__side .search input:focus { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.socials { display: flex; gap: 10px; }
.socials a { position: relative; display: block; width: 36px; height: 36px; transition: transform .2s var(--ease); }
.socials a:hover { transform: translateY(-2px); }
.socials img { width: 36px; height: 36px; }
.socials .star { position: absolute; top: -2px; right: -4px; font-size: 12px; line-height: 1; }
.footer__note { font-size: 12px; color: rgba(255, 255, 255, .5); }

.footer__logo { display: block; width: 100%; height: auto; margin-top: 72px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 36px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__legal a:hover { color: var(--white); }

/* ---------- Overlays ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  background: rgba(26, 27, 20, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .35s ease, visibility .35s ease;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.modal-overlay { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; }
.modal-overlay > .modal { justify-self: center; }

.drawer {
  position: fixed;
  top: 12px;
  bottom: 12px;
  z-index: 101;
  display: flex;
  flex-direction: column;
  width: min(480px, calc(100vw - 24px));
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .45s var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 20px 32px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 32px 24px; }
.drawer__foot { display: flex; flex-direction: column; gap: 12px; padding: 20px 32px 28px; border-top: 1px solid var(--hairline); }

.close-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: var(--porcelain); transition: background-color .2s ease, transform .3s var(--ease); }
.close-btn:hover { background: var(--lichen); transform: rotate(90deg); }
.close-btn img { width: 30px; height: 30px; transform: rotate(45deg); }

.menu { left: 12px; transform: translateX(calc(-100% - 24px)); }
.menu.is-open { transform: none; }
.menu__logo img { display: block; width: 168px; height: auto; }
.menu__item { border-bottom: 1px solid var(--hairline); }
.menu__link, .menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  transition: color .2s ease;
}
.menu__link:hover, .menu__toggle:hover { color: var(--olive); }
.menu__toggle img { width: 11px; height: 6px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.menu__toggle[aria-expanded="true"] img { transform: none; }
.menu__sub { display: none; flex-direction: column; gap: 12px; padding: 0 0 20px; font-size: 15px; color: var(--stone); }
.menu__sub.is-open { display: flex; }
.menu__sub a:hover { color: var(--olive); }
.menu .footer__note { color: var(--stone); }
.menu .socials .star { color: var(--olive); }

.fav { right: 12px; transform: translateX(calc(100% + 24px)); }
.fav.is-open { transform: none; }
.drawer__title { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.drawer__count { margin-left: 8px; font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--stone); }

.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 0; }
.empty__title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.empty p { color: var(--stone); }
.empty .btn { margin-top: 8px; }

.modal {
  position: relative;
  width: 560px;
  max-width: 100%;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--white);
  transform: translateY(16px) scale(.98);
  transition: transform .4s var(--ease);
}
.modal-overlay.is-open .modal { transform: none; }
.modal__close { position: absolute; top: 20px; right: 20px; }
.modal__logo { display: block; width: 150px; height: auto; }
.modal__mark { display: grid; place-items: center; width: 56px; height: 56px; margin-top: 40px; border-radius: 50%; background: var(--lichen); }
.modal__mark::after {
  content: '';
  width: 22px;
  height: 16px;
  background: var(--olive);
  -webkit-mask: url('../assets/icons/check.svg') center / contain no-repeat;
  mask: url('../assets/icons/check.svg') center / contain no-repeat;
}
.modal__title { margin-top: 24px; }
.modal__text { margin-top: 14px; max-width: 400px; font-size: 17px; color: var(--stone); }
.modal .btn { margin-top: 32px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity .3s ease, transform .4s var(--ease), visibility .3s ease;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .btn { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- Line items ---------- */

.line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.line__img { position: relative; display: block; width: 104px; height: 112px; overflow: hidden; border-radius: 12px; background: var(--porcelain); }
.line__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.line__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.line__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.line__title a:hover { color: var(--olive); }
.line__info .qty { margin-top: auto; }
.line__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.line__side .price { justify-content: flex-end; }
.line__side .price__now { font-size: 18px; }
.line__actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
.line__actions > button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background-color .2s ease; }
.line__actions > button:hover { background: var(--porcelain); }
.line__actions img { width: 20px; height: 20px; filter: brightness(0); opacity: .55; }
.line__actions > button:hover img { opacity: 1; }
.line__actions .fav-toggle img.on { width: 20px; height: 18px; filter: none; opacity: 1; }
.line__actions .check { padding: 8px; }

.line--dark { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-color: rgba(255, 255, 255, .14); }
.line--dark .line__img { width: 72px; height: 78px; background: var(--white); }
.line--dark .line__title { font-size: 15px; }
.line--dark .label { color: rgba(255, 255, 255, .6); }
.line--dark .price__old { color: rgba(255, 255, 255, .55); }
.line--dark .qty { height: 34px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.line--dark .qty button { width: 34px; height: 34px; }
.line--dark .qty button img { width: 16px; height: 16px; filter: none; }
.line--dark .line__actions > button:hover { background: rgba(255, 255, 255, .1); }
.line--dark .line__actions img { filter: none; opacity: .7; }

/* ---------- Summary panel ---------- */

.summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--moss);
  color: var(--white);
}
.summary__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.summary__rows { display: flex; flex-direction: column; gap: 12px; }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.summary__row b { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--white); }
.summary__total { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); color: var(--white); font-size: 17px; font-weight: 500; }
.summary__total b { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.summary .label { color: rgba(255, 255, 255, .6); }

.promo__field { display: flex; gap: 6px; margin-top: 10px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.promo__field input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border: 0; background: transparent; color: var(--white); font-size: 15px; outline: 0; }
.promo__field input::placeholder { color: rgba(255, 255, 255, .55); }
.promo__field button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); }
.promo__field button img { width: 18px; height: 18px; filter: brightness(0); opacity: .8; }
.promo__msg { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--sage-soft); }

/* ---------- Catalog ---------- */

.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog__empty { grid-column: 1 / -1; }
.catalog__filters-btn { display: none; }
.catalog__filters-btn img { width: 16px; height: 16px; }

.filters-panel { position: sticky; top: calc(var(--header-h) + 16px); }
.filters { display: flex; flex-direction: column; }
.filters__top { display: none; }
.filters__group { border-bottom: 1px solid var(--hairline); }
.filters__group:first-child { border-top: 1px solid var(--hairline); }
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.filters__head img { width: 11px; height: 6px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.filters__head[aria-expanded="true"] img { transform: none; }
.filters__list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 22px; }
.filters__list[hidden] { display: none; }
.filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters__price .input { height: 44px; font-size: 14px; }
.filters__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.filters__clear { font-size: 14px; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; }
.filters__clear:hover { color: var(--graphite); }
.filters__apply { display: none; }

/* ---------- Product page ---------- */

.back { display: inline-flex; align-items: center; gap: 10px; padding-top: 20px; font-size: 14px; color: var(--stone); }
.back::before {
  content: '';
  width: 14px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url('../assets/icons/arrow.svg') center / contain no-repeat;
  mask: url('../assets/icons/arrow.svg') center / contain no-repeat;
  transform: rotate(180deg);
  transition: transform .25s var(--ease);
}
.back:hover { color: var(--graphite); }
.back:hover::before { transform: rotate(180deg) translateX(4px); }

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  padding-top: 24px;
}
.product__media {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--porcelain);
}
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.product__media img.is-crop { inset: auto; left: var(--l); top: var(--t); width: var(--w); height: auto; max-width: none; }
.product__info { display: flex; flex-direction: column; align-items: stretch; padding-top: clamp(0px, 2vw, 32px); }
.product__brand { align-self: flex-start; color: var(--olive); }
.product__brand:hover { color: var(--graphite); }
.product__title { margin-top: 14px; }
.product__lead { margin-top: 16px; font-size: 18px; color: var(--stone); }
.product__info .price { margin-top: 28px; }
.product__option { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.chip span:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.chip input:checked + span { background: var(--graphite); color: var(--white); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.product__buy { display: flex; gap: 10px; margin-top: 28px; }
.product__buy .btn { flex: 1; min-height: 56px; font-size: 16px; }
.product__fav { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow .2s ease; }
.product__fav:hover { box-shadow: inset 0 0 0 1px var(--sage); }
.product__fav img { width: 22px; height: 20px; }
.product__facts { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--porcelain); font-size: 14px; }
.product__facts li { display: flex; justify-content: space-between; gap: 16px; }
.product__facts li span:first-child { color: var(--stone); }
.product__facts li span:last-child { text-align: right; }
.product__details { margin-top: 28px; border-top: 1px solid var(--hairline); }
.details { border-bottom: 1px solid var(--hairline); }
.details summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-weight: 600; cursor: pointer; list-style: none; }
.details summary::-webkit-details-marker { display: none; }
.details summary img { width: 11px; height: 6px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.details[open] summary img { transform: none; }
.details p { padding-bottom: 22px; color: #45463d; line-height: 1.65; }

/* ---------- Brands ---------- */

.brands-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; padding: clamp(24px, 2.6vw, 44px) 0 clamp(36px, 4vw, 64px); }
.brands-intro p { max-width: 580px; font-size: 18px; color: var(--stone); }
.brands-intro__motto { margin-top: 16px; font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 26px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--olive) !important; }

.strips { display: flex; flex-direction: column; gap: 12px; }
.strip {
  --open-h: clamp(300px, 26vw, 460px);
  position: relative;
  height: 104px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  isolation: isolate;
  transition: height .6s var(--ease);
}
.strip.is-open { height: var(--open-h); }
.strip--dark { color: var(--olive); }
.strip__bg { position: absolute; left: 0; right: 0; top: 0; height: var(--open-h); z-index: -1; overflow: hidden; }
.strip__bg img { position: absolute; left: var(--l); top: var(--t); width: var(--w); max-width: none; height: auto; }
.strip__head { position: absolute; inset: 0 0 auto 0; height: 104px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; text-align: left; }
.strip__name { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.strip__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .4s var(--ease); }
.strip--dark .strip__icon { background: rgba(66, 69, 50, .1); }
.strip__icon img { width: 14px; height: 14px; }
.strip.is-open .strip__icon { transform: rotate(45deg); }
.strip__foot { position: absolute; left: 32px; bottom: 28px; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease); }
.strip.is-open .strip__foot { opacity: 1; transform: none; transition-delay: .15s; }
.strip--dark .strip__foot .btn { background: var(--olive); color: var(--white); }

/* ---------- Brand page ---------- */

.brand-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.brand-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brand-gallery > div { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--porcelain); aspect-ratio: 1 / .78; }
.brand-gallery > div:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.brand-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-gallery img.is-crop { inset: auto; left: var(--l); top: var(--t); width: var(--w); height: auto; max-width: none; }
.brand-text { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.65; color: #45463d; }
.brand-text p:first-child { font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--graphite); }

/* ---------- Cart ---------- */

.cart { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 4vw, 80px); align-items: start; }
.cart__bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.cart__aside { position: sticky; top: calc(var(--header-h) + 16px); }

/* ---------- Checkout ---------- */

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(32px, 4vw, 80px); align-items: start; }
.checkout__form { display: flex; flex-direction: column; gap: 16px; }
.step { margin: 0; padding: 32px; border: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--hairline); }
.step__title { float: left; width: 100%; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lichen); color: var(--olive); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.step__title + * { clear: both; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option__card { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 18px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow .2s ease, background-color .2s ease; }
.option:hover .option__card { box-shadow: inset 0 0 0 1px var(--sage); }
.option input:checked + .option__card { box-shadow: inset 0 0 0 2px var(--olive); background: #f7f8f3; }
.option input:focus-visible + .option__card { outline: 2px solid var(--sage); outline-offset: 2px; }
.option__radio { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c3c5bd; transition: box-shadow .2s ease; }
.option input:checked + .option__card .option__radio { box-shadow: inset 0 0 0 6px var(--olive); }
.option__text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.option__name { font-size: 15px; font-weight: 600; }
.option__note { font-size: 13px; line-height: 1.4; color: var(--stone); }
.option__icon { width: 24px; height: 24px; object-fit: contain; }
.option__icon--sbp { height: 30px; }

.checkout__submit { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.checkout__submit .btn { min-height: 58px; font-size: 16px; }
.form-error { min-height: 20px; font-size: 14px; }
.checkout__aside { position: sticky; top: calc(var(--header-h) + 16px); }
.order__items { display: flex; flex-direction: column; max-height: 380px; margin-right: -8px; padding-right: 8px; overflow-y: auto; }
.order__empty { font-size: 15px; color: rgba(255, 255, 255, .75); }
.order__empty a { color: var(--white); }

/* ---------- Concept notice ---------- */

.concept-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding: 9px var(--gutter);
  background: var(--olive);
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.concept-bar p { display: flex; align-items: center; gap: 12px; margin: 0; }
.concept-bar__tag {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--olive);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.concept-bar__more { color: var(--white); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; opacity: .85; }
.concept-bar__more:hover { opacity: 1; }

.dev-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .2s ease; }
.dev-link:hover { opacity: .75; }
.modal--concept .close-btn { position: static; }
.modal--concept { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 44px; }
.concept__tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--lichen); color: var(--olive); }
.modal--concept .modal__title { margin-top: 16px; font-size: clamp(26px, 3vw, 36px); }
.modal--concept .modal__text { max-width: none; margin-top: 16px; color: var(--graphite); }
.modal--concept .modal__text strong { font-weight: 600; }
.concept__list { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--stone); font-size: 15px; }
.concept__list li { position: relative; padding-left: 22px; }
.concept__list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.modal--concept .concept__cta { margin-top: 22px; font-weight: 500; }
.concept__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal--concept .btn { margin-top: 0; }
.concept__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -8px -8px 18px 0; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--porcelain); }
.lang-switch button {
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background-color .2s ease, color .2s ease;
}
.lang-switch button:hover { color: var(--graphite); }
.lang-switch button.is-active { background: var(--olive); color: var(--white); }
.concept-bar__actions { display: inline-flex; align-items: center; gap: 14px; }
.lang-switch--bar { padding: 2px; background: rgba(255, 255, 255, .14); }
.lang-switch--bar button { min-width: 0; height: 22px; padding: 0 9px; color: rgba(255, 255, 255, .8); font-size: 11px; }
.lang-switch--bar button:hover { color: var(--white); }
.lang-switch--bar button.is-active { background: var(--white); color: var(--olive); }

/* ---------- Motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1440px) {
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .header__nav { display: none; }
  .search { width: 220px; }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-products--row > :nth-child(n + 4) { display: none; }
  .catalog { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
  .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart, .checkout { grid-template-columns: minmax(0, 1fr) 380px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-card { width: 340px; grid-template-columns: 96px 1fr; }
}

@media (max-width: 1023px) {
  :root { --gutter: 24px; --gap: 16px; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog__filters-btn { display: inline-flex; }
  .filters-panel {
    position: fixed;
    top: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 101;
    width: min(400px, calc(100vw - 24px));
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
    transform: translateX(calc(-100% - 24px));
    transition: transform .45s var(--ease);
  }
  .filters-panel.is-open { transform: none; }
  .filters { height: 100%; }
  .filters__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px 24px; }
  .filters__scroll { flex: 1; overflow-y: auto; padding: 0 24px; }
  .filters__actions { padding: 16px 24px 24px; border-top: 1px solid var(--hairline); }
  .filters__apply { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .product__media { position: relative; top: 0; aspect-ratio: 4 / 3.4; }
  .brand-intro, .brands-intro { grid-template-columns: 1fr; }
  .cart, .checkout { grid-template-columns: 1fr; }
  .cart__aside, .checkout__aside { position: static; }
  .checkout__aside { order: -1; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections > :nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .subscribe__panel { grid-template-columns: 1fr; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero-card { width: 100%; max-width: 420px; align-self: flex-end; }
  .hero__photo { width: 100%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(231, 231, 226, .92) 0%, rgba(231, 231, 226, 0) 34%),
      linear-gradient(0deg, rgba(40, 42, 30, .5) 0%, rgba(40, 42, 30, 0) 55%);
  }
  .hero__lead { color: var(--white); }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --gap: 12px; --header-h: 64px; }

  .header { grid-template-columns: auto 1fr auto; gap: 8px; }
  .header__logo { justify-self: center; }
  .header__logo img { width: 124px; }
  .header__right { gap: 0; }
  .header__right > .search { display: none; }
  .header__search-toggle { display: grid; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn img { width: 22px; height: 21px; }

  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .page-head { flex-wrap: wrap; align-items: center; }

  .grid-products, .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
  .grid-products--row > :nth-child(n + 4) { display: flex; }
  .card__media { border-radius: 12px; }
  .card__fav { top: 8px; right: 8px; width: 34px; height: 34px; opacity: 1; transform: none; }
  .card__fav img { width: 16px; height: 14px; }
  .badge { top: 10px; left: 10px; padding: 5px 8px; font-size: 10px; }
  .card__body { gap: 4px; padding-top: 12px; }
  .card__title { font-size: 14px; }
  .card__sub { font-size: 12px; }
  .card__foot { padding-top: 10px; }
  .price__now { font-size: 16px; }
  .price__old { font-size: 12px; }
  .card__add { width: 38px; height: 38px; }
  .card__add img { width: 17px; height: 17px; }

  .hero { height: calc(100svh - var(--header-h) - 16px); min-height: 620px; max-height: 780px; border-radius: 20px; }
  .hero__photo { object-position: 62% 30%; }
  .hero__tag.label { font-size: 10px; letter-spacing: .1em; }
  .hero__brand { left: 16px; right: 16px; top: 18px; gap: 10px; }
  .hero__bottom { left: 12px; right: 12px; bottom: 12px; gap: 16px; }
  .hero__intro { padding: 0 4px; }
  .hero__lead { font-size: 15px; }
  .hero__actions .btn { flex: 1; }
  .hero-card { max-width: none; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px; }
  .hero-card__title { font-size: 14px; }

  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .brand-tiles { grid-template-columns: 1fr; }
  .brand-tile { height: 200px; border-radius: 20px; }
  .brand-tile__foot { padding: 20px; }
  .about { border-radius: 20px; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .about__facts > div:last-child { grid-column: 1 / -1; }
  .collections { grid-template-columns: 1fr; }
  .collection, .collections > :nth-child(3) { aspect-ratio: 4 / 3.4; border-radius: 20px; }
  .collection__body { left: 20px; right: 20px; bottom: 20px; }
  .subscribe__panel { border-radius: 20px; }
  .subscribe__row { flex-direction: column; padding: 8px; border-radius: 20px; }
  .subscribe__row input { height: 48px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-top: 48px; }
  .footer__col--contacts, .footer__side { grid-column: 1 / -1; }
  .footer__logo { margin-top: 48px; }
  .footer__bottom { flex-direction: column; }

  .drawer { top: 8px; bottom: 8px; width: calc(100vw - 16px); }
  .menu { left: 8px; }
  .fav { right: 8px; }
  .drawer__head { padding: 16px 16px 12px 20px; }
  .drawer__body { padding: 0 20px 20px; }
  .drawer__foot { padding: 16px 20px 20px; }

  .line { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .line__img { width: 84px; height: 92px; }
  .line__side { grid-column: 2; flex-direction: row; align-items: center; }
  .line__title { font-size: 15px; }
  .line--dark { grid-template-columns: 64px minmax(0, 1fr); }
  .line--dark .line__img { width: 64px; height: 70px; }

  .summary { padding: 24px; border-radius: 20px; }
  .step { padding: 20px; border-radius: 20px; }
  .fields { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .product__buy { flex-wrap: wrap; }
  .product__buy .btn { flex: 1 1 100%; order: 3; }
  .product__buy .qty { flex: 1; justify-content: space-between; }

  .strip { --open-h: 260px; height: 80px; border-radius: 20px; }
  .strip__head { height: 80px; padding: 0 20px; }
  .strip__foot { left: 20px; bottom: 20px; }

  .modal { padding: 32px 24px; }
  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; transform: translateY(16px); }
  .toast.is-visible { transform: none; }
}

@media (max-width: 767px) {
  .concept-bar { padding: 8px 16px; font-size: 12px; justify-content: space-between; text-align: left; }
  .concept-bar__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .modal--concept { padding: 28px 22px; }
  .concept__actions .btn { flex: 1 1 100%; }
}

/* ---------- Language switch placement, long Russian toasts ---------- */
.lang-switch--menu { align-self: flex-start; }
.toast { width: max-content; max-width: min(560px, calc(100vw - 32px)); }
@media (max-width: 767px) {
  .toast { width: auto; max-width: none; }
}
