/* ======================== ШРИФТЫ ======================== */
@font-face {
    font-family: 'VAG World';
    font-style: normal;
    font-weight: 700;
    src: local('VAG World'), url('/static/fonts/vag-world-bold.woff') format('woff');
}



/* ======================== ROOT VARIABLES ======================== */
:root {
    --primary-color: #ffcc00;
    --secondary-color: #f59e0b;
    --accent: #ffeb3b;
    --dark: #1f2937;
    --light: #f9fafb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================== ОБЩИЕ СТИЛИ ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'VAG World', 'VAG World Bold', system-ui, sans-serif;
}

body {
    font-family: 'VAG World', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    
    /* Новый спокойный тёплый фон */
    background: linear-gradient(to bottom, #f8f4eb 0%, #fdfaf4 100%);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* ======================== NAV BAR ======================== */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size:  1.3rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ======================== КОНТЕНТ ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ======================== СЕКЦИЯ "О НАС" ======================== */
section#about {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}

section#about h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
}

section#about h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 4px;
}

.about-content {
    line-height: 1.85;
    color: var(--text-light);
    font-size: 1.08rem;
}

.about-content p {
    margin-bottom: 1.6rem;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

/* Анимация */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================== FOOTER ======================== */
footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ======================== ГЛАВНАЯ СЕКЦИЯ — HERO ======================== */

section#home {
    background: transparent;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    margin: 0 auto 2.5rem auto;
    width: 520px;
    height: 520px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: float 3.5s ease-in-out infinite;
    border: 6px solid rgba(255, 255, 255, 0.4);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--text-dark);           /* ← было white */
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-dark);           /* ← было rgba(255,255,255,0.9) */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* картинка заполнит всю область, сохраняя пропорции, возможна обрезка */
    border-radius: inherit; /* унаследует скругление от родителя */
}
.cta-button {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, #ffcc00, #f59e0b);   /* ← новый цвет */
    color: #1f2937;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.45);        /* ← золотая тень */
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.55);
}

/* Анимация плавающего изображения */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

/* ======================== АДАПТИВНОСТЬ ======================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    section#about {
        padding: 2rem 1.5rem;
    }

    section#about h2 {
        font-size: 1.8rem;
    }

    section#home {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-image {
        width: 240px;
        height: 240px;
        font-size: 6rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    section#about {
        padding: 1.5rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ======================== FAQ ======================== */

section#faq {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}

section#faq h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
}

section#faq h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 4px;
}

/* FAQ Item */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-weight: 400;
}

/* Открытое состояние */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    background: white;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* ======================== АДАПТИВНОСТЬ ДЛЯ FAQ ======================== */

@media (max-width: 768px) {
    section#faq {
        padding: 2rem 1.5rem;
    }

    section#faq h2 {
        font-size: 1.8rem;
        margin-bottom: 1.6rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    section#faq {
        padding: 1.5rem 1rem;
    }
}

/* ======================== СЕКЦИЯ КОНТАКТЫ ======================== */

section#contacts {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}

section#contacts h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    position: relative;
}

section#contacts h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 4px;
}

/* Блок с карточками */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.contact-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.25);
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 204, 0, 0.35);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-card p {
    margin-bottom: 1.2rem;
    opacity: 0.95;
    font-size: 1.02rem;
}

.contact-card span {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
}

/* ======================== АДАПТИВНОСТЬ ДЛЯ КОНТАКТОВ ======================== */

@media (max-width: 768px) {
    section#contacts {
        padding: 2rem 1.5rem;
    }

    section#contacts h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    section#contacts {
        padding: 1.5rem 1rem;
    }

    .contact-card {
        padding: 1.8rem 1.2rem;
    }
}

/* ======================== СЕКЦИЯ ТОВАРЫ ======================== */

section#products {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
}

section#products h2 {
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    position: relative;
}

section#products h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 4px;
}

/* ==================== GRID ТОВАРОВ ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* На больших экранах — строго 4 в ряд */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);   /* ← 4 товара в ряд */
    }
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 40px rgba(255, 204, 0, 0.22);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.07);
}

.product-info {
    padding: 1.4rem 1.3rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    min-height: 2.6em;           /* чтобы карточки были одинаковой высоты */
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
}

/* Пустое состояние */
.products-grid p {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    padding: 4rem 0;
}

/* ======================== АДАПТИВНОСТЬ ======================== */

@media (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.6rem;
    }
}

