/* =========================================================================
   FiveM Storefront — Cylex-inspired layout in purple
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */
:root {
    --brand-1: #b061ff;
    --brand-2: #8a2be2;
    --brand-3: #5b1e9a;
    --brand-glow: rgba(176, 97, 255, 0.55);

    --color-bg: #050309;
    --color-brighter-bg: #0d0716;
    --color-surface: #0f0a1c;
    --color-surface-2: #150c24;
    --color-border: rgba(176, 97, 255, 0.14);
    --color-border-strong: rgba(176, 97, 255, 0.4);

    --color-text: #ece6f5;
    --color-text-darker: #d8cfe8;
    --color-text-secondary: #8b81a3;
    --color-text-dark: #0a0613;

    --color-primary: var(--brand-2);
    --color-primary-hover: var(--brand-1);
    --color-primary-text: #fff;
    --color-primary-text-hover: #fff;
    --color-secondary: rgba(255, 255, 255, 0.06);
    --color-secondary-hover: rgba(176, 97, 255, 0.16);
    --color-secondary-text: var(--color-text);
    --color-secondary-text-hover: #fff;
    --color-tertiary: transparent;
    --color-tertiary-hover: rgba(176, 97, 255, 0.1);
    --color-tertiary-text: var(--color-text);
    --color-tertiary-text-hover: var(--brand-1);
    --color-removed: #e0457b;
    --color-sale-banner-bg: #11061f;
    --color-sale-banner-text: var(--brand-1);

    --bg-image: none;

    --shell-w: 1200px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 18px;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
body {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.005em;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Atmospheric purple noise + radial glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 40% at 50% 12%, rgba(138, 43, 226, 0.32), transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 80%, rgba(91, 30, 154, 0.20), transparent 65%),
        linear-gradient(180deg, #050309 0%, #030106 100%);
    pointer-events: none;
}

/* Decorative side wave lines like the reference */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 0% 30%, transparent 60%, rgba(176, 97, 255, 0.06) 60.5%, transparent 61%),
        radial-gradient(circle at 100% 60%, transparent 60%, rgba(176, 97, 255, 0.06) 60.5%, transparent 61%);
    background-size: 800px 800px;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.product-title,
.widget-title,
.site-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.hl {
    color: var(--brand-1);
}

::selection {
    background: var(--brand-2);
    color: #fff;
}

/* -------------------------------------------------------------------------
   Generic shell widths (override shared.css)
   ------------------------------------------------------------------------- */
.site-header,
.site-sale-banner,
.site-home-categories,
.site-content,
.site-footer-inner {
    max-width: var(--shell-w) !important;
    padding-left: 24px;
    padding-right: 24px;
}

@media (width <= 768px) {
    .site-header,
    .site-content,
    .site-footer-inner {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* -------------------------------------------------------------------------
   Buttons (base)
   ------------------------------------------------------------------------- */
.btn-primary,
.btn-secondary,
.btn-tertiary {
    border-radius: 999px;
    font-weight: 600;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: 0 8px 22px -8px var(--brand-glow);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-1));
    box-shadow: 0 14px 32px -8px var(--brand-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-surface-2);
    border-color: var(--color-border-strong);
    color: #fff;
}

.btn-tertiary {
    background: transparent;
    color: var(--color-text-secondary);
}

.btn-tertiary:hover {
    color: var(--brand-1);
}

/* -------------------------------------------------------------------------
   HEADER — flat topbar with inline nav
   ------------------------------------------------------------------------- */
.site-header {
    position: relative;
    z-index: 5;
    view-transition-name: siteHeader;
    padding-top: 0 !important;
}

/* Override shared.css default 355px header */
.site-header-inner {
    height: auto !important;
    padding: 14px 24px !important;
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 28px !important;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0 auto;
    max-width: var(--shell-w);
}

@media (width <= 1100px) {
    .site-header-inner {
        gap: 16px !important;
        padding: 12px 16px !important;
    }
}

/* Logo */
.site-header-inner .site-title {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: left !important;
    margin: 0 !important;
}

.site-header-inner .site-title a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
}

.site-header-inner .site-title img {
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 14px var(--brand-glow));
}

/* Hide the default Tebex header info widgets / fancy login / actions */
.site-header-inner .info,
.site-header-inner .actions,
.site-header-inner .log-in,
.site-header-inner .user-actions {
    display: none !important;
}

@media (width > 900px) {
    .site-navigation {
        display: none !important;
    }
}

/* Inline nav */
.site-nav-inline ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav-inline li {
    display: inline-block;
}

.site-nav-inline a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color .2s ease;
}

.site-nav-inline a:hover {
    color: #fff;
}

.site-nav-inline li.active a {
    color: #fff;
}

.site-nav-inline li.active a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--brand-glow);
}

/* Right actions */
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: color .2s ease;
}

.site-cart:hover {
    color: var(--brand-1);
}

.site-cart svg {
    width: 18px;
    height: 18px;
}

.site-cart-count {
    display: inline-block;
    min-width: 18px;
    text-align: center;
    color: var(--color-text);
    font-weight: 700;
}

.site-cart-amount {
    color: var(--brand-1);
    font-weight: 600;
}

.site-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px -8px var(--brand-glow);
    transition: transform .18s ease, box-shadow .25s ease;
}

.site-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -8px var(--brand-glow);
}

.site-login-btn svg {
    width: 14px;
    height: 14px;
}

.site-burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    align-items: center;
    justify-content: center;
}

.site-burger svg {
    width: 18px;
    height: 18px;
}

