/* ============================================================
   Vexxa AI — Theme / Design System
   Built on Bootstrap 5. All custom UI lives here.
   Palette is defined as CSS variables so it can be re-skinned
   later without touching component rules (RULES.md #2).
   ============================================================ */

/* ----------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------- */
:root {
    /* Brand palette */
    --vx-primary:        #6d5efc;
    --vx-primary-rgb:    109, 94, 252;
    --vx-primary-soft:   #7c5cff;
    --vx-accent:         #0bb6dd;
    --vx-accent-rgb:     11, 182, 221;
    --vx-accent-2:       #12b8a0;

    /* Neutrals (light UI) */
    --vx-bg:             #f5f6fb;
    --vx-bg-2:           #eceef6;
    --vx-surface:        #ffffff80;
    --vx-surface-solid:  #ffffff;
    --vx-surface-2:      #f1f2f9;
    --vx-elevated:       #e8eaf3;
    --vx-border:         rgba(18, 21, 48, .10);
    --vx-border-strong:  rgba(18, 21, 48, .18);

    /* Text */
    --vx-text:           #44475e;
    --vx-heading:        #14162e;
    --vx-muted:          #6c7088;
    --vx-faint:          #9a9eb4;

    /* Effects */
    --vx-gradient:       linear-gradient(135deg, #6d5efc 0%, #1fd1f9 100%);
    --vx-gradient-soft:  linear-gradient(135deg, rgba(109,94,252,.12) 0%, rgba(31,209,249,.10) 100%);
    --vx-gradient-text:  linear-gradient(120deg, #6d5efc 0%, #1fa6d4 55%, #12b8a0 100%);
    --vx-glow:           0 0 60px -14px rgba(var(--vx-primary-rgb), .45);
    --vx-shadow-sm:      0 6px 20px -8px rgba(18, 21, 48, .14);
    --vx-shadow:         0 24px 55px -20px rgba(18, 21, 48, .22);
    --vx-shadow-lg:      0 40px 90px -28px rgba(18, 21, 48, .30);

    /* Geometry */
    --vx-radius-sm:      14px;
    --vx-radius:         22px;
    --vx-radius-lg:      34px;
    --vx-radius-pill:    999px;

    /* Layout */
    --vx-nav-h:          76px;
    --vx-ease:           cubic-bezier(.22, 1, .36, 1);

    /* Fonts — Tajawal covers both Arabic and Latin across the whole site */
    --vx-font:           "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ----------------------------------------------------------
   2. Base
   ---------------------------------------------------------- */
* { scroll-behavior: smooth; }

body.vx-body {
    background-color: var(--vx-bg);
    color: var(--vx-text);
    font-family: var(--vx-font);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Ambient page background — soft aurora blobs + dotted grid */
.vx-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(620px 620px at 12% -4%, rgba(var(--vx-primary-rgb), .12), transparent 60%),
        radial-gradient(560px 560px at 92% 8%, rgba(var(--vx-accent-rgb), .10), transparent 60%),
        radial-gradient(700px 700px at 78% 96%, rgba(18, 184, 160, .08), transparent 62%),
        var(--vx-bg);
}
.vx-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(18, 21, 48, .055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
    pointer-events: none;
}

a { color: var(--vx-primary); text-decoration: none; transition: color .2s var(--vx-ease); }
a:hover { color: var(--vx-accent); }

h1, h2, h3, h4, h5, h6 {
    color: var(--vx-heading);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.18;
}

p { color: var(--vx-text); }

::selection { background: rgba(var(--vx-primary-rgb), .4); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--vx-bg-2); }
::-webkit-scrollbar-thumb { background: var(--vx-surface-2); border-radius: 999px; border: 2px solid var(--vx-bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--vx-elevated); }

/* ----------------------------------------------------------
   3. Layout helpers
   ---------------------------------------------------------- */
.vx-section {
    position: relative;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.vx-section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Dark band — breaks up the light layout; recolours its own content */
.vx-section--dark {
    background:
        radial-gradient(720px 520px at 12% -10%, rgba(var(--vx-primary-rgb), .30), transparent 68%),
        radial-gradient(720px 560px at 92% 110%, rgba(var(--vx-accent-rgb), .22), transparent 68%),
        #0a0a16;
    color: rgba(255, 255, 255, .8);
}
.vx-section--dark h1,
.vx-section--dark h2,
.vx-section--dark h3,
.vx-section--dark h4 { color: #fff; }
.vx-section--dark p { color: rgba(255, 255, 255, .76); }
.vx-section--dark .vx-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
}
.vx-section--dark .vx-inc-item span { color: rgba(255, 255, 255, .88); }
.vx-section--dark .vx-about-orb-icon {
    color: #fff;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .55));
}

.vx-container { max-width: 1240px; }

.vx-text-gradient {
    background: var(--vx-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vx-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vx-border-strong), transparent);
    border: 0;
    opacity: 1;
}

/* Eyebrow chip above section titles */
.vx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--vx-primary-soft);
    background: var(--vx-gradient-soft);
    border: 1px solid var(--vx-border-strong);
    border-radius: var(--vx-radius-pill);
}
.vx-eyebrow .bi { font-size: .95rem; }

.vx-section-head { max-width: 680px; }
.vx-section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    margin: 1rem 0 .85rem;
}
.vx-section-head p { color: var(--vx-muted); font-size: 1.06rem; margin: 0; }

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */
.vx-btn {
    --_bg: var(--vx-surface-2);
    --_fg: var(--vx-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    font-weight: 700;
    font-size: .98rem;
    line-height: 1;
    color: var(--_fg);
    background: var(--_bg);
    border: 1px solid var(--vx-border-strong);
    border-radius: var(--vx-radius-pill);
    cursor: pointer;
    transition: transform .25s var(--vx-ease), box-shadow .25s var(--vx-ease),
                background .25s var(--vx-ease), border-color .25s var(--vx-ease), color .2s;
    white-space: nowrap;
}
.vx-btn:hover { transform: translateY(-3px); color: var(--_fg); }
.vx-btn:active { transform: translateY(-1px); }
.vx-btn .bi { font-size: 1.05rem; }

.vx-btn--primary {
    --_fg: #fff;
    background: var(--vx-gradient);
    border-color: transparent;
    box-shadow: 0 12px 34px -10px rgba(var(--vx-primary-rgb), .7);
}
.vx-btn--primary:hover { box-shadow: 0 20px 48px -10px rgba(var(--vx-primary-rgb), .85); }

.vx-btn--ghost { background: transparent; }
.vx-btn--ghost:hover { background: var(--vx-surface-2); border-color: var(--vx-border-strong); }

.vx-btn--light { --_bg: #fff; --_fg: #0c0c17; border-color: #fff; }
.vx-btn--light:hover { --_fg: #0c0c17; box-shadow: 0 18px 40px -12px rgba(255,255,255,.4); }

/* Glass button — for use over hero imagery */
.vx-btn--glass {
    --_fg: #fff;
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vx-btn--glass:hover { --_fg: #fff; background: rgba(255, 255, 255, .26); }

.vx-btn--sm { padding: .6rem 1.15rem; font-size: .88rem; }
.vx-btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.vx-btn--block { width: 100%; }

/* Icon-only round button */
.vx-icon-btn {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    color: var(--vx-text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s, transform .2s var(--vx-ease), border-color .2s, color .2s;
}
.vx-icon-btn:hover { background: var(--vx-elevated); color: var(--vx-heading); transform: translateY(-2px); border-color: var(--vx-border-strong); }

/* ----------------------------------------------------------
   5. Surfaces / cards
   ---------------------------------------------------------- */
.vx-card {
    position: relative;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    padding: 1.85rem;
    overflow: hidden;
    transition: transform .35s var(--vx-ease), border-color .35s var(--vx-ease), box-shadow .35s var(--vx-ease);
}
.vx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(var(--vx-primary-rgb), .55), transparent 38%, transparent 62%, rgba(var(--vx-accent-rgb), .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s var(--vx-ease);
    pointer-events: none;
}
.vx-card:hover { transform: translateY(-8px); box-shadow: var(--vx-shadow); }
.vx-card:hover::before { opacity: 1; }

.vx-glass {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--vx-border);
}

/* ----------------------------------------------------------
   6. Floating navbar (non-traditional)
   ---------------------------------------------------------- */
.vx-nav-wrap {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    padding: 1.1rem clamp(.8rem, 3vw, 2rem);
    transition: padding .35s var(--vx-ease);
}
.vx-nav-wrap.is-stuck { padding-top: .55rem; padding-bottom: .55rem; }

.vx-nav {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: .55rem;
    padding-inline-start: 1.25rem;
    padding-inline-end: .65rem;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    box-shadow: var(--vx-shadow-sm);
    transition: box-shadow .35s var(--vx-ease), border-color .35s var(--vx-ease), background .35s var(--vx-ease);
}
.vx-nav-wrap.is-stuck .vx-nav {
    border-color: var(--vx-border-strong);
    box-shadow: var(--vx-shadow);
}

/* Brand */
.vx-brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.vx-brand:hover { color: inherit; }
.vx-brand-mark {
    display: inline-flex; align-items: center;
    flex-shrink: 0;
}
.vx-brand-mark img {
    height: 40px; width: auto; max-width: 160px;
    object-fit: contain; object-position: center;
    display: block;
}
.vx-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.vx-brand-name { font-weight: 800; font-size: 1.05rem; color: var(--vx-heading); letter-spacing: -.01em; }
.vx-brand-tag { font-size: .68rem; color: var(--vx-muted); font-weight: 600; letter-spacing: .02em; }

/* Nav links — center cluster */
.vx-nav-links {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.vx-nav-links a {
    position: relative;
    display: block;
    padding: .6rem .95rem;
    color: var(--vx-muted);
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--vx-radius-pill);
    transition: color .2s, background .2s;
}
.vx-nav-links a:hover { color: var(--vx-text); background: var(--vx-surface-2); }
.vx-nav-links a.active { color: var(--vx-heading); }
.vx-nav-links a.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    width: 5px; height: 5px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--vx-accent);
    box-shadow: 0 0 10px var(--vx-accent);
}

/* Nav actions */
.vx-nav-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

/* Nav account dropdown */
.vx-nav-account { position: relative; }
.vx-nav-dropdown {
    min-width: 11rem;
    padding: .4rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: 0 12px 40px -8px rgba(18,21,48,.13);
    margin-top: .4rem !important;
}
.vx-nav-dropdown-item {
    display: flex; align-items: center; gap: .5rem;
    width: 100%;
    padding: .55rem .75rem;
    font-size: .88rem; font-weight: 500;
    color: var(--vx-text);
    background: none;
    border: none;
    border-radius: calc(var(--vx-radius) - 2px);
    cursor: pointer;
    transition: background .15s, color .15s;
    text-align: start;
}
.vx-nav-dropdown-item:hover { background: var(--vx-surface-2); color: var(--vx-heading); }
.vx-nav-dropdown-item--danger:hover { background: #fff0f0; color: #c0392b; }
.vx-nav-dropdown-divider { height: 1px; background: var(--vx-border); margin: .3rem 0; }

/* Language pill */
.vx-lang {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .5rem .8rem;
    font-weight: 700; font-size: .85rem;
    color: var(--vx-text);
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    transition: background .2s, border-color .2s;
}
.vx-lang:hover { background: var(--vx-elevated); color: var(--vx-heading); border-color: var(--vx-border-strong); }

/* ============================================================
   Currency switcher — desktop pill + dropdown
   ============================================================ */
.vx-currency-switch { position: relative; }
.vx-currency-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .85rem;
    font-family: inherit; font-weight: 700; font-size: .85rem;
    color: var(--vx-text);
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}
.vx-currency-toggle:hover,
.vx-currency-toggle[aria-expanded="true"] {
    background: var(--vx-elevated);
    border-color: var(--vx-border-strong);
    color: var(--vx-heading);
}
.vx-currency-toggle .bi-coin { color: var(--vx-primary); font-size: 1rem; }
.vx-currency-toggle-code { letter-spacing: .02em; }
.vx-currency-toggle-caret {
    font-size: .7rem;
    opacity: .55;
    transition: transform .2s;
}
.vx-currency-toggle[aria-expanded="true"] .vx-currency-toggle-caret { transform: rotate(180deg); }
.vx-currency-switch .dropdown-toggle::after { display: none; }

.vx-currency-menu {
    min-width: 280px;
    padding: .4rem !important;
    margin-top: .5rem !important;
    border: 1px solid var(--vx-border) !important;
    border-radius: .75rem !important;
    background: var(--vx-surface-solid) !important;
    box-shadow: 0 .85rem 2rem rgba(18, 21, 48, .12) !important;
}
.vx-currency-item {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    align-items: center;
    gap: .5rem;
    padding: .55rem .75rem;
    border-radius: .55rem;
    color: var(--vx-text);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.vx-currency-item:hover {
    background: var(--vx-surface-2);
    color: var(--vx-heading);
}
.vx-currency-item.is-active {
    background: linear-gradient(135deg, rgba(var(--vx-primary-rgb), .08), rgba(var(--vx-accent-rgb), .06));
    color: var(--vx-primary);
}
.vx-currency-item-code {
    font-weight: 800; font-size: .82rem;
    letter-spacing: .04em;
    background: var(--vx-surface-2);
    padding: .2rem .45rem;
    border-radius: .35rem;
    border: 1px solid var(--vx-border);
    text-align: center;
}
.vx-currency-item.is-active .vx-currency-item-code {
    background: var(--vx-primary);
    color: #fff; border-color: var(--vx-primary);
}
.vx-currency-item-name {
    font-size: .85rem; font-weight: 600;
    color: var(--vx-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vx-currency-item.is-active .vx-currency-item-name { color: var(--vx-text); }
.vx-currency-item-symbol {
    font-size: .9rem; font-weight: 700;
    color: var(--vx-faint);
    direction: ltr;
    min-width: 36px;
    text-align: center;
}
.vx-currency-item.is-active .vx-currency-item-symbol { color: var(--vx-primary); }
.vx-currency-item-check {
    color: var(--vx-primary); font-size: 1.05rem;
}

/* ============================================================
   Currency — mobile drawer (card grid)
   ============================================================ */
.vx-drawer-currencies {
    padding: .85rem 0 .35rem;
    border-top: 1px solid var(--vx-border);
    margin-top: .35rem;
}
.vx-drawer-currencies-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 700;
    color: var(--vx-muted);
    margin-bottom: .55rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.vx-drawer-currencies-label i { color: var(--vx-primary); }
.vx-drawer-currency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}
.vx-drawer-currency {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: .55rem;
    align-items: center;
    padding: .65rem .8rem;
    border: 1px solid var(--vx-border);
    border-radius: .65rem;
    background: var(--vx-surface-solid);
    color: var(--vx-text);
    text-decoration: none;
    transition: background .15s, border-color .15s, transform .15s;
}
.vx-drawer-currency:hover {
    background: var(--vx-surface-2);
    border-color: var(--vx-border-strong);
    transform: translateY(-1px);
}
.vx-drawer-currency.is-active {
    background: linear-gradient(135deg, var(--vx-primary), var(--vx-primary-soft));
    color: #fff;
    border-color: var(--vx-primary);
    box-shadow: 0 .35rem 1rem rgba(var(--vx-primary-rgb), .25);
}
.vx-drawer-currency-code {
    grid-column: 1; grid-row: 1 / span 2;
    font-weight: 800; font-size: 1rem;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: .4rem;
    padding: .25rem .5rem;
    letter-spacing: .04em;
    text-align: center;
}
.vx-drawer-currency.is-active .vx-drawer-currency-code {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}
.vx-drawer-currency-symbol {
    grid-column: 2; grid-row: 1;
    font-size: .92rem; font-weight: 700;
    color: var(--vx-heading);
    direction: ltr;
    line-height: 1.1;
}
.vx-drawer-currency.is-active .vx-drawer-currency-symbol { color: #fff; }
.vx-drawer-currency-name {
    grid-column: 2; grid-row: 2;
    font-size: .72rem;
    color: var(--vx-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    line-height: 1.2;
}
.vx-drawer-currency.is-active .vx-drawer-currency-name { color: rgba(255, 255, 255, .85); }
.vx-drawer-currency-check {
    position: absolute;
    top: .3rem;
    inset-inline-end: .3rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .9);
}

/* Cart bubble */
.vx-cart { position: relative; }
.vx-cart-count {
    position: absolute;
    top: -4px; inset-inline-end: -4px;
    min-width: 19px; height: 19px;
    padding: 0 4px;
    display: grid; place-items: center;
    font-size: .68rem; font-weight: 800;
    color: #fff;
    background: var(--vx-gradient);
    border-radius: 999px;
    border: 2px solid var(--vx-surface-solid);
}

/* Burger */
.vx-burger {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 5px;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: 50%;
    cursor: pointer;
}
.vx-burger span {
    width: 18px; height: 2px; border-radius: 2px;
    background: var(--vx-text);
    transition: transform .3s var(--vx-ease), opacity .2s;
}
.vx-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vx-burger.is-open span:nth-child(2) { opacity: 0; }
.vx-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.vx-drawer {
    position: fixed;
    inset: 0;
    z-index: 1039;
    display: flex;
    flex-direction: column;
    padding: calc(var(--vx-nav-h) + 2.5rem) 1.6rem 2rem;
    background: rgba(245, 246, 251, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--vx-ease), transform .3s var(--vx-ease), visibility .3s;
}
.vx-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.vx-drawer a {
    padding: 1rem .25rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vx-text);
    border-bottom: 1px solid var(--vx-border);
}
.vx-drawer a.active { color: var(--vx-primary-soft); }
.vx-drawer-actions { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; padding-top: 2rem; }

/* ----------------------------------------------------------
   7. Hero — full-bleed banner slider with image backgrounds
   ---------------------------------------------------------- */
.vx-hero { position: relative; }

.vx-slider { position: relative; }
.vx-slides { position: relative; }

.vx-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 92vh, 960px);
    background-color: var(--vx-bg-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s var(--vx-ease), visibility .9s;
}
.vx-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

/* Background artwork layer — kept separate so it can be mirrored in RTL,
   moving the busy side of the image away from the text. */
.vx-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 7s linear;
}
.vx-slide.is-active .vx-slide-bg { transform: scale(1); }

/* Per-slide background artwork (local SVG, no CDN) */
.vx-slide--ai        .vx-slide-bg { background-image: url("../images/hero-ai.svg"); }
.vx-slide--apps      .vx-slide-bg { background-image: url("../images/hero-apps.svg"); }
.vx-slide--bilingual .vx-slide-bg { background-image: url("../images/hero-bilingual.svg"); }

/* Scrim — keeps copy legible over the image, stronger on the text side */
.vx-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(8, 9, 28, .88) 0%, rgba(8, 9, 28, .55) 40%, rgba(8, 9, 28, .12) 75%, transparent 100%),
        linear-gradient(to top, rgba(8, 9, 28, .55), transparent 38%);
}

.vx-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: calc(var(--vx-nav-h) + 3.5rem);
    padding-bottom: 10rem;
}
.vx-slide-copy { max-width: 660px; }

