/* =====================================================
   Barengin Store - Modern Professional Stylesheet
   Cyan/Tosca Branding Theme (Fixed Slider Gap)
   ===================================================== */

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
    /* Navbar Heights for Slider Gap Fix */
    --nav-h: 64px;

    /* Primary Colors - Cyan/Tosca */
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --primary-bg: rgba(8, 145, 178, 0.1);
    
    /* Secondary Colors */
    --secondary: #22d3ee;
    --secondary-dark: #0891b2;
    --secondary-light: #67e8f9;
    
    /* Neutral Colors */
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    
    /* Status Colors */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --info: #06b6d4;
    --info-bg: rgba(6, 182, 212, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
    --gradient-navbar: linear-gradient(135deg, #ffffff 0%, #ecfeff 40%, #06b6d4 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transitions & Fonts */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =====================================================
   Base Styles
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-100);
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--gradient-navbar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.navbar.scrolled {
    background: linear-gradient(135deg, #f0fdfa 0%, #67e8f9 50%, #06b6d4 100%);
    box-shadow: 0 4px 25px rgba(6, 182, 212, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--nav-h);
    gap: 12px;
}

.nav-logo, .nav-logo span, .nav-logo .site-name { color: #0e7490 !important; font-weight: 800; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; min-width: 0; flex: 0 1 auto; }
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.nav-logo span, .nav-logo .site-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }

.nav-link {
    display: flex; align-items: center; gap: 8px; padding: 10px 18px;
    color: #0891b2 !important; font-weight: 600; border-radius: var(--radius-full);
    transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: #0e7490 !important; background: rgba(6, 182, 212, 0.15); }

.nav-user {
    display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px;
    background: rgba(6, 182, 212, 0.1); border-radius: var(--radius-full);
    color: #0e7490 !important; transition: var(--transition); border: 2px solid rgba(6, 182, 212, 0.2);
}
.nav-user:hover { background: rgba(6, 182, 212, 0.2); border-color: var(--primary); }
.nav-user img { width: 36px; height: 36px; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--primary); }
.nav-user span { font-weight: 600; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user i { font-size: 0.75rem; color: var(--primary); }

.nav-icon {
    position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    color: #0891b2 !important; border-radius: var(--radius-full); transition: var(--transition);
}
.nav-icon:hover { color: #0e7490 !important; background: rgba(6, 182, 212, 0.15); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn-outline { color: #0891b2 !important; border-color: rgba(6, 182, 212, 0.4) !important; font-weight: 600; }
.nav-actions .btn-outline:hover { background: rgba(6, 182, 212, 0.1); border-color: var(--primary) !important; color: #0e7490 !important; }
.nav-actions .btn-primary { background: var(--gradient-primary) !important; color: var(--white) !important; font-weight: 700; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4); }
.nav-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5); }

.dropdown-menu {
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px;
    background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition);
    overflow: hidden; border: 1px solid rgba(6, 182, 212, 0.2);
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--gray-700); font-weight: 500; transition: var(--transition); }
.dropdown-menu a:hover { background: rgba(6, 182, 212, 0.1); color: var(--primary); }
.dropdown-menu a.logout { border-top: 1px solid var(--gray-200); color: var(--danger); }
.dropdown-menu a.logout:hover { background: var(--danger-bg); }

.nav-toggle { display: none; width: 44px; height: 44px; color: #0891b2 !important; font-size: 1.25rem; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link .badge, .nav-icon .badge { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--danger); color: var(--white); font-size: 0.7rem; font-weight: 700; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.nav-dropdown { position: relative; }

/* =====================================================
   TOP SLIDER AREA (FINAL FIX UNTUK STICKY NAVBAR)
   ===================================================== */
/* 1. Matikan semua padding/margin bawaan pembungkus */
main, .main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 2. Karena navbar 'sticky', margin & padding slider dinolkan saja */
.top-slider-area {
    margin: 0 !important; 
    padding: 0 !important;
    
    /* Paksa full width membongkar container */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    
    background: var(--gradient-hero);
    z-index: 1;
    overflow: hidden;
}

.hero-top-slider-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-top-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 3. Perbaikan Flexbox agar gambar tidak terpotong / menumpuk */
.hero-top-slider-track {
    display: flex;
    flex-wrap: nowrap !important;
    width: 100%;
    transition: transform 0.5s ease;
}

.hero-top-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100%;
    position: relative;
}

