/* ===============================================
   VARIABLES & RESET
   =============================================== */
:root {
    --primary-orange: #FF6B00;
    --primary-orange-dark: #E65100;
    --primary-red: #DC2626;
    --primary-red-dark: #B91C1C;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0,0,0,0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===============================================
   NAVBAR - Modern Sticky dengan Glassmorphism
   =============================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 5%;
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.logo span {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-orange);
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    background: transparent;
}

.btn-login:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-register {
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.75rem;
    color: var(--primary-orange);
    transition: var(--transition);
}

.hamburger:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* ===============================================
   HERO SECTION - Modern dengan Overlay Gradient
   =============================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-red) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 5%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
    animation: wave 10s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 1440px 0; }
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content h1 span {
    display: block;
    font-size: 3rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 500px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-primary i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* ===============================================
   PRODUCTS SECTION - Grid Modern seperti ShopeeFood
   =============================================== */
.products-section {
    padding: 5rem 5%;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
    border-radius: var(--border-radius-full);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-200);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.stars i {
    margin-right: 2px;
}

.rating-count {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price::before {
    content: 'Rp';
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
}

.btn-add-cart {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    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;
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    transform: scale(0.98);
    box-shadow: var(--shadow-lg);
}

.btn-add-cart i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-add-cart:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ===============================================
   PROMO SECTION - Modern dengan Countdown Timer
   =============================================== */
.promo-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    padding: 5rem 5%;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.promo-text {
    flex: 1;
}

.promo-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.promo-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.promo-timer {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.timer-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-item span {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.timer-item small {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-promo {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.promo-image {
    flex: 1;
    text-align: center;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

/* ===============================================
   FOOTER - Modern dengan Grid
   =============================================== */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 5rem 5% 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
    border-radius: var(--border-radius-full);
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
}

.footer-section ul li i {
    color: var(--primary-orange);
    width: 20px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ===============================================
   MODAL - Modern dengan Animasi
   =============================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
}

.modal-close:hover {
    color: var(--primary-red);
    background: var(--gray-200);
    transform: rotate(90deg);
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    font-size: 1.75rem;
    font-weight: 700;
}

.modal h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-red));
    margin-top: 0.5rem;
    border-radius: var(--border-radius-full);
}

/* ===============================================
   FORM STYLES
   =============================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--gray-400);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===============================================
   DASHBOARD ADMIN - Modern
   =============================================== */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: var(--gray-100);
}

.admin-sidebar {
    width: 300px;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 100;
}

.admin-logo {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo h2 {
    color: var(--primary-orange);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.admin-logo h2 span {
    color: var(--white);
}

.admin-logo p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.admin-menu {
    list-style: none;
    padding: 1.5rem 0;
}

.admin-menu li {
    margin-bottom: 0.25rem;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    border-left: 4px solid transparent;
    font-weight: 500;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: rgba(255, 107, 0, 0.1);
    border-left-color: var(--primary-orange);
    color: var(--white);
}

.admin-menu i {
    width: 24px;
    font-size: 1.25rem;
    color: var(--primary-orange);
}

.admin-content {
    flex: 1;
    margin-left: 300px;
    padding: 2rem;
}

.admin-header {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-title h1 {
    color: var(--gray-800);
    font-size: 1.75rem;
    font-weight: 700;
}

.admin-title h1 span {
    color: var(--primary-orange);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-profile span {
    font-weight: 600;
    color: var(--gray-700);
}

.admin-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
    padding: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--gray-200);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
}

.stat-info h3 {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-info p {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}

/* ===============================================
   TABLE STYLES
   =============================================== */
.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--gray-100);
    padding: 1rem 1.5rem;
    text-align: left;
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-300);
}

table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

table tr:hover {
    background: var(--gray-50);
}

table tr:last-child td {
    border-bottom: none;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0 0.25rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-edit {
    background: linear-gradient(135deg, var(--primary-orange), #FF8A3C);
    color: var(--white);
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-delete {
    background: linear-gradient(135deg, var(--primary-red), #EF4444);
    color: var(--white);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* NOTIFIKASI DROPDOWN - RAPIH */
.notif-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 12px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.notif-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #FF6B00, #DC2626);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.notif-title i {
    font-size: 1.2rem;
}

.btn-hapus-semua {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-hapus-semua:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.notif-list {
    max-height: 380px;
    overflow-y: auto;
    background: #fafafa;
}

/* Scrollbar styling */
.notif-list::-webkit-scrollbar {
    width: 6px;
}
.notif-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.notif-list::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 3px;
}

/* Item notifikasi */
.notif-item {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
    margin: 2px 0;
}

.notif-item:hover {
    background: #fff9f0;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(255,107,0,0.1);
    border-left: 3px solid #FF6B00;
}

.notif-item .message {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-right: 30px;
    font-weight: 500;
}

.notif-item .time {
    color: #999;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notif-item .time i {
    font-size: 0.7rem;
    color: #FF6B00;
}

.notif-item .delete-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    opacity: 0;
    transition: all 0.3s;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220,53,69,0.2);
}

.notif-item:hover .delete-icon {
    opacity: 1;
}

.notif-item .delete-icon:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Empty state */
.empty-notifications {
    padding: 3rem 2rem;
    text-align: center;
    background: white;
}

.empty-notifications i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: block;
}

.empty-notifications p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.empty-notifications small {
    color: #ccc;
    font-size: 0.85rem;
}

/* Footer */
.notif-footer {
    padding: 1rem 1.5rem;
    text-align: center;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.notif-footer a {
    color: #FF6B00;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.notif-footer a:hover {
    gap: 12px;
    color: #DC2626;
}

/* Badge notifikasi */
.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===============================================
   IMAGE PREVIEW
   =============================================== */
.image-preview {
    margin-top: 1rem;
    max-width: 250px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 3px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    position: relative;
}

.image-preview::before {
    content: 'Preview';
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-preview:hover img {
    transform: scale(1.05);
}

/* Notification Styles */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-top: 10px;
    z-index: 1000;
    overflow: hidden;
}

.notification-header {
    padding: 1rem;
    background: linear-gradient(135deg, #FF6B00, #DC2626);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
}

.notification-header .mark-all-read {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.9;
}

.notification-header .mark-all-read:hover {
    opacity: 1;
    text-decoration: underline;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    cursor: pointer;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #fff9f0;
    border-left: 3px solid #FF6B00;
}

.notification-item .message {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.notification-item .time {
    color: #999;
    font-size: 0.8rem;
}

.notification-footer {
    padding: 0.75rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.notification-footer a {
    color: #FF6B00;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.notification-footer a:hover {
    text-decoration: underline;
}

.loading-notifications {
    padding: 2rem;
    text-align: center;
    color: #999;
}

.empty-notifications {
    padding: 2rem;
    text-align: center;
    color: #999;
}

.empty-notifications i {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 0.5rem;
}
/* ===============================================
   CART PAGE STYLES
   =============================================== */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.cart-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-red);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.quantity-input {
    width: 70px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 1000;
    margin-top: 10px;
    animation: fadeInDown 0.3s ease;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-200);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--gray-100);
    color: var(--primary-orange);
    padding-left: 1.5rem;
}

.dropdown-menu a i {
    width: 20px;
    color: var(--primary-orange);
}

.dropdown-menu a:last-child i {
    color: #dc3545;
}

.dropdown-menu a:last-child:hover {
    background-color: #dc3545;
    color: white;
}

.dropdown-menu a:last-child:hover i {
    color: white;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .promo-content {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-timer {
        justify-content: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 1rem;
        border-bottom: 3px solid var(--primary-orange);
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius-md);
    }
    
    .nav-menu a:hover {
        background: var(--gray-100);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-auth {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h1 span {
        font-size: 2rem;
    }
    
    .promo-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timer-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .timer-item span {
        font-size: 2rem;
    }
    
    .admin-sidebar {
        width: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    .admin-sidebar.active {
        width: 280px;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-image {
        width: 150px;
        height: 150px;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 1rem;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.875rem 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-card {
        margin: 0 0.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 0.5rem;
    }
    
    .timer-item span {
        font-size: 1.5rem;
    }
    
    .timer-item small {
        font-size: 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   ANIMATIONS & UTILITIES
   =============================================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.text-warning {
    color: #FFD700;
}

.text-gray {
    color: var(--gray-400);
}

.text-primary {
    color: var(--primary-orange);
}

.text-red {
    color: var(--primary-red);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    color: var(--gray-800);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-orange);
    z-index: 3000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left-color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}