/* ОСНОВНІ НАЛАШТУВАННЯ */

:root {
    --bg: #171918;
    --surface: #202320;
    --olive: #91a64d;
    --text: #e8e9e3;
    --muted: #a0a39a;
    --border: #383b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

/* ШАПКА САЙТУ */

.header {
    height: 100px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #111311;
    border-bottom: 1px solid var(--olive);
}

.logo {
    position: relative;
    color: var(--olive);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    flex-shrink: 0;
}

.logo::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    border-top: 3px solid var(--olive);
    border-radius: 50%;
    transform: rotate(-35deg);
    top: -17px;
    left: 0;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.2s;
}

.navigation a:hover {
    color: var(--olive);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions input {
    width: 220px;
    padding: 12px 16px;
    color: var(--text);
    background: transparent;
    border: 1px solid #505548;
    border-radius: 25px;
    outline: none;
}

.header-actions input:focus {
    border-color: var(--olive);
}

.header-actions button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* ГОЛОВНИЙ БАНЕР */

.hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 60px 5%;
    background:
        linear-gradient(90deg, #151715 0%, #151715 35%, #151715cc 65%, #15171566 100%),
        url("https://images.unsplash.com/photo-1518837695005-2083093ee35b?auto=format&fit=crop&w=1920&q=85")
        center / cover no-repeat;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 750px;
}

.hero-label {
    color: var(--olive);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    font-style: italic;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--olive);
}

.hero-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 17px 28px;
    background: var(--olive);
    color: #151715;
    font-size: 14px;
    font-weight: 800;
    transition: background 0.2s;
}

.hero-button:hover {
    background: #a9bc65;
}

/* КАТЕГОРІЇ */

.categories {
    padding: 35px 4%;
}

.categories h2 {
    font-size: 26px;
    margin-bottom: 25px;
    border-left: 5px solid var(--olive);
    padding-left: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 250px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    overflow: hidden;
    isolation: isolate;

    background-color: var(--surface);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid var(--border);
    color: #f2f2ed;
    text-decoration: none;

    transition: border-color 0.3s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        0deg,
        rgba(10, 12, 10, 0.95) 0%,
        rgba(10, 12, 10, 0.35) 45%,
        rgba(10, 12, 10, 0.05) 100%
    );
}

.category-card {
    isolation: isolate;
}

.category-card span {
    position: relative;
    z-index: 1;

    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition: color 0.3s ease;
}
.category-card span::after {
    content: " ↗";
    display: inline-block;
    margin-left: 8px;

    color: var(--olive);
    opacity: 0;
    transform: translateX(-8px);

    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--olive);
}

.category-card:hover span {
    color: var(--olive);
}

.category-card:hover span::after {
    opacity: 1;
    transform: translateX(0);
}
.category-card {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: border-color 0.3s ease;
}

.category-card:hover {
    border-color: var(--olive);
}
/* АДАПТАЦІЯ ДЛЯ ТЕЛЕФОНІВ */

@media (max-width: 1100px) {
    .header {
        flex-wrap: wrap;
        height: auto;
        padding: 20px 4%;
    }

    .navigation {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
    }

    .header-actions input {
        width: 180px;
    }
}

@media (max-width: 650px) {
    .header-actions input {
        display: none;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 11px;
    }

    .hero {
        min-height: 400px;
        padding: 40px 6%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        min-height: 120px;
        font-size: 15px;
    }
}/* КАТАЛОГ ТОВАРІВ */

.products {
    padding: 35px 4%;
}

.products h2 {
    font-size: 26px;
    margin-bottom: 25px;
    border-left: 5px solid var(--olive);
    padding-left: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    border-color: var(--olive);
    transform: translateY(-4px);
}

.product-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #292d27;
}

.product-info {
    padding: 16px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.product-price {
    color: var(--olive);
    font-weight: 700;
}

@media (max-width: 650px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card img {
        height: 160px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 15px;
    }
}
.product-sizes {
    margin-top: 8px;
    color: #a5bd5b;
    font-size: 14px;
    font-weight: 600;
}

.product-description {
    margin-top: 6px;
    color: #aaa;
    font-size: 14px;
}
.product-stock {
    color: #9caf50;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

.product-stock.out {
    color: #d66b5e;
}
/* ===== КОШИК ДУГА ===== */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: flex-end;
}

.cart-overlay[hidden] {
    display: none;
}

.cart-panel {
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #171914;
    color: #f1f1e9;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-left: 2px solid #89945c;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #454a36;
    padding-bottom: 15px;
}

.cart-header h2 {
    margin: 0;
    font-size: 24px;
}

#cart-close {
    background: none;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-footer {
    border-top: 1px solid #454a36;
    padding-top: 20px;
}

.cart-footer p {
    font-size: 20px;
}

#checkout-button {
    width: 100%;
    padding: 15px;
    background: #89945c;
    color: #111;
    border: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

#checkout-button:hover {
    background: #a3ae72;
}

