/* Reset and base styles */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
    font-family: 'Manrope', sans-serif;
}

button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

/* Main Container */
.element-light {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 67px;
    background: #f4f4f4;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 61px;
    height: 51px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.nav-link.active {
    color: #ef233c;
    font-weight: 600;
}

.nav-link:hover {
    color: #ef233c;
}

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

.language-switcher {
    display: flex;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-right: 10px;
}

.lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: #a9b0c3;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 40px;
}

.lang-btn:hover {
    background: rgba(239, 35, 60, 0.1);
    color: #ef233c;
}

.lang-btn.active {
    background: #ef233c;
    color: white;
}

.lang-btn.active:hover {
    background: #d11a2b;
}

.cart-btn, .login-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-btn {
    background: #ef233c;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.cart-btn:hover {
    color: white;
}

.login-btn {
    background: white;
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #000;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.mobile-logo {
    width: 50px;
    height: 42px;
    object-fit: contain;
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(239, 35, 60, 0.1);
    color: #ef233c;
}

.mobile-menu-actions {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.mobile-language-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mobile-language-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mobile-language-buttons {
    display: flex;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.mobile-lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-lang-btn.active {
    background: #ef233c;
    color: white;
}

.mobile-cart-btn,
.mobile-login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.mobile-cart-btn {
    background: #ef233c;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
}

.mobile-cart-btn:hover {
    background: #d11a2b;
    color: white;
}

.mobile-login-btn {
    background: white;
    color: #000;
    border: 1px solid #ddd;
}

.mobile-login-btn:hover {
    background: #f5f5f5;
}

/* Main Content */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 91px 20px 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 40px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-link {
    color: #666;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #ef233c;
}

.breadcrumb-separator {
    color: #ccc;
}

.breadcrumb-current {
    color: #000;
    font-weight: 500;
}

/* Empty Suggestions State */
.empty-suggestions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    margin: 1rem 0;
}

.empty-suggestions__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-suggestions__text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-suggestions__subtext {
    font-size: 0.9rem;
    color: #6c757d;
    opacity: 0.8;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading-spinner i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.loading-spinner p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

/* Error Message */
.error-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.error-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 1rem;
}

.error-content i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.5rem;
}

.error-content p {
    margin: 0 0 1.5rem 0;
    color: #666;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary {
    background: #667eea;
}

.btn-primary:hover {
    background: #5a6fd8;
}

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

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

/* Product Suggestions Banner */
.product-suggestions {
    margin: 0 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 0 20px 0;
}

.product-suggestions__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
}

.product-suggestions__title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.product-suggestions__divider {
    width: 40px;
    height: 2px;
    background-color: #ef233c;
    border-radius: 1px;
}

.product-suggestions__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-suggestions__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 28px;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-suggestions__arrow:hover {
    background: #ef233c;
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.3);
}

.product-suggestions__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.product-suggestions__arrow--left {
    left: -20px;
}

.product-suggestions__arrow--right {
    right: -20px;
}

.product-suggestions__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.product-suggestions__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 0 10px 0;
    flex: 1;
}

.product-suggestions__grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-suggestions__card {
    background-color: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100px;
    max-height: 100px;
    min-width: 280px;
    max-width: 280px;
    width: 280px;
    flex-shrink: 0;
    padding: 10px;
    gap: 12px;
    box-sizing: border-box;
}

/* Product Suggestions Link */
.product-suggestions__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex-grow: 1;
    gap: 12px;
}

.product-suggestions__link:hover {
    text-decoration: none;
    color: inherit;
}

.product-suggestions__card:hover .product-suggestions__link {
    transform: translateY(-2px);
}

.product-suggestions__image {
    width: 121px;
    height: 80px;
    max-height: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-suggestions__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-suggestions__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    padding: 5px 0;
    overflow: hidden;
    width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.product-suggestions__name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 19.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    max-height: 19.5px; /* Одна строка */
    min-height: 19.5px;
    height: 19.5px;
    width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.product-suggestions__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    width: 100%;
    min-height: 30px;
    height: 30px;
    flex-shrink: 0;
}