.vx-slide h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.4vw, 4.3rem);
    line-height: 1.22;
    margin-top: 1.4rem;
    margin-bottom: 1.35rem;
}
.vx-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: rgba(255, 255, 255, .82);
    max-width: 36rem;
    margin-bottom: 2rem;
}
.vx-hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Eyebrow + gradient text variants tuned for dark imagery */
.vx-eyebrow--on-image {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.vx-text-gradient-light {
    background: linear-gradient(120deg, #c8baff 0%, #7ce0ff 55%, #6ff0d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animated entrance for active slide content */
.vx-slide [data-anim] {
    opacity: 0;
    transform: translateY(26px);
}
.vx-slide.is-active [data-anim] {
    animation: vxSlideUp .7s var(--vx-ease) forwards;
}
.vx-slide.is-active [data-anim="2"] { animation-delay: .12s; }
.vx-slide.is-active [data-anim="3"] { animation-delay: .24s; }
.vx-slide.is-active [data-anim="4"] { animation-delay: .36s; }
@keyframes vxSlideUp { to { opacity: 1; transform: translateY(0); } }

/* Slider controls — overlaid on the slide */
.vx-slider-nav {
    position: absolute;
    inset-inline: 0;
    bottom: 6.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.vx-dots { display: flex; gap: .5rem; }
.vx-dot {
    width: 28px; height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: background .3s, width .3s var(--vx-ease);
}
.vx-dot.is-active { width: 46px; background: var(--vx-gradient); }
.vx-slider-arrows { display: flex; gap: .5rem; margin-inline-start: auto; }
.vx-slider-arrows .vx-icon-btn {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vx-slider-arrows .vx-icon-btn:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* Glass card pulled up over the slider edge (hosts the domain search) */
.vx-hero-search-wrap {
    position: relative;
    z-index: 4;
    margin-top: clamp(-4.5rem, -4.5vw, -3rem);
}

/* Domain search box */
.vx-domain-search {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow);
}
.vx-domain-search-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}
.vx-domain-search-head > .bi {
    color: var(--vx-primary);
    font-size: 1.65rem;
}
.vx-domain-search-head span {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--vx-heading);
}
.vx-domain-search-head small {
    display: block;
    color: var(--vx-muted);
    font-size: .85rem;
}
.vx-domain-form {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.vx-domain-field {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0 1.15rem;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    transition: border-color .2s, box-shadow .2s;
}
.vx-domain-field:focus-within {
    border-color: var(--vx-primary);
    box-shadow: 0 0 0 4px rgba(var(--vx-primary-rgb), .15);
}
.vx-domain-field .bi { color: var(--vx-faint); }
.vx-domain-field input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--vx-text);
    font-family: inherit;
    font-size: .98rem;
    padding: .92rem 0;
}
.vx-domain-tld {
    padding: .92rem 1.1rem;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    color: var(--vx-text);
    font-family: inherit;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    outline: none;
}
.vx-domain-tld option { background: var(--vx-surface-solid); color: var(--vx-text); }
.vx-domain-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.35rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--vx-border);
}
.vx-domain-tlds span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--vx-muted);
}
.vx-domain-tlds .bi { color: var(--vx-accent-2); }
.vx-domain-tlds b { color: var(--vx-heading); }

/* ── Spinner keyframe ─────────────────────────────────────────── */
@keyframes vx-spin { to { transform: rotate(360deg); } }

/* ── Result entrance keyframes ───────────────────────────────── */
@keyframes vx-result-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes vx-item-in {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Search button spinner ───────────────────────────────────── */
.vx-domain-btn-spinner {
    display: inline-block;
    width: 1em; height: 1em;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vx-spin .7s linear infinite;
    vertical-align: -.15em;
}

/* ── Single-result card — Premium redesign ───────────────────── */
.vx-domain-result {
    margin-top: 1.25rem;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow-sm);
    animation: vx-result-in .32s var(--vx-ease) both;
}
.vx-domain-result--ok { border-color: rgba(34,197,94,.4); }
.vx-domain-result--no { border-color: rgba(239,68,68,.3); }

.vx-domain-result__header {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.25rem;
    background: var(--vx-surface-2);
}
.vx-domain-result__icon {
    width: 2.4rem; height: 2.4rem;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.vx-domain-result--ok .vx-domain-result__icon {
    background: rgba(34,197,94,.15);
    color: #16a34a;
}
.vx-domain-result--no .vx-domain-result__icon {
    background: rgba(239,68,68,.12);
    color: #dc2626;
}
.vx-domain-result__name {
    flex: 1;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--vx-heading);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vx-domain-result__badge {
    font-size: .74rem;
    font-weight: 700;
    padding: .22rem .8rem;
    border-radius: var(--vx-radius-pill);
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.vx-domain-result__badge--ok {
    background: rgba(34,197,94,.15);
    color: #15803d;
}
.vx-domain-result__badge--no {
    background: rgba(239,68,68,.12);
    color: #b91c1c;
}

.vx-domain-result__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .9rem 1.25rem;
    background: var(--vx-surface-solid);
    border-top: 1px solid var(--vx-border);
}
.vx-domain-result__prices {
    display: flex;
    gap: 2rem;
    flex: 1 1 auto;
}
.vx-domain-result__price-item {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.vx-domain-result__price-label {
    font-size: .72rem;
    color: var(--vx-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.vx-domain-result__price-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--vx-primary);
    line-height: 1.1;
}
.vx-domain-result__cta { font-size: .88rem; padding: .5rem 1.35rem; white-space: nowrap; flex-shrink: 0; }

/* ── Multi-TLD results list — Premium redesign ───────────────── */
.vx-domain-results {
    margin-top: 1.25rem;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow-sm);
    animation: vx-result-in .32s var(--vx-ease) both;
}
.vx-domain-results__title {
    padding: .7rem 1.1rem;
    font-size: .8rem;
    color: var(--vx-muted);
    font-weight: 700;
    background: var(--vx-surface-2);
    border-bottom: 1px solid var(--vx-border);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
}
.vx-domain-results__list {
    display: flex;
    flex-direction: column;
    max-height: 22rem;
    overflow-y: auto;
}
.vx-domain-result-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.1rem;
    background: var(--vx-surface-solid);
    border-bottom: 1px solid var(--vx-border);
    border-inline-start: 3px solid transparent;
    transition: background .15s;
    animation: vx-item-in .28s var(--vx-ease) both;
}
.vx-domain-result-item:last-child { border-bottom: none; }
.vx-domain-result-item:hover { background: var(--vx-surface-2); }
.vx-domain-result-item--ok { border-inline-start-color: rgba(34,197,94,.55); }
.vx-domain-result-item--no { opacity: .6; }

.vx-domain-result-item__domain {
    flex: 1;
    font-weight: 700;
    font-size: .95rem;
    color: var(--vx-heading);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vx-domain-result-item--no .vx-domain-result-item__domain {
    text-decoration: line-through;
    color: var(--vx-muted);
}
.vx-domain-result-item__price {
    font-size: .9rem;
    font-weight: 800;
    color: var(--vx-primary);
    white-space: nowrap;
}
.vx-domain-result-item__cta {
    font-size: .8rem;
    padding: .3rem .9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dashboard stat number/label (compact) */
.vx-stat-num {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--vx-heading);
    line-height: 1;
}
.vx-stat-label { font-size: .85rem; color: var(--vx-muted); margin-top: .35rem; }

/* Stats grid (About page) — animated counter tiles */
.vx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.vx-stat-tile {
    position: relative;
    text-align: center;
    padding: 2.4rem 1.25rem 2rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow-sm);
    overflow: hidden;
    transition: transform .35s var(--vx-ease), box-shadow .35s var(--vx-ease);
}
.vx-stat-tile::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 4px;
    background: var(--vx-gradient);
}
.vx-stat-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--vx-shadow);
}
.vx-stat-tile-icon {
    width: 58px; height: 58px;
    margin: 0 auto 1.1rem;
    display: grid; place-items: center;
    border-radius: var(--vx-radius-sm);
    background: var(--vx-gradient-soft);
    color: var(--vx-primary);
    font-size: 1.55rem;
}
.vx-stat-tile-num {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    background: var(--vx-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.vx-stat-tile-label {
    margin-top: .55rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--vx-muted);
}

/* ----------------------------------------------------------
   8. Marquee — trusted by
   ---------------------------------------------------------- */
.vx-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.vx-marquee-track {
    display: flex;
    gap: 1.1rem;
    width: max-content;
    animation: vxMarquee 36s linear infinite;
}
.vx-marquee:hover .vx-marquee-track { animation-play-state: paused; }
.vx-marquee-item {
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem 1.4rem;
    font-size: 1.05rem; font-weight: 800;
    color: var(--vx-muted);
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    white-space: nowrap;
    transition: color .2s, border-color .2s, transform .25s var(--vx-ease);
}
.vx-marquee-item:hover {
    color: var(--vx-heading);
    border-color: var(--vx-border-strong);
    transform: translateY(-3px);
}
.vx-marquee-item .bi { font-size: 1.35rem; color: var(--vx-primary); }
@keyframes vxMarquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------
   9. Feature cards
   ---------------------------------------------------------- */
.vx-feature-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: #fff;
    background: var(--vx-gradient);
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 30px -10px rgba(var(--vx-primary-rgb), .6);
}
.vx-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.vx-card p { color: var(--vx-muted); font-size: .96rem; margin: 0; }

/* Feature card — circular image straddling the top edge */
.vx-features-row { margin-top: 5.25rem; }
.vx-feature-card {
    overflow: visible;
    padding-top: 4.25rem;
    text-align: center;
}
.vx-feature-photo {
    position: absolute;
    top: -3.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 5px solid var(--vx-surface-solid);
    box-shadow: var(--vx-shadow);
}
.vx-feature-photo--ai       { background-image: url("../images/feature-ai.svg"); }
.vx-feature-photo--security { background-image: url("../images/feature-security.svg"); }
.vx-feature-photo--speed    { background-image: url("../images/feature-speed.svg"); }
.vx-feature-photo--support  { background-image: url("../images/feature-support.svg"); }

