:root {
  --ink: #40383a;
  --muted: #756c6f;
  --paper: #fffdfb;
  --white: #ffffff;
  --pink-soft: #f8e2ea;
  --pink: #efbfd0;
  --pink-accent: #db6f98;
  --blue-soft: #e5f3f8;
  --blue: #c8e8f2;
  --blue-accent: #5d9db4;
  --line: rgba(64, 56, 58, .14);
  --shadow: 0 14px 40px rgba(93, 67, 76, .09);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.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; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; width: min(100%, var(--max)); height: 76px; margin: auto; padding: 9px 28px; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 253, 251, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header--inner { position: relative; }
.brand { display: flex; align-items: center; width: 170px; }
.brand img { width: 100%; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.main-nav a { opacity: .7; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.menu-toggle { display: none; padding: 10px 0 10px 12px; border: 0; background: none; }
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 1px; margin: 7px 0; background: currentColor; }
.back-link { font-size: 13px; font-weight: 600; }

.hero { position: relative; width: min(100%, var(--max)); min-height: 590px; margin: 0 auto; padding-top: 76px; display: grid; grid-template-columns: .96fr 1.04fr; background: var(--pink-soft); overflow: hidden; }
.hero-copy { align-self: center; padding: 48px 48px 54px; }
.eyebrow, .section-kicker { margin: 0 0 18px; text-transform: uppercase; font-size: 11px; letter-spacing: .23em; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(64, 56, 58, .64); }
.eyebrow span { width: 30px; height: 1px; background: var(--pink-accent); }
.hero h1, h2, .catalog-card h3, .detail-content h1 { font-family: "Prata", Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.hero h1 { max-width: 560px; margin: 0; font-size: clamp(43px, 5vw, 66px); }
.hero h1 i { color: #c5537e; font-style: normal; }
.hero-lead { max-width: 480px; margin: 24px 0 28px; color: var(--muted); font-size: 16px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(219, 111, 152, .2); }
.button-primary { background: var(--pink-accent); color: #fff; }
.hero-visual { min-height: 514px; overflow: hidden; background: #fff; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

.manifesto { width: min(100%, var(--max)); margin: auto; padding: 70px 28px; display: grid; grid-template-columns: 145px minmax(350px, 1.45fr) minmax(255px, .75fr); gap: 38px; align-items: start; }
.section-kicker { color: var(--pink-accent); }
.manifesto h2, .catalog-heading h2, .partners h2 { margin: 0; font-size: clamp(38px, 4vw, 57px); }
.manifesto-copy { padding-top: 38px; font-size: 15px; }
.manifesto-copy p { margin: 0 0 16px; }
.manifesto-copy p:last-child { font-weight: 600; }

.catalog { padding: 66px 24px 74px; background: #fff; }
.catalog-heading, .catalog-filters, .catalog-grid { width: min(100%, 1120px); margin-right: auto; margin-left: auto; }
.catalog-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: end; }
.catalog-heading > p { max-width: 395px; margin: 0 0 5px auto; color: var(--muted); font-size: 14px; }
.catalog-filters { margin-top: 26px; display: flex; gap: 8px; }
.filter-button { min-height: 35px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 12px; }
.filter-button.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }
.catalog-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.catalog-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.catalog-card[hidden] { display: none; }
.catalog-card-link { display: block; }
.catalog-carousel { position: relative; }
.brand-badge { position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.catalog-card-body { min-height: 190px; padding: 22px 22px 18px; }
.catalog-meta { margin: 0 0 8px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.catalog-card h3 { margin: 0; font-size: clamp(27px, 3vw, 38px); }
.catalog-card-body > p:not(.catalog-meta) { margin: 12px 0; color: var(--muted); font-size: 14px; }
.details-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 2px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.card-buy { padding: 15px 22px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); }
.card-buy > p { margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.market-squares { display: flex; gap: 7px; }
.market-square { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(64, 56, 58, .12); border-radius: 12px; background: #fff; color: #fff; transition: transform .2s, box-shadow .2s; }
.market-square:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(64, 56, 58, .16); }
.market-square img { display: block; object-fit: contain; }
.market-square--wb img, .market-square--ozon img { width: 100%; height: 100%; transform: scale(2.55); }
.market-square--yandex img { width: 34px; height: 34px; }
.market-squares--detail { gap: 10px; }

.partners { width: min(100%, 1000px); margin: auto; padding: 72px 24px; display: grid; grid-template-columns: minmax(260px, 390px) minmax(320px, 1fr); gap: 60px; align-items: center; }
.partners-media { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: var(--pink-soft); }
.partners-media img { width: 100%; height: 100%; object-fit: cover; }
.partners-content { max-width: 500px; }
.partners-content > p:not(.section-kicker) { max-width: 450px; margin: 22px 0 27px; color: var(--muted); }
.partners-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-whatsapp { border: 1px solid rgba(31, 169, 88, .35); background: #fff; color: #198d4b; }
.button-whatsapp:hover { box-shadow: 0 8px 20px rgba(31, 169, 88, .14); }
.button-whatsapp sup { position: relative; top: -.22em; margin-left: -7px; font-size: .8em; }

.footer { padding: 40px max(24px, calc((100vw - 1120px) / 2)) 22px; color: var(--ink); background: var(--pink-soft); }
.footer-brand { width: 175px; }
.footer-brand img { width: 100%; height: auto; mix-blend-mode: multiply; }
.footer-links { max-width: 650px; margin: 30px 0 35px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.footer-links div { display: grid; gap: 7px; }
.footer-links span { margin-bottom: 5px; color: rgba(64, 56, 58, .5); text-transform: uppercase; font-size: 10px; letter-spacing: .18em; }
.footer-links a { width: fit-content; color: rgba(64, 56, 58, .78); }
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: rgba(64, 56, 58, .58); font-size: 11px; }
.footer-bottom p { margin: 0; }
.legal-note { max-width: 980px; margin: 14px 0 0; color: rgba(64, 56, 58, .5); font-size: 10px; line-height: 1.45; }
.footer--compact { margin-top: 56px; padding-top: 20px; background: rgba(255, 255, 255, .6); }

.product-body--primer { background: #f2f9fb; }
.product-body--lip { background: #fff7fa; }
.product-page { width: min(calc(100% - 48px), 1120px); margin: 0 auto; padding-top: 26px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--ink); }
.product-detail { margin-top: 20px; display: grid; grid-template-columns: minmax(360px, 500px) minmax(330px, 470px); gap: 60px; align-items: start; justify-content: space-between; }
.detail-gallery { min-width: 0; }
.carousel-viewport { width: 100%; aspect-ratio: 3 / 4; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 18px 18px 0 0; }
.product-detail--primer .carousel-viewport { background: var(--blue-soft); }
.product-detail--lip .carousel-viewport { background: var(--pink-soft); }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { height: 100%; display: flex; }
.carousel-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .carousel-slide img { object-fit: contain; }
.carousel-controls { height: 48px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; background: #fff; }
.carousel-button { height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 19px; }
.carousel-button:hover { background: rgba(64, 56, 58, .04); }
.carousel-counter { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.catalog-carousel .carousel-viewport { aspect-ratio: 1 / 1; border-radius: 0; cursor: grab; }
.catalog-carousel .carousel-viewport:active { cursor: grabbing; }
.catalog-card--primer .catalog-carousel .carousel-viewport { background: var(--blue-soft); }
.catalog-card--lip .catalog-carousel .carousel-viewport { background: var(--pink-soft); }
.catalog-carousel .carousel-slide { padding: 10px; }
.catalog-carousel .carousel-slide img { object-fit: contain; }
.catalog-carousel .carousel-controls { height: 42px; border-right: 0; border-left: 0; border-radius: 0; }
.catalog-carousel .carousel-button { touch-action: manipulation; }
.detail-content { padding-top: 10px; }
.product-type { margin: 0 0 12px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; }
.detail-content h1 { margin: 0; font-size: clamp(40px, 4.5vw, 60px); }
.detail-lead { margin: 22px 0; color: var(--muted); font-size: 15px; }
.detail-points { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.detail-points li { padding: 11px 0 11px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-points li::before { content: "•"; position: absolute; left: 4px; top: 10px; }
.product-detail--primer .detail-points li::before, .product-detail--primer .product-type { color: var(--blue-accent); }
.product-detail--lip .detail-points li::before, .product-detail--lip .product-type { color: var(--pink-accent); }
.detail-buy h2 { margin: 0 0 12px; font-family: "Manrope", Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.catalog-return { margin-top: 30px; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 70px; padding: 8px 20px; }
  .brand { width: 155px; }
  .brand img { height: 52px; }
  .main-nav { display: none; position: absolute; top: 69px; right: 14px; left: 14px; padding: 22px; background: #fff; flex-direction: column; align-items: stretch; gap: 16px; box-shadow: var(--shadow); border-radius: 14px; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding-top: 70px; grid-template-columns: 1fr 1fr; min-height: 540px; }
  .hero-copy { padding: 40px 30px 44px; }
  .hero h1 { font-size: clamp(39px, 6.3vw, 54px); }
  .hero-visual { min-height: 470px; }
  .manifesto { padding: 60px 24px; grid-template-columns: 1fr 2fr; gap: 24px; }
  .manifesto-copy { grid-column: 2; padding-top: 0; }
  .product-detail { grid-template-columns: minmax(300px, 430px) minmax(300px, 1fr); gap: 38px; }
  .partners { grid-template-columns: minmax(240px, 340px) 1fr; gap: 42px; }
}

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 390px; padding: 94px 22px 40px; }
  .hero h1 { font-size: clamp(39px, 11.2vw, 52px); }
  .hero-lead { margin-top: 20px; font-size: 15px; }
  .hero-visual { min-height: 390px; max-height: 470px; }
  .manifesto { padding: 54px 22px; grid-template-columns: 1fr; gap: 15px; }
  .manifesto-copy { grid-column: auto; padding-top: 6px; }
  .manifesto h2, .catalog-heading h2, .partners h2 { font-size: 39px; }
  .catalog { padding: 54px 16px 58px; }
  .catalog-heading { grid-template-columns: 1fr; gap: 14px; }
  .catalog-heading > p { margin: 0; }
  .catalog-filters { margin-top: 20px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 16px; }
  .catalog-carousel .carousel-viewport { aspect-ratio: 1 / 1; }
  .catalog-card-body { min-height: 0; padding: 19px 18px 16px; }
  .catalog-card h3 { font-size: 31px; }
  .card-buy { padding: 13px 18px 16px; }
  .market-square { width: 48px; height: 48px; flex-basis: 48px; }
  .partners { padding: 54px 22px; grid-template-columns: 1fr; gap: 27px; }
  .partners-media { width: min(100%, 410px); }
  .footer-links { grid-template-columns: 1fr; gap: 25px; margin: 30px 0; }
  .footer-bottom { flex-direction: column; }
  .product-page { width: min(calc(100% - 32px), 520px); padding-top: 18px; }
  .breadcrumbs { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .product-detail { margin-top: 15px; grid-template-columns: 1fr; gap: 30px; }
  .detail-gallery { width: 100%; max-width: 470px; margin: auto; }
  .detail-content { padding-top: 0; }
  .detail-content h1 { font-size: 42px; }
  .footer--compact { margin-top: 42px; }
}

@media (max-width: 420px) {
  .hero-copy { min-height: 370px; }
  .hero-visual { min-height: 355px; }
  .catalog-carousel .carousel-slide { padding: 8px; }
  .card-buy { align-items: flex-end; }
  .card-buy > p { max-width: 90px; }
  .market-square { width: 48px; height: 48px; flex-basis: 48px; }
  .partners-actions { align-items: stretch; flex-direction: column; }
  .partners-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
