/* =========================================================
   Палитра сайта: бирюзовый (из папки color), чёрный, белый.
   ========================================================= */
:root {
  --accent: #05C0C7;
  --accent-dark: #039aa0;
  --black: #0b0b0b;
  --white: #ffffff;
  --ink-70: rgba(11, 11, 11, .7);
  --ink-50: rgba(11, 11, 11, .5);
  --ink-12: rgba(11, 11, 11, .12);
  --ink-05: rgba(11, 11, 11, .04);
  --soft: #f4fbfb;           /* очень светлый оттенок бирюзового для фоновых секций */
  --radius: 14px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(11, 11, 11, .08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-variant-numeric: lining-nums; font-family: var(--sans); color: var(--black); background: var(--white); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- типографика ---------- */
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 28px; letter-spacing: .01em; text-transform: uppercase; }
.h2--light { color: var(--white); }
.kicker { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.lead { max-width: 640px; color: var(--ink-70); margin: -12px 0 32px; }

/* сворачиваемый блок (палитра) */
.collapse__title { margin-bottom: 0; }
.collapse__btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; }
.collapse__icon { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--black); transition: background .2s, border-color .2s, transform .35s; }
.collapse__icon::before { content: ''; position: absolute; left: 50%; top: 45%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.collapse__btn:hover .collapse__icon { background: var(--accent); border-color: var(--accent); color: var(--white); }
.collapse.is-open .collapse__icon { transform: rotate(180deg); }
.collapse__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.collapse.is-open .collapse__body { grid-template-rows: 1fr; }
.collapse__inner { overflow: hidden; min-height: 0; }
.collapse__inner .lead { margin: 20px 0 32px; }
.collapse:not(.is-open) .collapse__inner { visibility: hidden; transition: visibility 0s .4s; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .15s; border: 1.5px solid transparent; }
.btn:active { transform: scale(.97); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover, .btn--black.is-done { background: var(--accent); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--black); }
.btn--outline { border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- верхняя полоса ---------- */
.topbar { background: var(--black); color: rgba(255, 255, 255, .8); font-size: 12px; }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 40px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone svg { width: 14px; height: 14px; fill: var(--accent); stroke: none; }
.topbar__nav { display: flex; gap: 28px; margin-left: auto; }
.topbar__nav a:hover, .topbar__phone:hover { color: var(--accent); }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 2px; }
.lang button { padding: 3px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.lang button.is-active { background: var(--accent); color: var(--white); }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-12); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.header__left, .header__right { display: flex; align-items: center; gap: 18px; }
.header__right { justify-content: flex-end; }
.icon-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--ink-05); color: var(--accent); }
.icon-btn svg { width: 22px; height: 22px; }
.catalog-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.catalog-link:hover { color: var(--accent); }
.burger { display: grid; gap: 4px; width: 20px; }
.burger i { height: 1.6px; background: currentColor; border-radius: 2px; }
.burger i:nth-child(2) { width: 70%; }
.logo { display: flex; align-items: center; gap: 14px; line-height: 1; }
.logo__img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.logo__text { display: flex; flex-direction: column; align-items: flex-start; }
.logo__main { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 32px); letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; }
.logo__sub { margin-top: 6px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.logo--light { align-items: flex-start; color: var(--white); }
.logo--light .logo__main { padding-left: 0; font-size: 24px; }
.logo--light .logo__img { width: 72px; height: 72px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 8px; border-radius: 999px; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn:hover { color: var(--accent); }
.cart-btn__count { position: absolute; top: 2px; left: 20px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--black); color: var(--white); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; transform: scale(0); transition: transform .2s; }
.cart-btn__count.is-on { transform: scale(1); background: var(--accent); }
.cart-btn__sum { font-size: 14px; font-weight: 600; }
.searchbar { max-height: 0; overflow: hidden; transition: max-height .25s; border-top: 1px solid transparent; }
.searchbar.is-open { max-height: 80px; border-top-color: var(--ink-12); }
.searchbar input { width: 100%; height: 56px; border: 0; outline: 0; background: transparent; font-size: 16px; }

/* ---------- слайдер ---------- */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__track { position: relative; height: clamp(440px, 62vh, 620px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { position: absolute; inset: 0 42% 0 0; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.slide__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, var(--black) 0%, rgba(11, 11, 11, .55) 30%, rgba(11, 11, 11, 0) 65%); }
/* слайд «фото на фоне логотипа» */
.slide__media--brand { background: var(--black); overflow: hidden; }
/* фон слайда не растягивается больше своего размера: по высоте баннера, правый край растворяется в чёрном */
.slide__media--brand .brand__bg { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.slide__media--brand img { object-fit: contain; }
.slide__media--brand::after { background: linear-gradient(270deg, var(--black) 0%, rgba(11, 11, 11, 0) 22%); }
.slide__media--brand .brand__logo { position: absolute; top: 5%; right: 6%; width: auto; height: 74%; aspect-ratio: 1; }
.slide__media--brand .brand__photo { position: absolute; bottom: 0; left: 2%; width: auto; height: 94%; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .6)); }
@media (min-width: 861px) and (max-width: 1180px) {
  .slide__media--brand .brand__logo { top: 10%; right: 4%; height: 52%; }
  .slide__media--brand .brand__photo { height: 86%; }
  .slide__title { font-size: 5.4vw; }
}
/* слайд с вертикальным видео */
.slide__media--video { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 45% 50%, rgba(5, 192, 199, .32), rgba(5, 192, 199, 0) 55%), var(--black); }
.slide__media--video::after { background: linear-gradient(270deg, var(--black) 0%, rgba(11, 11, 11, 0) 30%); }
.slide__media--video video { height: 88%; width: auto; aspect-ratio: 2 / 3; max-width: 80%; border-radius: 22px; object-fit: cover; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
/* слайд с фото: фото целиком в рамке, без обрезки и растяжения больше своего размера */
.slide__media--photo { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 45% 50%, rgba(5, 192, 199, .32), rgba(5, 192, 199, 0) 55%), var(--black); }
.slide__media--photo::after { background: linear-gradient(270deg, var(--black) 0%, rgba(11, 11, 11, 0) 30%); }
.slide__media.slide__media--photo img { width: auto; height: 88%; max-width: 88%; object-fit: contain; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.slide--wide .slide__media.slide__media--photo img { width: 88%; height: auto; max-height: 88%; }
.slide__in { position: relative; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.slide__text { max-width: min(520px, 40vw); }
.slide__title { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 7vw, 86px); line-height: 1; margin: 0 0 20px; text-transform: uppercase; }
.slide.is-active .slide__text > * { animation: rise .8s both; }
.slide.is-active .slide__text > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__text > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__text > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.slide__sub { color: rgba(255, 255, 255, .78); margin: 0 0 32px; font-size: 16px; max-width: 420px; }
.hero__nav { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.hero__arrow svg { width: 40px; height: 12px; stroke-width: 1.2; }
.hero__arrow { color: rgba(255, 255, 255, .7); }
.hero__arrow:hover { color: var(--accent); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background .2s, transform .2s; }
.hero__dots button.is-active { background: var(--accent); transform: scale(1.3); }
.hero__count { margin-left: 0; font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }

/* ---------- секции ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }

/* ---------- вкладки и ряд товаров ---------- */
.tabs { display: flex; gap: 40px; margin-bottom: 32px; border-bottom: 1px solid var(--ink-12); overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; padding: 0 0 16px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); white-space: nowrap; }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.tab.is-active { color: var(--black); }
.tab.is-active::after { transform: scaleX(1); }
.slider-row { position: relative; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row-arrow { position: absolute; top: 34%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); font-size: 26px; line-height: 1; }
.row-arrow:hover { background: var(--accent); color: var(--white); }
.row-arrow[data-row="-1"] { left: -18px; }
.row-arrow[data-row="1"] { right: -18px; }

/* ---------- карточка ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--ink-12); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.card__img { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--white); padding: 18px; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.badge--accent { background: var(--accent); color: var(--white); }
.badge--black { background: var(--black); color: var(--white); }
.badge--outline { background: var(--white); border: 1px solid var(--black); }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; border-top: 1px solid var(--ink-05); }
.card__name { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.card__name:hover { color: var(--accent); }
.card__desc { margin: 0; font-size: 13px; color: var(--ink-70); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__base { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-70); }
.card__base .ic { width: 30px; height: 30px; }
.pm__props .ic { width: 26px; height: 26px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--ink-50); }
.price--req { font-size: 13px; font-weight: 600; color: var(--ink-70); white-space: normal; }
.price--big { font-size: 28px; }
.vols { display: flex; gap: 6px; flex-wrap: wrap; }
.vol { height: 28px; padding: 0 12px; border: 1px solid var(--ink-12); border-radius: 999px; font-size: 12px; font-weight: 500; }
.vol:hover { border-color: var(--black); }
.vol.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.ic { width: 22px; height: 22px; flex: none; object-fit: contain; display: inline-block; }

/* ---------- категории ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 14px; background: var(--white); border-radius: var(--radius); transition: box-shadow .25s, transform .25s; }
.cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat__img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 16px; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; }
.cat__name { font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.cat__count { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 4px; }

/* ---------- фильтры каталога ---------- */
.filters { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--sub { margin-top: 12px; }
.chips--sub:empty { display: none; }
.chip { height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink-12); font-size: 13px; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.chip--sub { height: 34px; padding: 0 16px; font-size: 12px; font-weight: 500; }
.chip--sub.is-active { background: var(--accent); border-color: var(--accent); }
.filters__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-12); font-size: 13px; color: var(--ink-70); }
.vat { color: var(--accent-dark); font-weight: 600; font-size: 12px; }
.vat--block { display: block; margin-top: 2px; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort select { border: 0; background: transparent; font-weight: 600; color: var(--black); cursor: pointer; outline: none; }
.more { display: flex; justify-content: center; margin-top: 40px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--ink-50); padding: 40px 0; }