.hero-top-slide-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.hero-top-media {
    width: 100%;
    height: auto; /* Ini kunci agar gambar proporsional utuh */
    display: block;
}

/* Posisi Titik Slider */
.hero-top-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 6;
}

.hero-top-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.hero-top-dot.active {
    width: 24px;
    background: #ffffff;
    border-radius: 4px;
}

/* =====================================================
   Hero Section - Jahit Rapat dengan Slider
   ===================================================== */
.hero {
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 30px !important;
    padding-bottom: 80px !important;
    margin-top: -1px !important; /* Menjahit agar tidak ada bocor pixel putih */
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particle {
    position: absolute; width: 6px; height: 6px; background: var(--primary);
    border-radius: 50%; opacity: 0.3; animation: float 15s infinite ease-in-out;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(10px); }
    50% { transform: translateY(-15px) translateX(-10px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

.hero-content {
    position: relative; z-index: 1; max-width: 1400px; margin: 0 auto;
    padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-text { color: var(--white); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(6, 182, 212, 0.2); border: 1px solid rgba(6, 182, 212, 0.3); border-radius: var(--radius-full); font-size: 0.9rem; margin-bottom: 24px; backdrop-filter: blur(10px); }
.hero-badge i { color: var(--warning); }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.hero-title span { background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 40px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; }
.hero-stat { text-align: left; }
.hero-stat-value { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.hero-visual { position: relative; }
.hero-cards { position: relative; width: 100%; height: 500px; }
.hero-card { position: absolute; background: rgba(6, 182, 212, 0.15); backdrop-filter: blur(20px); border: 1px solid rgba(6, 182, 212, 0.3); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.hero-card:nth-child(1) { width: 280px; top: 0; left: 50%; transform: translateX(-50%); animation: floatCard1 6s ease-in-out infinite; }
.hero-card:nth-child(2) { width: 260px; top: 140px; left: 0; animation: floatCard2 6s ease-in-out infinite; }
.hero-card:nth-child(3) { width: 260px; top: 140px; right: 0; animation: floatCard3 6s ease-in-out infinite; }
.hero-card:nth-child(4) { width: 300px; bottom: 0; left: 50%; transform: translateX(-50%); animation: floatCard4 6s ease-in-out infinite; }

@keyframes floatCard1 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes floatCard2 { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-15px) rotate(-3deg); } }
@keyframes floatCard3 { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes floatCard4 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

.hero-card-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); margin-bottom: 16px; overflow: hidden; }
.hero-card-icon img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.hero-card-icon svg { width: 32px; height: 32px; }
.hero-card-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.hero-card-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }

/* =====================================================
   Buttons
   ===================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius); transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5); }
.btn-secondary { background: var(--gradient-secondary); color: var(--white); box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(34, 211, 238, 0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-soft); }
.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* =====================================================
   Form Elements
   ===================================================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--gray-700); }
.form-control { width: 100%; padding: 14px 18px; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; color: var(--gray-800); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-bg); }
.form-control::placeholder { color: var(--gray-500); }
.form-control.error { border-color: var(--danger); }
.form-error { margin-top: 6px; font-size: 0.85rem; color: var(--danger); }
.form-hint { margin-top: 6px; font-size: 0.85rem; color: var(--gray-500); }
.input-group { position: relative; }
.input-group .form-control { padding-left: 48px; }
.input-group-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-500); }
.input-group-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 48px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; }
.file-upload { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; padding: 40px; background: var(--gray-100); border: 2px dashed var(--gray-300); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); }
.file-upload:hover { border-color: var(--primary); background: var(--primary-bg); }
.file-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-upload i { font-size: 3rem; color: var(--gray-400); margin-bottom: 16px; }
.file-upload p { color: var(--gray-600); text-align: center; }
.file-upload span { color: var(--primary); font-weight: 600; }

/* =====================================================
   Cards & Sections
   ===================================================== */
.card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-200); }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; background: var(--gray-100); border-top: 1px solid var(--gray-200); }

.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--primary-bg); color: var(--primary); font-size: 0.85rem; font-weight: 700; border-radius: var(--radius-full); margin-bottom: 16px; }
.section-title { font-size: 2.5rem; font-weight: 800; color: var(--gray-800); margin-bottom: 16px; line-height: 1.2; }
.section-desc { font-size: 1.1rem; color: var(--gray-600); }

