/* ============ ДОПОЛНИТЕЛЬНЫЕ СТИЛИ СТРАНИЦ ============ */

/* --- Заголовок страницы --- */
.page-head {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 64px 0 56px;
}
[data-theme="dark"] .page-head { background: #050A07; }
.page-head__title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #FFFFFF;
    margin-bottom: 12px;
}
.page-head__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
}
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: var(--accent-bright); }
.breadcrumbs span::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* --- Каталог: фильтры + сетка --- */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}
.catalog-filters {
    position: sticky;
    top: 104px;
    border-top: 2px solid var(--border-strong);
    padding-top: 8px;
}
.catalog-filters h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin: 20px 0 12px;
}
.filter-list { list-style: none; display: flex; flex-direction: column; }
.filter-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
}
.filter-list a:hover { background: var(--accent-soft); color: var(--accent); }
.filter-list a.is-active { background: var(--accent); color: #FFFFFF; }
.filter-list .count { font-size: 12px; color: var(--text-muted); align-self: center; }
.filter-list a.is-active .count { color: rgba(255,255,255,0.7); }
.catalog-count { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.catalog-empty {
    border: 1px dashed var(--border-strong);
    border-radius: 8px;
    padding: 64px 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
}

/* --- Карточка товара --- */
.product-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: start;
}
.product-gallery {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 1 / 1;
    position: relative;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .product-card__badge { top: 16px; left: 16px; font-size: 12px; padding: 6px 12px; }
.product-info__cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}
.product-info__title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}
.product-info__price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
}
.product-info__price .price {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.product-info__price .old {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-info__text { font-size: 16px; color: var(--text-muted); line-height: 1.65; margin-bottom: 32px; }
.product-info__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--border-strong); }
.spec-table th, .spec-table td {
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    vertical-align: top;
}
.spec-table th { color: var(--text-muted); font-weight: 500; width: 45%; padding-right: 24px; }
.spec-table td { font-weight: 600; }

/* --- Простая текстовая страница --- */
.content-page { max-width: 760px; }
.content-page h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 16px; }
.content-page h2:first-child { margin-top: 0; }
.content-page p, .content-page li { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.content-page ul { padding-left: 22px; margin-bottom: 14px; }
.content-page strong { color: var(--text); }

/* --- Корзина --- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.cart-list { border-top: 2px solid var(--border-strong); }
.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item__img { width: 96px; height: 96px; border-radius: 4px; overflow: hidden; background: var(--bg-alt); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.cart-item__name a:hover { color: var(--accent); }
.cart-item__cat { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.qty button { width: 34px; height: 38px; font-size: 18px; font-weight: 700; color: var(--text-muted); }
.qty button:hover { background: var(--accent-soft); color: var(--accent); }
.qty span { min-width: 36px; text-align: center; font-weight: 700; font-size: 15px; }
.cart-item__price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.cart-summary {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    position: sticky;
    top: 104px;
}
.cart-summary h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.01em; }
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-muted);
    padding: 10px 0;
}
.cart-summary__row--total {
    border-top: 2px solid var(--border-strong);
    margin-top: 12px;
    padding-top: 18px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}
.cart-summary .btn { margin-top: 24px; }

/* --- Формы (вход / регистрация) --- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-form {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.auth-form h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.auth-form .muted { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 6px;
}
.field input:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.auth-links { display: flex; justify-content: space-between; font-size: 14px; margin-top: 4px; }
.auth-links a { color: var(--accent); font-weight: 600; }

/* --- Личный кабинет --- */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.account-menu { list-style: none; border-top: 2px solid var(--border-strong); }
.account-menu a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}
.account-menu a:hover, .account-menu a.is-active { color: var(--accent); padding-left: 10px; }

