/* ===== style.css ===== */
/* Основные стили интернет-магазина косметики Фиерия */
/* Версия: 3.0 */
/* Дата: 2024 */

/* ===== РџР•Р Р•РњР•РќРќР«Р• Р Р‘РђР—РћР’Р«Р• РќРђРЎРўР РћР™РљР ===== */
@font-face {
    font-family: "GraphikLCGRegular";
    src: url("../fonts/GraphikLCGRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

:root {
    --primary-color: #ff14a6;
    --primary-dark: #cc00cc;
    --dark-color: #000;
    --light-color: #fff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --text-dark: #333;
    --text-light: #888;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'GraphikLCGRegular', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

#footer-container {
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== РЁРђРџРљРђ РЎРђР™РўРђ (HEADER) ===== */
.header {
    background: var(--light-color);
    position: relative;
}

.header__top-bar {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 8px 0;
    font-size: 13px;
}

.header__top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__info i {
    color: var(--primary-color);
}

.header__links {
    display: flex;
    gap: 20px;
}

.header__links a {
    color: var(--light-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__links a:hover {
    color: var(--primary-color);
}

.header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header__logo img {
    width: 65px;
    transition: transform 0.3s;
}

.header__logo:hover img {
    transform: scale(1.05);
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__contacts i {
    font-size: 20px;
    color: var(--primary-color);
}

.header__phones {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.header__phones a {
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.header__phones a:hover {
    color: var(--primary-color);
}

.header__social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--dark-color);
    font-size: 25px;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.header__user {
    display: flex;
    gap: 15px;
}

.user-link, .cart-link {
    position: relative;
    color: var(--dark-color);
    font-size: 20px;
    transition: var(--transition);
}

.user-link:hover, .cart-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.header__nav {
    display: flex;
    align-items: center;
    background: var(--dark-color);
    border-radius: var(--border-radius);
    padding: 0 15px;
    height: 60px;
    margin-bottom: 20px;
}

.catalog-menu {
    position: relative;
    height: 100%;
}

.catalog-toggle {
    background: var(--primary-color);
    color: var(--light-color);
    height: 100%;
    padding: 0 25px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    transition: var(--transition);
}

.catalog-toggle:hover {
    background: var(--primary-dark);
}

.catalog-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: var(--light-color);
    box-shadow: var(--box-shadow);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    z-index: 100;
    display: none;
    overflow: hidden;
}

.catalog-menu:hover .catalog-dropdown {
    display: block;
    animation: fadeIn 0.3s;
}

.catalog-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.catalog-dropdown a:hover {
    background: var(--gray-light);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 25px;
}

.catalog-dropdown i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    height: 100%;
    margin-left: 20px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    padding: 0 15px;
    font-size: 15px;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* ===== РџРћРРЎРљ ===== */
.search-form {
    margin-left: auto;
    display: flex;
    width: 300px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

#searchForm {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#searchInput {
    width: 100%;
    padding: 10px 15px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 20, 166, 0.3);
}

#searchForm button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 16px;
    padding: 5px;
}

#searchForm button:hover {
    color: var(--primary-color);
}

/* ===== РњРћР”РђР›Р¬РќРћР• РћРљРќРћ РџРћРРЎРљРђ ===== */
.search-results-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.search-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-search-results {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.close-search-results:hover {
    color: #333;
}

.search-results-container {
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.search-result-image {
    flex-shrink: 0;
    margin-right: 15px;
}

.search-result-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
}

.search-result-info {
    flex-grow: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
}

.search-result-title mark {
    background: #fff3cd;
    color: #856404;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

.search-result-brand {
    color: #666;
    font-size: 12px;
    margin-bottom: 3px;
}

.search-result-category {
    color: #999;
    font-size: 11px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
}

.search-result-arrow {
    flex-shrink: 0;
    margin-left: 15px;
    color: #ccc;
    transition: color 0.3s ease;
}

.search-result-item:hover .search-result-arrow {
    color: #666;
}

.no-results-message {
    text-align: center;
    padding: 30px;
    color: #777;
}

.no-results-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #ccc;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== РћР‘Р©РР• РЎРўРР›Р Р”Р›РЇ РЎР•РљР¦РР™ РўРћР’РђР РћР’ ===== */
.products-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ===== РЎРўРР›Р Р”Р›РЇ РЎР›РђР™Р”Р•Р РћР’ ===== */
/* РџРћР›РќРћРЎРўР¬Р® РЎРРќРҐР РћРќРР—РР РћР’РђРќР« РЎ newFile.css */
.swiper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    height: auto !important;
    transition: transform 0.3s ease;
    /*width: calc(25% - 15px) !important;*/
    /*margin-right: 20px;*/
    flex-shrink: 0;
}

.swiper-slide:hover {
    transform: translateY(-2px);
}

/* РљРђР РўРћР§РљРђ РўРћР’РђР Рђ Р’ РЎР›РђР™Р”Р•Р Р• - РўРћР§РќРђРЇ РљРћРџРРЇ РР— newFile.css */
.swiper-slide .product-card {
    width: 100%;
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 450px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-slide .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 255, 0.1);
}

/* РР·РѕР±СЂР°Р¶РµРЅРёРµ С‚РѕРІР°СЂР° */
.swiper-slide .product-image-container {
    position: relative;
    flex-shrink: 0;
}

.swiper-slide .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #f8f9fa;
}

.swiper-slide .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.swiper-slide .product-card:hover .product-image img {
    transform: scale(1.05);
}

.swiper-slide .product-image img.lazy {
    opacity: 0;
}

.swiper-slide .product-image img.loaded {
    opacity: 1;
}

/* Р‘РµР№РґР¶Рё Рё СЃРєРёРґРєРё */
.swiper-slide .product-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.swiper-slide .product-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: -10px;
    left: -10px;
    margin: 0;
}

.swiper-slide .product-discount {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

/* РРЅС„РѕСЂРјР°С†РёСЏ Рѕ С‚РѕРІР°СЂРµ */
.swiper-slide .product-info {
    padding: 0;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    justify-content: space-between;
}

.swiper-slide .product-title-link {
    padding: 15px;
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.swiper-slide .product-title-link:hover {
    text-decoration: none;
}

.swiper-slide .product-title {
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
    max-height: 38px;
    flex-shrink: 0;
}

.swiper-slide .product-description {
    font-size: 12px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 50px;
    max-height: 50px;
    word-break: break-word;
    hyphens: auto;
    flex-shrink: 0;
}

/* Р‘Р»РѕРє РІС‹Р±РѕСЂР° РѕР±СЉРµРјР° */
.swiper-slide .product-volumes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 15px 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.swiper-slide .volume-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.swiper-slide .volume-btn:hover {
    background: #eee;
    border-color: var(--primary-color);
}

.swiper-slide .volume-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.swiper-slide .volume-btn.out-of-stock,
.swiper-slide .volume-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* РќРёР¶РЅСЏСЏ С‡Р°СЃС‚СЊ РєР°СЂС‚РѕС‡РєРё */
.swiper-slide .product-footer {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    min-height: 60px;
    padding: 15px;
    flex-shrink: 0;
    align-items: center;
}

/*!* РљРѕРЅС‚РµР№РЅРµСЂ С†РµРЅ *!*/
/*.swiper-slide .product-price-container {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 2px;*/
/*    justify-content: flex-end;*/
/*    flex-shrink: 0;*/
/*    min-height: 50px;*/
/*    align-items: flex-start;*/
/*}*/

/* РЎС‚РёР»Рё С†РµРЅ */
.swiper-slide .product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    height: 18px;
    display: flex;
    align-items: center;
}

.swiper-slide .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin: 0;
    line-height: 1.2;
    height: 16px;
    display: flex;
    align-items: center;
}

.swiper-slide .new-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    height: 18px;
    display: flex;
    align-items: center;
}