/* Mobile header */
@media (width <=900px) {
    .site-header-inner {
        grid-template-columns: auto auto !important;
        justify-content: space-between;
        padding: 14px 20px !important;
    }

    .site-nav-inline {
        display: none !important;
    }

    .site-cart-amount {
        display: none !important;
    }

    .site-login-btn {
        display: none !important;
    }

    .site-burger {
        display: inline-flex !important;
    }
}

/* -------------------------------------------------------------------------
   MARQUEE — promo strip
   ------------------------------------------------------------------------- */
.site-marquee {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(176, 97, 255, 0.04), transparent);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}

.site-marquee-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.site-marquee-item {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-text-secondary);
}

.site-marquee-item .hl,
.site-marquee-item strong {
    color: var(--brand-1);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Hide default tebex sale-banner since marquee replaces it */
.site-sale-banner {
    display: none !important;
}

/* -------------------------------------------------------------------------
   HERO — centered
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    max-width: var(--shell-w);
    margin: 36px auto 60px;
    padding: 60px 24px 30px;
    text-align: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -40px 0 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background-image:
        radial-gradient(circle at 0% 50%, transparent 70%, rgba(176, 97, 255, 0.12) 70.4%, transparent 71%),
        radial-gradient(circle at 0% 50%, transparent 75%, rgba(176, 97, 255, 0.08) 75.4%, transparent 76%),
        radial-gradient(circle at 0% 50%, transparent 80%, rgba(176, 97, 255, 0.05) 80.4%, transparent 81%);
    background-size: 1200px 1200px;
    background-repeat: no-repeat;
}

.hero-wave-l {
    left: -300px;
    transform: scaleX(1);
}

.hero-wave-r {
    right: -300px;
    transform: scaleX(-1);
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 22px;
    color: #fff;
}

.hero-brand {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2) 60%, var(--brand-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    font-style: italic;
}

.hero-brand-shadow {
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: -1;
    color: rgba(176, 97, 255, 0.18);
    -webkit-text-fill-color: rgba(176, 97, 255, 0.18);
    text-transform: uppercase;
    font-style: italic;
    filter: blur(2px);
}

.hero-sub {
    max-width: 620px;
    margin: 0 auto 32px;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.hero-ctas {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
}

.hero-pill svg {
    width: 14px;
    height: 14px;
}

.hero-pill-primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 28px -10px var(--brand-glow);
}

.hero-pill-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px var(--brand-glow);
}

.hero-pill-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.hero-pill-ghost:hover {
    background: var(--color-surface);
    color: #fff;
    border-color: var(--color-border-strong);
}

/* -------------------------------------------------------------------------
   INFO CARDS — 2x2
   ------------------------------------------------------------------------- */
.info-cards {
    max-width: var(--shell-w);
    margin: 0 auto 42px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (width <=720px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}

.info-card {
    position: relative;
    padding: 28px 28px 26px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--color-surface), var(--color-brighter-bg));
    border: 1px solid var(--color-border);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.info-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(176, 97, 255, 0.18), transparent 55%);
    z-index: -1;
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-strong);
    box-shadow: 0 20px 50px -20px var(--brand-glow);
}

.info-card-art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 90px;
    margin: 0 auto 16px;
    color: var(--brand-1);
}

.info-card-art svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 16px var(--brand-glow));
}

/* "Communication" card — stack of pill items */
.info-card-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 180px;
}

.info-card-stack span {
    display: block;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(176, 97, 255, 0.25), rgba(176, 97, 255, 0.05));
    border: 1px solid var(--color-border-strong);
}

.info-card-stack span:nth-child(2) {
    width: 80%;
    opacity: .85;
}

.info-card-stack span:nth-child(3) {
    width: 60%;
    opacity: .7;
}

.info-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.info-card-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.info-card-text .hl {
    color: var(--brand-1);
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   TRUST STRIP — small icons
   ------------------------------------------------------------------------- */
.trust-strip {
    max-width: var(--shell-w);
    margin: 0 auto 64px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    align-items: center;
}

@media (width <=720px) {
    .trust-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (width <= 420px) {
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 22%;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-1), transparent);
    opacity: .35;
}

@media (width <=720px) {
    .trust-item:not(:last-child)::after {
        display: none;
    }
}

.trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--brand-1);
}

.trust-icon svg {
    width: 18px;
    height: 18px;
}

.trust-item span {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   CONTENT SHELL — sidebar + main grid
   ------------------------------------------------------------------------- */
.content-shell {
    max-width: var(--shell-w);
    margin: 0 auto 48px;
    padding: 24px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--color-surface), rgba(13, 7, 22, 0.6));
    border: 1px solid var(--color-border);
}

@media (width <=900px) {
    .content-shell {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}

.content-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.side-block {}

.side-block-head {
    margin-bottom: 12px;
}

.side-block-head h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.side-block-head p {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 4px 0 0;
}

/* Top customer / recent payments rows */
.top-customer,
.recent-payments {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-row,
.rp-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--r-md);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
}

.tc-avatar,
.rp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
}

.tc-info,
.rp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tc-info strong,
.rp-info strong {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-info span,
.rp-info span {
    font-size: 11px;
    color: var(--color-text-secondary);
}

.tc-amount,
.rp-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-1);
}

/* Sidebar featured: single column packages */
.side-featured .store-products-list,
.side-featured .store-products-images {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
}

/* Main column header */
.content-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.content-main-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.fire-ic {
    width: 18px;
    height: 18px;
    color: var(--brand-1);
    filter: drop-shadow(0 0 8px var(--brand-glow));
}

.badge-week {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: none;
    letter-spacing: 0;
    margin-left: 6px;
}

.see-all {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px -8px var(--brand-glow);
    transition: transform .18s ease, box-shadow .25s ease;
}

.see-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -8px var(--brand-glow);
}

/* Latest grid: 2-column packages */
.latest-grid .store-products-list,
.latest-grid .store-products-images {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
}

