
        /* ==========================================================================
           DAZZLING SHOP - MASTER STYLESHEET (LATO FONT APPLIED)
           ========================================================================== */

        @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

        /* --- 1. GLOBAL VARIABLES --- */
        :root { 
            --bg-white: #ffffff; 
            --bg-alabaster: #FAFAF7;
            --text-dark: #1a1a1a; 
            --accent-gold: #C5A059;
            --luxury-red: #d32f2f;
            --border-light: #eaeaea;
            --grey-muted: #888888;
            --dark: #1a1a1a; 
            --gold: #e9c46a; 
            --light-bg: #f8f9fa;
        }

        /* --- 2. BASE RESET & TYPOGRAPHY --- */
        * {
            font-family: 'Lato', sans-serif !important;
            box-sizing: border-box;
        }

        body { 
            margin: 0; 
            background-color: var(--bg-white); 
            color: var(--text-dark); 
            -webkit-font-smoothing: antialiased; 
        }

        h1, h2, h3, h4, h5, h6 { 
            font-weight: 700;
            color: var(--text-dark);
            margin-top: 0;
        }

        a { text-decoration: none; transition: 0.3s ease; }

        /* --- 3. STOREFRONT LAYOUT --- */
        .top-bar { background: var(--text-dark); color: var(--bg-white); padding: 8px 0; text-align: center; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

        header { 
            display: flex; justify-content: space-between; align-items: center; 
            padding: 20px 5%; background: var(--bg-white); border-bottom: 1px solid var(--border-light);
            position: sticky; top: 0; z-index: 1000;
        }

        .logo { font-size: 22px; font-weight: 900; letter-spacing: 4px; color: var(--text-dark); }
        nav { display: flex; align-items: center; gap: 20px; }
        nav a { color: var(--grey-muted); font-size: 13px; margin-left: 25px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
        nav a:hover { color: var(--text-dark); }

        /* --- 4. ADMIN LAYOUT --- */
        .admin-wrapper { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background-color: var(--light-bg); }
        .content, .content-area { padding: 40px; }

        .admin-card, .data-card, .table-card { 
            background: #fff; border-radius: 8px; padding: 25px; 
            box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; margin-bottom: 25px; 
        }

        /* --- 5. FORMS & INPUTS --- */
        .form-group { margin-bottom: 20px; text-align: left; }
        .form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 12px; text-transform: uppercase; color: #666; letter-spacing: 1px; }

        .admin-input, .form-control, .search-input { 
            width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 4px; 
            font-size: 15px; background: #fdfdfd; transition: 0.3s; 
        }
        .admin-input:focus, .form-control:focus { outline: none; border-color: var(--text-dark); background: #fff; }

        /* --- 6. BUTTONS --- */
        .btn-submit, .btn-save, .btn-dark, .checkout-btn { 
            background: var(--text-dark); color: #fff; padding: 15px 30px; border: none; border-radius: 4px; 
            font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: 0.3s; 
        }
        .btn-submit:hover, .btn-save:hover, .btn-dark:hover, .checkout-btn:hover { background: #333; }

        .btn-delete, .btn-danger { background: #fff; border: 1px solid #d32f2f; color: #d32f2f; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.2s; }
        .btn-delete:hover, .btn-danger:hover { background: #d32f2f; color: #fff; }

        /* --- 7. TABLES --- */
        table { width: 100%; border-collapse: collapse; text-align: left; }
        th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #666; padding: 15px 10px; border-bottom: 2px solid #eee; font-weight: 700; }
        td { padding: 15px 10px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; font-size: 15px; color: #333; }

        /* --- 8. BADGES --- */
        .badge { padding: 5px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
        .badge.status-completed, .payment-paid { background: #e8f5e9; color: #2e7d32; }
        .badge.status-pending { background: #fff3e0; color: #f57c00; }
        .badge.status-cancelled, .payment-failed { background: #ffebee; color: #c62828; }

        /* --- 9. AUTH PAGES --- */
        .auth-page { background-color: #f8f9fa; min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
        .auth-card { background: #fff; width: 100%; max-width: 450px; padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); text-align: center; }

        /* --- 10. MOBILE RESPONSIVENESS --- */
        @media (max-width: 1024px) {
            .product-main { grid-template-columns: 1fr; gap: 40px; }
            .thumb-column { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
        }

        @media (max-width: 900px) {
            .checkout-container { grid-template-columns: 1fr; gap: 50px; }
            .checkout-form { padding-right: 0; order: 2; }
            .order-summary { order: 1; position: relative; top: 0; padding: 30px 20px; }
        }

        @media (max-width: 768px) {
            /* Fix the header navigation stack */
            header { flex-direction: column; gap: 15px; padding: 15px 5%; }
            nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
            nav a { margin: 0 5px; font-size: 12px; }
            
            /* Fix Admin Sidebar collapsing */
            .admin-wrapper { grid-template-columns: 1fr; }
            .sidebar { min-height: auto; padding: 20px; }
            .content, .content-area { padding: 20px; }
            
            /* Fix Admin Tables overflow */
            .data-card { overflow-x: auto; }
        }

        @media (max-width: 600px) {
            .product-page { padding: 0 20px; margin-top: 20px; }
            .product-title { font-size: 2.2rem; }
            
            /* Fix Search Bar on Mobile */
            .search-form { grid-template-columns: 1fr; padding: 15px; border-radius: 8px; }
            
            /* Cart Mobile Fixes */
            .cart-item-card { grid-template-columns: 70px 1fr; }
            .cart-controls { grid-column: 1 / -1; justify-content: space-between; margin-top: 15px; }
        }
  