/* ==========================================
   MODERN PRODUCT PAGE - SLEEK & MINIMALIST
   NO REVIEWS | ROUNDED IMAGES | SMOOTH ANIMATIONS
   ========================================== */

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

:root {
    --primary: #0a0a0a;
    --gold: #d4af37;
    --gold-hover: #b8941f;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f8f9fa;
    --gray-600: #6c757d;
    --border: #e9ecef;
    --success: #10b981;
    --danger: #dc3545;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* ==========================================
   MODERN TOAST NOTIFICATION
   ========================================== */

.toast-notification {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    min-width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    top: 32px;
    animation: toastSlide 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toastSlide {
    0% {
        top: -200px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        top: 32px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.toast-notification.hiding {
    top: -200px;
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.toast-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

@keyframes iconPop {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.toast-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.toast-progress {
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover));
    width: 100%;
    transform-origin: left;
    animation: progressBar 3s linear;
}

@keyframes progressBar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* ==========================================
   HEADER
   ========================================== */

.modern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 35%, #2a2520 70%, #d4af37 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo-section {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.brand-logo {
    height: 80px;
    width: auto;
    cursor: pointer;
    transition: all var(--transition);
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
    border-radius: 16px;
}

.brand-logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.6));
}

.header-right {
    padding: 0 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.action-btn {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 10000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.close-mobile-menu {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition);
}

.close-mobile-menu:hover {
    background: var(--gold);
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
}

.mobile-nav-link i {
    width: 24px;
    color: var(--gold);
}

.mobile-nav-section {
    padding: 0.5rem 0;
}

.mobile-nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    padding: 1rem 1.5rem 0.5rem;
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-menu-footer p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.mobile-menu-footer a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   ULTRA-MODERN LUXURY HERO SECTION
   ========================================== */

.luxury-hero {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a1a 50%, #0f0f0f 75%, #000000 100%);
    padding: 6rem 2rem 5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    min-height: 600px;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 20s infinite;
    opacity: 0;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 9s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 85%;
    animation-delay: 12s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    left: 25%;
    animation-delay: 15s;
    animation-duration: 19s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1.5);
        opacity: 0;
    }
}

/* Gradient Orbs */
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent);
    top: -200px;
    left: -150px;
    animation: orbFloat1 25s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
    bottom: -150px;
    right: -100px;
    animation: orbFloat2 30s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.15); }
    66% { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.2); }
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Text Section */
.hero-text-section {
    animation: heroSlideInLeft 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    position: relative;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--gold);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-badge-luxury i {
    font-size: 0.9rem;
    animation: badgeIconSpin 10s linear infinite;
}

@keyframes badgeIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title-luxury {
    margin-bottom: 1.5rem;
}

.brand-name {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-tagline {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-subtitle-luxury {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    animation: statFadeIn 1s ease;
}

@keyframes statFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.stat-number i {
    font-size: 1.5rem;
    color: var(--gold);
}

.count-up {
    display: inline-block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* Visual Section */
.hero-visual-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroSlideInRight 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroSlideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Product Card */
.floating-product-card {
    position: relative;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: productFloat 6s ease-in-out infinite;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes productFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
    border-radius: 30px;
    opacity: 0.4;
    filter: blur(20px);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.card-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 30px;
    pointer-events: none;
}

.floating-product-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    border-radius: 24px;
}

.floating-badge {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-badge i {
    color: var(--gold);
}

.badge-1 {
    top: 10%;
    right: -10%;
    animation: badgeFloat1 4s ease-in-out infinite;
}

.badge-2 {
    top: 50%;
    right: -15%;
    animation: badgeFloat2 5s ease-in-out infinite;
}

.badge-3 {
    bottom: 15%;
    left: -10%;
    animation: badgeFloat3 4.5s ease-in-out infinite;
}

@keyframes badgeFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes badgeFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 10px); }
}