.swiper-slide .out-of-stock {
    color: #999;
    font-style: italic;
    margin: 0;
    line-height: 1.2;
    height: 18px;
    display: flex;
    align-items: center;
}

/* РљРЅРѕРїРєР° "Р’ РєРѕСЂР·РёРЅСѓ" */
.swiper-slide .add-to-cart {
    background: var(--primary-color) !important;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 110px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
}

.swiper-slide .add-to-cart:hover:not(:disabled) {
    background: #4CAF50 !important;
    transform: translateY(-2px);
}

.swiper-slide .add-to-cart:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* РљРЅРѕРїРєР° РїСЂРµРґР·Р°РєР°Р·Р° */
.swiper-slide .add-to-cart.preorder-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.swiper-slide .add-to-cart.preorder-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4192 100%) !important;
}

/* РљРЅРѕРїРєР° "Р’ РєРѕСЂР·РёРЅРµ" */
.swiper-slide .add-to-cart.in-cart {
    background: #4CAF50 !important;
    color: white !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 1 !important;
}

.swiper-slide .add-to-cart i {
    font-size: 12px;
}

/* Р’С‹РїР°РґР°СЋС‰РёР№ СЃРїРёСЃРѕРє С†РІРµС‚РѕРІ (РґР»СЏ СЃРѕРІРјРµСЃС‚РёРјРѕСЃС‚Рё) */
.swiper-slide .product-color-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 120px;
}

