:root {
    --primary: #0B63F6;
    --primary-dark: #084FC4;
    --navy: #082B72;
    --green: #67C23A;
    --green-dark: #52A030;
    --white: #FFFFFF;
    --light-gray: #F7F9FC;
    --gray-100: #EEF2F7;
    --gray-200: #DDE4ED;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --gradient-primary: linear-gradient(135deg, #0B63F6 0%, #082B72 100%);
    --gradient-green: linear-gradient(135deg, #67C23A 0%, #4CAF50 100%);
    --shadow-sm: 0 2px 8px rgba(8, 43, 114, 0.08);
    --shadow-md: 0 8px 24px rgba(8, 43, 114, 0.12);
    --shadow-lg: 0 16px 48px rgba(8, 43, 114, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font: 'Poppins', sans-serif;
    --body-bg: #F7F9FC;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-color: #111827;
    --text-muted: #6B7280;
    --header-bg: rgba(255, 255, 255, 0.92);
    --footer-bg: #082B72;
}

[data-theme="dark"] {
    --body-bg: #0a1628;
    --card-bg: rgba(20, 35, 60, 0.85);
    --text-color: #f0f4f8;
    --text-muted: #94a3b8;
    --header-bg: rgba(10, 22, 40, 0.95);
    --light-gray: #0f1d32;
    --gray-100: #1a2744;
    --gray-200: #243352;
    --footer-bg: #061428;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 80px;
    transition: background 0.3s, color 0.3s;
}

@media (min-width: 992px) { body { padding-bottom: 0; } }

/* Header */
.dcc-header { z-index: 1030; }

.announcement-bar {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    padding: 6px 0;
}

.navbar {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 99, 246, 0.1);
    padding: 16px 0;
}

.navbar-brand { padding: 0; margin-right: 1rem; }

.logo-img {
    height: 80px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}
.logo-footer {
    height: 96px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
}
.auth-logo {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}
.install-logo {
    height: 140px;
    width: auto;
    max-width: 440px;
    object-fit: contain;
}
.sidebar-logo {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .logo-img { height: 68px; max-width: 260px; }
}

@media (max-width: 575px) {
    .logo-img { height: 56px; max-width: 220px; }
    .navbar { padding: 12px 0; }
}

.search-form { position: relative; }
.search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--gray-500); z-index: 2;
}
.search-input {
    padding-left: 44px !important;
    border-radius: 50px !important;
    border: 2px solid var(--gray-200) !important;
    background: var(--light-gray) !important;
    height: 46px;
    transition: all 0.3s;
}
.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(11, 99, 246, 0.15) !important;
    background: white !important;
}

.search-results-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); margin-top: 8px;
    max-height: 400px; overflow-y: auto; display: none; z-index: 1050;
}
[data-theme="dark"] .search-results-dropdown { background: #1a2744; }
.search-results-dropdown.show { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; text-decoration: none; color: var(--text-color);
    transition: background 0.2s;
}
.search-result-item:hover { background: var(--light-gray); }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }

.btn-icon {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: none; background: var(--light-gray); color: var(--text-color);
    transition: all 0.3s;
}
.btn-icon:hover { background: var(--primary); color: white; }

.btn-cart { border-radius: 50px !important; padding: 8px 20px !important; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--green); color: white;
    font-size: 0.65rem; font-weight: 700;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-primary);
    border: none; color: white;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(11, 99, 246, 0.35);
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 99, 246, 0.45);
    color: white;
}

.btn-glass {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.3); color: white; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}
.hero-bg {
    position: absolute; inset: 0;
    background: var(--gradient-primary);
    clip-path: ellipse(120% 100% at 50% 0%);
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white; padding: 6px 16px;
    border-radius: 50px; font-size: 0.85rem;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; color: white;
    line-height: 1.15; margin-bottom: 16px;
}
.hero-subtitle { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 480px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { color: white; }
.stat-item strong { display: block; font-size: 1.5rem; font-weight: 700; }
.stat-item span { font-size: 0.8rem; opacity: 0.8; }

/* Hero Logo Showcase */
.hero-logo-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 24px 12px;
}

