/* ========== CSS ЗМІННІ ========== */
:root {
    --bg: #FCF9F5;
    --bg-secondary: #F5F0E8;
    --text: #1A1A1A;
    --text-light: #5C5C5C;
    --accent: #B87C4F;
    --accent-light: #D4A373;
    --accent-dark: #8B5E3C;
    --border: #E8E2D9;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.03);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --header-height: 80px;
}

/* ========== БАЗОВІ СТИЛІ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    padding-top: var(--header-height);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== ПРЕЛОАДЕР ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.knit-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 8px auto;
    animation: knitAnim 1s ease-in-out infinite;
}

@keyframes knitAnim {
    0%, 100% { width: 20px; opacity: 0.3; }
    50% { width: 80px; opacity: 1; }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.preloader p {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 4px;
    font-size: 14px;
    color: var(--accent);
}

/* ========== ХЕДЕР ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(252, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-btn {
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.header__right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ========== МОБІЛЬНЕ МЕНЮ - САЙДБАР ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.mobile-menu.open {
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.mobile-menu.open .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    left: -320px;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--bg, #FCF9F5);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open .mobile-menu__panel {
    left: 0;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border, #E8E2D9);
}

.mobile-menu__logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--accent, #B87C4F);
}

.mobile-menu__close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text, #1A1A1A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #E8E2D9);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text, #1A1A1A);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s ease;
}

.mobile-nav__link i {
    width: 24px;
    font-size: 18px;
    color: var(--accent, #B87C4F);
}

.mobile-nav__link:hover {
    background: var(--bg-secondary, #F5F0E8);
}

.mobile-categories {
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #E8E2D9);
}

.mobile-categories__title {
    padding: 12px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light, #5C5C5C);
    font-weight: 600;
}

.mobile-categories__list {
    display: flex;
    flex-direction: column;
}

.mobile-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text, #1A1A1A);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.mobile-category-item i {
    width: 24px;
    font-size: 16px;
    color: var(--accent, #B87C4F);
}

.mobile-category-item:hover {
    background: var(--bg-secondary, #F5F0E8);
}

.mobile-contacts {
    padding: 10px 0;
    margin-top: auto;
    border-top: 1px solid var(--border, #E8E2D9);
}

.mobile-contacts__title {
    padding: 12px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light, #5C5C5C);
    font-weight: 600;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text, #1A1A1A);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.mobile-contact-item i {
    width: 24px;
    font-size: 16px;
    color: var(--accent, #B87C4F);
}

.mobile-contact-item:hover {
    background: var(--bg-secondary, #F5F0E8);
}

.mobile-menu__footer {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light, #5C5C5C);
}

@media (max-width: 480px) {
    .mobile-menu__panel {
        width: 280px;
    }
}

/* ========== ГЕРОЙ ========== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(184,124,79,0.03) 0%, transparent 70%);
    z-index: 0;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 24px;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__desc {
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 380px;
}

.hero .btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    border-radius: 40px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
}

.hero .btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 124, 79, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    font-family: 'Inter', sans-serif;
}

.btn--primary {
    background: var(--accent);
    color: white;
    border-radius: 40px;
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero__image-inner {
    height: 500px;
    background: url('uploads/hero-bg.jpg') center/cover;
    border-radius: 30px;
}

/* ========== КАТЕГОРІЇ ========== */
.categories-section {
    padding: 60px 0;
    background: var(--bg);
}

.categories-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}

.category-card-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 300px;
    background: linear-gradient(135deg, #e8e2d9, #d4c9bc);
    background-size: cover;
    background-position: center;
}

