﻿:root {
    --primary-color: #ff6b00;
    --primary-hover: #ff8c00;
    --primary-dark: #e55a00;
    --secondary-color: #1a1a2e;
    --bg-dark: #0f0f1a;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a8a;
    --border-color: #2a2a4a;
    --success-color: #00c853;
    --warning-color: #ffab00;
    --danger-color: #ff5252;
    --info-color: #2196f3;
    --gradient-primary: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================ */
/* RESET & BASE                                */
/* ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    font-family: "New Amsterdam", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

body.blur::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    z-index: 999;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}

body.filter-open {
    overflow: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ============================================ */
/* MODAL DE EDAD                               */
/* ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    color: var(--primary-color);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 60%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    z-index: 1002;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 160px;
    width: 50%;
    height: auto;
}

.modal-content h2,
.modal-content p,
.modal-content ul,
.modal-content li {
    color: var(--text-secondary);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content ul {
    text-align: left;
    display: inline-block;
    margin: 10px 0;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
}

.modal-content button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    margin: 15px 8px 0 8px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.modal-content button#noBtn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal-content button#noBtn:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.5);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.7);
}

/* ============================================ */
/* HEADER                                      */
/* ============================================ */
header {
    background: var(--secondary-color);
    padding: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 15px 30px;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: transparent !important;
}

header .logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

header .logo:hover {
    transform: scale(1.02);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    justify-self: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.25);
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 12px 18px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background var(--transition-fast);
}

.search-btn:hover {
    background: var(--primary-hover);
}

.cart-widget {
    position: relative;
    justify-self: end;
    display: flex;
    align-items: center;
}

.cart-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--bg-card);
    height: 48px;
}

.cart-widget a:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.cart-icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cart-text {
    font-size: 15px;
    font-weight: 500;
}

.cart-widget-count {
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

.cart-widget-count.has-items {
    animation: cartPulse 0.3s ease;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.header-title {
    background: var(--bg-dark);
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.header-title h1 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.header-nav {
    background: var(--secondary-color);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.header-nav ul li {
    display: flex;
}

.header-nav ul li a {
    color: var(--text-primary);
    font-family: 'New Amsterdam', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.header-nav ul li a:hover,
.header-nav ul li a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 0, 0.15);
}
/* ============================================ */
/* CAROUSEL                                    */
/* ============================================ */
.carousel {
    --carousel-speed: 45s;
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    background: linear-gradient(180deg, #0a1628 0%, #152238 25%, #1a3a5c 50%, #152238 75%, #0a1628 100%);
}

.carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(100, 149, 237, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 40, 0.8) 0%, transparent 10%, transparent 90%, rgba(10, 22, 40, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
    max-width: none;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;

}

.carousel-slide {
    flex: 0 0 auto;
    flex-shrink: 0;
    padding: 0 50px;
}

.carousel-slide p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #c9a227;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 10px rgba(201, 162, 39, 0.3);
    letter-spacing: 0.5px;
}

.carousel-slide .carousel-svg {
    flex: 0 0 auto;
    flex-shrink: 0;
}

 {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        padding: 0 30px;
    }

    .carousel-slide p {
        font-size: 0.85rem;
    }
}


    .carousel-track {
        animation: none;
    }
}

/* ============================================ */
/* HEADER RESPONSIVE                           */
/* ============================================ */
@media (max-width: 992px) {
    .header-top {
        grid-template-columns: auto 1fr auto;
        padding: 12px 20px;
        gap: 15px;
    }
    
    header .logo {
        height: 55px;
    }
    
    .search-container {
        max-width: 350px;
    }
    
    .cart-text {
        display: none;
    }
    
    .cart-widget a {
        height: 44px;
        padding: 8px 14px;
    }
    
    .header-title h1 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    .header-nav ul {
        gap: 3px;
    }
    
    .header-nav ul li a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 15px;
        gap: 12px;
    }
    
    .logo-link {
        order: 1;
    }
    
    .cart-widget {
        order: 2;
    }
    
    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    header .logo {
        height: 50px;
    }
    
    .header-title h1 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .header-nav {
        padding: 10px 15px;
    }
    
    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .header-nav ul li a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .carousel-slide {
        padding: 0 30px;
    }
    
    .carousel-slide p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 10px 12px;
    }
    
    header .logo {
        height: 45px;
    }
    
    .cart-widget a {
        padding: 8px 12px;
        height: 40px;
    }
    
    .cart-icon {
        font-size: 20px;
    }
    
    .header-title {
        padding: 10px 15px;
    }
    
    .header-title h1 {
        font-size: 0.95rem;
    }
    
    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .header-nav ul li {
        width: 100%;
    }
    
    .header-nav ul li a {
        text-align: center;
        padding: 10px;
        width: 100%;
    }
}

/* ============================================ */
/* CRYPTO BANNER                               */
/* ============================================ */
#crypto-banner-wrapper {
    width: 100%;
}

.crypto-banner {
    width: 100%;
    padding: 10px 20px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.crypto-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: none;
    margin: 0 auto;
}

.crypto-message {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.crypto-lock {
    font-size: 1.1rem;
}

.crypto-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.crypto-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-accept-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.crypto-slider {
    position: relative;
    width: 70px;
    height: 60px;
    overflow: hidden;
}

.crypto-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.crypto-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.crypto-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.crypto-slide-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.crypto-slide-icon svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.crypto-slide:hover .crypto-slide-icon {
    transform: scale(1.1);
}

.crypto-slide-ticker {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.crypto-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crypto-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    background: var(--text-muted);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.crypto-dot:hover {
    opacity: 0.7;
}

.crypto-dot.active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.3);
}

.crypto-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.crypto-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.crypto-link span {
    transition: transform 0.3s ease;
}

.crypto-link:hover span {
    transform: translateX(4px);
}

/* ============================================ */
/* COOKIE BANNER                               */
/* ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn.accept {
    background: var(--gradient-primary);
    color: #fff;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cookie-btn.policy {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.cookie-btn.policy:hover {
    background: rgba(255, 107, 0, 0.1);
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.cookie-btn.decline:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ============================================ */
/* SEARCH SUGGESTIONS DROPDOWN                 */
/* ============================================ */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    box-shadow: var(--shadow-lg);
}

.suggestions-dropdown.active {
    display: block;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.result-count {
    background: rgba(255, 107, 0, 0.2);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: rgba(255, 107, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: 13px;
}

.suggestion-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.suggestion-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-name mark {
    background: rgba(255, 107, 0, 0.3);
    color: var(--primary-color);
    padding: 1px 3px;
    border-radius: 3px;
}

.suggestion-category {
    color: var(--text-muted);
    font-size: 12px;
}

.suggestion-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.quick-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.quick-search-tag {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-family: "New Amsterdam", sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-search-tag:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.3;
}

.no-results p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.no-results strong {
    color: var(--primary-color);
}

.hint {
    font-size: 13px;
    color: var(--text-muted);
}

.view-all {
    display: block;
    padding: 14px 16px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    font-family: "New Amsterdam", sans-serif;
    letter-spacing: 0.5px;
}

.view-all:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-hover);
}