#cart-button {
    position: relative;
    cursor: pointer;
}

#cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    background: #89945c;
    color: #111;
    font-size: 11px;
    font-weight: bold;
}

/* ===== ДИЗАЙН ВИБОРУ РОЗМІРУ ТА КНОПКИ КОШИКА ===== */

.product-size-select {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 14px;
    padding: 0 14px;

    background-color: #171a16;
    color: #e8e9e3;

    border: 1px solid #515b40;
    border-radius: 3px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    outline: none;

    transition: border-color 0.25s, background-color 0.25s;
}

.product-size-select:hover {
    border-color: var(--olive);
}

.product-size-select:focus {
    border-color: var(--olive);
    background-color: #20251b;
}

.product-size-select option {
    background: #202320;
    color: #e8e9e3;
}

/* КНОПКА ДОДАВАННЯ */

.add-to-cart {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    padding: 12px 16px;

    background: var(--olive);
    color: #141610;

    border: 1px solid var(--olive);
    border-radius: 3px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.25s,
        color 0.25s,
        border-color 0.25s;
}

.add-to-cart:hover:not(:disabled) {
    background: transparent;
    color: var(--olive);
}

.add-to-cart:active:not(:disabled) {
    background: #303927;
}

.add-to-cart:disabled {
    background: #292c27;
    color: #85877f;
    border-color: #3c4038;
    cursor: not-allowed;
    opacity: 0.75;
}

/* МОБІЛЬНА ВЕРСІЯ */

@media (max-width: 650px) {
    .product-size-select {
        height: 40px;
        font-size: 13px;
    }

    .add-to-cart {
        min-height: 42px;
        padding: 10px 8px;
        font-size: 11px;
        letter-spacing: 0.4px;
    }
}

/* ===== КНОПКИ ВИБОРУ РОЗМІРУ ===== */

.product-size-wrapper {
    margin-top: 15px;
}

.product-size-label {
    display: block;
    margin-bottom: 9px;
    color: #a0a39a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.product-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.product-size-button {
    min-width: 42px;
    height: 38px;
    padding: 0 10px;

    background: #171a16;
    color: #c7c9bf;

    border: 1px solid #454b3c;
    border-radius: 2px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.product-size-button:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.product-size-button.selected {
    background: var(--olive);
    color: #151710;
    border-color: var(--olive);
}

@media (max-width: 650px) {
    .product-size-button {
        min-width: 36px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* ===== ОФОРМЛЕННЯ ЗАМОВЛЕННЯ ДУГА ===== */

.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    overflow-y: auto;
}

.checkout-overlay[hidden] {
    display: none;
}

.checkout-panel {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background: #1c201b;
    color: var(--text);
    border: 1px solid #515b40;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.checkout-header h2 {
    font-size: 23px;
    color: var(--olive);
}

#checkout-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

#checkout-form h3 {
    margin: 24px 0 16px;
    padding-left: 10px;
    border-left: 3px solid var(--olive);
    font-size: 16px;
    text-transform: uppercase;
}

#checkout-form label {
    display: block;
    margin: 14px 0 7px;
    color: #b8bbae;
    font-size: 13px;
    font-weight: 600;
}

#checkout-form input,
#checkout-form select,
#checkout-form textarea {
    display: block;
    width: 100%;
    padding: 13px 14px;
    background: #141713;
    color: var(--text);
    border: 1px solid #454b3c;
    border-radius: 2px;
    outline: none;
    font: inherit;
    font-size: 14px;
}

#checkout-form input:focus,
#checkout-form select:focus,
#checkout-form textarea:focus {
    border-color: var(--olive);
}

#checkout-form textarea {
    resize: vertical;
}

.payment-info {
    padding: 16px;
    background: #252b20;
    border: 1px solid #515b40;
    border-left: 3px solid var(--olive);
}

.payment-info strong {
    color: var(--olive);
    font-size: 15px;
}

.payment-info p {
    margin-top: 6px;
    color: #b8bbae;
    font-size: 13px;
}

#submit-order {
    width: 100%;
    margin-top: 25px;
    padding: 16px;
    background: var(--olive);
    color: #151710;
    border: 1px solid var(--olive);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

#submit-order:hover {
    background: transparent;
    color: var(--olive);
}

