/* =====================================================
   PROkehribar — общие стили сайта
   ===================================================== */

:root {
    --bg-main: #181615;
    --bg-alt: #1e1b1a;
    --bg-card: #252120;
    --amber-bright: #ffb000;
    --amber-gold: #d4af37;
    --text-light: #f5f5f7;
    --text-muted: #aaa29a;
    --border-color: #332d2a;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* КНОПКА WHATSAPP */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--amber-bright), var(--amber-gold));
    color: #120f0d;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 176, 0, 0.3);
    border: none;
    cursor: pointer;
}
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 176, 0, 0.5);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: var(--amber-bright);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--amber-bright);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(255, 176, 0, 0.1);
}

/* ===================== ШАПКА / НАВИГАЦИЯ ===================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: rgba(20, 18, 17, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.site-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0;
    text-decoration: none;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0;
}
.site-nav .nav-logo img { height: 38px; width: auto; border-radius: 50%; }
.site-nav .nav-logo .logo-text { color: var(--text-light); letter-spacing: 0; font-size: 1.3rem; }
.site-nav .nav-logo .logo-text em { color: var(--amber-bright); font-style: normal; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--amber-bright);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.6rem;
    cursor: pointer;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.2s;
}
.nav-cart-btn:hover { color: var(--amber-bright); }
.nav-cart-btn #cartCounter {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--amber-bright);
    color: #120f0d;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Кнопка "В корзину" на карточке товара */
.cart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20,18,17,0.75);
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.cart-btn:hover { color: var(--amber-bright); background: rgba(20,18,17,0.9); }
.cart-btn.cart-active { color: var(--amber-bright); }
.cart-btn.cart-active i::before { content: "\f00c"; } /* галочка вместо корзины */

/* Кнопка "В корзину" на странице товара */
.cart-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--amber-bright);
    color: var(--amber-bright);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 14px;
}
.cart-btn-large:hover { background: rgba(255,176,0,0.1); }
.cart-btn-large.cart-active { background: rgba(255,176,0,0.12); }
.cart-btn-large.cart-active .cart-btn-text::before { content: '✓ '; }

/* ===================== СТРАНИЦА КОРЗИНЫ ===================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
}
.cart-item-img { display: block; width: 90px; height: 90px; border-radius: 8px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 1rem; margin-bottom: 6px; }
.cart-item-info h3 a { text-decoration: none; color: var(--text-light); }
.cart-item-info h3 a:hover { color: var(--amber-bright); }
.cart-item-price { color: var(--amber-bright); font-weight: 700; margin-top: 6px; }
.cart-item-remove {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-item-remove:hover { color: #e74c3c; border-color: #e74c3c; }

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 96px;
}
.cart-summary h3 { margin-bottom: 16px; font-size: 1.1rem; }
.cart-totals { margin-bottom: 14px; }
.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}
.cart-total-row strong { color: var(--amber-bright); font-size: 1.05rem; }
.cart-shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}
.cart-shipping-note i { color: var(--amber-gold); margin-right: 4px; }

@media (max-width: 860px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 70px 1fr auto; }
    .cart-item-img { width: 70px; height: 70px; }
}

/* ===================== МОДАЛЬНОЕ ОКНО ОФОРМЛЕНИЯ ЗАКАЗА ===================== */
.pk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,9,8,0.75);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
.pk-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.pk-modal h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pk-modal-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.pk-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}
.pk-modal-close:hover { color: var(--amber-bright); }
.pk-field { margin-bottom: 16px; }
.pk-field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 7px; }
.pk-field input, .pk-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
}
.pk-field input:focus, .pk-field textarea:focus { outline: none; border-color: var(--amber-bright); }
.pk-checkout-summary {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    max-height: 140px;
    overflow-y: auto;
}
.pk-checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 5px 0;
}
.pk-checkout-error {
    background: rgba(231,76,60,0.12);
    color: #e74c3c;
    border: 1px solid rgba(231,76,60,0.35);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.pk-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(46,204,113,0.15);
    color: var(--green, #2ecc71);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.pk-order-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--amber-bright);
    letter-spacing: 1px;
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background-color: #14110f;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-links.open { max-height: 400px; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 16px 20px;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ===================== ХЛЕБНЫЕ КРОШКИ ===================== */
.breadcrumbs {
    padding: 25px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber-bright); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--text-light); }

/* ===================== СТРАНИЦА КАТЕГОРИИ ===================== */
.page-header {
    padding: 50px 0 20px;
    text-align: center;
}
.page-header h1 {
    font-size: 2.4rem;
    color: var(--amber-bright);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.page-header p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}