/* --- Адаптив --- */
.filter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.filter-form input[type="text"],
.filter-form input[type="number"],
.filter-form select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 6px;
}
.filter-form input:focus, .filter-form select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
}
.price-range { display: flex; gap: 10px; }
.filter-reset {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: underline;
}
.filter-reset:hover { color: var(--accent); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    background: var(--accent-bright);
    color: #0A0F0D;
    font-size: 11px;
    font-weight: 800;
    border-radius: 100px;
    border: 2px solid var(--header-bg);
}
.cart-item__remove {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: underline;
}
.cart-item__remove:hover { color: #DC2626; }
.qty form { display: contents; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination__num, .pagination__arrow {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s ease;
}
.pagination__arrow svg { width: 16px; height: 16px; }
.pagination__num:hover, .pagination__arrow:hover { border-color: var(--accent); color: var(--accent); }
.pagination__num.is-active { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

@media (max-width: 980px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-filters { position: static; }
    .filter-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .product-layout { grid-template-columns: 1fr; gap: 40px; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item__img { width: 72px; height: 72px; }
    .auth-form { padding: 28px 22px; }
}

/* ============ КОНФИГУРАТОР ============ */
.config-block { margin-bottom: 28px; }
.config-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.color-picker { display: flex; flex-wrap: wrap; gap: 14px; }
.color-choice { cursor: pointer; width: 104px; }
.color-choice input { position: absolute; opacity: 0; pointer-events: none; }
.color-choice__box {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}
.color-choice__box img { width: 100%; height: 100%; object-fit: cover; }
.color-choice input:checked + .color-choice__box {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.color-choice__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-top: 6px;
    line-height: 1.3;
}
.color-choice__name em {
    display: block;
    font-style: normal;
    color: var(--accent);
    font-weight: 700;
}

.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.check-item:hover { border-color: var(--accent); }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-item__box {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}
.check-item input:checked ~ .check-item__box {
    background: var(--accent);
    border-color: var(--accent);
}
.check-item input:checked ~ .check-item__box::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.check-item__name { flex: 1; font-size: 14px; font-weight: 600; }
.check-item__price { font-size: 14px; font-weight: 800; color: var(--accent); }

.stock-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.stock-sku { color: var(--text-muted); font-weight: 500; font-size: 13px; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.stock-dot--ok { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.stock-dot--order { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.stock-dot--no { background: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }

/* Доставка в checkout */
.delivery-choices { display: flex; flex-direction: column; gap: 10px; }
.delivery-choices .check-item { align-items: flex-start; }
.radio-item input { position: absolute; opacity: 0; pointer-events: none; }
.radio-item__box {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
}
.radio-item input:checked ~ .radio-item__box { border-color: var(--accent); }
.radio-item input:checked ~ .radio-item__box::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--accent);
}
.delivery-hint { font-size: 12px; color: var(--text-muted); font-weight: 400; display: block; margin-top: 2px; }

/* Поиск в шапке */
.header-search { position: relative; flex-shrink: 1; max-width: 220px; }
.header-search input {
    width: 100%;
    padding: 9px 36px 9px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #FFFFFF;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
}
.header-search input::placeholder { color: rgba(255,255,255,0.55); }
.header-search input:focus { outline: none; background: rgba(255,255,255,0.16); }
.header-search button {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    display: grid; place-items: center;
    color: rgba(255,255,255,0.8);
}
.header-search button:hover { color: #FFFFFF; }
.header-search svg { width: 15px; height: 15px; }
@media (max-width: 1180px) { .header-search { display: none; } }

.cart-item__config { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cart-item__config span {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 3px 8px;
    border-radius: 4px;
}

/* ============ КОНФИГУРАТОР v2 ============ */
.color-dots { display: flex; flex-wrap: wrap; gap: 18px; }
.color-dot { cursor: pointer; width: 84px; text-align: center; }
.color-dot input { position: absolute; opacity: 0; pointer-events: none; }
.color-dot__circle {
    display: block;
    width: 44px; height: 44px;
    margin: 0 auto 6px;
    border-radius: 50%;
    border: 2px solid var(--border);
    box-shadow: inset 0 0 0 3px var(--bg);
    transition: all 0.2s ease;
}
.color-dot input:checked + .color-dot__circle {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 3px var(--bg), 0 0 0 3px var(--accent-soft);
}
.color-dot__name { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; display: block; }
.color-dot__name em { display: block; font-style: normal; color: var(--accent); font-weight: 700; }

.config-note {
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 16px;
    border: 1px dashed var(--border);
    border-radius: 6px;
    margin-bottom: 12px;
}
.furniture-selected { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

.opt-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.opt-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 220px;
}
.opt-card:hover { border-color: var(--accent); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__box {
    width: 20px; height: 20px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}
.opt-card input:checked ~ .opt-card__box {
    background: var(--accent);
    border-color: var(--accent);
}
.opt-card input:checked ~ .opt-card__box::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.opt-card input:checked ~ .opt-card__info .opt-card__name { color: var(--accent); }
.opt-card__info { display: flex; align-items: baseline; gap: 14px; }
.opt-card__name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; }
.opt-card__price { font-size: 13px; font-weight: 700; color: #16A34A; white-space: nowrap; }

/* Модалка фурнитуры */
.modal__dialog--wide { max-width: 760px; max-height: 85vh; overflow-y: auto; }
.furniture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.furniture-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}
.furniture-card:hover { border-color: var(--accent); }
.furniture-card input { position: absolute; opacity: 0; pointer-events: none; }
.furniture-card__check {
    position: absolute;
    top: 10px; left: 10px;
    width: 22px; height: 22px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--bg);
    z-index: 1;
    transition: all 0.2s ease;
}
.furniture-card input:checked ~ .furniture-card__check {
    background: var(--accent);
    border-color: var(--accent);
}
.furniture-card input:checked ~ .furniture-card__check::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
}
.furniture-card input:checked ~ .furniture-card__img { outline: 2px solid var(--accent); outline-offset: -2px; }
.furniture-card__img { aspect-ratio: 1 / 1; background: var(--bg-alt); display: block; }
.furniture-card__img img { width: 100%; height: 100%; object-fit: cover; }
.furniture-card__name { font-size: 13px; font-weight: 600; padding: 10px 12px 2px; line-height: 1.3; }
.furniture-card__price { font-size: 14px; font-weight: 800; padding: 0 12px 12px; color: var(--accent); }
@media (max-width: 640px) { .furniture-grid { grid-template-columns: repeat(2, 1fr); } }

/* Фильтр по цвету в каталоге */
.filter-colors { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; }
.filter-color { cursor: pointer; }
.filter-color input { position: absolute; opacity: 0; pointer-events: none; }
.filter-color__circle {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border);
    box-shadow: inset 0 0 0 2px var(--bg);
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.filter-color input:checked + .filter-color__circle {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 3px var(--accent-soft);
}
.filter-color__circle--any { background: var(--bg-alt); }

/* Hero с баннером */
.hero--banner {
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero--banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,15,10,0.88) 0%, rgba(5,15,10,0.65) 55%, rgba(5,15,10,0.35) 100%);
}
.hero--banner .hero__inner { grid-template-columns: 1fr; }
.hero--banner .hero__content { max-width: 640px; }

/* Логотип-картинка */
.logo__img { display: block; width: auto; height: 44px; max-width: 200px; object-fit: contain; }
.logo--footer .logo__img { height: 48px; }

/* ============ ОТЗЫВЫ ============ */
.reviews-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review__author { font-weight: 800; font-size: 15px; }
.review__stars { color: #F59E0B; font-size: 15px; letter-spacing: 1px; }
.review__star--off { color: var(--border); }
.review__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.review__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.review__meta a { color: var(--accent); font-weight: 600; }
.review-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 104px;
}
.review-form h3 { font-size: 20px; font-weight: 800; }

/* Сообщения */
.messages { margin-top: 16px; }
.message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.message--success { background: rgba(34,197,94,0.12); color: #15803D; border: 1px solid rgba(34,197,94,0.3); }

/* Cookie-баннер */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 300;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 18px 22px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; min-width: 260px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

/* Мобильная адаптация: доработки */
@media (max-width: 980px) {
    .reviews-layout { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .review-form { position: static; }
    .hero--banner::before { background: rgba(5,15,10,0.75); }
    .opt-cards { flex-direction: column; }
    .opt-card { min-width: 0; }
    .color-dots { gap: 12px; }
    .color-dot { width: 72px; }
}
@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .product-info__price .price { font-size: 28px; }
    .product-info__actions .btn { width: 100%; }
    .color-dot { width: 64px; }
    .furniture-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Логотип: иконка двери + зелёный бейдж */
.logo__icon { width: 38px; height: 38px; color: #FFFFFF; flex-shrink: 0; }
.logo__badge {
    background: #22C55E;
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 10px 14px;
    line-height: 1;
    white-space: nowrap;
}

/* Подпись категории на фото */
.cat-card__img { position: relative; }
.cat-card__label {
    position: absolute;
    left: 12px; bottom: 12px;
    background: rgba(6, 26, 17, 0.85);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 1;
}

/* ============ ПРАЙС УСЛУГ ============ */
.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; align-items: start; }
.price-group {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}
.price-group__title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 2px solid var(--border-strong);
    padding-bottom: 14px;
    margin-bottom: 6px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row__info { display: flex; flex-direction: column; gap: 4px; }
.price-row__name { font-size: 15px; font-weight: 600; color: var(--text); }
.price-row__desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.price-row__price { font-size: 15px; font-weight: 800; color: #16A34A; white-space: nowrap; }
@media (max-width: 640px) {
    .price-groups { grid-template-columns: 1fr; }
    .price-row { flex-direction: column; gap: 4px; }
}
