/* =========================================
   ASCEND BOOSTS
   COMPLETE UPDATED STYLESHEET
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #09090c;
    --bg-soft: #0e0f14;

    --card: #13141a;
    --card-hover: #181922;
    --card-soft: #101116;

    --border: #252631;
    --border-light: #343542;

    --text: #f7f7fb;
    --muted: #9295a5;
    --muted-dark: #6f7280;

    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;

    --blue: #5d8cff;

    --success: #4ade80;
    --danger: #f87171;

    --radius: 16px;
    --radius-small: 10px;

    --max-width: 1180px;

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.28);

    --purple-shadow:
        0 0 35px rgba(139, 92, 246, 0.13);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 50% -200px,
            rgba(124, 58, 237, 0.16),
            transparent 520px
        ),
        radial-gradient(
            circle at 100% 30%,
            rgba(93, 140, 255, 0.035),
            transparent 500px
        ),
        var(--bg);

    line-height: 1.6;

    overflow-x: hidden;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
    opacity: 0.72;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    padding: 18px 24px 0;

    background:
        linear-gradient(
            to bottom,
            rgba(9, 9, 12, 0.99),
            rgba(9, 9, 12, 0.9),
            transparent
        );
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);

    min-height: 74px;

    margin: 0 auto;
    padding: 10px 14px;

    display: flex;
    align-items: center;
    gap: 18px;

    background:
        rgba(19, 20, 26, 0.92);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(18px);
}


/* =========================================
   BRAND
========================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 190px;

    color: var(--text);

    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 12px;

    box-shadow:
        0 0 22px rgba(139, 92, 246, 0.23);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.brand:hover .brand-logo {
    transform: translateY(-1px);

    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.32);
}

.brand-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}

.brand-text strong {
    font-size: 14px;

    letter-spacing: -0.15px;
}

.brand-text span {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================
   NAVIGATION
========================================= */

.main-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
}

.nav-btn {
    padding: 9px 11px;

    color: var(--muted);

    background: transparent;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.nav-btn:hover {
    color: var(--text);

    background: #1a1b22;

    transform: translateY(-1px);
}

.nav-btn.active {
    color: var(--text);

    background:
        rgba(139, 92, 246, 0.13);

    border-color:
        rgba(139, 92, 246, 0.25);
}


/* =========================================
   HEADER ACTIONS
========================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.login-btn,
.cart-button {
    min-height: 38px;

    padding: 0 13px;

    color: var(--text);

    background:
        #191a21;

    border:
        1px solid var(--border);

    border-radius: 9px;

    font-size: 12px;
    font-weight: 600;

    transition:
        0.2s ease;
}

.login-btn:hover,
.cart-button:hover {
    background:
        #22232c;

    border-color:
        #383946;

    transform:
        translateY(-1px);
}

.cart-button {
    position: relative;

    min-width: 44px;
}

.cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    display: grid;
    place-items: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #6d4cff
        );

    border:
        2px solid var(--card);

    border-radius: 100px;

    font-size: 9px;
    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(139, 92, 246, 0.3);
}


/* =========================================
   MAIN
========================================= */

.site-main {
    width: 100%;
    max-width: var(--max-width);

    min-height: 70vh;

    margin: 0 auto;

    padding:
        45px 24px
        80px;
}


/* =========================================
   PAGE SYSTEM
========================================= */

.page-section {
    display: none;

    animation:
        fadeIn 0.25s ease;
}

.page-section.active-page {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform:
            translateY(5px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


/* =========================================
   HERO
========================================= */

.hero-card {
    position: relative;

    min-height: 350px;

    padding: 55px 60px;

    display: grid;

    grid-template-columns:
        1.35fr 0.65fr;

    align-items: center;

    gap: 50px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 40%,
            rgba(98, 64, 255, 0.19),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 100%,
            rgba(139, 92, 246, 0.06),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #15161d,
            #101116
        );

    border:
        1px solid var(--border);

    border-radius: 22px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.28);
}

.hero-card::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    top: -150px;

    background:
        rgba(139, 92, 246, 0.11);

    filter:
        blur(70px);

    border-radius: 50%;
}

.hero-card::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -130px;
    bottom: -160px;

    background:
        rgba(93, 140, 255, 0.05);

    filter:
        blur(70px);

    border-radius: 50%;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-badge,