/* ----------------------------------------------------------
   10. Service cards (offset / asymmetric)
   ---------------------------------------------------------- */
.vx-service {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
}
.vx-service .vx-feature-icon { flex-shrink: 0; margin-bottom: 0; }
.vx-service-body h3 { font-size: 1.22rem; }
.vx-service-link {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: .9rem;
    font-weight: 700; font-size: .9rem;
    color: var(--vx-primary-soft);
}
.vx-service-link .bi { transition: transform .25s var(--vx-ease); }
.vx-service:hover .vx-service-link .bi { transform: translateX(4px); }
html[dir="rtl"] .vx-service:hover .vx-service-link .bi { transform: translateX(-4px); }

/* Service card — image header + overlapping icon badge */
.vx-service-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.vx-service-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background-color: var(--vx-surface-2);
    border-bottom: 1px solid var(--vx-border);
}
.vx-service-card-body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.75rem 1.85rem;
}
.vx-service-card-icon {
    position: absolute;
    top: -28px;
    inset-inline-start: 1.75rem;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--vx-gradient);
    color: #fff;
    font-size: 1.5rem;
    border: 4px solid var(--vx-surface-solid);
    box-shadow: 0 12px 30px -10px rgba(var(--vx-primary-rgb), .6);
    transition: transform .3s var(--vx-ease);
}
.vx-service-card:hover .vx-service-card-icon { transform: translateY(-4px) scale(1.05); }
.vx-service-card-body h3 { margin-top: 1.65rem; font-size: 1.25rem; }
.vx-service-card-body p { color: var(--vx-muted); font-size: .95rem; margin: .4rem 0 1.1rem; }
.vx-service-card-body .vx-service-link { margin-top: auto; }
.vx-service-card:hover .vx-service-link .bi { transform: translateX(4px); }
html[dir="rtl"] .vx-service-card:hover .vx-service-link .bi { transform: translateX(-4px); }

/* ----------------------------------------------------------
   11. Works / portfolio
   ---------------------------------------------------------- */
.vx-work {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow-sm);
    transition: transform .4s var(--vx-ease), box-shadow .4s var(--vx-ease);
}
.vx-work:hover { transform: translateY(-8px); box-shadow: var(--vx-shadow); }

/* Real project image */
.vx-work-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--vx-ease);
}
.vx-work:hover .vx-work-img { transform: scale(1.08); }

/* Bottom gradient scrim for legibility */
.vx-work-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(8, 9, 28, .94) 0%, rgba(8, 9, 28, .55) 42%,
        rgba(8, 9, 28, .08) 72%, transparent 100%);
    transition: background .4s var(--vx-ease);
}
.vx-work:hover .vx-work-shade {
    background: linear-gradient(to top,
        rgba(8, 9, 28, .96) 0%, rgba(8, 9, 28, .72) 52%, rgba(8, 9, 28, .32) 100%);
}

/* Floating category icon badge */
.vx-work-badge {
    position: absolute;
    top: 1rem; inset-inline-end: 1rem;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 1.1rem;
}

/* Content pinned to the bottom; details reveal on hover */
.vx-work-content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
}
.vx-tag {
    align-self: flex-start;
    padding: .3rem .8rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--vx-radius-pill);
    margin-bottom: .8rem;
}
.vx-work-content h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.vx-work-content p {
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s var(--vx-ease), opacity .35s var(--vx-ease), margin .45s var(--vx-ease);
}
.vx-work:hover .vx-work-content p { max-height: 9rem; opacity: 1; margin-top: .5rem; }
.vx-work-cta {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; font-size: .88rem; color: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s var(--vx-ease), opacity .35s var(--vx-ease), margin .45s var(--vx-ease);
}
.vx-work:hover .vx-work-cta { max-height: 3rem; opacity: 1; margin-top: 1rem; }
.vx-work-cta .bi { transition: transform .25s var(--vx-ease); }
.vx-work:hover .vx-work-cta .bi { transform: translateX(4px); }
html[dir="rtl"] .vx-work:hover .vx-work-cta .bi { transform: translateX(-4px); }

/* ----------------------------------------------------------
   12. Shop — digital products
   ---------------------------------------------------------- */
.vx-shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.vx-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.vx-filter {
    padding: .55rem 1.1rem;
    font-weight: 700; font-size: .88rem;
    color: var(--vx-muted);
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s;
}
.vx-filter:hover { color: var(--vx-text); }
.vx-filter.is-active {
    color: #fff;
    background: var(--vx-gradient);
    border-color: transparent;
}

.vx-field {
    display: flex; align-items: center; gap: .55rem;
    padding: .6rem 1rem;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-pill);
}
.vx-field .bi { color: var(--vx-muted); }
.vx-field input, .vx-field select {
    background: transparent;
    border: 0;
    color: var(--vx-text);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    min-width: 0;
}
.vx-field select option { background: var(--vx-surface-solid); color: var(--vx-text); }
.vx-search { flex: 1; min-width: 200px; }

/* When .vx-field is applied DIRECTLY to an input/textarea/select (not a wrapper),
   style it as a proper standalone form control. */
textarea.vx-field,
input.vx-field,
select.vx-field {
    display: block;
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--vx-border-strong);
    border-radius: .55rem;
    background: var(--vx-bg);
    color: var(--vx-text);
    font: inherit;
    font-size: .9rem;
    line-height: 1.5;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea.vx-field { min-height: 90px; resize: vertical; }
textarea.vx-field:focus,
input.vx-field:focus,
select.vx-field:focus {
    outline: none;
    border-color: var(--vx-primary);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(var(--vx-primary-rgb), .15);
}
.vx-field-label {
    display: block;
    font-weight: 600; font-size: .88rem;
    color: var(--vx-text);
    margin-bottom: .35rem;
}

.vx-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.vx-product { display: flex; flex-direction: column; padding: 0; }
.vx-product-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--vx-surface-2);
    border-bottom: 1px solid var(--vx-border);
}
/* Generic product image — used in cards, featured block, list rows */
.vx-product-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--vx-ease);
}
.vx-card:hover .vx-product-img { transform: scale(1.05); }

/* Whole-card click target (stretched link) + helper to lift buttons above it */
.vx-stretch { color: inherit; text-decoration: none; }
.vx-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vx-card:hover .vx-stretch,
.vx-product-row:hover .vx-stretch { color: var(--vx-primary); }
.vx-z-up { position: relative; z-index: 2; }
.vx-product-badges {
    position: absolute;
    top: .9rem; inset-inline-start: .9rem;
    display: flex; gap: .4rem;
}
.vx-badge {
    padding: .26rem .65rem;
    font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
    border-radius: var(--vx-radius-pill);
}
.vx-badge--sale { background: #ff5d8f; color: #fff; }
.vx-badge--new { background: var(--vx-accent-2); color: #06231d; }
.vx-badge--hot { background: #ffb020; color: #2b1d00; }

.vx-product-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.vx-product-cat { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vx-primary-soft); }
.vx-product-body h3 { font-size: 1.12rem; margin: .35rem 0 .45rem; }
.vx-product-body p { font-size: .9rem; color: var(--vx-muted); margin: 0 0 1.1rem; }
.vx-product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.vx-price { display: flex; flex-direction: column; line-height: 1.15; }
.vx-price small { font-size: .7rem; color: var(--vx-faint); }
.vx-price b { font-size: 1.3rem; color: var(--vx-heading); }
.vx-price del { font-size: .8rem; color: var(--vx-faint); }
.vx-rating { font-size: .82rem; color: #ffb020; }
.vx-rating span { color: var(--vx-muted); margin-inline-start: .2rem; }

/* Home shop preview — featured product + compact list */
.vx-feature-product { display: flex; flex-direction: column; padding: 0; }
.vx-feature-product-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--vx-surface-2);
    border-bottom: 1px solid var(--vx-border);
}
.vx-feature-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.65rem 1.85rem 1.9rem;
}
.vx-feature-product-body h3 { font-size: 1.45rem; margin: .4rem 0 .5rem; }
.vx-feature-product-body p { color: var(--vx-muted); font-size: .96rem; margin: 0 0 1rem; }
.vx-feature-product-foot {
    margin-top: auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
}

.vx-product-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}
.vx-product-row {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.25rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    transition: transform .25s var(--vx-ease), border-color .25s, box-shadow .25s;
}
.vx-product-row:hover {
    transform: translateY(-3px);
    border-color: var(--vx-border-strong);
    box-shadow: var(--vx-shadow-sm);
}
.vx-product-row-media {
    flex-shrink: 0;
    width: 70px; height: 70px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--vx-surface-2);
}
.vx-product-row-media img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
}
.vx-product-row-body { flex: 1; min-width: 0; }
.vx-product-row-body h4 { font-size: 1.06rem; margin: .15rem 0 .2rem; }
.vx-product-row-body p {
    color: var(--vx-muted); font-size: .86rem; margin: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vx-product-row-end {
    flex-shrink: 0;
    display: flex; align-items: center; gap: .9rem;
}

/* Product details page */
.vx-product-detail { padding-top: calc(var(--vx-nav-h) + 3rem); }
.vx-product-detail-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow-sm);
}
.vx-product-detail-media img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
}
.vx-price-lg {
    display: flex; align-items: baseline; gap: .55rem;
    margin: 1.35rem 0;
}
.vx-price-lg b { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--vx-heading); font-weight: 800; }
.vx-price-lg small { color: var(--vx-faint); font-size: .95rem; }
.vx-price-lg del { color: var(--vx-faint); font-size: 1.05rem; }

/* ----------------------------------------------------------
   13. CTA band — bold gradient panel
   ---------------------------------------------------------- */
.vx-cta-band {
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem);
    border-radius: var(--vx-radius-lg);
    background: var(--vx-gradient);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 30px 70px -24px rgba(var(--vx-primary-rgb), .55);
}
/* soft light glow blobs */
.vx-cta-band::before,
.vx-cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.vx-cta-band::before {
    width: 420px; height: 420px;
    top: -210px; inset-inline-start: -130px;
    background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 70%);
}
.vx-cta-band::after {
    width: 520px; height: 520px;
    bottom: -300px; inset-inline-end: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%);
}
.vx-cta-band > * { position: relative; z-index: 1; }

.vx-cta-band .vx-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .4);
}
.vx-cta-band h2 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: .85rem;
}
.vx-cta-band p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
    max-width: 38rem;
    margin: 0 auto 2rem;
}
/* button → solid white so it pops on the gradient */
.vx-cta-band .vx-btn {
    background: #fff;
    --_fg: var(--vx-heading);
    color: var(--vx-heading);
    border-color: #fff;
    box-shadow: 0 14px 34px -12px rgba(8, 9, 28, .4);
}
.vx-cta-band .vx-btn:hover {
    color: var(--vx-heading);
    box-shadow: 0 22px 46px -12px rgba(8, 9, 28, .5);
}

/* ----------------------------------------------------------
   13b. Hosting plans — monthly / yearly pricing tabs
   ---------------------------------------------------------- */
.vx-pricing { margin-top: 2.5rem; }

/* Tab switch */
.vx-pricing-toggle {
    display: flex;
    width: max-content;
    gap: .25rem;
    margin: 0 auto 1rem;
    padding: .35rem;
    border-radius: var(--vx-radius-pill);
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
}
.vx-pricing-toggle button, .vx-pricing-toggle a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    border: 0;
    border-radius: var(--vx-radius-pill);
    background: transparent;
    color: var(--vx-muted);
    font-family: inherit;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .25s var(--vx-ease), color .25s var(--vx-ease);
}
.vx-pricing-toggle button.is-active, .vx-pricing-toggle a.is-active {
    background: var(--vx-gradient);
    color: #fff;
    box-shadow: var(--vx-shadow-sm);
}
.vx-pricing-save {
    font-size: .68rem;
    font-weight: 800;
    padding: .2rem .5rem;
    border-radius: var(--vx-radius-pill);
    background: rgba(18, 184, 160, .16);
    color: var(--vx-accent-2);
}
.vx-pricing-toggle button.is-active .vx-pricing-save,
.vx-pricing-toggle a.is-active .vx-pricing-save {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* Plan card */
.vx-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow-sm);
    transition: transform .35s var(--vx-ease), box-shadow .35s var(--vx-ease);
}
.vx-plan:hover { transform: translateY(-6px); box-shadow: var(--vx-shadow); }
.vx-plan--popular {
    border-color: transparent;
    box-shadow: var(--vx-shadow), 0 0 0 2px var(--vx-primary);
}
.vx-plan-badge {
    position: absolute;
    inset-block-start: -.85rem;
    inset-inline-end: 1.5rem;
    padding: .35rem .9rem;
    border-radius: var(--vx-radius-pill);
    background: var(--vx-gradient);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    box-shadow: var(--vx-shadow-sm);
}
.vx-plan-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: var(--vx-radius-sm);
    background: var(--vx-gradient-soft);
    color: var(--vx-primary);
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.vx-plan h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.vx-plan-price {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    margin-top: .35rem;
}
.vx-plan-amount {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--vx-heading);
}
.vx-plan-period { color: var(--vx-muted); font-weight: 600; font-size: .95rem; }
.vx-plan-billed {
    font-size: .82rem;
    color: var(--vx-faint);
    margin: .4rem 0 1.25rem;
}
.vx-plan-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--vx-border);
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1;
}
.vx-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .92rem;
    color: var(--vx-text);
}
.vx-plan-features .bi {
    color: var(--vx-accent-2);
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: .1rem;
}
.vx-plan-features .vx-plan-feature--off {
    color: var(--vx-muted);
    text-decoration: line-through;
    opacity: .7;
}
.vx-plan-features .vx-plan-feature--off .bi {
    color: var(--vx-muted);
}
.vx-plan .vx-btn { width: 100%; }

/* ----------------------------------------------------------
   14. Footer
   ---------------------------------------------------------- */
.vx-footer {
    position: relative;
    margin-top: 130px;
    padding-top: clamp(2.5rem, 5vw, 4rem);
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(760px 420px at 12% 18%, rgba(var(--vx-primary-rgb), .26), transparent 70%),
        radial-gradient(760px 460px at 90% 100%, rgba(var(--vx-accent-rgb), .18), transparent 70%),
        #0a0a16;
}
/* wave that rises over the section above */
.vx-footer::before {
    content: "";
    position: absolute;
    top: -118px;
    inset-inline: 0;
    height: 120px;
    background: url("../images/footer-wave.svg") no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}