.swiper-slide .product-color-select:hover {
    border-color: var(--primary-color);
}

.swiper-slide .product-color-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 20, 166, 0.2);
}

/* ===== РЎРўРР›Р Р”Р›РЇ Р­Р›Р•РњР•РќРўРћР’ РЈРџР РђР’Р›Р•РќРРЇ РЎР›РђР™Р”Р•Р РћРњ ===== */
.slider-controls {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow i {
    font-size: 16px;
}

/* ===== РЎРўРР›Р Р”Р›РЇ РЎРўР РђРќРР¦Р« РўРћР’РђР Рђ (product.html) ===== */
.product-page {
    padding: 40px 0;
}

.product-detail {
    display: flex;
    gap: 40px;
}

.product-gallery {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-main-image {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.product-main-image img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
    cursor: pointer;
    background: var(--gray-light);
    transition: var(--transition);
}

.product-thumb:hover {
    border-color: var(--primary-color);
}

.product-thumb.active {
    border-color: var(--primary-color);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-brand-info {
    margin-bottom: 15px;
    font-size: 16px;
}

.product-brand-label {
    color: var(--text-light);
    margin-right: 5px;
}

.product-brand-value {
    font-weight: 600;
    color: var(--dark-color);
}

/* Р‘Р»РѕРє РІС‹Р±РѕСЂР° РѕР±СЉРµРјР° РЅР° СЃС‚СЂР°РЅРёС†Рµ С‚РѕРІР°СЂР° */
.product-detail .product-volumes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    align-items: center;
}

.product-detail .product-volumes-label {
    font-size: 16px;
    color: var(--text-dark);
    margin-right: 10px;
}

.product-detail .volume-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.product-detail .volume-btn:hover {
    border-color: var(--primary-color);
    background: #fff0f9;
}

.product-detail .volume-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-detail .volume-btn.out-of-stock {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Р¦РµРЅС‹ РЅР° СЃС‚СЂР°РЅРёС†Рµ С‚РѕРІР°СЂР° */
.product-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.product-current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.product-discount {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

/* РљРЅРѕРїРєРё РґРµР№СЃС‚РІРёР№ РЅР° СЃС‚СЂР°РЅРёС†Рµ С‚РѕРІР°СЂР° */
.product-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 30px;
    width: 100%;
}

.product-action-buttons .add-to-cart.large {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.product-action-buttons .add-to-cart.large:hover:not(:disabled) {
    background: #4CAF50;
    transform: translateY(-2px);
}

.product-action-buttons .add-to-cart.large.in-cart {
    background: #4CAF50 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.product-action-buttons .add-to-cart.large.preorder-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-action-buttons .add-to-cart.large.preorder-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b4192 100%);
}

/* РћРїРёСЃР°РЅРёРµ Рё С…Р°СЂР°РєС‚РµСЂРёСЃС‚РёРєРё */
.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-description p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-medium);
}

.product-specs td:first-child {
    font-weight: 500;
    color: var(--text-light);
    width: 40%;
}

/* РЎС‚Р°С‚СѓСЃ "РќРµС‚ РІ РЅР°Р»РёС‡РёРё" */
.product-out-of-stock {
    color: #ff4444;
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(255, 68, 68, 0.1);
    border-radius: 6px;
    text-align: center;
}

/* ===== РљРћР Р—РРќРђ ===== */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: flex-end;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.cart-modal.active .cart-modal-content {
    transform: translateX(0);
}

.cart-modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-medium);
}