@media (max-width: 768px) {
    section#products {
        padding: 2rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.4rem;
    }
    
    .product-card img {
        height: 230px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;        /* на мобильных — 1 в ряд */
        gap: 1.2rem;
    }
    
    .product-card img {
        height: 210px;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-price {
        font-size: 1.45rem;
    }
}

/* ====================== ОБЩИЕ ПЕРЕМЕННЫЕ ====================== */
:root {
    --primary-color: #ffcc00;
    --secondary-color: #f59e0b;
    --accent: #ffeb3b;
    --dark: #1f2937;
    --light: #f9fafb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================== ОСНОВНЫЕ СТИЛИ ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VAG World', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    
    /* Новый спокойный тёплый фон */
    background: linear-gradient(to bottom, #f8f4eb 0%, #fdfaf4 100%);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}
/* ====================== СТРАНИЦА ДЕТАЛЬНОГО ПРОСМОТРА ТОВАРА ====================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 2rem auto;
}

/* ====================== КАРУСЕЛЬ ИЗОБРАЖЕНИЙ ====================== */
.product-detail-image-container {
    position: relative;
    width: 100%;
}

.image-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 500px;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
}

/* Индикаторы */
.carousel-indicators {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 10;
}

/* Кнопки управления */
.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* ====================== ИНФОРМАЦИЯ О ТОВАРЕ ====================== */
.product-detail-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-detail-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.8rem;
}

.product-detail-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.product-detail-description ul {
    padding-left: 1.3rem;
    margin-top: 1rem;
}

.product-detail-description li {
    margin-bottom: 0.6rem;
}

/* Кнопки */
.back-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--text-light);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.back-button:hover {
    background: var(--dark);
    color: white;
}

.buy-button {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, #ffcc00, #f59e0b);
    color: #1f2937;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
    width: 100%;
    text-align: center;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.6);
}

/* ====================== АДАПТИВНОСТЬ ====================== */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        margin: 1rem auto;
    }

    .carousel-image {
        height: 320px;
    }

    .product-detail-info h2 {
        font-size: 1.8rem;
    }

    .product-detail-price {
        font-size: 2.2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .carousel-indicators {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        top: 15px;
        right: 15px;
    }

    .buy-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-image {
        height: 260px;
    }

    .product-detail {
        padding: 1rem;
    }

    .product-detail-info h2 {
        font-size: 1.6rem;
    }

    .product-detail-price {
        font-size: 1.9rem;
    }
}

/* ====================== ПАГИНАЦИЯ ====================== */
.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    min-width: 44px;
    text-align: center;
}

.pagination-btn:hover:not(.disabled):not(.current) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn.current {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: white;
    cursor: default;
}

.pagination-btn.disabled {
    color: #9ca3af;
    background: #f3f4f6;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

/* Фильтры категорий */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.category-filters a {
    padding: 0.7rem 1.4rem;
    background: white;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-filters a:hover,
.category-filters a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent));
    color: white;
}

/* Пустой список */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Адаптивность пагинации */
@media (max-width: 640px) {
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pagination-numbers {
        order: -1;
    }
}

/* ====================== КОРЗИНА В НАВБАРЕ ====================== */
.cart-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border: 2px solid rgba(255, 204, 0, 0.35);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    gap: 8px;
}

.cart-nav-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.3);
}

.cart-nav-link::after {
    display: none !important;
}

/* Обёртка для эмодзи + бейджа */
.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

/* Эмодзи корзины */
.cart-icon {
    font-size: 1.35rem;
    line-height: 1;
}

/* Красный кружок */
.cart-count {
    position: absolute;
    top: -10px;
    right: -11px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    min-width: 23px;
    height: 23px;
    border-radius: 50%;
    display: none;                    /* по умолчанию скрыт */
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.5);
    border: 2.5px solid rgba(255, 255, 255, 0.95);
}

/* Показываем кружок, когда есть товары */
.cart-count.show {
    display: flex;
}

/* ====================== КНОПКИ КОРЗИНЫ НА КАРТОЧКЕ ====================== */
.product-cart-actions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    position: relative;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ffcc00, #f59e0b);
    color: #1f2937;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.35);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.5);
}

.qty-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    padding: 4px;
}

.qty-controls.show {
    display: flex;
}

.qty-btn {
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f1f5f9;
    border-color: #6366f1;
    color: #4f46e5;
}

.qty-value {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    color: #1e2937;
}

