:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-input: #1a1a25;
    --border-color: #2a2a3a;
    --border-hover: #3a3a4f;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #6a6a80;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: rgba(124, 58, 237, 0.15);
    --accent-glow: rgba(124, 58, 237, 0.4);
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
.text-danger { color: var(--danger) !important; }
.text-gradient { background: linear-gradient(135deg, var(--accent), #a78bfa, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 5px var(--accent-glow); } 50% { box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(124, 58, 237, 0.2); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-scale { animation: scaleIn 0.4s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

.announcement-bar {
    background: linear-gradient(90deg, var(--accent), #9333ea, var(--accent));
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.navbar {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    flex-shrink: 0;
}

.navbar-brand img { height: 36px; width: auto; }
.navbar-brand span { background: linear-gradient(135deg, var(--accent), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.navbar-search {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-search svg { position: absolute; left: 16px; color: var(--text-muted); pointer-events: none; }

.navbar-search input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 20px 10px 44px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
    font-family: var(--font);
}

.navbar-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-nav-outline {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-nav-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.btn-nav-primary {
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-glow); transform: translateY(-1px); color: #fff; }

.user-menu { position: relative; }

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 14px 4px 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    color: var(--text-primary);
}

.user-menu-btn:hover { border-color: var(--accent); }

.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.user-name-sm { font-size: 14px; font-weight: 600; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 200;
    overflow: hidden;
}

.user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-head {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-head strong { display: block; font-size: 14px; color: var(--text-primary); }
.dropdown-head small { font-size: 12px; color: var(--text-muted); }
.dropdown-divider { height: 1px; background: var(--border-color); margin: 4px 0; }

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.user-dropdown a:hover { background: var(--accent-light); color: var(--text-primary); }
.user-dropdown a svg { flex-shrink: 0; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 200;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active { display: flex; animation: fadeIn 0.3s ease; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-menu-header button { background: none; border: none; color: var(--text-primary); cursor: pointer; }

.mobile-search-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
    font-family: var(--font);
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover { background: var(--accent-light); color: var(--text-primary); }

.hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    padding: 16px 40px;
}

.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 13px; color: var(--text-muted); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border-color); }

.section { padding: 60px 0; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }

.section-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    color: var(--text-primary);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); color: var(--text-primary); }
.category-card:hover::before { opacity: 1; }

.category-card .cat-img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); margin: 0 auto 10px; display: block; }

.category-card .cat-icon-wrap {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    color: var(--accent);
}

.category-card h3 { font-size: 14px; font-weight: 600; }
.category-card .cat-count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
}

.product-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-glow); color: var(--text-primary); }

.product-img-wrap { overflow: hidden; position: relative; }
.product-img-wrap img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-img-placeholder {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #16161f);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}

.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--danger);
    color: #fff; padding: 4px 10px;
    border-radius: 50px; font-size: 11px; font-weight: 700;
}

.product-badge-featured {
    position: absolute; top: 12px; right: 12px;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: #fff; padding: 4px 10px;
    border-radius: 50px; font-size: 11px; font-weight: 700;
}

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.product-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { display: flex; align-items: baseline; gap: 6px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--accent); }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

.btn-card {
    background: var(--accent);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.product-card:hover .btn-card { background: var(--accent-hover); box-shadow: var(--shadow-glow); }

.product-detail { padding: 40px 0; }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.product-gallery {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-gallery .main-image { width: 100%; height: 400px; object-fit: cover; }

.product-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.product-info-card h1 { font-size: 22px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.product-info-card .price-section { margin-bottom: 20px; }
.product-info-card .price-current { font-size: 32px; font-weight: 800; color: var(--accent); }
.product-info-card .price-original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }

.product-info-card .coupon-section {
    background: var(--accent-light);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-info-card .coupon-section input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}

.product-info-card .coupon-section button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font);
}

.product-description {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.product-description h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border-color);
}

.product-description .desc-content { color: var(--text-secondary); line-height: 1.8; white-space: pre-wrap; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent); color: #fff; border: none;
    padding: 14px 32px; border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: var(--transition); width: 100%; text-align: center;
    font-family: var(--font);
}

.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-glow); transform: translateY(-2px); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 24px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: var(--font);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.btn-danger { background: var(--danger); color: #fff; border: none; padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: var(--font); }
.btn-danger:hover { background: #dc2626; }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); font-family: var(--font); }

.trust-section { padding: 60px 0; }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.trust-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.trust-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}

.trust-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.payment-page { padding: 60px 0; max-width: 600px; margin: 0 auto; }

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    animation: scaleIn 0.4s ease;
}