.suggestions-dropdown::-webkit-scrollbar {
    width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.4);
    border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================ */
/* CRUMBS                                 */
/* ============================================ */
.crumbs {
    padding: 20px 5%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.crumbs-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crumbs a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.crumbs a:hover {
    color: var(--primary-color);
}

.crumbs-separator {
    color: var(--text-muted);
    font-size: 12px;
}

.crumbs-current {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================ */
/* PAGE HEADER                                 */
/* ============================================ */
.page-header {
    padding: 50px 5%;
    background: var(--gradient-dark);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.page-header .product-count {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================ */
/* PRODUCTS MAIN LAYOUT                        */
/* ============================================ */
.products-page {
    display: flex;
    min-height: 100vh;
    background: var(--bg-dark);
}

.products-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 5%;
}

/* ============================================ */
/* SIDEBAR / FILTERS                           */
/* ============================================ */
.filters-sidebar {
    position: relative;
    top: 0;
    height: fit-content;
    overflow-y: visible;
    padding-right: 10px;
}

.filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.4);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.6);
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filters-header h3 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.filters-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: color var(--transition-fast);
    font-family: 'New Amsterdam', sans-serif;
}

.filters-clear:hover {
    color: var(--primary-color);
}

/* Filter Group */
.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 15px;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.filter-group-header:hover {
    color: var(--primary-color);
}

.filter-group-header h4 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-header h4 .icon {
    font-size: 1.1rem;
}