.eyebrow {
    display: inline-block;

    color:
        var(--accent-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.hero-content h1 {
    max-width: 660px;

    margin-top: 12px;

    font-size:
        clamp(
            35px,
            5vw,
            58px
        );

    line-height: 1.02;

    letter-spacing: -2.3px;
}

.hero-content h1 span {
    color:
        var(--accent-light);
}

.hero-content p {
    max-width: 600px;

    margin-top: 21px;

    color: var(--muted);

    font-size: 14px;
}

.hero-buttons {
    margin-top: 27px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* =========================================
   HERO LOGO
========================================= */

.hero-logo {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 245px;

    max-width: 100%;

    display: block;

    border-radius: 50px;

    filter:
        drop-shadow(
            0 0 30px
            rgba(94, 87, 255, 0.2)
        );

    transition:
        0.3s ease;
}

.hero-logo-img:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    filter:
        drop-shadow(
            0 0 40px
            rgba(139, 92, 246, 0.28)
        );
}


/* =========================================
   BUTTONS
========================================= */

.primary-btn,
.secondary-btn,
.text-btn,
.add-cart-btn {
    font-weight: 700;

    transition:
        0.2s ease;
}

.primary-btn {
    padding:
        11px 17px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #6d4cff
        );

    border: 0;

    border-radius: 9px;

    font-size: 12px;

    box-shadow:
        0 8px 25px
        rgba(124, 58, 237, 0.18);
}

.primary-btn:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.1);

    box-shadow:
        0 10px 30px
        rgba(124, 58, 237, 0.25);
}

.primary-btn:active {
    transform:
        translateY(0);
}

.secondary-btn {
    padding:
        10px 16px;

    color: var(--text);

    background:
        #191a21;

    border:
        1px solid var(--border);

    border-radius: 9px;

    font-size: 12px;
}

.secondary-btn:hover {
    background:
        #22232c;

    border-color:
        #383946;
}

.text-btn {
    padding: 8px;

    color:
        var(--accent-light);

    background:
        transparent;

    border: 0;

    font-size: 11px;

    text-decoration: none;
}

.text-btn:hover {
    color: white;
}


/* =========================================
   STATS
========================================= */

.stats-grid {
    margin-top: 18px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.stat-card {
    padding:
        19px 20px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            var(--card),
            #111218
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        0.2s ease;
}

.stat-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(139, 92, 246, 0.28);
}

.stat-label {
    color:
        var(--muted);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.stat-value {
    margin-top: 4px;

    font-size: 17px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    margin-top: 55px;
    margin-bottom: 17px;

    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 20px;
}

.section-heading h2 {
    margin-top: 3px;

    font-size: 23px;

    letter-spacing: -0.5px;
}


/* =========================================
   CATEGORY
========================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 420px);

    gap: 14px;
}

.category-card {
    width: 100%;

    padding: 20px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 15px;

    text-align: left;

    color: var(--text);

    background:
        linear-gradient(
            135deg,
            #15161d,
            #111218
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        0.2s ease;
}

.category-card:hover {
    transform:
        translateY(-2px);

    background:
        var(--card-hover);

    border-color:
        rgba(139, 92, 246, 0.4);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.15);
}

.category-logo {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background:
        rgba(139, 92, 246, 0.12);

    border:
        1px solid
        rgba(139, 92, 246, 0.2);

    border-radius: 11px;

    font-size: 20px;
}

.category-card h3 {
    font-size: 14px;
}

.category-card p {
    margin-top: 2px;

    color:
        var(--muted);

    font-size: 11px;
}

.category-arrow {
    color:
        var(--muted);

    font-size: 20px;

    transition:
        0.2s ease;
}

.category-card:hover
.category-arrow {
    color:
        var(--accent-light);

    transform:
        translateX(3px);
}


/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}

.product-card {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--card),
            #111218
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.product-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(139, 92, 246, 0.4);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.22),
        0 0 25px
        rgba(139, 92, 246, 0.05);
}

.product-image {
    height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(124, 58, 237, 0.14),
            transparent 60%
        ),
        #101116;

    border-bottom:
        1px solid var(--border);
}

.product-image img {
    width: 95px;
    height: 95px;

    object-fit: cover;

    border-radius: 22px;

    box-shadow:
        0 0 35px
        rgba(139, 92, 246, 0.13);

    transition:
        0.25s ease;
}

.product-card:hover
.product-image img {
    transform:
        scale(1.035);

    box-shadow:
        0 0 45px
        rgba(139, 92, 246, 0.2);
}

.product-content {
    padding: 17px;
}

.product-category {
    color:
        var(--accent-light);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.product-content h3 {
    margin-top: 5px;

    font-size: 15px;
}

.product-content p {
    min-height: 38px;

    margin-top: 6px;

    color:
        var(--muted);

    font-size: 11px;
}

.product-bottom {
    margin-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.product-price {
    font-size: 17px;
}

.add-cart-btn {
    padding:
        8px 11px;

    color: white;

    background:
        rgba(139, 92, 246, 0.14);

    border:
        1px solid
        rgba(139, 92, 246, 0.28);

    border-radius: 8px;

    font-size: 10px;
}

.add-cart-btn:hover {
    background:
        var(--accent);

    border-color:
        var(--accent);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(139, 92, 246, 0.2);
}


/* =========================================
   PAGE TITLES
========================================= */

.page-title {
    margin-bottom: 30px;
}

.page-title h1 {
    margin-top: 4px;

    font-size: 36px;

    letter-spacing: -1.4px;
}

.page-title p {
    margin-top: 7px;

    color:
        var(--muted);

    font-size: 13px;
}


/* =========================================
   PRODUCTS PAGE
========================================= */

.products-layout {
    display: grid;

    grid-template-columns:
        230px 1fr;

    gap: 20px;

    align-items: start;
}

.filters-card {
    position: sticky;

    top: 110px;

    padding: 19px;

    display: flex;
    flex-direction: column;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.1);
}

