:root {
    /* Color Palette - Kopi Manten Modern Dark */
    --bg-dark: #0A0A0A;
    --surface: #1E1E1E;
    --primary: #FF7A00; /* Vibrant Orange from the IG menu */
    --primary-light: #FF9E4D;
    --accent: #FFFFFF;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    
    /* UI Tokens */
    --glass: rgba(30, 30, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Layout */
#app {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

@media (max-width: 900px) {
    #app {
        grid-template-columns: 1fr;
    }
    .sidebar { display: none; } /* Mobile will use bottom nav or top header */
}

/* Sidebar */
.sidebar {
    background: #000;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
}

.logo-section {
    margin-bottom: 50px;
    text-align: center;
}

.logo-link {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
    display: block;
}

.logo-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-top: 5px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: var(--primary);
    color: #fff;
}

/* Main Content */
.main-content {
    padding: 40px;
    background: var(--bg-dark);
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
}

/* Product Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.buy-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.buy-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Tabs */
.filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.filter-btn {
    white-space: nowrap;
    padding: 10px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Floating Cart */
.cart-drawer {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 350px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-heavy);
    z-index: 1000;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 25px;
    border-radius: 24px;
}

.cart-drawer.visible {
    transform: translateY(0);
}

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}
