/* K·Cosmetics v3: магазин-стеллаж. Белая бумага, чёрный текст, один красный акцент на действиях.
   Подключается после main.css и переопределяет токены. Фото товаров не трогаются. */
:root {
  --bg: #fff; --surface: #F2F2F0; --surface2: #E9E9E6; --white: #fff;
  --heading: #000; --body: #2B2B2B; --muted: #5E5E5E; --border: #E3E3DF;
  --accent: #000; --rose: #D81B42; --rose-text: #C4163C; --rose-light: #FBE9ED;
  --radius: 2px;
  --font-sans: 'Onest', system-ui, sans-serif;
  --font-serif: 'Unbounded', 'Onest', sans-serif;
  --font-display: 'Unbounded', 'Onest', sans-serif;
  --line: #E3E3DF; --sunk: #F2F2F0; --act: #D81B42;
  --gutter: clamp(16px, 3.4vw, 48px);
}
body { font-family: var(--font-sans); color: var(--body); background: #fff; font-size: 16px; line-height: 1.55; }
h1, h2, h3, .page-title, .static-title, .pdp-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; color: #000; }

/* ── Кнопки ── */
.btn-primary, .v3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: #000; color: #fff; font: 500 14px/1 var(--font-sans); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s; }
.btn-primary:hover, .v3-btn:hover { background: var(--act); transform: none; }
.btn-outline { border-radius: 999px; min-height: 44px; }
.v3-btn-inv { background: #fff; color: #000; }
.v3-btn-inv:hover { background: #000; color: #fff; }

/* ── Шапка ── */
.ann { background: #000; height: auto; min-height: 32px; justify-content: center; }
.ann-track { animation: none; justify-content: center; flex-wrap: wrap; gap: 0 28px; white-space: normal; padding: 6px var(--gutter); }
.ann-track span { font-size: 12px; letter-spacing: 0; color: #fff; padding: 0; }
.ann-track .ann-sep { display: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; }
.hdr-inner { max-width: none; padding: 0 24px; height: 68px; gap: 12px; }
.main-nav { flex: 1 1 auto; min-width: 0; }
.hdr-actions { gap: 2px; flex-shrink: 0; }
.logo { gap: 2px; }
.logo-en { font: 600 17px/1 var(--font-display); letter-spacing: -.02em; color: #000; }
.logo-kr { font: 500 10px/1 'Noto Sans KR', sans-serif; letter-spacing: .04em; color: var(--muted); }
.nav-link { font: 500 13.5px/1 var(--font-sans); letter-spacing: 0; text-transform: none; color: #000; padding: 12px 6px; border-radius: 0; white-space: nowrap; }
.nav-link:hover, .nav-item:hover > .nav-link { background: transparent; color: var(--act); }
.nav-link-accent { color: var(--act) !important; }
.nav-link-quiz { border: 1px solid #000; border-radius: 999px; color: #000 !important; font: 500 13px/1 var(--font-sans); letter-spacing: 0; padding: 10px 14px; white-space: nowrap; margin-right: 6px; }
.nav-link-quiz:hover { background: #000 !important; color: #fff !important; border-color: #000; }
.hdr-btn { color: #000; border-radius: 50%; }
.hdr-btn:hover { background: var(--sunk); color: #000; }
.cart-count { background: var(--act); color: #fff; }
.dropdown { border: 1px solid var(--line); border-radius: 0; box-shadow: 0 16px 40px rgba(0,0,0,.08); background: #fff; }
.dropdown-col a { font-size: 14px; border-radius: 0; color: #000; padding: 6px 8px; }
.dropdown-col a:hover { background: transparent; color: var(--act); }
.dropdown-col-title { font: 600 12px/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ── Витрина: сетка-стеллаж из линий и карточка-ценник ── */
.pgrid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pcard { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; transition: none; }
.pcard:hover { box-shadow: none; transform: none; }
.pcard-img-wrap { aspect-ratio: 1 / 1; background: var(--sunk); }
.pcard:hover .pcard-img { transform: none; }
.pcard-badge { top: 12px; left: 12px; border-radius: 999px; padding: 5px 10px; font: 500 12px/1 var(--font-sans); letter-spacing: 0; text-transform: none; background: #000; color: #fff; }
.pcard-badge.badge-sale { background: var(--act); }
.pcard-wish { top: 10px; right: 10px; width: 40px; height: 40px; background: #fff; color: #000; }
.pcard-wish:hover, .pcard-wish.active { color: var(--act); }
.pcard-add-btn { left: auto; right: 10px; bottom: 10px; top: auto; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; transform: none; font-size: 20px; }
.pcard-add-btn span { display: none; }
.pcard-add-btn:hover { background: var(--act); }
.pcard-body { padding: 14px 16px 18px; }
.pcard-brand { font: 600 13px/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: #000; margin-bottom: 4px; }
.pcard-name { font: 400 14px/1.4 var(--font-sans); color: #2B2B2B; margin-bottom: 12px; min-height: 40px; }
.pcard-foot { align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; }
.pcard-price { font: 500 16px/1 var(--font-display); letter-spacing: -.02em; color: #000; }
.pcard-price-old { font-size: 12px; color: var(--muted); }
.pcard-vol { font-size: 12px; color: var(--muted); margin-left: auto; }

/* ── Главная ── */
.v3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v3-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: var(--gutter); padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(32px, 4vw, 56px); align-items: center; max-width: 1560px; margin: 0 auto; }
.v3-h1 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.08; margin: 0 0 20px; max-width: none; }
.v3-lead { font-size: 18px; line-height: 1.5; max-width: 52ch; margin: 0 0 32px; color: #2B2B2B; }
.v3-search { position: relative; display: flex; gap: 8px; max-width: 560px; }
.v3-search input { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border: 1px solid #000; border-radius: 999px; font: 400 16px var(--font-sans); background: #fff; color: #000; }
.v3-search input:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; }
.v3-search .v3-btn { height: 56px; }
.v3-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; background: #fff; border: 1px solid #000; border-radius: 0; box-shadow: 0 16px 40px rgba(0,0,0,.12); max-height: 420px; overflow: auto; }
.v3-results[hidden] { display: none; }
.v3-results li + li { border-top: 1px solid var(--line); }
.v3-results a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 64px; color: #000; font-size: 14px; }
.v3-results a:hover, .v3-results a:focus-visible { background: var(--sunk); }
.v3-results img { width: 44px; height: 44px; object-fit: cover; background: var(--sunk); flex-shrink: 0; }
.v3-res-name { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v3-res-price { font: 500 14px var(--font-display); white-space: nowrap; }
.v3-none { padding: 16px; color: var(--muted); font-size: 14px; }
.v3-quick { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.v3-quick a { color: #000; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; }
.v3-quick a:hover { color: var(--act); }
.v3-hero-shelf { grid-template-columns: repeat(2, 1fr); width: 100%; }
.v3-hero-shelf .pcard-name { min-height: 0; }

.v3-flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #000; border-bottom: 1px solid var(--line); margin: 0 var(--gutter); counter-reset: s; }
.v3-flow li { counter-increment: s; padding: 20px 20px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.v3-flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.v3-flow li::before { content: counter(s); font: 500 12px/1 var(--font-display); color: var(--act); margin-bottom: 8px; }
.v3-flow strong { font-weight: 600; color: #000; font-size: 15px; }
.v3-flow span { font-size: 14px; color: var(--muted); }

.v3-sec { padding: clamp(48px, 7vw, 104px) var(--gutter) 0; max-width: 1560px; margin: 0 auto; }
.v3-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.v3-sec-head h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; }
.v3-more { font-size: 14px; color: #000; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; min-height: 24px; }
.v3-more:hover { color: var(--act); }

.v3-rows { list-style: none; border-top: 1px solid #000; }
.v3-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); color: #000; min-height: 44px; }
.v3-row-name { font: 500 clamp(22px, 2.6vw, 36px)/1.1 var(--font-display); letter-spacing: -.02em; transition: color .15s, padding .2s; }
.v3-row-sub { font-size: 14px; color: var(--muted); }
.v3-row:hover .v3-row-name, .v3-row:focus-visible .v3-row-name { color: var(--act); padding-left: 12px; }
.v3-index .v3-sec-head { margin-bottom: 16px; }

.v3-wall { display: flex; flex-wrap: wrap; gap: 4px 32px; font: 400 clamp(22px, 3.2vw, 44px)/1.25 var(--font-display); letter-spacing: -.03em; }
.v3-wall a { color: #000; padding: 4px 0; }
.v3-wall a:hover { color: var(--act); }

.v3-pick { margin: clamp(48px, 7vw, 104px) var(--gutter) 0; background: var(--act); color: #fff; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; max-width: 1560px; }
@media (min-width: 1620px) { .v3-pick { margin-inline: auto; } }
.v3-pick h2 { color: #fff; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; margin-bottom: 16px; }
.v3-pick p { font-size: 18px; max-width: 36ch; }
.v3-pick-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.v3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-chips button { min-height: 44px; padding: 0 18px; border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: 500 14px var(--font-sans); cursor: pointer; }
.v3-chips button:hover { background: #fff; color: var(--act); }

.v3-reviews { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #000; }
.v3-review { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; color: #000; }
.v3-review + .v3-review { padding-left: 24px; border-left: 1px solid var(--line); }
.v3-review-text { font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.v3-review-by { font-size: 14px; color: var(--muted); }
.v3-review:hover .v3-review-by { color: var(--act); }

/* ── Подвал: название обратно большим шрифтом ── */
.site-footer { background: #000; color: #fff; border: 0; margin-top: clamp(64px, 9vw, 128px); overflow: hidden; }
.ft-main { max-width: 1560px; padding: 56px var(--gutter) 40px; gap: 40px; }
.ft-logo { font: 600 20px/1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.ft-tagline { font-size: 14px; color: #BDBDBD; max-width: 32ch; }
.ft-col-title { font: 600 14px/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 14px; }
.ft-col a { font-size: 14px; color: #D0D0D0; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-soc { border-color: #555; color: #fff; }
.ft-soc:hover { border-color: #fff; color: #fff; }
.ft-btm { max-width: 1560px; padding: 20px var(--gutter); border-top: 1px solid #333; }
.ft-copy, .ft-btm-links a { color: #BDBDBD; font-size: 13px; }
.ft-btm-links a:hover { color: #fff; }
.ft-wordmark { display: block; padding: 0 var(--gutter) 24px; font: 600 clamp(36px, 11.2vw, 210px)/1 var(--font-display); letter-spacing: -.035em; color: #fff; white-space: nowrap; user-select: none; }

/* ── Каталог, товар, корзина: те же токены ── */
.collection-layout { max-width: none; padding: 32px var(--gutter); }
.breadcrumbs { font-size: 14px; }
.subcat-chip, .page-btn { border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: #000; background: #fff; }
.subcat-chip.active, .subcat-chip:hover { background: #000; color: #fff; border-color: #000; }
.sort-select, .price-input { border-radius: 0; border: 1px solid #000; }
.pdp-layout { max-width: 1560px; padding-inline: var(--gutter); }
.pdp-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.pdp-price { font: 500 28px/1 var(--font-display); letter-spacing: -.02em; }
.pdp-brand { font: 600 14px var(--font-sans); letter-spacing: 0; text-transform: none; color: #000; text-decoration: underline; text-underline-offset: 3px; }
.pdp-main-img-wrap, .pdp-thumb { border-radius: 0; background: var(--sunk); }
.pdp-atc-btn { border-radius: 999px; min-height: 52px; }
.qty-control { border-radius: 999px; border-color: #000; }
.tab-btn.active { border-color: var(--act); }
.page-title, .static-title { font-size: clamp(28px, 3.4vw, 44px); }
.static-title::after { background: var(--act); border-radius: 0; }
.pdp-trust .ti { color: var(--act); }
.alina-fab { background: #000; }
.alina-badge { background: var(--act); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; }

@media (max-width: 1100px) {
  .v3-hero { grid-template-columns: 1fr; }
  .v3-hero-shelf { grid-template-columns: repeat(4, 1fr); }
  .pgrid-5, .pgrid-4 { grid-template-columns: repeat(3, 1fr); }
  .v3-pick { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hdr-inner { height: 60px; gap: 8px; }
  .v3-hero { padding-top: 24px; }
  .v3-h1 { font-size: 34px; max-width: none; }
  .v3-lead { font-size: 16px; margin-bottom: 24px; }
  .v3-search { flex-direction: column; }
  .v3-search input { flex: none; width: 100%; }
  .v3-search .v3-btn { width: 100%; }
  .v3-hero-shelf { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .pgrid-5, .pgrid-4, .pgrid-3 { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .pcard-body { padding: 12px; }
  .pcard-name { font-size: 13px; min-height: 36px; }
  .v3-flow { grid-template-columns: 1fr 1fr; margin: 0 var(--gutter); }
  .v3-flow li:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .v3-flow li:nth-child(4) { border-top: 1px solid var(--line); }
  .v3-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .v3-reviews { grid-template-columns: 1fr; }
  .v3-review, .v3-review + .v3-review { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .v3-pick { margin-inline: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .v3-hero-shelf .pcard { animation: v3-rise .5s ease-out both; }
  .v3-hero-shelf .pcard:nth-child(2) { animation-delay: .06s; }
  .v3-hero-shelf .pcard:nth-child(3) { animation-delay: .12s; }
  .v3-hero-shelf .pcard:nth-child(4) { animation-delay: .18s; }
}
@keyframes v3-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.v3-posts .v3-row { grid-template-columns: minmax(0, 1fr) auto; }
.v3-posts .v3-row-name { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; }
.v3-posts .v3-row-sub { white-space: nowrap; }
@media (max-width: 700px) { .v3-posts .v3-row { grid-template-columns: 1fr; } }

@media (max-width: 1380px) {
  .hdr-quiz { display: none; }
  .nav-link { padding: 12px 5px; font-size: 13px; }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

.breadcrumbs.container { max-width: 1560px; padding-inline: var(--gutter); }
.pdp-title { font-size: clamp(24px, 2.4vw, 34px); }
.tab-panel { max-width: 68ch; }

.pcard-oos, .pcard-vol, .pcard-price-old { font-size: 12px; }
.ft-logo { display: inline-flex; align-items: center; min-height: 32px; }

/* ═══ Внутренние страницы: корзина, оформление, вход, блог, статика ═══ */
.container { max-width: 1560px; padding-inline: var(--gutter); }
.v3-h1-page, .page-title { font: 500 clamp(26px, 3vw, 42px)/1.1 var(--font-display); letter-spacing: -.02em; margin: 0 0 8px; }
.page-title { margin-bottom: 28px; }
.cart-page, .checkout-page { padding-top: clamp(24px, 4vw, 56px); }

/* корзина: строки с линиями вместо карточек */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 72px); align-items: start; }
.cart-page-items { list-style: none; border-top: 1px solid #000; }
.cart-page-item { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.cart-page-item-img { width: 96px; height: 96px; object-fit: cover; background: var(--sunk); border-radius: 0; }
.cart-page-item-brand { font: 600 13px var(--font-sans); letter-spacing: 0; text-transform: none; color: #000; }
.cart-page-item-name { font: 400 15px/1.4 var(--font-sans); color: #000; text-decoration: none; }
.cart-page-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.cart-page-item-total { font: 500 16px var(--font-display); letter-spacing: -.02em; }
.cart-page .qty-control { border-radius: 999px !important; border: 1px solid #000 !important; }
.cart-empty-page { text-align: left; padding: 24px 0 8px; }
.cart-empty-page i { font-size: 32px; color: #000; }
.cart-empty-page h2 { font: 500 24px var(--font-display); margin: 12px 0 6px; }
.cart-summary { position: sticky; top: 92px; border: 0; border-top: 1px solid #000; border-radius: 0; background: none; padding: 20px 0 0; box-shadow: none; }
.cart-summary-title { font: 500 20px var(--font-display); margin-bottom: 16px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cart-summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; font-size: 15px; }
.cart-summary-total strong { font: 500 24px var(--font-display); letter-spacing: -.02em; }
.cart-popular-wrap { margin-top: clamp(40px, 6vw, 88px); }
.cart-popular-title { font: 500 clamp(22px, 2.4vw, 32px)/1.1 var(--font-display); margin: 0 0 20px; }

/* оформление: шаги линиями, без вложенных карточек */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 72px); align-items: start; }
.checkout-section { border: 0; border-top: 1px solid #000; border-radius: 0; background: none; padding: 20px 0 32px; box-shadow: none; margin: 0; }
.checkout-section-title { font: 500 20px var(--font-display); letter-spacing: -.02em; margin-bottom: 18px; }
.checkout-form-col { counter-reset: step; }
.checkout-form-col .checkout-section-title::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 12px; border-radius: 50%; background: #000; color: #fff; font: 500 13px var(--font-sans); vertical-align: 2px; }
.form-group label { font: 500 14px var(--font-sans); color: #000; margin-bottom: 6px; display: block; }
.form-group input, .form-group select, .form-group textarea, #comment, #promo-input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #8D8D88; border-radius: 0; background: #fff; font: 400 16px var(--font-sans); color: #000; }
#comment { padding: 14px 16px; }
.form-group input:focus, .form-group textarea:focus, #comment:focus, #promo-input:focus { border-color: #000; outline: 3px solid var(--act); outline-offset: 0; }
.delivery-opt { border: 1px solid #000; border-radius: 0; background: #fff; }
.delivery-opt input:checked + .delivery-opt-content, .delivery-opt:has(input:checked) { background: #fff; border-color: #000; }
.checkout-summary { position: sticky; top: 92px; border: 0; border-top: 1px solid #000; border-radius: 0; background: none; padding: 20px 0 0; box-shadow: none; }
.checkout-summary-title { font: 500 20px var(--font-display); margin-bottom: 16px; }
.checkout-total-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.checkout-total-main strong { font: 500 24px var(--font-display); letter-spacing: -.02em; }
.checkout-agreement { font-size: 13px; color: var(--muted); }
.checkout-agreement a { color: #000; text-decoration: underline; }
.promo-row { display: flex; gap: 8px; }
.promo-row #promo-input { flex: 1; }

/* вход и регистрация */
.auth-page { max-width: 480px; margin: clamp(32px, 7vw, 96px) auto; padding: 0 var(--gutter); }
.auth-card { border: 0; border-top: 1px solid #000; border-radius: 0; background: none; box-shadow: none; padding: 24px 0 0; }
.auth-logo { display: none; }
.auth-title { font: 500 clamp(26px, 3vw, 36px) var(--font-display); margin-bottom: 20px; }
.auth-footer { margin-top: 20px; font-size: 15px; }
.auth-footer a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.auth-error { border: 1px solid var(--act); color: var(--rose-text); padding: 10px 14px; margin-bottom: 14px; }

/* блог */
.blog-page { padding-top: clamp(24px, 4vw, 56px); }
.v3-post { align-items: start; }
.v3-post-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.v3-post-cat { font: 500 13px var(--font-sans); color: var(--rose-text); }
.v3-post-excerpt { font: 400 15px/1.55 var(--font-sans); color: var(--muted); max-width: 70ch; }
.v3-posts-full .v3-row-name { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; }
.blog-post-content { max-width: 820px; margin: 0 auto; }
.blog-post-title { font: 500 clamp(26px, 3.2vw, 44px)/1.12 var(--font-display); margin: 8px 0 12px; }
.blog-post-body { font-size: 17px; line-height: 1.7; color: #1f1f1f; }
.blog-post-body h2 { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--font-display); margin: 36px 0 12px; }
.blog-post-body h3 { font: 600 18px var(--font-sans); margin: 28px 0 8px; }
.blog-post-body a { color: var(--rose-text); text-decoration: underline; }
.blog-post-cat, .blog-post-date { font-size: 14px; color: var(--muted); }

/* статические страницы и кабинет */
.static-page { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.static-content { font-size: 17px; line-height: 1.7; color: #1f1f1f; }
.static-content h2, .static-content h1 { font: 500 clamp(20px, 2vw, 26px)/1.2 var(--font-display); margin: 32px 0 10px; }
.static-content a { color: var(--rose-text); }
.account-layout { gap: clamp(24px, 4vw, 56px); }
.account-sidebar a { font-size: 15px; }
@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
}
@media (max-width: 700px) {
  .cart-page-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .cart-page-item-img { width: 72px; height: 72px; }
  .v3-post { grid-template-columns: 1fr; }
}

/* герой: заголовок слева, поиск справа, витрина из четырёх новинок брендов ниже */
.v3-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px var(--gutter); align-items: end; padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.v3-hero-copy .v3-lead { margin-bottom: 0; }
.v3-hero-find { padding-bottom: 6px; }
.v3-hero-shelf { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); width: 100%; margin-top: 8px; }
@media (max-width: 1100px) { .v3-hero { grid-template-columns: 1fr; align-items: start; } .v3-hero-shelf { grid-template-columns: repeat(2, 1fr); } }

/* ═══ Страница товара ═══ */
.pdp-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; padding-top: 16px; }
.pdp-gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; position: sticky; top: 92px; align-self: start; }
.pdp-gallery .pdp-main-img-wrap { grid-column: 2; grid-row: 1; }
.pdp-gallery .pdp-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; margin: 0; flex-wrap: nowrap; align-self: start; }
.pdp-thumb { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 0; opacity: 1; }
.pdp-thumb.active { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.pdp-thumb:hover { border-color: #000; }
.pdp-main-img { object-fit: contain; padding: 0; }
.pdp-arrow { border-radius: 50%; background: #fff; box-shadow: none; border: 1px solid var(--line); width: 44px; height: 44px; }
.pdp-info { max-width: 620px; }
.pdp-name-ru { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.pdp-price-row { margin-bottom: 24px; }
.pdp-meta { display: block; border-top: 1px solid var(--line); padding: 8px 0; margin-bottom: 8px; }
.pdp-meta-item { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pdp-meta-item span { color: var(--muted); }
.pdp-meta-item strong { font-weight: 600; color: #000; }
.pdp-trust { border-top: 1px solid #000; padding: 6px 0 0; gap: 0; margin-bottom: 20px; font-size: 14px; }
.pdp-trust li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tabs-nav { border-bottom: 1px solid #000; gap: 24px; }
.tab-btn { padding: 12px 0; font: 500 15px var(--font-sans); color: var(--muted); }
.tab-btn.active, .tab-btn:hover { color: #000; border-bottom-color: var(--act); }
.tab-panel { font-size: 16px; line-height: 1.65; color: #1f1f1f; }
@media (max-width: 900px) {
  .pdp-gallery { grid-template-columns: 1fr; position: static; }
  .pdp-gallery .pdp-main-img-wrap { grid-column: 1; }
  .pdp-gallery .pdp-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
  .pdp-thumb { width: 64px; height: 64px; }
}

/* ═══ Движение ═══ */
@media (prefers-reduced-motion: no-preference) {
  .v3-hero-shelf article:nth-of-type(2) { animation-delay: .06s; }
  .v3-hero-shelf article:nth-of-type(3) { animation-delay: .12s; }
  .v3-hero-shelf article:nth-of-type(4) { animation-delay: .18s; }
  .v3-rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out var(--d, 0ms), transform .5s ease-out var(--d, 0ms); }
  .v3-rv.v3-in { opacity: 1; transform: none; }
  .pcard-add-btn { transition: background .15s, transform .15s; }
  .pcard-add-btn:active { transform: scale(.9); }
  .pcard-add-btn .ti { transition: transform .2s; }
  .pcard-add-btn:hover .ti { transform: rotate(90deg); }
  .v3-bump { animation: v3-bump .45s ease-out; }
  .v3-wall a { transition: color .15s, transform .2s; }
  .v3-wall a:hover { transform: translateY(-3px); }
}
@keyframes v3-bump { 0% { transform: scale(1); } 35% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* нижняя граница размера текста */
.pcard-brand, .ft-copy, .ft-btm-links a, .search-hint, .dropdown-col-title, .alina-name, .alina-status, .alina-msg-bubble { font-size: 14px; }
.pcard-badge { font-size: 13px; }
.logo-kr { font-size: 12px; }
.alina-chip { font-size: 13px; min-height: 36px; }
@media (min-width: 1500px) { .nav-link { font-size: 14px; } }

@media (max-width: 900px) {
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-info { max-width: none; }
}
@media (max-width: 700px) {
  .ann-track span:nth-of-type(n+2) { display: none; }
}

/* ═══ Главный баннер (две фотографии) ═══ */
.v3-banner { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(420px, 62vh, 640px); background: var(--sunk); }
.v3-banner-l, .v3-banner-r { position: relative; overflow: hidden; }
.v3-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-banner-l::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 100%); }
.v3-banner-copy { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vw, 56px); color: #fff; }
.v3-banner-h { font: 500 clamp(28px, 3.6vw, 56px)/1.05 var(--font-display); letter-spacing: -.02em; color: #fff; max-width: 14ch; margin-bottom: 14px; }
.v3-banner-p { font-size: 16px; max-width: 44ch; margin-bottom: 24px; color: #fff; }
.v3-banner-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.v3-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.v3-btn-line:hover { background: #fff; color: #000; }
.v3-banner-badge { position: absolute; right: var(--gutter); top: 24px; z-index: 2; width: 92px; height: 92px; border-radius: 50%; background: #fff; color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font: 500 11px/1.2 var(--font-sans); }
.v3-banner-badge b { font: 600 18px/1 var(--font-display); letter-spacing: -.02em; }
.v3-findbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 24px var(--gutter); max-width: 1560px; margin: 0 auto; }
.v3-findbar .v3-search { flex: 1 1 420px; max-width: 640px; }
.v3-findbar .v3-quick { margin: 0; }

/* коллекции: фото с подписью под ними, сетка линиями */
.v3-cols { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.v3-col { display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #000; }
.v3-col-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sunk); }
.v3-col-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-col-name { padding: 14px 16px 16px; font: 500 15px/1.3 var(--font-display); letter-spacing: -.02em; }
.v3-col:hover .v3-col-name, .v3-col:focus-visible .v3-col-name { color: var(--act); }
.v3-brandshelf { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .v3-cols { grid-template-columns: repeat(3, 1fr); } .v3-brandshelf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .v3-banner { grid-template-columns: 1fr; min-height: 0; }
  .v3-banner-l { min-height: 440px; }
  .v3-banner-r { height: 280px; }
  .v3-banner-badge { top: 16px; width: 76px; height: 76px; }
  .v3-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ Единая линия краёв: у всех блоков один и тот же левый и правый отступ ═══ */
:root { --edge: max(var(--gutter), calc((100vw - 1560px) / 2 + var(--gutter))); }
.hdr-inner { max-width: none; margin: 0; padding-inline: var(--edge); }
.ann-track { padding-inline: var(--edge); }
.v3-hero, .v3-findbar, .v3-sec, .v3-banner-inner { max-width: none; margin-inline: 0; padding-inline: var(--edge); }
.v3-flow { margin-inline: var(--edge); max-width: none; }
.v3-pick { margin-inline: var(--edge); max-width: none; }
@media (min-width: 1620px) { .v3-pick { margin-inline: var(--edge); } }
.ft-main, .ft-btm { max-width: none; padding-inline: var(--edge); }
.ft-wordmark { padding-inline: var(--edge); }
.container, .breadcrumbs.container { max-width: none; margin-inline: 0; padding-inline: var(--edge); }
.collection-layout, .pdp-layout { max-width: none; margin-inline: 0; padding-inline: var(--edge); }
.v3-banner-copy { left: var(--edge); }
.v3-banner-l .v3-banner-copy { right: 24px; }
.v3-banner-badge { right: var(--edge); }
.blog-post-content { max-width: 820px; margin-inline: auto; }
@media (max-width: 1100px) { .v3-banner-badge { right: var(--gutter); } }

/* ═══ Баннер: текст рядом с фотографией, а не поверх лица ═══ */
.v3-banner { --bh: clamp(440px, 64vh, 640px); grid-template-columns: 1.35fr .65fr; min-height: var(--bh); background: #F9EDE1; }
.v3-banner-l { display: flex; position: relative; background: #F9EDE1; }
.v3-banner-l::after { display: none; }
.v3-banner-art { position: relative; flex: 0 0 auto; width: calc(var(--bh) * .969); height: var(--bh); overflow: hidden; }
.v3-banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.v3-banner-l .v3-banner-copy { position: static; flex: 1 1 auto; min-width: 0; align-self: center; padding: 24px clamp(16px, 2vw, 32px) 24px 0; color: #000; }
.v3-banner-h { color: #000; font-size: clamp(24px, 2.5vw, 40px); max-width: none; }
.v3-banner-p { color: #1f1f1f; font-size: 15px; }
.v3-banner .v3-btn-line { color: #000; box-shadow: inset 0 0 0 1px #000; }
.v3-banner .v3-btn-line:hover { background: #000; color: #fff; }
.v3-banner-r img { object-position: 75% center; }
@media (max-width: 1100px) {
  .v3-banner { grid-template-columns: 1fr; min-height: 0; }
  .v3-banner-r { height: 380px; }
  .v3-banner-badge { right: var(--gutter); }
}
@media (max-width: 700px) {
  .v3-banner-l { flex-direction: column; }
  .v3-banner-art { width: 100%; height: auto; aspect-ratio: 1040 / 1073; }
  .v3-banner-l .v3-banner-copy { padding: 8px var(--gutter) 32px; }
  .v3-banner-r { height: 300px; }
}

/* ═══ Выбор варианта и кнопки действий на странице товара ═══ */
.pdp-variants-label { font: 600 14px var(--font-sans); letter-spacing: 0; text-transform: none; color: #000; margin-bottom: 10px; }
.variant-pill { min-height: 44px; padding: 0 18px; border: 1px solid #8D8D88; border-radius: 999px; background: #fff; color: #000; font: 500 14px var(--font-sans); }
.variant-pill:hover:not(:disabled) { border-color: #000; background: #fff; color: #000; }
.variant-pill.active { background: #000; border-color: #000; color: #fff; }
.variant-pill.oos { color: var(--muted); border-color: var(--line); }
.pdp-wishlist-btn { width: 52px; height: 52px; border: 1px solid #000; border-radius: 50%; background: #fff; color: #000; }
.pdp-wishlist-btn:hover, .pdp-wishlist-btn.active { border-color: var(--act); color: var(--act); background: #fff; }
.pdp-trust .ti { color: #000; font-size: 20px; }
.v3-banner-l .v3-banner-copy { padding-left: clamp(20px, 2.2vw, 36px); }
