/*
Theme Name: GOLITSYN HERITAGE
Theme URI: https://golitsyn-heritage.ru
Author: byAlchakov
Author URL: https://byAlchakov.ru
Description: Премиальная тема бренда GOLITSYN HERITAGE. Требует ACF Pro и WooCommerce.
Version: 1.3.0
Text Domain: golitsyn-heritage
*/
:root {
  --ivory: #f5f1e8;
  --cream: #ebe3d3;
  --ink: #171a16;
  --green: #18382d;
  --gold: #aa8750;
  --muted: #756f64;
  --line: rgba(23, 26, 22, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: "Manrope", sans-serif; font-weight: 500; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; }
.announcement { height: 30px; display: grid; place-items: center; color: #e9e4d9; background: var(--green); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 900; }
.header { height: 96px; display: flex; align-items: center; padding: 0 4.5vw; position: absolute; top: 30px; z-index: 10; width: 100%; color: white; border-bottom: 1px solid rgba(255,255,255,.32); }
.brand { display: flex; width: 164px; flex-direction: column; align-items: center; gap: 2px; line-height: 1; }
.brand__logo { height: 38px; width: auto; max-width: 100%; object-fit: contain; }
.footer .brand { width: auto; }
.footer .brand__logo { height: 46px; }
.hero__logo { display: block; height: 112px; width: auto; margin: 0 auto 24px; }
.heritage__logo { display: block; height: 140px; width: auto; margin: auto; }
.about-hero__logo { display: block; height: 92px; width: auto; margin: 0 auto 40px; }
.about-final__brand img { height: 58px; width: auto; }
.brand__name { font-family: "Cormorant Garamond", serif; font-size: 27px; letter-spacing: .09em; }
.brand__line { width: 100%; display: flex; align-items: center; gap: 7px; font-size: 7px; letter-spacing: .52em; font-weight: 900; }
.brand__line i { height: 1px; flex: 1; background: currentColor; opacity: .6; }
.nav { display: flex; gap: 35px; margin-left: 70px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.nav a, .footer a { transition: opacity .25s; }
.nav a:hover, .footer a:hover { opacity: .55; }
.actions { display: flex; align-items: center; gap: 19px; margin-left: auto; }
.actions button, .menu-button { position: relative; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.actions svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.cart-count { position: absolute; top: -6px; right: -8px; font-size: 8px; font-weight: 900; }
.menu-button { display: none; width: 23px; }
.menu-button span { display: block; height: 1px; margin: 6px 0; background: currentColor; }
.hero { min-height: calc(100vh - 30px); height: 820px; position: relative; display: grid; place-items: center; overflow: hidden; color: white; }
.hero__image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 35%; animation: heroZoom 12s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 18 13), rgb(10 15 12 / 54%) 62%, rgb(10 15 12 / 65%)), linear-gradient(0deg, rgba(5, 10, 7, .44), transparent 45%); }
.hero__content { z-index: 1; width: min(710px, 90vw); margin-top: 95px; text-align: center; }
.crest { width: 78px; height: 91px; margin: 0 auto 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(210,182,129,.8); border-radius: 48% 48% 38% 38%; color: #d6b77c; }
.crest span { font-family: "Cormorant Garamond", serif; font-size: 38px; line-height: .8; }
.crest i { width: 29px; height: 1px; margin: 8px; background: currentColor; }
.crest b { font-size: 7px; letter-spacing: .25em; font-weight: 900; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 9px; letter-spacing: .34em; text-transform: uppercase; font-weight: 900; }
.hero .eyebrow { color: #e0c18a; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Cormorant Garamond", serif; font-weight: 400; }
h1 { margin-bottom: 22px; font-size: clamp(52px, 6vw, 86px); line-height: .9; letter-spacing: -.025em; }
.hero__lead { margin-bottom: 32px; font-family: "Cormorant Garamond", serif; font-size: 18px; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 42px; min-width: 224px; padding: 17px 21px; border: 1px solid; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; transition: color .3s, background .3s; font-weight: 900; }
.button span, .text-link span { font-size: 16px; line-height: 0; }
.button--light { border-color: rgba(255,255,255,.72); }
.button--light:hover { color: var(--ink); background: white; }
.button--dark { color: white; border-color: var(--green); background: var(--green); }
.button--dark:hover { color: var(--green); background: transparent; }
.scroll-hint { position: absolute; bottom: 38px; left: 4.5vw; display: flex; align-items: center; gap: 15px; z-index: 1; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; transform: rotate(-90deg) translateX(100%); transform-origin: left bottom; font-weight: 900; }
.scroll-hint span { width: 45px; height: 1px; background: white; }
.hero__year { position: absolute; right: 4.5vw; bottom: 40px; z-index: 1; font-family: "Cormorant Garamond", serif; font-size: 11px; letter-spacing: .28em; }
.manifesto { padding: 125px 20px 140px; position: relative; text-align: center; background: #f8f5ee; }
.manifesto .ornament { margin-bottom: 30px; color: var(--gold); font-size: 22px; }
.manifesto h2 { margin-bottom: 25px; font-size: clamp(39px, 4vw, 59px); line-height: 1.08; }
.manifesto > p:last-child { max-width: 590px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.8; }
.category-banners { padding: 110px 5vw 140px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--ivory); }
.category-banner { height: 680px; position: relative; overflow: hidden; color: white; }
.category-banner--women { background: var(--green); }
.category-banner--men { background: var(--ink); }
.category-banner > img { height: 100%; object-fit: cover; transition: transform 1s ease; }
.category-banner:hover > img { transform: scale(1.035); }
.category-banner__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,12,9,.64), transparent 62%); }
.category-banner__content { position: absolute; left: 7%; right: 7%; bottom: 8%; display: flex; flex-direction: column; align-items: flex-start; }
.category-banner__content small { margin-bottom: 10px; color: #e0c18a; font-size: 8px; font-style: normal; letter-spacing: .25em; text-transform: uppercase; line-height: 1.8; font-weight: 900; }
.category-banner__content strong { font-family: "Cormorant Garamond", serif; font-size: clamp(48px, 5vw, 72px); font-weight: 400; }
.category-banner__content i { margin-top: 19px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 8px; font-style: normal; letter-spacing: .17em; text-transform: uppercase; font-weight: 900; }
.collection { padding: 110px 5vw 140px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; max-width: 1400px; margin: 0 auto 60px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 4.5vw, 64px); }
.text-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 900; }
.catalog-filter { display: flex; gap: 25px; }
.catalog-filter button { padding: 0 0 7px; border: 0; border-bottom: 1px solid transparent; color: var(--muted); background: transparent; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; font-weight: 900; }
.catalog-filter button.active { color: var(--ink); border-color: var(--ink); }
.product-grid { max-width: 1400px; margin: auto; display: flex; grid-template-columns: repeat(4, 1fr); gap: 48px 20px; align-items: start; }
.product-card__image { height: 460px; position: relative; display: block; overflow: hidden; background: var(--cream); }
.product-card__image img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card__image:hover img { transform: scale(1.035); }
.tag { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 8px 11px; color: white; background: var(--green); font-size: 7px; letter-spacing: .17em; text-transform: uppercase; font-weight: 900; }
.product-card__info { display: flex; justify-content: space-between; gap: 20px; padding: 19px 2px; }
.product-card__info h3 { margin-bottom: 5px; font-family: "Cormorant Garamond", serif; font-size: 21px; font-weight: 500; }
.product-card__info p { margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; }
.product-card__info strong { white-space: nowrap; font-size: 11px; font-weight: 500; }
.catalog-more { display: flex; width: fit-content; margin: 72px auto 0; }
.editorial { display: grid; grid-template-columns: 40% 60%; align-items: start; gap: 60px; padding: 110px 5vw; background: #ded4c4; }
.editorial__content { padding: 0 2%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.editorial h2 { margin-bottom: 28px; font-size: clamp(44px, 4.2vw, 62px); line-height: .95; }
.editorial__content > p:not(.eyebrow) { max-width: 440px; margin-bottom: 35px; color: #5f5a52; font-size: 13px; line-height: 1.8; }
.editorial__products { display: flex; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
.mini-product__image { height: auto; position: relative; display: block; overflow: hidden; background: var(--cream); }
.mini-product__image img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.mini-product__image:hover img { transform: scale(1.035); }
.mini-product__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px; }
.mini-product__info h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 500; }
.mini-product__info strong { white-space: nowrap; font-size: 10px; font-weight: 900; }
.heritage { min-height: 590px; padding: 100px 12vw; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; color: white; background: var(--green); }
.heritage:before, .heritage:after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(196,161,103,.17); transform: rotate(45deg); }
.heritage:before { left: -220px; top: -180px; }.heritage:after { right: -220px; bottom: -180px; }
.heritage__content { position: relative; z-index: 1; max-width: 580px; }
.heritage h2 { margin-bottom: 27px; font-size: clamp(48px, 5vw, 70px); line-height: 1; }
.heritage__content > p:not(.eyebrow) { margin-bottom: 35px; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.85; }
.heritage .text-link { border-color: rgba(255,255,255,.5); }
.heritage__monogram { width: 260px; height: 300px; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(196,161,103,.6); border-radius: 50% 50% 42% 42%; color: #c4a167; }
.heritage__monogram span { font-family: "Cormorant Garamond", serif; font-size: 150px; line-height: .7; }
.heritage__monogram small { margin-top: 30px; font-size: 9px; letter-spacing: .5em; font-weight: 900; }
.services { max-width: 1400px; margin: auto; padding: 95px 5vw; display: grid; grid-template-columns: repeat(3, 1fr); }
.services article { padding: 0 50px; border-right: 1px solid var(--line); text-align: center; }
.services article:last-child { border: 0; }
.services span { display: block; margin-bottom: 20px; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 14px; }
.services h3 { margin-bottom: 11px; font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 500; }
.services p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; font-weight: 500;}
.newsletter { padding: 110px 20px; text-align: center; background: #e7dfd0; }
.newsletter h2 { margin-bottom: 15px; font-size: clamp(43px, 4.5vw, 63px); }
.newsletter > p:not(.eyebrow) { max-width: 500px; margin: 0 auto 35px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.newsletter form { max-width: 530px; margin: auto; display: flex; border-bottom: 1px solid var(--ink); }
.newsletter input { flex: 1; padding: 15px 0; border: 0; outline: none; background: transparent; font-size: 11px; }
.newsletter button { display: flex; align-items: center; gap: 28px; border: 0; background: transparent; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; font-weight: 900; }
.newsletter button span { font-size: 16px; }
.footer { padding: 75px 5vw 30px; color: #f2ede3; background: #121813; }
.brand--footer { margin: 0 auto 58px; }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 70px; }
.footer__col h4 { margin: 0 0 22px; color: #c4a167; font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 500; letter-spacing: .04em; }
.footer__col a { display: block; margin-bottom: 13px; color: rgba(242,237,227,.72); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.footer__col a:last-child { margin-bottom: 0; }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }
.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; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Внутренние страницы ===== */
.header--static { position: static; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--ivory); }
.breadcrumbs { padding: 26px 5vw 26px; border-bottom: 1px solid var(--line); }
.breadcrumbs__inner { max-width: 1550px; margin: auto; display: flex; gap: 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 900; }
.breadcrumbs a { color: var(--muted); transition: color .25s; font-weight: bold;}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs em { font-style: normal; color: var(--gold); font-weight: bold;}
.catalog-page { padding: 55px 5vw 140px; }
.catalog-page__heading { max-width: 1550px; margin: 0 auto 45px; display: flex; align-items: baseline; justify-content: space-between; gap: 25px; }
.catalog-page__heading h1 { margin: 0; font-size: clamp(42px, 4.5vw, 64px); }
.catalog-page__count { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 900; }
.catalog-layout { max-width: 1550px; margin: auto; display: flex; grid-template-columns: 255px 1fr; gap: 40px; align-items: start; }
.catalog-sidebar { position: sticky; top: 30px;  width: 15%;}
.catalog-sidebar__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.catalog-sidebar__head h2 { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.catalog-sidebar__head button { border: 0; color: var(--muted); background: transparent; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-decoration: underline; font-weight: 900; }
/*.filter { padding: 24px 0; border-bottom: 1px solid var(--line); }*/
.filter h3 { margin: 0 0 18px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 900; }
.filter__price { display: flex; gap: 12px; margin-bottom: 18px; }
.filter__price label { flex: 1; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 9px 12px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.filter__price input { width: 100%; border: 0; outline: none; background: transparent; font-size: 11px; color: var(--ink); }
.filter__range { width: 100%; accent-color: var(--green); }
.filter__options { display: grid; gap: 13px; }
.filter__options label { display: flex; align-items: center; gap: 11px; font-size: 11px; cursor: pointer; }
.filter__options input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--green); cursor: pointer; }
.filter__options--sizes { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatch { display: inline-block; width: 13px; height: 13px; margin-right: 9px; border: 1px solid var(--line); border-radius: 50%; vertical-align: -2px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 35px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.catalog-toolbar label { display: flex; align-items: center; gap: 12px; }
.catalog-toolbar select { border: 1px solid var(--line); padding: 9px 12px; background: transparent; color: var(--ink); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; outline: none; font-weight: 900; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 20px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 80px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); font-size: 10px; letter-spacing: .08em; transition: color .25s, background .25s, border-color .25s; font-weight: 900; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.active { color: white; border-color: var(--green); background: var(--green); }
.pagination__arrow { font-size: 13px; }
/* ===== О компании ===== */
.about-hero { padding: 100px 20px 110px; text-align: center; color: white; background: var(--green); }
.about-hero .eyebrow { color: #c4a167; }
.about-hero h1 { margin-bottom: 24px; font-size: clamp(46px, 5vw, 74px); line-height: 1; }
.about-hero > p:not(.eyebrow) { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.85; }
.heritage__monogram--about { margin: 0 auto 40px; width: 130px; height: 150px; }
.heritage__monogram--about span { font-size: 72px; }
.heritage__monogram--about small { margin-top: 18px; }
.about-values { padding: 110px 5vw; background: #f8f5ee; }
.about-values__inner { max-width: 1400px; margin: auto; text-align: center; }
.about-values h2, .about-story h2, .about-journey h2, .about-legacy h2 { margin: 0 0 60px; font-size: clamp(40px, 4vw, 58px); }
.about-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 45px 30px; text-align: left; }
.about-values article { padding: 35px 28px; border: 1px solid var(--line); background: var(--ivory); transition: border-color .3s; }
.about-values article:hover { border-color: var(--gold); }
.about-values__num { display: block; margin-bottom: 20px; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 28px; }
.about-values h3 { margin-bottom: 13px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.about-values p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-story { padding: 60px 20px 130px; max-width: 820px; margin: auto; text-align: center; }
.about-story h2 { margin: 0 0 40px; font-size: clamp(36px, 3.6vw, 52px); }
.about-story p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.9; text-align: left; }
.about-story p:first-of-type, .about-story p:last-child { color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: 19px; line-height: 1.6; text-align: center; }
.about-journey { padding: 110px 5vw 130px; text-align: center; background: #f8f5ee; }
.about-journey__grid { max-width: 1300px; margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 25px; text-align: left; }
.about-journey__line { position: relative; height: 1px; margin-bottom: 30px; background: var(--line); }
.about-journey__line span { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: var(--ivory); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.about-journey article:last-child .about-journey__line span { border-color: var(--green); background: var(--green); color: white; }
.about-journey__image { height: 200px; overflow: hidden; background: var(--cream); }
.about-journey__image img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.about-journey article:hover .about-journey__image img { transform: scale(1.04); }
.about-journey h3 { margin: 20px 0 8px; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.about-journey__place { margin: 0 0 12px; color: var(--gold); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.about-journey article > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-cta { padding: 100px 20px; text-align: center; }
.about-cta .ornament { margin-bottom: 25px; color: var(--gold); font-size: 20px; }
.about-cta p { max-width: 620px; margin: 0 auto 16px; font-family: "Cormorant Garamond", serif; font-size: 19px; line-height: 1.6; }
.about-cta .button { margin-top: 26px; }
.about-legacy { padding: 110px 5vw 130px; background: #f8f5ee; }
.about-legacy > .eyebrow, .about-legacy h2 { text-align: center; }
.about-legacy h2 { margin-bottom: 45px; }
.about-legacy p { max-width: 800px; margin: 0 auto 24px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.about-legacy__final { margin-top: 40px; color: var(--ink) !important; font-family: "Cormorant Garamond", serif; font-size: 22px !important; line-height: 1.5; text-align: center; }
.about-final { padding: 110px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background: var(--green); }
.about-final__brand { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 35px; }
.about-final__brand .brand__name { font-family: "Cormorant Garamond", serif; font-size: 30px; letter-spacing: .09em; }
.about-final__brand .brand__line { width: 180px; display: flex; align-items: center; gap: 7px; font-size: 7px; font-weight: 900; letter-spacing: .52em; }
.about-final__brand .brand__line i { height: 1px; flex: 1; background: currentColor; opacity: .6; }
.about-final h2 { margin: 0 0 40px; font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.about-final p { max-width: 700px; margin: 0 auto 16px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.85; }
.about-final--quote h2 { max-width: 980px; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.25; margin-bottom: 0; }
@media (max-width: 1100px) {
  .about-values__grid, .about-journey__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stats__item:nth-child(2n) { border-right: 0; }
  .about-stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-hero { padding: 75px 22px 85px; }
  .about-values, .about-journey, .about-legacy { padding: 80px 6vw; }
}
@media (max-width: 600px) {
  .catalog-page { padding: 35px 20px 90px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-values__grid, .about-journey__grid { grid-template-columns: 1fr; }
  .about-stats__item { padding: 40px 20px; }
}
/* ===== Контакты ===== */
.contacts { max-width: 1400px; margin: auto; padding: 60px 5vw 140px; }
.contacts__intro { margin-bottom: 60px; max-width: 640px; }
.contacts__intro h1 { margin: 0 0 22px; font-size: clamp(42px, 4.5vw, 64px); }
.contacts__intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.contacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 100px; }
.contact-card { padding: 36px 28px; border: 1px solid var(--line); background: #f8f5ee; transition: border-color .3s; }
.contact-card:hover { border-color: var(--gold); }
.contact-card svg { width: 28px; height: 28px; margin-bottom: 22px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.contact-card h3 { margin-bottom: 14px; font-family: "Cormorant Garamond", serif; font-size: 21px; font-weight: 500; }
.contact-card p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.contact-card__value { display: inline-block; color: var(--green); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 4px; font-weight: 900; }
.contacts__business { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: 55px 60px; margin-bottom: 25px; background: var(--green); color: white; }
.contacts__business h2 { margin: 0 0 18px; font-size: clamp(32px, 3vw, 44px); }
.contacts__business p { margin: 0; max-width: 720px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.8; }
.contacts__business .button { flex-shrink: 0; white-space: nowrap; }
.contacts__social { padding: 70px 60px 55px; margin-bottom: 25px; text-align: center; background: #f8f5ee; border: 1px solid var(--line); }
.contacts__social h2 { margin: 0 0 20px; font-size: clamp(32px, 3vw, 46px); }
.contacts__social > p:not(.eyebrow) { max-width: 760px; margin: 0 auto 35px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contacts__social-links { display: flex; justify-content: center; gap: 18px; }
.contacts__social-links a { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border: 1px solid var(--line); background: var(--ivory); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; transition: color .3s, background .3s, border-color .3s; font-weight: 900; }
.contacts__social-links a:hover { color: white; border-color: var(--green); background: var(--green); }
.contacts__social-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.contacts__legal { margin-bottom: 25px; padding: 26px 32px; border: 1px solid var(--line); }
.contacts__legal h3 { margin: 0 0 12px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 900; }
.contacts__legal p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.contacts__cta { text-align: center; padding: 90px 20px 0; }
.contacts__cta h2 { margin: 0 0 22px; font-size: clamp(34px, 3.4vw, 50px); }
.contacts__cta p { max-width: 720px; margin: 0 auto 38px; color: var(--muted); font-size: 12px; line-height: 1.85; }
@media (max-width: 1100px) {
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contacts { padding: 40px 6vw 90px; }
  .contacts__business { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
  .contacts__social, .contacts__business { margin-bottom: 20px; }
  .contacts__social { padding: 55px 24px 45px; }
}
@media (max-width: 600px) {
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts__social-links { flex-direction: column; }
  .contacts__social-links a { justify-content: center; }
  .contacts__cta { padding-top: 60px; }
}
/* ===== Размерная сетка ===== */
.sizes { max-width: 1400px; margin: auto; padding: 60px 5vw 140px; }
.sizes__intro { margin-bottom: 70px; max-width: 640px; }
.sizes__intro h1 { margin: 0 0 22px; font-size: clamp(42px, 4.5vw, 64px); }
.sizes__intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.sizes__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 90px; }
.sizes__steps article { padding: 34px 26px; border: 1px solid var(--line); background: #f8f5ee; transition: border-color .3s; }
.sizes__steps article:hover { border-color: var(--gold); }
.sizes__steps span { display: block; margin-bottom: 18px; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 28px; }
.sizes__steps h3 { margin-bottom: 13px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.sizes__steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.sizes__tips { padding: 55px 60px; margin-bottom: 90px; background: var(--green); color: white; }
.sizes__tips h2 { margin: 0 0 30px; font-size: clamp(30px, 3vw, 42px); }
.sizes__tips ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 14px; }
.sizes__tips li { position: relative; padding-left: 26px; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.7; }
.sizes__tips li:before { content: "✦"; position: absolute; left: 0; color: #c4a167; font-size: 10px; }
.sizes__tips p:last-child { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.8; }
.sizes__tables { display: grid; gap: 70px; margin-bottom: 90px; }
.sizes__tables h2 { margin: 0 0 28px; font-size: clamp(30px, 3vw, 44px); }
.sizes__table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.sizes table { width: 100%; border-collapse: collapse; background: var(--ivory); }
.sizes th { padding: 17px 20px; color: white; background: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.sizes td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.sizes tr:last-child td { border-bottom: 0; }
.sizes td:first-child { color: var(--green); font-family: "Cormorant Garamond", serif; font-size: 17px; }
.sizes tbody tr:nth-child(even) { background: #f8f5ee; }
.sizes__note { text-align: center; padding: 20px; }
.sizes__note p { max-width: 520px; margin: 0 auto 30px; font-family: "Cormorant Garamond", serif; font-size: 20px; line-height: 1.55; }
@media (max-width: 1100px) {
  .sizes__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sizes { padding: 40px 6vw 90px; }
  .sizes__tips { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .sizes__steps { grid-template-columns: 1fr; }
  .sizes th, .sizes td { padding: 12px 14px; }
}
/* ===== Возврат и обмен ===== */
.returns { max-width: 1400px; margin: auto; padding: 60px 5vw 140px; }
.returns__intro { margin-bottom: 70px; max-width: 640px; }
.returns__intro h1 { margin: 0 0 22px; font-size: clamp(42px, 4.5vw, 64px); }
.returns__intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.returns__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 100px; }
.returns__cards article { padding: 36px 28px; border: 1px solid var(--line); background: #f8f5ee; transition: border-color .3s; }
.returns__cards article:hover { border-color: var(--gold); }
.returns__cards svg { width: 28px; height: 28px; margin-bottom: 22px; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.returns__cards h3 { margin-bottom: 13px; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.returns__cards p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.returns__aside { padding: 65px 70px; margin-bottom: 100px; text-align: center; background: var(--green); color: white; }
.returns__aside .eyebrow { color: #c4a167; }
.returns__aside h2 { margin: 0 0 30px; font-size: clamp(32px, 3.2vw, 48px); }
.returns__aside p { max-width: 760px; margin: 0 auto 20px; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.85; }
.returns__aside p:last-child { margin-bottom: 0; }
.returns__blocks { display: grid; gap: 25px; margin-bottom: 100px; }
.returns__blocks article { padding: 50px 55px; border: 1px solid var(--line); background: var(--ivory); }
.returns__blocks article > span { display: block; margin-bottom: 20px; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 28px; }
.returns__blocks h3 { margin-bottom: 24px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; }
.returns__blocks p { max-width: 900px; margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.returns__blocks .button, .returns__blocks .text-link { margin-top: 14px; }
.returns__final { padding: 100px 20px; text-align: center; color: white; background: var(--green); }
.returns__final .ornament { margin-bottom: 28px; color: #c4a167; font-size: 20px; }
.returns__final h2 { max-width: 900px; margin: 0 auto 24px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }
.returns__final p { max-width: 700px; margin: 0 auto 38px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.85; }
@media (max-width: 900px) {
  .returns { padding: 40px 6vw 90px; }
  .returns__cards { grid-template-columns: 1fr; }
  .returns__aside { padding: 45px 26px; }
  .returns__blocks article { padding: 35px 26px; }
  .returns__final { padding: 70px 22px; }
}
/* ===== Доставка и оплата ===== */
.delivery { max-width: 1400px; margin: auto; padding: 60px 5vw 140px; }
.delivery__intro { margin-bottom: 80px; max-width: 640px; }
.delivery__intro h1 { margin: 0 0 22px; font-size: clamp(42px, 4.5vw, 64px); }
.delivery__intro > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.8; }
.delivery__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 25px; margin-bottom: 100px; }
.delivery__line { position: relative; height: 1px; margin-bottom: 30px; background: var(--line); }
.delivery__line span { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); background: var(--ivory); font-family: "Cormorant Garamond", serif; font-size: 15px; }
.delivery__steps article:last-child .delivery__line span { border-color: var(--green); background: var(--green); color: white; }
.delivery__steps h3 { margin: 0 0 13px; font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; }
.delivery__steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.delivery__quote { padding: 65px 70px; margin-bottom: 100px; text-align: center; background: var(--green); color: white; }
.delivery__quote .ornament { margin-bottom: 25px; color: #c4a167; font-size: 20px; }
.delivery__quote p { max-width: 820px; margin: 0 auto; font-family: "Cormorant Garamond", serif; font-size: 21px; line-height: 1.55; }
.delivery__blocks { display: grid; gap: 25px; margin-bottom: 100px; }
.delivery__blocks article { padding: 50px 55px; border: 1px solid var(--line); background: var(--ivory); }
.delivery__blocks article > span { display: block; margin-bottom: 20px; color: var(--gold); font-family: "Cormorant Garamond", serif; font-size: 28px; }
.delivery__blocks h3 { margin-bottom: 24px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; }
.delivery__blocks p { max-width: 900px; margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.delivery__note { padding: 22px 26px; border-left: 2px solid var(--gold); background: #f8f5ee; color: var(--ink) !important; }
.delivery__carriers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.delivery__carrier { padding: 35px 32px; border: 1px solid var(--line); background: #f8f5ee; text-align: center; transition: border-color .3s; }
.delivery__carrier:hover { border-color: var(--gold); }
.delivery__carrier h4 { margin: 0 0 18px; font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 500; }
.delivery__carrier a { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.delivery__carrier a span { font-size: 14px; line-height: 0; }
.delivery__final { padding: 100px 20px; text-align: center; color: white; background: var(--green); }
.delivery__final h2 { margin: 0 0 30px; font-size: clamp(34px, 3.4vw, 50px); }
.delivery__final p { max-width: 700px; margin: 0 auto 18px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.85; }
.delivery__final .button { margin-top: 24px; }
@media (max-width: 1100px) {
  .delivery__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .delivery { padding: 40px 6vw 90px; }
  .delivery__quote { padding: 45px 26px; }
  .delivery__blocks article { padding: 35px 26px; }
  .delivery__carriers { grid-template-columns: 1fr; }
  .delivery__final { padding: 70px 22px; }
}
@media (max-width: 600px) {
  .delivery__steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header { height: 76px; justify-content: space-between; }
  .nav { display: none; position: absolute; top: 76px; left: 0; width: 100%; margin: 0; padding: 30px; flex-direction: column; align-items: center; color: var(--ink); background: var(--ivory); }
  .nav.open { display: flex; }
  .menu-button { display: block; }
  .actions button:nth-child(-n+2) { display: none; }
  .brand { width: 145px; }.brand__name { font-size: 24px; }
  .hero { height: 760px; }.hero__content { margin-top: 70px; }
  .category-banner { height: 560px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card__image { height: 500px; }
  .editorial { grid-template-columns: 1fr; gap: 55px; padding: 85px 6vw; }.editorial__content { padding: 0; }.mini-product__image { height: 200px; }.mini-product__info h3 { font-size: 16px; }
  .heritage { padding: 95px 8vw; grid-template-columns: 1fr; gap: 70px; }.heritage__monogram { width: 190px; height: 220px; }.heritage__monogram span { font-size: 110px; }
}

@media (max-width: 600px) {
  .announcement { height: 25px; font-size: 7px; text-align: center; font-weight: 900; }.header { top: 25px; padding: 0 20px; }.actions { margin-left: 0; }
  .hero { min-height: 700px; height: calc(100svh - 25px); }.hero__image { object-position: 62% center; }.hero__shade { background: rgba(9,17,12,.43); }
  .hero__content { padding: 0 17px; }.crest { width: 63px; height: 74px; }.crest span { font-size: 31px; }
  h1 { font-size: 25px; }.hero__lead { font-size: 16px; }.scroll-hint { display: none; }.hero__year { right: 20px; bottom: 22px; }
  .manifesto { padding: 90px 22px; }.manifesto h2 { font-size: 37px; }
  .category-banners { grid-template-columns: 1fr; }.category-banner { height: 520px; }.category-banner__content { left: 24px; bottom: 35px; }
  .collection { padding: 80px 20px; }.section-heading { margin-bottom: 38px; align-items: start; flex-direction: column; gap: 25px; }.section-heading h2 { font-size: 40px; }.catalog-filter { gap: 17px; }
  .product-grid { grid-template-columns: 1fr; gap: 45px; }.product-card__image { height: 490px; }
  .editorial { padding: 70px 24px; gap: 45px; }.editorial h2 { font-size: 44px; }.editorial__products { grid-template-columns: repeat(2, 1fr); }.mini-product__image { height: 260px; }
  .heritage { padding: 80px 24px; }.heritage h2 { font-size: 49px; }
  .services { padding: 70px 24px; grid-template-columns: 1fr; gap: 35px; }.services article { padding: 0 0 35px; border-right: 0; border-bottom: 1px solid var(--line); }.services article:last-child { padding-bottom: 0; }
  .newsletter { padding: 80px 22px; }.newsletter h2 { font-size: 42px; }.newsletter form { align-items: center; }.newsletter button { font-size: 0; gap: 0; }.newsletter button span { font-size: 20px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 35px 20px; margin-bottom: 50px; }.footer__bottom { flex-direction: column; align-items: center; gap: 13px; text-align: center; }
}

/* ===== WooCommerce ===== */
.gh-page { max-width: 900px; margin: auto; padding: 70px 5vw 140px; }
.gh-page__title { margin: 0 0 30px; font-size: clamp(38px, 4vw, 58px); }
.gh-page__content { color: var(--muted); font-size: 13px; line-height: 1.9; }
.gh-page--404 { text-align: center; }
.gh-page--404 .button { margin-top: 30px; }
.catalog-filter a { padding: 0 0 7px; border-bottom: 1px solid transparent; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.catalog-filter a:hover, .catalog-filter a.active { color: var(--ink); border-color: var(--ink); }
.catalog-content--wide { max-width: 1400px; }
ul.products { margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products, .product-grid ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 20px; align-items: start;   }
.editorial__products ul.products { display: flex; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
.catalog-content ul.products { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products li.product { position: relative; margin: 0; padding: 0; width: auto; float: none; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product img { width: 100%; height: 460px; object-fit: cover; margin: 0 0 19px; background: var(--cream); transition: transform .7s ease; }
.editorial__products ul.products li.product img { height: auto; }
.woocommerce ul.products li.product:hover img { transform: scale(1.035); }
.woocommerce ul.products li.product .onsale { position: absolute; z-index: 1; top: 18px; left: 0; min-width: 0; min-height: 0; margin: 0; padding: 8px 11px; border-radius: 0; color: white; background: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; line-height: 1; }
.woocommerce ul.products li.product h2, .woocommerce ul.products li.product h3 { margin: 0 0 5px; font-family: "Cormorant Garamond", serif; font-size: 21px; font-weight: 500; color: var(--ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; }
.woocommerce ul.products li.product .price { margin: 0 0 12px; color: var(--ink); font-size: 11px; font-weight: 500; }
.woocommerce ul.products li.product .price del { color: var(--muted); opacity: .7; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { display: none; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; min-width: 0; padding: 11px 18px; border: 1px solid var(--green); border-radius: 0; color: white; background: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .3s, background .3s; }
.woocommerce ul.products li.product .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { color: var(--green); background: transparent; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--line); padding: 9px 12px; background: transparent; color: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; outline: none; }
.woocommerce nav.woocommerce-pagination { margin-top: 70px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 10px; border: 0; margin: 0; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; font-size: 10px; font-weight: 900; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: white; border-color: var(--green); background: var(--green); }
.woocommerce nav.woocommerce-pagination ul li a:hover { border-color: var(--ink); color: var(--ink); }
.catalog-sidebar .widget { padding: 24px 0; border-bottom: 1px solid var(--line); margin: 0; }
.catalog-sidebar .widget h3 { margin: 0 0 18px; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.catalog-sidebar .widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 11px; }
.catalog-sidebar .widget ul li a { color: var(--ink); }
.catalog-sidebar .widget ul li a:hover { color: var(--gold); }
.catalog-sidebar .widget label { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.catalog-sidebar .widget input[type="checkbox"] { accent-color: var(--green); }
.catalog-sidebar .widget .ui-slider { background: var(--cream); border-radius: 0; }
.catalog-sidebar .widget .ui-slider .ui-slider-range, .catalog-sidebar .widget .ui-slider .ui-slider-handle { background: var(--green); border-radius: 0; }
.catalog-sidebar .widget .button { display: inline-flex; margin-top: 15px; padding: 10px 16px; border: 1px solid var(--green); color: var(--green); background: transparent; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--green); background: #f8f5ee; font-size: 12px; }
.woocommerce div.product p.price { color: var(--green); font-family: "Cormorant Garamond", serif; font-size: 26px; }
.woocommerce div.product .product_title { font-family: "Cormorant Garamond", serif; font-weight: 500; }
.woocommerce div.product form.cart .button { padding: 16px 30px; }
.woocommerce-tabs ul.tabs li { border-radius: 0; }
.woocommerce-tabs ul.tabs li a { font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.catalog-content { width: 85%;
}
@media (max-width: 900px) {
  .woocommerce ul.products, .product-grid ul.products { grid-template-columns: repeat(2, 1fr); }
  .catalog-content ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products li.product img { height: 500px; }
}
@media (max-width: 600px) {
  .woocommerce ul.products, .product-grid ul.products, .catalog-content ul.products { grid-template-columns: 1fr; }
  .woocommerce ul.products li.product img { height: 490px; }
}
/* ===== Отключение стандартного clearfix WooCommerce для Grid-сеток ===== */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.product-grid ul.products::before,
.product-grid ul.products::after,
.editorial__products ul.products::before,
.editorial__products ul.products::after,
.catalog-content ul.products::before,
.catalog-content ul.products::after {
    content: none !important;
    display: none !important;
}


/* ===== Премиальные типографические блоки (компактные, с анимацией заполнения) ===== */
.gh-gender-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--line);
    max-width: 1400px;
    margin: 80px auto;
}

.gh-gender-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-decoration: none;
    overflow: hidden;
    background-color: var(--ivory);
    color: var(--ink);
    transition: color 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Зеленый слой для анимации заполнения */
.gh-gender-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--green);
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* Золотистая декоративная рамка */
.gh-gender-card::after {
    content: "";
    position: absolute;
    inset: 35px;
    border: 1px solid var(--gold);
    pointer-events: none;
    transition: all 0.6s ease;
    z-index: 2;
    opacity: 0.4;
}

/* Контент */
.gh-gender-card__content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

/* Заголовок (уменьшенный, чтобы помещался) */
.gh-gender-card__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ссылка */
.gh-gender-card__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Manrope", sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    transition: all 0.4s ease;
}

.gh-gender-card__link svg {
    transition: transform 0.4s ease;
}

/* ===== HOVER-ЭФФЕКТЫ ===== */
.gh-gender-card:hover::before {
    transform: scale(1);
}

.gh-gender-card:hover::after {
    inset: 25px;
    opacity: 1;
    border-color: var(--gold);
}

.gh-gender-card:hover {
    color: var(--ivory);
}

.gh-gender-card:hover .gh-gender-card__title {
    letter-spacing: 0.18em;
    transform: translateY(-5px);
}

.gh-gender-card:hover .gh-gender-card__link {
    border-color: var(--gold);
}

.gh-gender-card:hover .gh-gender-card__link svg {
    transform: translateX(8px);
}

/* ===== Адаптивность ===== */
@media (max-width: 1100px) {
    .gh-gender-split {
        max-width: 90%;
        margin: 60px auto;
    }
}

@media (max-width: 900px) {
    .gh-gender-split {
        grid-template-columns: 1fr;
        max-width: 90%;
        margin: 60px auto;
    }
    
    .gh-gender-card {
        min-height: 50vh;
    }
    
    .gh-gender-card__title {
        font-size: clamp(42px, 10vw, 80px);
        letter-spacing: 0.12em;
    }
    
    .gh-gender-card::after {
        inset: 25px;
    }
    
    .gh-gender-card:hover::after {
        inset: 20px;
    }
}

@media (max-width: 600px) {
    .gh-gender-split {
        max-width: 95%;
        margin: 40px auto;
    }
    
    .gh-gender-card {
        min-height: 45vh;
    }
    
    .gh-gender-card__title {
        font-size: clamp(36px, 12vw, 60px);
        letter-spacing: 0.1em;
    }
    
    .gh-gender-card__content {
        gap: 25px;
    }
    
    .gh-gender-card::after {
        inset: 20px;
    }
}


/* Фикс позиционирования счетчика корзины */
.header-cart { position: relative; display: flex; align-items: center; }

/* ===== Поисковый оверлей ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(23, 26, 22, 0.95); /* var(--ink) с прозрачностью */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-overlay__inner {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    transform: translateY(20px);
    transition: transform .4s ease;
}
.search-overlay.active .search-overlay__inner {
    transform: translateY(0);
}
.search-overlay__close {
    position: absolute;
    top: -60px;
    right: 20px;
    background: transparent;
    border: 0;
    color: var(--ivory);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color .3s;
}
.search-overlay__close:hover { color: var(--gold); }
.search-overlay__form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gold);
}
.search-overlay__input {
    flex: 1;
    padding: 20px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--ivory);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: .02em;
}
.search-overlay__input::placeholder {
    color: rgba(245, 241, 232, 0.4);
}
.search-overlay__submit {
    padding: 20px 0 20px 20px;
    border: 0;
    background: transparent;
    color: var(--gold);
    font-family: "Manrope", sans-serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .3s;
}
.search-overlay__submit:hover { color: var(--ivory); }

 

/* ===== Стилизация фильтров WooCommerce Blocks под макет ===== */

/* Основной контейнер сайдбара */
.catalog-sidebar .wc-block-product-filters__overlay-content,
.catalog-sidebar .wc-block-product-filters {
    padding: 0;
}

/* Заголовок "Фильтры" */
.catalog-sidebar .wc-block-product-filters__overlay-content > h2.wp-block-heading,
.catalog-sidebar .wc-block-product-filters > h2.wp-block-heading {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* Кнопка "Сбросить" (если используется стандартный блок активных фильтров) */
.catalog-sidebar .wc-block-product-filter-active-attributes .wc-block-product-filter-active-attributes__clear-button {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}
.catalog-sidebar .wc-block-product-filter-active-attributes .wc-block-product-filter-active-attributes__clear-button:hover {
    color: var(--ink);
}

/* Отдельные секции фильтров (Цена, Категория, Размер и т.д.) */
.catalog-sidebar .wp-block-woocommerce-product-filter-attribute,
.catalog-sidebar .wp-block-woocommerce-product-filter-price,
.catalog-sidebar .wp-block-woocommerce-product-filter-taxonomy {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}
.catalog-sidebar .wp-block-woocommerce-product-filter-attribute:first-child,
.catalog-sidebar .wp-block-woocommerce-product-filter-price:first-child,
.catalog-sidebar .wp-block-woocommerce-product-filter-taxonomy:first-child {
    padding-top: 0;
}

/* Заголовки секций (Цена, Категория...) */
.catalog-sidebar .wp-block-woocommerce-product-filter-attribute h3,
.catalog-sidebar .wp-block-woocommerce-product-filter-price h3,
.catalog-sidebar .wp-block-woocommerce-product-filter-taxonomy h3 {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 18px 0;
}

/* Список чекбоксов */
.wc-block-product-filter-checkbox-list__items {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Лейбл чекбокса */
.wc-block-product-filter-checkbox-list__label {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    color: var(--ink);
    cursor: pointer;
    transition: color 0.3s;
}
.wc-block-product-filter-checkbox-list__label:hover {
    color: var(--gold);
}

/* Сам чекбокс */
.wc-block-product-filter-checkbox-list__input {
    width: 14px;
    height: 14px;
    accent-color: var(--green);
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

/* ===== Цветные кружки (Swatches) ===== */
/* Гарантируем, что кружок стоит перед текстом и не ломает верстку */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--line);
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
}
/* Фикс, если JS случайно поместил текст внутрь span.swatch */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch.wc-block-product-filter-checkbox-list__text {
    display: inline-flex;
    align-items: center;
    padding-left: 22px; /* Отступ для имитации кружка слева */
    background-size: 13px 13px;
    background-position: left center;
    background-repeat: no-repeat;
    border: none;
    padding: 0 0 0 22px;
}

/* ===== Фильтр цены ===== */
.wc-block-product-filter-price-slider__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Поля ввода "от" и "до" */
.wc-block-product-filter-price-slider__left.text input.min,
.wc-block-product-filter-price-slider__right.text input.max {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 11px;
    color: var(--ink);
    outline: none;
    text-align: center;
    transition: border-color 0.3s;
}
.wc-block-product-filter-price-slider__left.text input.min:focus,
.wc-block-product-filter-price-slider__right.text input.max:focus {
    border-color: var(--green);
}

/* Скрываем стандартный ползунок Gutenberg, если он мешает, или стилизуем его минималистично */
.wc-block-product-filter-price-slider__range {
    display: flex;
    gap: 10px;
    align-items: center;
}
.wc-block-product-filter-price-slider__range input[type="range"] {
    width: 100%;
    accent-color: var(--green);
    height: 3px;
    background: var(--cream);
    border-radius: 0;
    appearance: none;
    cursor: pointer;
}

/* ===== ИСПРАВЛЕНИЕ ФИЛЬТРА ЦЕНЫ ===== */

/* Контейнер ползунка — база для позиционирования */
.wc-block-product-filter-price-slider__range {
    position: relative;
    width: 100%;
    height: 40px; /* Увеличиваем высоту для удобства */
    margin-bottom: 25px;
    background: transparent;
}

/* Линия ползунка (серая) */
.wc-block-product-filter-price-slider__range .range-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--line);
    border-radius: 0;
}

/* Активная зона (зеленая между маркерами) */
.wc-block-product-filter-price-slider__range::before {
    content: '';
    position: absolute;
    left: var(--low, 0%);
    right: calc(100% - var(--high, 100%));
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--green);
    z-index: 1;
    pointer-events: none;
}

/* Левый маркер (min) */
.wc-block-product-filter-price-slider__range::after {
    content: '';
    position: absolute;
    left: var(--low, 0%);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--ivory);
    z-index: 2;
    pointer-events: none;
}

/* Правый маркер (max) — через отдельный псевдоэлемент на .range-bar */
.wc-block-product-filter-price-slider__range .range-bar::after {
    content: '';
    position: absolute;
    right: calc(100% - var(--high, 100%));
    top: 50%;
    transform: translate(50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--ivory);
    z-index: 2;
    pointer-events: none;
}

/* Скрываем стандартные input type="range" но оставляем функциональность */
.wc-block-product-filter-price-slider__range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 3;
    pointer-events: all;
}

/* ===== ПОЛЯ ВВОДА В ОДНУ ЛИНИЮ ===== */
.wc-block-product-filter-price-slider__content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 15px;
    align-items: stretch;
}

/* Ползунок на всю ширину */
.wc-block-product-filter-price-slider__range {
    grid-column: 1 / -1;
}

/* Поля ввода */
.wc-block-product-filter-price-slider__left.text,
.wc-block-product-filter-price-slider__right.text {
    width: 100%;
}

.wc-block-product-filter-price-slider__left.text input.min,
.wc-block-product-filter-price-slider__right.text input.max {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--ivory);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--ink);
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.wc-block-product-filter-price-slider__left.text input.min:focus,
.wc-block-product-filter-price-slider__right.text input.max:focus {
    border-color: var(--green);
}

/* ===== СКРОЛЛ САЙДБАРА БЕЗ ВИДИМОЙ ПОЛОСЫ ===== */
.catalog-sidebar {
    position: sticky;
    top: 30px;
    width: 15%;
    max-height: calc(100vh - 150px); /* Ограничиваем высоту */
    overflow-y: auto; /* Включаем скролл */
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox — скрываем скролл */
    -ms-overflow-style: none; /* IE/Edge — скрываем скролл */
    padding-right: 10px; /* Компенсация ширины скролла */
}

/* Chrome/Safari — скрываем скролл */
.catalog-sidebar::-webkit-scrollbar {
    display: none;
}

/* При наведении показываем тонкий скролл */
.catalog-sidebar:hover {
    overflow-y: overlay;
}

.catalog-sidebar:hover::-webkit-scrollbar {
    width: 4px;
    display: block;
}

.catalog-sidebar:hover::-webkit-scrollbar-track {
    background: transparent;
}

.catalog-sidebar:hover::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 2px;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .wc-block-product-filter-price-slider__content {
        grid-template-columns: 1fr; /* На мобильных в колонку */
    }
    
    .catalog-sidebar {
        max-height: none;
        overflow-y: visible;
    }
}

/* ===== ИСПРАВЛЕНИЕ ФИЛЬТРОВ ===== */

/* 1. УБИРАЕМ СКРОЛЛ САЙДБАРА */
.catalog-sidebar {
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
}

.catalog-sidebar::-webkit-scrollbar {
    display: none !important;
}

/* 2. ПОЛЯ ВВОДА ЦЕНЫ - ПО ВСЕЙ ШИРИНЕ В ДВЕ КОЛОНКИ */
.wc-block-product-filter-price-slider__content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 15px;
}

/* Ползунок на всю ширину */
.wc-block-product-filter-price-slider__range {
    grid-column: 1 / -1;
    margin-bottom: 0px;
    position: relative;
    height: 40px;
}

/* Линия ползунка */
.wc-block-product-filter-price-slider__range .range-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--line);
}

/* Активная зона (зеленая) */
.wc-block-product-filter-price-slider__range::before {
    content: '';
    position: absolute;
    left: var(--low, 0%);
    right: calc(100% - var(--high, 100%));
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--green);
    z-index: 1;
}

/* Левый маркер */
.wc-block-product-filter-price-slider__range::after {
    content: '';
    position: absolute;
    left: var(--low, 0%);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--ivory);
    z-index: 2;
}

/* Правый маркер */
.wc-block-product-filter-price-slider__range .range-bar::after {
    content: '';
    position: absolute;
    right: calc(100% - var(--high, 100%));
    top: 50%;
    transform: translate(50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: var(--ivory);
    z-index: 2;
}

/* Скрываем стандартные input range */
.wc-block-product-filter-price-slider__range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 3;
}

/* Подписи "от" и "до" */
.wc-block-product-filter-price-slider__left.text::before,
.wc-block-product-filter-price-slider__right.text::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.wc-block-product-filter-price-slider__left.text::before {
    content: 'от';
}

.wc-block-product-filter-price-slider__right.text::before {
    content: 'до';
}

/* Поля ввода */
.wc-block-product-filter-price-slider__left.text input.min,
.wc-block-product-filter-price-slider__right.text input.max {
    width: 100%;
    padding: 5px 5px;
    border: 1px solid var(--line);
    background: var(--ivory);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--ink);
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.wc-block-product-filter-price-slider__left.text input.min:focus,
.wc-block-product-filter-price-slider__right.text input.max:focus {
    border-color: var(--green);
}

/* 3. ФИКС КРУЖКОВ ЦВЕТА - ЧТОБЫ НЕ НАЛЕГАЛИ */
.wc-block-product-filter-checkbox-list__text-wrapper {
    display: flex;
    align-items: center;
}

.wc-block-product-filter-checkbox-list__text-wrapper .swatch {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--line);
    flex-shrink: 0;
    margin-right: 12px;
    position: relative;
    top: 0;
}

/* 4. РАЗМЕРЫ В ТРИ СТОЛБЦА */
.wp-block-woocommerce-product-filter-attribute[data-attribute-id="1"] .wc-block-product-filter-checkbox-list__items,
.catalog-sidebar .wc-block-product-filter-checkbox-list[data-wp-context*="razmer"] .wc-block-product-filter-checkbox-list__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .wc-block-product-filter-price-slider__content {
        grid-template-columns: 1fr; /* На планшетах в колонку */
    }
    
    .wc-block-product-filter-price-slider__range {
        order: -1;
    }
}

@media (max-width: 600px) {
    /* На мобильных размеры в 4 колонки */
    .wp-block-woocommerce-product-filter-attribute[data-attribute-id="1"] .wc-block-product-filter-checkbox-list__items,
    .catalog-sidebar .wc-block-product-filter-checkbox-list[data-wp-context*="razmer"] .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    /* Поля цены на мобильных тоже в колонку */
    .wc-block-product-filter-price-slider__content {
        grid-template-columns: 1fr;
    }
    
    .wc-block-product-filter-price-slider__left.text input.min,
    .wc-block-product-filter-price-slider__right.text input.max {
        padding: 12px 14px;
    }
}


/* ===== ФИКС ЦВЕТНЫХ КРУЖКОВ — УНИВЕРСАЛЬНЫЙ ===== */

/* Случай 1: Если текст ВНУТРИ swatch (неправильная структура) */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch:not(:empty) {
    display: inline-flex;
    align-items: center;
    padding-left: 22px; /* Отступ для имитации кружка слева */
    background-color: inherit !important; /* Берем цвет из inline-style */
    background-position: left center;
    background-size: 13px 13px;
    background-repeat: no-repeat;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: auto;
    min-width: 13px;
    height: 13px;
    margin-right: 0;
    position: relative;
}

/* Создаем кружок через псевдоэлемент */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch:not(:empty)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: inherit;
    border: 1px solid var(--line);
}

/* Случай 2: Если swatch пустой и текст отдельно (правильная структура) */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch:empty {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--line);
    margin-right: 12px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Унифицируем отображение для всех кружков */
.wc-block-product-filter-checkbox-list__text-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Скрываем текст внутри swatch (он будет дублироваться) */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch:not(:empty) {
    color: transparent;
}

/* Если после swatch идет текст — показываем его */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch + .wc-block-product-filter-checkbox-list__text,
.wc-block-product-filter-checkbox-list__text-wrapper .swatch + span:not(.swatch) {
    display: inline;
    color: var(--ink);
}
ul.products.columns-4 {
    padding-top: 15px;
}

@media="only screen and (max-width: 768px)" {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%; width: 100%;
    
    }
}
/* ===== ФИНАЛЬНЫЕ ПРАВКИ ФИЛЬТРОВ (актуальные, перекрывают всё выше) ===== */

/* --- Цветные кружки: единая корректная структура --- */
.wc-block-product-filter-checkbox-list__text-wrapper {
    display: flex;
    align-items: center;
}

.wc-block-product-filter-checkbox-list__text-wrapper .swatch {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid var(--line);
    margin-right: 12px;
    flex-shrink: 0;
    vertical-align: middle;
    padding: 0;
    background-size: 13px 13px;
    background-repeat: no-repeat;
}

/* Если гидрация WP вставила текст внутрь кружка — прячем его, не ломая кружок */
.wc-block-product-filter-checkbox-list__text-wrapper .swatch:not(:empty) {
    font-size: 0;
    color: transparent;
    width: 13px;
    min-width: 13px;
    height: 13px;
    padding: 0;
    overflow: hidden;
    background-color: inherit;
    background-image: none;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.wc-block-product-filter-checkbox-list__text-wrapper .swatch:not(:empty)::before {
    content: none;
}

.wc-block-product-filter-checkbox-list__text {
    color: var(--ink);
    font-size: 13px;
}

/* --- Фильтр цены: зеленые маркеры без обрезки + компактные поля ---
   Специфичность повышена через .wp-block-woocommerce-product-filter-price и !important,
   потому что стили блоков WooCommerce грузятся ПОСЛЕ style.css темы и перебивают обычные правила. */

/* Контейнер: СТРОКА 1 — ползунок на всю ширину, СТРОКА 2 — поля "от/до" ниже него */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__content {
    display: grid !important;
    flex-direction: row !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 12px;
}

/* Ползунок — первая строка, на всю ширину, с внутренними отступами, чтобы маркеры не обрезались */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    order: 0 !important;
    flex: none !important;
    width: auto !important;
    display: block !important;
    position: relative !important;
    height: 24px !important;
    margin: 6px 9px 16px !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Ползунок — первая строка, с внутренними отступами, чтобы маркеры не обрезались */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range {
    order: -1 !important;
    flex: 1 0 90% !important;
    grid-column: auto !important;
    display: block !important;
    position: relative !important;
    height: 24px !important;
    margin: 6px 9px 16px !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Серая линия-трек */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range::before {
    content: '' !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--line);
    z-index: 0;
    pointer-events: none;
}

/* Активная (зеленая) зона между маркерами — на .range-bar */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range .range-bar {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 0 !important;
    width: auto !important;
    background: transparent !important;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range .range-bar::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: var(--low, 0%);
    right: calc(100% - var(--high, 100%));
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--green);
    z-index: 1;
    pointer-events: none;
}

/* ОБА маркера — одинаковые сплошные зеленые кружки */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range::after,
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range .range-bar::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: auto !important;
    right: auto !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid var(--green) !important;
    border-radius: 50% !important;
    background: var(--green) !important;
    box-shadow: 0 0 0 3px rgba(24, 56, 45, .12);
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Левый маркер (min) */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range::after {
    left: var(--low, 0%) !important;
    transform: translate(-50%, -50%) !important;
}

/* Правый маркер (max) */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range .range-bar::after {
    right: calc(100% - var(--high, 100%)) !important;
    transform: translate(50%, -50%) !important;
}

/* Нативные input range скрыты, но остаются рабочими */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__range input[type="range"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 3 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: all !important;
}

/* Поля "от / до" — вторая строка, каждое в своей колонке */
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__left.text,
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    width: auto !important;
    min-width: 0 !important;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__left.text {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__left.text::before,
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text::before {
    content: 'от' !important;
    display: inline !important;
    margin: 0 !important;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text::before {
    content: 'до' !important;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__left.text input.min,
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text input.max {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 10px !important;
    border: 1px solid var(--line) !important;
    background: var(--ivory) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em;
    color: var(--ink) !important;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__left.text input.min:focus,
.wp-block-woocommerce-product-filter-price .wc-block-product-filter-price-slider__right.text input.max:focus {
    border-color: var(--green) !important;
}

/* --- Тексты фильтров в сайдбаре: 13px --- */
.catalog-sidebar .wc-block-product-filter-checkbox-list__label,
.catalog-sidebar .wc-block-product-filter-checkbox-list__text-wrapper,
.catalog-sidebar .filter__options label,
.catalog-sidebar .widget ul,
.catalog-sidebar .widget label {
    font-size: 13px;
}

/* Заголовки секций фильтров — чуть крупнее, сохраняя стиль */
.catalog-sidebar .wp-block-woocommerce-product-filter-attribute h3,
.catalog-sidebar .wp-block-woocommerce-product-filter-price h3,
.catalog-sidebar .wp-block-woocommerce-product-filter-taxonomy h3,
.catalog-sidebar .filter h3 {
    font-size: 10px;
}

@media (max-width: 600px) {
    .wc-block-product-filter-price-slider__left.text input.min,
    .wc-block-product-filter-price-slider__right.text input.max {
        padding: 12px 10px;
    }
}

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ (финальная) ===== */

/* --- Товары: 2 в ряд на планшетах и мобильных --- */
@media (max-width: 900px) {
    /* Сетка товаров каталога — 2 колонки и на планшете, и на телефоне */
    .woocommerce ul.products,
    .product-grid ul.products,
    .catalog-grid,
    .catalog-content ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 36px 12px !important;
    }

    /* Компактные карточки */
    .woocommerce ul.products li.product img,
    .product-card__image {
        height: 340px;
    }

    .woocommerce ul.products li.product h2,
    .woocommerce ul.products li.product h3 {
        font-size: 17px;
    }

    .woocommerce ul.products li.product .price {
        font-size: 10px;
    }

    .woocommerce ul.products li.product .button {
        padding: 9px 14px;
        font-size: 7px;
    }

    /* Сайдбар фильтров: во всю ширину над каталогом, без sticky */
    .catalog-layout { display: block; }
    .catalog-sidebar,
    .catalog-content {
        width: 100% !important;
    }
    .catalog-sidebar { position: static !important; margin-bottom: 30px; }

    /* Секции фильтров — компактнее, с внутренними отступами 15px */
    .catalog-sidebar .wp-block-woocommerce-product-filter-attribute,
    .catalog-sidebar .wp-block-woocommerce-product-filter-price,
    .catalog-sidebar .wp-block-woocommerce-product-filter-taxonomy,
    
    .catalog-sidebar .wc-block-product-filters__overlay-content {
        padding: 15px !important;
    }

    /* Цвета и все списки, кроме размеров — в один столбец */
    .catalog-sidebar .wc-block-product-filter-checkbox-list__items {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    /* Размеры — в три столбца */
    .catalog-sidebar .wp-block-woocommerce-product-filter-attribute[data-attribute-id="1"] .wc-block-product-filter-checkbox-list__items,
    .catalog-sidebar .wc-block-product-filter-checkbox-list[data-wp-context*="razmer"] .wc-block-product-filter-checkbox-list__items {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    /* «Показать больше» — на 10px ниже чекбоксов */
    .catalog-sidebar .wc-block-product-filter-checkbox-list__show-more {
        margin-top: 10px;
        padding-top: 10px;
    }

    /* Ничего не вылезает за пределы фильтра */
    .catalog-sidebar,
    .catalog-sidebar * {
        min-width: 0;
    }

    .catalog-sidebar { max-width: 100%; overflow-x: hidden; }

    .wc-block-product-filter-checkbox-list__label {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        word-break: break-word;
    }

    /* Поля ввода цены — всегда видимы, показывают значения ползунка */
    .wc-block-product-filter-price-slider__left.text,
    .wc-block-product-filter-price-slider__right.text {
        display: flex !important;
        flex: 1 1 0 !important;
        visibility: visible !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .wc-block-product-filter-price-slider__left.text input.min,
    .wc-block-product-filter-price-slider__right.text input.max {
        display: block !important;
        visibility: visible !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    /* Товары — строго 2 в ряд */
    .woocommerce ul.products,
    .product-grid ul.products,
    .catalog-grid,
    .catalog-content ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px 10px !important;
    }

    .woocommerce ul.products li.product img,
    .product-card__image {
        height: 300px;
    }

    .woocommerce ul.products li.product img { margin-bottom: 12px; }
    .woocommerce ul.products li.product h2,
    .woocommerce ul.products li.product h3 { font-size: 15px; }
    .woocommerce ul.products li.product .price { margin-bottom: 8px; }

    .product-card__info { padding: 12px 0 0; gap: 10px; }
    .product-card__info h3 { font-size: 16px; }
    .product-card__info p { font-size: 7px; }
    .product-card__info strong { font-size: 10px; }

    .mini-product__info h3 { font-size: 14px; }
    .mini-product__info strong { font-size: 9px; }

    /* Заголовок каталога — компактно */
    .catalog-page__heading { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; }

    /* Тулбар сортировки — в строку, аккуратно */
    .catalog-toolbar { flex-direction: row; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; }
    .catalog-toolbar select { padding: 7px 10px; }

    /* Пагинация — переносится, не вылезает */
    .pagination { flex-wrap: wrap; gap: 8px; margin-top: 50px; }
    .pagination a { min-width: 38px; height: 38px; }

    /* Фильтры — один столбец (размеры — три, задано выше), без горизонтального скролла */
    .catalog-sidebar .wc-block-product-filter-checkbox-list__items {
        grid-template-columns: 1fr !important;
    }
}

/* --- Подвал: мобильная версия --- */
@media (max-width: 900px) {
    .footer { padding: 60px 6vw 26px; }
    .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; max-width: 560px; }
    .footer__bottom { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
}

@media (max-width: 600px) {
    .footer { padding: 50px 20px 24px; }
    .brand--footer { margin-bottom: 38px; }

    /* Навигация — 2 колонки с разделителем по центру */
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
        margin: 0 auto 40px;
        padding: 0 4px;
    }

    .footer__col { text-align: left; }
    .footer__col h4 { margin-bottom: 14px; font-size: 18px; }
    .footer__col a { margin-bottom: 10px; font-size: 10px; letter-spacing: .08em; }

    /* Нижняя строка — по центру, компактно */
    .footer__bottom {
        padding-top: 18px;
        flex-direction: column;
        gap: 7px;
        font-size: 8px;
    }
}

/* Очень узкие экраны — ничего не вылезает */
@media (max-width: 360px) {
    .woocommerce ul.products li.product img,
    .product-card__image { height: 260px; }
    .woocommerce ul.products li.product h2,
    .woocommerce ul.products li.product h3 { font-size: 14px; }
    .catalog-sidebar .wc-block-product-filter-checkbox-list__items { grid-template-columns: 1fr !important; }
    .footer__nav { gap: 22px 12px; }
}

/* ===== Правило пользователя (не удалять!) ===== */
@media only screen and (max-width: 768px) {
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }
}

/* ===== Кнопка "Закрыть" в фильтрах — иконка × вместо текста ===== */
.wc-block-product-filters__close-button,
.wc-block-product-filters__close,
.catalog-sidebar button.wc-block-product-filters__close-button {
    font-size: 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    cursor: pointer;
    flex-shrink: 0 !important;
}

.wc-block-product-filters__close-button::before,
.wc-block-product-filters__close::before {
    content: '\00d7' !important;
    display: block !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: var(--ink) !important;
    font-family: "Manrope", sans-serif !important;
}

.wc-block-product-filters__close-button:hover::before,
.wc-block-product-filters__close:hover::before {
    color: var(--gold) !important;
}


@media only screen and (max-width: 768px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: left;
        clear: both;
        margin: 0 0 2.992em;
    }
}



.woocommerce .woocommerce-ordering select {
    font-weight: 600;
    margin: 0;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: 0px;
    padding: 0px;
}