.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card { background: var(--white); padding: 32px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; border: 2px solid transparent; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.category-card:hover .category-icon { background: var(--gradient-primary); color: var(--white); transform: scale(1.1); }
.category-icon { width: 70px; height: 70px; background: var(--primary-bg); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.75rem; color: var(--primary); transition: var(--transition); }
.category-name { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.category-count { font-size: 0.9rem; color: var(--gray-500); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { text-align: center; padding: 40px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2rem; color: var(--white); }
.feature-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-800); margin-bottom: 12px; }
.feature-desc { color: var(--gray-600); line-height: 1.7; }

/* =====================================================
   Auth Pages
   ===================================================== */
.auth-page { min-height: 100vh; display: flex; }
.auth-left { flex: 1; background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%); display: flex; align-items: center; justify-content: center; padding: 60px; position: relative; overflow: hidden; }
.auth-left::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.4) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.3) 0%, transparent 50%); }
.auth-banner { position: relative; z-index: 1; max-width: 480px; text-align: center; color: var(--white); }
.auth-banner-logo { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 2rem; font-weight: 800; margin-bottom: 40px; }
.auth-banner-logo i { font-size: 2.5rem; background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-banner h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.auth-banner p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; }
.auth-features { display: flex; flex-direction: column; gap: 20px; }
.auth-feature { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: rgba(6, 182, 212, 0.15); border-radius: var(--radius); backdrop-filter: blur(10px); }
.auth-feature i { width: 40px; height: 40px; background: var(--gradient-primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.auth-feature span { font-weight: 500; }
.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px; background: var(--white); }
.auth-form-container { width: 100%; max-width: 440px; }
.auth-form-header { margin-bottom: 40px; }
.auth-form-header h1 { font-size: 2rem; font-weight: 800; color: var(--gray-800); margin-bottom: 10px; }
.auth-form-header p { color: var(--gray-600); }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--gray-500); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-form-footer { text-align: center; margin-top: 24px; color: var(--gray-600); }
.auth-form-footer a { color: var(--primary); font-weight: 600; }
.auth-form-footer a:hover { text-decoration: underline; }

/* =====================================================
   Admin Dashboard & Tables
   ===================================================== */
.admin-layout { display: flex; min-height: 100vh; padding-top: var(--nav-h); }
.admin-sidebar { width: 280px; background: var(--dark); color: var(--white); position: fixed; top: var(--nav-h); left: 0; bottom: 0; padding: 24px 0; overflow-y: auto; z-index: 100; }
.sidebar-menu { padding: 0 16px; }
.sidebar-label { padding: 16px 16px 8px; font-size: 0.75rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.sidebar-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--gray-400); font-weight: 500; border-radius: var(--radius); margin-bottom: 4px; transition: var(--transition); }
.sidebar-link:hover { background: rgba(6, 182, 212, 0.1); color: var(--white); }
.sidebar-link.active { background: var(--gradient-primary); color: var(--white); }
.sidebar-link i { width: 24px; font-size: 1.1rem; }
.sidebar-link .badge { margin-left: auto; padding: 4px 8px; background: var(--danger); color: var(--white); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); }
.admin-content { flex: 1; margin-left: 280px; padding: 32px; background: var(--gray-100); min-height: calc(100vh - var(--nav-h)); }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-title { font-size: 1.75rem; font-weight: 800; color: var(--gray-800); }
.admin-subtitle { color: var(--gray-600); margin-top: 4px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.stat-card { background: var(--white); padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow); position: relative; overflow: hidden; border: 2px solid transparent; transition: var(--transition); }
.stat-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.danger::before { background: var(--danger); }
.stat-icon { width: 50px; height: 50px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }
.stat-card.primary .stat-icon { background: var(--primary-bg); color: var(--primary); }
.stat-card.success .stat-icon { background: var(--success-bg); color: var(--success); }
.stat-card.warning .stat-icon { background: var(--warning-bg); color: var(--warning); }
.stat-card.danger .stat-icon { background: var(--danger-bg); color: var(--danger); }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--gray-800); margin-bottom: 4px; }
.stat-label { color: var(--gray-600); font-size: 0.95rem; }
.stat-change { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 4px 8px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; }
.stat-change.up { background: var(--success-bg); color: var(--success); }
.stat-change.down { background: var(--danger-bg); color: var(--danger); }

.table-container { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; }
.table-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--gray-200); }
.table-title { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); }
.table-actions { display: flex; gap: 12px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 16px 24px; text-align: left; }
.data-table th { background: var(--gray-100); font-weight: 600; color: var(--gray-700); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table tr { border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
.data-table tbody tr:hover { background: var(--primary-bg); }
.data-table td { color: var(--gray-700); }
.table-product { display: flex; align-items: center; gap: 14px; }
.table-product img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius); background: var(--gray-200); }
.table-product-info h4 { font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.table-product-info span { font-size: 0.85rem; color: var(--gray-500); }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; }
.status-badge.pending { background: var(--warning-bg); color: var(--warning); }
.status-badge.completed, .status-badge.paid { background: var(--success-bg); color: var(--success); }
.status-badge.cancelled, .status-badge.failed { background: var(--danger-bg); color: var(--danger); }
.status-badge.processing { background: var(--info-bg); color: var(--info); }
.action-btns { display: flex; gap: 8px; }
.action-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); transition: var(--transition); }
.action-btn.view { background: var(--info-bg); color: var(--info); }
.action-btn.edit { background: var(--warning-bg); color: var(--warning); }
.action-btn.delete { background: var(--danger-bg); color: var(--danger); }
.action-btn:hover { transform: scale(1.1); }
.chart-container { background: var(--white); padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chart-title { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); }

/* =====================================================
   Chat Section
   ===================================================== */
.chat-container { display: flex; height: calc(100vh - 200px); min-height: 500px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; }
.chat-sidebar { width: 320px; border-right: 1px solid var(--gray-200); display: flex; flex-direction: column; }
.chat-sidebar-header { padding: 20px; border-bottom: 1px solid var(--gray-200); }
.chat-search { position: relative; }
.chat-search input { width: 100%; padding: 12px 16px 12px 44px; background: var(--gray-100); border: none; border-radius: var(--radius-full); font-size: 0.95rem; }
.chat-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-500); }
.chat-list { flex: 1; overflow-y: auto; }
.chat-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--gray-100); }
.chat-item:hover, .chat-item.active { background: var(--primary-bg); }
.chat-item-avatar { position: relative; }
.chat-item-avatar img { width: 48px; height: 48px; border-radius: var(--radius-full); object-fit: cover; }
.chat-item-avatar .online { position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; background: var(--success); border: 2px solid var(--white); border-radius: 50%; }
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.chat-item-message { font-size: 0.9rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-meta { text-align: right; }
.chat-item-time { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 4px; }
.chat-item-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; background: var(--primary); color: var(--white); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); }
.chat-main { flex: 1; display: flex; flex-direction: column; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--gray-200); }
.chat-user { display: flex; align-items: center; gap: 14px; }
.chat-user img { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; }
.chat-user-name { font-weight: 600; color: var(--gray-800); }
.chat-user-status { font-size: 0.85rem; color: var(--success); }
.chat-actions { display: flex; gap: 8px; }
.chat-messages { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.message { max-width: 70%; display: flex; flex-direction: column; }
.message.sent { align-self: flex-end; }
.message.received { align-self: flex-start; }
.message-content { padding: 14px 18px; border-radius: var(--radius-lg); font-size: 0.95rem; line-height: 1.5; }
.message.sent .message-content { background: var(--gradient-primary); color: var(--white); border-bottom-right-radius: 4px; }
.message.received .message-content { background: var(--gray-100); color: var(--gray-800); border-bottom-left-radius: 4px; }
.message-time { font-size: 0.75rem; color: var(--gray-500); margin-top: 6px; padding: 0 4px; }
.message.sent .message-time { text-align: right; }
.chat-input { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--gray-200); }
.chat-input-wrapper { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: var(--gray-100); border-radius: var(--radius-full); }
.chat-input-wrapper input { flex: 1; padding: 8px 0; background: none; border: none; outline: none; font-size: 0.95rem; }
.chat-input-wrapper button { color: var(--gray-500); font-size: 1.1rem; transition: var(--transition); }
.chat-input-wrapper button:hover { color: var(--primary); }
.chat-send-btn { width: 48px; height: 48px; background: var(--gradient-primary); color: var(--white); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.chat-send-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-cyan); }

/* =====================================================
   Modal & Flash Messages
   ===================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow: hidden; transform: translateY(-20px); transition: var(--transition); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--gray-200); }
.modal-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-800); }
.modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); border-radius: var(--radius); transition: var(--transition); }
.modal-close:hover { background: var(--gray-100); color: var(--gray-800); }
.modal-body { padding: 24px; max-height: calc(90vh - 160px); overflow-y: auto; }
.modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--gray-200); }

.flash-message { position: fixed; top: 90px; right: 24px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1500; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
.flash-message i { font-size: 1.25rem; }
.flash-success { border-left: 4px solid var(--success); }
.flash-success i { color: var(--success); }
.flash-error { border-left: 4px solid var(--danger); }
.flash-error i { color: var(--danger); }
.flash-info { border-left: 4px solid var(--info); }
.flash-info i { color: var(--info); }
.flash-message button { color: var(--gray-500); transition: var(--transition); }
.flash-message button:hover { color: var(--gray-800); }

/* =====================================================
   Scroll to Top & WhatsApp
   ===================================================== */
.scroll-top { position: fixed; bottom: 100px; right: 24px; width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 100; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: #25D366; color: var(--white); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); z-index: 100; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.whatsapp-float:hover { transform: scale(1.1); }

/* =====================================================
   Footer - Cyan Theme
   ===================================================== */
.footer { background: var(--dark); color: var(--white); }
.footer-top { padding: 80px 0 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.footer-col h3 i { background: linear-gradient(135deg, #22d3ee 0%, #67e8f9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col p { color: var(--gray-400); line-height: 1.7; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--gray-400); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 8px; }
.footer-col .contact-info li { display: flex; align-items: center; gap: 12px; color: var(--gray-400); }
.footer-col .contact-info li i { color: var(--primary); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 44px; height: 44px; background: rgba(6, 182, 212, 0.15); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); transition: var(--transition); border: 1px solid rgba(6, 182, 212, 0.3); }
.social-links a:hover { background: var(--gradient-primary); transform: translateY(-4px); border-color: transparent; }
.footer-bottom { padding: 24px 0; border-top: 1px solid rgba(6, 182, 212, 0.2); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: var(--gray-500); }
.payment-methods { display: flex; align-items: center; gap: 12px; color: var(--gray-500); }
.payment-methods img { height: 24px; }

/* =====================================================
   Utilities & Extra Sections
   ===================================================== */
.text-center { text-align: center; } .text-right { text-align: right; } .text-primary { color: var(--primary); } .text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); } .text-muted { color: var(--gray-500); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .w-100 { width: 100%; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.page-link { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: var(--white); color: var(--gray-700); font-weight: 500; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); border: 2px solid transparent; }
.page-link:hover { background: var(--primary-bg); color: var(--primary); border-color: var(--primary); }
.page-link.active { background: var(--gradient-primary); color: var(--white); }
.page-link.disabled { opacity: 0.5; cursor: not-allowed; }

.broadcast-toast { position: fixed; bottom: 100px; right: 20px; z-index: 9999; transform: translateX(calc(100% + 20px)); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.broadcast-toast.show { transform: translateX(0); }
.broadcast-content { display: flex; align-items: center; gap: 15px; background: var(--gradient-primary); color: white; padding: 16px 20px; border-radius: 16px; box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4); min-width: 320px; max-width: 400px; animation: slideInRight 0.4s ease, pulseGlow 2s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4); } 50% { box-shadow: 0 15px 50px rgba(6, 182, 212, 0.6); } }
.broadcast-icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.broadcast-text { flex: 1; }
.broadcast-text strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.broadcast-text p { font-size: 0.85rem; opacity: 0.95; margin: 0; line-height: 1.4; }
.broadcast-close { background: rgba(255, 255, 255, 0.15); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; flex-shrink: 0; }
.broadcast-close:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.1); }

/* =====================================================
   MODERN PRODUCTS PAGE
   ===================================================== */