.vx-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
}
.vx-footer h4 {
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1.25rem;
}
.vx-footer .vx-brand-name { color: #fff; }
.vx-footer .vx-brand-tag { color: rgba(255, 255, 255, .5); }
.vx-footer .vx-brand-mark img { height: 64px; max-width: 220px; }
.vx-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
.vx-footer-links a { color: rgba(255, 255, 255, .66); font-weight: 500; }
.vx-footer-links a:hover { color: #fff; }
.vx-footer-about p { color: rgba(255, 255, 255, .66); font-size: .95rem; margin: 1rem 0 1.4rem; }
.vx-socials { display: flex; gap: .55rem; }
.vx-contact-line { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .7); margin-bottom: .8rem; font-size: .92rem; }
.vx-contact-line .bi { color: var(--vx-primary-soft); font-size: 1.05rem; }

.vx-footer .vx-icon-btn {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .82);
}
.vx-footer .vx-icon-btn:hover {
    background: var(--vx-gradient);
    border-color: transparent;
    color: #fff;
}

.vx-newsletter {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    padding: .4rem .4rem .4rem 1rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--vx-radius-pill);
}
.vx-newsletter input {
    flex: 1; min-width: 0;
    background: transparent; border: 0; outline: none;
    color: #fff; font-family: inherit; font-size: .9rem;
}
.vx-newsletter input::placeholder { color: rgba(255, 255, 255, .42); }
.vx-newsletter-flash {
    display: flex; align-items: center; gap: .45rem;
    font-size: .85rem; line-height: 1.35; margin-bottom: 0;
    padding: .5rem .75rem; border-radius: .5rem;
}
.vx-newsletter-flash--success { color: #bbf7d0; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .25); }
.vx-newsletter-flash--info    { color: #bfdbfe; background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .25); }
.vx-newsletter-flash--error   { color: #fecaca; background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .25); }
.vx-footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
}
.vx-footer-bottom p { color: rgba(255, 255, 255, .45); font-size: .88rem; margin: 0; }

/* ----------------------------------------------------------
   15. Breadcrumb / page banner
   ---------------------------------------------------------- */
.vx-breadcrumb {
    display: inline-flex; align-items: center; gap: .5rem;
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    font-size: .88rem;
}
.vx-breadcrumb li { color: var(--vx-faint); }
.vx-breadcrumb a { color: var(--vx-muted); }
.vx-breadcrumb a:hover { color: var(--vx-text); }
.vx-breadcrumb .bi { font-size: .75rem; color: var(--vx-faint); }
.vx-breadcrumb li[aria-current] { color: var(--vx-primary-soft); font-weight: 700; }

/* Premium dark page banner — sits under the navbar, breadcrumb inside */
.vx-page-banner {
    position: relative;
    padding: calc(var(--vx-nav-h) + 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 34px 34px,
        radial-gradient(720px 420px at 14% -10%, rgba(var(--vx-primary-rgb), .4), transparent 70%),
        radial-gradient(720px 460px at 88% 120%, rgba(var(--vx-accent-rgb), .3), transparent 70%),
        #0a0a16;
}
.vx-page-banner::before,
.vx-page-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.vx-page-banner::before {
    width: 340px; height: 340px;
    top: -160px; inset-inline-start: 7%;
    background: radial-gradient(circle, rgba(var(--vx-primary-rgb), .38), transparent 70%);
}
.vx-page-banner::after {
    width: 400px; height: 400px;
    bottom: -240px; inset-inline-end: 5%;
    background: radial-gradient(circle, rgba(var(--vx-accent-rgb), .3), transparent 70%);
}
.vx-page-banner > * { position: relative; z-index: 1; }
.vx-page-banner .vx-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}
.vx-page-banner h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    margin: 1rem 0 .7rem;
}
.vx-page-banner p {
    color: rgba(255, 255, 255, .78);
    max-width: 40rem;
    margin: 0 auto;
}
.vx-page-banner .vx-breadcrumb { margin-top: 1.6rem; }
.vx-page-banner .vx-breadcrumb li { color: rgba(255, 255, 255, .45); }
.vx-page-banner .vx-breadcrumb a { color: rgba(255, 255, 255, .72); }
.vx-page-banner .vx-breadcrumb a:hover { color: #fff; }
.vx-page-banner .vx-breadcrumb .bi { color: rgba(255, 255, 255, .4); }
.vx-page-banner .vx-breadcrumb li[aria-current] { color: var(--vx-primary-soft); }

/* Embedded Google Map */
.vx-map {
    flex: 1;
    min-height: 420px;
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow-sm);
    background: var(--vx-surface-2);
}
.vx-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* Contact method card */
.vx-contact-card { text-align: center; }
.vx-contact-card .vx-feature-icon { margin: 0 auto 1.1rem; }
.vx-contact-card-label {
    font-size: .76rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--vx-primary-soft);
}
.vx-contact-card h4 { font-size: 1.04rem; margin: .35rem 0 0; word-break: break-word; }

/* ----------------------------------------------------------
   16. Forms (auth + contact)
   ---------------------------------------------------------- */
.vx-form-group { margin-bottom: 1.15rem; }
.vx-label {
    display: block;
    font-size: .85rem; font-weight: 700;
    color: var(--vx-text);
    margin-bottom: .5rem;
}
.vx-input {
    width: 100%;
    padding: .9rem 1.1rem;
    background: var(--vx-surface-2);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-sm);
    color: var(--vx-text);
    font-family: inherit;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.vx-input::placeholder { color: var(--vx-faint); }
.vx-input:focus {
    outline: none;
    border-color: var(--vx-primary);
    box-shadow: 0 0 0 4px rgba(var(--vx-primary-rgb), .18);
}
textarea.vx-input { resize: vertical; min-height: 140px; }

.vx-input-icon { position: relative; }
/* leading icon only — direct child, so the toggle button's own icon is untouched */
.vx-input-icon > .bi {
    position: absolute;
    inset-inline-start: 1rem;
    top: 50%; transform: translateY(-50%);
    color: var(--vx-faint);
    pointer-events: none;
}
.vx-input-icon .vx-input { padding-inline-start: 2.7rem; }
.vx-input-icon:has(.vx-input-toggle) .vx-input { padding-inline-end: 3rem; }
.vx-input-toggle {
    position: absolute;
    inset-inline-end: .55rem;
    top: 50%; transform: translateY(-50%);
    display: grid; place-items: center;
    width: 2rem; height: 2rem;
    background: transparent; border: 0; border-radius: 8px;
    color: var(--vx-faint); cursor: pointer;
    transition: color .2s, background .2s;
}
.vx-input-toggle:hover { color: var(--vx-text); background: var(--vx-elevated); }

.vx-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--vx-muted); cursor: pointer; }
.vx-check input { width: 17px; height: 17px; accent-color: var(--vx-primary); flex-shrink: 0; }
.vx-check a { color: var(--vx-primary); font-weight: 600; }
.vx-check a:hover { text-decoration: underline; }
/* terms / remember rows — top-align so wrapping label text stays tidy */
.vx-auth-row .vx-check { align-items: flex-start; line-height: 1.5; }
.vx-auth-row .vx-check input { margin-top: .1rem; }

/* Auth split screen */
.vx-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.vx-auth-aside {
    position: relative;
    padding: 3rem;
    display: flex; flex-direction: column;
    /* big real photo background + dark scrim so the copy stays readable */
    background:
        linear-gradient(165deg, rgba(10, 10, 22, .82) 0%, rgba(10, 10, 22, .55) 45%, rgba(var(--vx-primary-rgb), .5) 100%),
        url(../images/auth-bg.jpg) center / cover no-repeat;
    border-inline-end: 1px solid var(--vx-border);
    overflow: hidden;
}
.vx-auth-aside-content { margin-top: auto; }
.vx-auth-aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 1rem; color: #fff; }
.vx-auth-aside p { color: rgba(255, 255, 255, .82); }
.vx-auth-aside .vx-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .32);
}
.vx-auth-aside .vx-brand-name { color: #fff; }
.vx-auth-aside .vx-brand-tag { color: rgba(255, 255, 255, .6); }
.vx-auth-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--vx-radius);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.vx-auth-quote p { color: #fff; }
.vx-auth-quote .vx-contact-line { color: rgba(255, 255, 255, .85); }
.vx-auth-quote .vx-stat-label { color: rgba(255, 255, 255, .58); }
.vx-auth-main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
    background:
        radial-gradient(620px 440px at 82% -5%, rgba(var(--vx-primary-rgb), .10), transparent 70%),
        radial-gradient(620px 440px at 0% 105%, rgba(var(--vx-accent-rgb), .09), transparent 70%),
        var(--vx-bg);
}
/* back-to-site link sits above the card, aligned to its edge */
.vx-auth-back {
    width: 100%;
    max-width: 440px;
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .88rem; font-weight: 600;
    color: var(--vx-muted);
    transition: color .2s var(--vx-ease);
}
.vx-auth-back:hover { color: var(--vx-primary); }
.vx-auth-back .bi { font-size: 1rem; }

/* the form panel — elevated card on a clean surface */
.vx-auth-card {
    width: 100%;
    max-width: 440px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow);
}
.vx-auth-mark {
    width: 54px; height: 54px;
    font-size: 1.45rem;
    border-radius: var(--vx-radius-sm);
    margin-bottom: 1.4rem;
}
.vx-auth-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 .45rem; }
.vx-auth-card > p { color: var(--vx-muted); margin-bottom: 1.85rem; }

/* remember / forgot row */
.vx-auth-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    margin: .4rem 0 1.6rem;
}
.vx-auth-forgot {
    font-size: .88rem; font-weight: 600;
    color: var(--vx-primary);
    white-space: nowrap;
}
.vx-auth-forgot:hover { text-decoration: underline; }

.vx-auth-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 1.6rem 0;
    color: var(--vx-faint); font-size: .78rem;
    text-transform: uppercase; letter-spacing: .08em;
}
.vx-auth-divider::before, .vx-auth-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--vx-border);
}
.vx-social-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }

.vx-auth-foot {
    text-align: center;
    margin: 1.65rem 0 0;
    font-size: .9rem;
    color: var(--vx-muted);
}
.vx-auth-foot a { font-weight: 700; color: var(--vx-primary); }
.vx-auth-foot a:hover { text-decoration: underline; }

/* ----------------------------------------------------------
   17. Client dashboard
   ---------------------------------------------------------- */
.vx-dash {
    display: grid;
    grid-template-columns: 276px 1fr;
    min-height: 100vh;
}

/* --- Sidebar --- */
.vx-dash-aside {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex; flex-direction: column;
    padding: 1.5rem 1.1rem;
    background: var(--vx-bg-2);
    border-inline-end: 1px solid var(--vx-border);
}
.vx-dash-brand {
    padding: .2rem .4rem 1.25rem;
    margin-bottom: .35rem;
    border-bottom: 1px solid var(--vx-border);
}
.vx-dash-nav-wrap { flex: 1; overflow-y: auto; }
.vx-dash-nav { list-style: none; padding: 0; margin: .25rem 0 0; display: flex; flex-direction: column; gap: .2rem; }
.vx-dash-nav-label {
    font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--vx-faint); font-weight: 700;
    padding: 1.1rem .9rem .45rem;
}
.vx-dash-nav a {
    display: flex; align-items: center; gap: .75rem;
    padding: .7rem .9rem;
    border-radius: var(--vx-radius-sm);
    color: var(--vx-muted); font-weight: 600; font-size: .92rem;
    transition: background .2s var(--vx-ease), color .2s var(--vx-ease);
}
.vx-dash-nav a .bi { font-size: 1.15rem; }
.vx-dash-nav a:hover { background: var(--vx-surface-solid); color: var(--vx-heading); }
.vx-dash-nav a.active {
    color: #fff;
    background: var(--vx-gradient);
    box-shadow: 0 12px 26px -10px rgba(var(--vx-primary-rgb), .6);
}
.vx-badge-count {
    margin-inline-start: auto;
    min-width: 22px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 .4rem;
    background: var(--vx-surface-solid);
    color: var(--vx-primary);
    font-size: .72rem; font-weight: 800;
    border-radius: 999px;
}
.vx-dash-nav a.active .vx-badge-count { background: rgba(255, 255, 255, .25); color: #fff; }

/* --- Main --- */
.vx-dash-main { display: flex; flex-direction: column; min-width: 0; }
.vx-dash-topbar {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 1rem;
    padding: .85rem clamp(1rem, 3vw, 2.25rem);
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--vx-border);
}
.vx-dash-topbar .vx-field { background: var(--vx-surface-solid); }
.vx-dash-search { max-width: 380px; flex: 1; }
.vx-dash-topbar-actions { display: flex; align-items: center; gap: .65rem; margin-inline-start: auto; }
.vx-dash-bell { position: relative; }
.vx-dash-bell::after {
    content: "";
    position: absolute;
    top: 9px; inset-inline-end: 9px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff5d8f;
    border: 2px solid var(--vx-surface-solid);
}
.vx-dash-user {
    display: flex; align-items: center; gap: .6rem;
    padding-inline-start: .7rem;
    border-inline-start: 1px solid var(--vx-border);
}
.vx-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--vx-gradient);
    color: #fff; font-weight: 800;
    flex-shrink: 0;
}
.vx-dash-user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.vx-dash-user-meta b { font-size: .86rem; color: var(--vx-heading); }
.vx-dash-user-meta small { font-size: .74rem; color: var(--vx-muted); }

.vx-dash-body { padding: clamp(1.25rem, 3vw, 2.25rem); }

/* Greeting */
.vx-dash-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.vx-dash-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .25rem; }
.vx-dash-head p { color: var(--vx-muted); font-size: .92rem; margin: 0; }

