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

body {
    font-family: 'Comfortaa', cursive, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    position: relative;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    position: relative;
}

.site-name {
    color: #333333;
    font-size: 12px;
    font-family: 'Comfortaa', cursive;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    color: #000000;
}

.search-button {
    background: white;
    border: none;
    border-left: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-button:hover {
    background: #B8860B;
    border-color: #B8860B;
}

.search-button:hover img {
    filter: brightness(0) invert(1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    position: relative;
}

.header-btn {
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    padding: 5px;
    border: none;
    background: transparent;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-btn:hover {
    color: #B8860B;
}

.header-btn img {
    display: block;
}

.search-button img {
    filter: none;
    transition: filter 0.3s;
}



.language-selector select,
.currency-selector select {
    padding: 2px 5px 2px 2px;
    font-size: 14px;
    border: none;
    background: transparent;
    color: #000000;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    outline: none;
    text-align: right;
}

.language-selector select:hover,
.currency-selector select:hover {
    color: #B8860B;
}



/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 50;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 28px;
    width: auto;
    transition: opacity 0.3s;
}

.logo svg:hover {
    opacity: 0.7;
}

.logo h1 {
    color: #B8860B;
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
}

.nav-wrapper {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu > li {
    position: relative;
    text-align: left;
    display: inline-block;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-block;
    line-height: 40px;
    padding-left: 8px;
    padding-right: 8px;
    cursor: pointer;
}

.nav-menu > li > a {
    text-transform: uppercase;
    font-weight: 300;
}

.nav-menu .all-products-item {
    margin-left: auto;
    width: 100%;
    text-align: right;
}

.nav-menu > li > a:hover,
.nav-menu a.active {
    color: #333;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    padding: 20px;
    display: none;
    list-style: none;
    margin: 0;
    z-index: 1000;
    width: 400px;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu,
.nav-menu .dropdown:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu li {
    display: block;
    padding: 0;
    margin-bottom: 8px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
    text-transform: none;
}

.dropdown-menu a:hover {
    color: #B8860B;
}

.dropdown-right .dropdown-menu {
    left: auto;
    right: 0;
}

/* Breadcrumb */
.breadcrumb {
    background: #f0f0f0;
    padding: 15px 0;
    font-size: 14px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    display: none; /* По умолчанию скрыт, показываем только на страницах категорий/товаров */
}

.breadcrumb.visible {
    display: block;
}

.breadcrumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-left {
    flex: 1;
}

.breadcrumb-left a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-left a:hover {
    color: #B8860B;
}

.breadcrumb-left span {
    color: #000;
}

.breadcrumb-right {
    margin-left: 20px;
}

.breadcrumb .breadcrumb-right a.all-products-link {
    text-decoration: none;
    color: #B8860B;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'Comfortaa', cursive, sans-serif;
    transition: color 0.3s;
    cursor: pointer;
}

.breadcrumb .breadcrumb-right a.all-products-link:hover {
    color: #000000 !important;
}

/* Main Content */
.main-content {
    padding: 40px 0 0 0;
}

.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Category description */
.category-description {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 40px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    text-align: left;
}

.category-description p {
    margin-bottom: 15px;
}

.category-description p:last-child {
    margin-bottom: 0;
}

.category-description b,
.category-description strong {
    color: #333;
    font-weight: 600;
}

.category-description i,
.category-description em {
    font-style: italic;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    color: #000000;
    height: 32px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #B8860B;
    color: #B8860B;
}

.filter-btn.active {
    border-color: #B8860B;
    color: #B8860B;
}

.filter-btn.active:hover {
    background: white;
    border-color: #ddd;
    color: #000000;
}

.filters-left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}



.stock-filters {
    display: flex;
    gap: 8px;
    align-items: center;
}

.stock-filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    height: 32px;
}

.stock-filter-btn:hover {
    border-color: #B8860B;
    color: #B8860B;
}

.stock-filter-btn.active {
    background: #B8860B;
    border-color: #B8860B;
    color: white;
}

.filter-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
    border-radius: 2px;
    display: inline-block;
    position: relative;
}

.stock-filter-btn.active .filter-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.sort-options select {
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 12px;
    background: white;
    border-radius: 3px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    cursor: pointer;
}

.product-title {
    cursor: pointer;
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f8f8;
}

.product-code {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 3px;
}

.product-title {
    padding: 20px 20px 10px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    /* Фиксированная высота для 2 строк */
    height: 64px; /* 20px padding-top + 44px (2 строки) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.price small {
    font-size: 14px;
    font-weight: 400;
}

.add-to-cart {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.add-to-cart:hover {
    background: #333;
    color: white;
    border-color: #333;
}

/* Responsive Design */
/* ОТКЛЮЧЕНО - используется mobile-header-fix.css */
/* @media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .content-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
} */

@media (max-width: 768px) {
    /* Мобильная версия карточек товаров - 1 карточка в линию */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        margin-top: 0;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .product-card {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        height: auto;
        overflow: hidden;
        border-radius: 8px;
    }
    
    /* Изображение сверху - квадратное, полностью видно */
    .product-card .product-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
        background: #f8f8f8;
    }
    
    .product-card .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f8f8;
        border-radius: 0;
        display: block;
    }
    
    .product-card .product-code {
        display: block; /* Показываем артикул на мобильной */
        font-size: 10px;
        padding: 3px 6px;
    }
    
    /* Контент снизу */
    .product-card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
        gap: 10px;
    }
    
    .product-card .product-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 0;
        padding: 0;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: auto;
    }
    
    /* Цена и кнопка */
    .product-card .product-price {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
    }
    
    .product-card .price-container {
        justify-content: flex-start;
        margin: 0;
    }
    
    .product-card .price,
    .product-card .price-discount {
        font-size: 18px;
        font-weight: 700;
    }
    
    .product-card .price-original {
        font-size: 14px;
    }
    
    /* Кнопка - не на всю ширину */
    .product-card .add-to-cart {
        width: fit-content;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* Чуть меньше на маленьких экранах */
    .product-card .product-title {
        font-size: 15px;
    }
    
    .product-card .price,
    .product-card .price-discount {
        font-size: 16px;
    }
    
    .product-card .add-to-cart {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Footer */
.footer {
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0 20px;
    margin-top: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #B8860B;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #B8860B;
    transform: translateY(-3px);
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0 0;
}

.footer-payment-icons img {
    display: block;
    height: 60px;
    width: auto;
}

.footer-payment-icons img:first-child {
    width: 313px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-payment-icons {
        justify-content: center;
        flex-wrap: nowrap;
        padding: 10px 0 0;
    }

    .footer-payment-icons img:first-child {
        width: auto;
        max-width: 220px;
        height: 42px;
    }

    .footer-payment-icons img {
        height: 42px;
    }
    
    /* Clear Search Button - mobile */
    .clear-search-btn {
        padding: 6px 12px;
        font-size: 11px;
        margin-right: 8px;
        letter-spacing: 0.3px;
    }
}
/* Mo
dal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
}

.close {
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

/* Cart Items */
#cart-items {
    margin: 20px 0;
    min-height: 100px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 16px;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 14px;
    color: #666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-controls button {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.cart-item-controls button:hover {
    background: #e0e0e0;
}

.cart-item-controls .remove-btn {
    background: #ff4444;
    color: white;
}

.cart-item-controls .remove-btn:hover {
    background: #cc0000;
}

.cart-item-controls span {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-total {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: right;
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #B8860B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #9a7109;
}

/* Checkout Form */
.checkout-form {
    max-width: 700px;
}

.checkout-form h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 20px 0 15px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Comfortaa', cursive, sans-serif;
    transition: border-color 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #B8860B;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

#recipient-fields {
    margin-top: 15px;
}

.order-summary {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.order-summary h3 {
    margin-top: 0;
}

#order-items-summary {
    margin: 15px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.order-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    text-align: right;
    font-size: 18px;
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-order-btn:hover {
    background: #218838;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Cart cursor pointer */
.cart {
    cursor: pointer;
}

/* Login Form */
.login-form {
    max-width: 400px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.login-form input:focus {
    outline: none;
    border-color: #B8860B;
}

.google-login-btn {
    width: 100%;
    padding: 12px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
    font-family: 'Comfortaa', cursive, sans-serif;
}

.google-login-btn:hover {
    background: #357ae8;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 13px;
}

.submit-login-btn {
    width: 100%;
    padding: 12px;
    background: #B8860B;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
}

.submit-login-btn:hover {
    background: #9a7109;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-footer a {
    color: #B8860B;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.password-requirements {
    margin-top: -10px;
    margin-bottom: 15px;
}

.password-requirements small {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* Pagination */
.pagination-container {
    margin: 40px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.pagination-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.pagination-btn:hover {
    border-color: #B8860B;
    color: #B8860B;
}

.pagination-btn.active {
    background: #B8860B;
    color: white;
    border-color: #B8860B;
    cursor: default;
}

.pagination-dots {
    padding: 0 5px;
    color: #999;
}

.pagination-info {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Filter Panel */
.filter-panel {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: none;
}

.filter-panel.active {
    display: block;
}

.filter-section h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.price-inputs input:focus {
    outline: none;
    border-color: #B8860B;
}

.price-inputs span {
    color: #999;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.apply-filters-btn,
.reset-filters-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.apply-filters-btn {
    background: #B8860B;
    color: white;
}

.apply-filters-btn:hover {
    background: #9a7109;
}

.reset-filters-btn {
    background: #f0f0f0;
    color: #333;
}

.reset-filters-btn:hover {
    background: #e0e0e0;
}


/* All Products hover - максимальный приоритет */
.breadcrumb .breadcrumb-right a.all-products-link:hover {
    color: #000000 !important;
}


/* Product card as link */
a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.product-card:hover {
    text-decoration: none;
}

/* Clear Search Button */
.clear-search-btn {
    display: none;
    background: transparent;
    color: #926a36;
    border: 2px solid #926a36;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.clear-search-btn:hover {
    background: #926a36;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(146, 106, 54, 0.3);
}

.clear-search-btn:active {
    transform: translateY(0);
}

.content-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Pre-order button styles */
.add-to-cart.preorder {
    background: #ff9800;
    color: white;
}

.add-to-cart.preorder:hover {
    background: #f57c00;
}

.add-to-cart.out-of-stock {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

.add-to-cart.out-of-stock:hover {
    background: #ccc;
}

/* Ukrainian "Buy in Ukraine" button - same style as Add to Cart */
/* No special styles needed - uses default .add-to-cart styles */

/* Preorder badge in cart */
.preorder-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Preorder production notice in cart */
.cart-preorder-notice {
    color: #dc3545;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0 0 0;
    font-style: italic;
}

.cart-item-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Filter breadcrumbs (под заголовком) */
#filter-breadcrumbs {
    text-align: left;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

#filter-breadcrumbs.visible {
    max-height: 50px;
    opacity: 1;
    margin-bottom: 20px;
}

#filter-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

#filter-breadcrumbs a:hover {
    color: #B8860B;
}

#filter-breadcrumbs span {
    color: #000;
}


/* Filter Sidebar */
.filter-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    transform: translateX(-100%);
    visibility: hidden;
}

.filter-sidebar.open {
    transform: translateX(0);
    visibility: visible;
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.filter-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-sidebar:hover {
    color: #000;
}

.filter-sidebar-content {
    padding: 20px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-inputs input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.filter-inputs span {
    color: #999;
}

/* Filter select dropdowns */
.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-select:hover {
    border-color: #B8860B;
}

.filter-select:focus {
    outline: none;
    border-color: #B8860B;
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.filter-actions .apply-filters-btn,
.filter-actions .clear-filters-btn {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-actions .apply-filters-btn {
    background: #B8860B;
    border: 1px solid #B8860B;
    color: white;
}

.filter-actions .apply-filters-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
}

.filter-actions .clear-filters-btn {
    background: white;
    border: 1px solid #ddd;
    color: #000;
}

.filter-actions .clear-filters-btn:hover {
    border-color: #B8860B;
    color: #B8860B;
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* Type filters in sidebar */
.type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-filter-btn {
    padding: 10px 20px;
    border: 1px solid #E8E8F0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    color: #000;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.type-filter-btn:hover {
    border-color: #B8860B;
    background: #FFF9E6;
    color: #B8860B;
}

.type-filter-btn.active {
    background: #B8860B;
    border-color: #B8860B;
    color: white;
    font-weight: 600;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.cookie-consent-content a {
    color: #8B7355;
    text-decoration: underline;
}

.cookie-consent-content a:hover {
    color: #a68968;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-accept-all,
.btn-essential {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-accept-all {
    background: #8B7355;
    color: white;
}

.btn-accept-all:hover {
    background: #6d5940;
}

.btn-essential {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-essential:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-accept-all,
    .btn-essential {
        width: 100%;
    }
}


/* Discount Price Styles */
.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price-discount {
    color: #e74c3c;
    font-weight: 600;
    font-size: 16px;
}

.product-card .price-container {
    margin-bottom: 8px;
}

.product-card .price-original {
    font-size: 13px;
}

.product-card .price-discount {
    font-size: 17px;
    font-weight: 700;
}


/* ========================================
   MOBILE HEADER STYLES - ОТКЛЮЧЕНО
   Используется mobile-header-fix.css
   ======================================== */

/* @media (max-width: 768px) {
    .header-top {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding: 12px 0;
        gap: 15px;
    }
    
    .header-top::before {
        content: '☰';
        font-size: 24px;
        cursor: pointer;
        order: -1;
        padding: 5px;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .logo svg {
        width: 90px;
        height: auto;
    }
    
    .site-name {
        display: none;
    }
    
    .header-center {
        display: none;
    }
    
    .header-right {
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: flex-end;
    }
    
    .header-right .header-btn span,
    .header-right .cart span {
        display: none;
    }
    
    .header-right .header-btn,
    .header-right .cart {
        padding: 5px;
        min-width: auto;
    }
    
    .header-right::before {
        content: '';
        width: 18px;
        height: 18px;
        background: url('icons/search.svg') no-repeat center;
        background-size: contain;
        cursor: pointer;
        order: -1;
    }
    
    .header-left {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .language-selector,
    .currency-selector {
        flex: 0 0 auto;
    }
    
    .language-selector select,
    .currency-selector select {
        font-size: 13px;
        padding: 6px 25px 6px 10px;
        min-width: 120px;
    }
} */
    
    /* Навигационное меню */
    .main-nav {
        display: none; /* Скрываем на мобильной, показываем через гамбургер */
    }
    
    /* Мобильное меню (будет показываться при клике на гамбургер) */
    .mobile-menu-open .main-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .mobile-menu-open .nav-menu {
        flex-direction: column;
        padding: 20px;
    }
    
    /* Overlay для мобильного меню */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-menu-open .mobile-menu-overlay {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo svg {
        width: 80px;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .language-selector select,
    .currency-selector select {
        min-width: 100px;
        font-size: 12px;
    }
}
