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

/* Защита от выпадения контента */
body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== БАЗОВЫЕ СТИЛИ (СНАЧАЛА ДЛЯ МОБИЛЬНЫХ) ===== */
body {
    background-color: #181818 !important;
    background-image: url('./img/pattern.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 14px;
}

/* Шапка */
.head {
    background: #ffffff;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(14, 14, 14) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    min-height: 80px;
    height: auto;
}

.head-2 {
    background-color: #0f0f0f;
    display: flex;
    justify-content: center;
    padding: 10px;
    min-height: auto;
    height: auto;
}

/* Логотипы */
.logo-img {
    max-height: 60px;
    width: auto;
    margin: 5px;
}

.logo-txt {
    max-height: 60px;
    width: auto;
    margin: 5px;
}

/* Заголовки */
h1 {
    text-align: center;
    font-size: 24px;
    margin: 30px 0 30px;
    padding: 20px;
}

body h1 {
    color: #ffffff;
    display: block;
}

/* Инфо-блоки */
.info-1, .info-2, .info-main {
    background-color: white;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    margin: 10px 0;
    width: 100%;
    min-height: 80px;
    height: auto;
    gap: 10px;
}

.info-1 img, .info-2 img, .info-main img {
    max-height: 80px;
    width: auto;
}

.info-1 h2, .info-2 h2, .info-main h2 {
    font-size: 18px;
    margin: 0;
}

.link-tg {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #ffffff;
    word-break: break-all;
}

/* Контент */
.content {
    margin-top: 30px;
}

/* ===== СТИЛИ ДЛЯ КАРТОЧЕК (НОВАЯ СТРУКТУРА) ===== */
.card {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 2px 1px 13px 2px #ff4d4d;
    height: 400px !important;
    display: flex;
    flex-direction: column;
    --bs-card-border-width: 0;
    background-color: white;
}

/* Контейнер для картинки */
.card a {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

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

.card:hover .img-card {
    transform: scale(1.10);
}

/* Основной контент карточки */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.card-body {
    flex: 1;
    background-color: white;
    padding: 0 0 8px 0;
}

.card-title {
    font-size: 16px !important;
    font-weight: bold;
    margin: 0 0 5px 0 !important;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.card-text {
    font-size: 14px !important;
    margin: 0 0 3px 0 !important;
    color: #666;
    line-height: 1.2;
}

/* Футер карточки с кнопкой и бонусом */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

/* Иконка подарка */
.gift-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gift-icon img {
    max-height: 45px;
    width: auto;
    display: block;
}

/* Старые стили для обратной совместимости (если остались карточки с card-box) */
.card-box {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    gap: 8px;
    min-height: 60px;
    height: 180px;
}

.card-box img {
    flex-shrink: 0;
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Фикс для PhotoSwipe */
.pswp {
    --pswp-bg: rgb(0, 0, 0) !important;
}

.pswp__img {
    object-fit: contain !important;
}

/* Футер */
.footer {
    color: white;
    text-align: center;
    padding: 20px 15px;
    margin-top: 40px;
}

/* ===== НАВИГАЦИЯ И ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.navbar {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px;  /* было 5px, уменьшили */
    padding: 5px;
}

.text-nav {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 14px;
    padding: 8px 6px;  /* было 8px 10px, уменьшили боковые отступы */
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.text-nav:hover {
    background-color: rgba(255, 77, 77, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;  /* было 5px, уменьшили */
    padding: 8px 6px;  /* было 8px 12px, уменьшили */
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 5px;
    opacity: 0.7;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(35, 37, 39, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom a {
    color: rgb(255, 255, 255) !important;
    padding: 10px 20px !important;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu-custom a:hover {
    background: rgba(255, 77, 77, 0.2);
    color: #ffffff !important;
    padding-left: 25px !important;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .navbar {
        gap: 3px;
    }
    
    .text-nav {
        font-size: 13px;
        padding: 6px 8px;
    }
    
    .dropdown {
        position: static;
        width: 100%;
    }
    
    .dropdown-menu-custom {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        margin-top: 5px;
        margin-bottom: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: 1px solid rgba(255, 77, 77, 0.2);
    }
    
    .dropdown.active .dropdown-menu-custom {
        display: block;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-toggle::after {
        margin-left: auto;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ РАЗНЫХ ЭКРАНОВ ===== */
@media (min-width: 576px) {
    body { font-size: 15px; }
    .logo-img { max-height: 70px; }
    .logo-txt { max-height: 50px; }
    .text-nav { font-size: 15px; }
    h1 { font-size: 28px; }
    .info-1 h2, .info-2 h2, .info-main h2 { font-size: 20px; }
    .link-tg { font-size: 18px; }
    .card-title { font-size: 17px; }
    .card-text { font-size: 14px; }
}

@media (min-width: 768px) {
    .logo-img { max-height: 80px; }
    .logo-txt { max-height: 60px; }
    .text-nav { font-size: 16px; padding: 5px 12px; }
    h1 { font-size: 32px; margin: 40px 0 30px; }
    .info-1, .info-2, .info-main { flex-wrap: nowrap; }
    .info-1 img, .info-2 img, .info-main img { max-height: 70px; }
    .info-1 h2, .info-2 h2, .info-main h2 { font-size: 22px; }
    .link-tg { font-size: 20px; }
    .card-title { font-size: 18px; }
    .card-text { font-size: 15px; }
}

@media (min-width: 992px) {
    body { font-size: 16px; }
    .text-nav { font-size: 18px; }
    h1 { font-size: 36px; }
    .info-1 h2, .info-2 h2, .info-main h2 { font-size: 24px; }
    .link-tg { font-size: 24px; }
    .card-title { font-size: 20px; }
    .card-text { font-size: 16px; }
}

@media (min-width: 1200px) {
    h1 { font-size: 40px; }
    .container { padding: 0 30px; }
}

@media (max-width: 480px) {
    .head-2 { padding: 5px; }
    .navbar { gap: 3px; }
    .text-nav { font-size: 12px; padding: 6px 8px; }
    .dropdown-toggle { padding: 6px 8px; }
    .dropdown-menu-custom { min-width: 140px; }
    .dropdown-menu-custom a { font-size: 12px; padding: 8px 15px !important; }
    
    .card {
        height: 340px !important;
    }
    
    .card a {
        height: 160px;
    }
    
    .card-title {
        font-size: 13px !important;
    }
    
    .card-text {
        font-size: 11px !important;
    }
    
    .add-to-cart-btn {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .gift-icon img {
        max-height: 30px;
    }
}

@media (min-width: 481px) and (max-width: 576px) {
    .navbar { gap: 4px; }
    .text-nav { font-size: 13px; padding: 7px 10px; }
}

@media (min-width: 577px) and (max-width: 768px) {
    .navbar { gap: 5px; }
    .text-nav { font-size: 14px; padding: 8px 12px; }
}

@media (min-width: 769px) and (max-width: 992px) {
    .navbar { gap: 8px; }
    .text-nav { font-size: 15px; padding: 8px 15px; }
}

@media (min-width: 993px) {
    .navbar { gap: 5px; }
    .text-nav { font-size: 15px; padding: 8px 12px; }
}

/* ===== ЭФФЕКТЫ ТОЛЬКО ДЛЯ УСТРОЙСТВ С МЫШЬЮ ===== */
@media (hover: hover) {
    .card:hover .img-card {
        transform: scale(1.10);
    }
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ BOOTSTRAP ===== */
.row {
    margin-left: -8px;
    margin-right: -8px;
}

[class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* ===== КНОПКИ ПРОКРУТКИ ===== */
.scroll-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    color: white;
    text-decoration: none;
    font-size: 20px;
}

#scrollToTop, #socialButton {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .scroll-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===== ИНФО-БЛОКИ С РАМКАМИ ===== */
.info-1, .info-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 30px 0;
    gap: 20px;
}

.info-rm:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.info-rm:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.info-rm img {
    max-width: 120px;
    height: auto;
    display: block;
}

.info-main {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: white;
    border-radius: 6px;
    padding: 15px 30px;
    min-width: 300px;
    max-width: 700px;
    margin: 0 auto;
}

.info-main img {
    max-height: 60px;
    width: auto;
    flex-shrink: 0;
}

.info-main h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
    white-space: nowrap;
}

.info-main .link-tg {
    text-decoration: none;
    color: #cc0000;
    font-size: 18px;
    margin: 0 5px;
    white-space: nowrap;
    font-weight: 500;
}

@media screen and (max-width: 992px) {
    .info-main {
        padding: 15px 25px;
        gap: 15px;
    }
    
    .info-main h2 {
        font-size: 18px;
    }
    
    .info-main .link-tg {
        font-size: 16px;
    }
    
    .info-rm img {
        max-width: 100px;
    }
}

@media screen and (max-width: 768px) {
    .info-1, .info-2 {
        justify-content: center;
        gap: 10px;
    }
    
    .info-rm {
        display: none !important;
    }
    
    .info-main {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        gap: 12px;
        text-align: center;
    }
    
    .info-main img {
        max-height: 50px;
    }
    
    .info-main h2 {
        font-size: 16px;
        white-space: normal;
        width: 100%;
    }
    
    .info-main .link-tg {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .info-main {
        padding: 15px 10px;
    }
    
    .info-main img {
        max-height: 45px;
    }
    
    .info-main h2 {
        font-size: 15px;
    }
    
    .info-main .link-tg {
        font-size: 13px;
    }
}

.info-rm {
    pointer-events: none;
}

/* ===== СТИЛИ ПОИСКА ===== */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto 40px;
    max-width: 800px;
    padding: 0 15px;
}

.search-container {
    position: relative;
    flex: 2;
    min-width: 250px;
    margin: 0;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 20px;
    font-size: 16px;
    border: 2px solid #ff4d4d;
    border-radius: 25px;
    background: white;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #cc0000;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s;
}

.search-clear:hover {
    color: #cc0000;
    background: #f0f0f0;
}

.filter-container {
    flex: 1;
    min-width: 150px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    padding: 10px 15px;
    background: rgba(255, 77, 77, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-checkbox:hover {
    background: rgba(255, 77, 77, 0.4);
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 4px;
    border: 2px solid #ff4d4d;
    transition: all 0.2s;
}

.filter-checkbox:hover .checkmark {
    border-color: #cc0000;
    background-color: #fff0f0;
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
}

.filter-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #ff4d4d;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin: 30px 0;
    width: 100%;
    border: 2px dashed #ff4d4d;
}

@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        width: 100%;
    }
    
    .filter-container {
        width: 100%;
    }
    
    .filter-checkbox {
        justify-content: center;
    }
    
    .search-input {
        padding: 10px 35px 10px 15px;
        font-size: 14px;
    }
    
    .filter-checkbox {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .no-results {
        padding: 30px;
        font-size: 16px;
    }
}

/* ===== ФИКСИРОВАННАЯ КОРЗИНА ===== */
.fixed-cart {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: slideInRight 0.5s ease;
}

.fixed-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
    color: white;
}

.cart-count-fixed {
    background: white;
    color: #cc0000;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .fixed-cart {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 16px;
    }
    
    .cart-count-fixed {
        font-size: 12px;
        padding: 2px 6px;
        min-width: 20px;
    }
}

@media (max-width: 480px) {
    .fixed-cart {
        top: 8px;
        right: 8px;
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .cart-count-fixed {
        font-size: 11px;
        padding: 1px 5px;
        min-width: 18px;
    }
}

/* ===== КНОПКА "ДОБАВИТЬ В КОРЗИНУ" ===== */
.add-to-cart-btn {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(204, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn.added {
    background: linear-gradient(135deg, #4caf50, #45a049);
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .add-to-cart-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ КОРЗИНЫ ===== */

.cart-page {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-header {
    background: linear-gradient(135deg, #0f0f0f, #000000);
    color: white;
    padding: 20px;
    text-align: center;
}

.cart-header h2 {
    margin: 0;
    font-size: 24px;
}

.cart-items {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #f9f9f9;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.cart-item-price {
    color: #cc0000;
    font-weight: bold;
    margin-top: 5px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    color: #cc0000;
    transform: scale(1.1);
}

.cart-summary {
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    border-top: 2px solid #ff4d4d;
}

.cart-total {
    font-size: 24px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 20px;
}

.btn-copy {
    background: #4caf50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.btn-copy:hover {
    background: #45a049;
    transform: scale(1.05);
}

.btn-telegram {
    background: #ff4d4d;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
    margin: 5px;
}

.btn-telegram:hover {
    background: #cc0000;
    transform: scale(1.05);
    color: white;
}

.empty-cart {
    text-align: center;
    padding: 60px;
    background: white;
}

.empty-cart p {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
}

.empty-cart a {
    background: #ff4d4d;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
}

.cart-note {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

.clear-cart {
    background: none;
    border: 1px solid #cc0000;
    color: #cc0000;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.clear-cart:hover {
    background: #cc0000;
    color: white;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .cart-page {
        margin: 10px;
    }
    
    .cart-header h2 {
        font-size: 20px;
    }
    
    .cart-items {
        padding: 15px;
    }
    
    .cart-item {
        gap: 10px;
        padding: 12px;
    }
    
    .cart-item-img {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-title {
        font-size: 14px;
    }
    
    .cart-item-price {
        font-size: 13px;
    }
    
    .cart-total {
        font-size: 20px;
    }
    
    .btn-copy, .btn-telegram {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .empty-cart {
        padding: 40px;
    }
    
    .empty-cart p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-info {
        width: calc(100% - 70px);
    }
    
    .cart-item-remove {
        margin-left: auto;
    }
    
    .cart-summary {
        padding: 15px;
    }
    
    .btn-copy, .btn-telegram {
        padding: 8px 16px;
        font-size: 13px;
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}

/* Стили для кнопок количества в корзине */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.cart-item-quantity button:hover {
    background: #ff4d4d;
    color: white;
}

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


/* ===== ВЫБОР ПОЛА В КОРЗИНЕ ===== */
.cart-item-gender-select {
    display: flex;
    gap: 15px;
    margin: 8px 0;
    padding: 5px 0;
}

.gender-option-cart {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    padding: 4px 8px;
    border-radius: 20px;
    transition: all 0.2s;
}

.gender-option-cart:hover {
    background: #f0f0f0;
}

.gender-option-cart input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ff4d4d;
    border-radius: 50%;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.gender-option-cart input[type="radio"]:checked {
    background-color: #ff4d4d;
    border-color: #ff4d4d;
    box-shadow: inset 0 0 0 3px white;
}

.gender-option-cart input[type="radio"]:checked + span {
    color: #ff4d4d;
    font-weight: bold;
}

.gender-option-cart span {
    font-size: 13px;
    transition: color 0.2s;
}

@media (max-width: 768px) {
    .cart-item-gender-select {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .gender-option-cart {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .gender-option-cart span {
        font-size: 12px;
    }
}

/* ФИКС НАВИГАЦИИ - все пункты в одну строку */
@media (min-width: 1200px) {
    .navbar {
        flex-wrap: nowrap;
    }
    
    .text-nav {
        font-size: 14px;
        padding: 8px 8px;
        white-space: nowrap;
    }
    
    .dropdown-toggle {
        padding: 8px 8px;
    }
}

@media (min-width: 1400px) {
    .text-nav {
        font-size: 16px;
        padding: 8px 12px;
    }
}