@keyframes badgeFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-section {
        order: 2;
    }
    
    .hero-visual-section {
        order: 1;
    }
    
    .brand-name {
        font-size: 3.5rem;
    }
    
    .hero-subtitle-luxury {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-product-card {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .luxury-hero {
        padding: 4rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-content-wrapper {
        gap: 2.5rem;
    }
    
    .brand-name {
        font-size: 2.8rem;
        letter-spacing: -2px;
    }
    
    .brand-tagline {
        font-size: 1.2rem;
    }
    
    .hero-subtitle-luxury {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .floating-product-card {
        width: 300px;
        height: 300px;
    }
    
    .floating-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .brand-tagline {
        font-size: 1rem;
    }
    
    .hero-badge-luxury {
        font-size: 0.75rem;
        padding: 0.6rem 1.25rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .floating-product-card {
        width: 260px;
        height: 260px;
    }
    
    .floating-badge {
        display: none;
    }
}

/* ==========================================
   PAGE CONTAINER
   ========================================== */

.page-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

/* ==========================================
   CONTROLS BAR
   ========================================== */

.controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-toggle-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.results-count {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-switcher {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 0.25rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.view-btn:hover:not(.active) {
    color: var(--primary);
}

.sort-dropdown {
    position: relative;
}

.sort-dropdown select {
    appearance: none;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 180px;
}

.sort-dropdown select:hover,
.sort-dropdown select:focus {
    border-color: var(--gold);
    outline: none;
}

.sort-dropdown i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gray-600);
}

/* ==========================================
   ACTIVE FILTERS
   ========================================== */

.active-filters {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.active-filters-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filters-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.filter-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    animation: pillPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pillPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.filter-pill button {
    width: 18px;
    height: 18px;
    background: var(--gray-600);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.filter-pill button:hover {
    background: var(--danger);
    transform: scale(1.2);
}

.clear-all-btn {
    padding: 0.5rem 1rem;
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.clear-all-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ==========================================
   CONTENT WRAPPER
   ========================================== */

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ==========================================
   MODERN FILTERS SIDEBAR WITH ANIMATIONS
   ========================================== */

.filters-sidebar {
    position: sticky;
    top: 120px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
    color: var(--white);
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.close-filters {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.close-filters:hover {
    background: var(--gold);
    transform: rotate(90deg) scale(1.1);
}

.sidebar-content {
    padding: 1.5rem;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
    transition: background 0.3s;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    animation: filterGroupSlide 0.4s ease;
}

@keyframes filterGroupSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.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;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.filter-group-header:hover {
    background: var(--gray-50);
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.filter-title i {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.filter-group-header:hover .filter-title i {
    transform: scale(1.1);
}

.toggle-icon {
    color: var(--gray-600);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.filter-group-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 500px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.filter-group-header.collapsed + .filter-options {
    max-height: 0;
    opacity: 0;
    margin-top: -0.5rem;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.85rem 2.75rem 0.85rem 1rem;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-600);
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-box input:focus + i {
    color: var(--gold);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    animation: optionSlide 0.3s ease;
}

@keyframes optionSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.filter-option:hover {
    background: var(--gray-50);
    padding-left: 0.75rem;
}

.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
    background: var(--white);
}

.filter-option:hover .checkmark {
    border-color: var(--gold);
    transform: scale(1.05);
}

.filter-option input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    border-color: var(--gold);
    transform: scale(1.1);
}

.filter-option input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: var(--white);
    font-size: 0.75rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-45deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.filter-option span:last-child {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.85rem 0.75rem;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.price-inputs input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.price-inputs input::placeholder {
    color: var(--gray-600);
    font-weight: 500;
}

.price-inputs span {
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-filter-actions {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--gray-50);
}

.btn-apply-filters {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-apply-filters:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-apply-filters:active {
    transform: translateY(0);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
    min-height: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.products-grid[data-view="list"] {
    grid-template-columns: 1fr;
}

/* ==========================================
   PRODUCT CARD - MODERN WITH ROUNDED IMAGES
   PLUS BUTTON ALWAYS VISIBLE IN TOP RIGHT
   ========================================== */

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: cardFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
    border: 1px solid var(--border);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.2rem;  /* REDUCE from 2rem to 1rem */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

/* PLUS BUTTON - ALWAYS VISIBLE IN TOP RIGHT */
.add-quick-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.85));
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.add-quick-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    border-color: var(--gold);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.add-quick-btn:active {
    transform: scale(0.95) rotate(90deg);
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.5px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-badge i {
    font-size: 0.65rem;
}

.stock-badge.out-of-stock {
    background: rgba(220, 53, 69, 0.08);
    color: var(--danger);
    border-color: rgba(220, 53, 69, 0.2);
}

/* LIST VIEW STYLES */
.products-grid[data-view="list"] .product-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.products-grid[data-view="list"] .product-image-wrapper {
    padding-top: 0;
    height: 200px;
}

.products-grid[data-view="list"] .product-image {
    position: static;
    border-radius: var(--radius);
}

.products-grid[data-view="list"] .add-quick-btn {
    position: static;
    opacity: 1;
}

.products-grid[data-view="list"] .product-card:hover .add-quick-btn {
    transform: scale(1.1) rotate(90deg);
}

/* ==========================================
   LOADING & EMPTY STATES
   ========================================== */

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-100);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--gray-600);
    font-weight: 500;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-600);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-reset:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   PRODUCT MODAL - ROUNDED IMAGES EVERYWHERE
   ========================================== */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: backdropFade 0.3s ease;
}

@keyframes backdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    position: relative;
    max-width: 1100px;
    width: 92%;
    max-height: 92vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(60px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    max-height: 92vh;
    overflow-y: auto;
    padding: 2.5rem;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-main-image-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.modal-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease;
}

.modal-main-image-container:hover .modal-main-image {
    transform: scale(1.05);
}

.modal-thumbnails {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-thumbnail {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: var(--radius);
    padding: 0.75rem;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-thumbnail:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.modal-thumbnail.active {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.modal-details h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.modal-price {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.modal-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.modal-stock.out-of-stock {
    background: rgba(220, 53, 69, 0.08);
    color: var(--danger);
    border-color: rgba(220, 53, 69, 0.2);
}

.modal-description {
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.modal-features {
    margin-bottom: 1.75rem;
}

.modal-features h4 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.modal-features h4 i {
    color: var(--gold);
    font-size: 1.1rem;
}

.modal-features ul {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.modal-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.modal-specs {
    background: linear-gradient(135deg, var(--gray-50), #fafafa);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--border);
}

.modal-specs h4 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.modal-specs h4 i {
    color: var(--gold);
    font-size: 1.1rem;
}

.specs-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.modal-add-to-cart {
    width: 100%;
    padding: 1.35rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.modal-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.modal-add-to-cart:active {
    transform: translateY(-1px);
}

/* ==========================================
   CART PANEL - ROUNDED IMAGES
   ========================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    height: 100vh;
    background: var(--white);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 2px solid var(--border);
    background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.cart-count {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
    font-weight: 600;
}

.cart-close {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cart-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

.empty-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.06));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.empty-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}

.cart-empty p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-empty span {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.cart-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    animation: cartSlide 0.4s ease;
    border: 1px solid var(--border);
}

@keyframes cartSlide {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:hover {
    background: rgba(212, 175, 55, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
}

.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.85rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
}

.qty-btn {
    width: 34px;
    height: 34px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.qty-btn:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: scale(1.15);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-display {
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.remove-btn {
    width: 34px;
    height: 34px;
    background: rgba(220, 53, 69, 0.08);
    border: 2px solid rgba(220, 53, 69, 0.2);
    border-radius: var(--radius-sm);
    color: var(--danger);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
    transform: scale(1.15);
}

.cart-footer {
    padding: 1.75rem;
    border-top: 2px solid var(--border);
    background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    color: var(--gray-600);
    font-weight: 600;
}

.summary-row.total {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
    padding-top: 1.25rem;
    border-top: 2px solid var(--border);
    margin-top: 0.5rem;
}

.summary-row.total span:last-child {
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-checkout {
    width: 100%;
    padding: 1.35rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-checkout:active {
    transform: translateY(-1px);
}

/* ==========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZED
   ========================================== */

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 260px 1fr;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* MOBILE FILTERS SIDEBAR - FIXED X BUTTON */
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 380px;
        height: 100vh;
        z-index: 10001;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    .sidebar-header {
        position: relative;
        padding: 2rem 1.5rem;
    }
    
    .sidebar-header .close-filters {
        display: flex;
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-filter-actions {
        display: block;
    }
    
    /* MOBILE 2-COLUMN GRID */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        animation-delay: 0s !important;
    }
    
    .product-name {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .add-quick-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 10px;
        right: 10px;
    }
    
    .stock-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .controls-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .controls-left {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-toggle-btn {
        justify-content: center;
    }
    
    .controls-right {
        justify-content: space-between;
    }
    
    .cart-panel {
        width: 100%;
        right: -100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .brand-hero {
        padding: 3.5rem 1.5rem 3rem;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 1.75rem 1.25rem;
    }
    
    .modal-main-image-container {
        padding-top: 90%;
    }
    
    .modal-thumbnails {
        gap: 0.65rem;
    }
    
    .modal-thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .modal-details h2 {
        font-size: 1.5rem;
    }
    
    .modal-price {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    /* SMALLER MOBILE - KEEP 2 COLUMNS */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .header-container {
        height: 80px;
    }
    
    .logo-section {
        padding: 0 1rem;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    .header-right {
        padding: 0 1rem;
    }
    
    .action-btn {
        width: 44px;
        height: 44px;
    }
    
    .product-image {
        padding: 1.25rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .add-quick-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        top: 8px;
        right: 8px;
    }
    
    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.55rem 1.25rem;
        letter-spacing: 1px;
    }
    
    .brand-hero {
        padding: 2.5rem 1rem 2rem;
    }
    
    .toast-notification {
        min-width: 280px;
        left: 1rem;
        right: 1rem;
        transform: none;
    }
    
    .toast-notification.show {
        left: 1rem;
        right: 1rem;
        top: 20px;
        transform: none;
    }
    
    .controls-bar {
        padding: 0.85rem;
    }
    
    .filter-toggle-btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
    
    .results-count {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .sort-dropdown select {
        min-width: 150px;
        padding: 0.65rem 2.25rem 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .view-btn {
        width: 36px;
        height: 36px;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }
    
    .cart-panel {
        width: 100%;
    }
}

@media (max-width: 360px) {
    /* EXTRA SMALL SCREENS - STILL 2 COLUMNS */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .product-price {
        font-size: 1.15rem;
    }
    
    .add-quick-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* ==========================================
   SMOOTH SCROLL ENHANCEMENTS
   ========================================== */

@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