@media (width <=600px) {

    .latest-grid .store-products-list,
    .latest-grid .store-products-images {
        grid-template-columns: 1fr !important;
    }
}

/* -------------------------------------------------------------------------
   PRODUCT CARDS — used in both sidebar + main grid
   ------------------------------------------------------------------------- */
.store-text {
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.store-products-list .store-product,
.store-products-images .store-product,
.widget .store-product {
    border-radius: var(--r-lg);
    background: var(--color-brighter-bg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
}

.store-products-list .store-product:hover,
.store-products-images .store-product:hover,
.widget .store-product:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-strong);
    box-shadow: 0 18px 44px -18px var(--brand-glow);
}

.store-product .image-link {
    display: block;
    overflow: hidden;
}

.store-product .image,
.store-product .image-default {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.store-product:hover .image {
    transform: scale(1.05);
}

.store-product .image-default {
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
}

.store-product .product-title {
    font-size: 15px;
    font-weight: 700;
    padding: 14px 16px 4px;
    line-height: 1.3;
}

.store-product .countdown {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.store-product .product-actions {
    padding: 0 16px 16px;
}

.product-actions .price {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-1);
    background: rgba(176, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.product-actions .price del.discount {
    color: var(--color-text-secondary);
    font-size: 11px;
    margin-right: 6px;
    font-weight: 500;
}

/* Action buttons in product cards */
.product-actions .add,
.product-actions .subscribe {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
}

.product-actions .add.btn-primary,
.product-actions .subscribe.btn-primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: 0 8px 22px -10px var(--brand-glow);
}

.product-actions .add.btn-secondary {
    background: var(--color-surface-2);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

/* Quantity field */
.quantity-field,
.store-product .quantity-field,
.basket-item .quantity {
    border-radius: 999px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
}

.store-product .quantity-field input[type=number] {
    border: none;
    background: transparent;
    color: var(--color-text);
}

/* -------------------------------------------------------------------------
   WIDGETS / category description / popups (kept simple)
   ------------------------------------------------------------------------- */
.category-description,
.no-products,
.store-product-full,
.store-category-tiered,
.widget {
    border-radius: var(--r-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 22px;
}

.no-products {
    color: var(--color-text-secondary);
    text-align: center;
}

.widget-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (width <=960px) {
    .widget.site-navigation {
        border-radius: 0;
        background: transparent;
        border: none;
        padding: 0;
    }
}

.widget-community-goal .progress,
.widget-goal .progress {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand-1));
    box-shadow: 0 0 12px var(--brand-glow);
}

.popup-content {
    border-radius: var(--r-lg);
    background: var(--color-brighter-bg);
    border: 1px solid var(--color-border);
}

.popup-close {
    border-radius: 0 var(--r-lg) 0 var(--r-md);
}

.popup-close:hover {
    background: rgba(176, 97, 255, 0.18);
}

.basket-popup-content,
.basket-popup-content .popup-close {
    border-radius: 0;
}

.basket-item {
    border-radius: var(--r-md);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
}

.toast {
    border-radius: var(--r-md);
    background: var(--color-brighter-bg);
    border: 1px solid var(--color-border-strong);
}

.media-slider .slider,
.media-slider .thumb {
    border-radius: var(--r-md);
}

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
    background: transparent;
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
    padding-top: 40px;
}

.site-footer-inner {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 28px;
}

@media (width <=900px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (width <=560px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
    }
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px var(--brand-glow));
}

.footer-brand-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.footer-social {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all .2s ease;
}

.footer-social:hover {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    border-color: transparent;
}

.footer-social svg {
    width: 14px;
    height: 14px;
}

.site-footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    margin: 0 0 14px;
}

.site-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-col a {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color .2s ease;
}

.site-footer-col a:hover {
    color: var(--brand-1);
}

/* Developer name chips */
.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-family: 'JetBrains Mono', 'Space Grotesk', monospace;
}

.footer-dev::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-1);
    box-shadow: 0 0 8px var(--brand-glow);
}

/* Contact buttons */
.footer-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.footer-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
    color: #fff;
    box-shadow: 0 6px 18px -8px rgba(88, 101, 242, 0.7);
}

.footer-btn-discord:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(88, 101, 242, 0.9);
    color: #fff;
}

.footer-btn-gitbook {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-border);
    color: #fff;
}

.footer-btn-gitbook:hover {
    background: rgba(176, 97, 255, 0.14);
    border-color: var(--brand-1);
    color: var(--brand-1);
    transform: translateY(-1px);
}

.site-footer-bottom {
    grid-template-columns: 1fr auto !important;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 22px !important;
    padding-bottom: 28px !important;
}

.site-footer-bottom .copyright {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0;
}

