/* ============================================================
   MONOLINE — дизайн-система за специфікацією
   Строго два кольори: чорний і білий. Без скруглень, без тіней,
   без градієнтів (крім штриховки-заглушки). Bodoni Moda + Archivo.
   ============================================================ */

:root {
    --ink: #0a0a0a;
    --paper: #ffffff;
    --line: #e2e2e2;
    --line-soft: #f0f0f0;
    --hover-bg: #f4f4f4;
    --surface-alt: #fafafa;
    --muted: #666666;
    --muted-2: #888888;
    --muted-3: #999999;
    --disabled: #bbbbbb;
    --disabled-2: #cccccc;
    --ink-line: #222222;
    --ink-line-2: #1c1c1c;
    --on-ink-muted: #b0b0b0;
    --on-ink-muted-2: #888888;
    --ink-hover: #333333;
    --paper-hover: #c9c9c9;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    margin: 0;
    font-family: 'Archivo', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
* { border-radius: 0 !important; }
h1, h2, h3 { font-family: 'Bodoni Moda', serif; font-weight: 400; line-height: 1; margin: 0; }
p { margin: 0; }

.container { max-width: 1280px; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 0 36px; }
@media (max-width: 760px) { .container { padding: 0 16px; } }
@media (max-width: 900px) { .home-card-grid { padding: 0 16px; } .shelf-row { padding-left: 16px; padding-right: 16px; } .section-title-row { padding-left: 16px; padding-right: 16px; } }

/* ---------- Заглушка фото (діагональна штриховка) ---------- */
.ph {
    background: repeating-linear-gradient(45deg, #f2f2f2 0 8px, #fafafa 8px 16px);
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.ph::after {
    content: attr(data-label);
    font: 500 10px Archivo, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #999;
}
.ph.dark { background: repeating-linear-gradient(45deg, #191919 0 9px, #101010 9px 18px); }
.ph.dark::after { color: #666; }

/* ---------- Кнопки ---------- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff !important; border: none;
    padding: 17px 34px;
    font: 600 12px/1 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary:hover { background: var(--ink-hover); text-decoration: none; }
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-primary:disabled { background: var(--line); color: var(--muted-3); cursor: default; }
.btn-primary.block { width: 100%; padding: 16px 0; }
.on-ink .btn-primary { background: #fff; color: var(--ink) !important; }
.on-ink .btn-primary:hover { background: var(--paper-hover); }
.btn-primary.on-ink { background: #fff; color: var(--ink) !important; }
.btn-primary.on-ink:hover { background: var(--paper-hover); }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--ink) !important;
    border: 1px solid var(--ink);
    padding: 15px 30px;
    font: 600 11px/1 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-secondary:hover { background: var(--ink); color: #fff !important; text-decoration: none; }
.btn-secondary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-secondary:disabled { border-color: var(--disabled); color: var(--muted); cursor: default; background: none; }
.btn-secondary.block { width: 100%; }
.on-ink .btn-secondary { border-color: #444; color: #fff !important; }
.on-ink .btn-secondary:hover { border-color: #fff; background: transparent; }
.btn-secondary.on-ink { border-color: #444; color: #fff !important; }
.btn-secondary.on-ink:hover { border-color: #fff; background: transparent; }

.btn-tertiary {
    display: inline-block;
    font: 500 10px/1 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase;
    border-bottom: 1px solid currentColor; padding-bottom: 3px;
    color: var(--ink);
    transition: color .15s ease, border-color .15s ease;
}
.btn-tertiary:hover { color: var(--muted); text-decoration: none; }
.on-ink .btn-tertiary { color: #fff; }
.on-ink .btn-tertiary:hover { border-color: #fff; color: var(--on-ink-muted); }
.btn-tertiary.on-ink { color: #fff; }
.btn-tertiary.on-ink:hover { border-color: #fff; color: var(--on-ink-muted); }

/* ---------- Степпер кількості ---------- */
.qty-stepper { display: inline-flex; border: 1px solid var(--line); align-items: center; }
.qty-stepper button {
    background: none; border: none; padding: 14px 17px; font-size: 15px; cursor: pointer;
    color: var(--ink); transition: background .15s ease;
}
.qty-stepper button:hover { background: var(--hover-bg); }
.qty-stepper button:disabled { color: var(--disabled-2); cursor: default; background: none; }
.qty-stepper .qty-num { font: 500 15px 'Archivo', sans-serif; min-width: 26px; text-align: center; }

/* ---------- Поля вводу ---------- */
/* ---------- Форми ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

.field { border: 1px solid var(--line); padding: 13px 16px; font: 400 14px 'Archivo', sans-serif; color: var(--ink); background: #fff; width: 100%; transition: border-color .15s ease; }
.field:-webkit-autofill,
.field:-webkit-autofill:hover,
.field:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}
@media (max-width: 900px) {
    .field, .header-search input, select.field { font-size: 16px; }
}
.field::placeholder { color: var(--muted-3); }
.field:hover { border-color: var(--disabled); }
.field:focus { border-color: var(--ink); outline: none; }
.field.filled { border-color: var(--ink); }
.field:disabled { background: var(--surface-alt); color: var(--muted-3); border-color: var(--line); }
.field-error { font: 400 11px/1.5 'Archivo', sans-serif; color: var(--ink); margin-top: 6px; }
.field-error::before { content: '✕ '; }
textarea.field { min-height: 70px; line-height: 1.6; resize: vertical; }

.select-wrap { position: relative; }
.select-wrap::after { content: '▾'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; font-size: 12px; }
.select-wrap select { appearance: none; cursor: pointer; }

/* ---------- Чекбокс / радіо ---------- */
.check-row, .radio-row { display: flex; align-items: flex-start; gap: 11px; font: 400 14px/1.5 'Archivo', sans-serif; cursor: pointer; }
.check-row input, .radio-row input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
    width: 16px; height: 16px; border: 1px solid #ccc; background: #fff; flex-shrink: 0; margin-top: 1px;
    display: flex; align-items: center; justify-content: center; transition: border-color .15s ease, background .15s ease;
}
.check-row input:checked + .check-box { border-color: var(--ink); background: var(--ink); }
.check-row input:checked + .check-box::after { content: '✓'; color: #fff; font-size: 9px; }
.check-row:hover .check-box { border-color: var(--ink); }
.check-row .sub { display: block; font: 400 11px 'Archivo', sans-serif; color: var(--muted-2); margin-top: 2px; }

.radio-dot { width: 15px; height: 15px; border: 1px solid #ccc; border-radius: 50% !important; flex-shrink: 0; margin-top: 1px; position: relative; transition: border-color .15s ease; }
.radio-row input:checked + .radio-dot { border-color: var(--ink); }
.radio-row input:checked + .radio-dot::after { content: ''; position: absolute; inset: 3px; background: var(--ink); border-radius: 50% !important; }

/* Кликабельна картка-варіант (доставка/оплата) */
.option-card {
    display: flex; gap: 13px; align-items: flex-start; border: 1px solid var(--line); padding: 16px 20px; cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.option-card:hover { border-color: var(--ink); }
.option-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-card .radio-dot { margin-top: 2px; }
.option-card input:checked ~ .radio-dot { border-color: var(--ink); }
.option-card input:checked ~ .radio-dot::after { content: ''; position: absolute; inset: 3px; background: var(--ink); border-radius: 50% !important; }
.option-card:has(input:checked) { border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.option-card:has(input:checked) .opt-sub { color: var(--muted-2); }
.option-card .opt-body { flex: 1; display: block; }
.option-card .opt-title { font: 500 14px 'Archivo', sans-serif; display: block; }
.option-card .opt-sub { font: 400 12px/1.6 'Archivo', sans-serif; color: var(--muted-2); margin-top: 3px; display: block; }
.option-card .opt-price { font: 500 12px 'Archivo', sans-serif; white-space: nowrap; }

.delivery-method-badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid var(--line); padding: 12px 18px;
    font: 500 13px 'Archivo', sans-serif; letter-spacing: .04em;
    color: var(--ink);
}
.delivery-method-badge svg { color: var(--muted-2); flex-shrink: 0; }

/* ---------- Бейджі ---------- */
.badge-discount {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: var(--ink); color: #fff; padding: 6px 9px;
    font: 500 10px 'Archivo', sans-serif; letter-spacing: .13em; text-transform: uppercase;
}
.badge-oos {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    background: var(--ink); color: #fff; text-align: center; padding: 7px 0;
    font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
.tag-caps { font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Хедер ---------- */
.header-utility {
    background: var(--ink); color: #fff; padding: 10px 36px;
    display: flex; justify-content: space-between; align-items: center;
    font: 500 10px 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase;
    gap: 20px;
}
.header-utility .u-links { display: flex; gap: 26px; }
.header-utility .lang a { color: var(--on-ink-muted); }
.header-utility .lang a.lang-active { color: #fff; font-weight: 700; }
.header-utility .lang a:hover { color: #fff; text-decoration: none; }

.header-main {
    background: var(--ink); color: #fff; padding: 20px 36px 30px;
    display: flex; align-items: flex-end; gap: 40px;
}
.header-main.slim { padding: 14px 36px; align-items: center; }
.header-logo { font: 400 76px/.86 'Bodoni Moda', serif; letter-spacing: -.02em; color: #fff; }
.header-main.slim .header-logo { font-size: 30px; line-height: 1; }
.header-main .header-nav { margin-left: auto; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a {
    font: 500 11px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff;
    padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.header-nav a:hover, .header-nav a.active { border-bottom-color: #fff; text-decoration: none; }
.header-cart-btn {
    display: flex; align-items: center; height: 42px;
    border: 1px solid #444; color: #fff; padding: 0 14px;
    font: 500 11px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase;
    transition: border-color .15s ease; box-sizing: border-box;
}
.header-cart-btn:hover { border-color: #fff; text-decoration: none; }

/* Пошук по центру хедера — за специфікацією 2.11.1 */
.header-search {
    display: flex; align-items: center; gap: 10px; height: 42px;
    border: 1px solid #444; padding: 0 14px;
    width: 300px; transition: border-color .15s ease;
    cursor: text; position: relative; box-sizing: border-box;
}
.header-main.slim .header-search { width: 260px; }
.header-search:hover, .header-search.focused { border-color: #fff; }
.header-search .ic { font-size: 13px; color: #8a8a8a; flex-shrink: 0; }
.header-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font: 400 13px 'Archivo', sans-serif; }
.header-search input::placeholder { color: #8a8a8a; }
.header-search .clear-btn { display: none; background: none; border: none; color: #8a8a8a; cursor: pointer; font-size: 12px; padding: 0; }
.header-search.filled .clear-btn { display: block; }

.search-dropdown {
    position: absolute; top: 100%; right: 0; margin-top: 10px;
    width: 420px; max-width: 90vw;
    background: #fff; border: 1px solid var(--ink); max-height: 420px; overflow-y: auto; z-index: 60; display: none;
}
.search-dropdown.open { display: block; }
.mobile-search-row { position: relative; }

.header-mobile { display: none; }
.header-inner-mobile { display: none; }
.mobile-search-row { display: none; }
@media (max-width: 900px) {
    .header-utility { padding: 8px 16px; }
    .header-utility .u-links { display: none; }
    .header-utility .lang { margin-left: auto; }
    .header-main { display: none; }
    .header-mobile {
        display: flex; justify-content: space-between; align-items: center;
        background: var(--ink); color: #fff; padding: 13px 16px;
    }
    .header-mobile .m-left { display: flex; align-items: center; gap: 16px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
    .m-logo { font: 400 24px/1 'Bodoni Moda', serif; color: #fff; text-decoration: none; text-transform: none; letter-spacing: normal; }
    .header-mobile .m-right { display: flex; align-items: center; gap: 16px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
    .header-mobile a { color: #fff; }
    .header-inner-mobile {
        display: flex; align-items: center; justify-content: space-between;
        background: var(--ink); color: #fff; padding: 13px 16px;
        font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase;
    }
    .header-inner-mobile a { color: #fff; }
    .back-arrow { font-size: 16px; }
    .mobile-search-row {
        display: flex; align-items: center; gap: 10px; background: var(--ink); padding: 10px 16px 16px;
        width: 100%; box-sizing: border-box;
    }
    .mobile-search-row .ic { font-size: 13px; color: #8a8a8a; }
    .mobile-search-row input {
        flex: 1; background: #f2f2f2; border: none; outline: none; color: var(--ink);
        font: 400 16px 'Archivo', sans-serif; padding: 10px 14px; box-sizing: border-box;
    }
    .mobile-search-row input::placeholder { color: #888; }
}

/* Мобільне меню-шухляда (чорна) */
#mobileNav { position: fixed; inset: 0; background: rgba(10,10,10,.6); z-index: 300; display: none; }
#mobileNav.open { display: block; }
#mobileNav .drawer {
    position: absolute; top: 0; right: 0; bottom: 0; width: 84%; max-width: 340px;
    background: var(--ink); color: #fff; padding: 20px 24px 40px; overflow-y: auto;
}
#mobileNav .drawer a {
    display: block; padding: 15px 0; border-bottom: 1px solid var(--ink-line-2);
    font: 500 13px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
#mobileNav .close-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; margin-bottom: 10px; }

/* Нижня навігація (мобайл, sticky) */
.mobile-bottom-nav {
    display: none;
    position: sticky; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--ink);
    grid-template-columns: repeat(3, 1fr); text-align: center;
    font: 500 9px/1.6 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase;
    padding: 13px 0;
}
.mobile-bottom-nav a { color: var(--ink); }
.mobile-bottom-nav a.active { font-weight: 700; }
@media (max-width: 900px) { .mobile-bottom-nav { display: grid; } }

/* Sticky панель дії (мобайл, PDP/кошик) */
.sticky-action-bar {
    display: none;
    position: sticky; bottom: 0; z-index: 80;
    background: #fff; border-top: 1px solid var(--ink); padding: 12px 16px;
}
@media (max-width: 900px) { .sticky-action-bar.show-mobile { display: flex; gap: 10px; align-items: center; } }

/* ---------- Хлібні крихти ---------- */
.breadcrumbs {
    padding: 20px 0 16px;
    font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
}
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { margin: 0 6px; }
.breadcrumbs .current { color: var(--ink); }

/* ---------- Hero (головна) ---------- */
.hero-block { background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.hero-left { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.hero-eyebrow { font: 500 10px 'Archivo', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.hero-title { font: 400 72px/.98 'Bodoni Moda', serif; letter-spacing: -.02em; margin: 16px 0 20px; }
.hero-title em { font-style: italic; }
.hero-desc { font: 400 15px/1.7 'Archivo', sans-serif; color: var(--on-ink-muted); max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.hero-right { position: relative; }
.hero-right .ph { position: absolute; inset: 0; }
.hero-right .ph-label { position: absolute; top: 20px; right: 20px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); z-index: 1; }
.hero-card {
    position: absolute; left: 24px; bottom: 24px; background: #fff; color: var(--ink);
    padding: 20px 22px; width: 240px; z-index: 2;
}
.hero-card .cap { font: 500 9px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.hero-card .name { font: 400 18px 'Bodoni Moda', serif; margin: 8px 0; }
.hero-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.hero-card .price { font: 500 15px 'Archivo', sans-serif; }
@media (max-width: 900px) { .hero-block { grid-template-columns: 1fr; min-height: 0; } .hero-right { display: none; } .hero-title { font-size: 34px; line-height: 1.05; } }

/* ---------- Три полиці (рядки категорій) ---------- */
.shelf-row {
    display: grid; grid-template-columns: 80px 280px 1fr 220px; gap: 24px; align-items: center;
    padding: 22px 36px; border-bottom: 1px solid var(--line); transition: background .15s ease;
    max-width: 1600px; margin-left: auto; margin-right: auto; box-sizing: border-box;
}
.shelf-row:last-child { border-bottom: 2px solid var(--ink); }
.shelf-row:hover { background: var(--hover-bg); text-decoration: none; }
.shelf-num { font: 400 30px 'Bodoni Moda', serif; color: var(--disabled); }
/* Мініатюра полиці: 280×158 px, співвідношення 16:9 — витягнутий
   прямокутник. Щоб зробити менш витягнутим, поставте 3/2 (280×187). */
.shelf-photo { width: 280px; max-width: 100%; aspect-ratio: 16/9; height: auto; }
.shelf-name { font: 400 32px/1.1 'Bodoni Moda', serif; color: var(--ink); }
.shelf-desc { font: 400 14px/1.6 'Archivo', sans-serif; color: var(--muted); max-width: 420px; margin-top: 10px; }
.shelf-right { text-align: right; }
.shelf-right .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.shelf-right .sum { font: 400 34px 'Bodoni Moda', serif; margin: 4px 0 8px; }
@media (max-width: 900px) {
    .shelf-row { grid-template-columns: 22px 64px 1fr 16px; gap: 14px; padding: 16px; }
    .shelf-num { font-size: 22px; }
    .shelf-photo { height: 64px; width: 64px; }
    .shelf-name { font-size: 20px; }
    .shelf-desc { display: none; }
    .shelf-right { display: none; }
    .shelf-arrow { display: block; }
}

/* ---------- Секції ---------- */
.section-title-row { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 36px 20px; max-width: 1600px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.section-title-row h2 { font-size: 40px; }
@media (max-width: 900px) { .section-title-row { padding: 24px 16px 14px; } .section-title-row h2 { font-size: 26px; } }

/* ---------- Сітка карток товару ---------- */
.card-grid { display: grid; gap: 1px; margin: 0 auto 60px; max-width: 1600px; box-sizing: border-box; align-items: stretch; }
.home-card-grid { padding: 0 36px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid .product-card { box-shadow: 0 0 0 1px var(--line); min-width: 0; }
@media (max-width: 900px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }

.product-card { background: #fff; padding: 24px; transition: background .15s ease; display: flex; flex-direction: column; }
.product-card:hover { background: var(--surface-alt); text-decoration: none; }
@media (max-width: 900px) { .product-card { padding: 14px; } }
.product-card .photo-wrap { aspect-ratio: 1; position: relative; }
.product-card .photo-wrap.faded { opacity: .55; }
.product-card .meta-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.product-card .p-name {
    font: 400 24px/1.15 'Bodoni Moda', serif; margin-top: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.3em; overflow-wrap: break-word; word-break: break-word;
}
@media (max-width: 900px) { .product-card .p-name { font-size: 18px; } }
.product-card .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
/* Нижній блок картки: форма "У кошик" або заглушка "Немає в наявності".
   Обидва варіанти мають однакові відступи і притискаються до низу,
   щоб кнопки в сусідніх картках стояли рівно в один рядок. */
.product-card form,
.product-card .card-action { margin-top: auto; padding-top: 14px; }
.product-card .price-now { font: 500 20px 'Archivo', sans-serif; }
.product-card .price-old { font: 400 13px 'Archivo', sans-serif; color: var(--muted-3); text-decoration: line-through; }
.product-card .btn-secondary { margin-top: 20px; }

/* ---------- Каталог: панель заголовку ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 0 20px; flex-wrap: wrap; gap: 16px; }
.catalog-head h1 { font-size: 48px; }
.catalog-count { font: 400 13px 'Archivo', sans-serif; color: var(--muted); margin-top: 8px; }
.catalog-controls { display: flex; align-items: center; gap: 10px; }
.sort-select { border: 1px solid var(--line); padding: 10px 14px; font: 500 11px 'Archivo', sans-serif; letter-spacing: .06em; text-transform: uppercase; background: #fff; }
.view-toggle { display: flex; }
.view-toggle button { border: 1px solid var(--line); background: #fff; width: 38px; height: 38px; cursor: pointer; font-size: 14px; }
.view-toggle button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 900px) { .catalog-head h1 { font-size: 30px; } }

.catalog-progress { width: 200px; height: 2px; background: var(--line); margin: 0 auto; }
.catalog-progress .fill { height: 100%; background: var(--ink); }

.category-seo-text { max-width: none; margin: 40px 0 0; padding-top: 40px; border-top: 1px solid var(--line); font: 400 15px/1.8 'Archivo', sans-serif; color: var(--muted); }
.category-seo-text h2 { font-size: 24px; color: var(--ink); margin: 30px 0 12px; font-family: 'Bodoni Moda', serif; }
.category-seo-text h2:first-child { margin-top: 0; }
.category-seo-text h4 { font-size: 16px; color: var(--ink); margin: 20px 0 10px; }
.category-seo-text p { margin-bottom: 16px; }
.category-seo-text ul, .category-seo-text ol { padding-left: 20px; margin-bottom: 16px; }
.category-seo-text li { margin-bottom: 6px; }

.category-seo-wrap { margin-bottom: 60px; }
.seo-expand-checkbox { display: none; }
.seo-expand-checkbox ~ .category-seo-text { max-height: 260px; overflow: hidden; position: relative; }
.seo-expand-checkbox ~ .category-seo-text::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
    background: linear-gradient(transparent, #fff);
}
.seo-expand-checkbox:checked ~ .category-seo-text { max-height: none; }
.seo-expand-checkbox:checked ~ .category-seo-text::after { display: none; }
.seo-expand-btn {
    display: inline-block; margin-top: 18px; cursor: pointer;
    font: 500 11px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase;
    border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.seo-expand-btn .show-less { display: none; }
.seo-expand-checkbox:checked ~ .seo-expand-btn .show-more { display: none; }
.seo-expand-checkbox:checked ~ .seo-expand-btn .show-less { display: inline; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.pagination a, .pagination span { border: 1px solid var(--line); padding: 9px 13px; font: 500 12px 'Archivo', sans-serif; }
.pagination a.active, .pagination span.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- PDP ---------- */
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 60px; margin: 10px 0 60px; align-items: start; }
.pdp-grid > * { min-width: 0; }
@media (max-width: 1080px) { .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }
.pdp-gallery-main { aspect-ratio: 1; position: relative; overflow: hidden; }
/* Головне фото — абсолютом, щоб його власна ширина не розпирала колонку сітки */
.pdp-gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-gallery-counter { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font: 400 12px 'Archivo', sans-serif; color: var(--muted-3); }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs .thumb { position: relative; width: 88px; flex-shrink: 0; aspect-ratio: 1; cursor: pointer; }
/* Рамка активної мініатюри — всередині елемента, щоб не обрізалась контейнером зі скролом */
.pdp-thumbs .thumb.active::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 0 1px var(--ink);
}

.pdp-info .cat-path { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.pdp-info h1 { font-size: 40px; margin-top: 10px; overflow-wrap: break-word; }
.pdp-rating-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 400 12px 'Archivo', sans-serif; color: var(--muted); }
.stars { color: var(--ink); font-size: 12px; letter-spacing: 1px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.pdp-price-row .now { font: 400 40px 'Bodoni Moda', serif; }
.pdp-price-row .old { font: 400 16px 'Archivo', sans-serif; color: var(--muted-3); text-decoration: line-through; }
.pdp-price-row .save { background: var(--ink); color: #fff; font: 500 10px 'Archivo', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }

.variant-block { margin-top: 22px; }
.variant-block .label { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.variant-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-swatch {
    width: 38px; height: 38px; border-radius: 50% !important; border: 2px solid var(--line);
    display: flex; align-items: center; justify-content: center; position: relative;
    transition: border-color .15s ease, transform .15s ease;
    padding: 3px; box-sizing: border-box; background: #fff;
}
.variant-swatch:hover { transform: scale(1.08); }
.variant-swatch.active { border-color: var(--ink); }
.variant-swatch .dot { width: 100%; height: 100%; border-radius: 50% !important; border: 1px solid rgba(0,0,0,.12); }

.card-swatches { display: flex; gap: 6px; margin-top: 10px; min-height: 19px; }
.card-swatch-dot { width: 13px; height: 13px; border-radius: 50% !important; border: 1px solid var(--line); display: inline-block; }
.card-swatch-dot.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.pdp-buy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pdp-buy-row .btn-primary { flex: 1; min-width: 200px; }
.pdp-oneclick { margin-top: 10px; }
.pdp-oneclick-note { font: 400 11px 'Archivo', sans-serif; color: var(--muted-2); margin-top: 8px; }

.pdp-box { border: 1px solid var(--line); padding: 18px 20px; margin-top: 20px; }
.pdp-box .box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pdp-box .box-head .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.pdp-delivery-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font: 400 13px 'Archivo', sans-serif; }
.pdp-delivery-line:last-child { border-bottom: none; }
.pdp-delivery-line .sub { display: block; font: 400 11px 'Archivo', sans-serif; color: var(--muted-2); margin-top: 3px; }
.pdp-delivery-line .price { color: var(--ink); white-space: nowrap; }

.bundle-box { margin-top: 26px; }
.bundle-items { display: flex; align-items: center; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.bundle-items .bundle-text { flex: 1 1 140px; min-width: 0; overflow-wrap: break-word; }
.bundle-items .ph { width: 70px; height: 70px; }
.bundle-items .plus { font-size: 18px; color: var(--muted-2); }
.bundle-price { font: 500 14px 'Archivo', sans-serif; }
.bundle-price .old { color: var(--muted-3); text-decoration: line-through; font-weight: 400; font-size: 12px; margin-left: 6px; }

/* ---------- Картка товару: мобільний ---------- */
@media (max-width: 760px) {
    .pdp-info h1 { font-size: 32px; }
    .pdp-price-row .now { font-size: 34px; }
    .pdp-buy-row .btn-primary { min-width: 0; }
    .pdp-box { padding: 16px 14px; }
    .bundle-items .ph { width: 56px; height: 56px; }
    .bundle-items .bundle-text { margin-left: 0 !important; }
}

/* Табы PDP */
.pdp-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); margin-top: 50px; flex-wrap: wrap; }
.pdp-tabs label {
    font: 500 11px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); cursor: pointer;
    padding-bottom: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s ease, border-color .15s ease;
}
.pdp-tabs-wrap input[type="radio"] { display: none; }
.pdp-tab-panels .panel { display: none; padding-top: 26px; }
#t-desc:checked ~ .pdp-tabs label[for="t-desc"],
#t-specs:checked ~ .pdp-tabs label[for="t-specs"],
#t-reviews:checked ~ .pdp-tabs label[for="t-reviews"],
#t-delivery:checked ~ .pdp-tabs label[for="t-delivery"] { color: var(--ink); border-bottom-color: var(--ink); }
#t-desc:checked ~ .pdp-tab-panels #p-desc,
#t-specs:checked ~ .pdp-tab-panels #p-specs,
#t-reviews:checked ~ .pdp-tab-panels #p-reviews,
#t-delivery:checked ~ .pdp-tab-panels #p-delivery { display: block; }

.pdp-desc-text { font: 400 15px/1.8 'Archivo', sans-serif; color: var(--muted); max-width: none; }
.pdp-desc-text p { margin-bottom: 16px; }

/* ---------- Стаття / статична сторінка (блог, "Про нас" тощо) ---------- */
.article-body { max-width: none; margin: 30px 0 0; padding-bottom: 60px; }
.article-body h1 { font-size: 36px; margin-bottom: 10px; }
.article-body img { width: 100%; margin: 20px 0; }
.article-body > div:last-child { font: 400 15px/1.8 'Archivo', sans-serif; color: var(--muted); }
.article-body > div:last-child p { margin-bottom: 16px; }
.article-body > div:last-child h2 { font-size: 24px; margin: 30px 0 12px; color: var(--ink); }
.article-body > div:last-child ul, .article-body > div:last-child ol { padding-left: 20px; margin-bottom: 16px; }

.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 700px) { .spec-table { grid-template-columns: 1fr; } }
.spec-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 13px 'Archivo', sans-serif; }
.spec-row .k { color: var(--muted-2); }
.spec-row .v { color: var(--ink); }

.review-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; }
.review-name { font: 500 13px 'Archivo', sans-serif; }
.review-date { font: 400 11px 'Archivo', sans-serif; color: var(--muted-3); }
.review-text { font: 400 14px/1.7 'Archivo', sans-serif; color: var(--muted); max-width: 620px; margin-top: 10px; }

/* ---------- Кошик ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; margin-top: 20px; padding-bottom: 60px; width: 100%; }
@media (max-width: 1000px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-row {
    display: grid; grid-template-columns: 110px 1fr 130px 120px 40px; gap: 20px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .cart-row { grid-template-columns: 70px 1fr; grid-template-rows: auto auto; row-gap: 10px; } }
.cart-row .c-photo { width: 100%; aspect-ratio: 1; }
.cart-row .c-name { font: 400 18px 'Bodoni Moda', serif; }
.cart-row .c-meta { font: 400 12px 'Archivo', sans-serif; color: var(--muted-2); margin-top: 4px; }
.cart-row .c-price { font: 500 15px 'Archivo', sans-serif; text-align: right; }
.cart-row .c-price .old { display: block; color: var(--muted-3); text-decoration: line-through; font-weight: 400; font-size: 12px; }
.cart-row .c-remove { background: none; border: none; cursor: pointer; color: var(--muted-2); font-size: 16px; }
.cart-row .c-remove:hover { color: var(--ink); }

.cart-summary { border: 1px solid var(--line); padding: 24px; }
.cart-summary-title { font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.cart-summary-row { display: flex; justify-content: space-between; font: 400 14px 'Archivo', sans-serif; padding: 6px 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.cart-total-row .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cart-total-row .sum { font: 400 40px 'Bodoni Moda', serif; }
.promo-row { display: flex; margin-top: 14px; }
.promo-row input { flex: 1; }
.promo-row button {
    border: none; background: var(--ink); color: #fff; padding: 0 18px;
    font: 600 11px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
    transition: background .15s ease;
}
.promo-row button:hover { background: var(--ink-hover); }
.cart-note { font: 400 12px/1.7 'Archivo', sans-serif; color: var(--muted-2); margin-top: 16px; }

.combo-strip { margin-top: 30px; }
.combo-items { display: flex; gap: 16px; flex-wrap: wrap; }
.combo-item { border: 1px solid var(--line); padding: 14px; display: flex; align-items: center; gap: 12px; flex: 1; min-width: 220px; }
.combo-item .ph { width: 46px; height: 46px; flex-shrink: 0; }
.combo-item .name { font: 400 13px 'Archivo', sans-serif; }
.combo-item .price { font: 500 13px 'Archivo', sans-serif; margin-top: 2px; }
.combo-item .add { margin-left: auto; font-size: 16px; color: var(--muted-2); }

/* ---------- Модалка «Додано в кошик» ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.45); z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { width: 560px; max-width: 100%; background: #fff; border: 1px solid var(--ink); }
.modal-head { background: var(--ink); color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; font: 500 11px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.modal-head button { background: none; border: none; color: #fff; font-size: 14px; cursor: pointer; }
.modal-body { padding: 24px; display: flex; gap: 18px; }
.modal-body .ph { width: 96px; height: 96px; flex-shrink: 0; }
.modal-body .name { font: 400 24px 'Bodoni Moda', serif; }
.modal-total { padding: 20px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.modal-total .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.modal-total .sum { font: 400 26px 'Bodoni Moda', serif; }
.modal-footer { padding: 20px 24px; display: flex; gap: 12px; }
.modal-footer > * { flex: 1; }
@media (max-width: 600px) {
    .modal-footer { flex-direction: column; }
    .modal-footer .btn-primary { order: -1; }
}

/* ---------- Чекаут ---------- */
.checkout-steps { display: flex; align-items: center; gap: 12px; }
.checkout-steps .step { display: flex; align-items: center; gap: 8px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.checkout-steps .dot { width: 20px; height: 20px; border-radius: 50% !important; display: flex; align-items: center; justify-content: center; font-size: 9px; border: 1px solid #ddd; color: #aaa; }
.checkout-steps .step.done .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.checkout-steps .step.current .dot { border-color: var(--ink); color: var(--ink); }
.checkout-steps .step.done, .checkout-steps .step.current { color: var(--ink); }
.checkout-steps .step:not(.done):not(.current) { color: #aaa; }
.checkout-steps .connector { width: 30px; height: 1px; background: #ccc; }
@media (max-width: 700px) {
    .checkout-steps { gap: 6px; }
    .checkout-steps .connector { width: 14px; }
    .checkout-steps .step span.label { display: none; }
}

.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 24px; align-items: start; padding-bottom: 60px; width: 100%; }
.mobile-order-submit { display: none; }
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-grid > div:last-child { display: none; }
    .mobile-order-submit { display: block; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
    .mobile-order-submit .btn-primary { margin-top: 14px; }
}
@media (max-width: 1000px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-summary-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.checkout-summary-item .ph { width: 52px; height: 52px; flex-shrink: 0; }
.checkout-summary-item .name { font: 400 13px 'Archivo', sans-serif; }
.checkout-summary-item .qty { font: 400 11px 'Archivo', sans-serif; color: var(--muted-2); margin-top: 3px; }
.checkout-summary-item .price { margin-left: auto; font: 500 13px 'Archivo', sans-serif; white-space: nowrap; }
.checkout-item-remove {
    background: none; border: none; cursor: pointer; color: var(--muted-2); font-size: 13px;
    padding: 0 0 0 8px; flex-shrink: 0; align-self: flex-start; margin-top: 2px;
    transition: color .15s ease;
}
.checkout-item-remove:hover { color: var(--ink); }

.checkout-resume-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checkout-resume-row .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.checkout-resume-row .val { font: 400 14px 'Archivo', sans-serif; margin-top: 6px; }

.checkout-section { border: 1px solid var(--line); margin-bottom: 16px; }
.checkout-section-title { padding: 18px 20px; margin: 0; font: 400 22px 'Bodoni Moda', serif; }
.checkout-section .acc-body { padding: 0 20px 24px; }

.card-fields { display: grid; grid-template-columns: 1fr 90px 90px; gap: 12px; }
@media (max-width: 500px) { .card-fields { grid-template-columns: 1fr; } }
.wallet-chips { display: flex; gap: 10px; margin-top: 12px; }
.wallet-chips .chip { border: 1px solid var(--ink); padding: 10px 18px; font: 600 11px 'Archivo', sans-serif; letter-spacing: .08em; }

/* ---------- Сторінка успіху (повністю на чорному) ---------- */
.success-screen { background: var(--ink); color: #fff; min-height: 100vh; }
.success-hero { text-align: center; padding: 90px 20px 60px; }
.success-check { width: 56px; height: 56px; border: 1px solid #fff; border-radius: 50% !important; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 20px; }
.success-hero h1 { font-size: 44px; margin-bottom: 16px; }
.success-hero p { color: var(--on-ink-muted); max-width: 420px; margin: 0 auto; font: 400 14px/1.7 'Archivo', sans-serif; }
.success-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #222; max-width: 640px; margin: 40px auto 0; }
@media (max-width: 700px) { .success-info-grid { grid-template-columns: 1fr; } }
.success-info-cell { background: var(--ink); padding: 24px 28px; }
.success-info-cell .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted-2); margin-bottom: 10px; }
.success-info-cell .text { font: 400 14px/1.6 'Archivo', sans-serif; }
.success-info-cell .sum { font: 400 30px 'Bodoni Moda', serif; margin-top: 4px; }
.success-cta { text-align: center; margin: 40px auto; }

/* ---------- Порожні / службові стани ---------- */
.empty-state { text-align: center; padding: 44px 22px; max-width: 420px; margin: 0 auto; }
.empty-icon { width: 64px; height: 64px; border: 1px solid var(--line); color: var(--disabled); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 20px; }
.empty-state h2 { font-size: 30px; line-height: 1.15; }
.empty-state p { font: 400 13px/1.7 'Archivo', sans-serif; color: var(--muted); margin-top: 12px; }
.empty-state .actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.on-ink .empty-state p { color: var(--on-ink-muted); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0; }
.chip { border: 1px solid var(--line); padding: 9px 13px; font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: border-color .15s ease; }
.chip:hover, .chip.active { border-color: var(--ink); }

.subcat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
@media (max-width: 900px) { .subcat-grid { grid-template-columns: repeat(2, 1fr); } }
.subcat-tile {
    position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-alt);
    display: flex; align-items: flex-end; transition: transform .2s ease;
}
.subcat-tile:hover { transform: translateY(-3px); text-decoration: none; }
.subcat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subcat-tile .ph { position: absolute; inset: 0; }
.subcat-tile span {
    position: relative; z-index: 1; width: 100%; padding: 14px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    color: #fff; font: 500 12px 'Archivo', sans-serif; letter-spacing: .06em; text-transform: uppercase;
}
.subcat-tile:has(.ph) span { background: none; color: var(--ink); }

.skeleton { background: var(--line-soft); height: 12px; }

/* ---------- Пошуковий оверлей ---------- */
#searchOverlay { position: fixed; inset: 0; background: #fff; z-index: 500; display: none; overflow-y: auto; }
#searchOverlay.open { display: block; }
.search-field-row { display: flex; align-items: center; gap: 12px; padding: 20px 26px; border-bottom: 2px solid var(--ink); }
.search-field-row .ic { font-size: 16px; color: var(--muted-2); }
.search-field-row input { flex: 1; border: none; outline: none; font: 400 22px 'Archivo', sans-serif; }
.search-field-row .esc { font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); cursor: pointer; }
.search-section-title { font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding: 20px 26px 8px; }
.search-suggest-row { padding: 11px 26px; font: 400 15px 'Archivo', sans-serif; cursor: pointer; }
.search-suggest-row:hover { background: #f7f7f7; }
.search-suggest-row b { font-weight: 700; }
.search-product-row { display: flex; gap: 14px; align-items: center; padding: 12px 26px; cursor: pointer; }
.search-product-row:hover { background: #f7f7f7; text-decoration: none; }
.search-product-row .ph { width: 56px; height: 56px; flex-shrink: 0; }
.search-product-row .name {
    font: 400 15px/1.3 'Bodoni Moda', serif; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.search-product-row .meta { font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.search-product-row .price { margin-left: auto; font: 500 14px 'Archivo', sans-serif; white-space: nowrap; }
@media (max-width: 900px) { .search-dropdown { width: 100%; right: 0; left: 0; } }
.search-footer { border-top: 1px solid var(--line); padding: 16px 26px; display: flex; justify-content: space-between; font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Alerts (без кольору — типографіка/рамка) ---------- */
.alert { padding: 14px 18px; border: 1px solid var(--ink); font: 400 13px 'Archivo', sans-serif; margin: 20px 0; }
.alert-error::before { content: '✕ '; }
.alert-success::before { content: '✓ '; }

/* ---------- Футер ---------- */
.site-footer { border-top: 2px solid var(--ink); padding: 0 0 0; }
.footer-manifest { background: var(--ink); color: #fff; padding: 56px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: auto; }
.footer-manifest h2 { font-size: 42px; max-width: 620px; }
.footer-manifest .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-manifest .cap { font: 500 10px 'Archivo', sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--on-ink-muted-2); }
.footer-manifest .text { font: 400 13px/1.7 'Archivo', sans-serif; color: var(--on-ink-muted); }
@media (max-width: 900px) { .footer-manifest { grid-template-columns: 1fr; } .footer-manifest h2 { font-size: 28px; } }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 30px 36px; flex-wrap: wrap; gap: 16px; }
.footer-bottom .flogo { font: 400 44px 'Bodoni Moda', serif; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font: 500 10px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font: 500 10px 'Archivo', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-3); }
@media (max-width: 900px) { .footer-bottom { padding: 24px 16px; } }