@media (max-width: 600px) {
    .checkout-overlay {
        padding: 10px;
        align-items: flex-start;
    }

    .checkout-panel {
        padding: 20px;
        max-height: 95vh;
    }

    .checkout-header h2 {
        font-size: 19px;
    }
}
/* DUHA — правильне приховування категорій і товарів */
#category-grid[hidden],
#subcategory-section[hidden],
#products[hidden] {
    display: none !important;
}
/* =====================================
   DUHA — ПІДКАТЕГОРІЇ
===================================== */

#subcategory-section {
    margin-top: 20px;
}

#subcategory-title {
    margin: 20px 0;
    padding-left: 12px;
    border-left: 4px solid #91a64d;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

#subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

#subcategory-grid .category-card {
    width: 100%;
    min-height: 190px;
    display: flex;
    align-items: flex-end;
    padding: 20px;

    background-color: #080808;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid #383838;
    color: #fff;
    text-decoration: none;
    cursor: pointer;

    transition:
        background-size 0.5s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

#subcategory-grid .category-card:hover {
    border-color: #91a64d;
    transform: translateY(-3px);
}

#subcategory-grid .category-card span {
    font-size: 18px;
    font-weight: 800;
}

/* Кнопки повернення */

#back-to-categories,
#back-to-subcategories {
    margin-top: 18px;
    padding: 12px 20px;
    background: #151515;
    border: 1px solid #91a64d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

#back-to-categories:hover,
#back-to-subcategories:hover {
    background: #91a64d;
}

/* Мобільна версія */

@media (max-width: 700px) {
    #subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #subcategory-grid .category-card {
        min-height: 135px;
        padding: 13px;
    }

    #subcategory-grid .category-card span {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    #subcategory-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================
   DUHA — КОМПАКТНИЙ ОПИС ТОВАРУ
===================================== */

.product-description-wrapper {
    position: relative;
    margin: 8px 0 12px;
}