.product-suggestions__price {
    font-size: 16px;
    font-weight: 700;
    color: #ef233c;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-suggestions__btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
    background-color: #ef233c;
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.product-suggestions__btn:hover {
    background-color: #d11a2b;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.3);
}

.product-suggestions__btn:active {
    transform: scale(0.95);
}

/* Стили для иконки плюса */
.product-suggestions__btn i {
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.product-suggestions__btn:hover i {
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Стили для fallback плюса */
.product-suggestions__cross {
    color: white;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.product-suggestions__btn:hover .product-suggestions__cross {
    transform: scale(1.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive for Product Suggestions - Always Single Row */
@media (max-width: 1024px) {
    .product-suggestions__arrow {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .product-suggestions__arrow--left {
        left: -18px;
    }
    
    .product-suggestions__arrow--right {
        right: -18px;
    }
}

@media (max-width: 768px) {
    .product-suggestions {
        margin: 0 0 20px 0;
        padding: 0 0 15px 0;
    }
    
    .product-suggestions__arrow {
        display: none;
    }
    
    .product-suggestions__grid {
        gap: 10px;
    }
    
    .breadcrumb {
        margin: 0 0 30px 0;
    }
    
    .product-suggestions__card {
        min-width: 250px;
        max-width: 250px;
        width: 250px;
        height: 90px;
        max-height: 90px;
        min-height: 90px;
        padding: 8px;
        gap: 10px;
        box-sizing: border-box;
    }
    
    .product-suggestions__image {
        width: 100px;
        height: 70px;
    }
    
    .product-suggestions__name {
    font-size: 14px;
    }
    
    .product-suggestions__price {
        font-size: 15px;
    }
    
    .product-suggestions__btn {
        width: 26px;
        height: 26px;
        border-radius: 13px;
    }
    
    .product-suggestions__btn i {
        font-size: 12px;
    }
    
    .product-suggestions__cross {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-suggestions__grid {
        gap: 8px;
    }
    
    .product-suggestions__card {
        min-width: 220px;
        max-width: 220px;
        width: 220px;
        height: 85px;
        max-height: 85px;
        min-height: 85px;
        padding: 6px;
        gap: 8px;
        box-sizing: border-box;
    }
    
    .product-suggestions__image {
        width: 85px;
        height: 65px;
    }
    
    .product-suggestions__name {
        font-size: 13px;
        line-height: 16px;
    }
    
    .product-suggestions__price {
    font-size: 14px;
    }
    
    .product-suggestions__btn {
        width: 24px;
        height: 24px;
        border-radius: 12px;
    }
    
    .product-suggestions__btn i {
        font-size: 11px;
    }
    
    .product-suggestions__cross {
        font-size: 14px;
    }
}

@media (max-width: 330px) {
    .product-suggestions {
        margin: 0 0 15px 0;
    padding: 0 0 10px 0;
}

    .product-suggestions__wrapper {
        gap: 5px;
    }
    
.breadcrumb {
        margin: 0 0 20px 0;
    }
    
    .product-suggestions__grid {
        gap: 6px;
        padding: 0 0 8px 0;
}

.product-suggestions__card {
        min-width: 180px;
        max-width: 180px;
        width: 180px;
        height: 75px;
        max-height: 75px;
        min-height: 75px;
        padding: 5px;
        gap: 6px;
        box-sizing: border-box;
}

.product-suggestions__image {
        width: 65px;
        height: 55px;
        flex-shrink: 0;
}

.product-suggestions__img {
        width: 100%;
        height: 100%;
    object-fit: cover;
}

.product-suggestions__content {
        padding: 2px 0;
        gap: 4px;
    }
    
    .product-suggestions__name {
        font-size: 11px;
        line-height: 14px;
    }
    
    .product-suggestions__price-row {
        gap: 6px;
}

.product-suggestions__price {
        font-size: 12px;
}

.product-suggestions__btn {
        width: 22px;
        height: 22px;
        border-radius: 11px;
}

.product-suggestions__btn i {
        font-size: 10px;
}

    .product-suggestions__cross {
        font-size: 12px;
    }
}

/* Discount badges for similar products */
.similar-products__discount {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.product-suggestions__discount {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

/* Make image containers relative for absolute positioning of discounts */
.similar-products__image {
    position: relative;
}

.product-suggestions__image {
    position: relative;
}

/* Дополнительные стили для стабильности карточек похожих товаров */
.similar-products__grid {
    width: 100%;
    width: 100%;
    overflow: hidden;
}

.similar-products__card {
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

/* Similar Products Link */
.similar-products__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.similar-products__link:hover {
    text-decoration: none;
    color: inherit;
}

.similar-products__card:hover .similar-products__link {
    transform: translateY(-2px);
}

.similar-products__info {
    width: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Мобильные устройства - дополнительная стабильность */
@media (max-width: 768px) {
    .similar-products__card {
        width: 100%;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .similar-products__name {
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        width: 100%;
        width: 100%;
        min-width: 0;
    }
}

/* Product Page */
.product-page {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Product Details Section */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-details__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-details__gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-details__main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    min-height: 400px;
}

.product-details__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-details__thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-details__thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.product-details__thumb:hover {
    border-color: #ef233c;
}

.product-details__thumb.active {
    border-color: #ef233c;
}

.product-details__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-details__title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 0 0;
    line-height: 1.4;
    font-family: 'Manrope', sans-serif;
}

.product-details__rating-stock {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #F4F4F4;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    margin: 0;
}

/* Базовые стили для action-container (общий контейнер для 3 элементов) */
.product-details__action-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 0 20px 0;
}

/* Container 1: Price Container (красная + серая цена + скидка) */
.product-details__price-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Container 2: Quantity and Cart Row (удален - больше не нужен) */

/* Container 2a: Quantity Container (выбор количества) */
.product-details__quantity-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Container 2b: Cart Button Wrapper (обертка для кнопки) */
.product-details__cart-wrapper {
    display: flex;
    align-items: center;
}

/* Container 3: Cart Container (кнопка в корзину) */
.product-details__cart-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ef233c;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Manrope', sans-serif;
    justify-content: center;
}

.product-details__cart-container:hover {
    background: #d11a2b;
}

/* Большие экраны 1920px-1024px: цена на первой строке, количество и кнопка на второй */
@media (min-width: 1025px) {
    .product-details__action-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 15px !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Container 1: Price - на первой строке */
    .product-details__price-container {
        order: 1 !important;
    }
    
    /* Container 2: Quantity - слева на второй строке */
    .product-details__quantity-container {
        grid-row: 2 !important;
        grid-column: 1 !important;
        justify-self: start !important;
    }
    
    /* Container 3: Cart Wrapper - справа на второй строке */
    .product-details__cart-wrapper {
        grid-row: 2 !important;
        grid-column: 1 !important;
        justify-self: end !important;
    }
    
    /* Container 3: Cart - справа */
    .product-details__cart-container {
        width: fit-content !important;
    }
}

.product-details__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-details__stars {
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.product-details__star {
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.product-details__star:hover {
    color: #ef233c;
}

.product-details__star.active {
    color: #ef233c;
}

.product-details__star.hover {
    color: #ef233c;
}

.product-details__rating-text {
    font-size: 14px;
    color: #666;
    font-family: 'Manrope', sans-serif;
}

.product-details__divider {
    width: 1px;
    height: 20px;
    background: #ddd;
}

.product-details__stock {
    font-size: 14px;
    color: #25d366;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
}

.product-details__pricing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 0 0;
}

.product-details__current-price {
    font-size: 28px;
    font-weight: 700;
    color: #EF233C;
    font-family: 'Manrope', sans-serif;
}

.product-details__old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    font-family: 'Manrope', sans-serif;
}

.product-details__old-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-details__discount {
    background: #ef233c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    width: fit-content;
}

.product-details__action-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-details__quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    flex-shrink: 0;
}

.product-details__qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #151923;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details__qty-btn:hover {
    background: #2a3441;
}

.product-details__qty-input {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.product-details__qty-value {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    font-family: 'Manrope', sans-serif;
}

.product-details__add-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ef233c;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Manrope', sans-serif;
    flex: 1;
    justify-content: center;
}

.product-details__add-btn:hover {
    background: #d11a2b;
}

.product-details__cart-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.product-details__add-text {
    font-family: 'Manrope', sans-serif;
}

/* Product Specifications */
.product-details__specs {
    margin-top: 30px;
}

.product-details__specs-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 15px 0;
    font-family: 'Manrope', sans-serif;
}

.product-details__specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.product-details__spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-details__spec-label {
    font-size: 14px;
    color: #666;
    font-family: 'Manrope', sans-serif;
}

.product-details__spec-value {
    font-size: 14px;
    color: #000;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
}

/* Product Description */
.product-details__description {
    margin-top: 25px;
}

.product-details__description-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 12px 0;
    font-family: 'Manrope', sans-serif;
}

.product-details__description-text {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

/* Similar Products Section */
.similar-products {
    margin-top: 40px;
}

.similar-products__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.similar-products__title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin: 0;
    font-family: 'Manrope', sans-serif;
    text-align: center;
}

.similar-products__divider {
    width: 40px;
    height: 2px;
    background-color: #ef233c;
    border-radius: 1px;
}

.similar-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.similar-products__grid .similar-products__card {
    width: 100%;
    width: 100%;
    min-width: 0;
}

.similar-products__card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 280px; /* Фиксированная высота */
    min-height: 280px;
    max-height: 280px;
    width: 100%; /* Фиксированная ширина */
    min-width: 0; /* Позволяет сжиматься */
    width: 100%; /* Не превышает контейнер */
    box-sizing: border-box; /* Включает padding в ширину */
}

.similar-products__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.similar-products__image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    flex-shrink: 0;
}

.similar-products__img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.similar-products__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.similar-products__name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.4;
    font-family: 'Manrope', sans-serif;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em; /* 2 строки * 1.4 line-height */
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    width: 100%;
    width: 100%;
    min-width: 0;
}

.similar-products__price {
    font-size: 18px;
    font-weight: 700;
    color: #ef233c;
    font-family: 'Manrope', sans-serif;
    margin: 5px 0;
}

.similar-products__btn {
    background: #ef233c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Manrope', sans-serif;
    width: fit-content;
    min-height: 36px;
    align-self: flex-start;
}

.similar-products__btn:hover {
    background: #d11a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.3);
}

/* Quantity Selector for Similar Products */
.similar-products__quantity-selector {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: fit-content;
    background: white;
    border: 2px solid #ef233c;
    border-radius: 6px;
    padding: 4px 6px;
    flex-shrink: 0;
    min-height: 36px;
    box-sizing: border-box;
}

.similar-products__quantity-selector.show {
    display: flex !important;
}

.similar-products__quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #ef233c;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: 28px;
}

.similar-products__quantity-btn:hover {
    background: #d11a2b;
    transform: scale(1.1);
}

.similar-products__quantity-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.similar-products__quantity-display {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    min-width: 35px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-description {
    max-width: 400px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

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

.social-icon {
    font-size: 20px;
}

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

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #666;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ef233c;
}

.footer-copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
    z-index: 100;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
}

.whatsapp-icon {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    .login-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-left: 10px;
    }
    
    .header-actions {
        gap: 0;
        margin-left: auto;
        margin-right: 10px;
    }
    
    .cart-btn {
        margin-right: 0;
    }
    
    .main {
        padding: 0 20px;
        margin-top: 0;
    }
    
    
    .similar-products__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Большие экраны 1920px-1024px: цена на первой строке, количество и кнопка на второй */
@media (min-width: 1025px) {
    .product-details__price-qty-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0 0 20px 0;
    }
    
    .product-details__pricing {
        order: 1;
        text-align: left;
        margin: 0;
    }
    
    .product-details__quantity {
        order: 2;
        align-self: flex-start;
        margin: 0;
    }
    
    .product-details__add-btn {
        order: 3;
        align-self: flex-start;
        margin: 0;
        width: fit-content;
    }
}

/* Планшеты 1024px-769px: все в одной строке */
@media (max-width: 1024px) and (min-width: 769px) {
    .product-details__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-details__gallery {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
    
    .product-details__main-image {
        flex: 1;
        min-height: 300px;
    }
    
    .product-details__thumbnails {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100px;
        flex-shrink: 0;
    }
    
    .product-details__thumb {
        width: 80px;
        height: 80px;
    }
    
    .product-details__title {
        margin: 20px 0 15px 0;
        text-align: left;
    }
    
    .product-details__rating-stock {
        margin: 0 0 20px 0;
    }
    
    /* Планшеты 1024px-768px: все в одной строке */
    .product-details__action-container {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        grid-template-rows: 1fr !important;
        align-items: center !important;
        gap: 15px !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Container 1: Price - слева */
    .product-details__price-container {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
    }
    
    /* Container 2: Quantity - по центру в строке */
    .product-details__quantity-container {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
    }
    
    /* Container 3: Cart Wrapper - справа в строке */
    .product-details__cart-wrapper {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }
    
    /* Container 3: Cart - справа в строке */
    .product-details__cart-container {
        padding: 8px 16px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        width: auto !important;
    }
    
    .product-details__specs {
        margin: 0 0 20px 0;
    }
    
    .product-details__description {
        margin: 0 0 20px 0;
    }
    
    .similar-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .product-details__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .similar-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 0 15px;
        margin-top: 0;
    }
    
    
    /* Similar Products Quantity Selector - Mobile */
    .similar-products__quantity-selector {
        padding: 3px 5px;
        gap: 5px;
        min-height: 32px;
    }
    
    .similar-products__quantity-btn {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .similar-products__quantity-display {
        font-size: 13px;
        min-width: 30px;
    }
    
    /* Мобильные ≤768px: цена и количество на первой строке, кнопка на второй */
    .product-details__action-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 15px !important;
        margin: 0 0 20px 0 !important;
    }
    
    /* Container 1: Price - слева на первой строке */
    .product-details__price-container {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
    }
    
    /* Container 2: Quantity - справа на первой строке */
    .product-details__quantity-container {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }
    
    /* Container 3: Cart Wrapper - на всю ширину второй строки */
    .product-details__cart-wrapper {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
    }
    
    /* Container 3: Cart - на всю ширину */
    .product-details__cart-container {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .product-details__price-qty-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 0 0 15px 0;
    }
    
    .product-details__pricing {
        flex: 0 0 auto;
        text-align: left;
        order: 1;
    }
    
    .product-details__quantity {
        flex: 0 0 auto;
        margin: 0;
        order: 2;
    }
    
    .product-details__add-btn {
        flex: 0 0 auto;
        margin: 0;
        order: 3;
        width: fit-content;
    }
    
    /* Мобильные ≤767px: цена и количество на первой строке, кнопка на второй */
    .product-details__price-qty-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .product-details__pricing {
        order: 1;
        text-align: left;
    }
    
    .product-details__quantity {
        order: 2;
        align-self: flex-end;
    }
    
    .product-details__add-btn {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    .similar-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-details__rating-stock {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 15px;
    }
    
    
    .product-details__title {
        font-size: 20px;
    }
    
    .product-details__current-price {
        font-size: 24px;
        color: #EF233C;
    }
    
    .product-details__old-price {
        font-size: 16px;
    }
    
    .product-details__old-price-row {
        gap: 8px;
    }
    
    .similar-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Мобильные ≤767px: цена и количество на первой строке, кнопка на второй */
@media (max-width: 767px) {
    .product-details__price-qty-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0 0 20px 0;
    }
    
    .product-details__pricing {
        order: 1;
        text-align: left;
        margin: 0;
    }
    
    .product-details__quantity {
        order: 2;
        align-self: flex-end;
        margin: 0;
    }
    
    .product-details__add-btn {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 0 10px;
        margin-top: 0;
    }
    
    
    /* Similar Products Quantity Selector - Small Mobile */
    .similar-products__quantity-selector {
        padding: 2px 4px;
        gap: 4px;
        min-height: 30px;
    }
    
    .similar-products__quantity-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .similar-products__quantity-display {
        font-size: 12px;
        min-width: 25px;
    }
    
    .product-details__title {
        font-size: 18px;
    }
    
    .product-details__current-price {
        font-size: 22px;
        color: #EF233C;
    }
    
    .product-details__old-price {
        font-size: 14px;
    }
    
    .product-details__old-price-row {
        gap: 6px;
    }
    
    .product-details__specs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .product-details__specs-title {
        font-size: 16px;
    }
    
    .product-details__description-title {
        font-size: 16px;
    }
    
    .product-details__description-text {
        font-size: 14px;
    }
    
    .product-details__qty-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        background: #151923;
        color: #fff;
    }
    
    .product-details__qty-input {
        width: 50px;
        height: 35px;
    }
    
    .product-details__action-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .product-details__add-btn {
        flex: none;
        width: 100%;
    }
    
    .product-details__rating-stock {
        flex-direction: row;
        gap: 10px;
        padding: 12px 15px;
        text-align: center;
        flex-wrap: nowrap;
    }
    
    .product-details__divider {
        display: none;
    }
    
    .product-details__star {
        font-size: 18px;
    }
    
    .product-details__thumb {
        width: 60px;
        height: 60px;
    }
    
    .product-details__thumbnails {
        gap: 8px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
}

@media (max-width: 300px) {
    .main {
        margin-top: 0;
        padding: 0 5px;
    }
    
    .product-suggestions__grid {
        padding: 0 0 5px 0;
    }
    
    .product-suggestions__card {
        min-width: 160px;
        max-width: 160px;
        width: 160px;
        height: 70px;
        max-height: 70px;
        min-height: 70px;
        box-sizing: border-box;
    }
    
    .product-suggestions__image {
        width: 55px;
        height: 50px;
    }
    
    .product-suggestions__name {
        font-size: 10px;
        line-height: 13px;
    }
    
    .product-suggestions__price {
        font-size: 11px;
    }
    
    .product-suggestions__btn {
        width: 20px;
        height: 20px;
        border-radius: 10px;
    }
    
    .product-suggestions__btn i {
        font-size: 9px;
    }
    
    .product-suggestions__cross {
        font-size: 11px;
    }
    
    .footer {
        padding: 20px 0 15px;
    }
    
    .footer-content {
        padding: 0 10px;
        gap: 20px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .footer-column h3 {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
    
    .whatsapp-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 450px) {
    .main {
        padding: 0 8px;
    }
    
    .footer {
        padding: 25px 0 15px;
    }
    
    .footer-content {
        padding: 0 12px;
    }
}