.we-accept {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.we-accept li {
    display: grid;
    place-items: center;
    width: 36px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 3px;
}

.we-accept img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (width <=560px) {
    .site-footer-bottom {
        grid-template-columns: 1fr !important;
        gap: 16px;
        text-align: center;
    }

    .we-accept {
        justify-content: center;
    }
}


/* ---------- Hide legacy/Cylex blocks no longer used on home ---------- */
/* (placeholder — overridden by v3 below) */

/* ---------- Layout shell with vertical sidebar ---------- */
body.is-navigation-vertical .site-content,
.site-content-widgets {
    max-width: var(--shell-w);
    margin: 0 auto;
    padding: 24px 24px 60px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

@media (width <=960px) {

    body.is-navigation-vertical .site-content,
    .site-content-widgets {
        grid-template-columns: 1fr;
    }
}

/* The sidebar/aside */
.store-sidebar.side-rail {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (width <=960px) {
    .store-sidebar.side-rail {
        position: static;
    }
}

/* ---------- Vertical site navigation (sidebar) ---------- */
.site-navigation.side-nav,
.widget.navigation-vertical {
    background: linear-gradient(180deg, #0f0a1c 0%, #0a0613 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.side-nav-list,
.navigation-vertical .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-nav-list li,
.navigation-vertical .menu li {
    position: relative;
    list-style: none;
}

.side-nav-list li>a,
.navigation-vertical .menu li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--color-text-darker);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.side-nav-list li>a::before,
.navigation-vertical .menu li>a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    flex-shrink: 0;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.side-nav-list li>a:hover,
.navigation-vertical .menu li>a:hover {
    background: rgba(176, 97, 255, 0.08);
    color: #fff;
}

.side-nav-list li.active>a,
.side-nav-list li>a.link-active,
.navigation-vertical .menu li.active>a,
.navigation-vertical .menu li>a.link-active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.22), rgba(176, 97, 255, 0.10));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(176, 97, 255, 0.35);
}

.side-nav-list li.active>a::before,
.side-nav-list li>a.link-active::before,
.navigation-vertical .menu li.active>a::before {
    background: var(--brand-1);
    box-shadow: 0 0 8px var(--brand-glow);
}

/* Subcategory toggle */
.side-nav-list .has-children {
    position: relative;
}

.side-nav-toggle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease;
}

.side-nav-toggle:hover {
    color: #fff;
    background: rgba(176, 97, 255, 0.12);
}

.side-nav-toggle svg {
    width: 14px;
    height: 14px;
}

.side-nav-list .has-children.expanded>.side-nav-toggle {
    transform: rotate(180deg);
}

.side-nav-list li ul {
    list-style: none;
    margin: 4px 0 6px 22px;
    padding: 4px 0 4px 10px;
    border-left: 1px solid var(--color-border);
    display: none;
    flex-direction: column;
    gap: 2px;
}

.side-nav-list .has-children.expanded>ul,
.side-nav-list .has-children.active>ul {
    display: flex;
}

.side-nav-list li ul li>a {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    color: var(--color-text-secondary);
}

.side-nav-list li ul li>a::before {
    width: 4px;
    height: 4px;
}

/* ---------- Sidebar promo widgets ---------- */
.side-promo {
    display: block;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.18), rgba(91, 30, 154, 0.06));
    border: 1px solid rgba(176, 97, 255, 0.25);
    border-radius: var(--r-md);
    padding: 14px 16px;
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.side-promo::after {
    content: "";
    position: absolute;
    inset: -40% -40% auto auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(176, 97, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.side-promo-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-1);
    text-transform: uppercase;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.side-promo-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-darker);
    position: relative;
    z-index: 1;
}

.side-promo .hl {
    color: var(--brand-1);
    font-weight: 700;
}

.side-promo-discord:hover {
    border-color: var(--brand-1);
}

/* Tebex modules in sidebar */
.store-sidebar .widget {
    background: linear-gradient(180deg, #0f0a1c 0%, #0a0613 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    padding: 14px 16px;
}

.store-sidebar .widget-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-1);
    margin: 0 0 10px;
}

/* ---------- Override hero CTAs (no full-scripts ghost button now) ---------- */
.hero-pill-ghost {
    display: none !important;
}

/* ---------- BIG PRODUCT CARDS (LikolGames-inspired) ---------- */
.home-product-grid,
.store-products-list,
.store-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The card itself — replaces older .store-product styles */
.store-product.card-pkg {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #120a22 0%, #0a0613 100%);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.store-product.card-pkg:hover {
    transform: translateY(-3px);
    border-color: rgba(176, 97, 255, 0.4);
    box-shadow: 0 18px 36px -18px rgba(138, 43, 226, 0.6);
}

.card-pkg-image-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0613;
}

.card-pkg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.card-pkg-image-link:hover .card-pkg-image {
    transform: scale(1.06);
}

.card-pkg-image.image-default {
    background: linear-gradient(135deg, #1a0f2e 0%, #0a0613 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-pkg-image.image-default::after {
    content: "";
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, var(--brand-glow), transparent 65%);
    border-radius: 50%;
}

/* Top-left category badge */
.card-pkg-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 4, 16, 0.78);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(176, 97, 255, 0.3);
    color: var(--brand-1);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
}