.product-description-wrapper .product-description {
    margin: 0;
    line-height: 1.45;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.product-description-wrapper .product-description.collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Маленька стрілочка */
.description-toggle {
    display: block;
    width: 26px;
    height: 22px;
    margin: 3px auto 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #91a64d;
    font-size: 24px;
    line-height: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.description-toggle:hover {
    color: #c1d67d;
}

.description-toggle[hidden] {
    display: none !important;
}


/* ===== DUHA — ОКРЕМА СТОРІНКА ТОВАРУ ТА ГАЛЕРЕЯ ===== */
.product-detail[hidden] { display: none !important; }
.product-detail { padding: 28px 4% 55px; min-height: 420px; }
.product-detail-back {
    margin-bottom: 24px; padding: 11px 16px; background: transparent;
    border: 1px solid var(--olive); color: var(--text); font-weight: 700; cursor: pointer;
}
.product-detail-back:hover { background: var(--olive); color: #151710; }
.product-detail-layout {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 38px; align-items: start; max-width: 1250px; margin: 0 auto;
}
.product-gallery { min-width: 0; }
.product-gallery-main {
    display: block; width: 100%; max-height: 680px; min-height: 320px;
    object-fit: contain; background: #202320; border: 1px solid var(--border);
}
.product-gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-gallery-thumb {
    width: 82px; height: 82px; padding: 3px; overflow: hidden; cursor: pointer;
    background: #202320; border: 1px solid var(--border);
}
.product-gallery-thumb.active, .product-gallery-thumb:hover { border: 2px solid var(--olive); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-info { padding: 8px 0; }
.product-detail-info h1 { font-size: clamp(25px, 3vw, 38px); line-height: 1.2; margin-bottom: 16px; }
.product-detail-price { color: var(--olive); font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.product-detail-description-title { margin-top: 28px; margin-bottom: 10px; color: var(--olive); font-size: 13px; letter-spacing: 1px; }
.product-detail-description { color: #c4c7bd; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.product-detail-add { max-width: 420px; margin-top: 25px; }
.product-card-image-clickable, .product-card-title-clickable { cursor: pointer; }
.product-card-title-clickable:hover { color: var(--olive); }
@media (max-width: 750px) {
    .product-detail { padding: 22px 4% 40px; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 22px; }
    .product-gallery-main { min-height: 240px; max-height: 520px; }
    .product-gallery-thumb { width: 66px; height: 66px; }
    .product-detail-info h1 { font-size: 25px; }
}
/* =====================================
   DUHA — СТОРІНКА ТОВАРУ ТА ГАЛЕРЕЯ
===================================== */

.product-detail {
    padding: 35px 4%;
    min-height: 500px;
}

.product-detail[hidden] {
    display: none !important;
}

.product-detail-back {
    display: inline-block;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--olive);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.product-detail-back:hover {
    background: var(--olive);
    color: #111;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 40px;
    align-items: start;
}

/* ГАЛЕРЕЯ */

.product-gallery {
    min-width: 0;
}

.product-gallery-main {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #202320;
    border: 1px solid var(--border);
}

.product-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-thumb {
    width: 85px;
    height: 85px;
    padding: 3px;
    background: #202320;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.2s;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border: 2px solid var(--olive);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ІНФОРМАЦІЯ ПРО ТОВАР */

.product-detail-info {
    padding: 10px 0;
}

.product-detail-info h1 {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.3;
}

.product-detail-price {
    margin-bottom: 12px;
    color: var(--olive);
    font-size: 28px;
    font-weight: 800;
}

.product-detail-description-title {
    margin-top: 30px;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid var(--olive);
    font-size: 17px;
}

.product-detail-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-detail-add {
    margin-top: 25px;
}

/* КЛІКАБЕЛЬНІ ЕЛЕМЕНТИ КАРТКИ */

.product-card-image-clickable,
.product-card-title-clickable {
    cursor: pointer;
}

.product-card-title-clickable:hover {
    color: var(--olive);
}

/* МОБІЛЬНА ВЕРСІЯ */

@media (max-width: 750px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-gallery-main {
        height: 350px;
    }

    .product-detail-info h1 {
        font-size: 24px;
    }

    .product-detail-price {
        font-size: 24px;
    }

    .product-gallery-thumb {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 400px) {
    .product-gallery-main {
        height: 280px;
    }

    .product-detail {
        padding: 25px 4%;
    }
}
/* Галерея фотографій в адмінці */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.image-preview-item {
    position: relative;
    width: 110px;
    height: 110px;
    background: #202320;
    border: 1px solid #91a64d;
    border-radius: 5px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item button {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 4px 8px;
    background: #a83232;
    color: white;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}
/* ===== СОРТУВАННЯ ТОВАРІВ — ДИЗАЙН ДУГА ===== */

.product-sorting {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 22px;
}

#product-sort {
    width: 270px;
    min-height: 46px;
    padding: 0 42px 0 16px;

    background-color: #20221f;
    color: #f2f2ed;

    border: 1px solid #8fa64b;
    border-radius: 3px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    outline: none;

    transition: border-color 0.2s ease,
                background-color 0.2s ease,
                box-shadow 0.2s ease;
}

#product-sort:hover {
    background-color: #292d25;
    border-color: #a5bd5a;
}

#product-sort:focus {
    border-color: #a5bd5a;
    box-shadow: 0 0 0 2px rgba(143, 166, 75, 0.2);
}

#product-sort option {
    background-color: #20221f;
    color: #f2f2ed;
    font-weight: 500;
}

/* Мобільна версія */
@media (max-width: 600px) {
    .product-sorting {
        justify-content: stretch;
        margin-bottom: 16px;
    }

    #product-sort {
        width: 100%;
        min-height: 44px;
        font-size: 13px;
    }
}
/* Артикул товару */
.product-article {
    margin: 5px 0 8px;
    color: #a5bd5b;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Артикул на сторінці товару */
.product-detail-article {
    margin: -8px 0 18px;
    color: #a5bd5b;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Стара ціна */
.product-old-price {
    display: inline-block;
    margin-right: 10px;
    color: #888;
    font-size: 0.85em;
    font-weight: 400;
    text-decoration: line-through;
}
/* Нова ціна зі знижкою */
.product-price,
.product-detail-price {
    font-weight: 700;
}
/* Логотип ДУГА */
.header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .logo img {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
}

/* ===== ІНФОРМАЦІЙНІ БЛОКИ ДУГА ===== */

.info-section {
    padding: 65px 7%;
    border-top: 2px solid #91a84f;
    background: #10110e;
    color: #e5e5e5;
}

.info-section h2 {
    color: #a5bd5b;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0 0 28px;
}

.info-section p {
    max-width: 750px;
    color: #bcbfb3;
    font-size: 16px;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    padding: 25px;
    border: 1px solid #414632;
    background: #171912;
}

.info-card h3 {
    color: #a5bd5b;
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 24px;
    border: 1px solid #a5bd5b;
    color: #a5bd5b;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.social-links a:hover {
    background: #a5bd5b;
    color: #111;
}

@media (max-width: 600px) {
    .info-section {
        padding: 40px 20px;
    }

    .info-section h2 {
        font-size: 22px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }

    .social-links a {
        width: 100%;
        box-sizing: border-box;
    }
}
.product-size-button:disabled,
.product-size-button.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* =====================================
   DUHA — ОСОБИСТИЙ КАБІНЕТ ПОКУПЦЯ
===================================== */

.account-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
}

.account-overlay[hidden] {
    display: none !important;
}

.account-panel {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background: #1c201b;
    color: var(--text);
    border: 1px solid #515b40;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.5);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.account-header h2 {
    color: var(--olive);
    font-size: 19px;
    letter-spacing: 1px;
}

#account-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.account-tabs button {
    flex: 1;
    padding: 12px;
    background: #141713;
    color: var(--muted);
    border: 1px solid #454b3c;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.account-tabs button.active,
.account-tabs button:hover {
    background: var(--olive);
    color: #151710;
    border-color: var(--olive);
}

#account-login-form label,
#account-register-form label {
    display: block;
    margin: 15px 0 7px;
    color: #b8bbae;
    font-size: 13px;
    font-weight: 600;
}

#account-login-form input,
#account-register-form input {
    display: block;
    width: 100%;
    padding: 13px 14px;
    background: #141713;
    color: var(--text);
    border: 1px solid #454b3c;
    border-radius: 2px;
    outline: none;
    font: inherit;
    font-size: 14px;
}

#account-login-form input:focus,
#account-register-form input:focus {
    border-color: var(--olive);
}

.account-submit {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    background: var(--olive);
    color: #151710;
    border: 1px solid var(--olive);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.account-submit:hover {
    background: transparent;
    color: var(--olive);
}

.account-message {
    padding: 12px;
    margin-bottom: 15px;
    background: #292d25;
    border-left: 3px solid var(--olive);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

#account-profile h3 {
    margin: 10px 0 18px;
    color: var(--olive);
    font-size: 18px;
}

.account-profile-info {
    padding: 16px;
    background: #141713;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

.account-profile-info strong {
    color: var(--text);
}

.account-orders-title {
    margin-top: 28px !important;
    padding-left: 10px;
    border-left: 3px solid var(--olive);
}

#account-orders {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.account-order {
    padding: 15px;
    background: #141713;
    border: 1px solid var(--border);
}

.account-order strong {
    color: var(--olive);
}

#account-logout {
    width: 100%;
    margin-top: 25px;
    padding: 13px;
    background: transparent;
    color: #d58b7c;
    border: 1px solid #75483e;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

#account-logout:hover {
    background: #75483e;
    color: white;
}

@media (max-width: 600px) {
    .account-overlay {
        padding: 10px;
        align-items: flex-start;
    }

    .account-panel {
        padding: 20px;
        max-height: 95vh;
        margin: auto 0;
    }

    .account-header h2 {
        font-size: 16px;
    }
}
/* =====================================
   DUHA — ОНОВЛЕНИЙ ДИЗАЙН ОСОБИСТОГО КАБІНЕТУ
===================================== */

.account-panel {
    max-width: 760px;
    padding: 32px;
    background: #191c18;
    border: 1px solid #596345;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
}

.account-header {
    padding-bottom: 22px;
    margin-bottom: 28px;
}

.account-header h2 {
    font-size: 21px;
    letter-spacing: 1.5px;
}

#account-profile h3 {
    font-size: 21px;
    margin: 8px 0 22px;
}

.account-profile-info {
    padding: 20px;
    background: linear-gradient(135deg, #22271e, #151813);
    border: 1px solid #414a34;
    border-left: 4px solid var(--olive);
    font-size: 15px;
}

.account-orders-title {
    margin-top: 32px !important;
    margin-bottom: 18px !important;
    font-size: 17px !important;
    letter-spacing: 0.7px;
}

#account-orders {
    gap: 14px;
}

.account-order {
    padding: 19px;
    background: #20241e;
    border: 1px solid #3c4434;
    transition: border-color 0.2s, transform 0.2s;
}

.account-order:hover {
    border-color: var(--olive);
    transform: translateY(-2px);
}

.account-order strong {
    color: #a5bd5b;
}

#account-logout {
    margin-top: 30px;
    padding: 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

#account-logout:hover {
    background: #75483e;
    border-color: #75483e;
}

