/* ========================================
   VOICE SYSTEM STYLES
   Consolidated from includes/voice-system/*.php
   ======================================== */

/* ========================================
   VOICE SECTION
   ======================================== */
.voice-section {
    background: linear-gradient(180deg, #030103 0%, #080408 30%, #050205 70%, #000 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 60px) 0 clamp(60px, 10vw, 100px);
}

/* Для страницы базы голосов - учитываем хедер */
.voice-section.section-padding {
    padding: calc(var(--header-h, 80px) + 20px) 0 clamp(60px, 10vw, 100px);
}

/* Градиентное свечение сверху */
.voice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 0, 60, 0.06) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Градиентное свечение снизу */
.voice-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, rgba(255, 0, 60, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.voice-bg-glow {
    position: absolute;
    top: 10%;
    right: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.1), transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

/* Второе свечение слева */
.voice-bg-glow::after {
    content: '';
    position: absolute;
    top: 60%;
    left: -80%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.06), transparent 60%);
    filter: blur(80px);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Декоративный паттерн - сетка */
.voice-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(255, 0, 60, 0.025) 80px,
            rgba(255, 0, 60, 0.025) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255, 0, 60, 0.025) 80px,
            rgba(255, 0, 60, 0.025) 81px
        );
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 30%, black 30%, transparent 70%);
}

/* Декоративные лучи */
.voice-bg-beams {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.voice-bg-beams .beam {
    position: absolute;
    height: 1px;
    width: 200vw;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 0, 60, 0.3) 20%, rgba(255, 0, 60, 0.5) 50%, rgba(255, 0, 60, 0.3) 80%, transparent 100%);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
}

.voice-bg-beams .beam-1 {
    top: 20%;
    left: -50%;
    transform: rotate(-3deg);
    animation: beamFloat 25s ease-in-out infinite;
}

.voice-bg-beams .beam-2 {
    bottom: 30%;
    left: -50%;
    transform: rotate(2deg);
    animation: beamFloat 30s ease-in-out infinite reverse;
}

@keyframes beamFloat {
    0%, 100% {
        transform: translateX(-5%) rotate(-3deg);
        opacity: 0.15;
    }
    50% {
        transform: translateX(5%) rotate(-3deg);
        opacity: 0.4;
    }
}

/* Статистика базы */
.voice-base-stats {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
    padding: 18px 30px;
    background: rgba(255, 0, 60, 0.05);
    border: 1px solid rgba(255, 0, 60, 0.15);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.voice-base-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.1), transparent);
    animation: statsSweep 4s infinite;
}

@keyframes statsSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.vb-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.vb-stat-value {
    font-size: 28px;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.5);
}

.vb-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.vb-stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 60, 0.4), transparent);
}

.voice-section .container {
    position: relative;
    z-index: 1;
}

/* Header Row - заголовок + визуал */
.voice-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

/* Section Header */
.voice-header-row .section-header {
    margin-bottom: 0;
    max-width: 700px;
    flex: 1;
}

/* Декоративный визуал справа */
.voice-header-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Анимированная звуковая волна */
.visual-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 80px;
}

.visual-waveform .wave-bar {
    width: 4px;
    background: linear-gradient(180deg, var(--accent-red), rgba(255, 0, 60, 0.3));
    border-radius: 2px;
    animation: waveAnim 1.2s ease-in-out infinite;
}

.visual-waveform .wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.visual-waveform .wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.visual-waveform .wave-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.visual-waveform .wave-bar:nth-child(4) { height: 70px; animation-delay: 0.3s; }
.visual-waveform .wave-bar:nth-child(5) { height: 55px; animation-delay: 0.4s; }
.visual-waveform .wave-bar:nth-child(6) { height: 80px; animation-delay: 0.5s; }
.visual-waveform .wave-bar:nth-child(7) { height: 60px; animation-delay: 0.6s; }
.visual-waveform .wave-bar:nth-child(8) { height: 75px; animation-delay: 0.7s; }
.visual-waveform .wave-bar:nth-child(9) { height: 45px; animation-delay: 0.8s; }
.visual-waveform .wave-bar:nth-child(10) { height: 65px; animation-delay: 0.9s; }
.visual-waveform .wave-bar:nth-child(11) { height: 30px; animation-delay: 1s; }
.visual-waveform .wave-bar:nth-child(12) { height: 15px; animation-delay: 1.1s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Круг с цифрой */
.visual-circle {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 0, 60, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 0, 60, 0.05);
}

.visual-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 0, 60, 0.15);
    border-radius: 50%;
    animation: circlePulse 3s ease-in-out infinite;
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0; }
}