.filters-card h3 {
    margin-bottom: 17px;

    font-size: 15px;
}

.filters-card label {
    margin:
        12px 0 6px;

    color:
        var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.filters-card input,
.filters-card select {
    width: 100%;

    padding:
        10px 11px;

    outline: none;

    color:
        var(--text);

    background:
        #0e0f14;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    font-size: 11px;

    transition:
        0.2s ease;
}

.filters-card input:focus,
.filters-card select:focus {
    border-color:
        var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(139, 92, 246, 0.08);
}

.filters-card .secondary-btn {
    margin-top: 16px;
}

.products-list {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}


/* =========================================
   EMPTY CARDS
========================================= */

.empty-card {
    min-height: 300px;

    padding:
        50px 25px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            var(--card),
            #111218
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);
}

.empty-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 15px;

    color:
        var(--accent-light);

    background:
        rgba(139, 92, 246, 0.1);

    border:
        1px solid
        rgba(139, 92, 246, 0.12);

    border-radius: 14px;

    font-size: 23px;

    box-shadow:
        0 0 30px
        rgba(139, 92, 246, 0.08);
}

.empty-card h2 {
    font-size: 18px;
}

.empty-card p {
    max-width: 450px;

    margin-top: 7px;

    color:
        var(--muted);

    font-size: 12px;
}


/* =========================================
   FAQ
========================================= */

.faq-list {
    max-width: 800px;

    display: flex;
    flex-direction: column;

    gap: 9px;
}

.faq-item {
    overflow: hidden;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius: 12px;

    transition:
        border-color 0.2s ease;
}

.faq-item:hover {
    border-color:
        #32333f;
}

.faq-item.open {
    border-color:
        rgba(139, 92, 246, 0.3);
}

.faq-question {
    width: 100%;

    padding:
        17px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    text-align: left;

    color:
        var(--text);

    background:
        transparent;

    border: 0;

    font-size: 12px;
    font-weight: 700;
}

.faq-question:hover {
    background:
        #17181f;
}

.faq-plus {
    color:
        var(--accent-light);

    font-size: 18px;
}

.faq-answer {
    display: none;

    padding:
        0 18px 17px;

    color:
        var(--muted);

    font-size: 11px;
}

.faq-item.open
.faq-answer {
    display: block;
}


/* =========================================
   STATUS
========================================= */

.status-card {
    max-width: 750px;

    padding: 20px;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);
}

.status-header,
.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-header {
    padding-bottom: 18px;

    border-bottom:
        1px solid var(--border);
}

.status-header > div {
    display: flex;
    align-items: center;

    gap: 9px;
}