.payment-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.payment-card .payment-product { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.payment-card .payment-amount { font-size: 36px; font-weight: 800; color: var(--accent); margin: 16px 0; }

.payment-card .qr-container {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    display: inline-block;
    margin: 20px 0;
}

.payment-card .qr-container img { width: 220px; height: 220px; }

.payment-card .pix-code {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-card .pix-code input {
    flex: 1; background: none; border: none;
    color: var(--text-primary); font-size: 13px;
    outline: none; font-family: monospace;
}

.payment-card .pix-code button {
    background: var(--accent); color: #fff; border: none;
    padding: 8px 16px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
    font-family: var(--font);
}

.payment-card .pix-code button:hover { background: var(--accent-hover); }

.payment-status {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 16px; padding: 12px;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 14px;
}

.payment-status.pending { background: var(--warning-light); color: var(--warning); }
.payment-status.approved { background: var(--success-light); color: var(--success); }
.payment-status.expired { background: var(--danger-light); color: var(--danger); }

.payment-timer { font-size: 14px; color: var(--text-muted); margin-top: 12px; }

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 22px; font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}

.footer-brand .footer-logo img { height: 32px; }
.footer-brand .footer-logo span { background: linear-gradient(135deg, var(--accent), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}

.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badges span { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 16px 0; font-size: 14px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: rgba(59, 130, 246, 0.15); color: var(--info); }
.badge-purple { background: var(--accent-light); color: var(--accent); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px; color: var(--text-primary);
    font-size: 14px; font-family: var(--font);
    transition: var(--transition); outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.form-group textarea { resize: vertical; min-height: 100px; }

.alert {
    padding: 14px 18px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
    animation: fadeInUp 0.3s ease;
}

.alert-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.alert-danger { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.alert-warning { background: var(--warning-light); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.alert-info { background: rgba(59, 130, 246, 0.15); color: var(--info); border: 1px solid rgba(59, 130, 246, 0.3); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

.support-badge {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--accent); color: #fff;
    padding: 12px 24px; border-radius: 50px;
    font-size: 14px; font-weight: 600;
    box-shadow: var(--shadow-lg);
    cursor: pointer; transition: var(--transition);
    z-index: 90; display: flex; align-items: center; gap: 8px;
    animation: glow 3s infinite;
}

.support-badge:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-glow); color: #fff; }

.loading-spinner {
    width: 24px; height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; }
table th { background: var(--bg-secondary); padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--bg-card-hover); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: var(--transition); }
.pagination a { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); color: #fff; border: 1px solid var(--accent); }

.client-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 32px 0; min-height: calc(100vh - 200px); }

.client-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 0;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.client-sidebar .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 8px;
}

.client-sidebar .sidebar-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 18px;
    overflow: hidden; flex-shrink: 0;
}

.client-sidebar .sidebar-avatar img { width: 100%; height: 100%; object-fit: cover; }
.client-sidebar .sidebar-info h4 { font-size: 15px; font-weight: 600; }
.client-sidebar .sidebar-info span { font-size: 12px; color: var(--text-muted); }

.client-sidebar .sidebar-label {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); padding: 16px 20px 8px;
}

.client-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.client-sidebar a:hover { background: var(--accent-light); color: var(--text-primary); }
.client-sidebar a.active { background: var(--accent-light); color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.client-sidebar a svg { width: 18px; height: 18px; flex-shrink: 0; }
.client-sidebar a.logout-link { color: var(--danger); margin-top: 8px; border-top: 1px solid var(--border-color); padding-top: 16px; }

.client-content { min-width: 0; }
.client-content .page-title { font-size: 24px; font-weight: 700; margin-bottom: 24px; }

.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px; margin-bottom: 16px;
    transition: var(--transition);
    animation: fadeInUp 0.4s ease;
}

.order-card:hover { border-color: var(--border-hover); }

