/* Catalog Filters Styles */
.filters-section {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

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

.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-input,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #495057;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
}

.filter-input::placeholder {
    color: #6c757d;
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: end;
}

.filter-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #7a7256;
    color: white;
}

.btn-primary:hover {
    background: #6b6349;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.results-info {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.results-info .container {
    max-width: 1200px;
    margin: 0 auto;
}

.results-info p {
    margin: 0.25rem 0;
    color: #495057;
    font-size: 0.9rem;
}

.results-info strong {
    color: #7a7256;
}

/* Pagination Styles */
.pagination-wrapper {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 16px;
}

.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.pagination-stats .pagination-text {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
}

.pagination-stats strong {
    color: #7a7256;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-size-selector label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.page-size-select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    background: white;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-size-select:focus {
    outline: none;
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
}

.pagination-nav {
    margin-bottom: 1.5rem;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pagination-item {
    display: flex;
    align-items: center;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    background: white;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 44px;
    justify-content: center;
}

.pagination-link:hover:not(.disabled) {
    background: #7a7256;
    color: white;
    border-color: #7a7256;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 114, 86, 0.3);
}

.pagination-link.active {
    background: #7a7256;
    color: white;
    border-color: #7a7256;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(122, 114, 86, 0.2);
}

.pagination-link.disabled {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: #6c757d;
    font-weight: 600;
    font-size: 1.1rem;
}

.pagination-first,
.pagination-last {
    padding: 0.75rem;
}

.pagination-prev,
.pagination-next {
    padding: 0.75rem 1.25rem;
}

.pagination-prev .pagination-text,
.pagination-next .pagination-text {
    font-size: 0.9rem;
}

.pagination-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.pagination-jump label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.jump-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-jump-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    background: white;
    color: #495057;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.page-jump-input:focus {
    outline: none;
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
}

.jump-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    border: 2px solid #7a7256;
    border-radius: 16px;
    background: #7a7256;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.jump-button:hover {
    background: #6b6349;
    border-color: #6b6349;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(122, 114, 86, 0.3);
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #7a7256;
}

.loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

.loading-spinner span {
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Notification Styles */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .filter-actions .btn {
        flex: 1;
        text-align: center;
    }
    
    .pagination-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
    
    .pagination-list {
        gap: 0.25rem;
    }
    
    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 40px;
    }
    
    .pagination-prev .pagination-text,
    .pagination-next .pagination-text {
        display: none;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .pagination-list {
        gap: 0.125rem;
    }
    
    .pagination-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 36px;
    }
    
    .pagination-ellipsis {
        padding: 0.4rem 0.25rem;
        font-size: 1rem;
    }
}

/* Simple Filter Styles - Clean & Minimalistic */
.simple-filters {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.search-container {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 60px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
    background: #ffffff;
}

.search-icon {
    color: #6c757d;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: #495057;
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-clear {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: #e9ecef;
    color: #495057;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    margin: 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.filter-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-option {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-option:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    transform: translateY(-1px);
}

.filter-option.active {
    background: #7a7256;
    color: #ffffff;
    border-color: #7a7256;
    box-shadow: 0 2px 8px rgba(122, 114, 86, 0.3);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    background: #ffffff;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
}

.clear-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #dc3545;
}

.clear-filters:hover {
    background: #c82333;
    border-color: #c82333;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .search-container {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .filter-options {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-option {
        text-align: center;
    }
    
    .filter-select {
        width: 100%;
        min-width: auto;
    }
}

/* Additional styles for Django shop - Updated Version */

/* Professional HTMX Styles */
.htmx-indicator {
    display: none;
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    z-index: 10;
}

.htmx-request .htmx-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.htmx-request.htmx-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Professional Loading Indicator */
#search-loading {
    background: #7a7256;
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#search-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -300px !important;
    width: 300px !important;
    height: 100vh !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 1001 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}