.cart-modal-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.close-cart {
    font-size: 28px;
    color: var(--text-light);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    text-align: center;
}

.empty-cart-message i {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--gray-medium);
}

.empty-cart-message p {
    font-size: 18px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-medium);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-right: 15px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    position: relative;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.quantity-value {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.remove-item:hover {
    color: var(--primary-color);
}

.cart-summary {
    padding: 20px;
    border-top: 1px solid var(--gray-medium);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--primary-dark);
}

.my-orders-link {
    color: #666;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.my-orders-link:hover {
    color: var(--primary-color);
    background: rgba(255, 20, 166, 0.05);
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* ===== РћР¤РћР РњР›Р•РќРР• Р—РђРљРђР—Рђ ===== */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal-content {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.checkout-modal.active .checkout-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.checkout-modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-medium);
    position: sticky;
    top: 0;
    background: var(--light-color);
    z-index: 1;
}

.checkout-modal-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.close-checkout {
    font-size: 28px;
    color: var(--text-light);
    transition: var(--transition);
}

.close-checkout:hover {
    color: var(--primary-color);
}

.checkout-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 20, 166, 0.1);
}

.order-summary {
    margin: 30px 0;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.order-summary h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-medium);
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-medium);
    font-size: 18px;
    font-weight: 600;
}

.order-total-amount {
    color: var(--primary-color);
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.submit-order-btn:hover {
    background: var(--primary-dark);
}

/* ===== РџРћР”РўР’Р•Р Р–Р”Р•РќРР• Р—РђРљРђР—Рђ ===== */
.order-confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-confirmation-modal.active {
    opacity: 1;
    visibility: visible;
}

.order-confirmation-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.order-items-list {
    margin: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

/* ===== РҐР›Р•Р‘РќР«Р• РљР РћРЁРљР ===== */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--text-light);
}

.breadcrumbs .current {
    color: var(--text-dark);
    font-weight: 500;
}

.back-button {
    display: inline-block;
    padding: 10px 15px;
    margin: 15px 0;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.back-button:hover {
    background-color: #e9e9e9;
    color: var(--primary-color);
}

.back-button i {
    margin-right: 5px;
}

/* ===== Рћ РњРђР“РђР—РРќР• ===== */
.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: stretch;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-text h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 55%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-contacts {
    margin-top: auto;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-contacts h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-contacts p {
    margin-bottom: 12px;
    font-size: 15px;
}

.about-contacts i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* ===== РљРђР РўРђ ===== */
.map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.map-wrapper:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.yandex-map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.yandex-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Р¤РЈРўР•Р  ===== */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 14px;
}

.footer__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer h3 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.footer__links ul,
.footer__legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li,
.footer__legal li {
    margin-bottom: 12px;
}

.footer__links i,
.footer__legal i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.footer__contacts a {
    display: block;
    margin-bottom: 12px;
}

.footer__social {
    margin-top: 20px;
}

.footer__social .social-link {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #bdc3c7;
}

.footer__social .social-link:hover {
    color: #fff;
}

.footer__copyright {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* ===== COOKIE POPUP ===== */
#cookie-consent-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    padding: 15px 20px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

#cookie-consent-popup p {
    margin: 0 0 10px 0;
}

#cookie-consent-popup button {
    padding: 8px 15px;
    margin-right: 10px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

#cookie-consent-popup .accept-cookies {
    background: var(--primary-color);
    color: white;
}

#cookie-consent-popup .decline-cookies {
    background: #ccc;
    color: #333;
}

/* ===== РђРќРРњРђР¦РР ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Р—РђР“Р РЈР—РљРђ Р РћРЁРР‘РљР ===== */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: var(--text-light);
}

.loading i {
    color: var(--primary-color);
    margin-right: 10px;
}

.error-message {
    text-align: center;
    padding: 50px;
    background: #fff3f3;
    border-radius: var(--border-radius);
    border: 1px solid #ffcdd2;
}

.error-message i {
    font-size: 48px;
    color: #f44336;
    margin-bottom: 20px;
}

.error-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #d32f2f;
}

.error-message p {
    color: #666;
    margin-bottom: 20px;
}

.error-message .button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.error-message .button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== РђР”РђРџРўРР’РќРћРЎРўР¬ ===== */
@media (max-width: 1200px) {
    .header__contacts {
        display: none;
    }

    .search-form {
        width: 250px;
    }

    /*.swiper-slide {*/
    /*    width: calc(100% - 15px) !important;*/
    /*}*/
}