.category-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-card-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.category-card-main__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.category-card-main__name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.category-card-main__count {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.category-card-main__count span {
    font-size: 16px;
    font-weight: 600;
    color: #ffd7b5;
}

@media (max-width: 768px) {
    .category-card-main {
        height: 240px;
    }
    .category-card-main__name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-card-main {
        height: 200px;
    }
}

/* ========== ФІЛЬТРИ ========== */
.filter-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ========== ТОВАРИ ========== */
.collection {
    padding: 0 0 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-card__info {
    padding: 16px;
    flex: 1;
}

.product-card__title {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product-card__price {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 18px;
}

.product-card__btn {
    width: calc(100% - 32px);
    margin: 0 16px 20px 16px;
    padding: 10px 0;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
}

.product-card__btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.product-card__btn:active {
    transform: translateY(0);
}

.stock-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.stock-badge.in-stock {
    background: #e8f5e9;
    color: #2ecc71;
}

.stock-badge.out-of-stock {
    background: #fdecea;
    color: #e74c3c;
}

/* ========== ПАГІНАЦІЯ ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text);
}

.pagination button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== SEO ТЕКСТ ========== */
.seo-text-section {
    max-width: var(--container);
    margin: 50px auto 0;
    padding: 0 24px;
}

.seo-text-content {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 40px;
    line-height: 1.7;
    color: #444;
}

.seo-text-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.seo-category-text {
    background: #f8f5f0;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    line-height: 1.7;
    color: #444;
}

.seo-category-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 25px 0 15px 0;
    color: #1a1a1a;
}

.seo-category-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 20px 0 10px 0;
    color: #1a1a1a;
}

.seo-category-text p {
    margin-bottom: 15px;
}

.seo-category-text ul, .seo-category-text ol {
    margin: 15px 0 15px 20px;
}

.seo-category-text li {
    margin-bottom: 8px;
}

.seo-category-text a {
    color: #B87C4F;
    text-decoration: none;
}

.seo-category-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .seo-category-text {
        padding: 25px;
    }
    .seo-category-text h2 {
        font-size: 20px;
    }
}

/* ========== ПРО БРЕНД ========== */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-inner {
    height: 500px;
    background: url('https://images.unsplash.com/photo-1618354691373-d851c5c3a990?w=800&h=1000&fit=crop') center/cover;
    border-radius: 30px;
}

.about__text {
    color: var(--text-light);
    margin: 24px 0 40px;
    line-height: 1.7;
}

.about__features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
}

.feature__number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    display: block;
}

.feature__text {
    font-size: 13px;
    color: var(--text-light);
}

/* ========== КОРЗИНА ========== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar__header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-sidebar__items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item__image {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item__info {
    flex: 1;
}

.cart-item__title {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
}

.cart-item__quantity {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.cart-item__quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: none;
    border-radius: 50%;
    cursor: pointer;
}

.cart-sidebar__footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ========== МОДАЛЬНІ ВІКНА ========== */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.order-modal.active {
    display: flex;
}

.order-modal__content {
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.order-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.order-modal__close:hover {
    color: #333;
}

.order-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.order-modal__subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.order-form__group {
    margin-bottom: 18px;
}

.order-form__label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.order-form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    transition: 0.3s;
}

.order-form__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,124,79,0.1);
}

.order-summary {
    background: #f8f5f0;
    border-radius: 16px;
    padding: 15px;
    margin: 20px 0;
}

.order-summary__item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.order-summary__total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    font-size: 16px;
    color: var(--accent);
}

.order-form__submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.order-form__submit:hover {
    background: var(--accent-dark);
}

/* ========== ПОВІДОМЛЕННЯ ========== */
.toast-message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2ecc71;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    z-index: 2500;
    animation: toastSlide 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== ФУТЕР ========== */
.footer {
    background: var(--text);
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 20px;
}

.footer__col h4 {
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 15px;
}