/* Мобільна версія */

@media (max-width: 600px) {
    .account-overlay {
        padding: 10px;
    }

    .account-panel {
        max-width: 100%;
        padding: 20px;
    }

    .account-header h2 {
        font-size: 17px;
    }

    #account-profile h3 {
        font-size: 18px;
    }

    .account-profile-info,
    .account-order {
        padding: 15px;
    }
}
/* =====================================
   DUHA — ВКЛАДКИ ОСОБИСТОГО КАБІНЕТУ
===================================== */

.account-dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.account-dashboard-tab {
    min-height: 46px;
    padding: 10px 8px;
    background: #141713;
    color: #a0a39a;
    border: 1px solid #414638;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-dashboard-tab:hover {
    color: var(--olive);
    border-color: var(--olive);
}

.account-dashboard-tab.active {
    background: var(--olive);
    color: #151710;
    border-color: var(--olive);
}

.account-dashboard-section {
    min-height: 180px;
    animation: accountSectionIn 0.2s ease;
}

.account-dashboard-section[hidden] {
    display: none !important;
}

@keyframes accountSectionIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .account-dashboard-tabs {
        gap: 5px;
    }

    .account-dashboard-tab {
        min-height: 42px;
        padding: 8px 4px;
        font-size: 10px;
        letter-spacing: 0;
    }
}
/* DUHA — компактні секції кабінету */

