:root {
    /* ===== Палитра Гармонии Востока (v6) — фирменный зелёный вместо беж/золота ===== */
    --bg: #f1f7ef;          /* светлый зелёно-белый (было тёплое беж) */
    --bg-2: #e3efdf;        /* светлый шалфей */
    --card: #ffffff;
    --ink: #15281a;         /* глубокий лесной (тексты/заголовки) */
    --ink-2: #2c4733;       /* лесной (вторичный текст) */
    --muted: #6c7d6f;       /* приглушённый шалфейно-серый */
    --accent: #1f9a36;      /* фирменный листовой зелёный (как логотип) */
    --accent-2: #2bb048;    /* ярче — ховеры */
    --accent-soft: #d8efd4; /* мягкий зелёный фон чипов/иконок */
    --warm: #3a8f2f;        /* вторичный зелёный (был тёплый золотой) */
    --warm-soft: #e4f2cf;   /* светлый оливковый тинт */
    --line: #dbe8d2;        /* зелёная тонкая линия (было беж) */
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(21, 40, 26, .06), 0 8px 24px rgba(21, 40, 26, .08);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
    color: var(--ink);
}

h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 18px; }

.muted { color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--warm); font-weight: 600; }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241, 247, 239, .9);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink) !important;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.brand-text small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nav {
    margin-left: 24px;
    display: flex;
    gap: 22px;
    flex: 1;
    flex-wrap: wrap;
}
.nav a {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 15px;
}
.nav a:hover { color: var(--accent); }

.header-cta { display: inline-flex; gap: 10px; }

@media (max-width: 720px) {
    .nav { display: none; }
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-warm { background: var(--warm); color: #fff; }
.btn-warm:hover { background: #2f7d28; color: #fff; }

/* Marketplace buttons OZON / WB */
.btn-mp { padding: 11px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.btn-ozon { background: #005bff; color: #fff; }
.btn-ozon:hover { background: #0049cc; color: #fff; }
.btn-wb { background: #cb11ab; color: #fff; }
.btn-wb:hover { background: #a30c8a; color: #fff; }
.btn-disabled { background: var(--bg-2); color: var(--muted); border: 1px dashed var(--line); cursor: not-allowed; }
.btn-disabled:hover { background: var(--bg-2); color: var(--muted); }

/* HERO */
.hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(800px 400px at 110% -10%, var(--warm-soft) 0%, transparent 60%),
        radial-gradient(700px 400px at -10% 110%, var(--accent-soft) 0%, transparent 60%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero .lead {
    font-size: 18px;
    color: var(--ink-2);
    max-width: 540px;
    margin: 18px 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 50% 100%, var(--accent-soft) 0%, transparent 60%);
}
.hero-glyph {
    position: relative;
    font-size: clamp(140px, 24vw, 240px);
    line-height: 1;
    color: var(--accent);
    opacity: .65;
    font-weight: 200;
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { aspect-ratio: 16 / 10; }
    .hero-glyph { font-size: 120px; }
}

/* SECTIONS */
.section { padding: 64px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.section-head p { color: var(--muted); margin: 0; max-width: 580px; }

/* USP */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.usp-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.usp-card .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.usp-card h3 { font-size: 16px; margin: 0 0 6px; }
.usp-card p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 920px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .usp-grid { grid-template-columns: 1fr; } }

/* BRANDS */
.brands-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.brand-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.brand-card .b-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 6px;
}
.brand-card .b-intro { color: var(--ink-2); font-size: 13px; margin-bottom: 8px; }
.brand-card .b-count { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 720px) { .brands-strip { grid-template-columns: repeat(2, 1fr); } }

/* CATALOG GRID */
.filter-row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-chip {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink-2);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 16px;
    min-width: 240px;
}
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: var(--ink);
    padding: 6px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1000px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-thumb {
    aspect-ratio: 1 / 1;
    background: #f1f7ef;
    position: relative;
    overflow: hidden;
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
}
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { font-size: 11px; color: var(--warm); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.product-name {
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0 0 8px;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}
.product-price .old { color: var(--muted); font-weight: 500; font-size: 13px; text-decoration: line-through; }
.product-foot { display: flex; gap: 6px; margin-top: 12px; }
.product-foot > .btn { flex: 1 1 0; min-width: 0; padding: 11px 8px; font-size: 13px; text-align: center; }
.product-foot > .btn-more { flex: 2 1 0; }
.product-subtitle { font-size: 12px; color: var(--muted); margin: 2px 0 4px; text-transform: lowercase; }

/* PRODUCT PAGE */
.product-page { padding: 40px 0 64px; }
.product-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

.gallery-main {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.gallery-thumbs button {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: border-color .15s ease;
}
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info .kicker { margin-bottom: 6px; display: inline-block; }
.product-info h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 16px 0 24px;
}
.price-block .price { font-size: 32px; font-weight: 800; color: var(--ink); }
.price-block .old-price { color: var(--muted); text-decoration: line-through; font-size: 18px; }
.price-block .save {
    background: var(--warm-soft);
    color: var(--warm);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.buy-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.buy-row .btn { padding: 14px 24px; font-size: 15px; }
.btn-lg { padding: 14px 22px !important; font-size: 15px !important; min-width: auto; }

.product-sub { color: var(--muted); margin: 0 0 14px; text-transform: lowercase; font-size: 14px; }
.feat-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.feat-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.product-descr p { margin: 0 0 12px; }
.product-descr p:last-child { margin-bottom: 0; }

.attr-list {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 24px;
}
.attr-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}
.attr-row:last-child { border-bottom: 0; }
.attr-row .k { color: var(--muted); }

.product-descr {
    margin-top: 16px;
    font-size: 15px;
    color: var(--ink-2);
    white-space: pre-line;
}

/* ABOUT / CONTACTS */
.text-page { padding: 56px 0; }
.text-page h1 { margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 720px; }
.text-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 32px; }
@media (max-width: 820px) { .text-grid { grid-template-columns: 1fr; } }
.text-grid article p { margin: 0 0 14px; color: var(--ink-2); }
.text-grid aside {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    align-self: start;
}
.text-grid aside h3 { font-size: 16px; }
.text-grid aside p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
.text-grid aside a { font-weight: 600; }

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}
.contact-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.contact-card .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.contact-card h3 { font-size: 16px; margin: 0 0 6px; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.contact-card a { font-weight: 600; }
@media (max-width: 760px) { .contacts-grid { grid-template-columns: 1fr; } }

/* CTA BAND */
.cta-band {
    padding: 56px 0;
    background: linear-gradient(120deg, var(--accent) 0%, var(--ink) 100%);
    color: #fff;
    border-radius: 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* FOOTER */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 40px 0 28px;
    color: var(--ink-2);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 28px;
}
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* REQUISITES list */
.req-list {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 13px;
}
.req-list dt {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}
.req-list dt:first-child { margin-top: 0; }
.req-list dd {
    margin: 2px 0 0;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.4;
}

/* BREADCRUMBS */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 6px; }

/* PAGINATION info */
.results-info { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }
