/* ==================== Root Variables ==================== */
/* Design system v2 — palet violet yang lebih dalam & "mahal", plus aksen
   koral hangat sebagai lawan warna (sebelumnya cuma monokrom ungu).
   Latar halaman diberi rona violet yang sangat halus (bukan putih polos)
   supaya kartu putih di atasnya lebih menonjol/berlapis. */
:root {
    --theme-color: #6D4FE0;
    --theme-color-light: #8B72F0;
    --theme-color-dark: #5638B8;
    --accent: #FF6B4A;
    --accent-light: #FF8A6B;
    --bg-primary: #FCFBFF;
    --bg-secondary: #F4F1FB;
    --bg-card: #FFFFFF;
    --text-primary: #16141F;
    --text-secondary: #6B6478;
    --border-color: #EAE6F6;
    --shadow: 0 1px 3px rgba(31, 20, 64, 0.06), 0 1px 2px rgba(31, 20, 64, 0.04);
    --shadow-hover: 0 16px 32px rgba(31, 20, 64, 0.12), 0 4px 8px rgba(31, 20, 64, 0.06);
    --shadow-neon: 0 8px 28px rgba(109, 79, 224, 0.22);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --font-display: 'Sora', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-bs-theme="dark"],
body.dark-theme,
body.dark-mode {
    --bg-primary: #0E0E17;
    --bg-secondary: #16161F;
    --bg-card: #16161F;
    --text-primary: #F5F5F7;
    --text-secondary: #9494A6;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(109, 79, 224, 0.25);
}

[data-bs-theme="light"] {
    --bg-primary: #FCFBFF;
    --bg-secondary: #F4F1FB;
    --bg-card: #FFFFFF;
    --text-primary: #16141F;
    --text-secondary: #6B6478;
    --border-color: #EAE6F6;
}

/* ==================== Global ==================== */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.fw-bold, .fw-semibold,
.navbar-brand, .app-title, .header-logo-text {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

h1, .display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Angka harga & nomor order dipakai font mono - terasa lebih "presisi"/fintech
   dan langsung kebeda dari teks biasa di sekitarnya */
.price-mono, .order-number-mono {
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.dark-theme {
    background: var(--bg-primary);
    color: var(--text-primary);
}

a { 
    color: var(--theme-color); 
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
a:hover { 
    color: var(--theme-color-light); 
}

/* ==================== Scroll-reveal & micro-interactions ==================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-group] > * {
    opacity: 0;
    transform: translateY(14px);
}
[data-reveal-group].is-visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.03s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.21s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.27s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-group] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.btn, button {
    transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active, button:active {
    transform: scale(0.97);
}

/* ==================== Loading Screen ==================== */
#loading-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s;
}
#loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

/* ==================== Card (clean minimal) ==================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

[data-bs-theme="light"] .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.glass-effect {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

/* ==================== Buttons ==================== */
.btn-primary,
.btn-primary-custom {
    background: var(--theme-color);
    border: 1px solid var(--theme-color);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(20, 20, 43, 0.06);
}

.btn-primary:hover,
.btn-primary-custom:hover {
    background: var(--theme-color-dark);
    border-color: var(--theme-color-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(109, 79, 224, 0.25);
    color: white;
}

.btn-outline-primary {
    color: var(--theme-color);
    border-color: var(--theme-color);
    border-radius: var(--radius-sm);
}

.btn-outline-primary:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== APP HEADER (Mobile) ==================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(109, 79, 224, 0.15);
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.header-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.site-name {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    background: rgba(109, 79, 224, 0.15);
    border-color: var(--theme-color);
    color: var(--theme-color);
}

.badge-notification {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    border: 2px solid var(--bg-primary);
    line-height: 1;
}

.badge-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

/* ==================== Main Content ==================== */
.main-content {
    padding: 16px;
    padding-bottom: 100px;
    min-height: calc(100vh - 140px);
}

.dashboard-container {
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Profile Card ==================== */
.profile-card {
    background: linear-gradient(135deg, rgba(109, 79, 224, 0.15) 0%, rgba(124, 114, 239, 0.08) 100%);
    border: 1px solid rgba(109, 79, 224, 0.3);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(109, 79, 224, 0.2);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(109, 79, 224, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(109, 79, 224, 0.25);
    box-shadow: 0 4px 16px rgba(20, 20, 43, 0.10);
}

.avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    border: 3px solid rgba(109, 79, 224, 0.25);
    box-shadow: 0 4px 16px rgba(20, 20, 43, 0.10);
}

.online-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #10B981;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.profile-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.user-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.user-username {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-buyer {
    background: linear-gradient(135deg, rgba(109, 79, 224, 0.2) 0%, rgba(124, 114, 239, 0.2) 100%);
    color: var(--theme-color-light);
    border: 1px solid rgba(109, 79, 224, 0.3);
}

.badge-member {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* ==================== Stats Grid ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(109, 79, 224, 0.1);
    border-color: rgba(109, 79, 224, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 16px;
}

.stat-purple { background: rgba(109, 79, 224, 0.2); color: #6D4FE0; }
.stat-pink { background: rgba(236, 72, 153, 0.2); color: #EC4899; }
.stat-orange { background: rgba(249, 115, 22, 0.2); color: #F97316; }
.stat-green { background: rgba(16, 185, 129, 0.2); color: #10B981; }

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.2;
}

/* ==================== Section Wrapper ==================== */
.section-wrapper {
    margin-bottom: 24px;
}

.section-header {
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.section-title i {
    color: var(--theme-color);
    font-size: 20px;
}

/* ==================== Menu Grid ==================== */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.menu-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 79, 224, 0.1) 0%, rgba(124, 114, 239, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-card:hover {
    transform: translateX(4px);
    border-color: rgba(109, 79, 224, 0.3);
    box-shadow: 0 8px 25px rgba(109, 79, 224, 0.2);
    color: var(--text-primary);
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.purple-gradient { background: linear-gradient(135deg, #6D4FE0 0%, #8B72F0 100%); }
.blue-gradient { background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%); }
.orange-gradient { background: linear-gradient(135deg, #F97316 0%, #FBBF24 100%); }
.pink-gradient { background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%); }
.green-gradient { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }
.yellow-gradient { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); }
.red-gradient { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }

.menu-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.menu-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.menu-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.menu-arrow {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-card:hover .menu-arrow {
    color: var(--theme-color);
    transform: translateX(4px);
}

.logout-card {
    border-color: rgba(239, 68, 68, 0.2);
}

.logout-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.logout-card:hover .menu-arrow {
    color: #EF4444;
}

/* ==================== Bottom Navigation ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    min-width: 60px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--theme-color);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-light) 100%);
    border-radius: 0 0 3px 3px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
}

/* ==================== Hero Section ==================== */
.hero-section {
    background: linear-gradient(135deg, rgba(109, 79, 224, 0.05) 0%, rgba(124, 114, 239, 0.05) 100%);
    padding: 60px 0;
}

/* Signature: soft ambient glow behind the hero copy - a quiet brand texture,
   not a loud gradient blob. Purely decorative, sits behind the content. */
.hero-glow {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(109, 79, 224, 0.16) 0%, rgba(255, 107, 74, 0.08) 45%, transparent 72%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 991.98px) {
    .hero-glow { width: 320px; height: 320px; top: -60px; right: -60px; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--theme-color-dark);
    background: rgba(109, 79, 224, 0.09);
    border: 1px solid rgba(109, 79, 224, 0.18);
    padding: 6px 14px;
    border-radius: 100px;
}

.text-gradient-brand {
    background: linear-gradient(120deg, var(--theme-color) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stat-number {
    font-family: var(--font-mono);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.hero-stat-label {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.hero-icon-decor {
    font-size: 13rem;
    color: var(--theme-color);
    opacity: 0.14;
    animation: heroFloat 6s var(--ease) infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-icon-decor { animation: none; }
}

.cta-brand-section {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-dark) 55%, var(--accent) 130%);
}

/* ==================== Product Card ==================== */
.product-card {
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(109, 79, 224, 0.3);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg-secondary);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-title {
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Category Card ==================== */
.category-card {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: var(--theme-color) !important;
    color: white !important;
    transform: translateY(-4px);
}

.category-card:hover i,
.category-card:hover h6 {
    color: white !important;
}

/* ==================== Forms ==================== */
.form-control,
.form-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: #FFFFFF;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(109, 79, 224, 0.15);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--theme-color-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--theme-color); }

/* ==================== Desktop Navbar ==================== */
.bg-dark-custom {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--theme-color);
}

.search-form {
    max-width: 400px;
    width: 100%;
}

.search-input {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

.search-input:focus {
    background: #FFFFFF !important;
    border-color: var(--theme-color) !important;
    box-shadow: none !important;
}

.btn-search {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color-light) 100%);
    border: none;
    color: white;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    padding: 8px 16px;
}

.btn-search:hover {
    background: linear-gradient(135deg, var(--theme-color-dark) 0%, var(--theme-color) 100%);
}

/* ==================== Dropdown Dark ==================== */
.dropdown-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-dark .dropdown-item {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-dark .dropdown-item:hover {
    background: rgba(109, 79, 224, 0.1);
    color: var(--theme-color);
}

.dropdown-dark .dropdown-divider {
    border-color: var(--border-color);
}

.notif-unread {
    background: rgba(109, 79, 224, 0.05) !important;
    border-left: 3px solid var(--theme-color);
}

/* ==================== Footer Dark ==================== */
.footer-dark {
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.footer-link {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-link:hover {
    color: var(--theme-color) !important;
    transform: translateX(4px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
    transform: translateY(-4px);
}

/* ==================== Flash Messages ==================== */
.flash-container {
    margin-bottom: 16px;
}

.flash-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid;
    animation: slideIn 0.3s ease;
}

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

.flash-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.flash-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.flash-warning {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
    color: #F97316;
}

.flash-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

.flash-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.flash-close:hover {
    opacity: 1;
}

/* ==================== Skeleton Loading ==================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== Dashboard ==================== */
.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

/* ==================== Rating Stars ==================== */
.rating-stars i {
    transition: transform 0.2s;
}

.rating-stars i:hover {
    transform: scale(1.2);
}

/* ==================== Toast Notification ==================== */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s;
    min-width: 250px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-success { border-left: 4px solid #10B981; }
.toast-success i { color: #10B981; }
.toast-error { border-left: 4px solid #EF4444; }
.toast-error i { color: #EF4444; }
.toast-info { border-left: 4px solid #3B82F6; }
.toast-info i { color: #3B82F6; }

/* ==================== Progress Steps ==================== */
.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

/* ==================== Cursor Pointer ==================== */
.cursor-pointer { cursor: pointer; }

/* ==================== Product Description ==================== */
.product-description {
    line-height: 1.8;
    /* FIX: baris baru yang diketik seller (enter/spasi) sekarang beneran
       tampil sebagai baris baru (sebelumnya diabaikan browser & jadi 1
       paragraf raksasa karena teks dicetak sebagai HTML mentah). */
    white-space: pre-line;
    /* FIX: teks panjang tanpa spasi (mis. "teseeeeeeeeee...") sekarang
       tetap terpotong/wrap, tidak lagi bikin halaman melebar ke samping. */
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-description img {
    max-width: 100%;
    border-radius: 8px;
}

/* ==================== Product Description - Lihat Selengkapnya ====================
   Kondisi awal: teks dipotong ke ~6 baris pakai max-height + overflow biasa
   (BUKAN -webkit-line-clamp lagi). -webkit-line-clamp butuh "display:
   -webkit-box" yang di sebagian kombinasi browser/font/emoji terbukti bikin
   karakter emoji hilang/tidak ke-render (itu penyebab laporan "emote hilang"
   sebelumnya) -- max-height biasa tidak pakai box-model aneh itu sama
   sekali, jadi jauh lebih aman untuk teks apapun termasuk emoji. Teks
   preview & teks lengkap berasal dari SATU variabel Jinja yang sama
   (_desc_full) -- tidak ada dua sumber deskripsi berbeda, dan cuma SATU
   yang pernah kelihatan di layar dalam satu waktu (yang lain disembunyikan
   via :has() di bawah), jadi tidak ada duplikasi visual. */
.product-description-preview {
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
    max-height: 175px;
    overflow: hidden;
    position: relative;
}

.product-description-preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--bg-card));
    pointer-events: none;
}

.product-description-full {
    line-height: 1.8;
    white-space: pre-line;
    word-break: break-word;
    overflow-wrap: break-word;
    animation: descFadeIn 0.25s ease;
}

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

/* Dipakai di halaman detail produk. Toggle-nya elemen HTML native
   <details>/<summary> -- expand/collapse bawaan browser, TIDAK butuh
   JavaScript sama sekali, supaya tetap jalan walau ada masalah loading
   JS di sisi hosting. Tampilannya pill kecil di tengah, mirip Shopee.

   PENTING: <summary> WAJIB jadi elemen pertama di dalam <details> (aturan
   HTML, tidak bisa diakali di markup) -- makanya kalau tidak diatur ulang,
   tombolnya nongol DI ATAS teks pas dibuka. Diperbaiki pakai flexbox +
   "order" di bawah: urutan TAMPILAN dibalik jadi teks dulu baru tombol,
   walau di HTML tombolnya tetap duluan. */
.description-details {
    display: flex;
    flex-direction: column;
}

.description-details summary {
    order: 2;
    text-align: center;
    list-style: none;
    cursor: pointer;
}

.description-details .product-description-full {
    order: 1;
}

.description-details summary::-webkit-details-marker,
.description-details summary::marker {
    display: none;
    content: "";
}

/* Preview (6 baris) disembunyikan begitu <details> dibuka, supaya yang
   tampil cuma teks lengkapnya saja -- tidak dobel. :has() didukung
   semua browser modern (Chrome/Edge/Safari/Firefox sejak 2023). */
.product-description-container:has(.description-details[open]) .product-description-preview {
    display: none;
}

.description-toggle-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 12px auto 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 18px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.description-toggle-link:hover,
.description-toggle-link:focus {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
    outline: none;
}

.description-toggle-link i {
    transition: transform 0.2s ease;
}

/* Teks default: "Lihat Selengkapnya" + panah ke bawah. */
.description-details .show-less-text { display: none; }

/* Saat <details> dibuka (browser otomatis tambah atribut [open]):
   teks ganti jadi "Sembunyikan" + panah dibalik ke atas -- murni CSS. */
.description-details[open] .show-more-text { display: none; }
.description-details[open] .show-less-text { display: inline; }
.description-details[open] .description-toggle-link i { transform: rotate(180deg); }


/* ==================== Badge ==================== */
.badge {
    font-weight: 500;
}

/* ==================== Table ==================== */
.table {
    color: var(--text-primary);
}

.table th {
    font-weight: 600;
    background: rgba(109, 79, 224, 0.05);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.table td {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.table-hover tbody tr:hover {
    background: rgba(109, 79, 224, 0.05) !important;
}

/* ==================== Scrollbar Dashboard ==================== */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

/* ==================== Print ==================== */
@media print {
    .navbar, .whatsapp-widget, footer, .btn, .bottom-nav, .app-header { display: none !important; }
}

/* ==================== Accessibility ==================== */
:focus-visible {
    outline: 2px solid var(--theme-color);
    outline-offset: 2px;
}

/* ==================== Animation ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
    animation: fadeIn 0.5s ease;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* ==================== Ripple Effect ==================== */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* ==================== WhatsApp Floating Button ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 60px;
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==================== FIX PROFILE PHOTO & COVER PHOTO ==================== */
.glass-card img.rounded-circle,
.glass-card .rounded-circle img,
.glass-card img[style*="object-fit: cover"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    background-color: transparent !important;
    position: relative !important;
    z-index: 10 !important;
}

.rounded-circle.border-white {
    background-color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    position: relative !important;
    z-index: 10 !important;
}

.position-relative.mb-4 img {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    position: relative !important;
    z-index: 5 !important;
}

#profilePreview img,
#coverPreview img,
#avatarPreview img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    filter: none !important;
}

.profile-photo,
.cover-photo,
.avatar-circle {
    position: relative !important;
    overflow: hidden !important;
    background-color: #f8f9fa !important;
}

.profile-photo:hover img,
.cover-photo:hover img,
.avatar-circle:hover img,
.rounded-circle:hover img {
    opacity: 1 !important;
}

.glass-card .profile-photo,
.glass-card .cover-photo,
.glass-card .avatar-circle {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.glass-card:hover img.rounded-circle,
.glass-card:hover img[style*="object-fit: cover"] {
    transform: none !important;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .hero-section { padding: 30px 0; }
    .hero-section h1 { font-size: 2rem; }
    
    .whatsapp-float {
        bottom: 90px;
        right: 16px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        line-height: 55px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .user-avatar,
    .avatar-placeholder {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .user-name {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    .app-header {
        display: none !important;
    }
    
    .main-content {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .menu-card {
        padding: 14px;
    }
    
    .menu-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .menu-title {
        font-size: 15px;
    }
    
    .menu-subtitle {
        font-size: 12px;
    }
}

/* ==================== Dark Mode Legacy Support ==================== */
body.dark-mode {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-mode .navbar {
    background-color: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .navbar-brand,
body.dark-mode .nav-link {
    color: var(--text-primary) !important;
}

body.dark-mode .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--theme-color);
    color: var(--text-primary);
}

body.dark-mode .table {
    color: var(--text-primary);
}

body.dark-mode .table-hover tbody tr:hover {
    background-color: rgba(109, 79, 224, 0.05);
}

body.dark-mode .btn-outline-primary {
    color: var(--theme-color);
    border-color: var(--theme-color);
}

body.dark-mode .btn-outline-primary:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

body.dark-mode footer {
    background-color: var(--bg-card) !important;
}

body.dark-mode .text-muted {
    color: var(--text-secondary) !important;
}

body.dark-mode .badge {
    background-color: rgba(109, 79, 224, 0.2);
    color: var(--text-primary);
}

body.dark-mode .rounded-circle.border-white {
    background-color: var(--bg-primary) !important;
    border-color: var(--bg-primary) !important;
}

/* FIX UTAMA MODE GELAP: navbar desktop, header mobile, dan bottom nav
   sebelumnya pakai warna putih transparan yang DI-HARDCODE (rgba(255,255,255,..))
   bukan variabel tema -- jadi tetap putih terang walau mode gelap aktif.
   Ini kemungkinan besar yang bikin mode gelap kelihatan "tidak berfungsi". */
body.dark-mode .glass-navbar,
body.dark-mode .app-header,
body.dark-mode .bottom-nav,
body.dark-mode .bg-dark-custom {
    background: rgba(22, 22, 31, 0.92) !important;
}

/* FIX: kartu produk pakai class Bootstrap "text-dark" yang memaksa teks jadi
   hitam/gelap -- di light mode ini normal, tapi di dark mode bikin judul
   produk & teks lain di dalam kartu jadi nyaris tidak kebaca (teks gelap di
   atas kartu yang background-nya juga sudah gelap lewat .glass-card). */
body.dark-mode a.text-dark {
    color: var(--text-primary) !important;
}

body.dark-mode .product-card,
body.dark-mode .category-card {
    background: var(--bg-card);
}

/* FIX: section yang pakai class Bootstrap "bg-light" (Produk Unggulan,
   Produk Populer) sebelumnya tetap terang walau mode gelap aktif, bikin
   halaman kelihatan "belang" -- setengah gelap setengah putih. */
body.dark-mode .bg-light {
    background-color: var(--bg-secondary) !important;
}

/* FIX: dropdown menu (notifikasi, akun user) masih putih polos di dark mode,
   kontras aneh dengan navbar gelap di sekitarnya. */
body.dark-mode .dropdown-menu {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

body.dark-mode .dropdown-item {
    color: var(--text-primary);
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background-color: rgba(109, 79, 224, 0.12);
    color: var(--text-primary);
}

body.dark-mode .dropdown-header {
    color: var(--text-secondary);
}

body.dark-mode .dropdown-divider {
    border-color: var(--border-color);
}

/* FIX: modal (popup konfirmasi, form dalam modal) juga masih putih polos */
body.dark-mode .modal-content {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    border-color: var(--border-color);
}

/* FIX: pagination (nomor halaman) di search/marketplace masih putih polos */
body.dark-mode .page-link {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .page-item.active .page-link {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}

body.dark-mode .page-item.disabled .page-link {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

/* FIX: offcanvas menu (hamburger mobile) masih putih polos */
body.dark-mode .offcanvas {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .sidebar-link {
    color: var(--text-primary);
}

/* Alert tetap pakai warna Bootstrap standar (bg-warning, bg-danger, dst)
   supaya makna warnanya tidak berubah, tapi teksnya perlu tetap gelap
   sedikit supaya kontras terjaga di atas warna-warna terang itu -- jadi
   sengaja TIDAK di-override di sini. */

/* ==================== Light Mode Support ==================== */
body.light-mode {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E5E7EB;
}

body.light-mode .app-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #E5E7EB;
}

body.light-mode .bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #E5E7EB;
}

body.light-mode .hamburger-btn,
body.light-mode .icon-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: #E5E7EB;
    color: #1F2937;
}

body.light-mode .menu-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #E5E7EB;
}

body.light-mode .stat-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: #E5E7EB;
}
/* ==================== Wishlist Button ==================== */
.wishlist-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 20, 35, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.wishlist-btn:hover {
    transform: scale(1.08);
    background: rgba(15, 20, 35, 0.8);
}

.wishlist-btn:active {
    transform: scale(0.95);
}

.wishlist-btn.active {
    color: #F43F5E;
}

.wishlist-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wishlist-btn-wide {
    width: auto;
    height: auto;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: none;
}

.wishlist-btn-wide:hover {
    border-color: #F43F5E;
    color: #F43F5E;
    background: rgba(244, 63, 94, 0.08);
    transform: none;
}

.wishlist-btn-wide.active {
    border-color: #F43F5E;
    color: #F43F5E;
    background: rgba(244, 63, 94, 0.08);
}

/* ==================== Premium Polish: Cards & Buttons ==================== */
.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: var(--radius-sm);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* Smooth skeleton-style image fade-in */
.product-card img {
    transition: opacity 0.3s ease;
}
