:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-2: #f0f5ff;
    --text: #101828;
    --muted: #667085;
    --border: rgba(16, 24, 40, .10);
    --primary: #635bff;
    --primary-2: #00c2ff;
    --success: #12b76a;
    --warning: #f79009;
    --danger: #f04438;
    --shadow: 0 20px 55px rgba(16, 24, 40, .10);
    --radius: 22px;
}

html[data-theme="dark"] {
    --bg: #080b17;
    --surface: #111827;
    --surface-2: #151f32;
    --text: #f8fafc;
    --muted: #b4bed0;
    --border: rgba(255, 255, 255, .12);
    --shadow: 0 20px 65px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
body {
    background: radial-gradient(circle at top left, rgba(99,91,255,.10), transparent 32rem), var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}
a { color: var(--primary); }
.text-muted { color: var(--muted) !important; }
.bg-surface { background: var(--surface); }
.border-soft { border: 1px solid var(--border); }
.rounded-4 { border-radius: var(--radius) !important; }
.shadow-soft { box-shadow: var(--shadow); }

.glass-nav {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}
.brand-logo { width: 38px; height: 38px; object-fit: contain; }
.navbar .nav-link { color: var(--text); font-weight: 600; opacity: .78; }
.navbar .nav-link:hover, .navbar .nav-link.active { opacity: 1; color: var(--primary); }
.dropdown-menu { background: var(--surface); border: 1px solid var(--border); }
.dropdown-item { color: var(--text); }
.dropdown-item:hover { background: var(--surface-2); color: var(--primary); }

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: #5148ef;
    --bs-btn-hover-border-color: #5148ef;
}
.btn-outline-primary { --bs-btn-color: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: var(--primary); --bs-btn-hover-border-color: var(--primary); }
.form-control, .form-select {
    background-color: var(--surface);
    border-color: var(--border);
    color: var(--text);
}
.form-control:focus, .form-select:focus {
    border-color: rgba(99, 91, 255, .65);
    box-shadow: 0 0 0 .25rem rgba(99, 91, 255, .12);
    background-color: var(--surface);
    color: var(--text);
}
.form-control::placeholder { color: color-mix(in srgb, var(--muted) 76%, transparent); }
.card, .modal-content, .accordion-item, .list-group-item { background-color: var(--surface); color: var(--text); border-color: var(--border); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-border-color: var(--border); }

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 70px;
}
.hero-card {
    background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--surface-2) 82%, transparent));
    border: 1px solid var(--border);
    border-radius: 34px;
    box-shadow: var(--shadow);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    font-weight: 700;
    font-size: .88rem;
}
.hero-title {
    font-size: clamp(2.25rem, 5vw, 5rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .98;
}
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-search {
    max-width: 760px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: .5rem;
}
.hero-search .form-control { border: 0; font-size: 1.05rem; }
.hero-stat { border-left: 3px solid var(--primary); padding-left: 1rem; }
.hero-orb { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(40px); opacity: .35; z-index: -1; }
.hero-orb.one { right: -120px; top: 60px; background: var(--primary); }
.hero-orb.two { left: -80px; bottom: 40px; background: var(--primary-2); }

.section-heading { max-width: 760px; margin-inline: auto; text-align: center; }
.section-kicker { color: var(--primary); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.category-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, rgba(99,91,255,.16), rgba(0,194,255,.14)); color: var(--primary); font-size: 1.5rem; }

.product-card { border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow) !important; }
.product-thumb-wrap { background: linear-gradient(135deg, rgba(99,91,255,.08), rgba(0,194,255,.10)); }
.product-thumb { height: 220px; object-fit: cover; width: 100%; }
.badge-discount { position: absolute; top: .85rem; left: .85rem; background: var(--danger); }
.badge-featured { position: absolute; top: .85rem; right: .85rem; background: rgba(16,24,40,.74); backdrop-filter: blur(10px); }
.price-main { color: var(--text); font-weight: 850; font-size: 1.25rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag-chip { display: inline-flex; align-items: center; padding: .25rem .55rem; background: var(--surface-2); color: var(--muted); border-radius: 99px; text-decoration: none; font-size: .75rem; font-weight: 700; }
.tag-chip:hover { color: var(--primary); }
.stretched-title { color: var(--text); }
.stretched-title:hover { color: var(--primary); }

.product-gallery-main { height: min(520px, 62vw); object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.product-sidebar { position: sticky; top: 92px; }
.feature-list { display: grid; gap: .7rem; padding-left: 0; list-style: none; }
.feature-list li { display: flex; gap: .65rem; align-items: flex-start; }
.feature-list li:before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(18,183,106,.14); color: var(--success); font-weight: 900; }
.limit-list li:before { content: "!"; background: rgba(247,144,9,.14); color: var(--warning); }

.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; height: 100%; }
.avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.rating-stars { color: #fdb022; letter-spacing: .05em; }

.cta-panel { background: linear-gradient(135deg, rgba(99,91,255,.92), rgba(0,194,255,.86)); color: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.cta-panel:after { content: ""; position: absolute; inset: auto -60px -110px auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.18); }

.site-footer { background: color-mix(in srgb, var(--surface) 94%, #000 6%); border-top: 1px solid var(--border); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-list a { color: var(--muted); text-decoration: none; }
.footer-list a:hover { color: var(--primary); }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--text); text-decoration: none; }
.social-links a:hover { background: var(--primary); color: #fff; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.65rem; box-shadow: 0 16px 35px rgba(37,211,102,.35); z-index: 1000; text-decoration: none; }
.floating-whatsapp:hover { color: #fff; transform: translateY(-2px); }

.compare-empty { min-height: 360px; display: grid; place-items: center; }
.blog-card img { height: 210px; object-fit: cover; }
.admin-link-pill { position: fixed; left: 16px; bottom: 16px; z-index: 999; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp .55s ease both; }

@media (max-width: 991.98px) {
    .hero-section { padding: 60px 0 45px; }
    .product-sidebar { position: static; }
    .product-thumb { height: 190px; }
}
@media (max-width: 575.98px) {
    .hero-search { border-radius: 16px; }
    .hero-search .input-group { flex-direction: column; }
    .hero-search .btn { width: 100%; margin-top: .5rem; }
    .product-gallery-main { height: 280px; }
}