.account-dashboard-section {
    min-height: 0;
}

#account-logout {
    margin-top: 28px;
}
/* =====================================
   DUHA — КАРТКИ ЗАМОВЛЕНЬ
===================================== */

.account-order {
    padding: 20px;
    background: linear-gradient(145deg, #20251e, #151813);
    border: 1px solid #414a35;
    transition: border-color 0.2s ease;
}

.account-order:hover {
    border-color: var(--olive);
}

.account-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.account-order-number {
    color: #d9dfc9 !important;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.account-order-status {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #899d4e;
    background: rgba(145, 165, 78, 0.12);
    color: #b5ca75;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-order-status.new {
    color: #b5ca75;
    border-color: #899d4e;
}

.account-order-status.confirmed {
    color: #91c7a0;
    border-color: #568b65;
}

.account-order-status.processing {
    color: #e1bd76;
    border-color: #9b7940;
}

.account-order-status.shipped {
    color: #83bce0;
    border-color: #527e9c;
}

.account-order-status.completed {
    color: #91c7a0;
    border-color: #568b65;
}

.account-order-status.cancelled {
    color: #d58b7c;
    border-color: #75483e;
}

.account-order-date {
    margin: 0 0 18px;
    color: #999f90;
    font-size: 13px;
}

.account-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #343b2e;
    border-bottom: 1px solid #343b2e;
}

.account-order-total span {
    color: #999f90;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.account-order-total strong {
    color: var(--olive) !important;
    font-size: 19px;
}

.account-order-details-button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: transparent;
    color: var(--olive);
    border: 1px solid #596345;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.2s ease;
}

.account-order-details-button:hover {
    background: var(--olive);
    color: #151710;
    border-color: var(--olive);
}

.account-order-details {
    margin-top: 16px;
    padding: 16px;
    background: #141713;
    border-left: 3px solid var(--olive);
}

.account-order-details[hidden] {
    display: none !important;
}

.account-order-details h4 {
    margin: 0 0 12px;
    color: var(--olive);
    font-size: 12px;
    letter-spacing: 0.7px;
}

.account-order-product {
    padding: 9px 0;
    color: #c1c5b9;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid #30362b;
}

.account-order-product:last-child {
    border-bottom: none;
}

@media (max-width: 600px) {
    .account-order {
        padding: 15px;
    }

    .account-order-header {
        align-items: flex-start;
    }

    .account-order-total strong {
        font-size: 16px;
    }
}
/* =====================================
   DUHA — НАЛАШТУВАННЯ ПРОФІЛЮ
===================================== */

.account-settings-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.account-settings-form h4 {
    margin: 0 0 12px;
    color: #e1e4d8;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.account-settings-form label {
    display: block;
    margin-top: 8px;
    color: #b5bdab;
    font-size: 13px;
    font-weight: 700;
}

.account-settings-form input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    background: #111510;
    color: #f1f3ed;
    border: 1px solid #46503b;
    border-radius: 0;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.account-settings-form input:focus {
    border-color: #9caf55;
    box-shadow: 0 0 0 2px rgba(156, 175, 85, 0.12);
}

.account-settings-form .account-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    background: var(--olive);
    color: #111510;
    border: 1px solid var(--olive);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.account-settings-form .account-submit:hover {
    filter: brightness(1.1);
}

#account-profile-message {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .account-settings-form {
        gap: 10px;
    }

    .account-settings-form input {
        font-size: 16px;
    }
}

/* ==========================================
   DUHA — PREMIUM ACCOUNT DESIGN
========================================== */

/* Заголовки секцій */
.account-dashboard-section > h3,
.account-settings-form > h4,
#account-addresses > h4 {
    color: #a5bd5b;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 24px 0 18px;
}

/* Налаштування */
.account-settings-form {
    padding: 22px;
    margin-top: 16px;
    background: linear-gradient(145deg, #22271f, #171b16);
    border: 1px solid #3e4834;
    border-left: 3px solid var(--olive);
}

.account-settings-form label,
#account-address-form label {
    display: block;
    margin: 16px 0 8px;
    color: #bfc5b1;
    font-size: 13px;
    font-weight: 700;
}