.products-page { padding-top: 90px; padding-bottom: 80px; min-height: 100vh; background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%); }
.page-hero { text-align: center; padding: 40px 0 30px; }
.page-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--gray-800); margin-bottom: 8px; letter-spacing: -0.02em; }
.page-subtitle { font-size: 1rem; color: var(--gray-500); }
.category-pills-wrapper { position: relative; margin-bottom: 24px; overflow: hidden; }
.category-pills-wrapper::before, .category-pills-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 1; pointer-events: none; }
.category-pills-wrapper::before { left: 0; background: linear-gradient(90deg, var(--gray-100), transparent); }
.category-pills-wrapper::after { right: 0; background: linear-gradient(-90deg, var(--gray-100), transparent); }
.category-pills { display: flex; gap: 10px; padding: 4px 0; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.category-pills::-webkit-scrollbar { display: none; }
.category-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; transition: all 0.2s ease; flex-shrink: 0; }
.category-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.category-pill.active { background: var(--gradient-primary); border-color: transparent; color: var(--white); box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35); }
.controls-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 24px; flex-wrap: wrap; }
.controls-left, .controls-right { display: flex; align-items: center; gap: 12px; }
.search-box { position: relative; width: 280px; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: 0.9rem; }
.search-box input { width: 100%; padding: 10px 14px 10px 40px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 0.9rem; transition: all 0.2s ease; }
.search-box input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-bg); }
.sort-select { padding: 10px 40px 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; color: var(--gray-700); background: var(--white); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; min-width: 180px; }
.products-wrapper { display: grid; grid-template-columns: 260px 1fr; gap: 30px; }
.filter-sidebar { position: sticky; top: 100px; height: fit-content; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.filter-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--gray-200); }
.filter-header h3 { font-size: 1rem; font-weight: 700; color: var(--gray-800); display: flex; align-items: center; gap: 10px; }
.filter-body { padding: 20px; max-height: calc(100vh - 300px); overflow-y: auto; }
.filter-section { margin-bottom: 24px; }
.filter-title { font-size: 0.85rem; font-weight: 700; color: var(--gray-700); text-transform: uppercase; margin-bottom: 12px; }

.products-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card-modern { position: relative; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); border: 2px solid var(--gray-200); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card-modern:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15); border-color: var(--primary); }
.product-badges { position: absolute; top: 12px; left: 12px; z-index: 10; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 5px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.badge-hot { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); color: var(--white); }
.badge-sale { background: var(--success); color: var(--white); }
.product-image-wrapper { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-image-bg { width: 100%; height: 100%; background: var(--gradient-hero); display: flex; align-items: center; justify-content: center; transition: transform 0.5s ease; }
.product-card-modern:hover .product-image-bg { transform: scale(1.05); }
.product-image-bg img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(6, 182, 212, 0.3)); }
.product-content { padding: 20px; }
.product-category-tag { display: inline-block; padding: 4px 10px; background: var(--primary-bg); color: var(--primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; border-radius: var(--radius-full); margin-bottom: 10px; transition: all 0.2s ease; }
.product-category-tag:hover { background: var(--primary); color: var(--white); }
.product-name { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.price-current { font-size: 1.15rem; font-weight: 800; color: var(--primary); }

/* =====================================================
   RESPONSIVE DESIGN (Termasuk Slider Mobile Fix)
   ===================================================== */
@media (max-width: 1200px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-description { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: 1; }
    .hero-cards { height: 300px; }
    .products-grid, .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.active { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .chat-sidebar { display: none; }
    .chat-sidebar.active { display: flex; position: absolute; z-index: 10; width: 100%; }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 12px; height: var(--nav-h); gap: 10px; }
    .nav-logo { font-size: 1.1rem; gap: 8px; }
    .nav-logo img { height: 32px; }
    .nav-logo span, .nav-logo .site-name { max-width: 100px; font-size: 0.95rem; }
    .nav-actions { gap: 8px; }
    .nav-actions .btn { padding: 8px 12px; font-size: 0.85rem; border-radius: 10px; }
    .nav-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--gradient-hero); flex-direction: column; padding: 24px; gap: 8px; transform: translateX(-100%); transition: var(--transition); z-index: 1500; }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu .nav-link { color: rgba(255, 255, 255, 0.9) !important; }
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--white) !important; background: rgba(6, 182, 212, 0.2); }
    .nav-toggle { display: flex; width: 38px; height: 38px; }
    .nav-user span { display: none; }
    .nav-user img { width: 34px; height: 34px; }
    .nav-icon { width: 38px; height: 38px; }
    
    .hero { padding: 30px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-cards { display: none; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.75rem; }
    .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .features-grid, .stats-grid { grid-template-columns: 1fr; }
    .auth-page { flex-direction: column; }
    .auth-left { display: none; }
    .auth-right { padding: 40px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom .container { flex-direction: column; gap: 16px; text-align: center; }
    .products-wrapper { display: block; }
    .filter-sidebar { position: fixed; bottom: 0; left: 0; right: 0; top: auto; z-index: 1001; border-radius: var(--radius-xl) var(--radius-xl) 0 0; transform: translateY(100%); transition: transform 0.3s ease; }
    .filter-sidebar.active { transform: translateY(0); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 20px; }
    .category-icon { width: 50px; height: 50px; font-size: 1.25rem; }
}