.status-dot {
    width: 9px;
    height: 9px;

    background:
        var(--success);

    border-radius: 50%;

    box-shadow:
        0 0 12px
        rgba(74, 222, 128, 0.45);
}

.status-online {
    padding:
        5px 9px;

    color:
        var(--success);

    background:
        rgba(74, 222, 128, 0.08);

    border:
        1px solid
        rgba(74, 222, 128, 0.15);

    border-radius: 7px;

    font-size: 9px;
    font-weight: 800;
}

.status-row {
    padding:
        14px 0;

    color:
        var(--muted);

    border-bottom:
        1px solid var(--border);

    font-size: 11px;
}

.status-row:last-child {
    border-bottom: 0;
}

.status-row strong {
    color:
        var(--text);
}


/* =========================================
   CART
========================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        1fr 330px;

    gap: 20px;

    align-items: start;
}

.cart-card,
.checkout-card {
    padding: 21px;

    background:
        linear-gradient(
            145deg,
            var(--card),
            #111218
        );

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.1);
}

.checkout-card {
    position: sticky;

    top: 110px;
}

.cart-card h2,
.checkout-card h2 {
    margin-bottom: 18px;

    font-size: 17px;
}

.empty-cart {
    min-height: 160px;

    display: grid;
    place-items: center;

    color:
        var(--muted);

    border:
        1px dashed #30313b;

    border-radius: 11px;

    font-size: 12px;
}


/* =========================================
   CART ITEMS
========================================= */

.cart-item {
    padding:
        15px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom:
        1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item-info {
    min-width: 130px;
}

.cart-item-info h4 {
    color:
        var(--text);

    font-size: 12px;
}

.cart-item-info span {
    color:
        var(--muted);

    font-size: 10px;
}


/* =========================================
   CART QUANTITY CONTROLS
========================================= */

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;
}

.quantity-btn {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    padding: 0;

    color: white;

    background:
        #191a21;

    border:
        1px solid var(--border);

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    transition:
        0.2s ease;
}

.quantity-btn:hover {
    background:
        rgba(139, 92, 246, 0.12);

    border-color:
        var(--accent);
}

.quantity-number {
    min-width: 20px;

    text-align: center;

    color:
        var(--text);

    font-size: 11px;
    font-weight: 700;
}

.cart-item-actions strong {
    min-width: 55px;

    text-align: right;

    font-size: 11px;
}

.remove-cart-item {
    padding:
        6px 9px;

    color:
        var(--danger);

    background:
        rgba(248, 113, 113, 0.08);

    border:
        1px solid
        rgba(248, 113, 113, 0.14);

    border-radius: 7px;

    font-size: 9px;

    transition:
        0.2s ease;
}

.remove-cart-item:hover {
    background:
        rgba(248, 113, 113, 0.15);

    border-color:
        rgba(248, 113, 113, 0.3);
}


/* =========================================
   CHECKOUT SUMMARY
========================================= */

.summary-row {
    padding:
        10px 0;

    display: flex;
    justify-content: space-between;

    color:
        var(--muted);

    font-size: 11px;
}

.summary-row strong {
    color:
        var(--text);
}

.total-row {
    margin-top: 4px;

    padding-top: 14px;

    border-top:
        1px solid var(--border);

    font-size: 14px;
}

.checkout-card h3 {
    margin-top: 22px;
    margin-bottom: 10px;

    font-size: 12px;
}


/* =========================================
   PAYMENT OPTIONS
========================================= */

.payment-options {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.payment-option {
    position: relative;

    padding: 11px;

    display: flex;
    align-items: center;

    gap: 9px;

    color:
        var(--muted);

    background:
        #0f1015;

    border:
        1px solid var(--border);

    border-radius: 8px;

    cursor: pointer;

    font-size: 11px;

    transition:
        0.2s ease;
}

.payment-option:hover {
    color:
        var(--text);

    background:
        #12131a;

    border-color:
        rgba(139, 92, 246, 0.4);
}

.payment-option:has(input:checked) {
    color:
        var(--text);

    background:
        rgba(139, 92, 246, 0.09);

    border-color:
        rgba(139, 92, 246, 0.55);

    box-shadow:
        inset 0 0 20px
        rgba(139, 92, 246, 0.025);
}

.payment-option input {
    accent-color:
        var(--accent);
}

.checkout-btn {
    width: 100%;

    margin-top: 18px;
}

.checkout-note {
    margin-top: 10px;

    color:
        var(--muted);

    text-align: center;

    font-size: 9px;
}


/* =========================================
   MODAL OVERLAY
========================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 1000;

    padding: 20px;

    display: none;
    align-items: center;
    justify-content: center;

    background:
        rgba(0, 0, 0, 0.76);

    backdrop-filter:
        blur(10px);

    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;

    animation:
        modalFade 0.2s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================
   GENERAL MODAL
========================================= */

.modal-card {
    position: relative;

    width: 100%;
    max-width: 390px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #15161d,
            #111218
        );

    border:
        1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.55);

    animation:
        modalPop 0.22s ease;
}