.hero-logo-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: heroGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
}
.hero-logo-glow--blue {
    width: 280px; height: 280px;
    background: #3B9DFF;
    top: 10%; right: 5%;
    animation-delay: 0s;
}
.hero-logo-glow--green {
    width: 220px; height: 220px;
    background: #67C23A;
    bottom: 15%; left: 0;
    animation-delay: 2s;
}

.hero-logo-ring {
    position: absolute;
    width: min(92%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.18);
    animation: heroRingSpin 24s linear infinite;
    pointer-events: none;
}
.hero-logo-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-logo-spark {
    position: absolute;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    animation: heroSpark 3s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}
.hero-logo-spark--1 { top: 8%; right: 18%; animation-delay: 0s; color: #FFD966; }
.hero-logo-spark--2 { bottom: 28%; right: 8%; animation-delay: 1.2s; font-size: 0.7rem; }
.hero-logo-spark--3 { top: 35%; left: 6%; animation-delay: 2s; color: #67C23A; }

.hero-logo-frame {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(247,249,252,0.95) 100%);
    border-radius: 28px;
    padding: 28px 32px 24px;
    max-width: 480px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 6px rgba(8, 43, 114, 0.06),
        0 20px 40px rgba(8, 43, 114, 0.18),
        0 40px 80px rgba(11, 99, 246, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 8px rgba(11, 99, 246, 0.04);
    animation: heroLogoFloat 5s ease-in-out infinite;
    overflow: hidden;
    transform-style: preserve-3d;
}
.hero-logo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(11,99,246,0.35), rgba(103,194,58,0.25), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-logo-shine {
    position: absolute;
    top: -50%; left: -60%;
    width: 50%; height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
    transform: rotate(25deg);
    animation: heroLogoShine 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 8px 16px rgba(8, 43, 114, 0.12))
        drop-shadow(0 20px 40px rgba(11, 99, 246, 0.15));
    transition: transform 0.4s ease;
}
.hero-logo-frame:hover .hero-logo-img {
    transform: scale(1.02);
}

.hero-logo-steps {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-logo-steps span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(8, 43, 114, 0.15);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
}
.hero-logo-steps span i { font-size: 0.85rem; opacity: 0.9; }
.hero-logo-steps span:nth-child(1) i { color: #6BB6FF; }
.hero-logo-steps span:nth-child(2) i { color: #67C23A; }
.hero-logo-steps span:nth-child(3) i { color: #FFD966; }
.hero-logo-steps span:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.22);
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}
@keyframes heroRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes heroSpark {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes heroLogoShine {
    0%, 100% { left: -60%; opacity: 0; }
    50% { left: 120%; opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Sections */
.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.section-badge {
    display: inline-block;
    background: rgba(11, 99, 246, 0.1);
    color: var(--primary);
    padding: 4px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.section-title { font-size: 1.75rem; font-weight: 700; margin: 8px 0 0; }
.bg-section { background: var(--light-gray); }

/* Product Card */
.product-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.product-card-image {
    position: relative; padding: 16px;
    background: linear-gradient(180deg, var(--light-gray) 0%, transparent 100%);
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.product-card-image img {
    max-width: 100%; max-height: 160px;
    object-fit: contain; transition: transform 0.4s;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }

.discount-badge {
    position: absolute; top: 12px; left: 12px;
    background: #EF4444; color: white;
    padding: 4px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
}
.new-badge {
    position: absolute; top: 12px; right: 48px;
    background: var(--green); color: white;
    padding: 4px 10px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 600;
}
.wishlist-btn {
    position: absolute; top: 12px; right: 12px;
    width: 34px; height: 34px; border-radius: 50%;
    border: none; background: white;
    box-shadow: var(--shadow-sm);
    color: var(--gray-500); cursor: pointer;
    transition: all 0.3s; z-index: 2;
}
.wishlist-btn:hover, .wishlist-btn.active { color: #EF4444; background: #FEF2F2; }

.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.store-name { font-size: 0.75rem; color: var(--primary); text-decoration: none; font-weight: 500; }
.product-name { font-size: 0.95rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.product-name a { color: var(--text-color); text-decoration: none; }
.product-name a:hover { color: var(--primary); }
.product-rating { font-size: 0.7rem; color: #FBBF24; margin-bottom: 8px; }
.rating-count { color: var(--text-muted); margin-left: 4px; }
.product-price-row { margin-bottom: 12px; margin-top: auto; }
.current-price { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.old-price { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }
.unit-label { font-size: 0.75rem; color: var(--text-muted); }

/* Categories */
.categories-scroll {
    display: flex; gap: 16px; overflow-x: auto;
    padding-bottom: 8px; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.categories-scroll::-webkit-scrollbar { height: 4px; }
.categories-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.category-chip {
    flex: 0 0 auto; scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 24px; min-width: 120px;
    background: var(--card-bg); border-radius: var(--radius-md);
    border: 2px solid transparent; text-decoration: none;
    color: var(--text-color); transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.category-chip:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    color: var(--primary);
}
.category-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(11, 99, 246, 0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--primary); margin-bottom: 8px;
}
.category-chip span { font-weight: 600; font-size: 0.85rem; }
.category-chip small { color: var(--text-muted); font-size: 0.7rem; }

/* Store Card */
.store-card { overflow: hidden; color: var(--text-color); transition: all 0.3s; }
.store-banner { height: 100px; position: relative; }
.store-logo-wrap {
    position: absolute; bottom: -24px; left: 20px;
    width: 56px; height: 56px; border-radius: 50%;
    background: white; padding: 4px;
    box-shadow: var(--shadow-md); overflow: hidden;
}
.store-logo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.store-card-body { padding: 32px 20px 20px; }
.store-card-body h4 { font-weight: 700; margin-bottom: 8px; }
.store-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); }

/* Promo */
.promo-banner { background: var(--gradient-primary); color: white; }
.promo-title { font-size: 2rem; font-weight: 800; }
.promo-discount-side {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); min-height: 200px;
}
.discount-circle {
    width: 140px; height: 140px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border: 3px dashed rgba(255,255,255,0.5);
}
.discount-value { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.discount-label { font-size: 0.9rem; font-weight: 600; }

.countdown-timer { display: flex; gap: 12px; }
.timer-box {
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px; text-align: center; min-width: 60px;
}
.timer-box span { display: block; font-size: 1.5rem; font-weight: 700; }
.timer-box small { font-size: 0.65rem; opacity: 0.8; }

/* Package */
.package-card { padding: 24px; text-align: center; }
.package-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(103, 194, 58, 0.15);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin: 0 auto 16px;
}
.package-price .current { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.package-price .original { text-decoration: line-through; color: var(--text-muted); margin-left: 8px; font-size: 0.9rem; }

/* Footer */
.dcc-footer { position: relative; margin-top: 60px; color: white; }
.footer-wave { color: var(--footer-bg); margin-bottom: -1px; line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.footer-content { background: var(--footer-bg); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: 10px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-contact i { width: 24px; color: var(--green); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; transition: all 0.3s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-2px); }

/* Mobile Nav */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(11, 99, 246, 0.1);
    display: flex; justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1030;
}
.mobile-bottom-nav .nav-item {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--text-muted);
    font-size: 0.65rem; position: relative;
    padding: 4px 12px; transition: color 0.2s;
}
.mobile-bottom-nav .nav-item i { font-size: 1.25rem; margin-bottom: 2px; }
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover { color: var(--primary); }
.mobile-badge {
    position: absolute; top: 0; right: 4px;
    background: var(--green); color: white;
    font-size: 0.6rem; font-style: normal;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

/* Alert Toast */
.alert-toast {
    position: fixed; top: 80px; right: 20px; left: 20px;
    z-index: 9999; max-width: 400px; margin-left: auto;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh; display: flex; align-items: center;
    background: var(--gradient-primary); padding: 40px 0;
}
.auth-card {
    background: white; border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-lg); max-width: 440px; width: 100%;
}
[data-theme="dark"] .auth-card { background: #1a2744; }

/* Cart & Checkout */
.cart-store-group {
    background: var(--card-bg); border-radius: var(--radius-md);
    padding: 20px; margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-sm); background: var(--light-gray); }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control button {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--gray-200); background: white;
    cursor: pointer; transition: all 0.2s;
}
.qty-control button:hover { border-color: var(--primary); color: var(--primary); }

.order-summary-card {
    position: sticky; top: 100px;
    background: var(--card-bg); border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-md);
}

/* Order Timeline */
.order-timeline { position: relative; padding-left: 32px; }
.order-timeline::before {
    content: ''; position: absolute; left: 11px; top: 0; bottom: 0;
    width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item::before {
    content: ''; position: absolute; left: -32px; top: 4px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gray-200); border: 3px solid white;
}
.timeline-item.active::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(11,99,246,0.2); }
.timeline-item.completed::before { background: var(--green); }

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white; padding: 40px 0; margin-bottom: 32px;
}
.page-header h1 { font-weight: 800; margin: 0; }

/* Install */
.install-body {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section { min-height: auto; }
    .hero-logo-showcase { min-height: 340px; margin-top: 16px; }
    .hero-logo-frame { max-width: 400px; padding: 22px 24px 20px; }
    .hero-logo-glow--blue { width: 200px; height: 200px; }
    .hero-logo-glow--green { width: 160px; height: 160px; }
}

@media (max-width: 767px) {
    .hero-stats { gap: 20px; }
    .hero-logo-showcase { min-height: 300px; padding: 16px 0 8px; }
    .hero-logo-frame {
        border-radius: 22px;
        padding: 18px 20px 16px;
        box-shadow:
            0 8px 24px rgba(8, 43, 114, 0.2),
            0 24px 48px rgba(11, 99, 246, 0.18);
    }
    .hero-logo-steps span { font-size: 0.7rem; padding: 6px 12px; }
    .hero-logo-ring { display: none; }
    .section-title { font-size: 1.35rem; }
    .promo-title { font-size: 1.5rem; }
    .countdown-timer { flex-wrap: wrap; }
}

@media (max-width: 575px) {
    .product-card-body { padding: 12px; }
    .current-price { font-size: 1rem; }
}

/* Account Pages */
.account-page { padding-bottom: 100px; }

.account-sidebar { padding: 8px 0; overflow: hidden; }

.account-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}
.account-nav .nav-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 1rem;
}
.account-nav .nav-link:hover {
    background: rgba(11, 99, 246, 0.06);
    color: var(--primary);
}
.account-nav .nav-link.active {
    background: rgba(11, 99, 246, 0.1);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}
.account-nav .nav-link.text-danger i { color: #EF4444; }
.account-nav .admin-nav-link { position: relative; }
.account-nav .admin-badge {
    font-style: normal;
    font-size: 0.6rem;
    background: var(--gradient-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: auto;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.admin-quick-actions { display: flex; flex-direction: column; gap: 12px; }
.admin-quick-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(11,99,246,0.08), rgba(103,194,58,0.06));
    border: 1px solid rgba(11, 99, 246, 0.15);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.25s;
}
.admin-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--text-color);
}
.admin-quick-card > i:first-child {
    width: 44px; height: 44px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.admin-quick-card strong { display: block; font-size: 0.95rem; }
.admin-quick-card small { color: var(--text-muted); font-size: 0.78rem; }

/* Admin Settings */
.settings-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.settings-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
}
.settings-icon.bg-primary { background: var(--gradient-primary); }
.settings-icon.bg-success { background: var(--gradient-green); }
.settings-form { background: var(--light-gray) !important; }

.store-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
    flex-wrap: wrap;
}
.store-list-item:last-child { border-bottom: none; }
.store-list-info { display: flex; align-items: center; gap: 12px; }
.store-list-thumb {
    width: 48px; height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--light-gray);
}
.store-list-actions { display: flex; align-items: center; gap: 8px; }

.product-entry-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.product-entry-item:last-child { border-bottom: none; }
.product-entry-item img {
    width: 56px; height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--light-gray);
    flex-shrink: 0;
}
.product-entry-actions { display: flex; gap: 6px; flex-shrink: 0; }

@media (max-width: 767px) {
    .account-page .col-md-3 { margin-bottom: 0; }
    .account-sidebar { margin-bottom: 8px; }
    .settings-section-header { flex-direction: column; align-items: flex-start; }
    .store-list-item, .product-entry-item { flex-direction: column; align-items: flex-start; }
    .store-list-actions, .product-entry-actions { width: 100%; justify-content: flex-end; }
}