@media (max-width: 992px) {
    .header__links {
        display: none;
    }

    .header__main {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header__nav {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    }

    .catalog-menu {
        width: 100%;
        margin-bottom: 15px;
    }

    .catalog-toggle {
        width: 100%;
        border-radius: var(--border-radius);
    }

    .nav-menu {
        width: 100%;
        flex-wrap: wrap;
        margin: 0;
        gap: 10px;
        height: auto;
    }

    .nav-menu a {
        height: auto;
        padding: 8px 12px;
    }

    .nav-menu a::after {
        display: none;
    }

    .search-form {
        width: 100%;
        margin: 15px 0 0;
    }

    /*.swiper-slide {*/
    /*    width: calc(50% - 15px) !important;*/
    /*}*/

    .swiper-slide .product-card {
        height: 420px;
    }

    .swiper-slide .product-image {
        height: 180px;
    }

    .product-detail {
        flex-direction: column;
    }

    .product-gallery {
        max-width: 100%;
    }

    .product-info {
        max-width: 100%;
        padding: 0;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        margin-bottom: 30px;
        height: 300px;
    }

    .about-image img {
        height: 100%;
    }

    .map-wrapper {
        height: 280px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    /*.swiper-slide {*/
    /*    width: calc(50% - 15px) !important;*/
    /*    margin-right: 15px;*/
    /*}*/

    .swiper-slide .product-card {
        height: auto;
        min-height: 400px;
    }

    .swiper-slide .product-image {
        height: 160px;
    }

    .swiper-slide .product-footer {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 10px;
        gap: 8px;
    }

    .swiper-slide .product-price-container {
        text-align: center;
    }

    .swiper-slide .product-price,
    .swiper-slide .new-price,
    .swiper-slide .out-of-stock {
        font-size: 12px;
        word-break: break-word;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .swiper-slide .product-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .swiper-slide .product-color-select {
        width: 100%;
        max-width: 100%;
    }

    .swiper-slide .add-to-cart {
        width: 100%;
        max-width: 100%;
        font-size: 11px;
        height: auto;
        min-height: 32px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        padding: 8px 10px;
    }

    .swiper-slide .add-to-cart.preorder-btn {
        font-size: 10px;
        padding: 6px 8px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slider-arrow i {
        font-size: 14px;
    }

    .product-main-image {
        height: 300px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-current-price {
        font-size: 24px;
    }

    .product-old-price {
        font-size: 18px;
    }

    .footer__main {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-title {
        font-size: 22px;
    }

    /*.swiper-slide {*/
    /*    width: calc(100% - 15px) !important;*/
    /*}*/

    .swiper-slide .product-card {
        height: 380px;
    }

    .swiper-slide .product-image {
        height: 150px;
    }

    .cart-modal-content {
        max-width: 100%;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .product-main-image {
        height: 250px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-detail .volume-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .product-action-buttons .add-to-cart.large,
    .preorder-btn {
        min-width: 100%;
    }

    .map-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }

    .swiper-slide .product-card {
        height: 360px;
    }

    .swiper-slide .product-title {
        font-size: 14px;
        min-height: 36px;
        max-height: 36px;
    }

    .swiper-slide .product-description {
        font-size: 11px;
        min-height: 45px;
        max-height: 45px;
    }

    .swiper-slide .product-price,
    .swiper-slide .new-price {
        font-size: 14px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-current-price {
        font-size: 22px;
    }

    .back-button {
        width: 100%;
        text-align: center;
    }
}

/* СЃС‚РёР»Рё РґР»СЏ СЃРєРёРґРѕРє */
/* РЎС‚РёР»Рё РґР»СЏ РѕС‚РѕР±СЂР°Р¶РµРЅРёСЏ СЃРєРёРґРѕРє РІ РєРѕСЂР·РёРЅРµ */
.cart-item-price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 5px 0;
}

.cart-item-price-block .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.cart-item-price-block .discount-badge {
    background: #ff4d4d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.cart-item-price-block .discounted-price {
    font-size: 16px;
    color: #e44d2e;
    font-weight: bold;
}

.order-item-price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.order-item-price-block .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.order-item-price-block .discount-badge {
    background: #ff4d4d;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.order-item-price-block .discounted-price {
    font-size: 14px;
    color: #e44d2e;
    font-weight: bold;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-item-info {
    display: flex;
    flex-direction: column;
}

.order-item-name {
    font-size: 14px;
    font-weight: 500;
}

.order-item-quantity {
    font-size: 12px;
    color: #666;
}

/* ========== Р‘Р•Р™Р”Р–Р РќРђ РљРђР РўРћР§РљРђРҐ РўРћР’РђР РћР’ ========== */

.product-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
}

.product-badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.product-discount-badge {
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-left: auto;
}

/* Р”Р»СЏ РїРѕР·РёС†РёРѕРЅРёСЂРѕРІР°РЅРёСЏ РєРѕРЅС‚РµР№РЅРµСЂР° */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-image-container {
    position: relative;
}

/* СЃС‚РёР»Рё РґР»СЏ РїРѕРёСЃРєР° */
/* ========== РЎРўРР›Р Р”Р›РЇ РџРћРРЎРљРђ РЎРћ РЎРљРР”РљРђРњР ========== */

.search-result-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.search-result-discount-badge {
    position: absolute;
    top: -25px;
    left: 25px;
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.search-result-price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.search-result-price-block .old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.search-result-price-block .discount-badge {
    background: #ff4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.search-result-price-block .new-price {
    font-size: 14px;
    color: #e44d2e;
    font-weight: 700;
}

.search-result-price {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
    display: block;
}

.search-result-volume {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-info {
    flex: 1;
    margin-left: 12px;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.search-result-brand {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.search-result-category {
    font-size: 11px;
    color: #999;
    margin-bottom: 2px;
}

.search-result-arrow {
    color: #ccc;
    margin-left: 12px;
}

/*СЃС‚РёР»Рё С„РѕРѕС‚РµСЂ*/

/* ========== FOOTER РЎРўРР›Р ========== */

.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer__column h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer__column p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__column ul li {
    margin-bottom: 10px;
}

.footer__column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer__column ul li a:hover {
    color: var(--primary-color);
}

.footer__column ul li a i {
    margin-right: 8px;
    width: 16px;
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer__social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.footer__social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer__bottom p {
    color: #95a5a6;
    font-size: 13px;
    margin-bottom: 5px;
}

/* ========== РђР”РђРџРўРР’РќРћРЎРўР¬ ========== */

@media (max-width: 992px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer__content {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .product-price-container {
        display: flex;
        gap: 15px;
    }
}

/* ========== Р‘Р•Р™Р”Р–Р РќРђ РљРђР РўРћР§РљРђРҐ - РўРћР›Р¬РљРћ РћР”РРќ! ========== */

.product-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    pointer-events: none;
}

.product-badge {
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.product-discount-badge {
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-left: auto;
}

/* РЎРљР Р«Р’РђР•Рњ Р›Р®Р‘Р«Р• Р”Р РЈР“РР• Р‘Р•Р™Р”Р–Р, РљРћРўРћР Р«Р• РњРћР“Р›Р РџРћРЇР’РРўР¬РЎРЇ */
.product-image .product-discount-badge,
.product-image .discount-badge,
.product-image [class*="discount"] {
    display: none !important;
}

.discount-tag {
    display: none !important;
}
/* ========== DROPDOWN ДЛЯ ЦВЕТОВ ========== */
.product-color-dropdown {
    position: relative;
    min-width: 220px;
    margin-right: 15px;
}

.color-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
}

.color-dropdown-toggle:hover {
    border-color: #ff14a6;
}

.color-dropdown-toggle.active {
    border-color: #ff14a6;
    box-shadow: 0 0 0 3px rgba(255, 20, 166, 0.1);
}

.color-dropdown-toggle i {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    transition: transform 0.2s ease;
}

.color-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.color-preview {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.color-dropdown-toggle .color-name {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.color-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.color-dropdown-menu.open {
    display: block;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.color-option:hover {
    background: #f5f5f5;
}

.color-option.selected {
    background: #fff0f7;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.color-option .color-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Адаптивность для dropdown */
@media (max-width: 768px) {
    .product-color-dropdown {
        min-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .color-preview {
        width: 24px;
        height: 24px;
    }
}
    