/* Stat cards */
.vx-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.vx-stat-card {
    padding: 1.5rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow-sm);
    transition: transform .35s var(--vx-ease), box-shadow .35s var(--vx-ease);
}
.vx-stat-card:hover { transform: translateY(-5px); box-shadow: var(--vx-shadow); }
.vx-stat-card-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.1rem;
}
.vx-stat-chip {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 14px;
    font-size: 1.35rem;
}
.vx-stat-chip--primary { background: rgba(var(--vx-primary-rgb), .12); color: var(--vx-primary); }
.vx-stat-chip--sky     { background: rgba(var(--vx-accent-rgb), .14);  color: var(--vx-accent); }
.vx-stat-chip--mint    { background: rgba(18, 184, 160, .14);          color: var(--vx-accent-2); }
.vx-stat-chip--rose    { background: rgba(255, 93, 143, .12);          color: #ff5d8f; }
.vx-stat-card .vx-stat-num { font-size: 1.95rem; }
.vx-stat-card .vx-stat-label { margin-top: .15rem; }
.vx-trend {
    font-size: .78rem; font-weight: 800;
    display: inline-flex; align-items: center; gap: .2rem;
    padding: .28rem .55rem;
    border-radius: var(--vx-radius-pill);
}
.vx-trend--up { color: var(--vx-accent-2); background: rgba(18, 184, 160, .12); }
.vx-trend--down { color: #ff5d8f; background: rgba(255, 93, 143, .12); }

/* Panels grid */
.vx-dash-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.vx-dash-col { display: flex; flex-direction: column; gap: 1.5rem; }
.vx-panel { padding: 1.6rem; box-shadow: var(--vx-shadow-sm); }
.vx-panel:hover { transform: none; }
.vx-panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}
.vx-panel-head h3 { font-size: 1.08rem; margin: 0; }
.vx-panel-icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--vx-surface-2);
    color: var(--vx-primary);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* Mini bar chart (pure CSS) */
.vx-chart {
    display: flex; align-items: flex-end; gap: .5rem;
    height: 210px;
}
.vx-chart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.vx-chart-bar {
    width: 100%;
    height: 0;
    min-height: 6px;
    background: var(--vx-gradient);
    border-radius: 7px 7px 0 0;
    opacity: .9;
    transition: height .9s var(--vx-ease), opacity .2s, filter .2s;
}
.vx-chart-bar[data-low] { background: var(--vx-elevated); }
.vx-chart-col:hover .vx-chart-bar { opacity: 1; filter: brightness(1.08); }
.vx-chart-label {
    text-align: center;
    font-size: .68rem;
    color: var(--vx-faint);
    margin-top: .5rem;
}

/* Lists */
.vx-list { display: flex; flex-direction: column; }
.vx-list-row {
    display: flex; align-items: center; gap: .9rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--vx-border);
}
.vx-list-row:last-child { border-bottom: 0; }
.vx-list-row--flush { padding: 0; border-bottom: 0; }
.vx-list-icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--vx-surface-2);
    color: var(--vx-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.vx-list-body { min-width: 0; }
.vx-list-body b { display: block; font-size: .92rem; color: var(--vx-heading); }
.vx-list-body small { display: block; color: var(--vx-muted); font-size: .8rem; }
.vx-list-end {
    margin-inline-start: auto;
    display: flex; flex-direction: column; align-items: flex-end; gap: .3rem;
    flex-shrink: 0;
}
.vx-list-end b { font-size: .92rem; color: var(--vx-heading); }

.vx-status {
    padding: .24rem .65rem;
    font-size: .72rem; font-weight: 700;
    border-radius: var(--vx-radius-pill);
    white-space: nowrap;
}
.vx-status--ok { background: rgba(18, 184, 160, .14); color: var(--vx-accent-2); }
.vx-status--pending { background: rgba(255, 176, 32, .16); color: #d98a00; }
.vx-status--off { background: rgba(255, 93, 143, .14); color: #ff5d8f; }

/* Subscriptions */
.vx-sub-list { display: flex; flex-direction: column; gap: 1.4rem; }
.vx-sub { display: flex; flex-direction: column; gap: .7rem; }
.vx-progress {
    height: 7px;
    background: var(--vx-surface-2);
    border-radius: 999px;
    overflow: hidden;
}
.vx-progress span {
    display: block; height: 100%;
    width: 0;
    background: var(--vx-gradient);
    border-radius: 999px;
    transition: width 1s var(--vx-ease);
}

/* Support card — accent gradient panel */
.vx-dash-support {
    text-align: center;
    color: #fff;
    background:
        radial-gradient(420px 220px at 80% 0%, rgba(var(--vx-accent-rgb), .55), transparent 70%),
        linear-gradient(150deg, #6d5efc, #1f1d44);
}
.vx-dash-support-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    display: grid; place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    font-size: 1.5rem;
}
.vx-dash-support h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.vx-dash-support p { color: rgba(255, 255, 255, .8); font-size: .92rem; margin: 0 0 1.25rem; }
.vx-dash-support-btn { background: #fff; color: var(--vx-heading); border-color: #fff; }
.vx-dash-support-btn:hover { color: var(--vx-heading); }

/* Data table — orders / invoices / downloads */
.vx-table-wrap { overflow-x: auto; }
.vx-table { width: 100%; border-collapse: collapse; }
.vx-table th {
    text-align: start;
    font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--vx-faint); font-weight: 700;
    padding: 0 1rem .85rem;
    border-bottom: 1px solid var(--vx-border);
    white-space: nowrap;
}
.vx-table td {
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--vx-border);
    font-size: .9rem; color: var(--vx-text);
    vertical-align: middle;
    white-space: nowrap;
}
.vx-table tbody tr:last-child td { border-bottom: 0; }
.vx-table tbody tr { transition: background .2s var(--vx-ease); }
.vx-table tbody tr:hover { background: var(--vx-surface-2); }
.vx-table td b { color: var(--vx-heading); }
.vx-table-product { display: inline-flex; align-items: center; gap: .7rem; }
.vx-table .vx-list-icon { width: 36px; height: 36px; font-size: 1rem; }

/* Owned products grid */
.vx-dash-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.vx-prod-tile { display: flex; flex-direction: column; padding: 1.6rem; }
.vx-prod-tile .vx-list-icon {
    width: 52px; height: 52px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.vx-prod-tile h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.vx-prod-type { font-size: .82rem; color: var(--vx-muted); margin-bottom: 1.25rem; }
.vx-prod-actions {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-top: auto;
}
.vx-prod-actions .vx-btn { flex: 1; }

/* ----------------------------------------------------------
   17b. Small utilities (keeps Blade free of inline styles)
   ---------------------------------------------------------- */
.vx-step-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.vx-card--pad-lg { padding: clamp(2rem, 5vw, 3.5rem); }
.vx-h2-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.vx-inc-item { display: flex; align-items: center; gap: .6rem; }
.vx-inc-item .bi { color: var(--vx-accent-2); font-size: 1.15rem; }
.vx-inc-item span { color: var(--vx-text); font-weight: 600; }
.vx-process-card { display: flex; flex-direction: column; }
.vx-process-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.vx-mw-720 { max-width: 720px; }

/* Generic decorative media box (about story, contact map, etc.) */
.vx-media-box {
    position: relative;
    min-height: 340px;
    border-radius: var(--vx-radius);
    border: 1px solid var(--vx-border);
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(360px 280px at 22% 18%, rgba(var(--vx-primary-rgb), .20), transparent 70%),
        radial-gradient(380px 300px at 84% 88%, rgba(var(--vx-accent-rgb), .18), transparent 70%),
        var(--vx-surface-2);
}
.vx-media-box .bi { font-size: 4.5rem; color: var(--vx-primary); opacity: .65; }
.vx-media-box--tall { min-height: 420px; }

/* Story media — real photo in the About intro */
.vx-story-media {
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow);
}
.vx-story-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

/* Service / work detail pages */
.vx-detail-media {
    border-radius: var(--vx-radius);
    overflow: hidden;
    border: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow);
}
.vx-detail-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vx-detail-icon {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: var(--vx-radius-sm);
    background: var(--vx-gradient-soft);
    color: var(--vx-primary);
    font-size: 1.55rem;
}
.vx-work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
}

/* Team member card */
.vx-team-card { text-align: center; }
.vx-team-avatar {
    width: 116px; height: 116px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--vx-gradient);
    box-shadow: 0 14px 34px -10px rgba(var(--vx-primary-rgb), .6);
}
.vx-team-avatar img {
    display: block;
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--vx-surface-solid);
}
.vx-team-card h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.vx-team-card p { color: var(--vx-primary-soft); font-weight: 600; font-size: .9rem; margin: 0; }
.vx-team-socials { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }

/* Animated circular visual — used in the home About section */
.vx-about-orb {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
}
/* the dashed ring — holographic / iridescent, spins continuously */
.vx-about-orb::before {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        #cdc1ff, #aae2ff, #a6ecdf, #d8f8f0, #ffccea, #d8cdff, #cdc1ff);
    opacity: .6;
    /* keep only dashed segments within a thin edge band */
    -webkit-mask:
        repeating-conic-gradient(from 0deg, #000 0 1.6deg, transparent 1.6deg 5.5deg),
        radial-gradient(circle closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
    -webkit-mask-composite: source-in;
    mask:
        repeating-conic-gradient(from 0deg, #000 0 1.6deg, transparent 1.6deg 5.5deg),
        radial-gradient(circle closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
    mask-composite: intersect;
    filter: drop-shadow(0 0 5px rgba(120, 200, 240, .25));
    animation: vxSpin 22s linear infinite;
}
/* soft centre glow to anchor the icon */
.vx-about-orb::after {
    content: "";
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--vx-primary-rgb), .18), transparent 70%);
}
/* small centre icon — no badge, no image, just the glyph */
.vx-about-orb-icon {
    position: relative;
    z-index: 2;
    width: 21%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--vx-primary);
    filter: drop-shadow(0 10px 22px rgba(var(--vx-primary-rgb), .35));
    animation: vxFloat 6s ease-in-out infinite;
}
/* badges sit at fixed points on the ring, each drifting gently back and forth */
.vx-orbit-dot {
    position: absolute;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border-strong);
    box-shadow: var(--vx-shadow-sm);
    color: var(--vx-primary);
    font-size: 1.05rem;
    z-index: 1;
    animation: vxDrift 4s ease-in-out infinite;
}
.vx-orbit-dot--1 { top: 7%;  left: 50%; }
.vx-orbit-dot--2 { top: 75%; left: 85%; animation-delay: -1.3s; }
.vx-orbit-dot--3 { top: 75%; left: 15%; animation-delay: -2.6s; }
@keyframes vxSpin { to { transform: rotate(360deg); } }
@keyframes vxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes vxDrift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ----------------------------------------------------------
   17c. Blog — cards, article, prose
   ---------------------------------------------------------- */
.vx-blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.vx-blog-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.vx-blog-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--vx-ease);
}
.vx-blog-card:hover .vx-blog-media img { transform: scale(1.06); }
.vx-blog-cat,
.vx-blog-cat-inline {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    color: #fff;
    background: var(--vx-gradient);
    border-radius: var(--vx-radius-pill);
    padding: .35rem .85rem;
}
.vx-blog-cat {
    position: absolute;
    inset-block-start: .9rem;
    inset-inline-start: .9rem;
    box-shadow: var(--vx-shadow-sm);
}
.vx-blog-cat-inline { display: inline-block; }
.vx-blog-body {
    padding: 1.5rem;
    display: flex; flex-direction: column;
    flex: 1;
}
.vx-blog-body h3 { font-size: 1.16rem; line-height: 1.4; margin-bottom: .6rem; }
.vx-blog-body h3 a { color: var(--vx-heading); transition: color .2s; }
.vx-blog-card:hover .vx-blog-body h3 a { color: var(--vx-primary); }
.vx-blog-body > p { color: var(--vx-muted); font-size: .92rem; margin-bottom: 1.1rem; }
.vx-blog-meta {
    display: flex; flex-wrap: wrap; gap: .35rem 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--vx-border);
    font-size: .8rem; color: var(--vx-faint);
}
.vx-blog-meta .bi { color: var(--vx-primary); margin-inline-end: .15rem; }

/* Article (blog show) */
.vx-article-meta {
    display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: .85rem; color: var(--vx-muted);
}
.vx-article-meta .bi { color: var(--vx-primary); margin-inline-end: .25rem; }
.vx-article-cover {
    border-radius: var(--vx-radius);
    overflow: hidden;
    margin-bottom: 2.25rem;
    box-shadow: var(--vx-shadow);
    border: 1px solid var(--vx-border);
}
.vx-article-cover img { display: block; width: 100%; height: auto; }

.vx-prose { color: var(--vx-text); font-size: 1.02rem; line-height: 1.9; }
.vx-prose p { margin-bottom: 1.3rem; }
.vx-prose h2 { font-size: 1.5rem; margin: 2.25rem 0 1rem; }
.vx-prose-lead {
    font-size: 1.18rem; line-height: 1.8;
    color: var(--vx-heading); font-weight: 500;
}
.vx-prose blockquote {
    margin: 1.75rem 0;
    padding: 1.4rem 1.6rem;
    background: var(--vx-gradient-soft);
    border-inline-start: 4px solid var(--vx-primary);
    border-radius: var(--vx-radius-sm);
    font-size: 1.08rem; font-style: italic;
    color: var(--vx-heading);
}
.vx-prose blockquote cite {
    display: block;
    margin-top: .75rem;
    font-size: .88rem; font-style: normal; font-weight: 700;
    color: var(--vx-primary-soft);
}
.vx-article-foot {
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--vx-border);
}
.vx-socials { display: flex; align-items: center; gap: .5rem; }

/* ----------------------------------------------------------
   17d. Policy pages
   ---------------------------------------------------------- */