.account-settings-form input:not([type="checkbox"]),
#account-address-form input:not([type="checkbox"]),
#account-address-form select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    background: #11150f;
    color: #f0f0e8;
    border: 1px solid #414b36;
    border-radius: 3px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.account-settings-form input:focus,
#account-address-form input:focus,
#account-address-form select:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 2px rgba(165, 189, 91, .12);
}

/* Кнопки */
.account-submit {
    min-height: 48px;
    margin-top: 22px;
    letter-spacing: .7px;
    border-radius: 3px;
}

.account-submit:disabled {
    opacity: .6;
    cursor: wait;
}

/* Адреси доставки */
#account-addresses {
    padding: 22px;
    margin-top: 20px;
    background: linear-gradient(145deg, #22271f, #171b16);
    border: 1px solid #465039;
    border-left: 3px solid var(--olive);
}

#account-addresses > h4 {
    margin-top: 0;
}

#account-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-address-card {
    position: relative;
    padding: 18px;
    background: #11150f;
    border: 1px solid #3d4833;
    border-radius: 3px;
    transition: border-color .2s, background .2s;
}

.account-address-card:hover {
    border-color: var(--olive);
    background: #191f15;
}

.account-address-card strong {
    display: block;
    margin-bottom: 8px;
    color: #e5e8dc;
    font-size: 15px;
}

.account-address-card p {
    margin: 0 0 14px;
    color: #aeb5a2;
    font-size: 14px;
}

/* Основна адреса */
.address-default-badge {
    display: inline-block;
    padding: 6px 10px;
    margin: 0 0 14px;
    background: rgba(165, 189, 91, .13);
    border: 1px solid #718448;
    color: #b9d477;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

/* Кнопки керування адресами */
.account-address-card button {
    min-height: 36px;
    padding: 9px 12px;
    margin: 5px 6px 0 0;
    background: transparent;
    color: #c1c8b4;
    border: 1px solid #566146;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    cursor: pointer;
    transition: .2s;
}

.account-address-card button:hover {
    background: var(--olive);
    border-color: var(--olive);
    color: #151710;
}

.account-address-card button[data-action="delete"] {
    color: #d58b7c;
    border-color: #75483e;
}

.account-address-card button[data-action="delete"]:hover {
    background: #75483e;
    color: white;
}

/* Форма нової адреси */
#account-address-form {
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid #3d4833;
}

#account-address-form h4 {
    margin: 0 0 18px;
    color: #a5bd5b;
    font-size: 14px;
    letter-spacing: .8px;
}

#account-address-form select {
    cursor: pointer;
}

/* Чекбокс основної адреси */
#account-address-form .address-default-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    cursor: pointer;
}

#account-address-form input[type="checkbox"] {
    appearance: auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    accent-color: var(--olive);
    cursor: pointer;
}

/* Повідомлення */
#account-address-message,
#account-password-message,
#account-profile-message {
    padding: 12px;
    margin-top: 14px;
    background: #11150f;
    border-left: 3px solid var(--olive);
    color: #b9d477;
    font-size: 13px;
}

/* Мобільна адаптація */
@media (max-width: 600px) {
    .account-panel {
        width: 100%;
        padding: 18px;
    }

    .account-settings-form,
    #account-addresses {
        padding: 15px;
    }

    .account-address-card {
        padding: 14px;
    }

    .account-address-card button {
        margin-right: 4px;
        font-size: 9px;
    }

    #account-address-form input:not([type="checkbox"]),
    #account-address-form select {
        font-size: 13px;
    }
}
/* Бренд та колір товару */
.product-brand,
.product-color {
    margin: 5px 0;
    font-size: 13px;
    color: #aeb68d;
    font-weight: 500;
}
/* ===== ФІЛЬТРИ КАТАЛОГУ ДУГА ===== */

.product-sorting {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 24px;
}

#product-sort,
#product-brand-filter,
#product-color-filter {
    height: 50px;
    padding: 0 16px;
    background: #1e211e;
    color: #f1f1e9;
    border: 1px solid #899b46;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

#product-sort {
    width: 290px;
}

#product-brand-filter,
#product-color-filter {
    width: 190px;
}

#product-sort:hover,
#product-brand-filter:hover,
#product-color-filter:hover {
    border-color: #a0b64d;
    background: #272b25;
}

#product-sort:focus,
#product-brand-filter:focus,
#product-color-filter:focus {
    border-color: #a0b64d;
    box-shadow: 0 0 0 2px rgba(160, 182, 77, 0.15);
}

#product-brand-filter option,
#product-color-filter option,
#product-sort option {
    background: #1e211e;
    color: #f1f1e9;
}