.category-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 10px;
    padding: 25px 0 10px;
}
@media (max-width: 600px) {
    .category-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-nav a {
        text-align: center;
    }
}
.category-nav a {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.category-nav a:hover,
.category-nav a.active {
    border-color: var(--amber-bright);
    color: var(--amber-bright);
}

.catalog-section { padding: 50px 0 100px; background-color: var(--bg-main); }
.section-title {
    font-size: 2.5rem;
    color: var(--amber-bright);
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    word-break: break-word;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}
.category-title {
    font-size: 1.8rem;
    color: var(--amber-gold);
    margin: 40px 0 20px 0;
    text-align: left;
    text-transform: uppercase;
    border-left: 4px solid var(--amber-bright);
    padding-left: 15px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.category-title .see-all {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: none;
    border-left: none;
    padding-left: 0;
    letter-spacing: 0;
    white-space: nowrap;
}
.category-title .see-all:hover { color: var(--amber-bright); }

/* Сетка каталога */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
@media (max-width: 1100px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== КАРТОЧКА ТОВАРА ===== */
.product-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--amber-bright);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Фото карточки товара */
.product-img-link {
    display: block;
    overflow: hidden;
    background-color: #2a2523;
    border-radius: 10px 10px 0 0;
}
.product-img-link img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover .product-img-link img {
    transform: scale(1.04);
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 6px;
}

/* Строка 1: Название — max 2 строки */
.product-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-info h3 a { text-decoration: none; color: var(--text-light); }
.product-info h3 a:hover { color: var(--amber-bright); }

/* Строка 2: Цена */
.card-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.card-price-row .price {
    color: var(--amber-bright);
    font-weight: 700;
    font-size: 1rem;
}
.card-price-row .price-old {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Строка 3: Параметры */
.card-params-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
    align-items: center;
}
.card-params-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Строка 4: Имя мастера */
.card-master-row {
    font-size: 0.78rem;
    color: var(--amber-gold);
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Кнопка всегда прижата к низу */
.product-card .btn-whatsapp {
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    margin-top: auto;
    letter-spacing: 0.5px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
}
.empty-state i { font-size: 2.5rem; color: var(--amber-gold); margin-bottom: 15px; display: block; }

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.pagination a:hover { border-color: var(--amber-bright); color: var(--amber-bright); }
.pagination .current { background: var(--amber-bright); color: #120f0d; font-weight: 700; border-color: var(--amber-bright); }

/* ===== ЦЕНА СО СКИДКОЙ ===== */
.card-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231,76,60,0.4);
}
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 25px;
}
.product-price-block .price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e74c3c;
    font-weight: 700;
}
.product-price-block .price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.product-price-block .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--amber-bright);
}
.product-price-block .price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.7;
}
.product-price-block .discount-pill {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231,76,60,0.35);
}

/* ===================== СТРАНИЦА ТОВАРА ===================== */
.product-page { padding: 30px 0 100px; overflow-x: hidden; }
.product-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 55px;
    margin-top: 25px;
}
@media (max-width: 860px) {
    .product-layout { grid-template-columns: 1fr; gap: 30px; }
}

/* Галерея */
.gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.gallery-thumbs button {
    flex: 0 0 auto;
    width: 78px;
    height: 78px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background-color: var(--bg-card);
    cursor: pointer;
    padding: 0;
}
.gallery-thumbs button.active { border-color: var(--amber-bright); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Инфо-панель товара */
.product-id-tag {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.product-page h1 {
    font-size: 1.9rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.3;
}
.product-attrs {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.product-attrs .attr-item { font-size: 0.92rem; }
.product-attrs .attr-label { display: block; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.5px; }
.product-attrs .attr-value { color: var(--text-light); font-weight: 600; }
.product-description { color: var(--text-muted); margin-bottom: 30px; white-space: pre-line; }
.product-page .btn-whatsapp { width: 100%; padding: 18px; font-size: 0.95rem; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 18px;
}
.back-link:hover { color: var(--amber-bright); }

/* ===================== ФУТЕР / FIXED WA ===================== */
footer {
    background-color: #110f0e;
    padding: 70px 0 30px 0;
    border-top: 1px solid var(--bg-card);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-info h3 { color: var(--amber-bright); font-size: 1.5rem; margin-bottom: 15px; text-transform: uppercase; }
.footer-info p { color: var(--text-muted); margin-bottom: 10px; }
.footer-info i { color: var(--amber-bright); margin-right: 10px; width: 20px; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { color: var(--amber-bright); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--bg-card); color: #666; font-size: 0.9rem; }

.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-fixed:hover { transform: scale(1.1); }

/* ===================== МОБИЛЬНАЯ АДАПТАЦИЯ ===================== */
@media (max-width: 700px) {

    .product-img-link img { height: 160px; }

    .product-info { padding: 10px; gap: 4px; }
    .product-info h3 { font-size: 0.82rem; }
    .card-price-row .price { font-size: 0.88rem; }
    .card-price-row .price-old { font-size: 0.7rem; }
    .card-params-row { font-size: 0.7rem; gap: 6px; }
    .card-master-row { font-size: 0.7rem; }

    .product-card .btn-whatsapp {
        padding: 8px 4px;
        font-size: 0.7rem;
        gap: 4px;
        letter-spacing: 0;
    }

    .card-discount-badge {
        font-size: 0.68rem;
        padding: 3px 7px;
        top: 6px;
        right: 6px;
    }

    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 30px; }
    .category-title { font-size: 1.2rem; }
    .page-header h1 { font-size: 1.6rem; }
    .page-header { padding: 30px 0 15px; }
    .category-nav a { padding: 8px 14px; font-size: 0.78rem; }

    /* Галерея на мобильном */
    .product-page { overflow-x: hidden; }
    .product-layout { gap: 20px; }
    .gallery-thumbs button { width: 60px; height: 60px; }
}