.vx-policy-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}
.vx-policy-nav {
    display: flex; flex-direction: column; gap: .35rem;
    position: sticky; top: calc(var(--vx-nav-h) + 1.25rem);
    padding: 1rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius);
    box-shadow: var(--vx-shadow-sm);
}
.vx-policy-nav a {
    display: flex; align-items: center; gap: .65rem;
    padding: .8rem 1rem;
    border-radius: var(--vx-radius-sm);
    color: var(--vx-text); font-weight: 600; font-size: .92rem;
    transition: background .2s, color .2s;
}
.vx-policy-nav a .bi { font-size: 1.1rem; color: var(--vx-faint); transition: color .2s; }
.vx-policy-nav a:hover { background: var(--vx-surface-2); color: var(--vx-heading); }
.vx-policy-nav a.active { background: var(--vx-gradient); color: #fff; box-shadow: var(--vx-shadow-sm); }
.vx-policy-nav a.active .bi { color: #fff; }
.vx-policy-updated { font-size: .88rem; color: var(--vx-faint); margin-top: .4rem; }
.vx-policy-section { margin-bottom: 1.5rem; }
.vx-policy-section:last-child { margin-bottom: 0; }
.vx-policy-section h2 { font-size: 1.22rem; margin-bottom: .55rem; }
.vx-policy-section p { color: var(--vx-text); line-height: 1.85; margin: 0; }

/* ----------------------------------------------------------
   18. Scroll reveal
   ---------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--vx-ease), transform .7s var(--vx-ease);
    transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------
   19. Toast
   ---------------------------------------------------------- */
.vx-toast {
    position: fixed;
    bottom: 1.5rem; inset-inline-end: 1.5rem;
    z-index: 1080;
    display: flex; align-items: center; gap: .65rem;
    padding: .9rem 1.25rem;
    background: var(--vx-elevated);
    border: 1px solid var(--vx-border-strong);
    border-radius: var(--vx-radius-sm);
    box-shadow: var(--vx-shadow);
    color: var(--vx-text); font-weight: 600; font-size: .92rem;
    opacity: 0; transform: translateY(20px);
    transition: opacity .3s var(--vx-ease), transform .3s var(--vx-ease);
    pointer-events: none;
}
.vx-toast.is-visible { opacity: 1; transform: translateY(0); }
.vx-toast .bi { color: var(--vx-accent-2); font-size: 1.2rem; }

/* ----------------------------------------------------------
   20. Responsive
   ---------------------------------------------------------- */
@media (max-width: 1100px) {
    .vx-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .vx-dash { grid-template-columns: 1fr; }
    .vx-dash-aside { position: fixed; inset-inline-start: -300px; z-index: 1050; width: 270px; transition: inset-inline-start .3s var(--vx-ease); }
    .vx-dash-aside.is-open { inset-inline-start: 0; }
    .vx-dash-grid { grid-template-columns: 1fr; }
    .vx-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .vx-dash-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
    /* Navbar: keep logo + currency + cart + burger. Hide everything else. */
    .vx-nav-links, .vx-nav-actions .vx-desktop-only { display: none; }
    .vx-burger { display: flex; }
    .vx-nav { padding-block: .5rem; padding-inline-start: 1rem; padding-inline-end: .55rem; gap: .35rem; }
    .vx-nav-actions { margin-inline-start: auto; gap: .35rem; }
    .vx-brand-tag { display: none; }

    /* Compact currency button on mobile — show CODE only, no caret. */
    .vx-currency-toggle {
        padding: .4rem .6rem;
        font-size: .78rem;
        gap: .3rem;
    }
    .vx-currency-toggle-caret { display: none; }
    .vx-currency-toggle .bi-coin { font-size: .9rem; }

    /* Dropdown narrower and positioned safely. */
    .vx-currency-menu {
        min-width: 240px !important;
    }

    /* Hero slider */
    .vx-slide { min-height: clamp(540px, 90vh, 760px); }
    .vx-slide-inner { padding-top: calc(var(--vx-nav-h) + 2.25rem); padding-bottom: 9rem; }
    .vx-slide h1 { font-size: clamp(2rem, 6.5vw, 3rem); }
    .vx-hero-cta .vx-btn--lg { padding: .92rem 1.5rem; font-size: .96rem; }

    .vx-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vx-auth { grid-template-columns: 1fr; }
    .vx-auth-aside { display: none; }
    .vx-section-head { margin-inline: auto; text-align: center; }

    /* Policy — drop the sidebar above the content, scroll nav horizontally */
    .vx-policy-grid { grid-template-columns: 1fr; }
    .vx-policy-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: .5rem;
    }
    .vx-policy-nav a { white-space: nowrap; }
}

@media (max-width: 560px) {
    .vx-products { grid-template-columns: 1fr; }
    .vx-footer-grid { grid-template-columns: 1fr; }
    .vx-stat-grid { grid-template-columns: 1fr; }
    .vx-dash-products { grid-template-columns: 1fr; }
    .vx-cta-band { padding: 2.25rem 1.5rem; }
    .vx-footer-bottom { flex-direction: column; text-align: center; }

    /* Dashboard topbar — keep just the avatar on tight screens */
    .vx-dash-user-meta { display: none; }
    .vx-dash-user { padding-inline-start: 0; border-inline-start: 0; }

    /* Navbar — logo + cart icon + burger; shrink the logo a touch to fit */
    .vx-brand-mark img { height: 34px; max-width: 130px; }
    .vx-brand-name { font-size: .95rem; }

    /* Hero slider — let content define height, stack the buttons full-width */
    .vx-slide { min-height: auto; }
    .vx-slide-inner { padding-top: calc(var(--vx-nav-h) + 1.75rem); padding-bottom: 8.5rem; }
    .vx-slide h1 { font-size: clamp(1.75rem, 8.5vw, 2.35rem); }
    .vx-hero-sub { font-size: .96rem; margin-bottom: 1.5rem; }
    .vx-eyebrow { font-size: .72rem; padding: .38rem .8rem; }
    .vx-hero-cta { width: 100%; gap: .6rem; }
    .vx-hero-cta .vx-btn { width: 100%; }
    .vx-slider-nav { bottom: 5rem; }
    .vx-slider-arrows .vx-icon-btn { width: 40px; height: 40px; }

    /* Domain search — stack the form on small screens.
       Reset flex-basis: in a column the 280px basis would become height. */
    .vx-domain-form { flex-direction: column; }
    .vx-domain-field { flex: 0 0 auto; }
    .vx-domain-field,
    .vx-domain-tld,
    .vx-domain-form .vx-btn { width: 100%; }

    .vx-about-orb { max-width: 300px; }

    /* Works — reveal details by default on touch screens */
    .vx-work { aspect-ratio: 4 / 3.6; }
    .vx-work-content p { max-height: 9rem; opacity: 1; margin-top: .5rem; }
    .vx-work-cta { max-height: 3rem; opacity: 1; margin-top: 1rem; }

    /* Shop preview — keep product rows compact on phones */
    .vx-product-row-body p { display: none; }
    .vx-product-row { padding: .9rem 1rem; gap: .85rem; }
    .vx-product-row-media { width: 54px; height: 54px; font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   Service consultation form — slim sidebar variant.
   Used on frontend service-show pages as an aside.
   ============================================================ */
/* ============================================================
   Hosting configuration page
   ============================================================ */
.vx-host-config-card {
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
}
.vx-host-tabs .nav-link {
    color: var(--vx-text);
    background: var(--vx-bg);
    border: 1px solid var(--vx-border);
    margin-inline-end: .35rem;
    font-weight: 600; font-size: .87rem;
}
.vx-host-tabs .nav-link.active {
    background: var(--vx-gradient); color: #fff;
    border-color: transparent;
}
.vx-host-search { display: flex; gap: .5rem; }
.vx-host-search .vx-field { flex: 1; }
.vx-host-results { display: flex; flex-direction: column; gap: .5rem; }
.vx-host-result {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: .85rem;
    align-items: center;
    padding: .9rem 1rem;
    background: var(--vx-bg);
    border: 1px solid var(--vx-border);
    border-radius: .55rem;
    transition: border-color .15s;
}
.vx-host-result.is-available { border-color: rgba(18,184,160,.4); }
.vx-host-result.is-taken { opacity: .7; }
.vx-host-result-name { font-weight: 700; font-family: "JetBrains Mono", monospace; font-size: .95rem; }
.vx-host-result-meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.vx-host-price { font-size: .82rem; color: var(--vx-muted); font-weight: 600; }
@media (max-width: 576px) {
    .vx-host-result { grid-template-columns: 1fr; }
    .vx-host-search { flex-direction: column; }
}
.vx-host-existing .vx-field-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.vx-host-existing .vx-field { width: 100%; margin-bottom: .25rem; }

/* ============================================================
   Client "My Services" page
   ============================================================ */
.vx-services-tabs {
    display: flex; flex-wrap: wrap; gap: .35rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: .8rem;
    padding: .35rem;
    margin-bottom: 1.5rem;
}
.vx-services-tabs a {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1rem;
    border-radius: .55rem;
    font-weight: 600; font-size: .87rem;
    color: var(--vx-muted);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.vx-services-tabs a:hover { background: var(--vx-surface-2); color: var(--vx-heading); }
.vx-services-tabs a.is-active {
    background: var(--vx-gradient); color: #fff;
    box-shadow: var(--vx-shadow-sm);
}
.vx-services-tab-count {
    background: rgba(255,255,255,.25);
    padding: 0 .45rem; border-radius: 999px;
    font-size: .72rem; font-weight: 800;
}
.vx-services-tabs a:not(.is-active) .vx-services-tab-count {
    background: var(--vx-surface-2);
    color: var(--vx-muted);
}

.vx-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.vx-service-card {
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: .85rem;
    padding: 1.1rem 1.15rem;
    display: flex; flex-direction: column; gap: .85rem;
    border-inline-start: 4px solid var(--vx-primary);
    transition: box-shadow .15s, transform .15s;
}
.vx-service-card:hover { box-shadow: 0 .65rem 1.5rem rgba(18,21,48,.06); transform: translateY(-1px); }
.vx-service-card--success { border-inline-start-color: #12b8a0; }
.vx-service-card--warning { border-inline-start-color: #f1b44c; }
.vx-service-card--danger  { border-inline-start-color: #f46a6a; }
.vx-service-card--info    { border-inline-start-color: #0bb6dd; }
.vx-service-card--secondary,
.vx-service-card--dark    { border-inline-start-color: #74788d; }

.vx-service-card-head {
    display: flex; align-items: center; gap: .75rem;
}
.vx-service-card-icon {
    width: 44px; height: 44px; border-radius: .55rem;
    background: linear-gradient(135deg, rgba(var(--vx-primary-rgb),.12), rgba(var(--vx-accent-rgb),.08));
    color: var(--vx-primary);
    display: grid; place-items: center; font-size: 1.4rem;
    flex-shrink: 0;
}
.vx-service-card-meta { flex: 1; min-width: 0; }
.vx-service-card-meta small { color: var(--vx-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.vx-service-card-meta h4 {
    font-size: .95rem; font-weight: 700; margin: .1rem 0 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.vx-service-card-body { display: flex; flex-direction: column; gap: .5rem; }
.vx-service-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .5rem .65rem;
    background: var(--vx-bg);
    border-radius: .45rem;
    font-size: .82rem;
}
.vx-service-row span { color: var(--vx-muted); }
.vx-service-row b { color: var(--vx-heading); text-align: end; }

.vx-service-card-actions { display: flex; flex-direction: column; gap: .4rem; margin-top: auto; }
.vx-service-creds {
    background: var(--vx-bg); border-radius: .45rem; padding: .5rem .65rem; font-size: .8rem;
}
.vx-service-creds summary { cursor: pointer; font-weight: 600; color: var(--vx-text); }
.vx-service-creds summary i { color: var(--vx-primary); margin-inline-end: .25rem; }
.vx-service-creds div { display: flex; flex-direction: column; gap: .25rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed var(--vx-border); }
.vx-service-creds small { color: var(--vx-muted); }
.vx-service-creds code { background: #fff; padding: .1rem .35rem; border-radius: .25rem; }

/* ============================================================
   Cart & Checkout
   ============================================================ */
.vx-cart-alert {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .8rem 1rem;
    border-radius: .55rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
}
.vx-cart-alert i { font-size: 1.15rem; flex-shrink: 0; line-height: 1.1; }
.vx-cart-alert--success { background: rgba(18, 184, 160, .12); color: #0a7060; border: 1px solid rgba(18, 184, 160, .25); }
.vx-cart-alert--error   { background: rgba(220, 53, 69, .08); color: #9b1c30; border: 1px solid rgba(220, 53, 69, .22); }
.vx-cart-alert ul { margin: 0; padding-inline-start: 1.1rem; }

.vx-cart-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: 1rem;
}
.vx-cart-empty i { font-size: 4rem; color: var(--vx-faint); }
.vx-cart-empty h3 { margin: 1rem 0 .35rem; }
.vx-cart-empty p  { color: var(--vx-muted); margin: 0 0 1.25rem; }

.vx-cart-list { display: flex; flex-direction: column; gap: .75rem; }
.vx-cart-row {
    display: grid;
    grid-template-columns: 60px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: .8rem;
    padding: 1rem 1.15rem;
    transition: border-color .15s, box-shadow .15s;
}
.vx-cart-row:hover { border-color: var(--vx-border-strong); box-shadow: 0 .5rem 1.25rem rgba(18,21,48,.05); }
.vx-cart-row-icon {
    width: 60px; height: 60px;
    border-radius: .65rem;
    background: linear-gradient(135deg, rgba(var(--vx-primary-rgb), .12), rgba(var(--vx-accent-rgb), .08));
    color: var(--vx-primary);
    display: grid; place-items: center;
    font-size: 1.65rem;
}
.vx-cart-row-main h4 {
    font-size: 1rem; font-weight: 700; margin: 0 0 .25rem;
    color: var(--vx-heading);
}
.vx-cart-row-main small { color: var(--vx-muted); font-size: .8rem; }
.vx-cart-pill {
    display: inline-block;
    background: var(--vx-surface-2);
    color: var(--vx-text);
    padding: .1rem .55rem; font-size: .72rem; font-weight: 700;
    border-radius: 999px; margin-inline-end: .25rem;
}
.vx-cart-qty {
    display: flex; flex-direction: column; gap: .15rem; align-items: center;
}
.vx-cart-qty label { font-size: .7rem; color: var(--vx-muted); }
.vx-cart-qty input {
    width: 64px; text-align: center;
    padding: .35rem .4rem;
    border: 1px solid var(--vx-border-strong);
    border-radius: .4rem;
    background: var(--vx-bg);
    font-weight: 700;
}
.vx-cart-row-total strong { font-size: 1.05rem; color: var(--vx-primary); font-weight: 800; }
.vx-cart-remove {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--vx-border-strong);
    color: var(--vx-muted);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.vx-cart-remove:hover { background: #fdecec; color: #f46a6a; border-color: #f46a6a; }
@media (max-width: 768px) {
    .vx-cart-row {
        grid-template-columns: 50px 1fr auto;
        grid-template-areas:
            "icon main remove"
            "icon qty  total";
        gap: .55rem 1rem;
    }
    .vx-cart-row-icon  { grid-area: icon; width: 50px; height: 50px; font-size: 1.35rem; }
    .vx-cart-row-main  { grid-area: main; }
    .vx-cart-qty       { grid-area: qty;  flex-direction: row; align-items: center; gap: .5rem; }
    .vx-cart-row-total { grid-area: total; text-align: end; }
    .vx-cart-remove    { grid-area: remove; }
}

.vx-cart-summary {
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--vx-nav-h) + 1rem);
}
.vx-cart-summary h3 {
    font-size: 1.1rem; margin: 0 0 1rem;
    display: flex; align-items: center; gap: .5rem;
}
.vx-cart-summary h3 i { color: var(--vx-primary); }
.vx-cart-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--vx-border);
    font-size: .9rem;
}
.vx-cart-summary-row:last-of-type { border-bottom: 0; }
.vx-cart-summary-row span { color: var(--vx-muted); }
.vx-cart-summary-row b { color: var(--vx-heading); font-weight: 700; }
.vx-cart-summary-total {
    margin-top: .5rem;
    padding-top: .85rem !important;
    border-top: 2px solid var(--vx-border-strong);
    border-bottom: 0 !important;
    font-size: 1.05rem;
}
.vx-cart-summary-total b { color: var(--vx-primary); font-size: 1.2rem; font-weight: 800; }
.vx-cart-summary .vx-btn { margin-top: .75rem; }

/* Checkout-specific */
.vx-checkout-info {
    display: grid; gap: .5rem;
}
.vx-checkout-info > div {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .55rem .75rem;
    background: var(--vx-bg);
    border-radius: .45rem;
    font-size: .88rem;
}
.vx-checkout-info span { color: var(--vx-muted); }
.vx-checkout-info b { color: var(--vx-heading); font-weight: 700; }
.vx-checkout-edit { display: block; margin-top: .75rem; text-align: end; font-size: .8rem; }

.vx-payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .55rem; }
@media (max-width: 576px) { .vx-payment-grid { grid-template-columns: 1fr; } }
.vx-payment-card { position: relative; }
.vx-payment-card img { max-width: 100%; }
.vx-payment-sandbox {
    position: absolute;
    top: .25rem; inset-inline-end: .35rem;
    background: #f1b44c;
    color: #fff;
    font-size: .58rem; font-weight: 800;
    padding: .1rem .4rem;
    border-radius: 999px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.vx-payment-method input { display: none; }
.vx-payment-card {
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    padding: 1rem .5rem;
    background: var(--vx-bg);
    border: 2px solid var(--vx-border);
    border-radius: .65rem;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    text-align: center; font-size: .85rem; font-weight: 600;
}
.vx-payment-card i { font-size: 1.6rem; color: var(--vx-primary); }
.vx-payment-method input:checked + .vx-payment-card {
    border-color: var(--vx-primary);
    background: rgba(var(--vx-primary-rgb), .08);
    color: var(--vx-primary);
}

.vx-checkout-items { display: flex; flex-direction: column; gap: .5rem; }
.vx-checkout-item {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .55rem .75rem;
    background: var(--vx-bg);
    border-radius: .45rem;
    font-size: .87rem;
}
.vx-checkout-item small { display: block; color: var(--vx-muted); font-size: .72rem; margin-top: .15rem; }
.vx-checkout-item b { color: var(--vx-heading); white-space: nowrap; }

/* Success page */
.vx-checkout-success {
    text-align: center;
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    max-width: 640px; margin: 0 auto;
    box-shadow: 0 1rem 2.5rem rgba(18, 21, 48, .06);
}
.vx-checkout-success-icon { font-size: 4.5rem; color: var(--vx-accent-2, #34c38f); line-height: 1; }
.vx-checkout-success h1 { font-size: 1.65rem; margin: 1rem 0 .5rem; }
.vx-checkout-success p { color: var(--vx-muted); margin: 0 0 1.5rem; }
.vx-checkout-success-number {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .6rem 1.1rem;
    background: var(--vx-bg);
    border: 1px dashed var(--vx-border-strong);
    border-radius: .55rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.vx-checkout-success-number b { color: var(--vx-primary); font-size: 1.05rem; letter-spacing: .04em; }
.vx-checkout-success-items {
    text-align: start;
    background: var(--vx-bg);
    border-radius: .65rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.vx-checkout-success-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

/* Service packages — small additions on top of existing .vx-plan styles */
.vx-plan-desc {
    color: var(--vx-muted);
    font-size: .85rem;
    margin: -.25rem 0 .9rem;
    line-height: 1.55;
}
.vx-plan-amount--ask {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--vx-primary);
}

/* Secondary consultation link under add-to-cart button on package cards */
.vx-plan-cta-sub {
    display: inline-flex; align-items: center; gap: .3rem;
    margin-top: .5rem;
    font-size: .8rem; color: var(--vx-muted);
    text-decoration: none;
}
.vx-plan-cta-sub:hover { color: var(--vx-primary); text-decoration: underline; }

/* Hide cart count when empty */
.vx-cart-count--empty { display: none; }

/* Add-to-cart form wraps so block button stretches */
.vx-add-cart-form { width: 100%; margin: 0; }
#packages { scroll-margin-top: calc(var(--vx-nav-h) + 1rem); }
#consultation-form { scroll-margin-top: calc(var(--vx-nav-h) + 1rem); }

/* Aside column that holds the slim form — sticky to scroll with the page. */
.vx-consult-aside {
    position: sticky;
    top: calc(var(--vx-nav-h) + 1rem);
    align-self: flex-start;
    z-index: 5;
}
@media (max-width: 991.98px) {
    .vx-consult-aside { position: static; margin-top: 1.5rem; }
}

.vx-consult-card {
    background: var(--vx-surface-solid);
    border: 1px solid var(--vx-border);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 .5rem 1.5rem rgba(18, 21, 48, .05);
}
.vx-consult-card--side { max-width: 100%; }

.vx-consult-head { margin-bottom: 1rem; text-align: center; }
.vx-eyebrow--sm { font-size: .72rem; padding: .2rem .55rem; }
.vx-consult-title { font-size: 1.15rem; font-weight: 800; margin: .5rem 0 .2rem; color: var(--vx-text, #1c1f3a); }
.vx-consult-sub   { font-size: .82rem; color: var(--vx-text-muted, #6c7099); margin: 0; }

.vx-consult-alert {
    border-radius: .5rem; padding: .6rem .75rem;
    margin-bottom: .85rem;
    display: flex; gap: .5rem; align-items: flex-start;
    font-size: .82rem;
}
.vx-consult-alert i { font-size: 1rem; flex-shrink: 0; line-height: 1.2; }
.vx-consult-alert--success { background: rgba(18, 184, 160, .12); color: #0a7060; border: 1px solid rgba(18, 184, 160, .25); }
.vx-consult-alert--error   { background: rgba(220, 53, 69, .08); color: #9b1c30; border: 1px solid rgba(220, 53, 69, .22); }
.vx-consult-alert ul { margin: 0; padding-inline-start: 1.1rem; }

.vx-consult-form .vx-field-group { margin-bottom: .55rem; }
.vx-consult-form .vx-field {
    width: 100%;
    background: var(--vx-bg);
    border: 1px solid var(--vx-border-strong);
    border-radius: .5rem;
    padding: .55rem .75rem;
    font: inherit;
    font-size: .88rem;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.vx-consult-form .vx-field::placeholder { color: var(--vx-text-muted, #6c7099); opacity: .9; }
.vx-consult-form .vx-field:focus {
    outline: none;
    border-color: var(--vx-primary);
    background: #fff;
    box-shadow: 0 0 0 .15rem rgba(var(--vx-primary-rgb), .15);
}
.vx-consult-form textarea.vx-field { resize: vertical; min-height: 70px; }

/* Honeypot — hidden visually */
.vx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CAPTCHA — compact inline */
.vx-captcha--side {
    background: var(--vx-bg);
    border: 1px dashed var(--vx-border-strong);
    border-radius: .5rem;
    padding: .5rem .65rem;
    margin-bottom: .85rem;
}
.vx-captcha-row {
    display: flex; gap: .55rem; align-items: center;
}
.vx-captcha-question {
    font-size: 1rem; font-weight: 800;
    color: var(--vx-primary);
    background: #fff;
    padding: .35rem .65rem;
    border-radius: .35rem;
    border: 1px solid var(--vx-border);
    letter-spacing: .05em;
    user-select: none;
    direction: ltr;
    white-space: nowrap;
}
.vx-captcha-input {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: .95rem;
    padding: .4rem .55rem !important;
}

/* Buttons */
.vx-btn--block {
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    gap: .4rem;
    margin-bottom: .5rem;
}
.vx-btn--wa { background: #25d366; color: #fff; border: 0; }
.vx-btn--wa:hover { background: #1ebe5b; color: #fff; }

.vx-consult-disclaimer {
    margin: .75rem 0 0;
    text-align: center;
    font-size: .72rem;
    color: var(--vx-text-muted, #6c7099);
}
.vx-consult-disclaimer i { color: var(--vx-accent-2); margin-inline-end: .25rem; }

/* ============================================================
   Client portal (cp-*) — sidebar + topbar + content shell
   Used by frontend.client.layout.
   ============================================================ */
.cp-body {
    background: linear-gradient(180deg, #f5f7ff 0%, #eef1fb 100%);
    color: var(--vx-text);
    min-height: 100vh;
}
.cp-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* -------- Sidebar -------- */
.cp-sidebar {
    background: #fff;
    border-inline-end: 1px solid var(--vx-border);
    display: flex; flex-direction: column;
    position: sticky; top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
}
.cp-sidebar-head {
    padding: 1.1rem 1.15rem .9rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--vx-border);
}
.cp-brand {
    display: flex; align-items: center; gap: .65rem;
    text-decoration: none; color: var(--vx-heading);
}
.cp-brand-mark {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: .65rem;
    background: linear-gradient(135deg, var(--vx-primary), var(--vx-accent-1, #6b73ff));
    color: #fff; font-size: 1.05rem;
    box-shadow: 0 .35rem 1rem rgba(var(--vx-primary-rgb), .35);
}
.cp-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.cp-brand-text > span { font-weight: 800; font-size: .98rem; }
.cp-brand-text small { font-size: .7rem; color: var(--vx-muted); }
.cp-close {
    display: none;
    border: 0; background: transparent;
    color: var(--vx-muted); font-size: 1rem;
    padding: .35rem .5rem;
    border-radius: .4rem;
    cursor: pointer;
}
.cp-close:hover { background: var(--vx-bg); color: var(--vx-text); }

.cp-nav { padding: .65rem .75rem; flex: 1; }
.cp-nav-group + .cp-nav-group { margin-top: 1.1rem; }
.cp-nav-label {
    display: block;
    font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--vx-muted); font-weight: 700;
    padding: .55rem .65rem .45rem;
}
.cp-nav-link {
    display: flex; align-items: center; gap: .65rem;
    padding: .6rem .7rem;
    border-radius: .55rem;
    color: var(--vx-text);
    font-size: .87rem; font-weight: 500;
    text-decoration: none;
    margin-bottom: .15rem;
    transition: background .15s, color .15s;
    position: relative;
}
.cp-nav-link i { font-size: 1rem; width: 18px; text-align: center; color: var(--vx-muted); }
.cp-nav-link:hover { background: var(--vx-bg); color: var(--vx-primary); }
.cp-nav-link:hover i { color: var(--vx-primary); }
.cp-nav-link.is-active {
    background: linear-gradient(90deg, rgba(var(--vx-primary-rgb), .14), rgba(var(--vx-primary-rgb), .04));
    color: var(--vx-primary);
    font-weight: 700;
}
.cp-nav-link.is-active i { color: var(--vx-primary); }
.cp-nav-link.is-active::before {
    content: '';
    position: absolute;
    inset-inline-start: -.75rem;
    top: 50%; transform: translateY(-50%);
    width: 3px; height: 60%;
    background: var(--vx-primary);
    border-radius: 3px;
}
.cp-nav-badge {
    margin-inline-start: auto;
    background: var(--vx-primary);
    color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: .15rem .45rem;
    border-radius: 999px;
    min-width: 22px; text-align: center;
}
.cp-nav-badge.bg-warning { background: #f5a623 !important; }
.cp-nav-badge.bg-danger  { background: #d9534f !important; }
.cp-nav-badge.bg-success { background: #34c38f !important; }

.cp-sidebar-foot {
    padding: .85rem 1rem 1.1rem;
    border-top: 1px solid var(--vx-border);
    display: flex; flex-direction: column; gap: .25rem;
}
.cp-foot-link {
    display: flex; align-items: center; gap: .5rem;
    padding: .55rem .65rem;
    border-radius: .5rem;
    color: var(--vx-muted);
    font-size: .82rem; text-decoration: none;
    background: transparent; border: 0;
    width: 100%; text-align: start;
    cursor: pointer;
}
.cp-foot-link:hover { background: var(--vx-bg); color: var(--vx-text); }
.cp-foot-link--danger { color: #d9534f; }
.cp-foot-link--danger:hover { background: rgba(217, 83, 79, .08); color: #b52a25; }
.cp-logout-form { margin: 0; padding: 0; }

/* -------- Main + Topbar -------- */
.cp-main {
    display: flex; flex-direction: column;
    min-width: 0;
}
.cp-topbar {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--vx-border);
    display: flex; align-items: center; gap: 1rem;
    padding: .75rem 1.25rem;
}
.cp-burger {
    display: none;
    border: 0; background: transparent;
    width: 36px; height: 36px;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    cursor: pointer;
    border-radius: .4rem;
}
.cp-burger:hover { background: var(--vx-bg); }
.cp-burger span {
    width: 18px; height: 2px; background: var(--vx-text); border-radius: 2px;
}
.cp-page-meta { flex: 1; min-width: 0; }
.cp-page-meta h1 {
    font-size: 1.1rem; font-weight: 800; margin: 0;
    color: var(--vx-heading);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cp-page-meta small {
    display: block; color: var(--vx-muted); font-size: .75rem;
    margin-top: .15rem;
}
.cp-topbar-actions {
    display: flex; align-items: center; gap: .4rem;
}

.cp-icon-btn {
    position: relative;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: .55rem;
    background: var(--vx-bg);
    color: var(--vx-text);
    border: 1px solid var(--vx-border);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.cp-icon-btn:hover {
    background: var(--vx-primary);
    color: #fff;
    border-color: var(--vx-primary);
}
.cp-icon-bubble {
    position: absolute;
    top: -4px; inset-inline-end: -4px;
    background: #d9534f; color: #fff;
    font-size: .62rem; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 .3rem;
    border: 2px solid #fff;
}

.cp-user .cp-user-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--vx-bg);
    border: 1px solid var(--vx-border);
    padding: .3rem .65rem .3rem .35rem;
    border-radius: 999px;
    color: var(--vx-text);
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.cp-user .cp-user-btn:hover { background: #fff; border-color: var(--vx-border-strong); }
.cp-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vx-primary), var(--vx-accent-1, #6b73ff));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .82rem;
}
.cp-user-name {
    max-width: 130px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-weight: 600;
}
.cp-user-menu {
    border: 1px solid var(--vx-border);
    border-radius: .65rem;
    padding: .5rem;
    min-width: 230px;
    box-shadow: 0 1rem 2rem rgba(18, 21, 48, .08);
}
.cp-user-info { padding: .5rem .65rem .65rem; }
.cp-user-info b { display: block; color: var(--vx-heading); font-size: .9rem; }
.cp-user-info small { display: block; color: var(--vx-muted); font-size: .75rem; }
.cp-user-menu a, .cp-user-menu-danger {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem .65rem;
    border-radius: .4rem;
    text-decoration: none;
    color: var(--vx-text); font-size: .85rem;
    background: transparent; border: 0;
    width: 100%; text-align: start; cursor: pointer;
}
.cp-user-menu a:hover, .cp-user-menu-danger:hover {
    background: var(--vx-bg);
    color: var(--vx-primary);
}
.cp-user-menu-danger { color: #d9534f; }
.cp-user-menu-danger:hover { background: rgba(217, 83, 79, .08); color: #b52a25; }
.cp-divider { margin: .35rem 0; border: 0; border-top: 1px solid var(--vx-border); }

/* -------- Body content -------- */
.cp-body-content {
    padding: 1.5rem 1.5rem 2.5rem;
    flex: 1;
}
.cp-alert {
    display: flex; align-items: center; gap: .55rem;
    padding: .75rem 1rem;
    border-radius: .6rem;
    margin-bottom: 1.25rem;
    font-size: .88rem;
    border: 1px solid transparent;
}
.cp-alert--success {
    background: rgba(52, 195, 143, .1);
    color: #1d7e58;
    border-color: rgba(52, 195, 143, .25);
}
.cp-alert--error {
    background: rgba(217, 83, 79, .08);
    color: #9b1c30;
    border-color: rgba(217, 83, 79, .22);
}

/* -------- Mobile overlay -------- */
.cp-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15, 18, 40, .45);
    z-index: 1035;
}
.cp-overlay.is-visible { display: block; }

@media (max-width: 991.98px) {
    .cp-shell { grid-template-columns: 1fr; }
    .cp-sidebar {
        position: fixed; top: 0; bottom: 0;
        inset-inline-start: 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform .25s ease;
        box-shadow: 0 0 2rem rgba(15, 18, 40, .15);
    }
    [dir="rtl"] .cp-sidebar { transform: translateX(100%); }
    .cp-sidebar.is-open { transform: translateX(0); }
    .cp-close { display: inline-flex; }
    .cp-burger { display: inline-flex; }
}
@media (max-width: 575.98px) {
    .cp-user-name { display: none; }
    .cp-body-content { padding: 1rem .9rem 2rem; }
    .cp-topbar { padding: .65rem .9rem; gap: .65rem; }
    .cp-page-meta h1 { font-size: 1rem; }
}

/* ============================================================
   Client portal — hero, KPI grid, cards, table, status badges
   ============================================================ */
.cp-hero {
    background: linear-gradient(135deg, var(--vx-primary) 0%, var(--vx-accent-1, #6b73ff) 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.85rem;
    margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 1rem 2rem rgba(var(--vx-primary-rgb), .25);
}
.cp-hero h2 { font-size: 1.4rem; margin: 0 0 .35rem; font-weight: 800; color: #fff; }
.cp-hero p { margin: 0; opacity: .92; font-size: .92rem; }
.cp-hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cp-hero-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem 1.1rem;
    border-radius: .55rem;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    text-decoration: none;
    font-size: .85rem; font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .15s, border-color .15s;
}
.cp-hero-btn:hover { background: rgba(255, 255, 255, .25); color: #fff; }
.cp-hero-btn--solid { background: #fff; color: var(--vx-primary); border-color: #fff; }
.cp-hero-btn--solid:hover { background: rgba(255, 255, 255, .9); color: var(--vx-primary); }

.cp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.cp-kpi {
    background: #fff;
    border: 1px solid var(--vx-border);
    border-radius: .85rem;
    padding: 1.1rem 1.2rem;
    display: flex; align-items: center; gap: .9rem;
    transition: transform .15s, box-shadow .15s;
}
.cp-kpi:hover { transform: translateY(-2px); box-shadow: 0 .65rem 1.5rem rgba(18, 21, 48, .07); }
.cp-kpi-icon {
    width: 46px; height: 46px;
    border-radius: .65rem;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.cp-kpi-icon--primary { background: rgba(var(--vx-primary-rgb), .12); color: var(--vx-primary); }
.cp-kpi-icon--success { background: rgba(52, 195, 143, .14); color: #1d7e58; }
.cp-kpi-icon--warning { background: rgba(245, 166, 35, .14); color: #b8740b; }
.cp-kpi-icon--info    { background: rgba(74, 144, 226, .14); color: #2c6aaf; }
.cp-kpi-icon--danger  { background: rgba(217, 83, 79, .12); color: #b52a25; }
.cp-kpi-body { min-width: 0; }
.cp-kpi-value { font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: var(--vx-heading); }
.cp-kpi-label { font-size: .8rem; color: var(--vx-muted); margin-top: .15rem; }

.cp-card {
    background: #fff;
    border: 1px solid var(--vx-border);
    border-radius: .85rem;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}
.cp-card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}
.cp-card-title {
    font-size: 1rem; font-weight: 800; margin: 0;
    color: var(--vx-heading);
    display: flex; align-items: center; gap: .5rem;
}
.cp-card-title i { color: var(--vx-primary); }
.cp-card-link {
    font-size: .8rem; color: var(--vx-primary);
    text-decoration: none; font-weight: 600;
    display: inline-flex; align-items: center; gap: .3rem;
}
.cp-card-link:hover { text-decoration: underline; }

.cp-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--vx-muted);
}
.cp-empty i { font-size: 2.5rem; color: var(--vx-border-strong); display: block; margin-bottom: .5rem; }
.cp-empty p { margin: 0 0 1rem; font-size: .9rem; }

.cp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .87rem;
}
.cp-table thead th {
    text-align: start;
    padding: .65rem .75rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--vx-muted);
    border-bottom: 1px solid var(--vx-border);
    font-weight: 700;
}
.cp-table tbody td {
    padding: .85rem .75rem;
    border-bottom: 1px solid var(--vx-border);
    vertical-align: middle;
}
.cp-table tbody tr:last-child td { border-bottom: 0; }
.cp-table tbody tr:hover { background: var(--vx-bg); }
.cp-table-actions { display: flex; gap: .35rem; justify-content: flex-end; }
.cp-table-action {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: .4rem;
    background: var(--vx-bg);
    color: var(--vx-muted);
    border: 0;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.cp-table-action:hover { background: var(--vx-primary); color: #fff; }

.cp-status {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem; font-weight: 700;
    white-space: nowrap;
}
.cp-status::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
}
.cp-status--success { background: rgba(52, 195, 143, .14); color: #1d7e58; }
.cp-status--warning { background: rgba(245, 166, 35, .14); color: #b8740b; }
.cp-status--danger  { background: rgba(217, 83, 79, .12); color: #b52a25; }
.cp-status--info    { background: rgba(74, 144, 226, .14); color: #2c6aaf; }
.cp-status--muted   { background: var(--vx-bg); color: var(--vx-muted); }

.cp-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.cp-row--2 { grid-template-columns: 2fr 1fr; }
.cp-row--equal { grid-template-columns: 1fr 1fr; }
@media (max-width: 991.98px) {
    .cp-row--2, .cp-row--equal { grid-template-columns: 1fr; }
}

/* Expiring services rows on dashboard */
.cp-expiring-row {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--vx-border);
}
.cp-expiring-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-expiring-row:first-child { padding-top: 0; }
.cp-expiring-row > div:first-child { min-width: 0; }
.cp-expiring-row b {
    display: block;
    font-size: .88rem; color: var(--vx-heading);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cp-expiring-row small { display: block; color: var(--vx-muted); font-size: .75rem; }
.cp-expiring-meta { flex-shrink: 0; }

/* Support card on dashboard */
.cp-support-card { text-align: center; }
.cp-support-icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(var(--vx-primary-rgb), .12);
    color: var(--vx-primary);
    font-size: 1.6rem;
    margin-bottom: .75rem;
}
.cp-support-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .35rem; color: var(--vx-heading); }
.cp-support-card p { font-size: .82rem; color: var(--vx-muted); margin: 0 0 1rem; }

/* Order item rows inside table cell */
.cp-order-item {
    font-size: .82rem;
    color: var(--vx-text);
    padding: .15rem 0;
}
.cp-order-item small { color: var(--vx-muted); margin-inline-start: .3rem; }
.cp-muted { color: var(--vx-muted); font-size: .8rem; }

/* Table wrapper for horizontal scroll on small screens */
.cp-table-wrap { overflow-x: auto; }

/* Pagination wrapper */
.cp-pagination {
    display: flex; justify-content: center;
    margin-top: 1.25rem;
}
.cp-pagination .pagination {
    margin: 0;
    display: flex; gap: .25rem;
}
.cp-pagination .page-link {
    border-radius: .5rem !important;
    border: 1px solid var(--vx-border);
    color: var(--vx-text);
    font-size: .82rem;
    padding: .4rem .7rem;
    background: #fff;
}
.cp-pagination .page-item.active .page-link {
    background: var(--vx-primary);
    border-color: var(--vx-primary);
    color: #fff;
}
.cp-pagination .page-item.disabled .page-link {
    background: var(--vx-bg);
    color: var(--vx-muted);
}

/* Contact cards on support page */
.cp-contact-card {
    display: flex; align-items: center; gap: .9rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--vx-text);
    transition: transform .15s, box-shadow .15s;
    margin-bottom: 0;
}
.cp-contact-card:hover { transform: translateY(-2px); box-shadow: 0 .65rem 1.5rem rgba(18, 21, 48, .08); color: var(--vx-text); }
.cp-contact-card b { display: block; font-size: .92rem; color: var(--vx-heading); }
.cp-contact-card small { display: block; color: var(--vx-muted); font-size: .8rem; margin-top: .15rem; }
.cp-contact-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.cp-contact-arrow { margin-inline-start: auto; font-size: 1.3rem; color: var(--vx-muted); }
.cp-contact-card--wa    .cp-contact-icon { background: rgba(37, 211, 102, .14); color: #1ebe5b; }
.cp-contact-card--mail  .cp-contact-icon { background: rgba(var(--vx-primary-rgb), .12); color: var(--vx-primary); }
.cp-contact-card--phone .cp-contact-icon { background: rgba(245, 166, 35, .14); color: #b8740b; }

/* Form fields used inside cp-card forms */
.cp-card .vx-form-group { margin-bottom: 1rem; }
.cp-card .vx-label {
    display: block;
    font-size: .82rem; font-weight: 600;
    color: var(--vx-heading);
    margin-bottom: .35rem;
}

/* Services page — type filter tabs */
.cp-tabs {
    display: flex; flex-wrap: wrap; gap: .4rem;
    margin-bottom: 1.25rem;
}
.cp-tab {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--vx-border);
    color: var(--vx-text);
    text-decoration: none;
    font-size: .85rem; font-weight: 600;
    transition: background .15s, color .15s, border-color .15s;
}
.cp-tab:hover { background: var(--vx-bg); color: var(--vx-primary); border-color: var(--vx-border-strong); }
.cp-tab.is-active { background: var(--vx-primary); color: #fff; border-color: var(--vx-primary); }
.cp-tab i { font-size: .95rem; }
.cp-tab-count {
    background: rgba(0, 0, 0, .08);
    padding: .05rem .45rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    margin-inline-start: .15rem;
}
.cp-tab.is-active .cp-tab-count { background: rgba(255, 255, 255, .25); }

/* Services grid */
.cp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1rem;
}
.cp-service-card {
    background: #fff;
    border: 1px solid var(--vx-border);
    border-radius: .85rem;
    padding: 1.1rem 1.2rem;
    display: flex; flex-direction: column; gap: .85rem;
    transition: transform .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
}
.cp-service-card::before {
    content: '';
    position: absolute;
    top: 0; inset-inline-start: 0;
    width: 4px; height: 100%;
    background: var(--vx-border-strong);
}
.cp-service-card--success::before { background: #34c38f; }
.cp-service-card--warning::before { background: #f5a623; }
.cp-service-card--danger::before  { background: #d9534f; }
.cp-service-card--info::before    { background: #4a90e2; }
.cp-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .65rem 1.5rem rgba(18, 21, 48, .08);
}
.cp-service-head {
    display: flex; align-items: center; gap: .75rem;
}
.cp-service-icon {
    width: 44px; height: 44px;
    border-radius: .65rem;
    background: rgba(var(--vx-primary-rgb), .1);
    color: var(--vx-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.cp-service-meta { flex: 1; min-width: 0; }
.cp-service-meta small {
    display: block;
    font-size: .7rem;
    color: var(--vx-muted);
    text-transform: uppercase; letter-spacing: .08em;
    font-weight: 700;
    margin-bottom: .15rem;
}
.cp-service-meta h4 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--vx-heading);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cp-service-body { font-size: .85rem; }
.cp-service-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: .4rem 0;
    gap: .75rem;
    border-bottom: 1px dashed var(--vx-border);
}
.cp-service-row:last-child { border-bottom: 0; }
.cp-service-row > span:first-child { color: var(--vx-muted); display: flex; align-items: center; gap: .35rem; font-size: .82rem; }
.cp-service-row b { color: var(--vx-heading); font-weight: 700; }
.cp-service-row--note { justify-content: flex-end; padding: .3rem 0 0; border: 0; }

.cp-service-actions {
    display: flex; flex-direction: column; gap: .4rem;
    margin-top: auto;
}
.cp-service-creds {
    background: var(--vx-bg);
    border: 1px solid var(--vx-border);
    border-radius: .5rem;
    padding: .55rem .75rem;
    font-size: .82rem;
}
.cp-service-creds summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--vx-text);
    list-style: none;
}
.cp-service-creds summary::-webkit-details-marker { display: none; }
.cp-service-creds summary i { margin-inline-end: .3rem; color: var(--vx-primary); }
.cp-service-creds-body { margin-top: .55rem; display: flex; flex-direction: column; gap: .35rem; }
.cp-service-creds-body code {
    background: #fff; padding: .15rem .4rem; border-radius: .25rem;
    font-size: .8rem;
    color: var(--vx-primary);
    border: 1px solid var(--vx-border);
}
.cp-service-creds-body small { color: var(--vx-muted); margin-inline-end: .3rem; }

.cp-text-danger  { color: #d9534f !important; }
.cp-text-success { color: #34c38f !important; }