.card-pkg-countdown {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff3b6f, #d31655);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

.card-pkg-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.card-pkg-title {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-pkg-title a {
    color: inherit;
    text-decoration: none;
    background: none;
}

.card-pkg-title a:hover {
    color: var(--brand-1);
}

/* Actions row inside card */
.card-pkg-actions {
    margin-top: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: transparent;
    border: 0;
}

.card-pkg-actions .price {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-pkg-actions .price .price-text {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.card-pkg-actions .price .price-free {
    color: #25e0a0;
}

.card-pkg-actions .price .discount {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

/* CTA cluster — small icon buttons */
.card-pkg-cta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-pkg-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-darker);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.card-pkg-icon-btn svg {
    width: 16px;
    height: 16px;
}

.card-pkg-icon-btn:hover {
    background: rgba(176, 97, 255, 0.16);
    color: #fff;
    border-color: rgba(176, 97, 255, 0.5);
}

/* Add to basket — brand-colored variant */
.card-pkg-icon-btn.card-pkg-add,
.card-pkg-icon-btn.card-pkg-in-basket {
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px -4px var(--brand-glow);
}

.card-pkg-icon-btn.card-pkg-add:hover,
.card-pkg-icon-btn.card-pkg-in-basket:hover {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: 0 6px 16px -4px var(--brand-glow);
    transform: translateY(-1px);
}

.card-pkg-icon-btn.card-pkg-in-basket {
    background: linear-gradient(135deg, #25e0a0, #189668);
}

/* Quantity field compact */
.card-pkg-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    height: 36px;
}

.card-pkg-qty .adjust {
    width: 28px;
    height: 36px;
    background: transparent;
    border: 0;
    color: var(--color-text);
    font-size: 16px;
    cursor: pointer;
    padding: 0;
}

.card-pkg-qty .adjust:hover {
    color: var(--brand-1);
}

.card-pkg-qty .quantity {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    -moz-appearance: textfield;
}

.card-pkg-qty .quantity::-webkit-outer-spin-button,
.card-pkg-qty .quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide legacy oversized .product-actions buttons that may still leak */
.store-product.card-pkg .product-actions .add.btn-primary,
.store-product.card-pkg .product-actions .subscribe.btn-primary,
.store-product.card-pkg .product-actions .open-basket-cta {
    display: none !important;
}

/* Latest section header */
.latest-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.latest-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.latest-head .fire-ic {
    width: 22px;
    height: 22px;
    color: #ff8a3d;
    filter: drop-shadow(0 0 6px rgba(255, 138, 61, 0.5));
}

.latest-head .hl {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.latest-head .badge-week {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(176, 97, 255, 0.12);
    border: 1px solid var(--color-border);
    color: var(--brand-1);
    letter-spacing: 0.04em;
}

.latest-head .see-all {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand-1);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.15s ease;
}

.latest-head .see-all:hover {
    border-color: var(--brand-1);
    background: rgba(176, 97, 255, 0.08);
}

/* Home text section */
.home-text-section {
    margin-top: 50px;
    padding: 28px 32px;
    background: linear-gradient(180deg, #0f0a1c 0%, #0a0613 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
}

.home-text-section .text-content {
    color: var(--color-text-darker);
    line-height: 1.7;
    font-size: 14px;
}

.home-text-section .text-content h1,
.home-text-section .text-content h2,
.home-text-section .text-content h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: #fff;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
}

/* =========================================================================
   PACKAGE FULL PAGE
   ========================================================================= */
.pkg-page {
    max-width: var(--shell-w) !important;
    margin: 0 auto !important;
    padding: 24px 24px 60px !important;
    display: block !important;
    grid-template-columns: none !important;
}

.pkg-page .pkg-detail {
    width: 100%;
}

.pkg-detail {
    background: linear-gradient(180deg, #0f0a1c 0%, #08040f 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.pkg-hero {
    display: block;
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--color-border);
    background:
        radial-gradient(ellipse 80% 100% at 0% 0%, rgba(138, 43, 226, 0.2), transparent 60%),
        linear-gradient(180deg, #150c24 0%, #0f0a1c 100%);
}

.pkg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (width <=768px) {
    .pkg-hero {
        padding: 20px 16px;
    }
}

.pkg-crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    padding: 6px 12px 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.15s ease;
}

.pkg-crumb:hover {
    color: var(--brand-1);
    border-color: var(--brand-1);
}

.pkg-crumb svg {
    width: 14px;
    height: 14px;
}

.pkg-title {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(22px, 3.4vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.pkg-countdown {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-size: 12px;
    background: linear-gradient(135deg, #ff3b6f, #d31655);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.pkg-price-block {
    background: rgba(176, 97, 255, 0.08);
    border: 1px solid rgba(176, 97, 255, 0.3);
    border-radius: var(--r-md);
    padding: 14px 22px;
    text-align: right;
}

.pkg-price-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand-1);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pkg-price-value {
    display: block;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.pkg-price-old {
    display: block;
    font-size: 14px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
    font-weight: 500;
}

.pkg-media {
    padding: 24px 32px;
    background: #07040d;
    max-height: 560px;
    overflow: hidden;
}

.pkg-media:empty,
.pkg-media:has(> :empty:only-child) {
    display: none !important;
}

@media (width <=768px) {
    .pkg-media {
        padding: 16px;
    }
}

.pkg-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--r-md);
    display: block;
    border: 1px solid var(--color-border);
}

.pkg-image.image-default {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(176, 97, 255, 0.40), transparent 70%),
        linear-gradient(135deg, #2a1349 0%, #08040f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pkg-image.image-default::after {
    content: "";
    width: 84px;
    height: 84px;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
    border-radius: 50%;
}

.pkg-no-descr {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

.pkg-actions-bar {
    padding: 20px 32px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(176, 97, 255, 0.03);
}

@media (width <=700px) {
    .pkg-actions-bar {
        padding: 16px;
    }
}

/* Make actions in package detail bigger than card variant */
.pkg-actions-bar .pkg-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* Price pill */
.pkg-actions-bar .pkg-price-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 26px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    background: rgba(176, 97, 255, 0.10);
    border: 1px solid rgba(176, 97, 255, 0.35);
    border-radius: 14px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.pkg-actions-bar .pkg-price-pill del {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.pkg-actions-bar .pkg-price-pill .is-free {
    color: #4ade80;
}

/* Main CTA button */
.pkg-actions-bar .pkg-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 28px;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pkg-actions-bar .pkg-cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pkg-actions-bar .pkg-cta-add,
.pkg-actions-bar .pkg-cta-view {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: 0 6px 20px -6px var(--brand-glow);
}

.pkg-actions-bar .pkg-cta-add:hover,
.pkg-actions-bar .pkg-cta-view:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px -6px var(--brand-glow);
}

.pkg-actions-bar .pkg-cta-inbasket {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.pkg-actions-bar .pkg-cta-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Quantity field in detail page */
.pkg-actions-bar .pkg-qty-wrap {
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 6px;
    gap: 4px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
}

.pkg-actions-bar .pkg-qty-btn {
    width: 40px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: rgba(176, 97, 255, 0.12);
    color: var(--brand-1);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.pkg-actions-bar .pkg-qty-btn:hover {
    background: var(--brand-2);
    color: #fff;
}

.pkg-actions-bar .pkg-qty-input {
    width: 50px;
    height: 44px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.pkg-actions-bar .pkg-qty-input::-webkit-outer-spin-button,
.pkg-actions-bar .pkg-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (width <=768px) {
    .pkg-actions-bar .pkg-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .pkg-actions-bar .pkg-price-pill,
    .pkg-actions-bar .pkg-cta-btn,
    .pkg-actions-bar .pkg-qty-wrap {
        width: 100%;
        justify-content: center;
        height: 50px;
    }
}

.pkg-description {
    padding: 28px 32px 32px;
}

@media (width <=700px) {
    .pkg-description {
        padding: 20px;
    }
}

.pkg-section-head h2 {
    margin: 0 0 18px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    text-transform: uppercase;
}

.pkg-section-head .hl {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pkg-description .descr {
    color: var(--color-text-darker);
    line-height: 1.75;
    font-size: 15px;
}

.pkg-description .descr h1,
.pkg-description .descr h2,
.pkg-description .descr h3 {
    color: #fff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.pkg-description .descr img {
    max-width: 100%;
    border-radius: 10px;
    margin: 12px 0;
}

.pkg-description .descr a {
    color: var(--brand-1);
}

.pkg-feature-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 32px 32px;
}

@media (width <=700px) {
    .pkg-feature-pills {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }
}

.pkg-feature {
    background: rgba(176, 97, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
}

.pkg-feature svg {
    width: 26px;
    height: 26px;
    color: var(--brand-1);
    grid-row: 1 / span 2;
    align-self: center;
}

.pkg-feature strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.pkg-feature span {
    font-size: 12px;
    color: var(--color-text-secondary);
    grid-column: 2;
}

/* ---------- Hide legacy/Cylex blocks no longer used on home ---------- */
.home-product-grid+.content-shell,
.tc-row,
/* legacy top-customer rows */
.side-block-tc {
    display: none;
}

/* ---------- Header: Show inline nav on desktop ---------- */
.site-nav-inline {
    display: flex;
}

body.is-navigation-vertical .site-nav-inline {
    display: flex;
}

/* Homepage = single column, no sidebar */
.home-content {
    max-width: var(--shell-w) !important;
    margin: 0 auto !important;
    padding: 0 24px 60px !important;
    display: block !important;
    grid-template-columns: none !important;
}

.home-main-full {
    width: 100%;
    display: block;
}

/* When vertical nav is on, header still needs its inner padding */
body.is-navigation-vertical .site-header-inner {
    padding: 14px 28px;
}

/* Polish header inline nav — pill-style chips */
.site-nav-inline ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav-inline li {
    list-style: none;
}

.site-nav-inline a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-darker);
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav-inline a:hover {
    background: rgba(176, 97, 255, 0.10);
    color: #fff;
}

.site-nav-inline li.active>a {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.25), rgba(176, 97, 255, 0.10));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(176, 97, 255, 0.4);
}

@media (width <= 900px) {
    .site-nav-inline {
        display: none !important;
    }
}





/* =========================================================================
   v4 � Card image fix, hide sidebar widgets, category page
   ========================================================================= */

/* ---- Kill sidebar promo widgets entirely ---- */
.side-promo,
.store-sidebar .widget {
    display: none !important;
}

/* ---- Hide sidebar on homepage (already done) and on category page ---- */
.page-category .store-sidebar {
    display: none !important;
}

/* ---- CATEGORY PAGE LAYOUT ---- */
.category-content {
    max-width: var(--shell-w) !important;
    margin: 0 auto !important;
    padding: 24px !important;
    display: block !important;
    grid-template-columns: none !important;
}

.category-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.category-head .pkg-crumb {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

.category-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-1);
    padding: 6px 12px;
    background: rgba(176, 97, 255, 0.10);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

.category-description {
    margin-bottom: 24px;
    color: var(--color-text-darker);
    line-height: 1.7;
}

/* ---- PRODUCT CARD IMAGE — clean cover-fill ---- */
.card-pkg-image-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0f2e 0%, #08040f 100%);
    border-bottom: 1px solid var(--color-border);
}

/* Letter fallback — always rendered behind */
.card-pkg-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 72px;
    color: rgba(255, 255, 255, 0.95);
    background:
        radial-gradient(ellipse at 50% 30%, rgba(176, 97, 255, 0.45), transparent 70%),
        linear-gradient(135deg, #2a1349 0%, #08040f 100%);
    text-shadow: 0 6px 30px var(--brand-glow);
    z-index: 0;
    user-select: none;
}

/* Image covers the whole area — overlays the fallback when present */
.card-pkg-image-link img.card-pkg-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 1;
    transition: transform 0.4s ease;
    background: transparent;
    padding: 0 !important;
    border: 0 !important;
}

.card-pkg-image-link:hover img.card-pkg-image {
    transform: scale(1.06);
}

/* Bottom gradient for legibility of any overlay items */
.card-pkg-image-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 4, 16, 0.55) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Badges sit above everything */
.card-pkg-cat-badge,
.card-pkg-countdown {
    z-index: 3;
}

.card-pkg-image-link .image-default::after {
    content: "";
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, var(--brand-glow), transparent 65%);
    border-radius: 50%;
}

/* ---- Card body & actions tighter ---- */
.card-pkg-body {
    padding: 16px 16px 14px;
    gap: 10px;
}

.card-pkg-title {
    min-height: 40px;
}

/* Actions � split price (left) and CTA cluster (right) */
.card-pkg-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.card-pkg-actions .price {
    flex: 0 1 auto;
    min-width: 0;
}

.card-pkg-actions .price .price-text {
    display: inline-flex;
    align-items: center;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    padding: 0 16px;
    border-radius: 999px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 14px !important;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
}

.card-pkg-actions .price .price-free {
    background: linear-gradient(135deg, rgba(37, 224, 160, 0.18), rgba(24, 150, 104, 0.06));
    border-color: rgba(37, 224, 160, 0.35);
    color: #25e0a0;
}

.card-pkg-actions .price .discount {
    display: block;
    font-size: 11px !important;
    margin-bottom: 2px;
}

.card-pkg-cta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Smaller, neater icon buttons */
.card-pkg-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0;
}

.card-pkg-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
}

/* Show the view arrow inside cards — it opens the script details page */
.card-pkg .card-pkg-view {
    display: inline-flex !important;
}

.card-pkg .card-pkg-view {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-border);
    color: var(--color-text-darker);
    box-shadow: none;
}