/* ---------- о пигментах ---------- */
.about { background: var(--black); color: rgba(255, 255, 255, .8); overflow: hidden; }
.about__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about__img { align-self: stretch; position: relative; min-height: 460px; margin-left: -24px; }
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.about__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--black)); }
.about__text { padding: 80px 0; }
.about__text p { max-width: 520px; }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stats li { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; font-size: 13px; }
.stats b { display: block; white-space: nowrap; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 500; color: var(--accent); line-height: 1; margin-bottom: 8px; }

/* ---------- сотрудничество ---------- */

/* ---------- доставка ---------- */
.info3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info3 > div { background: var(--white); border-radius: var(--radius); padding: 28px; }
.info3 h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.info3 h3::before { content: ''; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 16px; border-radius: 2px; }
.info3 p { margin: 0; color: var(--ink-70); }

/* ---------- сертификаты ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.cert__img { display: block; aspect-ratio: 1 / 1.414; border: 1px solid var(--ink-12); border-radius: 10px; overflow: hidden; background: var(--white); transition: box-shadow .25s, transform .25s, border-color .25s; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert:hover .cert__img { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent); }
.cert__cap { font-size: 13px; font-weight: 500; }

/* ---------- подвал ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .7); padding: 64px 0 24px; font-size: 14px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(5, 192, 199, .45); transition: transform .2s, background .2s; }
.wa-float:hover { transform: scale(1.08); background: var(--black); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- модалки ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 60; background: rgba(11, 11, 11, .55); opacity: 0; transition: opacity .2s; }
.modal { display: grid; place-items: center; padding: 24px; overflow-y: auto; }
.modal.is-open, .drawer.is-open { opacity: 1; }
.modal--dark { background: rgba(11, 11, 11, .92); }
.modal__box { position: relative; background: var(--white); border-radius: 20px; width: 100%; max-width: 1000px; max-height: calc(100vh - 48px); overflow-y: auto; transform: translateY(16px); transition: transform .25s; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; background: var(--white); }
.modal__close:hover { background: var(--black); color: var(--white); }
.modal__close--light { position: fixed; top: 20px; right: 20px; }
.pm { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm__img { position: relative; padding: 40px; display: grid; place-items: center; border-right: 1px solid var(--ink-12); }
.pm__img img { max-height: 460px; width: 100%; object-fit: contain; }
.pm__info { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.pm__info .kicker { margin: 0; }
.pm__title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; margin: 0; }
.pm__desc { margin: 0; color: var(--ink-70); }
.pm__props { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 14px; padding: 16px 0; border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12); }
.pm__props dt { color: var(--ink-50); }
.pm__props dd { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.pm__info h4 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.shades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; }
.shades li { display: flex; align-items: center; gap: 8px; }
.shades em { font-style: normal; color: var(--ink-50); font-size: 12px; margin-left: auto; }
.pm__inci summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.pm__inci p { font-size: 12px; color: var(--ink-70); margin: 8px 0 0; }
.pm__row { display: flex; align-items: center; gap: 16px; }
.pm__label { font-size: 13px; color: var(--ink-50); min-width: 90px; }
.pm__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-12); border-radius: 999px; height: 40px; }
.qty button { width: 38px; height: 100%; font-size: 18px; }
.qty button:hover { color: var(--accent); }
.qty input { width: 40px; border: 0; text-align: center; outline: 0; background: transparent; }
.qty--sm { height: 30px; align-self: flex-start; }
.qty--sm button { width: 30px; font-size: 15px; }
.qty--sm span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }

/* ---------- просмотр документа ---------- */
.lightbox { margin: 0; max-width: 900px; width: 100%; text-align: center; color: rgba(255, 255, 255, .8); }
.lightbox img { margin: 0 auto; max-height: calc(100vh - 110px); width: auto; border-radius: 8px; background: var(--white); }
.lightbox figcaption { margin-top: 14px; font-size: 14px; }