.visual-circle .circle-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-red);
    text-shadow: 0 0 30px rgba(255, 0, 60, 0.5);
    line-height: 1;
}

.visual-circle .circle-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .voice-header-visual {
        display: none;
    }

    .voice-header-row {
        display: block;
    }

    .voice-header-row .section-header {
        margin-bottom: 40px;
        max-width: 100%;
    }
}

.mono-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red);
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-red);
    animation: labelPulse 2s infinite;
}

@keyframes labelPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.label-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    box-shadow: 0 0 10px var(--accent-red);
}

.section-title {
    font-size: clamp(36px, 7vw, 72px);
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 60px rgba(255, 0, 60, 0.2);
    position: relative;
}

/* Подсветка первой буквы */
.section-title::first-letter {
    color: var(--accent-red);
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 700px;
}

/* Статистика в тексте */
.section-subtitle-stats {
    font-size: 18px;
    margin-bottom: 16px;
}

.stat-inline {
    color: var(--accent-red);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
    position: relative;
}

.stat-inline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    opacity: 0.5;
}

/* Payment Info Banner — Two Paths */
.voice-payment-info {
    margin-bottom: 28px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.payment-info-two-paths {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.path-option {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 16px;
}

.path-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.path-request .path-icon {
    background: rgba(255, 0, 60, 0.1);
    color: #ff003c;
}

.path-pay .path-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.path-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.path-text strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.path-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .voice-payment-info {
        padding: 12px 14px;
    }

    .payment-info-two-paths {
        flex-direction: column;
        gap: 0;
    }

    .path-option {
        padding: 8px 4px;
    }

    .path-divider {
        width: auto;
        height: 1px;
        margin: 4px 0;
    }

    .path-text {
        font-size: 12px;
    }
}

/* Layout */
.voice-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.voice-sidebar {
    position: sticky;
    top: 100px;
}

/* Results Header */
.voice-results-header {
    margin-bottom: 30px;
    padding: 16px 24px;
    background: linear-gradient(90deg, rgba(255, 0, 60, 0.05), transparent 50%);
    border: 1px solid rgba(255, 0, 60, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.voice-results-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red);
}

.results-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.results-count {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

/* Currency Switcher - Top (всегда видимый) */
.currency-switcher-top {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-btn-mini {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn-mini:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.currency-btn-mini.active {
    background: rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.4);
    color: var(--accent-red);
}

/* Voice Grid */
.voice-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
}

/* Декоративная линия слева от grid */
.voice-grid::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 60, 0.3) 20%, rgba(255, 0, 60, 0.3) 80%, transparent 100%);
    display: none;
}

@media (min-width: 1200px) {
    .voice-grid::before {
        display: block;
    }
}

.voice-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.voice-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.voice-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.voice-grid[data-columns="5"] {
    grid-template-columns: repeat(5, 1fr);
}

/* Loader */
.voice-loader {
    text-align: center;
    padding: 40px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Load More Button */
.voice-load-more {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    padding: 18px 50px;
    background: rgba(255, 0, 60, 0.08);
    border: 2px solid var(--accent-red);
    border-radius: 50px;
    color: var(--accent-red);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more:hover::before {
    transform: translateY(0);
}

.btn-load-more:hover {
    color: #fff;
    box-shadow: 0 10px 40px rgba(255, 0, 60, 0.5);
    transform: translateY(-3px);
}

.btn-load-more .btn-text,
.btn-load-more .btn-icon {
    position: relative;
    z-index: 2;
}

.btn-load-more .btn-icon {
    transition: transform 0.3s ease;
}

.btn-load-more:hover .btn-icon {
    transform: translateY(3px);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* No Results */
.voice-no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.voice-no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.voice-no-results p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   VOICE PLAYER STYLES
   ======================================== */
.voice-player {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.voice-player:hover {
    border-color: rgba(255, 0, 60, 0.3);
    box-shadow: 0 4px 20px rgba(255, 0, 60, 0.2);
}

.voice-player.playing {
    border-color: var(--accent-red);
    box-shadow: 0 4px 30px rgba(255, 0, 60, 0.4);
}

/* Player Container */
.player-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.player-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.player-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-btn:hover::before {
    opacity: 1;
}

.player-btn:hover {
    background: rgba(255, 0, 60, 0.2);
    border-color: var(--accent-red);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
}

.player-btn:active {
    transform: scale(0.95);
}

.play-pause {
    width: 48px;
    height: 48px;
}

.voice-player.playing .icon-play {
    display: none;
}

.voice-player.playing .icon-pause {
    display: block !important;
}

/* Progress Wrapper */
.player-progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Time */
.player-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    min-width: 40px;
    text-align: center;
}

/* Progress Bar */
.player-progress {
    flex: 1;
    cursor: pointer;
}

.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: visible;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), #ff6b9d);
    border-radius: 3px;
    width: 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--accent-red);
    border: 2px solid #000;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.6);
}