.card-pkg .card-pkg-view:hover {
    background: rgba(176, 97, 255, 0.16);
    color: var(--brand-1);
    border-color: var(--brand-1);
    transform: translateY(-1px);
}

/* v6 — Equal sizing & perfect alignment for card actions row */
.card-pkg-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

@media (width <= 360px) {
    .card-pkg-actions {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
    .card-pkg-actions .price {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
    }
    .card-pkg-cta {
        width: 100%;
        justify-content: center !important;
    }
}

.card-pkg-actions>* {
    margin: 0 !important;
}

.card-pkg-actions .price {
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.card-pkg-actions .price .price-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
    line-height: 1 !important;
}

.card-pkg-cta {
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    gap: 6px !important;
}

.card-pkg-icon-btn {
    width: 40px !important;
    height: 40px !important;
    box-sizing: border-box !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.card-pkg-icon-btn svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    transform: none !important;
}

.card-pkg .card-pkg-view {
    border-color: var(--color-border) !important;
}

.card-pkg-icon-btn.card-pkg-add {
    /* Drop offset shadow so it doesn't visually shift the box */
    box-shadow: 0 0 0 0 transparent, 0 4px 14px -6px var(--brand-glow) !important;
}

/* Hide the in-card qty stepper entirely — only the cart/view buttons live in cards.
   Quantity changes happen in the basket popup. */
.card-pkg-actions .card-pkg-qty,
.card-pkg-actions .quantity-field {
    display: none !important;
}

/* When item is already in basket, swap cart -> green check button */
.card-pkg-actions .card-pkg-in-basket {
    display: inline-flex !important;
}


/* =========================================================================
   v5 � Popup (basket / login / quote) styling
   ========================================================================= */
.popup {
    background: rgba(5, 3, 9, 0.78) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup-content {
    background: linear-gradient(180deg, #150c24 0%, #08040f 100%) !important;
    border: 1px solid var(--color-border-strong) !important;
    border-radius: var(--r-lg) !important;
    box-shadow: 0 30px 80px -20px rgba(138, 43, 226, 0.45), 0 0 0 1px rgba(176, 97, 255, 0.12) inset !important;
    padding: 28px !important;
    max-width: 440px !important;
    color: var(--color-text);
}

.popup .close-popup {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-darker);
    transition: all 0.15s ease;
}

.popup .close-popup:hover {
    background: rgba(176, 97, 255, 0.18);
    color: #fff;
    border-color: var(--brand-1);
}

/* Login popup */
.store-login-popup,
.store-login {
    text-align: center;
    padding: 8px 0;
}

.store-login h1,
.store-login h2,
.store-login-popup h1,
.store-login-popup h2,
.popup-content h1,
.popup-content h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

/* "Login via FiveM" or any primary button inside popup */
.popup-content .btn-primary,
.popup-content [class*="login"] a,
.popup-content a[href*="login"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3)) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    box-shadow: 0 8px 20px -6px var(--brand-glow);
    transition: all 0.15s ease;
}