@keyframes modalPop {
    from {
        opacity: 0;

        transform:
            translateY(10px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    padding: 0;

    color:
        var(--muted);

    background:
        transparent;

    border: 0;

    border-radius: 8px;

    font-size: 23px;

    transition:
        0.2s ease;
}

.modal-close:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.05);
}

.modal-logo {
    width: 55px;
    height: 55px;

    margin-bottom: 15px;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 0 28px
        rgba(139, 92, 246, 0.18);
}

.modal-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-card h2 {
    font-size: 21px;

    letter-spacing:
        -0.4px;
}

.modal-card > p {
    margin-top: 4px;

    color:
        var(--muted);

    font-size: 11px;
}

.modal-card form {
    margin-top: 21px;

    display: flex;
    flex-direction: column;
}

.modal-card form label {
    margin:
        9px 0 5px;

    color:
        var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.modal-card form input {
    padding: 11px;

    outline: none;

    color:
        var(--text);

    background:
        #0e0f14;

    border:
        1px solid var(--border);

    border-radius: 8px;

    transition:
        0.2s ease;
}

.modal-card form input:focus {
    border-color:
        var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(139, 92, 246, 0.08);
}

.modal-card form .primary-btn {
    margin-top: 16px;
}

.modal-note {
    margin-top:
        13px !important;

    text-align: center;

    font-size:
        9px !important;
}


/* =========================================
   NEW CHECKOUT MODAL
========================================= */

.checkout-modal-overlay {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(139, 92, 246, 0.12),
            transparent 420px
        ),
        rgba(0, 0, 0, 0.79);
}

.checkout-modal-card {
    max-width: 520px;

    padding:
        31px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(139, 92, 246, 0.09),
            transparent 250px
        ),
        linear-gradient(
            145deg,
            #15161d,
            #101116
        );

    border:
        1px solid
        rgba(139, 92, 246, 0.18);

    box-shadow:
        0 35px 120px
        rgba(0, 0, 0, 0.65),
        0 0 45px
        rgba(139, 92, 246, 0.07);
}

.checkout-modal-card::before {
    content: "";

    position: absolute;

    top: -130px;
    right: -120px;

    width: 260px;
    height: 260px;

    pointer-events: none;

    background:
        rgba(139, 92, 246, 0.08);

    filter:
        blur(60px);

    border-radius: 50%;
}

.checkout-modal-card > * {
    position: relative;

    z-index: 1;
}

.checkout-modal-card
.eyebrow {
    margin-bottom: 5px;
}

.checkout-modal-card h2 {
    font-size: 25px;

    letter-spacing:
        -0.7px;
}

.checkout-modal-card
.modal-logo {
    width: 60px;
    height: 60px;

    border-radius: 17px;

    box-shadow:
        0 0 35px
        rgba(139, 92, 246, 0.23);
}


/* =========================================
   CHECKOUT REVIEW
========================================= */

.checkout-review {
    margin-top: 22px;

    overflow: hidden;

    background:
        rgba(8, 9, 13, 0.55);

    border:
        1px solid var(--border);

    border-radius: 13px;
}

.checkout-review-header {
    padding:
        10px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color:
        var(--muted);

    background:
        rgba(255, 255, 255, 0.018);

    border-bottom:
        1px solid var(--border);

    font-size: 9px;
    font-weight: 800;

    text-transform:
        uppercase;

    letter-spacing:
        0.8px;
}

.checkout-review-items {
    display: flex;
    flex-direction: column;
}

.checkout-review-item {
    padding:
        13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom:
        1px solid var(--border);
}

.checkout-review-item:last-child {
    border-bottom: 0;
}