.footer__col p, .footer__col a {
    color: #aaa;
    text-decoration: none;
    line-height: 1.8;
    font-size: 13px;
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__socials {
    display: flex;
    gap: 20px;
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* ========== АДАПТАЦІЯ ДЛЯ МОБІЛЬНИХ ========== */
@media (max-width: 1024px) {
    .hero .btn--primary {
        padding: 11px 28px;
        font-size: 14px;
        min-width: 130px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero__title {
        font-size: 48px;
    }
    
    .product-card__btn {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero__badge {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__title {
        font-size: 36px;
        text-align: center;
    }
    
    .hero__desc {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
    }
    
    .hero .btn--primary {
        display: inline-flex;
        padding: 10px 28px;
        font-size: 14px;
        min-width: 130px;
        margin: 0 auto;
        text-align: center;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .hero__image-inner {
        height: 500px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card__btn {
        width: calc(100% - 24px);
        margin: 0 12px 16px 12px;
        padding: 12px 0;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-inner {
        height: 280px;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer__socials {
        justify-content: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .order-modal__content {
        padding: 25px;
    }
    
    .order-modal__title {
        font-size: 24px;
    }
    
    .toast-message {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
    
    .pagination button {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }
    
    .hero .btn--primary {
        padding: 8px 24px;
        font-size: 13px;
        min-width: 120px;
    }
    
    .btn--primary {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .category-card-main__content {
        padding: 15px;
    }
    
    .product-card__info {
        padding: 12px;
    }
    
    .product-card__title {
        font-size: 13px;
    }
    
    .product-card__price {
        font-size: 16px;
    }
    
    .feature__number {
        font-size: 24px;
    }
    
    .feature__text {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .hero .btn--primary {
        white-space: normal;
        padding: 8px 20px;
        min-width: auto;
    }
}

/* ========== УТИЛІТИ ========== */
.text-accent {
    color: var(--accent);
}

.bg-accent {
    background: var(--accent);
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}
/* ========== КАТЕГОРІЇ - ФИКСАЦИЯ ФОТО ========== */
.category-card-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 300px;
    background: linear-gradient(135deg, #e8e2d9, #d4c9bc);
    background-size: cover;
    background-position: center;
}

/* Если есть фоновое изображение - накладываем */
.category-card-main[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Для категорий без фото - градиент */
.category-card-main.no-image {
    background: linear-gradient(135deg, #e8e2d9, #d4c9bc) !important;
}

.category-card-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.category-card-main__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.category-card-main__name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.category-card-main__count {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.category-card-main__count span {
    font-size: 16px;
    font-weight: 600;
    color: #ffd7b5;
}

@media (max-width: 768px) {
    .category-card-main {
        height: 240px;
    }
    .category-card-main__name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-card-main {
        height: 200px;
    }
}
/* ========== КАТЕГОРІЇ - КАК НА ФОТО ========== */
.categories-section {
    padding: 60px 0;
    background: var(--bg);
}

.categories-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}

.category-card-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-card-main:hover .category-card-main__image {
    transform: scale(1.05);
}

.category-card-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.category-card-main__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    z-index: 2;
}

.category-card-main__name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin-bottom: 6px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.category-card-main__count {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.category-card-main__count span {
    font-size: 16px;
    font-weight: 600;
    color: #ffd7b5;
}

@media (max-width: 768px) {
    .category-card-main {
        height: 240px;
    }
    .category-card-main__name {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-card-main {
        height: 200px;
    }
    .category-card-main__name {
        font-size: 18px;
    }
    .category-card-main__content {
        padding: 15px;
    }
}
/* ========== КАТЕГОРІЇ - ФОТО ПОДГОНЯЮТСЯ ПОД РАЗМЕР ========== */
.category-card-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Если нет фонового изображения - градиент */
.category-card-main[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.category-card-main__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

@media (max-width: 768px) {
    .category-card-main {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .category-card-main {
        height: 200px;
    }
}
/* ========== КАТЕГОРІЇ - ВЫСОКАЯ ВЫСОТА НА ВСЕХ УСТРОЙСТВАХ ========== */
.category-card-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 480px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-card-main__name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.category-card-main__count {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.category-card-main__count span {
    font-size: 20px;
    font-weight: 600;
    color: #ffd7b5;
}

.category-card-main__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 30px;
    z-index: 2;
}

/* На планшетах - такая же высота */
@media (max-width: 768px) {
    .category-card-main {
        height: 480px;
    }
    .category-card-main__name {
        font-size: 32px;
    }
    .category-card-main__content {
        padding: 35px 30px;
    }
}

/* На телефонах - такая же высота */
@media (max-width: 480px) {
    .category-card-main {
        height: 480px;
    }
    .category-card-main__name {
        font-size: 28px;
    }
    .category-card-main__count {
        font-size: 16px;
    }
    .category-card-main__content {
        padding: 25px 20px;
    }
}

/* Очень маленькие телефоны (до 380px) */
@media (max-width: 380px) {
    .category-card-main {
        height: 420px;
    }
    .category-card-main__name {
        font-size: 24px;
    }
}
/* ===== ЗМІНА КОЛЬОРІВ ===== */
.text-primary {
    color: #B87C4F !important;
}

.btn-primary {
    background-color: #B87C4F !important;
    border-color: #B87C4F !important;
}

.btn-primary:hover {
    background-color: #8B5E3C !important;
    border-color: #8B5E3C !important;
}

.btn-outline-primary {
    border-color: #B87C4F !important;
    color: #B87C4F !important;
}

.btn-outline-primary:hover {
    background-color: #B87C4F !important;
    color: white !important;
}

/* ===== ВІДСТУПИ МІЖ БЛОКАМИ КАТЕГОРІЙ ===== */
.category-products-block {
    margin-bottom: 60px;
}

.category-products-block:last-child {
    margin-bottom: 0;
}

.category-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 10px;
}

.category-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #B87C4F;
}

@media (max-width: 768px) {
    .category-products-block {
        margin-bottom: 40px;
    }
    .category-section-title {
        font-size: 22px;
    }
}

/* ===== КАРТОЧКА ТОВАРУ ===== */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.product-card__info {
    padding: 15px;
    flex-grow: 1;
}

.product-card__title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.4;
}

.product-card__price {
    color: #B87C4F;
    font-weight: 700;
    font-size: 18px;
}

.product-card__btn {
    width: calc(100% - 30px);
    margin: 0 15px 15px 15px;
    background: #B87C4F;
    border: none;
    padding: 10px;
    border-radius: 40px;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.product-card__btn:hover {
    background: #8B5E3C;
}

.stock-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
}

.stock-badge.in-stock {
    background: #e8f5e9;
    color: #2ecc71;
}

.stock-badge.out-of-stock {
    background: #fdecea;
    color: #e74c3c;
}
/* ===== МОДАЛЬНЕ ВІКНО ЗАМОВЛЕННЯ ===== */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.order-modal.active {
    display: flex;
}

.order-modal__content {
    background: white;
    border-radius: 32px;
    width: 550px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
}

.order-modal__close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.order-modal__close:hover {
    color: #B87C4F;
}

.order-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    padding: 30px 30px 0 30px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.order-modal__subtitle {
    padding: 0 30px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.order-summary {
    background: #f8f5f0;
    margin: 0 30px 20px 30px;
    padding: 15px;
    border-radius: 16px;
}

.order-summary__item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.order-summary__total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    color: #B87C4F;
}

.order-form__group {
    padding: 0 30px;
    margin-bottom: 20px;
}

.order-form__label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.order-form__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.order-form__input:focus {
    outline: none;
    border-color: #B87C4F;
    box-shadow: 0 0 0 3px rgba(184,124,79,0.1);
}

.order-form__radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.order-form__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.order-form__radio input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #B87C4F;
}

.order-form__submit {
    background: #B87C4F;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px 30px 30px 30px;
    width: calc(100% - 60px);
}

.order-form__submit:hover {
    background: #8B5E3C;
}

textarea.order-form__input {
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .order-modal__title {
        font-size: 24px;
        padding: 25px 20px 0 20px;
    }
    .order-modal__subtitle {
        padding: 0 20px;
    }
    .order-summary {
        margin: 0 20px 20px 20px;
    }
    .order-form__group {
        padding: 0 20px;
    }
    .order-form__submit {
        margin: 10px 20px 25px 20px;
        width: calc(100% - 40px);
    }
}
.order-summary__item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.order-summary__total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-weight: bold;
    color: #B87C4F;
}
/* Для тесту - примусово показати поля */
#officeField, #ukrposhtaField {
    display: block !important;
}