.popup-content .btn-primary:hover,
.popup-content a[href*="login"]:hover {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -6px var(--brand-glow);
}

/* Basket popup spacing */
.store-basket-popup,
.popup-content .basket {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- Basket popup full layout (v2) ---- */
.popup-content .basket {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.popup-content .basket-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(176, 97, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: var(--r-md);
}

.popup-content .basket-title {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.popup-content .basket-second-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.popup-content .basket-second-header .total {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.popup-content .basket-content {
    padding: 0;
}

.popup-content .basket-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-content .basket-item {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "info qty"
        "info remove";
    align-items: center;
    gap: 8px 12px;
    padding: 14px 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-border);
}

.popup-content .basket-item .info {
    grid-area: info;
    min-width: 0;
}

.popup-content .basket-item .info .title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.popup-content .basket-item .info .title a {
    color: inherit;
    text-decoration: none;
}

.popup-content .basket-item .info .options {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 11px;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 2px;
    word-break: break-all;
}

.popup-content .basket-item .info .options strong {
    color: var(--color-text);
    font-weight: 600;
}

.popup-content .basket-item .info .price {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-1);
}

.popup-content .basket-item .quantity-field {
    grid-area: qty;
    display: inline-flex;
    align-items: center;
    height: 36px;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--color-border) !important;
    padding: 3px;
    gap: 2px;
}

.popup-content .basket-item .quantity-field .adjust {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: none;
    background: rgba(176, 97, 255, 0.12);
    color: var(--brand-1);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.popup-content .basket-item .quantity-field .adjust:hover:not([disabled]) {
    background: var(--brand-2);
    color: #fff;
}

.popup-content .basket-item .quantity-field .adjust[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.popup-content .basket-item .quantity-field .quantity {
    width: 36px;
    height: 28px;
    text-align: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.popup-content .basket-item .quantity-field .quantity::-webkit-outer-spin-button,
.popup-content .basket-item .quantity-field .quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.popup-content .basket-item .remove {
    grid-area: remove;
    justify-self: end;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: transparent;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 112, 144, 0.25);
    background: rgba(255, 112, 144, 0.08);
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.popup-content .basket-item .remove::before {
    content: "";
    width: 16px;
    height: 16px;
    background-color: #ff7090;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 6 5 6 21 6'/><path d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/><path d='M10 11v6'/><path d='M14 11v6'/><path d='M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 6 5 6 21 6'/><path d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/><path d='M10 11v6'/><path d='M14 11v6'/><path d='M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2'/></svg>") no-repeat center / contain;
    display: block;
}

.popup-content .basket-item .remove>* {
    display: none !important;
}

.popup-content .basket-item .remove:hover {
    background: rgba(255, 112, 144, 0.18);
    border-color: rgba(255, 112, 144, 0.55);
    transform: translateY(-1px);
}

.popup-content .basket-checkout {
    margin-top: 6px;
    padding: 16px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(176, 97, 255, 0.12), rgba(138, 43, 226, 0.04));
    border: 1px solid rgba(176, 97, 255, 0.3);
}

.popup-content .basket-checkout h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
}

.popup-content .basket-checkout h3 .total {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    text-transform: none;
}

.popup-content .basket-checkout .checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px -8px var(--brand-glow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.popup-content .basket-checkout .checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -8px var(--brand-glow);
}

/* Popup updating state subtle indicator */
.popup-content .basket.is-updating {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* Loading spinner color */
.popup.popup-loading .popup-content::before {
    border-top-color: var(--brand-1) !important;
}

/* Header cart button � clickable & spaced */
.site-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.site-cart:hover {
    background: rgba(176, 97, 255, 0.12);
    border-color: var(--brand-1);
    color: #fff;
}

.site-cart svg {
    width: 16px;
    height: 16px;
}

.site-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    background: var(--brand-2);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.site-cart-amount {
    color: var(--brand-1);
    font-weight: 700;
}

/* ---------- Mobile Navigation Drawer ---------- */
@media (width <= 960px) {
    .site-navigation {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(5, 3, 9, 0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    body.show-navigation .site-navigation {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .site-navigation .menu {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: linear-gradient(180deg, #120a22 0%, #050309 100%);
        border-right: 1px solid var(--color-border-strong);
        padding: 80px 24px 40px;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
        margin: 0 !important;
        list-style: none !important;
    }

    body.show-navigation .site-navigation .menu {
        transform: translateX(0);
    }

    .site-navigation .menu li {
        list-style: none !important;
        display: block !important;
    }

    .site-navigation .menu a {
        display: block !important;
        padding: 12px 16px !important;
        color: var(--color-text-secondary) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        border-radius: 8px !important;
        transition: all 0.2s ease !important;
        border: none !important;
        background: none !important;
    }

    .site-navigation .menu a:hover,
    .site-navigation .menu a.link-active,
    .site-navigation .menu li.active > a {
        background: rgba(176, 97, 255, 0.12) !important;
        color: #fff !important;
        padding-left: 20px !important;
    }

    .site-navigation .close-navigation {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid var(--color-border) !important;
        border-radius: 10px !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
        cursor: pointer;
        padding: 0 !important;
        z-index: 1001;
    }

    .site-navigation .close-navigation::after {
        content: "×";
        font-size: 28px;
        font-weight: 300;
        line-height: 1;
    }

    .site-navigation .close-navigation::before {
        display: none !important;
    }

    .side-nav-toggle::before {
        display: none !important;
    }

    .side-nav-toggle {
        padding: 0 !important;
        background: none !important;
        border: none !important;
    }

    .side-nav-toggle svg {
        width: 14px;
        height: 14px;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .has-children.expanded > .side-nav-toggle svg {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* ---------- Discount Modal Popup ---------- */
.site-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: transparent;
    backdrop-filter: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.site-modal-overlay.is-active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.site-modal-content {
    background: linear-gradient(180deg, #1a0f2e 0%, #050309 100%);
    border: 1px solid var(--color-border-strong);
    border-radius: 20px;
    padding: 32px 28px 28px;
    width: 320px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    text-align: center;
    transform: translateY(40px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 60px rgba(138, 43, 226, 0.1);
    pointer-events: auto;
}

.site-modal-overlay.is-active .site-modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition: all 0.15s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: var(--brand-1);
}

.modal-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-1);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.modal-headline {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
}

.modal-sub {
    font-size: 13px;
    color: var(--color-text-darker);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-code-box {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px -5px rgba(138, 43, 226, 0.3);
}

.modal-code-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(138, 43, 226, 0.4);
    border-color: #fff;
}

.modal-code-box:active {
    transform: scale(0.97);
}

/* ---------- Announcement / Info Box Slider ---------- */
.site-announcement {
    max-width: var(--shell-w);
    margin: 85px auto 0; /* Reduced margin to clear fixed header */
    padding: 0 24px;
    position: relative;
    overflow: hidden;
}

.announcement-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
}

.announcement-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.announcement-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.announcement-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.announcement-dot.is-active {
    background: var(--brand-1);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--brand-glow);
}

.announcement-inner {
    flex: 1;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.12), rgba(176, 97, 255, 0.04));
    border: 1px solid rgba(176, 97, 255, 0.15);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.announcement-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--brand-glow);
}

.announcement-icon svg {
    width: 22px;
    height: 22px;
}

.announcement-content {
    flex-grow: 1;
}

.announcement-content strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}

.announcement-content span {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.announcement-btn {
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.announcement-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-1px);
}

@media (width <= 768px) {
    .site-announcement {
        margin-top: 100px;
        padding: 0 20px;
    }
    
    .announcement-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }
    
    .announcement-btn {
        width: 100%;
    }
}