.filter-toggle {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.filter-group.collapsed .filter-toggle {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-options {
    display: none;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Checkbox Filters */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.filter-checkbox:hover {
    background: rgba(255, 107, 0, 0.1);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.filter-checkbox .filter-label {
    color: var(--text-secondary);
    font-size: 14px;
    flex: 1;
    transition: color var(--transition-fast);
}

.filter-checkbox:hover .filter-label {
    color: var(--text-primary);
}

.filter-checkbox input[type="checkbox"]:checked ~ .filter-label {
    color: var(--primary-color);
}

.filter-checkbox .filter-count {
    color: var(--text-muted);
    font-size: 12px;
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Price Range Filter */
.price-range-wrapper {
    padding: 10px 0;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input-group {
    position: relative;
}

.price-input-group label {
    position: absolute;
    top: -8px;
    left: 10px;
    background: var(--bg-card);
    padding: 0 5px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-input-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: border-color var(--transition-fast);
}

.price-input-group input:focus {
    border-color: var(--primary-color);
}

.price-separator {
    color: var(--text-muted);
    font-size: 14px;
}

/* Range Slider */
.range-slider {
    position: relative;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    margin: 20px 0;
}

.range-slider .slider-track {
    position: absolute;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
}

/* Rating Filter */
.rating-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating-filter:hover {
    background: rgba(255, 107, 0, 0.1);
}

.rating-filter input[type="radio"] {
    display: none;
}

.rating-filter .stars {
    color: var(--warning-color);
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-filter .stars.empty {
    color: var(--text-muted);
}

.rating-filter span:last-child {
    color: var(--text-secondary);
    font-size: 13px;
}

.rating-filter input[type="radio"]:checked ~ .stars,
.rating-filter input[type="radio"]:checked ~ span {
    color: var(--primary-color);
}

/* Stock Filter */
.stock-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stock-toggle:hover {
    border-color: var(--primary-color);
}

.stock-toggle .label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stock-toggle .toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-dark);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition-fast);
}

.stock-toggle .toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.stock-toggle input[type="checkbox"]:checked + .toggle-switch {
    background: var(--primary-color);
}

.stock-toggle input[type="checkbox"]:checked + .toggle-switch::after {
    left: 23px;
    background: #fff;
}

.stock-toggle input[type="checkbox"] {
    display: none;
}

/* Apply Filters Button */
.apply-filters-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'New Amsterdam', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 20px;
}

.apply-filters-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 13px;
}

.active-filter-tag .remove {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.active-filter-tag .remove:hover {
    transform: scale(1.2);
}

/* ============================================ */
/* PRODUCTS CONTENT                            */
/* ============================================ */
.products-content {
    flex: 1;
    min-width: 0;
}

/* Toolbar */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.results-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.results-count strong {
    color: var(--primary-color);
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-toggle button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sort Dropdown */
.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-wrapper label {
    color: var(--text-muted);
    font-size: 14px;
    white-space: nowrap;
}

.sort-select {
    padding: 10px 40px 10px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b0c0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color var(--transition-fast);
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
}

.sort-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'New Amsterdam', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-filter-btn .icon {
    font-size: 18px;
}

.filter-count-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* ============================================ */
/* PRODUCTS GRID                               */
/* ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.products-grid.view-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.product-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.sale {
    background: var(--danger-color);
    color: #fff;
}

.badge.new {
    background: var(--success-color);
    color: #fff;
}

.badge.bestseller {
    background: var(--gradient-primary);
    color: #fff;
}

.badge.limited {
    background: var(--warning-color);
    color: #000;
}

.badge.out-of-stock {
    background: var(--text-muted);
    color: #fff;
}
/* Quick View Button */
.quick-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'New Amsterdam', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 5;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Product Info */
.product-card-info {
    padding: 20px;
}

.product-category {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card-info h3 {
    margin: 0 0 10px 0;
}

.product-card-info h3 a {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.product-card-info h3 a:hover {
    color: var(--primary-color);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: var(--warning-color);
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 13px;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-percent {
    font-size: 12px;
    color: var(--danger-color);
    font-weight: 600;
}

/* Product Meta */
.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-meta .in-stock {
    color: var(--success-color);
}

.product-meta .low-stock {
    color: var(--warning-color);
}

.product-meta .out-of-stock {
    color: var(--danger-color);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'New Amsterdam', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.add-to-cart-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.add-to-cart-btn .icon {
    font-size: 18px;
}

/* ============================================ */
/* LIST VIEW                                   */
/* ============================================ */
.products-grid.view-list .product-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
}

.products-grid.view-list .product-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 220px;
}

.products-grid.view-list .product-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 30px;
}

.products-grid.view-list .product-card-info h3 a {
    font-size: 18px;
    -webkit-line-clamp: 1;
}

.products-grid.view-list .product-description {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-grid:not(.view-list) .product-description {
    display: none;
}

.products-grid.view-list .add-to-cart-btn {
    width: auto;
    align-self: flex-start;
}

/* ============================================ */
/* PAGINATION                                  */
/* ============================================ */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 5px;
}

/* ============================================ */
/* EMPTY STATE                                 */
/* ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 25px;
}

.empty-state .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'New Amsterdam', sans-serif;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* LOADING STATE                               */
/* ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.product-skeleton {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skeleton-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(90deg, var(--bg-dark) 25%, var(--bg-card-hover) 50%, var(--bg-dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-line {
    height: 15px;
    background: linear-gradient(90deg, var(--bg-dark) 25%, var(--bg-card-hover) 50%, var(--bg-dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-line:nth-child(1) { width: 40%; }
.skeleton-line:nth-child(2) { width: 80%; }
.skeleton-line:nth-child(3) { width: 60%; height: 25px; }
.skeleton-line:nth-child(4) { width: 100%; height: 45px; margin-top: 15px; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================ */
/* QUICK VIEW MODAL                            */
/* ============================================ */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.quick-view-modal.active {
    display: flex;
}

.quick-view-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.quick-view-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.quick-view-image {
    position: relative;
    background: var(--bg-dark);
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.quick-view-details .product-category {
    margin-bottom: 10px;
}

.quick-view-details h2 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.quick-view-details .product-rating {
    margin-bottom: 20px;
}

.quick-view-details .product-price {
    margin-bottom: 20px;
}

.quick-view-details .product-price .current-price {
    font-size: 28px;
}

.quick-view-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.quick-view-options {
    margin-bottom: 25px;
}

.option-label {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.option-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-btn {
    padding: 10px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.option-btn:hover {
    border-color: var(--primary-color);
}

.option-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    color: var(--text-primary);
    font-size: 14px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.quantity-input button {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-input button:hover {
    background: var(--primary-color);
}

.quantity-input input {
    width: 60px;
    height: 40px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    text-align: center;
    outline: none;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
}

.quick-view-actions .add-to-cart-btn {
    flex: 1;
}

.quick-view-actions .wishlist-btn-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-view-actions .wishlist-btn-large:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* ============================================ */
/* MOBILE FILTER DRAWER                        */
/* ============================================ */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.filter-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.filter-drawer.active {
    transform: translateX(0);
}

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-drawer-header h3 {
    font-family: 'New Amsterdam', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.filter-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-drawer-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.filter-drawer-footer button {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-family: 'New Amsterdam', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-drawer-footer .clear-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.filter-drawer-footer .clear-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-drawer-footer .apply-btn {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
}

.filter-drawer-footer .apply-btn:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* FOOTER                                      */
/* ============================================ */
footer {
    padding: 40px 20px 20px;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    color: var(--text-primary);
    font-family: "New Amsterdam", sans-serif;
    text-align: center;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-buttons a {
    padding: 8px 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-buttons a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.footer-info {
    padding-top: 20px;
    text-align: center;
}

.payment-methods {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================ */
/* BACK TO TOP BUTTON                          */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* TOAST NOTIFICATIONS                         */
/* ============================================ */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast-icon {
    font-size: 20px;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--danger-color);
}

.toast.warning .toast-icon {
    color: var(--warning-color);
}

.toast-message {
    color: var(--text-primary);
    font-size: 14px;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ============================================ */
/* COMPARE FLOATING BUTTON                     */
/* ============================================ */
.compare-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.compare-floating.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.compare-floating .compare-count {
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 15px;
}

.compare-floating span {
    color: var(--text-primary);
    font-size: 14px;
}

.compare-floating .compare-btn {
    padding: 8px 15px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.compare-floating .compare-btn:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* RESPONSIVE DESIGN                           */
/* ============================================ */

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-container {
        grid-template-columns: 1fr;
        padding: 30px 4%;
    }
    
    .filters-sidebar {
        display: none;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .quick-view-content {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .quick-view-image {
        max-height: 300px;
    }
    
    .quick-view-details {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 5%;
    }
    
    .page-header h1 {
        letter-spacing: 2px;
    }
    
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-grid.view-list .product-card {
        grid-template-columns: 1fr;
    }
    
    .products-grid.view-list .product-card-image {
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }
    
    .pagination-wrapper {
        flex-wrap: wrap;
    }
    
    .footer-buttons {
        gap: 10px 15px;
    }
    
    .footer-buttons a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .crypto-banner-inner {
        flex-wrap: wrap;
        gap: 15px 30px;
    }
    
    .crypto-message {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .crypto-slider-wrapper {
        order: 2;
    }
    
    .crypto-link {
        order: 3;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .suggestions-dropdown {
        max-height: 350px;
    }
    
    .suggestion-item {
        padding: 10px 14px;
    }
    
    .suggestion-item img {
        width: 45px;
        height: 45px;
    }
    
    .suggestion-name {
        font-size: 13px;
    }
    
    .suggestion-price {
        font-size: 14px;
    }
    
    .quick-search-tag {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 30px 4%;
    }
    
    .products-container {
        padding: 20px 4%;
    }
    
    .products-toolbar {
        padding: 12px 15px;
    }
    
    .product-card-info {
        padding: 15px;
    }
    
    .product-card-info h3 a {
        font-size: 15px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .add-to-cart-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .pagination-btn {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
    
    .toast-container {
        left: 15px;
        right: 15px;
        transform: none;
    }
    
    .toast {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .view-toggle {
        display: none;
    }
    
    .crumbs {
        padding: 15px 4%;
    }
    
    .quick-view-details {
        padding: 20px;
    }
    
    .quick-view-details h2 {
        font-size: 1.4rem;
    }
    
    .quick-view-actions {
        flex-direction: column;
    }
    
    .quick-view-actions .wishlist-btn-large {
        width: 100%;
    }
    
    .crypto-banner {
        padding: 15px 4%;
    }
    
    .crypto-banner-inner {
        gap: 12px 20px;
    }
    
    .crypto-text {
        font-size: 0.8rem;
    }
    
    .crypto-accept-label {
        display: none;
    }
    
    .crypto-link {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .suggestions-dropdown {
        max-height: 300px;
    }
    
    .suggestion-item img {
        width: 40px;
        height: 40px;
    }
    
    .suggestion-header {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .quick-searches {
        padding: 10px 12px;
        gap: 6px;
    }
}

/* ============================================ */
/* ACCESSIBILITY & REDUCED MOTION              */
/* ============================================ */



    
    html {
        scroll-behavior: auto;
    }
}

a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.filter-checkbox:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================ */
/* RIPPLE EFFECT                               */
/* ============================================ */

.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ripple::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* ============================================ */
/* UTILITY CLASSES                             */
/* ============================================ */

.new-amsterdam-regular {
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header .logo,
.modal-logo,
footer img,
.crypto-svg {
    mix-blend-mode: normal !important;
    filter: none !important;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ============================================ */
/* LAYOUT STRUCTURE FIX                        */
/* ============================================ */

html,
body {
    height: auto !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto !important;
    max-height: none !important;
}

.carousel {
    position: relative;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

/* ============================================ */
/* PRINT STYLES                                */
/* ============================================ */

@media print {
    header,
    footer,
    .filters-sidebar,
    .products-toolbar,
    .pagination-wrapper,
    .back-to-top,
    .toast-container,
    .quick-view-modal,
    .filter-drawer,
    .filter-drawer-overlay,
    .cookie-banner,
    .crypto-banner {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* ============================================ */
/* CUSTOM SCROLLBAR                            */
/* ============================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-dark);
}

.product-provider,
.product-card .product-provider {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-provider:hover,
.product-provider:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ============================================ */
/* FIX VISTA LISTA RESPONSIVE                   */
/* ============================================ */
.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.products-grid.list-view .product-card .product-image {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: auto;
}

.products-grid.list-view .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-grid.list-view .product-card .product-details {
    flex: 1;
    padding: 15px;
}

@media (max-width: 768px) {
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-card .product-image {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
}

/* ============================================ */
/* FIX DEFINITIVO - NO TOCAR                   */
/* ============================================ */

/* Quitar cuadrado naranja en TODOS los elementos */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

input[type="range"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="number"]:focus,
.filter-checkbox:focus-within,
.price-range-wrapper *:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================ */
/* HEADER ICONS (Wishlist + User + Cart)       */
/* ============================================ */
.header-icons {
    position: relative;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--bg-card);
    height: 48px;
}

.icon-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.wishlist-icon,
.user-icon,
.cart-icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.wishlist-count {
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

/* Responsive */
@media (max-width: 992px) {
    .header-icons {
        gap: 8px;
    }
    
    .icon-link {
        height: 44px;
        padding: 8px 14px;
    }
}

@media (max-width: 768px) {
    .icon-link {
        padding: 8px 12px;
        height: 40px;
    }
    
    .wishlist-icon,
    .user-icon,
    .cart-icon {
        font-size: 20px;
    }
    
    .cart-text {
        display: none;
    }
}

/* SCROLLBAR GLOBAL 6px GRIS */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #777; }


/* ============================================ */
/* PROMO SLIDE-IN                              */
/* ============================================ */
.promo-slidein {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(320px, calc(100vw - 32px));
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 20px;
    z-index: 999;
    display: none;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-radius: var(--radius-lg);
}
.promo-slidein .promo-title {
    font-weight: 700;
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--primary-color);
}
.promo-slidein .promo-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}
.promo-slidein .promo-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}
.promo-slidein .promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.promo-slidein .promo-close {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 14px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.promo-slidein .promo-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.promo-slidein .promo-code {
    font-size: 12px;
    margin-top: 10px;
    color: var(--text-muted);
}

/* ============================================ */
/* PROMO STICKY BAR                            */
/* ============================================ */
.promo-stickybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 12px 15px;
    display: none;
    z-index: 999;
}
.promo-stickybar .inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.promo-stickybar .promo-link {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 700;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}
.promo-stickybar .promo-link:hover {
    box-shadow: var(--shadow-glow);
}
.promo-stickybar .close {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.promo-stickybar .close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
/* SCROLLBAR GLOBAL - ESTILO UNIFORME */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #777; }
scrollbar-width: thin;
scrollbar-color: #555 #1a1a1a;

/* ============================================ */
/* REFUERZO RESPONSIVE 2026 - products.css      */
/* ============================================ */
@media (max-width: 360px) {
    body, html {
        overflow-x: hidden;
    }

    .page-header h1 {
        font-size: 1.4rem !important;
        letter-spacing: 1px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .product-card-info h3 a {
        font-size: 13px;
    }

    .add-to-cart-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .current-price {
        font-size: 18px;
    }
}

/* SEARCH BAR RESPONSIVE FIX */

@media (max-width: 768px) {
    .header-top {
        grid-template-columns: auto 1fr auto;
        padding: 10px 15px;
        gap: 10px;
    }

    .search-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-top {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 10px;
        gap: 8px;
    }

    .logo-link {
        display: none;
    }

    .search-container {
        max-width: 100%;
        width: 100%;
        grid-column: 1;
    }

    .header-icons {
        justify-content: flex-end;
        grid-column: 1;
    }
}

@media (max-width: 360px) {
    .header-top {
        padding: 8px;
        gap: 6px;
    }

    .search-form input {
        font-size: 14px;
        padding: 8px 10px;
    }

    .search-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* FIX DEFINITIVO SLIDER */
.range-slider {
    position: relative;
    height: 5px;
    margin: 30px 0;
    background: #444; /* Color de la barra de fondo */
    border-radius: 5px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    pointer-events: none;
    background: none;
    left: 0;
    top: 0;
    margin: 0;
}

/* El botón (thumb) */
.range-slider input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ff6b00; /* Tu color naranja */
    -webkit-appearance: none;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 5;
}

.range-slider input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border: none;
    border-radius: 50%;
    background: #ff6b00;
    pointer-events: auto;
    cursor: pointer;
    z-index: 5;
}

.slider-track {
    position: absolute;
    height: 5px;
    background: #ff6b00;
    z-index: 1;
    border-radius: 5px;
}

:root {
    --primary-color: #ff6b00;
    --primary-hover: #ff8c00;
    --primary-dark: #e55a00;
    --secondary-color: #1a1a2e;
    --bg-dark: #0f0f1a;
    --bg-card: #16162a;
    --bg-card-hover: #1e1e3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a8a;
    --border-color: #2a2a4a;
    --success-color: #00c853;
    --warning-color: #ffab00;
    --danger-color: #ff5252;
    --info-color: #2196f3;
    --gradient-primary: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 107, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================ */
/* RESET & BASE                                */
/* ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    font-family: "New Amsterdam", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

body.blur::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    z-index: 999;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}

body.filter-open {
    overflow: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

/* ============================================ */
/* AGE MODAL                                   */
/* ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    color: var(--primary-color);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 60%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    z-index: 1002;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.modal-logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 160px;
    width: 50%;
    height: auto;
}

.modal-content h2,
.modal-content p,
.modal-content ul,
.modal-content li {
    color: var(--text-secondary);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content ul {
    text-align: left;
    display: inline-block;
    margin: 10px 0;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
}

.modal-content button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    margin: 15px 8px 0 8px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.modal-content button#noBtn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal-content button#noBtn:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.5);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.7);
}

/* ============================================ */
/* HEADER                                      */
/* ============================================ */
header {
    background: var(--secondary-color);
    padding: 0;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.header-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 15px 30px;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 48px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: transparent !important;
}

header .logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

header .logo:hover {
    transform: scale(1.02);
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    justify-self: center;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.25);
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 12px 18px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background var(--transition-fast);
}

.search-btn:hover {
    background: var(--primary-hover);
}

.cart-widget {
    position: relative;
    justify-self: end;
    display: flex;
    align-items: center;
}

.cart-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--bg-card);
    height: 48px;
}

.cart-widget a:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.cart-icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cart-text {
    font-size: 15px;
    font-weight: 500;
}

.cart-widget-count {
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

.cart-widget-count.has-items {
    animation: cartPulse 0.3s ease;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.header-title {
    background: var(--bg-dark);
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.header-title h1 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.header-nav {
    background: var(--secondary-color);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.header-nav ul li {
    display: flex;
}

.header-nav ul li a {
    color: var(--text-primary);
    font-family: "New Amsterdam", sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.header-nav ul li a:hover,
.header-nav ul li a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 0, 0.15);
}

/* ============================================ */
/* CAROUSEL                                    */
/* ============================================ */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    background: linear-gradient(
        180deg,
        #0a1628 0%,
        #152238 25%,
        #1a3a5c 50%,
        #152238 75%,
        #0a1628 100%
    );
}

.carousel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(100, 149, 237, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 22, 40, 0.8) 0%,
        transparent 10%,
        transparent 90%,
        rgba(10, 22, 40, 0.8) 100%
    );
    pointer-events: none;
}

.carousel-track {
    display: flex;
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    padding: 0 50px;
}

.carousel-slide p {
    color: #c9a227;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(201, 162, 39, 0.3);
    letter-spacing: 0.5px;
}

/* ============================================ */
/* HEADER RESPONSIVE                           */
/* ============================================ */
@media (max-width: 992px) {
    .header-top {
        grid-template-columns: auto 1fr auto;
        padding: 12px 20px;
        gap: 15px;
    }

    header .logo {
        height: 55px;
    }

    .search-container {
        max-width: 350px;
    }

    .cart-text {
        display: none;
    }

    .cart-widget a {
        height: 44px;
        padding: 8px 14px;
    }

    .header-title h1 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .header-nav ul {
        gap: 3px;
    }

    .header-nav ul li a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: grid !important;
        grid-template-columns: minmax(120px, auto) 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 15px !important;
        padding: 10px 15px !important;
    }

    .logo-link {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-width: 120px !important;
        width: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    header .logo {
        display: block !important;
        height: 45px !important;
        width: auto !important;
        max-width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-icons {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .search-container {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .icon-link {
        padding: 6px 10px !important;
        height: 38px !important;
        background: var(--bg-card) !important;
    }

    .header-title h1 {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .header-nav {
        padding: 10px 15px;
    }

    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .header-nav ul li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .carousel-slide {
        padding: 0 30px;
    }

    .carousel-slide p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 10px 12px !important;
        gap: 12px !important;
    }

    header .logo {
        height: 45px !important;
    }

    .header-title {
        padding: 10px 15px;
    }

    .header-title h1 {
        font-size: 0.95rem;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .header-nav ul li {
        width: 100%;
    }

    .header-nav ul li a {
        text-align: center;
        padding: 10px;
        width: 100%;
    }
}

/* ============================================ */
/* CRYPTO BANNER                               */
/* ============================================ */
#crypto-banner-wrapper {
    width: 100%;
}

.crypto-banner {
    width: 100%;
    padding: 10px 20px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.crypto-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: none;
    margin: 0 auto;
}

.crypto-message {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.crypto-lock {
    font-size: 1.1rem;
}

.crypto-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.crypto-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-accept-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.crypto-slider {
    position: relative;
    width: 70px;
    height: 60px;
    overflow: hidden;
}

.crypto-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.crypto-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.crypto-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.crypto-slide-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.crypto-slide-icon svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.crypto-slide:hover .crypto-slide-icon {
    transform: scale(1.1);
}

.crypto-slide-ticker {
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.crypto-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crypto-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    background: var(--text-muted);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.crypto-dot:hover {
    opacity: 0.7;
}

.crypto-dot.active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.3);
}

.crypto-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.crypto-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.crypto-link span {
    transition: transform 0.3s ease;
}

.crypto-link:hover span {
    transform: translateX(4px);
}

/* ============================================ */
/* COOKIE BANNER                               */
/* ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn.accept {
    background: var(--gradient-primary);
    color: #fff;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cookie-btn.policy {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.cookie-btn.policy:hover {
    background: rgba(255, 107, 0, 0.1);
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.cookie-btn.decline:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ============================================ */
/* SEARCH SUGGESTIONS                          */
/* ============================================ */
.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    box-shadow: var(--shadow-lg);
}

.suggestions-dropdown.active {
    display: block;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.result-count {
    background: rgba(255, 107, 0, 0.2);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: rgba(255, 107, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    padding-left: 13px;
}

.suggestion-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.suggestion-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-name mark {
    background: rgba(255, 107, 0, 0.3);
    color: var(--primary-color);
    padding: 1px 3px;
    border-radius: 3px;
}

.suggestion-category {
    color: var(--text-muted);
    font-size: 12px;
}

.suggestion-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.quick-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.quick-search-tag {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-family: "New Amsterdam", sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-search-tag:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.3;
}

.no-results p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.no-results strong {
    color: var(--primary-color);
}

.hint {
    font-size: 13px;
    color: var(--text-muted);
}

.view-all {
    display: block;
    padding: 14px 16px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    font-family: "New Amsterdam", sans-serif;
    letter-spacing: 0.5px;
}

.view-all:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-hover);
}

.suggestions-dropdown::-webkit-scrollbar {
    width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.4);
    border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ============================================ */
/* CRUMBS                                 */
/* ============================================ */
.crumbs {
    padding: 20px 5%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.crumbs-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crumbs a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.crumbs a:hover {
    color: var(--primary-color);
}

.crumbs-separator {
    color: var(--text-muted);
    font-size: 12px;
}

.crumbs-current {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================ */
/* PAGE HEADER                                 */
/* ============================================ */
.page-header {
    padding: 50px 5%;
    background: var(--gradient-dark);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-family: "New Amsterdam", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.page-header .product-count {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

/* ============================================ */
/* PRODUCTS MAIN LAYOUT                        */
/* ============================================ */
.products-page {
    display: flex;
    min-height: 100vh;
    background: var(--bg-dark);
}

.products-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 5%;
}

/* ============================================ */
/* SIDEBAR / FILTERS                           */
/* ============================================ */
.filters-sidebar {
    position: relative;
    top: 0;
    height: fit-content;
    overflow-y: visible;
    padding-right: 10px;
}

.filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.4);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.6);
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filters-header h3 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.filters-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: color var(--transition-fast);
    font-family: "New Amsterdam", sans-serif;
}

.filters-clear:hover {
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 15px;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.filter-group-header:hover {
    color: var(--primary-color);
}

.filter-group-header h4 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-header h4 .icon {
    font-size: 1.1rem;
}

.filter-toggle {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.filter-group.collapsed .filter-toggle {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-options {
    display: none;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.filter-checkbox:hover {
    background: rgba(255, 107, 0, 0.1);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.filter-checkbox:hover .checkmark {
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.filter-checkbox .filter-label {
    color: var(--text-secondary);
    font-size: 14px;
    flex: 1;
    transition: color var(--transition-fast);
}

.filter-checkbox:hover .filter-label {
    color: var(--text-primary);
}

.filter-checkbox input[type="checkbox"]:checked ~ .filter-label {
    color: var(--primary-color);
}

.filter-checkbox .filter-count {
    color: var(--text-muted);
    font-size: 12px;
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 10px;
}

.price-range-wrapper {
    padding: 10px 0;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input-group {
    position: relative;
}

.price-input-group label {
    position: absolute;
    top: -8px;
    left: 10px;
    background: var(--bg-card);
    padding: 0 5px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-input-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    text-align: center;
    outline: none;
    transition: border-color var(--transition-fast);
}

.price-input-group input:focus {
    border-color: var(--primary-color);
}

.price-separator {
    color: var(--text-muted);
    font-size: 14px;
}

.range-slider {
    position: relative;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    margin: 20px 0;
}

.range-slider .slider-track {
    position: absolute;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating-filter:hover {
    background: rgba(255, 107, 0, 0.1);
}

.rating-filter input[type="radio"] {
    display: none;
}

.rating-filter .stars {
    color: var(--warning-color);
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-filter .stars.empty {
    color: var(--text-muted);
}

.rating-filter span:last-child {
    color: var(--text-secondary);
    font-size: 13px;
}

.rating-filter input[type="radio"]:checked ~ .stars,
.rating-filter input[type="radio"]:checked ~ span {
    color: var(--primary-color);
}

.stock-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.stock-toggle:hover {
    border-color: var(--primary-color);
}

.stock-toggle .label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stock-toggle .toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-dark);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition-fast);
}

.stock-toggle .toggle-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.stock-toggle input[type="checkbox"]:checked + .toggle-switch {
    background: var(--primary-color);
}

.stock-toggle input[type="checkbox"]:checked + .toggle-switch::after {
    left: 23px;
    background: #fff;
}

.stock-toggle input[type="checkbox"] {
    display: none;
}

.apply-filters-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 20px;
}

.apply-filters-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 13px;
}

.active-filter-tag .remove {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.active-filter-tag .remove:hover {
    transform: scale(1.2);
}

/* ============================================ */
/* PRODUCTS CONTENT                            */
/* ============================================ */
.products-content {
    flex: 1;
    min-width: 0;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.results-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.results-count strong {
    color: var(--primary-color);
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-toggle button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-wrapper label {
    color: var(--text-muted);
    font-size: 14px;
    white-space: nowrap;
}

.sort-select {
    padding: 10px 40px 10px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b0b0c0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color var(--transition-fast);
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
}

.sort-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-filter-btn .icon {
    font-size: 18px;
}

.filter-count-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* ============================================ */
/* PRODUCTS GRID                               */
/* ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.products-grid.view-list {
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.product-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

.badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.sale {
    background: var(--danger-color);
    color: #fff;
}

.badge.new {
    background: var(--success-color);
    color: #fff;
}

.badge.bestseller {
    background: var(--gradient-primary);
    color: #fff;
}

.badge.limited {
    background: var(--warning-color);
    color: #000;
}

.badge.out-of-stock {
    background: var(--text-muted);
    color: #fff;
}

/* ============================================ */
/* PRODUCT VERIFICATION BADGES                 */
/* ============================================ */
.bestseller-badges-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 6;
    pointer-events: none;
}

.bestseller-badges-top > * {
    pointer-events: auto;
}

.badge-scarcity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(
        135deg,
        rgba(255, 82, 82, 0.22) 0%,
        rgba(255, 82, 82, 0.12) 100%
    );
    color: var(--danger-color);
    border: 1px solid rgba(255, 82, 82, 0.5);
    padding: 6px 12px;
    border-radius: 50px;
    font-family: "New Amsterdam", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    box-shadow:
        0 4px 12px rgba(255, 82, 82, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.badge-scarcity .scarcity-dot {
    width: 7px;
    height: 7px;
    background: var(--danger-color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 82, 82, 0.8);
    flex-shrink: 0;
}

.badge-lab-verified,
.badge-lab-tested {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.18) 0%,
        rgba(0, 150, 255, 0.1) 100%
    );
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.45);
    padding: 5px 11px;
    border-radius: 50px;
    font-family: "New Amsterdam", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    box-shadow:
        0 3px 10px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
    cursor: help;
}

.badge-lab-verified:hover,
.badge-lab-tested:hover {
    transform: translateY(-1px);
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.28) 0%,
        rgba(0, 150, 255, 0.18) 100%
    );
    border-color: rgba(0, 212, 255, 0.7);
    box-shadow:
        0 5px 15px rgba(0, 212, 255, 0.35),
        0 0 20px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.badge-lab-verified .lab-shield-icon,
.badge-lab-tested .lab-shield-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: currentColor;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.6));
}

/* ============================================ */
/* QUICK VIEW BUTTON                           */
/* ============================================ */
.quick-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: "New Amsterdam", sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 5;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================ */
/* PRODUCT INFO                               */
/* ============================================ */
.product-card-info {
    padding: 20px;
}

.product-category {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card-info h3 {
    margin: 0 0 10px 0;
}

.product-card-info h3 a {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.product-card-info h3 a:hover {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: var(--warning-color);
    font-size: 14px;
    letter-spacing: 1px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 13px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-percent {
    font-size: 12px;
    color: var(--danger-color);
    font-weight: 600;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-meta .in-stock {
    color: var(--success-color);
}

.product-meta .low-stock {
    color: var(--warning-color);
}

.product-meta .out-of-stock {
    color: var(--danger-color);
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.add-to-cart-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.add-to-cart-btn .icon {
    font-size: 18px;
}

/* ============================================ */
/* LIST VIEW                                   */
/* ============================================ */
.products-grid.view-list .product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.products-grid.view-list .product-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-bottom: 2px solid #3a3a5a;
}

.products-grid.view-list .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.products-grid.view-list .product-card-info {
    padding: 20px;
    border-top: none;
}

.products-grid.view-list .product-description {
    display: block;
    max-height: none;
    -webkit-line-clamp: unset;
}

.products-grid:not(.view-list) .product-description {
    display: none;
}

.products-grid.view-list .add-to-cart-btn {
    width: auto;
    align-self: flex-start;
}

/* ============================================ */
/* PAGINATION                                  */
/* ============================================ */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 5px;
}

/* ============================================ */
/* EMPTY STATE                                 */
/* ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 25px;
}

.empty-state .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: "New Amsterdam", sans-serif;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
}

.empty-state .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* LOADING STATE                               */
/* ============================================ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.product-skeleton {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skeleton-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(
        90deg,
        var(--bg-dark) 25%,
        var(--bg-card-hover) 50%,
        var(--bg-dark) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-line {
    height: 15px;
    background: linear-gradient(
        90deg,
        var(--bg-dark) 25%,
        var(--bg-card-hover) 50%,
        var(--bg-dark) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-line:nth-child(1) {
    width: 40%;
}

.skeleton-line:nth-child(2) {
    width: 80%;
}

.skeleton-line:nth-child(3) {
    width: 60%;
    height: 25px;
}

.skeleton-line:nth-child(4) {
    width: 100%;
    height: 45px;
    margin-top: 15px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ============================================ */
/* QUICK VIEW MODAL                            */
/* ============================================ */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.quick-view-modal.active {
    display: flex;
}

.quick-view-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.quick-view-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.quick-view-image {
    position: relative;
    background: var(--bg-dark);
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.quick-view-details .product-category {
    margin-bottom: 10px;
}

.quick-view-details h2 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.quick-view-details .product-rating {
    margin-bottom: 20px;
}

.quick-view-details .product-price {
    margin-bottom: 20px;
}

.quick-view-details .product-price .current-price {
    font-size: 28px;
}

.quick-view-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.quick-view-options {
    margin-bottom: 25px;
}

.option-label {
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.option-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-btn {
    padding: 10px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.option-btn:hover {
    border-color: var(--primary-color);
}

.option-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    color: var(--text-primary);
    font-size: 14px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.quantity-input button {
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quantity-input button:hover {
    background: var(--primary-color);
}

.quantity-input input {
    width: 60px;
    height: 40px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    text-align: center;
    outline: none;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
}

.quick-view-actions .add-to-cart-btn {
    flex: 1;
}

.quick-view-actions .wishlist-btn-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-view-actions .wishlist-btn-large:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* ============================================ */
/* MOBILE FILTER DRAWER                        */
/* ============================================ */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.filter-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.filter-drawer.active {
    transform: translateX(0);
}

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-drawer-header h3 {
    font-family: "New Amsterdam", sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.filter-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-drawer-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.filter-drawer-footer button {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-drawer-footer .clear-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.filter-drawer-footer .clear-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-drawer-footer .apply-btn {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
}

.filter-drawer-footer .apply-btn:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* FOOTER                                      */
/* ============================================ */
footer {
    padding: 40px 20px 20px;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    color: var(--text-primary);
    font-family: "New Amsterdam", sans-serif;
    text-align: center;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-buttons a {
    padding: 8px 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-family: "New Amsterdam", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-buttons a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.footer-info {
    padding-top: 20px;
    text-align: center;
}

.payment-methods {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================ */
/* BACK TO TOP                                */
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* TOAST NOTIFICATIONS                         */
/* ============================================ */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast-icon {
    font-size: 20px;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--danger-color);
}

.toast.warning .toast-icon {
    color: var(--warning-color);
}

.toast-message {
    color: var(--text-primary);
    font-size: 14px;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ============================================ */
/* COMPARE FLOATING BUTTON                     */
/* ============================================ */
.compare-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.compare-floating.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.compare-floating .compare-count {
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 15px;
}

.compare-floating span {
    color: var(--text-primary);
    font-size: 14px;
}

.compare-floating .compare-btn {
    padding: 8px 15px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.compare-floating .compare-btn:hover {
    box-shadow: var(--shadow-glow);
}

/* ============================================ */
/* LAYOUT STRUCTURE                            */
/* ============================================ */

html {
    height: auto !important;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
}

body {
    height: auto !important;
    min-height: 100vh;
}

header {
    position: relative;
    top: auto;
    z-index: 1;
    height: auto !important;
    max-height: none !important;
}

.carousel {
    position: relative;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

/* ============================================ */
/* PRINT STYLES                                */
/* ============================================ */
@media print {
    header,
    footer,
    .filters-sidebar,
    .products-toolbar,
    .pagination-wrapper,
    .back-to-top,
    .toast-container,
    .quick-view-modal,
    .filter-drawer,
    .filter-drawer-overlay,
    .cookie-banner,
    .crypto-banner {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* ============================================ */
/* CUSTOM SCROLLBAR                            */
/* ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #555 #1a1a1a;
}
/* ============================================ */
/* REMOVE ORANGE FOCUS SQUARE                 */
/* ============================================ */
.product-provider,
.product-card .product-provider {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.product-provider:hover,
.product-provider:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

input[type="range"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="number"]:focus,
.filter-checkbox:focus-within,
.price-range-wrapper *:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ============================================ */
/* HEADER ICONS                               */
/* ============================================ */
.header-icons {
    position: relative;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: var(--bg-card);
    height: 48px;
}

.icon-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
}

.wishlist-icon,
.user-icon,
.cart-icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.wishlist-count {
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

@media (max-width: 992px) {
    .header-icons {
        gap: 8px;
    }

    .icon-link {
        height: 44px;
        padding: 8px 14px;
    }
}

@media (max-width: 768px) {
    .icon-link {
        padding: 8px 12px;
        height: 40px;
    }

    .wishlist-icon,
    .user-icon,
    .cart-icon {
        font-size: 20px;
    }

    .cart-text {
        display: none;
    }
}

/* ============================================ */
/* PROMO SLIDE-IN                             */
/* ============================================ */
.promo-slidein {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(320px, calc(100vw - 32px));
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 20px;
    z-index: 999;
    display: none;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-radius: var(--radius-lg);
}

.promo-slidein .promo-title {
    font-weight: 700;
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--primary-color);
}

.promo-slidein .promo-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.promo-slidein .promo-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.promo-slidein .promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.promo-slidein .promo-close {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 14px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.promo-slidein .promo-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.promo-slidein .promo-code {
    font-size: 12px;
    margin-top: 10px;
    color: var(--text-muted);
}

/* ============================================ */
/* PROMO STICKY BAR                           */
/* ============================================ */
.promo-stickybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    color: var(--text-primary);
    padding: 12px 15px;
    display: none;
    z-index: 999;
}

.promo-stickybar .inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.promo-stickybar .promo-link {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 700;
    font-family: "New Amsterdam", sans-serif;
    font-size: 16px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.promo-stickybar .promo-link:hover {
    box-shadow: var(--shadow-glow);
}

.promo-stickybar .close {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    font-family: "New Amsterdam", sans-serif;
    font-size: 14px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.promo-stickybar .close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================ */
/* SMALL SCREEN RESPONSIVE FIXES               */
/* ============================================ */
@media (max-width: 360px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: visible;
    }

    .page-header h1 {
        font-size: 1.4rem !important;
        letter-spacing: 1px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .product-card-info h3 a {
        font-size: 13px;
    }

    .add-to-cart-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .current-price {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .bestseller-badges-top {
        top: 8px;
        right: 8px;
        gap: 4px;
    }

    .badge-scarcity {
        padding: 5px 10px;
        font-size: 10px;
    }

    .badge-scarcity .scarcity-dot {
        width: 6px;
        height: 6px;
    }

    .badge-lab-verified,
    .badge-lab-tested {
        padding: 4px 9px;
        font-size: 9px;
    }

    .badge-lab-verified .lab-shield-icon,
    .badge-lab-tested .lab-shield-icon {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-container {
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-container {
        grid-template-columns: 1fr;
        padding: 30px 4%;
    }

    .filters-sidebar {
        display: none;
    }

    .mobile-filter-btn {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .quick-view-content {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .quick-view-image {
        max-height: 300px;
    }

    .quick-view-details {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 5%;
    }

    .page-header h1 {
        letter-spacing: 2px;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .pagination-wrapper {
        flex-wrap: wrap;
    }

    .footer-buttons {
        gap: 10px 15px;
    }

    .footer-buttons a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .crypto-banner-inner {
        flex-wrap: wrap;
        gap: 15px 30px;
    }

    .crypto-message {
        order: 1;
        width: 100%;
        justify-content: center;
    }

    .crypto-slider-wrapper {
        order: 2;
    }

    .crypto-link {
        order: 3;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        min-width: auto;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .suggestions-dropdown {
        max-height: 350px;
    }

    .suggestion-item {
        padding: 10px 14px;
    }

    .suggestion-item img {
        width: 45px;
        height: 45px;
    }

    .suggestion-name {
        font-size: 13px;
    }

    .suggestion-price {
        font-size: 14px;
    }

    .quick-search-tag {
        padding: 5px 12px;
        font-size: 12px;
    }

    .promo-slidein {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 30px 4%;
    }

    .products-container {
        padding: 20px 4%;
    }

    .products-toolbar {
        padding: 12px 15px;
    }

    .product-card-info {
        padding: 15px;
    }

    .product-card-info h3 a {
        font-size: 15px;
    }

    .current-price {
        font-size: 20px;
    }

    .add-to-cart-btn {
        padding: 12px 15px;
        font-size: 14px;
    }

    .pagination-btn {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }

    .toast-container {
        left: 15px;
        right: 15px;
        transform: none;
    }

    .toast {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .view-toggle {
        display: none;
    }

    .crumbs {
        padding: 15px 4%;
    }

    .quick-view-details {
        padding: 20px;
    }

    .quick-view-details h2 {
        font-size: 1.4rem;
    }

    .quick-view-actions {
        flex-direction: column;
    }

    .quick-view-actions .wishlist-btn-large {
        width: 100%;
    }

    .crypto-banner {
        padding: 15px 4%;
    }

    .crypto-banner-inner {
        gap: 12px 20px;
    }

    .crypto-text {
        font-size: 0.8rem;
    }

    .crypto-accept-label {
        display: none;
    }

    .crypto-link {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .suggestions-dropdown {
        max-height: 300px;
    }

    .suggestion-item img {
        width: 40px;
        height: 40px;
    }

    .suggestion-header {
        padding: 10px 12px;
        font-size: 11px;
    }

    .quick-searches {
        padding: 10px 12px;
        gap: 6px;
    }
}

/* ============================================ */
/* ACCESSIBILITY                               */
/* ============================================ */



    html {
        scroll-behavior: auto;
    }
}

a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.filter-checkbox:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================ */
/* RIPPLE EFFECT                               */
/* ============================================ */
.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ripple::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.5) 10%,
        transparent 10.01%
    );
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* ============================================ */
/* UTILITY CLASSES                             */
/* ============================================ */
.new-amsterdam-regular {
    font-family: "New Amsterdam", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header .logo,
.modal-logo,
footer img,
.crypto-svg {
    mix-blend-mode: normal !important;
    filter: none !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.product-card .wishlist-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    top: 10px !important;
    right: 10px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
    background: rgba(0, 0, 0, 0.55) !important;
}

.product-card .wishlist-btn svg,
.product-card .wishlist-btn .fa-heart,
.product-card .wishlist-btn i {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* ============================================ */
/* FIX: Imagenes uniformes + Wishlist sin cortar */
/* ============================================ */

.product-card-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: visible !important;
    background: var(--bg-dark) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.product-card-image a:not(.bc-mini-badge) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.product-card .wishlist-btn {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
}

.product-card .wishlist-btn:hover {
    background: rgba(255, 82, 82, 0.9) !important;
    transform: scale(1.1) !important;
}

.product-card .wishlist-btn.active {
    background: #ff5252 !important;
    border-color: #ff5252 !important;
}

.product-card .wishlist-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* === BLOCKCHAIN MICRO-BADGE (cards de productos) — FIX OVERLAP Y CORTE === */

.product-item,
.product-card {
    position: relative;
}

/* Contenedor superior derecho: ahora apila todos los badges sin pisarse */
.bestseller-badges-top {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 6px;
    z-index: 6;
    pointer-events: none;
    max-width: calc(100% - 20px);
}

.bestseller-badges-top > * {
    pointer-events: auto;
    max-width: 100%;
}

/* Badge blockchain: si está dentro de bestseller-badges-top se apila, si no cae abajo-izq */
.bc-mini-badge {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18) 0%, rgba(0, 150, 255, 0.10) 100%);
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 50px;
    color: #00d4ff;
    font-family: 'New Amsterdam', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fallback: si el JS lo inyectó directo en la card, lo movemos abajo-izquierda para no pisar Lab Verified */
.product-card > .bc-mini-badge,
.product-item > .bc-mini-badge {
    position: absolute !important;
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    right: auto !important;
}

.bc-mini-badge:hover {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.35);
}

.bc-mini-badge svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

/* Texto corto en móvil para evitar corte */
.bc-mini-badge .bc-mini-text-full { display: inline; }
.bc-mini-badge .bc-mini-text-short { display: none; }

@media (max-width: 600px) {
    .bc-mini-badge { padding: 4px 9px; font-size: 9px; }
    .bc-mini-badge .bc-mini-text-full { display: none; }
    .bc-mini-badge .bc-mini-text-short { display: inline; }
}

@media (max-width: 480px) {
    .bestseller-badges-top { top: 8px; right: 8px; left: 8px; gap: 4px; }
    .product-card > .bc-mini-badge,
    .product-item > .bc-mini-badge { bottom: 10px !important; left: 10px !important; }
}