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

body {
    font-family: 'Quicksand', 'Arial', sans-serif;
    background: #ffffff;
    color: #000000;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.left-placeholder {
    visibility: hidden;
}

.logo {
    text-align: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 125px;
    width: auto;
    display: block;
}

.nav-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.icon {
    display: inline-block;
    line-height: 0;
}

.icon img {
    height: 30px;
    width: auto;
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}

.icon img:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.content {
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 40px;
}

h1 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 800;
    color: #333;
    font-size: 28px;
    margin-bottom: 16px;
}

p {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

.marquee {
    position: relative;
    width: 100%;
    margin-top: 155px;
    background: #cddae9;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: 'Quicksand', 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 22s linear infinite;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .marquee {
        font-size: 16px;
        padding: 10px 0;
        margin-top: 145px;
    }
    .marquee span {
        animation-duration: 16s;
    }
}

.carousel {
    width: 100%;
    background: #ffffff;
    padding: 20px 0 15px 0;
    position: relative;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    margin: 0 auto;
    display: block;
}

.card-label {
    margin-top: 16px;
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: #2F4F4F;
    width: 24px;
    border-radius: 5px;
}

.hero-image {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 2600px;
    padding: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.products-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block;
}

.product-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 16px 0 8px;
    color: #222;
}

.product-card .price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #2F4F4F;
    margin-bottom: 16px;
}

.buy-btn {
    background: #cddae9;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.buy-btn:hover {
    background: #1e3a3a;
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .products-row {
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .products-row {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
        width: 100% !important;
        gap: 15px !important;
        padding: 0 10px !important;
        margin: 40px 0 !important;
    }
    .product-card {
        max-width: 100%;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.social-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0.75;
}

.social-icon:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.social-icon:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .social-links {
        gap: 25px;
        margin: 40px 0 30px;
    }
    .social-icon {
        width: 50px;
        height: 50px;
    }
}

.favorite-btn {
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.favorite-btn img {
    width: 24px;
    height: 24px;
    display: block;
    pointer-events: none;
}

.favorite-btn:hover {
    border-color: #e63946;
    transform: scale(1.05);
}

.favorite-btn.active {
    border-color: #e63946;
    background: #fff0f0;
}

.card-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    padding: 0 12px 12px;
}

.buy-btn {
    flex: 1;
    min-width: 120px;
}

.dropdown-menu {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 12px 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-menu a {
    padding: 12px 24px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f0f0f0;
}

.dropdown-menu a {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s;
}

.dropdown-menu.open a {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.dropdown-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.dropdown-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.dropdown-menu.open a:nth-child(4) { transition-delay: 0.2s; }

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-hidden {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
}

.fixed-icons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 1100;
    transition: opacity 0.3s ease;
}

.fixed-icons .icon img {
    height: 30px;
    width: auto;
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}

.fixed-icons .icon img:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.top-bar {
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.top-bar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.cart-modal-content {
    background: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.cart-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
}

.cart-modal-close:hover {
    color: #000;
}

#modal-product-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

.modal-color, .modal-size {
    margin-bottom: 15px;
}

.modal-color label, .modal-size label {
    font-weight: 600;
    margin-right: 10px;
    font-family: 'Quicksand', sans-serif;
}

.modal-color select, .modal-size select {
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 16px;
    background: white;
    width: 100%;
    max-width: 200px;
}

#modal-add-to-cart {
    background: #cddae9;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 10px;
}

#modal-add-to-cart:hover {
    background: #1e3a3a;
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .cart-modal-content {
        padding: 20px;
    }
    #modal-product-name {
        font-size: 18px;
    }
}

/* ===== ЕДИНЫЙ СТИЛЬ ДЛЯ РАЗДЕЛИТЕЛЯ ===== */
.separator {
    width: 100%;
    background: #cddae9;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 160px;
}

.separator span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 25px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-transform: uppercase;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

@media (max-width: 768px) {
    .separator {
        padding: 10px 0;
        margin-top: 140px;
    }
    .separator span {
        font-size: 18px;
        padding: 3px 16px;
    }
}