/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700&family=Space+Grotesk:wght@400;500;600&display=swap');

/* ========== БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a2e;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
}

h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #c084fc, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
}

/* ========== НАВИГАЦИЯ ========== */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1a1a2e;
    width: 85%;
    margin: 1.5rem auto;
    border-radius: 80px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    height: auto;
    min-height: 5rem;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.navigation:hover {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.imgTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.litrueism {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.butos {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

button {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

button:hover {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

button.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

a, a:visited {
    color: inherit;
    text-decoration: none;
}

/* ========== БЛОКИ С КОНТЕНТОМ ========== */
.aboutUs, .videoBiography, .navItems, .items, .back, .team, .contact, .container {
    width: 85%;
    margin: 1.5rem auto;
    background: white;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aboutUs:hover, .videoBiography:hover, .items:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.aboutH2 {
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.8rem;
    color: #1e1b4b;
    position: relative;
}

.aboutH2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #c084fc);
    margin: 0.5rem auto 0;
    border-radius: 4px;
}

.logoAbout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
}

.ppp {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 24px;
    color: #334155;
    line-height: 1.6;
    border-left: 4px solid #8b5cf6;
    font-size: 0.95rem;
}

.kkk {
    width: 200px;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ========== ВИДЕО ========== */
video {
    width: 400px;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* ========== ФИЛЬТРЫ ========== */
.butNav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f1f5f9;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
}

.filter-btn:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* ========== ТОВАРЫ (БИТЫ) ========== */
.theme-title {
    padding: 1rem 1.5rem 0;
    font-size: 1.4rem;
    color: #4c1d95;
}

.box, .theme-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    flex-wrap: wrap;
}

.beat {
    background: #ffffff;
    border-radius: 28px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 220px;
}

.beat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(99, 102, 241, 0.2);
    border-color: #c7d2fe;
}

#pic1 {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e0e7ff;
    margin-bottom: 0.8rem;
    transition: transform 0.3s;
}

.beat:hover #pic1 {
    transform: scale(1.02);
    border-color: #8b5cf6;
}

.beat p {
    color: #1e293b;
    font-weight: 600;
    margin: 0.5rem 0;
}

audio {
    width: 100%;
    margin: 0.5rem 0;
    border-radius: 40px;
}

.beat button {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    margin-top: 0.5rem;
    width: 100%;
}

.beat button:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
}

/* ========== ФОРМА ========== */
.back {
    text-align: center;
    padding-bottom: 2rem;
}

form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 28px;
    width: 80%;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.formInp {
    display: block;
    width: 100%;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.formInp:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
}

/* ========== КОМАНДА ========== */
.box1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
}

.teamInfo {
    background: #ffffff;
    border-radius: 28px;
    padding: 1rem;
    text-align: center;
    width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    border: 1px solid #eef2ff;
}

.teamInfo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.teamInfo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 3px solid #e0e7ff;
}

.teamInfo p {
    color: #334155;
    font-size: 0.85rem;
    margin: 0.2rem 0;
}

/* ========== ФУТЕР ========== */
.contact {
    background: white;
}

.boxes {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.socialNetwork {
    text-align: center;
    flex: 1;
}

.socialNetwork h4 {
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.socialNetwork p {
    color: #475569;
}

.sN {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sN img {
    transition: transform 0.2s;
}

.sN img:hover {
    transform: scale(1.1);
}

/* ========== КНОПКА ВВЕРХ ========== */
.up-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.up-button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.up-button p {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

/* ========== КОРЗИНА И ЗАКАЗЫ ========== */
.cart-container {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cart-item, .order-card {
    background: white;
    border-radius: 24px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #eef2ff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.cart-item:hover, .order-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #c7d2fe;
}

.cart-item-info {
    font-weight: 500;
    color: #1e293b;
}

.cart-item-quantity input {
    width: 70px;
    padding: 0.4rem;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
    text-align: center;
}

.cart-item-remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
}

.cart-item-remove:hover {
    background: #fecaca;
    transform: none;
}

.cart-total {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1rem 1.5rem;
    border-radius: 60px;
    text-align: right;
    font-weight: 700;
    font-size: 1.3rem;
    color: #1e1b4b;
    margin-top: 1rem;
}

.btn-checkout {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 60px;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.empty-message {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 32px;
    color: #475569;
}

.empty-message a {
    color: #8b5cf6;
    font-weight: 600;
}

.order-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #4c1d95;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}

.order-total {
    text-align: right;
    font-weight: 700;
    margin-top: 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.orders-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.back-shop-link {
    background: #f1f5f9;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    color: #4f46e5;
    font-weight: 500;
}

.clear-orders-btn {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.clear-orders-btn:hover {
    background: #fee2e2;
}

.input-error {
    border: 2px solid #ef4444 !important;
    background-color: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}