.checkout-review-item > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.checkout-review-item
div strong {
    color:
        var(--text);

    font-size: 11px;

    white-space: normal;
}

.checkout-review-item
div span {
    margin-top: 2px;

    color:
        var(--muted);

    font-size: 9px;
}

.checkout-review-item
> strong {
    flex-shrink: 0;

    color:
        var(--text);

    font-size: 11px;
}

.checkout-review-total {
    padding:
        14px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        rgba(139, 92, 246, 0.04);

    border-top:
        1px solid
        rgba(139, 92, 246, 0.14);
}

.checkout-review-total span {
    color:
        var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.checkout-review-total strong {
    color:
        white;

    font-size: 17px;
}


/* =========================================
   CHECKOUT PAYMENT BOX
========================================= */

.checkout-payment-box {
    margin-top: 12px;

    padding:
        13px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    background:
        rgba(139, 92, 246, 0.075);

    border:
        1px solid
        rgba(139, 92, 246, 0.2);

    border-radius: 11px;
}

.checkout-payment-label {
    color:
        var(--muted);

    font-size: 10px;
    font-weight: 700;
}

.checkout-payment-box strong {
    padding:
        5px 9px;

    color:
        var(--accent-light);

    background:
        rgba(139, 92, 246, 0.1);

    border:
        1px solid
        rgba(139, 92, 246, 0.15);

    border-radius: 7px;

    font-size: 10px;
}


/* =========================================
   CHECKOUT NEXT STEPS
========================================= */

.checkout-next-steps {
    margin-top: 12px;

    padding:
        14px;

    background:
        #0e0f14;

    border:
        1px solid var(--border);

    border-radius: 11px;
}

.checkout-next-steps h3 {
    color:
        var(--text);

    font-size: 11px;
}

.checkout-next-steps p {
    margin-top: 4px;

    color:
        var(--muted);

    font-size: 10px;

    line-height: 1.65;
}


/* =========================================
   DISCORD CHECKOUT BUTTON
========================================= */

.checkout-discord-btn {
    width: 100%;

    min-height: 44px;

    margin-top: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6d4cff
        );

    border:
        1px solid
        rgba(255, 255, 255, 0.04);

    border-radius: 10px;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 10px 30px
        rgba(124, 58, 237, 0.22);

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}

.checkout-discord-btn:hover {
    color: white;

    transform:
        translateY(-2px);

    filter:
        brightness(1.1);

    box-shadow:
        0 14px 35px
        rgba(124, 58, 237, 0.3);
}

.checkout-back-btn {
    width: 100%;

    margin-top: 8px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding:
        0 24px 30px;
}

.footer-inner {
    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;

    padding:
        22px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid var(--border);
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 10px;
}

.footer-brand img {
    width: 36px;
    height: 36px;

    object-fit: cover;

    border-radius: 10px;

    box-shadow:
        0 0 20px
        rgba(139, 92, 246, 0.1);
}

.footer-brand strong {
    font-size: 12px;
}

.footer-brand p,
.copyright {
    color:
        var(--muted);

    font-size: 9px;
}

.footer-links {
    display: flex;
    align-items: center;

    gap: 4px;
}


/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background:
        #0a0a0d;
}

::-webkit-scrollbar-thumb {
    background:
        #292a34;

    border-radius:
        100px;
}

::-webkit-scrollbar-thumb:hover {
    background:
        #383946;
}


/* =========================================
   TEXT SELECTION
========================================= */

::selection {
    color: white;

    background:
        rgba(139, 92, 246, 0.65);
}


/* =========================================
   FOCUS ACCESSIBILITY
========================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline:
        2px solid
        var(--accent-light);

    outline-offset: 2px;
}


/* =========================================
   RESPONSIVE - TABLETS
========================================= */