.order-card .order-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.order-card .order-code { font-size: 14px; font-weight: 700; color: var(--accent); }
.order-card .order-date { font-size: 13px; color: var(--text-muted); }
.order-card .order-body { display: flex; align-items: center; gap: 16px; }
.order-card .order-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--bg-input); }
.order-card .order-info { flex: 1; min-width: 0; }
.order-card .order-info h4 { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-card .order-info p { font-size: 13px; color: var(--text-muted); }
.order-card .order-right { text-align: right; flex-shrink: 0; }
.order-card .order-right .order-amount { font-size: 18px; font-weight: 700; }
.order-card .order-actions { margin-top: 12px; display: flex; gap: 8px; justify-content: flex-end; }

.chat-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 500px;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-secondary);
}

.chat-header h3 { font-size: 16px; font-weight: 600; }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 20px;
    display: flex; flex-direction: column; gap: 12px;
}

.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }

.chat-msg { max-width: 80%; animation: fadeInUp 0.3s ease; }
.chat-msg.client { align-self: flex-end; }
.chat-msg.admin { align-self: flex-start; }
.chat-msg.system { align-self: center; max-width: 90%; }

.chat-msg .msg-bubble { padding: 10px 14px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
.chat-msg.client .msg-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.admin .msg-bubble { background: var(--bg-input); color: var(--text-primary); border: 1px solid var(--border-color); border-bottom-left-radius: 4px; }
.chat-msg.system .msg-bubble { background: var(--warning-light); color: var(--warning); font-size: 13px; text-align: center; border-radius: var(--radius-sm); }
.chat-msg .msg-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.chat-msg.client .msg-time { text-align: right; }

.chat-input {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex; gap: 8px;
    background: var(--bg-secondary);
}

.chat-input textarea {
    flex: 1; background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px; color: var(--text-primary);
    font-size: 14px; font-family: var(--font);
    resize: none; height: 42px; outline: none;
    transition: var(--transition);
}

.chat-input textarea:focus { border-color: var(--accent); }

.chat-input button {
    background: var(--accent); color: #fff; border: none;
    width: 42px; height: 42px; border-radius: var(--radius-sm);
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.chat-input button:hover { background: var(--accent-hover); }

.delivery-box {
    background: var(--success-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 16px; margin: 12px 20px;
}

.delivery-box h4 { color: var(--success); font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.delivery-box p { color: var(--text-secondary); font-size: 14px; white-space: pre-wrap; line-height: 1.6; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px; transition: var(--transition);
}

.stat-card:hover { border-color: var(--accent); }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.stat-card .stat-value { font-size: 28px; font-weight: 800; }
.stat-card .stat-value.accent { color: var(--accent); }

.login-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; background: var(--bg-primary);
    position: relative; overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -30%; left: -30%;
    width: 160%; height: 160%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(147, 51, 234, 0.08) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px; width: 100%; max-width: 420px;
    position: relative; z-index: 1;
    animation: scaleIn 0.5s ease;
    box-shadow: var(--shadow-lg);
}

.login-card .login-logo { text-align: center; margin-bottom: 32px; }
.login-card .login-logo img { height: 48px; margin-bottom: 12px; }
.login-card .login-logo h1 { font-size: 24px; font-weight: 800; }
.login-card .login-logo h1 span { background: linear-gradient(135deg, var(--accent), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.login-card .login-logo p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.login-card .google-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    font-family: var(--font);
}

.login-card .google-btn:hover { border-color: var(--accent); background: var(--accent-light); }
.login-card .google-btn img { width: 20px; height: 20px; }

.login-card .divider {
    display: flex; align-items: center; gap: 16px;
    margin: 24px 0; color: var(--text-muted); font-size: 13px;
}

.login-card .divider::before,
.login-card .divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

.login-card .login-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.login-card .login-footer a { color: var(--accent); font-weight: 600; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-info-card { position: static; }
    .client-layout { grid-template-columns: 1fr; }
    .client-sidebar { position: static; }
}

@media (max-width: 768px) {
    .navbar-search { display: none; }
    .navbar-actions { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero { padding: 60px 20px; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px 32px; border-radius: var(--radius-lg); }
    .hero-stat-divider { width: 60px; height: 1px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .payment-card { padding: 20px; }
    .payment-card .payment-amount { font-size: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .chat-container { height: 400px; }
    .order-card .order-body { flex-direction: column; align-items: flex-start; }
    .order-card .order-right { text-align: left; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .hero { padding: 40px 16px; }
    .hero h1 { font-size: 24px; }
    .container { padding: 0 16px; }
    .product-body { padding: 12px; }
    .price-current { font-size: 16px; }
    .login-card { padding: 28px 20px; }
    .stats-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
}