/* ---------- корзина ---------- */
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { position: relative; display: flex; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--ink-12); }
.drawer__head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; text-transform: uppercase; letter-spacing: .04em; }
.drawer__head .modal__close { top: 14px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ink-05); }
.ci img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--ink-12); border-radius: 10px; padding: 4px; }
.ci__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ci__info b { font-weight: 600; line-height: 1.3; }
.ci__info > span { color: var(--ink-50); }
.ci__del { width: 30px; height: 30px; border-radius: 50%; font-size: 20px; color: var(--ink-50); }
.ci__del:hover { background: var(--ink-05); color: var(--black); }
.drawer__form { display: grid; gap: 10px; padding: 18px 24px 24px; border-top: 1px solid var(--ink-12); background: var(--soft); }
.drawer__form[hidden] { display: none; }
.drawer__form input, .drawer__form textarea { width: 100%; border: 1px solid var(--ink-12); border-radius: 10px; padding: 11px 14px; background: var(--white); outline: none; resize: vertical; }
.drawer__form input:focus, .drawer__form textarea:focus { border-color: var(--accent); }
.drawer__sums { display: grid; gap: 4px; font-size: 13px; color: var(--ink-70); }
.drawer__sums > div { display: flex; justify-content: space-between; }
.drawer__total { padding-top: 8px; border-top: 1px solid var(--ink-12); display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin-bottom: 4px; }
.drawer__total b { font-size: 24px; }
.drawer__note { margin: 0; font-size: 11px; color: var(--ink-50); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); background: var(--black); color: var(--white); padding: 12px 22px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .grid, .certs { grid-template-columns: repeat(3, 1fr); }
  .row { grid-auto-columns: calc((100% - 48px) / 3); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar__nav { display: none; }
  .topbar__in { justify-content: space-between; }
  .catalog-link span:last-child, .cart-btn__sum { display: none; }
  .about__in { grid-template-columns: 1fr; gap: 32px; }
  .about__img { min-height: 380px; margin: 0 -24px; }
  .about__img::after { background: linear-gradient(180deg, transparent 60%, var(--black)); }
  .about__text { padding: 0 0 64px; }
  .pm { grid-template-columns: 1fr; }
  .pm__img { border-right: 0; border-bottom: 1px solid var(--ink-12); padding: 28px; }
  .pm__img img { max-height: 280px; }
  .pm__info { padding: 24px; }
  .slide__media { inset: 0; }
  .hero__track { height: 700px; }
  .slide--brand .slide__media, .slide--video .slide__media, .slide__media.slide__media--photo { bottom: 350px; }
  .slide__media--brand .brand__logo { top: 6%; left: 3%; right: auto; height: 50%; }
  .slide__media--brand .brand__photo { height: 96%; bottom: 0; left: auto; right: 0; }
  .slide__media--video video { height: 94%; }
  .slide__media.slide__media--photo img { height: 86%; align-self: flex-start; margin-top: 3%; }
  .slide--wide .slide__media.slide__media--photo img { height: auto; width: 94%; }
  .slide__media { bottom: 200px; }
  .slide__media::after { background: linear-gradient(0deg, var(--black) 0%, rgba(11, 11, 11, .6) 25%, rgba(11, 11, 11, 0) 55%); }
  .slide__in { align-items: flex-end; justify-content: flex-start; padding-bottom: 92px; }
  .slide__text { max-width: none; }
  .hero__nav { justify-content: flex-start; }
  .hero__count { margin-left: auto; }
  .slide__sub { margin-bottom: 20px; font-size: 14px; }
  .info3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .slide__in { padding-bottom: 92px; }
  .section { padding: 56px 0; }
  .grid, .certs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .row { grid-auto-columns: 62%; gap: 12px; }
  .row-arrow { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .header__in { height: 64px; }
  .header__left, .header__right { gap: 4px; }
  .logo__main { letter-spacing: .14em; padding-left: .14em; font-size: 18px; }
  .logo__sub { font-size: 8px; letter-spacing: .2em; }
  .logo { gap: 8px; }
  .logo__img { width: 40px; height: 40px; }
  .card__img { padding: 10px; }
  .card__body { padding: 12px; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .btn { width: 100%; }
  .price { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .about__img { margin: 0 -16px; }
  .filters__bar { flex-direction: column; align-items: flex-start; }
  .tabs { gap: 24px; }
  .tab { font-size: 13px; }
  .footer__in { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .shades { grid-template-columns: 1fr; }
}