@media (max-width: 1000px) {

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;

        width: 100%;

        overflow-x: auto;

        justify-content:
            flex-start;

        padding-top: 5px;

        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-btn {
        flex-shrink: 0;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-card {
        padding: 45px;

        grid-template-columns:
            1fr 250px;
    }

    .product-grid,
    .products-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 760px) {

    .site-header {
        padding:
            10px 12px 0;
    }

    .header-inner {
        min-height: auto;

        gap: 10px;
    }

    .site-main {
        padding:
            30px 14px
            60px;
    }

    .brand {
        min-width: 0;
    }

    .brand-text span {
        display: none;
    }

    .hero-card {
        min-height: auto;

        padding:
            35px 25px;

        grid-template-columns:
            1fr;

        gap: 25px;
    }

    .hero-logo {
        order: -1;

        justify-content:
            flex-start;
    }

    .hero-logo-img {
        width: 110px;

        border-radius: 25px;
    }

    .hero-content h1 {
        font-size: 37px;

        letter-spacing:
            -1.7px;
    }

    .stats-grid {
        grid-template-columns:
            1fr;
    }

    .category-grid {
        grid-template-columns:
            1fr;
    }

    .products-layout {
        grid-template-columns:
            1fr;
    }

    .filters-card {
        position: static;
    }

    .product-grid,
    .products-list {
        grid-template-columns:
            1fr;
    }

    .cart-layout {
        grid-template-columns:
            1fr;
    }

    .checkout-card {
        position: static;
    }

    .cart-item {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .cart-item-actions {
        width: 100%;

        justify-content:
            flex-start;

        flex-wrap: wrap;
    }

    .footer-inner {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .modal-overlay {
        padding: 14px;

        align-items:
            flex-start;
    }

    .modal-card {
        margin:
            auto 0;

        max-width: 100%;
    }

    .checkout-modal-card {
        padding:
            27px 22px;
    }

    .checkout-modal-card h2 {
        font-size: 22px;
    }

}


/* =========================================
   RESPONSIVE - SMALL PHONES
========================================= */

@media (max-width: 450px) {

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .login-btn {
        display: none;
    }

    .hero-card {
        padding:
            27px 20px;
    }

    .hero-content h1 {
        font-size: 32px;

        letter-spacing:
            -1.4px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons
    .primary-btn,
    .hero-buttons
    .secondary-btn {
        width: 100%;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .product-bottom {
        align-items:
            flex-end;
    }

    .cart-item-actions strong {
        min-width: auto;
    }

    .checkout-payment-box {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 7px;
    }

    .checkout-review-item {
        align-items:
            flex-start;
    }

    .checkout-modal-card {
        padding:
            25px 18px;
    }

    .checkout-modal-card
    .modal-logo {
        width: 52px;
        height: 52px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}

/* =========================================
   3-STEP CHECKOUT WIZARD
========================================= */

.checkout-wizard-card {
    width: min(720px, calc(100vw - 28px));
    max-height: min(92vh, 900px);
    overflow-y: auto;
    text-align: left;
}

.checkout-wizard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.checkout-wizard-brand img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    object-fit: cover;
}

.checkout-wizard-brand div {
    display: grid;
    gap: 2px;
}

.checkout-wizard-brand strong { font-size: 17px; }
.checkout-wizard-brand span { color: var(--muted, #9da7bd); font-size: 12px; }

.checkout-progress-wrap { margin-bottom: 20px; }
.checkout-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #c9d3ea;
    font-size: 13px;
    margin-bottom: 9px;
}
.checkout-progress-track {
    height: 5px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}
.checkout-progress-track span {
    display: block;
    height: 100%;
    width: 33.333%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7568ff, #b34dff);
    transition: width .25s ease;
}

.checkout-step { display: none; }
.checkout-step.active { display: block; animation: checkoutFade .2s ease; }
@keyframes checkoutFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.checkout-step h2 { margin: 6px 0 6px; }
.checkout-step-copy { color: #9da7bd; margin: 0 0 20px; }
.checkout-field-label, .checkout-mini-heading {
    display: block;
    margin: 15px 0 8px;
    color: #d7def0;
    font-weight: 700;
    font-size: 13px;
}
.checkout-field {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(9,13,30,.78);
    color: #fff;
    outline: none;
}
.checkout-field:focus {
    border-color: rgba(177,77,255,.8);
    box-shadow: 0 0 0 3px rgba(177,77,255,.12);
}

.checkout-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkout-payment-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.035);
    color: #fff;
    cursor: pointer;
    text-align: left;
}
.checkout-payment-choice.selected {
    border-color: rgba(177,77,255,.85);
    background: rgba(177,77,255,.1);
    box-shadow: 0 0 20px rgba(177,77,255,.08);
}
.checkout-payment-choice span:last-child { display: grid; gap: 2px; }
.checkout-payment-choice small { color: #8d97ae; font-size: 10px; }
.payment-choice-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(117,104,255,.16);
    font-weight: 900;
}

.checkout-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    color: #aeb8ce;
    font-size: 12px;
    line-height: 1.5;
}
.checkout-check-row input { margin-top: 3px; }
.checkout-next-btn { width: 100%; }

.checkout-info-callout, .checkout-warning-box {
    border-radius: 13px;
    padding: 14px;
    margin: 14px 0 18px;
    border: 1px solid rgba(177,77,255,.25);
    background: rgba(177,77,255,.07);
    color: #cbd4e9;
    line-height: 1.5;
}
.checkout-warning-box {
    border-color: rgba(255,190,76,.28);
    background: rgba(255,190,76,.07);
}
.checkout-warning-box strong { color: #ffd27a; }
.checkout-warning-box p { margin: 5px 0 0; font-size: 12px; color: #c9b98f; }

.checkout-selected-order { display: grid; gap: 8px; margin: 16px 0; }
.checkout-selected-order > div,
.checkout-order-info > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.checkout-selected-order span, .checkout-order-info span { color: #8f99af; }
.checkout-selected-order strong, .checkout-order-info strong { text-align: right; overflow-wrap: anywhere; }

.checkout-step-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin-top: 18px; }
.checkout-final-actions { grid-template-columns: 1fr; }

.checkout-final-payment {
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    overflow: hidden;
    margin: 14px 0;
    background: rgba(255,255,255,.025);
}
.checkout-final-payment-title,
.checkout-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.checkout-copy-row:last-child { border-bottom: 0; }
.checkout-copy-row > div { display: grid; gap: 4px; }
.checkout-copy-row span, .checkout-final-payment-title span { color: #8f99af; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.copy-btn {
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    color: #dce3f6;
    border-radius: 9px;
    padding: 8px 10px;
    cursor: pointer;
}
.checkout-order-info {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    padding: 0 14px;
    margin: 16px 0;
}

.checkout-review-compact { margin-bottom: 18px; }
.checkout-summary-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0;
    cursor: default;
}
.checkout-review-compact .checkout-review-items { margin-top: 12px; }

@media (max-width: 640px) {
    .checkout-wizard-card { width: min(100vw - 16px, 720px); padding: 22px 16px; max-height: 94vh; }
    .checkout-payment-grid { grid-template-columns: 1fr; }
    .checkout-step-actions { grid-template-columns: 1fr; }
    .checkout-progress-top { font-size: 11px; }
    .checkout-selected-order > div, .checkout-order-info > div { flex-direction: column; gap: 5px; }
    .checkout-selected-order strong, .checkout-order-info strong { text-align: left; }
}
/* ============================================================
   ASCEND REVIEWS
   ============================================================ */

.reviews-summary {
    margin: 28px 0 24px;
    padding: 22px 26px;
    border: 1px solid rgba(126, 87, 255, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(35, 24, 75, 0.72),
            rgba(12, 18, 42, 0.82)
        );
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25),
        0 0 35px rgba(92, 76, 255, 0.08);
}

.reviews-score {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

#reviews-average {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.reviews-stars {
    font-size: 20px;
    letter-spacing: 3px;
    color: #a88cff;
    text-shadow: 0 0 14px rgba(168, 140, 255, 0.65);
}

#reviews-total {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.review-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(26, 31, 65, 0.94),
            rgba(12, 16, 37, 0.96)
        );

    border: 1px solid rgba(112, 91, 255, 0.22);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: -85px;
    right: -65px;
    border-radius: 50%;
    background: rgba(105, 79, 255, 0.18);
    filter: blur(35px);
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(145, 116, 255, 0.48);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.32),
        0 0 30px rgba(94, 72, 255, 0.09);
}

.review-stars {
    margin-bottom: 14px;
    color: #aa91ff;
    font-size: 19px;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(170, 145, 255, 0.55);
}

.review-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;

    margin-top: 22px;
    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.review-footer span:first-child {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;

    color: #bcaaff;
    background: rgba(119, 88, 255, 0.11);
    border: 1px solid rgba(146, 116, 255, 0.18);

    font-weight: 700;
}

/* Mobile */

@media (max-width: 700px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-summary {
        padding: 18px;
    }

    #reviews-average {
        font-size: 28px;
    }

    .review-card {
        padding: 20px;
    }
}