/* Мобільна версія */
@media (max-width: 700px) {
    .product-sorting {
        justify-content: stretch;
        gap: 8px;
    }

    #product-sort,
    #product-brand-filter,
    #product-color-filter {
        width: 100%;
        flex: 1 1 100%;
    }
}
/* ===== КНОПКА СКИДАННЯ ФІЛЬТРІВ ===== */

#reset-product-filters {
    height: 50px;
    padding: 0 20px;
    background: transparent;
    color: #a0b64d;
    border: 1px solid #899b46;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

#reset-product-filters:hover {
    background: #899b46;
    color: #171a17;
}

/* Мобільна версія */
@media (max-width: 700px) {
    #reset-product-filters {
        width: 100%;
    }
}
/* ===== КНОПКА СКИДАННЯ ФІЛЬТРІВ ===== */

#reset-product-filters {
    height: 50px;
    padding: 0 20px;
    background: transparent;
    color: #a0b64d;
    border: 1px solid #899b46;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

#reset-product-filters:hover {
    background: #899b46;
    color: #171a17;
}

@media (max-width: 700px) {
    #reset-product-filters {
        width: 100%;
    }
}
.product-colors-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 10px 0 20px;
}

.product-colors-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.product-colors-options input {
    width: 17px;
    height: 17px;
    accent-color: #899b46;
}

/* ДУГА — перемикач кольорів товару */

.product-color-wrapper {
    margin: 22px 0;
}

.product-color-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #a0ad68;
}

.product-color-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-color-button {
    padding: 11px 18px;
    border: 1px solid #414638;
    border-radius: 3px;
    background: #20231f;
    color: #eeeeee;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.product-color-button:hover {
    border-color: #9aaa52;
    color: #a0b65a;
}

.product-color-button.selected {
    border: 2px solid #9aaa52;
    background: #303a24;
    color: #b3c76a;
    font-weight: 700;
}

/* ===== ВІДГУКИ ПОКУПЦІВ ===== */

.product-reviews {
    width: 100%;
    margin: 35px 0;
    padding: 25px;
    box-sizing: border-box;
    background: #171a17;
    border: 1px solid #343a30;
    border-radius: 8px;
}

.product-reviews h2 {
    margin: 0 0 12px;
    color: #f2f2f2;
    font-size: 25px;
    font-weight: 800;
}

.reviews-summary {
    color: #a2b85b;
    font-weight: 700;
    margin-bottom: 20px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-review-card {
    padding: 16px;
    background: #202520;
    border: 1px solid #3b4534;
    border-radius: 6px;
}

.product-review-card h3 {
    margin: 0 0 8px;
    color: #fff;
}

.product-review-card p {
    color: #ddd;
    line-height: 1.5;
}

.product-review-card small {
    color: #929b8b;
}

.review-rating {
    color: #a2b85b;
    font-size: 20px;
    letter-spacing: 3px;
}

.review-form {
    max-width: 650px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 2px solid #91a64d;
}

.review-form h3 {
    color: #a2b85b;
    font-size: 20px;
    margin-bottom: 18px;
}

.review-form p,
.review-form label {
    display: block;
    color: #eee;
    margin-bottom: 10px;
}

.review-rating-buttons {
    display: flex;
    gap: 7px;
    margin-bottom: 22px;
}

.review-star {
    padding: 0;
    background: transparent;
    border: none;
    color: #62685c;
    font-size: 34px;
    cursor: pointer;
    transition: color 0.2s;
}

.review-star.selected {
    color: #a2b85b;
}
/* Підсвічування зірок при наведенні */
.review-rating-buttons:hover .review-star {
    color: #62685c;
}

.review-rating-buttons .review-star:hover,
.review-rating-buttons .review-star:hover ~ .review-star {
    color: #a2b85b;
}

.review-star.selected {
    color: #a2b85b;
    transform: scale(1.12);
}

.review-star {
    transition: color 0.2s ease, transform 0.2s ease;
}

.review-comment {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 13px;
    box-sizing: border-box;
    resize: vertical;
    background: #202520;
    color: #fff;
    border: 1px solid #59634b;
    border-radius: 5px;
    font: inherit;
    margin: 10px 0 16px;
}

.review-comment:focus {
    outline: none;
    border-color: #a2b85b;
}

.review-submit {
    padding: 14px 24px;
    background: #91a64d;
    color: #111;
    border: none;
    border-radius: 5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.review-submit:hover {
    background: #a9bd62;
}

.review-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.review-message {
    margin-top: 14px;
    color: #a2b85b !important;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .product-reviews {
        padding: 16px;
    }

    .product-reviews h2 {
        font-size: 21px;
    }

    .review-submit {
        width: 100%;
    }
}
.review-star.hovered {
    color: #c4df67;
    transform: scale(1.15);
}