.player-progress:hover .progress-handle {
    opacity: 1;
}

/* Controls */
.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Speed */
.player-speed {
    position: relative;
}

.speed-btn {
    width: 50px;
    border-radius: 6px;
}

.speed-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
}

.speed-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 8px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.speed-menu.active {
    display: flex;
}

.speed-menu button {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.speed-menu button:hover {
    background: rgba(255, 0, 60, 0.2);
    border-color: var(--accent-red);
    color: #fff;
}

.speed-menu button.active {
    background: rgba(255, 0, 60, 0.3);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Volume */
.player-volume {
    position: relative;
}

.volume-slider {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 8px;
    padding: 12px 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.player-volume:hover .volume-slider {
    display: flex;
}

.volume-input {
    width: 4px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: slider-vertical;
    writing-mode: bt-lr;
    cursor: pointer;
}

.volume-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
}

.volume-input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
}

/* Download */
.download-btn {
    text-decoration: none;
}

/* Visualizer */
.player-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 30px;
    margin-top: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voice-player.playing .player-visualizer {
    opacity: 1;
}

.visualizer-bar {
    width: 3px;
    background: linear-gradient(180deg, var(--accent-red), #ff6b9d);
    border-radius: 2px;
    height: 10px;
    animation: visualize 0.6s ease-in-out infinite alternate;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; }
.visualizer-bar:nth-child(6) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(7) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(8) { animation-delay: 0.1s; }

@keyframes visualize {
    from { height: 10px; }
    to { height: 30px; }
}

/* ========================================
   FILTERS PANEL
   ======================================== */

/* Toggle Button (Mobile) */
.filters-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 8px;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.filters-toggle-btn:hover {
    background: rgba(255, 0, 60, 0.15);
}

.filters-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-red);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* Overlay */
.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10140;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-overlay.active {
    display: block;
    opacity: 1;
}

/* Panel */
.filters-panel {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Header */
.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filters-title {
    font-size: 18px;
    letter-spacing: 1px;
}

/* Close button */
.filters-close {
    display: none;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filters-close:hover {
    background: rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

.filters-close:active {
    transform: scale(0.95);
}

/* Filter Group */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Search Input */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.filter-search-input {
    width: 100%;
    padding: 10px 36px 10px 34px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: rgba(255, 0, 60, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.search-clear {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: rgba(255, 0, 60, 0.15);
    color: var(--accent-red);
}

/* Filter Buttons */
.filter-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.filter-btn {
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: rgba(255, 0, 60, 0.3);
    color: #fff;
}

.filter-btn.active {
    background: rgba(255, 0, 60, 0.2);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Select */
.filter-select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
}

.filter-select:focus {
    outline: none;
    border-color: rgba(255, 0, 60, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.filter-select option {
    background: #0a0a0a;
    color: #fff;
}

.filter-select option:disabled {
    color: rgba(255, 255, 255, 0.3);
}

/* Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 2px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.filter-checkbox input:checked + .checkbox-custom {
    border-color: var(--accent-red);
    background: rgba(255, 0, 60, 0.1);
}

.filter-checkbox input:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.filters-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-reset-filters,
.btn-apply-filters {
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-reset-filters {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.btn-reset-filters:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-apply-filters {
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
}

.btn-apply-filters:hover {
    background: var(--accent-red);
    color: #fff;
}

/* ========================================
   COMPACT ORDER MODAL
   ======================================== */

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 10400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    background: rgba(0, 0, 0, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Header */
.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 22px;
    letter-spacing: 1px;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

/* Body */
.modal-body {
    padding: 24px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Summary */
.order-summary-compact {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.summary-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 12px;
}

.summary-item-info {
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
}

.summary-item-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.summary-item-details {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.summary-item-price {
    font-weight: 700;
    color: var(--accent-red);
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 0, 60, 0.05);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 8px;
}

.total-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
}

.total-value {
    font-size: 24px;
    color: var(--accent-red);
    letter-spacing: -1px;
}

/* Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.field-input:focus,
.field-textarea:focus {
    outline: none;
    border-color: rgba(255, 0, 60, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.field-textarea {
    resize: vertical;
    font-family: inherit;
}

/* Actions */
.form-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.btn-cancel,
.btn-submit {
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d);
    border: none;
    color: #fff;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 60, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success */
.order-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 255, 100, 0.1);
    border: 2px solid rgba(0, 255, 100, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff64;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-title {
    font-size: 28px;
    margin-bottom: 12px;
}

.success-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.success-order-number {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

.success-order-number span {
    color: var(--accent-red);
    font-weight: 700;
}

.btn-success-close {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 60, 0.4);
}

/* Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 60, 0.3);
    border-radius: 3px;
}

/* ========================================
   FLOATING CART
   ======================================== */

/* FAB Button */
.cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d);
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(255, 0, 60, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10100;
}

.cart-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 0, 60, 0.6);
}

.cart-fab:active {
    transform: translateY(-2px) scale(0.98);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #fff;
    color: var(--accent-red);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--accent-red);
    animation: cartPulse 0.4s ease;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10300;
}

.cart-sidebar.active {
    transform: translateX(0);
}

/* Cart Header */
.cart-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-header-left {
    flex: 1;
}

.cart-title {
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cart-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.cart-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-close:hover {
    background: rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

/* Cart Items */
.cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Empty State */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Cart Item */
.cart-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: rgba(255, 0, 60, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.cart-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-code {
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
}

.cart-item-remove {
    width: 28px;
    height: 28px;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background: rgba(255, 0, 60, 0.2);
    transform: scale(1.05);
}

.cart-item-info {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-divider {
    opacity: 0.3;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.minutes-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.minutes-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.minutes-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.minutes-btn {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.2s ease;
}

.minutes-btn:hover {
    background: rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

.minutes-input {
    width: 50px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
}

.minutes-input:focus {
    outline: none;
    border-color: rgba(255, 0, 60, 0.4);
}

.item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.price-calc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.price-total {
    font-size: 18px;
    color: var(--accent-red);
    letter-spacing: -0.5px;
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 0, 60, 0.05);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 8px;
}

.total-amount {
    font-size: 26px;
    color: var(--accent-red);
    letter-spacing: -1px;
}

.btn-checkout,
.btn-clear-cart {
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-checkout {
    background: linear-gradient(135deg, var(--accent-red), #ff6b9d);
    border: none;
    color: #fff;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 60, 0.4);
}

.btn-checkout:active {
    transform: translateY(0);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-clear-cart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.btn-clear-cart:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: rgba(255, 0, 60, 0.3);
    color: var(--accent-red);
}

/* Scrollbar */
.cart-items-wrapper::-webkit-scrollbar {
    width: 6px;
}

.cart-items-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.cart-items-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 60, 0.3);
    border-radius: 3px;
}

.cart-items-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 60, 0.5);
}

/* ========================================
   RESPONSIVE - VOICE SECTION
   ======================================== */
@media (max-width: 1200px) {
    .voice-grid[data-columns="5"] {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .voice-layout {
        grid-template-columns: 1fr;
    }

    .voice-sidebar {
        position: static;
    }

    .voice-grid[data-columns="3"],
    .voice-grid[data-columns="4"],
    .voice-grid[data-columns="5"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .voice-grid {
        gap: 20px;
    }

    .voice-grid[data-columns="2"],
    .voice-grid[data-columns="3"],
    .voice-grid[data-columns="4"],
    .voice-grid[data-columns="5"] {
        grid-template-columns: 1fr;
    }

    .player-controls {
        display: none;
    }

    .player-btn {
        width: 36px;
        height: 36px;
    }

    .play-pause {
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   RESPONSIVE - FILTERS
   ======================================== */
@media (max-width: 992px) {
    .filters-toggle-btn {
        display: flex;
        margin-bottom: 20px;
    }

    .filters-close {
        display: flex !important;
    }

    .filters-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 10150;
        padding-top: 140px;
    }

    .filters-panel.active {
        transform: translateX(0);
    }

    .filters-header {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-width: 400px;
        background: rgba(0, 0, 0, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 24px;
        z-index: 10160;
    }
}

@media (max-width: 480px) {
    .filters-panel {
        max-width: 100%;
    }
}

/* ========================================
   RESPONSIVE - MODAL
   ======================================== */
@media (max-width: 768px) {
    .order-modal {
        padding: 0;
    }

    .modal-container {
        max-width: 100%;
        max-height: 100vh;
    }

    .modal-content {
        border-radius: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .modal-body {
        flex: 1;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - CART
   ======================================== */
@media (max-width: 768px) {
    .cart-fab {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .cart-sidebar {
        max-width: 100%;
    }
}