.cart-container {
            max-width: 1200px;
            margin: 2rem auto;
            background: white;
            border-radius: var(--border-radius);
            padding: 3rem;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid #e5e7eb;
        }
        
        .cart-header h1 {
            font-size: 2.4rem;
            color: var(--text-dark);
            position: relative;
        }
        
        .cart-header h1::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 85px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent));
            border-radius: 4px;
        }
        
        .cart-total-count {
            background: var(--light);
            color: var(--text-light);
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .cart-items {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            margin-bottom: 3rem;
        }
        
        .cart-item {
            display: grid;
            grid-template-columns: 90px 2.5fr 1fr 130px 50px;
            gap: 1.5rem;
            align-items: center;
            background: #f8fafc;
            border-radius: var(--border-radius);
            padding: 1.5rem;
            transition: var(--transition);
        }
        
        .cart-item:hover {
            background: white;
            box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
            transform: translateY(-4px);
        }
        
        .cart-item-image {
            width: 90px;
            height: 90px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .cart-item-info h3 {
            font-size: 1.35rem;
            margin-bottom: 0.4rem;
        }
        
        .cart-item-info .unit-price {
            color: var(--text-light);
            font-size: 1.05rem;
        }
/* Кнопка полного удаления */
.remove-full-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ef4444;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    /* Центрирование внутри родителя (если родитель — grid/flex) */
    margin: 0 auto;
    align-self: center;
}

.remove-full-btn:hover {
    background: #fee2e2;
    transform: scale(1.1);
}
        
        /* Итоги */
        .cart-summary {
            border-top: 2px solid #e5e7eb;
            padding-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            font-size: 1.25rem;
            color: var(--text-light);
        }
        
        .grand-total {
            font-size: 2.2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-color), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* Кнопки действий */
        .cart-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .clear-cart-btn {
            padding: 1.1rem 2.5rem;
            background: #fee2e2;
            color: #ef4444;
            border: 2px solid #fecaca;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .clear-cart-btn:hover {
            background: #ef4444;
            color: white;
            transform: translateY(-3px);
        }
        
.checkout-button {
    flex: 1;
    min-width: 280px;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ffcc00, #f59e0b);
    color: #1f2937;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.45);
    transition: var(--transition);
}

.checkout-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.55);
}
        
        /* Пустая корзина */
        .empty-cart {
            text-align: center;
            padding: 6rem 2rem;
            background: #f8fafc;
            border-radius: var(--border-radius);
        }
        
        .empty-cart .empty-icon {
            font-size: 7rem;
            margin-bottom: 1.5rem;
            opacity: 0.2;
        }
        
        .empty-cart h3 {
            font-size: 1.9rem;
            margin-bottom: 0.8rem;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .cart-item {
                grid-template-columns: 70px 2fr 1fr 110px 45px;
                gap: 1rem;
                padding: 1.2rem;
            }
        }
        
        @media (max-width: 640px) {
            .cart-item {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 1rem;
            }
            .cart-actions {
                flex-direction: column;
            }
        }
        
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* ====================== СТРАНИЦА ОФОРМЛЕНИЯ ЗАКАЗА ====================== */