/* Mobile Sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 280px !important;
        left: -280px !important;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100vw !important;
        left: -100vw !important;
    }
}

.sidebar.open {
    left: 0 !important;
    transform: translateX(0) !important;
}

/* Счетчик избранного в sidebar */
.favorites-counter {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.favorites-counter:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

/* Стили для страницы избранного */
.favorites-section {
    padding: 2rem 0;
    min-height: 60vh;
}

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

.empty-favorites {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-favorites-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-favorites i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-favorites h2 {
    color: #666;
    margin-bottom: 1rem;
}

.empty-favorites p {
    color: #999;
    margin-bottom: 2rem;
}

.loading-favorites {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-favorites i {
    font-size: 2rem;
    color: #7a7256;
    margin-bottom: 1rem;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.favorites-header-left h1 {
    margin: 0;
    color: #333;
}

.favorites-count {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.favorites-actions {
    display: flex;
    gap: 1rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.favorite-product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.favorite-product-card .product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.favorite-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.favorite-product-card:hover .product-image img {
    transform: scale(1.05);
}

.remove-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #ff4757;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-favorite-btn:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.favorite-product-card .product-info {
    padding: 1.5rem;
}

.favorite-product-card .product-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.favorite-product-card .product-name a {
    color: #333;
    text-decoration: none;
}

.favorite-product-card .product-name a:hover {
    color: #7a7256;
}

.favorite-product-card .product-category {
    margin-bottom: 0.5rem;
}

.favorite-product-card .product-category a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.favorite-product-card .product-category a:hover {
    color: #7a7256;
}

.favorite-product-card .product-price {
    margin-bottom: 1rem;
}

.favorite-product-card .old-price {
    color: #999;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.favorite-product-card .current-price {
    color: #7a7256;
    font-weight: 600;
    font-size: 1.1rem;
}

.favorite-product-card .product-details {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.favorite-product-card .product-gender {
    margin-bottom: 0.5rem;
}

.favorite-product-card .product-sizes {
    margin-bottom: 0.5rem;
}

.favorite-product-card .product-actions {
    margin-top: 1rem;
}

.favorite-product-card .btn {
    width: 100%;
    text-align: center;
}

/* HTMX Search Styles */
.sidebar-search {
    padding: 1rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.search-container {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #7a7256;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-results-dropdown.show {
    display: block;
}

.search-result-item {
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
}

.result-name a {
    color: #333;
    text-decoration: none;
}

.result-name a:hover {
    color: #7a7256;
}

.result-price {
    font-weight: 600;
    color: #7a7256;
    font-size: 0.85rem;
}

.result-category {
    font-size: 0.75rem;
    color: #666;
}

.no-search-results {
    padding: 1rem;
    text-align: center;
    color: #666;
}

.no-search-results i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* HTMX Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-details-modal {
    padding: 2rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.modal-content .product-images {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.thumbnail-images {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.thumbnail {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

/* HTMX Cart Message Styles */
.cart-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500;
}

.cart-message {
    background: #2ed573;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-message i {
    font-size: 1.2rem;
}

/* HTMX Load More Styles */
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

.load-more-btn {
    background: #7a7256;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.load-more-btn:hover {
    background: #6a6246;
}

.load-more-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* HTMX Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HTMX Product Actions - только для карточек товаров */
.product-card .product-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #ff4757;
}

/* Улучшенная кнопка избранного в левом верхнем углу */
.favorite-btn-left {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    z-index: 10;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.favorite-btn-left:hover {
    background: rgba(255, 255, 255, 1);
    color: #ff4757;
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    border-color: rgba(255, 71, 87, 0.2);
}

.favorite-btn-left.active {
    background: #ff4757;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    border-color: #e74c3c;
    transform: scale(1.1);
}

.favorite-btn-left.active:hover {
    background: #e74c3c;
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

.favorite-btn-left i {
    font-size: 17px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.favorite-btn-left:hover i {
    transform: scale(1.2);
}

.favorite-btn-left.active i {
    transform: scale(1.1);
}

/* Анимация пульсации для активной кнопки */
.favorite-btn-left.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Product Placeholder Styles */
.product-placeholder {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
    border-radius: 16px;
}

.result-image .product-placeholder {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.main-image .product-placeholder {
    height: 300px;
    font-size: 4rem;
}

/* HTMX Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem !important;
        max-width: calc(100vw - 2rem) !important;
        max-height: 90vh !important;
    }
    
    .product-details-modal {
        padding: 1rem !important;
    }
    
    .modal-content .product-images {
        grid-template-columns: 1fr !important;
    }
    
    .thumbnail-images {
        flex-direction: row !important;
        overflow-x: auto !important;
    }
    
    .thumbnail {
        min-width: 60px !important;
    }
    
    .product-placeholder {
        height: 150px !important;
        font-size: 2rem !important;
    }
    
    .main-image .product-placeholder {
        height: 200px !important;
        font-size: 3rem !important;
    }
    
    /* Mobile Layout */
    main {
        padding: 1rem !important;
    }
    
    .products-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .filters-container {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .search-form {
        min-width: auto !important;
        margin-bottom: 1rem !important;
    }
    
    .filters {
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
    
    .product-card {
        margin-bottom: 1rem !important;
    }
    
    .product-image {
        height: 200px !important;
    }
    
    .product-info {
        padding: 1rem !important;
    }
    
    /* Адаптивные стили для кнопки избранного */
    .favorite-btn-left {
        width: 34px !important;
        height: 34px !important;
        top: 10px !important;
        left: 10px !important;
    }
    
    .favorite-btn-left i {
        font-size: 15px !important;
    }
    
    .view-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
        margin-top: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
        max-height: 95vh !important;
    }
    
    .product-details-modal {
        padding: 0.75rem !important;
    }
    
    .thumbnail {
        min-width: 50px !important;
    }
    
    .product-placeholder {
        height: 120px !important;
        font-size: 1.5rem !important;
    }
    
    .main-image .product-placeholder {
        height: 150px !important;
        font-size: 2rem !important;
    }
    
    .favorite-btn-left {
        width: 30px !important;
        height: 30px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .favorite-btn-left i {
        font-size: 13px !important;
    }
}

/* Messages */
.messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #2ed573;
    color: white;
}

.alert-error {
    background: #ff4757;
    color: white;
}

.alert-warning {
    background: #ffa502;
    color: white;
}

.alert-info {
    background: #7a7256;
    color: white;
}

/* Updated Product Cards */
.product-card {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    margin-bottom: 2rem !important;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Products Grid */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    padding: 2rem 0 !important;
}

.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    padding: 2rem 0 !important;
}

.product-image {
    position: relative !important;
    overflow: hidden !important;
    height: 250px !important;
    background: #f8f9fa !important;
    border-radius: 20px 20px 0 0 !important;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.product-image:hover img {
    transform: scale(1.05) !important;
}

.product-info {
    padding: 1.5rem !important;
    background: white !important;
}

.product-name {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: #333 !important;
}

.product-name a {
    color: #333 !important;
    text-decoration: none !important;
}

.product-name a:hover {
    color: #7a7256 !important;
}

.product-price {
    margin-bottom: 1rem !important;
}

.current-price {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #7a7256 !important;
}

.old-price {
    font-size: 1rem !important;
    color: #999 !important;
    text-decoration: line-through !important;
    margin-right: 0.5rem !important;
}

.discount-badge {
    background: #ff4757 !important;
    color: white !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 5 !important;
}

/* Telegram Order Button */
.telegram-order-btn {
    background: #0088cc !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.telegram-order-btn:hover {
    background: #006699 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3) !important;
}

.telegram-order-btn i {
    font-size: 1.1rem !important;
}

.telegram-order-btn.primary {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.2) !important;
}

.telegram-order-btn.primary:hover {
    background: linear-gradient(135deg, #006699 0%, #004d73 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4) !important;
}

/* Telegram Notification */
.telegram-notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: #0088cc !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3) !important;
    z-index: 2000 !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.telegram-notification.show {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.notification-content {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.notification-content i {
    font-size: 1.2rem !important;
}

/* View Button - Обновленные стили */
.view-btn {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 1rem !important;
    box-shadow: 0 2px 8px rgba(122, 114, 86, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
}

.view-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.view-btn:hover {
    background: linear-gradient(135deg, #6a6250 0%, #5a5240 100%) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(122, 114, 86, 0.4) !important;
}

.view-btn:hover::before {
    left: 100% !important;
}

.view-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(122, 114, 86, 0.3) !important;
}

/* Удалены стили рейтинга - больше не используются */

/* Main Content */
main {
    margin-left: 0 !important;
    padding: 2rem !important;
    min-height: 100vh !important;
    background: #f8f9fa !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Page Header */
/* Page Header - Усиленные стили */
.page-header {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 25%, #6a6246 50%, #5a5240 75%, #4a422e 100%) !important;
    color: white !important;
    padding: 4rem 0 !important;
    text-align: center !important;
    margin-bottom: 3rem !important;
    border-radius: 20px !important;
}

.page-header h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: white !important;
}

.page-header p {
    font-size: 1.2rem !important;
    opacity: 0.9 !important;
    color: white !important;
}

/* Дополнительные селекторы для гарантии */
section.page-header h1,
section.page-header p,
.page-header h1,
.page-header p {
    color: white !important;
}

/* Filters Section */
/* Enhanced Filters Section */
.filters-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    padding: 2.5rem 0 !important;
    margin-bottom: 3rem !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    animation: slideInFromTop 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Search Container */
.modern-search-container {
    margin-bottom: 2.5rem;
    position: relative;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.modern-search-form {
    position: relative;
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e1e5e9;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-input-group:focus-within {
    border-color: #7a7256;
    box-shadow: 0 4px 16px rgba(122, 114, 86, 0.15);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    color: #7a7256;
}

.modern-search-input {
    flex: 1;
    padding: 16px 20px 16px 48px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #374151;
    outline: none;
    font-weight: 400;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.modern-search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    transition: color 0.3s ease;
}

.modern-search-input:focus::placeholder {
    color: #6b7280;
}

.search-clear {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 6px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-50%) scale(1.1);
}

.search-clear i {
    font-size: 12px;
}

.search-submit {
    padding: 16px 20px;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    font-size: 16px;
    font-weight: 500;
}

.search-submit:hover {
    background: linear-gradient(135deg, #6a6250 0%, #5a5240 100%);
    transform: scale(1.05);
}

.search-submit:active {
    transform: scale(0.98);
}

.search-submit i {
    font-size: 16px;
    color: white;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.suggestion-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    font-weight: 500;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: #7a7256;
    transform: translateX(4px);
}

.suggestion-item i {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.2s ease;
}

.suggestion-item:hover i {
    color: #7a7256;
}

.suggestion-item span {
    flex: 1;
    font-size: 14px;
}

/* No Products Message */
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
}

.no-products-content i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    display: block;
}

.no-products-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.no-products-content p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
}

/* Professional Search Container - Legacy */
.search-container {
    margin-bottom: 2rem;
    position: relative;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: #7a7256;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1);
}

.search-input {
    flex: 1;
    padding: 12px 16px 12px 40px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #374151;
    outline: none;
    font-weight: 400;
    line-height: 1.5;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Single Search Icon */
.search-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.search-btn {
    padding: 12px 16px;
    background: #7a7256;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    font-size: 14px;
    font-weight: 500;
}

.search-btn:hover {
    background: #6a6250;
}

.search-btn:active {
    background: #5a5240;
}

.search-btn i {
    font-size: 14px;
    color: white;
}

/* Professional Clear Button */
.search-clear-btn {
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 3;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn.show {
    opacity: 1;
    visibility: visible;
}

.search-clear-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.search-clear-btn i {
    font-size: 10px;
}

/* Filter Tabs */
.filter-tabs {
    margin-bottom: 2.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
}

.filter-tab-group {
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(122, 114, 86, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.filter-tab-group:nth-child(1) {
    animation-delay: 0.1s !important;
}

.filter-tab-group:nth-child(2) {
    animation-delay: 0.2s !important;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-tab-group:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(122, 114, 86, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(122, 114, 86, 0.1) !important;
}

.filter-group-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1.25rem !important;
    position: relative !important;
}

.filter-group-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.filter-group-title i {
    font-size: 1.1rem !important;
    color: #7a7256 !important;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.filter-group-line {
    flex: 1 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #8b7d6b 0%, #7a7256 30%, #6a6250 60%, transparent 100%) !important;
    margin-left: 1rem !important;
    border-radius: 3px !important;
}

.filter-buttons {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.gender-buttons {
    justify-content: center !important;
}

.category-buttons {
    justify-content: flex-start !important;
}

.filter-btn {
    padding: 0 !important;
    border: 2px solid #e8e9ea !important;
    background: white !important;
    color: #555 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.filter-btn:nth-child(1) { animation-delay: 0.1s !important; }
.filter-btn:nth-child(2) { animation-delay: 0.15s !important; }
.filter-btn:nth-child(3) { animation-delay: 0.2s !important; }
.filter-btn:nth-child(4) { animation-delay: 0.25s !important; }
.filter-btn:nth-child(5) { animation-delay: 0.3s !important; }
.filter-btn:nth-child(6) { animation-delay: 0.35s !important; }
.filter-btn:nth-child(7) { animation-delay: 0.4s !important; }
.filter-btn:nth-child(8) { animation-delay: 0.45s !important; }

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.filter-btn-content {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.875rem 1.5rem !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}

.filter-btn i {
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.filter-btn span {
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.filter-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px !important;
}

.filter-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.filter-btn:hover::before {
    opacity: 1 !important;
}

.filter-btn:hover::after {
    width: 300px !important;
    height: 300px !important;
}

.filter-btn:hover {
    border-color: #7a7256 !important;
    color: white !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(122, 114, 86, 0.25) !important;
}

.filter-btn:hover i {
    transform: scale(1.1) !important;
}

.filter-btn:hover span {
    transform: translateX(2px) !important;
}

.filter-btn.active {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    color: white !important;
    border-color: #7a7256 !important;
    box-shadow: 0 8px 25px rgba(122, 114, 86, 0.4) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.filter-btn.active::before {
    opacity: 1 !important;
}

.filter-btn.active i {
    transform: scale(1.1) !important;
}

.filter-btn.active span {
    transform: translateX(2px) !important;
}

/* Category Filter Specific Styles */
.category-filter {
    position: relative !important;
    min-width: 120px !important;
}

.category-checkbox {
    display: none !important;
}

.category-label {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0.875rem 1.5rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.category-check-wrapper {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #e8e9ea !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.category-check-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
}

.category-check-icon {
    opacity: 0 !important;
    transform: scale(0.5) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: white !important;
    font-size: 0.8rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.category-name {
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.category-filter.selected .category-check-wrapper::before {
    opacity: 1 !important;
}

.category-filter.selected .category-check-wrapper {
    border-color: #7a7256 !important;
    transform: scale(1.1) !important;
}

.category-filter.selected .category-check-icon {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.category-filter.selected {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%) !important;
    border-color: #7a7256 !important;
    color: #7a7256 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(122, 114, 86, 0.2) !important;
}

.category-filter.selected .category-name {
    color: #7a7256 !important;
    font-weight: 700 !important;
}

/* Filter Controls */
.filter-controls {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid #e8e9ea !important;
}

.sort-container {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.sort-label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.sort-select {
    padding: 0.75rem 1rem !important;
    border: 2px solid #e8e9ea !important;
    border-radius: 12px !important;
    background: white !important;
    color: #555 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 200px !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

.sort-select:focus {
    outline: none !important;
    border-color: #7a7256 !important;
    box-shadow: 0 0 0 3px rgba(122, 114, 86, 0.1) !important;
}

/* Filter Actions */
.filter-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.filter-mode-btn {
    padding: 0.75rem 1.25rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 2px solid #e8e9ea !important;
    color: #555 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.filter-mode-btn:hover {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    color: white !important;
    border-color: #7a7256 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(122, 114, 86, 0.2) !important;
}

.category-filter-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.category-filter-actions.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.selected-count {
    font-size: 0.9rem !important;
    color: #666 !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px solid #e8e9ea !important;
}

.action-btn {
    padding: 0.5rem 1rem !important;
    background: white !important;
    border: 2px solid #e8e9ea !important;
    color: #555 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.action-btn:hover {
    background: #f8f9fa !important;
    border-color: #7a7256 !important;
    color: #7a7256 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(122, 114, 86, 0.15) !important;
}

.action-btn.primary {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6a6250 70%, #5a5240 100%) !important;
    color: white !important;
    border-color: #7a7256 !important;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #6a6250 0%, #5a5240 100%) !important;
    border-color: #6a6250 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(122, 114, 86, 0.3) !important;
}

/* Filter Loading Indicator */
.filter-loading {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 1.5rem 2rem !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #7a7256 !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
}

.filter-loading i {
    font-size: 1.2rem !important;
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
    .filters-section {
        padding: 1.5rem 0 !important;
        margin-bottom: 2rem !important;
    }
    
    /* Modern Search Mobile Styles */
    .modern-search-container {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-input-group {
        border-radius: 14px;
    }
    
    .modern-search-input {
        padding: 14px 16px 14px 44px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 14px;
        font-size: 14px;
    }
    
    .search-clear {
        right: 56px;
        width: 22px;
        height: 22px;
        padding: 5px;
    }
    
    .search-clear i {
        font-size: 10px;
    }
    
    .search-submit {
        padding: 14px 16px;
        min-width: 52px;
        font-size: 14px;
    }
    
    .search-submit i {
        font-size: 14px;
    }
    
    .search-suggestions {
        border-radius: 14px;
        margin-top: 2px;
    }
    
    .suggestion-item {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .suggestion-item i {
        font-size: 12px;
    }
    
    .no-products-message {
        padding: 3rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .no-products-content i {
        font-size: 3rem;
    }
    
    .no-products-content h3 {
        font-size: 1.3rem;
    }
    
    .no-products-content p {
        font-size: 0.9rem;
    }
    
    /* Legacy Search Mobile Styles */
    .search-form {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .search-input {
        padding: 10px 12px 10px 36px;
        font-size: 16px;
    }
    
    .search-icon-left {
        left: 10px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 10px 14px;
        min-width: 44px;
    }
    
    .search-btn i {
        font-size: 12px;
    }
    
    #search-loading {
        right: 50px;
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .search-clear-btn {
        right: 50px;
        width: 18px;
        height: 18px;
    }
    
    .search-clear-btn i {
        font-size: 8px;
    }
    
    .filter-tabs {
        margin-bottom: 1.5rem !important;
        gap: 1.5rem !important;
    }
    
    .filter-tab-group {
        padding: 1.25rem !important;
    }
    
    .filter-group-title {
        font-size: 1.1rem !important;
    }
    
    .filter-group-line {
        margin-left: 0.75rem !important;
    }
    
    .filter-buttons {
        gap: 0.75rem !important;
    }
    
    .gender-buttons {
        justify-content: center !important;
    }
    
    .category-buttons {
        justify-content: center !important;
    }
    
    .filter-btn {
        min-height: 44px !important;
        border-radius: 12px !important;
    }
    
    .filter-btn-content {
        padding: 0.75rem 1.25rem !important;
        gap: 0.625rem !important;
    }
    
    .filter-btn i {
        font-size: 1rem !important;
    }
    
    .filter-btn span {
        font-size: 0.9rem !important;
    }
    
    .category-filter {
        min-width: 100px !important;
    }
    
    .category-label {
        padding: 0.75rem 1.25rem !important;
        gap: 0.625rem !important;
    }
    
    .category-check-wrapper {
        width: 18px !important;
        height: 18px !important;
    }
    
    .filter-controls {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    
    .sort-container {
        justify-content: center !important;
    }
    
    .sort-select {
        min-width: 100% !important;
        text-align: center !important;
    }
    
    .filter-actions {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .category-filter-actions {
        flex-direction: column !important;
    align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .action-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .selected-count {
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .filters-section {
        padding: 1rem 0 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Modern Search Extra Small Screens */
    .modern-search-container {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .search-input-group {
        border-radius: 16px;
    }
    
    .modern-search-input {
        padding: 12px 14px 12px 40px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 12px;
        font-size: 12px;
    }
    
    .search-clear {
        right: 52px;
        width: 20px;
        height: 20px;
        padding: 4px;
    }
    
    .search-clear i {
        font-size: 9px;
    }
    
    .search-submit {
        padding: 12px 14px;
        min-width: 48px;
        font-size: 12px;
    }
    
    .search-submit i {
        font-size: 12px;
    }
    
    .search-suggestions {
        border-radius: 16px;
        margin-top: 1px;
    }
    
    .suggestion-item {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .suggestion-item i {
        font-size: 11px;
    }
    
    .no-products-message {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .no-products-content i {
        font-size: 2.5rem;
    }
    
    .no-products-content h3 {
        font-size: 1.1rem;
    }
    
    .no-products-content p {
        font-size: 0.85rem;
    }
    
    .filter-buttons {
        gap: 0.375rem !important;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
    }
    
    .filter-group-title {
        font-size: 0.95rem !important;
    }
    
    .sort-label {
        font-size: 0.9rem !important;
    }

    .sort-select {
        font-size: 0.9rem !important;
        padding: 0.625rem 0.875rem !important;
    }
    
    .filter-mode-btn {
        padding: 0.625rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .action-btn {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Legacy Search Extra Small Screens */
    .search-container {
        margin-bottom: 1.5rem;
    }
    
    .search-form {
        margin: 0 0.5rem;
    }
    
    .search-input {
        padding: 8px 10px 8px 32px;
        font-size: 14px;
    }
    
    .search-icon-left {
        left: 8px;
        font-size: 12px;
    }
    
    .search-btn {
        padding: 8px 10px;
        min-width: 40px;
    }
    
    .search-btn i {
        font-size: 10px;
    }
    
    #search-loading {
        right: 44px;
        padding: 3px 5px;
        font-size: 8px;
    }
    
    .search-clear-btn {
        right: 44px;
        width: 16px;
        height: 16px;
    }
    
    .search-clear-btn i {
        font-size: 7px;
    }
    
    /* Адаптивные стили для кнопки избранного на очень маленьких экранах */
    .favorite-btn-left {
        width: 30px !important;
        height: 30px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .favorite-btn-left i {
        font-size: 13px !important;
    }
    
    /* Отключаем анимацию пульсации на мобильных для производительности */
    .favorite-btn-left.active::before {
        animation: none !important;
    }
    
    .view-btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
        margin-top: 0.75rem !important;
    }
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: #7a7256;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: #6b6450;
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7a7256;
}

.old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.discount {
    background: #ff4757;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.view-btn {
    display: inline-block;
    background: #7a7256;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.view-btn:hover {
    background: #6b6450;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    background: #f8f9fa;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 3rem;
    color: #7a7256;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* About Page Styles */
.about-content {
    padding: 3rem 0;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 25%, #6a6246 50%, #5a5240 75%, #4a422e 100%);
    padding: 4rem 2rem;
    border-radius: 30px;
    color: white;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.image-placeholder i {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    margin-bottom: 1rem;
}

.value-icon i {
    font-size: 3rem;
    color: #7a7256;
}

.value-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.story-section {
    background: #f8f9fa;
    padding: 4rem 0;
    border-radius: 30px;
    margin-bottom: 4rem;
}

.story-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-year {
    background: #7a7256;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.team-section {
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.photo-placeholder i {
    font-size: 3rem;
    color: #7a7256;
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #7a7256;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
}

.stats-section {
    background: #7a7256;
    color: white;
    padding: 4rem 0;
    border-radius: 30px;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 30%, #6b6450 70%, #5a5240 100%);
    color: white;
    border-radius: 30px;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #7a7256;
}

.cta-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

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

.cta-btn.secondary:hover {
    background: white;
    color: #7a7256;
}

/* Contact Page Styles */
.contact-content {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 2rem;
    color: #7a7256;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.contact-details span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.social-section {
    margin-top: 2rem;
}

.social-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
    color: white;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.social-link.vk {
    background: linear-gradient(135deg, #4c75a3 0%, #5c85b3 100%);
    color: white;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-link:hover span {
    transform: translateY(-2px);
}

.social-link.instagram:hover::before {
    left: 100%;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7a7256;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #7a7256;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #6b6450;
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    padding: 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.map-section {
    margin-bottom: 2rem;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    height: 400px;
    background: #f8f9fa;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: #7a7256;
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Product Detail Page Updates */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 14px;
    color: #666;
}

.feature i {
    color: #7a7256;
    font-size: 1.2rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 30px;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #7a7256;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #6b6450;
    transform: translateY(-2px);
}

/* Footer Updates */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #7a7256;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7a7256;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section p i {
    color: #7a7256;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* Специальные цвета для каждой социальной сети в футере */
.social-link:nth-child(1) {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:nth-child(2) {
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
}

.social-link:nth-child(3) {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-link:nth-child(4) {
    background: linear-gradient(135deg, #4c75a3 0%, #5c85b3 100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px !important;
        padding: 0 1.5rem !important;
    }
    
    .about-hero {
        gap: 3rem !important;
    }
    
    .values-grid,
    .features-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .filters-section {
        padding: 2rem 0 !important;
    }
    
    .products-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 1.5rem !important;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .page-header {
        padding: 3rem 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .page-header p {
        font-size: 1rem !important;
    }
    
    .about-hero {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem 1rem !important;
    }
    
    .image-placeholder {
        height: 300px !important;
    }
    
    .about-text h2 {
        font-size: 2rem !important;
    }
    
    .about-text .lead {
        font-size: 1.1rem !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .contact-cards {
        grid-template-columns: 1fr !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .timeline-item {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .timeline-year {
        align-self: flex-start !important;
        min-width: auto !important;
    }
    
    .contact-methods {
        flex-direction: column !important;
    }
    
    .contact-method {
        justify-content: center !important;
    }
    
    .product-features {
        grid-template-columns: 1fr !important;
    }
    
    .features-grid,
    .values-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .filters-section {
        padding: 1.5rem 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .products-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 1.25rem !important;
    }
    
    .product-card {
        margin-bottom: 1.5rem !important;
    }
    
    .product-image {
        height: 200px !important;
    }
    
    .product-info {
        padding: 1.25rem !important;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem !important;
    }
    
    .page-header {
        padding: 2.5rem 0 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header p {
        font-size: 0.95rem !important;
    }
    
    .about-hero {
        padding: 1.5rem 0.75rem !important;
    }
    
    .image-placeholder {
        height: 250px !important;
    }
    
    .about-text h2 {
        font-size: 1.8rem !important;
    }
    
    .about-text .lead {
        font-size: 1rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
    }
    
    .products-grid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .product-image {
        height: 180px !important;
    }
    
    .product-info {
        padding: 1rem !important;
    }
    
    .product-name {
        font-size: 1rem !important;
    }
    
    .current-price {
        font-size: 1.1rem !important;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem !important;
    }
    
    .page-header {
        padding: 2rem 0 !important;
        margin-bottom: 1rem !important;
    }
    
    .page-header h1 {
        font-size: 1.6rem !important;
    }
    
    .page-header p {
        font-size: 0.9rem !important;
    }
    
    .about-hero {
        padding: 1rem 0.5rem !important;
    }
    
    .image-placeholder {
        height: 200px !important;
    }
    
    .about-text h2 {
        font-size: 1.6rem !important;
    }
    
    .about-text .lead {
        font-size: 0.95rem !important;
    }
    
    .value-item,
    .feature-item,
    .team-member {
        padding: 1.5rem !important;
    }
    
    .value-icon i,
    .feature-icon i,
    .member-photo i {
        font-size: 2.5rem !important;
    }
    
    .value-item h3,
    .feature-item h3,
    .team-member h3 {
        font-size: 1.2rem !important;
    }
    
    .timeline-year {
        padding: 0.6rem 1rem !important;
        font-size: 1rem !important;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .cta-content h2 {
        font-size: 2rem !important;
    }
    
    .cta-content p {
        font-size: 1rem !important;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .products-grid,
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .product-card {
        margin-bottom: 1rem !important;
    }
    
    .product-image {
        height: 160px !important;
    }
    
    .product-info {
        padding: 0.875rem !important;
    }
    
    .product-name {
        font-size: 0.95rem !important;
    }
    
    .current-price {
        font-size: 1rem !important;
    }
    
    .view-btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 0.25rem !important;
    }
    
    .page-header {
        padding: 1.5rem 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.4rem !important;
    }
    
    .page-header p {
        font-size: 0.85rem !important;
    }
    
    .about-hero {
        padding: 0.75rem 0.25rem !important;
    }
    
    .image-placeholder {
        height: 180px !important;
    }
    
    .about-text h2 {
        font-size: 1.4rem !important;
    }
    
    .value-item,
    .feature-item,
    .team-member {
        padding: 1rem !important;
    }
    
    .value-icon i,
    .feature-icon i,
    .member-photo i {
        font-size: 2rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .cta-content h2 {
        font-size: 1.8rem !important;
    }
    
    .cta-content p {
        font-size: 0.9rem !important;
    }
    
    .cta-btn {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.8rem !important;
    }
    
    .product-image {
        height: 140px !important;
    }
    
    .product-info {
        padding: 0.75rem !important;
    }
    
    .product-name {
        font-size: 0.9rem !important;
    }
    
    .current-price {
        font-size: 0.95rem !important;
    }
    
    .view-btn {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
}

/* Product Options Styles */
.product-options {
    margin-bottom: 2rem;
}

.size-info,
.color-info {
    margin-bottom: 1.5rem;
}

.size-info label,
.color-info label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-item {
    background: #f8f9fa;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid #e9ecef;
}

.color-sample {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.color-name {
    font-weight: 500;
    color: #333;
}

/* Telegram Feature */
.telegram-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.telegram-feature:hover {
    transform: none !important;
}

.telegram-order-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.telegram-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    color: white;
    text-decoration: none;
}

.telegram-order-btn i {
    font-size: 1.2rem;
}

.telegram-order-btn span {
    font-weight: 600;
}

.order-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 14px;
}

.order-info h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.order-info p {
    color: #666;
    line-height: 1.6;
}


/* Favorites System Styles */
.favorites-counter {
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 14px;
    margin-left: 0.5rem;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.favorites-link {
    position: relative;
}

.favorite-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-btn.active {
    background: #e74c3c;
    color: white;
}

.favorite-btn.active:hover {
    background: #c0392b;
}

.favorite-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.favorite-btn.active i {
    color: white;
}

/* Product Detail Page Actions - чистые стили */
.product-details .product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    position: static;
    opacity: 1;
    top: auto;
    right: auto;
}

/* Product Detail Page Favorite Button - гармоничные стили */
.product-details .product-actions .favorite-btn {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    cursor: pointer;
    text-decoration: none;
}

.product-details .product-actions .favorite-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-details .product-actions .favorite-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.product-details .product-actions .favorite-btn.active:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.product-details .product-actions .favorite-btn i {
    font-size: 1rem;
}

/* Product Detail Page Telegram Button - гармоничные стили */
.product-details .product-actions a[href*="t.me"],
.product-details .product-actions .telegram-order-btn {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.25rem;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    background: #0088cc;
    color: white;
    border: 1px solid #0088cc;
    text-decoration: none;
    cursor: pointer;
}

.product-details .product-actions a[href*="t.me"]:hover,
.product-details .product-actions .telegram-order-btn:hover {
    background: #006699;
    border-color: #006699;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.25);
    color: white;
    text-decoration: none;
}

/* Адаптивные стили для кнопок на мобильных устройствах */
@media (max-width: 768px) {
    .product-details .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-details .product-actions .favorite-btn,
    .product-details .product-actions .telegram-order-btn {
        min-width: auto;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-details .product-actions {
        margin-bottom: 1.5rem;
    }
    
    .product-details .product-actions .favorite-btn,
    .product-details .product-actions .telegram-order-btn {
        padding: 0.7rem 0.875rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
}

/* Favorites Page Styles */
.favorites-section {
    padding: 2rem 0;
    background: #fafafa;
    min-height: 60vh;
}

.favorites-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.favorites-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.favorites-header h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    letter-spacing: -0.02em;
}

.favorites-count {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding: 0.25rem 0.6rem;
    border-radius: 14px;
    border: 1px solid #e9ecef;
}

.favorites-actions {
    display: flex;
    gap: 0.5rem;
}

.favorites-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.favorite-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.favorite-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.favorite-product-card .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #f8f9fa;
}

.favorite-product-card .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.favorite-product-card:hover .product-image img {
    transform: scale(1.02);
}

.remove-favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    font-size: 0.8rem;
}

.favorite-product-card:hover .remove-favorite-btn {
    opacity: 1;
}

.remove-favorite-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.favorite-product-card .product-info {
    padding: 1rem;
    background: white;
}

.favorite-product-card .product-name {
    margin-bottom: 0.5rem;
}

.favorite-product-card .product-name a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
    line-height: 1.3;
}

.favorite-product-card .product-name a:hover {
    color: #7a7256;
}

.favorite-product-card .product-category {
    margin-bottom: 0.8rem;
}

.favorite-product-card .product-category a {
    color: #7a7256;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(122, 114, 86, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    transition: all 0.2s ease;
    display: inline-block;
}

.favorite-product-card .product-category a:hover {
    background: rgba(122, 114, 86, 0.15);
}

.favorite-product-card .product-price {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 14px;
    border: 1px solid #e9ecef;
}

.favorite-product-card .product-details {
    margin-bottom: 1rem;
    padding: 0.6rem;
    background: rgba(122, 114, 86, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(122, 114, 86, 0.1);
}

.favorite-product-card .product-gender {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.favorite-product-card .product-gender i {
    color: #7a7256;
    font-size: 0.9rem;
}

.favorite-product-card .product-sizes {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.favorite-product-card .product-sizes strong {
    color: #7a7256;
    font-weight: 600;
}

.favorite-product-card .product-actions {
    text-align: center;
    margin-top: 0.8rem;
}

/* Empty Favorites */
.empty-favorites {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
    border: 1px solid #f0f0f0;
}

.empty-favorites-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-favorites-content i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-favorites-content h2 {
    font-size: 1.4rem;
    color: #2c2c2c;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.empty-favorites-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Loading State */
.loading-favorites {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
    border: 1px solid #f0f0f0;
}

.loading-favorites i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #7a7256;
}

.loading-favorites p {
    font-size: 1rem;
    font-weight: 500;
    color: #7a7256;
}

/* Favorites Page Buttons */
.favorites-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.favorites-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.favorites-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.favorites-actions .btn-primary {
    background: #7a7256;
    color: white;
}

.favorites-actions .btn-primary:hover {
    background: #6a6246;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.favorite-product-card .btn-primary {
    background: #7a7256;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.favorite-product-card .btn-primary:hover {
    background: #6a6246;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-info {
    background: #2196F3;
}

.notification-success {
    background: #4CAF50;
}

.notification-error {
    background: #f44336;
}

/* Responsive Design for Favorites */
@media (max-width: 768px) {
    .favorites-section {
        padding: 1rem 0;
    }
    
    .favorites-container {
        padding: 0 0.8rem;
    }
    
    .favorites-header {
        margin-bottom: 1rem;
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .favorites-header-left {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .favorites-header h1 {
        font-size: 1.2rem;
    }
    
    .favorites-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    
    .favorites-actions {
        justify-content: center;
    }
    
    .favorites-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .favorite-product-card {
        border-radius: 14px;
    }
    
    .favorite-product-card .product-image img {
        height: 180px;
    }
    
    .favorite-product-card .product-info {
        padding: 0.8rem;
    }
    
    .favorite-product-card .product-name a {
        font-size: 0.95rem;
    }
    
    .empty-favorites {
        padding: 2rem 1rem;
    }
    
    .empty-favorites-content i {
        font-size: 2.5rem;
    }
    
    .empty-favorites-content h2 {
        font-size: 1.2rem;
    }
    
    .loading-favorites {
        padding: 2rem 1rem;
    }
    
    .loading-favorites i {
        font-size: 1.8rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* КРИТИЧЕСКИ ВАЖНЫЕ СТИЛИ - МАКСИМАЛЬНЫЙ ПРИОРИТЕТ */
.page-header,
section.page-header {
    background: linear-gradient(135deg, #8b7d6b 0%, #7a7256 25%, #6a6246 50%, #5a5240 75%, #4a422e 100%) !important;
    color: white !important;
}

.page-header h1,
section.page-header h1,
.page-header h1 *,
section.page-header h1 * {
    color: white !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
}

.page-header p,
section.page-header p,
.page-header p *,
section.page-header p * {
    color: white !important;
    font-size: 1.2rem !important;
    opacity: 0.9 !important;
}