/* Сетка для двух колонок */
@media (min-width: 769px) {
    .cart-container > div[style*="display: grid"] {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

/* Левая колонка – форма */
.cart-container form {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Стили для всех текстовых полей формы */
.cart-container form input[type="text"],
.cart-container form input[type="email"],
.cart-container form input[type="tel"],
.cart-container form textarea,
.cart-container form select {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fefefe;
    transition: var(--transition);
    outline: none;
}

.cart-container form input:focus,
.cart-container form textarea:focus,
.cart-container form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: white;
}

/* Стили для label */
.cart-container form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Ошибки валидации */
.cart-container form .errorlist,
.cart-container form .form-error {
    list-style: none;
    margin-top: 8px;
    padding: 0;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fee2e2;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    display: inline-block;
}

/* Если ошибка привязана к полю – добавляем красную рамку */
.cart-container form input.error,
.cart-container form textarea.error,
.cart-container form select.error {
    border-color: #ef4444;
    background-color: #fff5f5;
}

/* Кнопка оформления заказа в форме */
.cart-container form .checkout-button {
    width: 100%;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

/* Заголовки внутри страницы */
.cart-container h3 {
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    position: relative;
    font-size: 1.5rem;
}

.cart-container h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border-radius: 4px;
}

/* Правая колонка – блок "Ваш заказ" */
.cart-container .cart-items {
    margin-bottom: 1.5rem;
}

/* Краткая карточка товара в заказе (переопределяем сетку) */
.cart-container .cart-item {
    grid-template-columns: 1fr auto;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 14px;
}

.cart-container .cart-item .cart-item-info h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.cart-container .cart-item .cart-item-info h3::after {
    display: none;
}

/* Итоговая сумма */
.cart-container .cart-summary {
    margin-top: 0;
}

/* ====================== АДАПТИВНОСТЬ ДЛЯ СТРАНИЦЫ ОФОРМЛЕНИЯ ====================== */
@media (max-width: 768px) {
    /* Переключаем сетку в одну колонку */
    .cart-container > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .cart-container form {
        padding: 1.2rem;
    }

    .cart-container h3 {
        font-size: 1.3rem;
        margin-bottom: 1.4rem;
    }

    .cart-container .cart-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-container form input,
    .cart-container form textarea,
    .cart-container form select {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* ====================== СТРАНИЦА "СПАСИБО ЗА ЗАКАЗ" ====================== */

/* Карточка с благодарностью */
.thank-you-card {
    max-width: 700px;
    margin: 3rem auto;
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Иконка (галочка) */
.thank-you-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Заголовок */
.thank-you-card h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2ecc71;
    font-weight: 800;
}

/* Текст сообщения */
.thank-you-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Имя пользователя (telegram) */
.thank-you-message strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Кнопка возврата в магазин */
.thank-you-card .checkout-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .thank-you-card {
        margin: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .thank-you-card h1 {
        font-size: 1.8rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
    
    .thank-you-icon {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .thank-you-card {
        padding: 1.8rem 1rem;
    }
    
    .thank-you-card h1 {
        font-size: 1.5rem;
    }
}

/* ====================== КАРТА ЯНДЕКСА ====================== */
.map-wrapper {
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    height: 400px;          /* фиксированная высота — обязательна! */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* на мобильных можно уменьшить высоту */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* ====================== ПАДАЮЩИЕ ЖЁЛТЫЕ ЗВЁЗДЫ ====================== */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.78;           /* ← чуть приглушил, чтобы было комфортнее */
}

/* ====================== ЦВЕТА КАТЕГОРИЙ ====================== */

/* ----- Blyoka (зелёный) ----- */
.product-card[data-category-slug="blyoka"] .product-price,
.product-detail[data-category-slug="blyoka"] .product-detail-price {
    color: #80985c !important;           /* ярко-зелёный */
}
.product-card[data-category-slug="blyoka"] .add-to-cart-btn,
.product-detail[data-category-slug="blyoka"] .buy-button {
    background: linear-gradient(135deg, #80985c, #059669) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45) !important;
}
/* контролы количества */
.product-card[data-category-slug="blyoka"] .qty-btn {
    border-color: #80985c;
    color: #80985c;
}
.product-card[data-category-slug="blyoka"] .qty-btn:hover {
    background: #80985c;
    color: white;
}

/* ----- mokimioki (фиолетовый) ----- */
.product-card[data-category-slug="mokimioki"] .product-price,
.product-detail[data-category-slug="mokimioki"] .product-detail-price {
    color: #8b5cf6 !important;
}
.product-card[data-category-slug="mokimioki"] .add-to-cart-btn,
.product-detail[data-category-slug="mokimioki"] .buy-button {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45) !important;
}
.product-card[data-category-slug="mokimioki"] .qty-btn {
    border-color: #8b5cf6;
    color: #8b5cf6;
}
.product-card[data-category-slug="mokimioki"] .qty-btn:hover {
    background: #8b5cf6;
    color: white;
}

/* ----- Alextrawho (голубой) ----- */
.product-card[data-category-slug="alextrawho"] .product-price,
.product-detail[data-category-slug="alextrawho"] .product-detail-price {
    color: #06b6d4 !important;
}
.product-card[data-category-slug="alextrawho"] .add-to-cart-btn,
.product-detail[data-category-slug="alextrawho"] .buy-button {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45) !important;
}
.product-card[data-category-slug="alextrawho"] .qty-btn {
    border-color: #06b6d4;
    color: #06b6d4;
}
.product-card[data-category-slug="alextrawho"] .qty-btn:hover {
    background: #06b6d4;
    color: white;
}

/* ----- nnstreamercha (FAC1AD) ----- */
.product-card[data-category-slug="nnstreamercha"] .product-price,
.product-detail[data-category-slug="nnstreamercha"] .product-detail-price {
    color: #fac1ad !important;
    text-shadow: 0 0 2px rgba(0,0,0,0.2);
}
.product-card[data-category-slug="nnstreamercha"] .add-to-cart-btn,
.product-detail[data-category-slug="nnstreamercha"] .buy-button {
    background: linear-gradient(135deg, #fac1ad, #f5a97f) !important;
    box-shadow: 0 8px 25px rgba(250, 193, 173, 0.45) !important;
    color: #3b2c24 !important;
}
.product-card[data-category-slug="nnstreamercha"] .qty-btn {
    border-color: #fac1ad;
    color: #fac1ad;
}
.product-card[data-category-slug="nnstreamercha"] .qty-btn:hover {
    background: #fac1ad;
    color: #3b2c24;
}

/* ----- xkamysh (чёрный) ----- */
.product-card[data-category-slug="xkamysh"] .product-price,
.product-detail[data-category-slug="xkamysh"] .product-detail-price {
    color: #1f2937 !important;
}
.product-card[data-category-slug="xkamysh"] .add-to-cart-btn,
.product-detail[data-category-slug="xkamysh"] .buy-button {
    background: linear-gradient(135deg, #2d3a4b, #1f2937) !important;
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.45) !important;
    color: white !important;
}
.product-card[data-category-slug="xkamysh"] .qty-btn {
    border-color: #1f2937;
    color: #1f2937;
}
.product-card[data-category-slug="xkamysh"] .qty-btn:hover {
    background: #1f2937;
    color: white;
}


/* Цена */
.product-price.cat-green { color: #80985c !important; }
.product-price.cat-purple { color: #8b5cf6 !important; }
.product-price.cat-cyan { color: #06b6d4 !important; }
.product-price.cat-peach { color: #fac1ad !important; }
.product-price.cat-black { color: #1f2937 !important; }

/* Кнопка "В корзину" */
.add-to-cart-btn.cat-green { background: linear-gradient(135deg, #80985c, #059669) !important; }
.add-to-cart-btn.cat-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; }
.add-to-cart-btn.cat-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2) !important; }
.add-to-cart-btn.cat-peach { background: linear-gradient(135deg, #fac1ad, #f5a97f) !important; color: #3b2c24 !important; }
.add-to-cart-btn.cat-black { background: linear-gradient(135deg, #2d3a4b, #1f2937) !important; color: white !important; }

/* Контролы количества */
.qty-controls.cat-green .qty-btn { border-color: #80985c; color: #80985c; }
.qty-controls.cat-green .qty-btn:hover { background: #80985c; color: white; }

.qty-controls.cat-purple .qty-btn { border-color: #8b5cf6; color: #8b5cf6; }
.qty-controls.cat-purple .qty-btn:hover { background: #8b5cf6; color: white; }

.qty-controls.cat-cyan .qty-btn { border-color: #06b6d4; color: #06b6d4; }
.qty-controls.cat-cyan .qty-btn:hover { background: #06b6d4; color: white; }

.qty-controls.cat-peach .qty-btn { border-color: #fac1ad; color: #fac1ad; }
.qty-controls.cat-peach .qty-btn:hover { background: #fac1ad; color: #3b2c24; }

.qty-controls.cat-black .qty-btn { border-color: #1f2937; color: #1f2937; }
.qty-controls.cat-black .qty-btn:hover { background: #1f2937; color: white; }

/* Детальная страница */
.product-detail-price.cat-green { color: #80985c !important; }
.product-detail-price.cat-purple { color: #8b5cf6 !important; }
.product-detail-price.cat-cyan { color: #06b6d4 !important; }
.product-detail-price.cat-peach { color: #fac1ad !important; }
.product-detail-price.cat-black { color: #1f2937 !important; }

.buy-button.cat-green { background: linear-gradient(135deg, #80985c, #059669) !important; }
.buy-button.cat-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important; }
.buy-button.cat-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2) !important; }
.buy-button.cat-peach { background: linear-gradient(135deg, #fac1ad, #f5a97f) !important; color: #3b2c24 !important; }
.buy-button.cat-black { background: linear-gradient(135deg, #2d3a4b, #1f2937) !important; color: white !important; }


/* ====================== ЦВЕТА КНОПОК КАТЕГОРИЙ ====================== */

/* Общий стиль для всех кнопок (наследуется) */
/* Базовый стиль для всех кнопок категорий – белый фон */
.category-filters a {
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

/* Общие эффекты при наведении и нажатии */
.category-filters a:hover,
.category-filters a:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.category-filters a:active {
    transform: translateY(0);
}

/* Активная кнопка (текущая выбранная категория) */
.category-filters a.active {
    filter: brightness(0.97);
    transform: scale(0.98);
}

/* ----- Blyoka (зелёный) – цвета при наведении, нажатии и активном состоянии ----- */
.category-filters a[data-category-slug="blyoka"]:hover,
.category-filters a[data-category-slug="blyoka"]:active,
.category-filters a[data-category-slug="blyoka"].active {
    background: linear-gradient(135deg, #80985c, #80985c);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ----- mokimioki (фиолетовый) ----- */
.category-filters a[data-category-slug="mokimioki"]:hover,
.category-filters a[data-category-slug="mokimioki"]:active,
.category-filters a[data-category-slug="mokimioki"].active {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* ----- Alextrawho (голубой) ----- */
.category-filters a[data-category-slug="alextrawho"]:hover,
.category-filters a[data-category-slug="alextrawho"]:active,
.category-filters a[data-category-slug="alextrawho"].active {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

/* ----- nnstreamercha (персиковый) ----- */
.category-filters a[data-category-slug="nnstreamercha"]:hover,
.category-filters a[data-category-slug="nnstreamercha"]:active,
.category-filters a[data-category-slug="nnstreamercha"].active {
    background: linear-gradient(135deg, #fac1ad, #f5a97f);
    color: #3b2c24;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(250, 193, 173, 0.4);
}

/* ----- xkamysh (чёрный) ----- */
.category-filters a[data-category-slug="xkamysh"]:hover,
.category-filters a[data-category-slug="xkamysh"]:active,
.category-filters a[data-category-slug="xkamysh"].active {
    background: linear-gradient(135deg, #2d3a4b, #1f2937);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.4);
}


/* Отключаем анимированное подчеркивание у ссылок в секции "О нас" */
.about-content .nav-link::after {
    content: none;
}

/* Дополнительно: убираем лишний padding и относительное позиционирование, если нужно */
.about-content .nav-link {
    padding: 0;
    position: static;
}



/* ====================== ССЫЛКИ НА ХУДОЖНИКОВ И ВИТУБЕРОВ ====================== */

/* Базовый стиль для ссылок на художников */
.artist-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: var(--transition);
}

.artist-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.artist-link:hover {
    color: var(--secondary-color);
}

.artist-link:hover::after {
    width: 100%;
}

/* Секция с витуберами */
.vtuber-section {
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}

.vtuber-label {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.vtuber-links {
    display: inline;
}

/* Стиль для ссылок витуберов — постоянные цвета */
.vtuber-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    transition: var(--transition);
    margin: 0 0.35rem;
}

.vtuber-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.vtuber-link:hover::after {
    width: 100%;
}

/* Постоянные цвета для каждого витубера */
.vtuber-link[data-slug="blyoka"] {
    color: #80985c;
}
.vtuber-link[data-slug="blyoka"]::after {
    background: #80985c;
}
.vtuber-link[data-slug="blyoka"]:hover {
    color: #5a7340;
}

.vtuber-link[data-slug="alextrawho"] {
    color: #06b6d4;
}
.vtuber-link[data-slug="alextrawho"]::after {
    background: #06b6d4;
}
.vtuber-link[data-slug="alextrawho"]:hover {
    color: #0891b2;
}

.vtuber-link[data-slug="mokimioki"] {
    color: #8b5cf6;
}
.vtuber-link[data-slug="mokimioki"]::after {
    background: #8b5cf6;
}
.vtuber-link[data-slug="mokimioki"]:hover {
    color: #6d28d9;
}

.vtuber-link[data-slug="nnstreamercha"] {
    color: #fa9e7c;
}
.vtuber-link[data-slug="nnstreamercha"]::after {
    background: #fac1ad;
}
.vtuber-link[data-slug="nnstreamercha"]:hover {
    color: #e8855a;
}

.vtuber-link[data-slug="xkamysh"] {
    color: #3b4b5e;
}
.vtuber-link[data-slug="xkamysh"]::after {
    background: #1f2937;
}
.vtuber-link[data-slug="xkamysh"]:hover {
    color: #1f2937;
}

/* Разделитель между ссылками */
.vtuber-separator {
    color: var(--text-light);
    margin: 0 1.55rem;
}


