/**
 * HV Web Online WHMCS Premium Theme
 * Safe child-theme CSS layer for Twenty-One and Standard Cart.
 */

:root {
    --hv-navy: #081a33;
    --hv-navy-2: #102a4f;
    --hv-blue: #1f6feb;
    --hv-blue-2: #4f8cff;
    --hv-cyan: #38d5ff;
    --hv-kiwi: #c6ff5f;
    --hv-mint: #7cf7d4;
    --hv-ink: #102033;
    --hv-muted: #5d6b7f;
    --hv-line: rgba(16, 32, 51, 0.11);
    --hv-card: rgba(255, 255, 255, 0.92);
    --hv-soft: #f4f8ff;
    --hv-radius: 22px;
    --hv-radius-sm: 14px;
    --hv-shadow: 0 24px 70px rgba(8, 26, 51, 0.14);
    --hv-shadow-sm: 0 12px 32px rgba(8, 26, 51, 0.10);
    --hv-focus: 0 0 0 4px rgba(31, 111, 235, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 8% 4%, rgba(56, 213, 255, 0.17), transparent 34rem),
        radial-gradient(circle at 92% 10%, rgba(198, 255, 95, 0.16), transparent 28rem),
        linear-gradient(180deg, #f6f9ff 0%, #ffffff 48%, #f5f8fc 100%) !important;
    color: var(--hv-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--hv-blue);
}

a:hover,
a:focus {
    color: var(--hv-navy-2);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none !important;
    box-shadow: var(--hv-focus) !important;
}

.hv-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--hv-navy);
    color: #fff;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.hv-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.navbar,
.navbar-main {
    border: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 12px 34px rgba(8, 26, 51, 0.08);
    backdrop-filter: blur(18px);
}

.navbar .navbar-brand,
.navbar-main .navbar-brand {
    color: var(--hv-navy) !important;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.navbar-nav > li > a,
.navbar .nav-link {
    border-radius: 999px;
    color: var(--hv-ink) !important;
    font-weight: 700;
    margin: 0 2px;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.navbar-nav > li > a:hover,
.navbar .nav-link:hover,
.navbar-nav > li.active > a,
.navbar .nav-link.active {
    background: rgba(31, 111, 235, 0.10) !important;
    color: var(--hv-blue) !important;
    transform: translateY(-1px);
}

.header-lined h1,
.main-content h1,
.page-header h1 {
    color: var(--hv-navy);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.header-lined {
    position: relative;
    border-bottom: 0;
    margin-bottom: 28px;
    padding: 32px 0 18px;
}

.header-lined::after {
    content: "";
    display: block;
    width: 82px;
    height: 5px;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--hv-blue), var(--hv-cyan), var(--hv-kiwi));
}

.hv-portal-hero {
    position: relative;
    overflow: hidden;
    margin: 18px 0 30px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 14% 24%, rgba(124, 247, 212, 0.24), transparent 18rem),
        radial-gradient(circle at 88% 18%, rgba(79, 140, 255, 0.30), transparent 20rem),
        linear-gradient(135deg, #081a33 0%, #102a4f 54%, #1f6feb 100%);
    box-shadow: var(--hv-shadow);
}

.hv-portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.08) 45%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(198,255,95,0.18), transparent 18rem);
    pointer-events: none;
}

.hv-portal-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    grid-template-columns: 1.5fr 0.8fr;
    align-items: center;
    padding: clamp(26px, 4vw, 50px);
}

.hv-portal-hero__eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.86);
    font-weight: 750;
    font-size: 0.82rem;
}

.hv-portal-hero h2 {
    margin: 14px 0 8px;
    max-width: 800px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.3rem);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: -0.075em;
}

.hv-portal-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
}

.hv-portal-hero__panel {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 22px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
}

.hv-portal-hero__panel strong {
    display: block;
    color: #fff;
    font-size: 1.03rem;
}

.hv-portal-hero__panel span {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
}

.hv-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.hv-quick-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 116px;
    padding: 18px;
    border: 1px solid var(--hv-line);
    border-radius: 20px;
    background: var(--hv-card);
    box-shadow: var(--hv-shadow-sm);
    color: var(--hv-ink);
    text-decoration: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hv-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 111, 235, 0.24);
    box-shadow: var(--hv-shadow);
}

.hv-quick-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(31,111,235,0.13), rgba(56,213,255,0.13));
    color: var(--hv-blue);
    font-weight: 900;
}

.hv-quick-card strong {
    display: block;
    color: var(--hv-navy);
    font-weight: 850;
}

.hv-quick-card span {
    display: block;
    margin-top: 4px;
    color: var(--hv-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.card,
.panel,
.tiles .tile,
.client-home-panels .panel,
.list-group,
.product,
.domain-pricing,
#order-standard_cart .products .product {
    border: 1px solid var(--hv-line) !important;
    border-radius: var(--hv-radius) !important;
    background: var(--hv-card) !important;
    box-shadow: var(--hv-shadow-sm) !important;
}

.panel-heading,
.card-header,
.list-group-item:first-child {
    border-radius: var(--hv-radius) var(--hv-radius) 0 0 !important;
}

.panel > .panel-heading,
.card > .card-header {
    border: 0 !important;
    background: linear-gradient(180deg, rgba(31,111,235,0.07), rgba(255,255,255,0)) !important;
    color: var(--hv-navy) !important;
    font-weight: 850;
}

.btn,
button,
input[type="submit"] {
    border-radius: 999px !important;
    font-weight: 800 !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-success,
#btnCompleteProductConfig,
#btnCompleteOrder,
button[type="submit"].btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--hv-blue), var(--hv-cyan)) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(31, 111, 235, 0.22) !important;
}

.btn-primary:hover,
.btn-success:hover,
#btnCompleteProductConfig:hover,
#btnCompleteOrder:hover {
    box-shadow: 0 16px 36px rgba(31, 111, 235, 0.28) !important;
}

.btn-default,
.btn-secondary {
    border-color: rgba(16,32,51,0.12) !important;
    background: #fff !important;
    color: var(--hv-ink) !important;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    min-height: 44px;
    border: 1px solid rgba(16,32,51,0.16) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(31,111,235,0.55) !important;
    box-shadow: var(--hv-focus) !important;
}

.alert {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: var(--hv-shadow-sm);
}

.table {
    overflow: hidden;
    border-radius: 16px;
}

.table > thead > tr > th {
    border-bottom: 0 !important;
    background: rgba(31,111,235,0.07);
    color: var(--hv-navy);
    font-weight: 850;
}

#main-body,
.main-content {
    position: relative;
}

.hv-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.hv-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

footer,
.footer {
    border-top: 1px solid var(--hv-line);
    background: #07182f !important;
    color: rgba(255,255,255,0.76) !important;
}

footer a,
.footer a {
    color: #d8f9ff !important;
}

@media (max-width: 991px) {
    .hv-portal-hero__inner {
        grid-template-columns: 1fr;
    }

    .hv-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hv-portal-hero {
        border-radius: 22px;
    }

    .hv-portal-hero__inner {
        padding: 24px;
    }

    .hv-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .hv-reveal {
        opacity: 1;
        transform: none;
    }
}


/**
 * v1.0.5 Premium branded header
 * Adds a custom HV Web Online portal header and hides the inherited WHMCS header shell.
 */
body.hv-has-premium-header {
    padding-top: 0 !important;
}

.hv-premium-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(246,250,255,0.92)),
        radial-gradient(circle at 12% 18%, rgba(56,213,255,0.14), transparent 22rem),
        radial-gradient(circle at 88% 22%, rgba(198,255,95,0.12), transparent 20rem);
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
    box-shadow: 0 18px 54px rgba(8, 26, 51, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hv-premium-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    width: min(1180px, calc(100% - 32px));
    min-height: 96px;
    margin: 0 auto;
}

.hv-premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: var(--hv-navy) !important;
    text-decoration: none !important;
}

.hv-premium-brand:hover,
.hv-premium-brand:focus {
    color: var(--hv-blue) !important;
    text-decoration: none !important;
}

.hv-premium-brand__mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #ffffff, #eef7ff),
        radial-gradient(circle at 35% 25%, rgba(56,213,255,0.35), transparent 2rem);
    box-shadow:
        0 16px 38px rgba(31,111,235,0.16),
        inset 0 0 0 1px rgba(16,32,51,0.08);
    overflow: hidden;
    flex: 0 0 auto;
}

.hv-premium-brand__mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.hv-premium-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hv-premium-brand__name {
    font-size: clamp(1.22rem, 2vw, 1.64rem);
    font-weight: 950;
    letter-spacing: -0.055em;
}

.hv-premium-brand__tag {
    margin-top: 6px;
    color: var(--hv-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hv-premium-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.hv-premium-nav a,
.hv-premium-action,
.hv-premium-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    color: var(--hv-ink) !important;
    font-weight: 850;
    text-decoration: none !important;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.hv-premium-nav a {
    padding: 0 15px;
    font-size: 0.94rem;
}

.hv-premium-nav a:hover,
.hv-premium-nav a:focus,
.hv-premium-nav a.is-active {
    background: rgba(31,111,235,0.10);
    color: var(--hv-blue) !important;
    transform: translateY(-1px);
}

.hv-premium-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.hv-premium-action {
    gap: 8px;
    padding: 0 16px;
    border: 1px solid rgba(16,32,51,0.10);
    background: rgba(255,255,255,0.72);
}

.hv-premium-action--primary {
    color: #fff !important;
    border-color: transparent;
    background:
        linear-gradient(135deg, var(--hv-blue), #1454c8);
    box-shadow: 0 14px 34px rgba(31,111,235,0.22);
}

.hv-premium-action:hover,
.hv-premium-action:focus,
.hv-premium-menu-toggle:hover,
.hv-premium-menu-toggle:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(8,26,51,0.12);
}

.hv-premium-menu-toggle {
    display: none;
    width: 46px;
    border: 1px solid rgba(16,32,51,0.10);
    background: rgba(255,255,255,0.72);
    cursor: pointer;
}

.hv-premium-menu-toggle span,
.hv-premium-menu-toggle span::before,
.hv-premium-menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--hv-navy);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hv-premium-menu-toggle span {
    position: relative;
}

.hv-premium-menu-toggle span::before,
.hv-premium-menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.hv-premium-menu-toggle span::before {
    top: -6px;
}

.hv-premium-menu-toggle span::after {
    top: 6px;
}

.hv-premium-menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.hv-premium-menu-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.hv-premium-menu-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

.hv-premium-mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: -4px auto 14px;
    padding: 12px;
    border: 1px solid rgba(16,32,51,0.08);
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 18px 44px rgba(8,26,51,0.12);
}

.hv-premium-mobile-panel.is-open {
    display: grid;
    gap: 8px;
    animation: hvPanelIn 180ms ease both;
}

.hv-premium-mobile-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    color: var(--hv-ink) !important;
    font-weight: 850;
    text-decoration: none !important;
    background: rgba(31,111,235,0.05);
}

.hv-premium-mobile-panel a:hover,
.hv-premium-mobile-panel a:focus {
    color: var(--hv-blue) !important;
    background: rgba(31,111,235,0.10);
}

.hv-original-header-hidden {
    display: none !important;
}

body.hv-has-premium-header .hv-portal-hero {
    margin-top: 26px;
}

@keyframes hvPanelIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@media (max-width: 1060px) {
    .hv-premium-header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .hv-premium-nav,
    .hv-premium-action:not(.hv-premium-action--primary) {
        display: none;
    }

    .hv-premium-menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .hv-premium-header__inner {
        width: min(100% - 22px, 1180px);
        min-height: 78px;
        gap: 10px;
    }

    .hv-premium-brand__mark {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .hv-premium-brand__mark img {
        width: 34px;
        height: 34px;
    }

    .hv-premium-brand__name {
        font-size: 1.12rem;
    }

    .hv-premium-brand__tag {
        display: none;
    }

    .hv-premium-action--primary {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .hv-premium-mobile-panel {
        width: min(100% - 22px, 1180px);
    }
}



/* HV Web Store header refinement */
.hv-store-header {
    position: sticky;
    top: 0;
    z-index: 9998;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,248,255,0.92));
    border-bottom: 1px solid rgba(16,32,51,0.08);
    box-shadow: 0 18px 48px rgba(8,26,51,0.10);
    backdrop-filter: blur(22px);
}

.hv-store-header .hv-premium-header__inner {
    min-height: 92px;
}

.hv-store-header .hv-premium-brand {
    padding: 8px 12px 8px 8px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88), rgba(236,246,255,0.72));
    border: 1px solid rgba(16,32,51,0.07);
    box-shadow: 0 12px 34px rgba(8,26,51,0.08);
}

.hv-store-header .hv-premium-brand__mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 35% 25%, rgba(124,247,212,0.80), transparent 46%),
        linear-gradient(135deg, #1f6feb, #081a33);
}

.hv-store-header .hv-premium-brand__mark img {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 8px 14px rgba(8,26,51,0.18));
}

.hv-store-header .hv-premium-brand__name {
    font-size: 1.32rem;
}

.hv-store-header .hv-premium-brand__tag {
    color: var(--hv-blue);
    font-weight: 900;
}

.hv-store-header .hv-premium-nav {
    padding: 6px;
    border: 1px solid rgba(16,32,51,0.07);
    border-radius: 999px;
    background: rgba(255,255,255,0.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.90);
}

.hv-store-header .hv-premium-nav a {
    gap: 8px;
    padding: 0 14px;
}

.hv-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: var(--hv-blue);
    background: rgba(31,111,235,0.10);
    font-size: 0.78rem;
    line-height: 1;
}

.hv-action-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.hv-premium-cart-action {
    position: relative;
    color: var(--hv-navy) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,247,255,0.86));
}

.hv-premium-cart-action::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--hv-cyan);
    box-shadow: 0 0 0 3px rgba(56,213,255,0.16);
}

.hv-store-header .hv-premium-action--primary {
    gap: 8px;
    background:
        linear-gradient(135deg, #1f6feb, #124aa8 62%, #081a33);
}

.hv-store-header .hv-premium-mobile-panel a span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hv-store-header .hv-premium-mobile-panel a strong {
    color: var(--hv-muted);
    font-size: 0.82rem;
}

@media (max-width: 1060px) {
    .hv-store-header .hv-premium-header__inner {
        min-height: 86px;
    }
}

@media (max-width: 640px) {
    .hv-store-header .hv-premium-header__inner {
        min-height: 78px;
    }

    .hv-store-header .hv-premium-brand {
        padding: 6px 8px 6px 6px;
    }

    .hv-store-header .hv-premium-brand__mark {
        width: 46px;
        height: 46px;
    }

    .hv-store-header .hv-premium-brand__mark img {
        width: 34px;
        height: 34px;
    }
}


/* v1.0.7: premium store body cleanup */
body.hv-store-body-compact .hv-portal-hero,
body.hv-store-body-compact .hv-quick-grid {
    display: none !important;
}

body.hv-has-premium-header #main-body,
body.hv-has-premium-header .main-content,
body.hv-has-premium-header main {
    padding-top: 18px !important;
}

body.hv-has-premium-header .header-lined {
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

body.hv-has-premium-header .header-lined h1,
body.hv-has-premium-header .main-content h1,
body.hv-has-premium-header .page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.7rem) !important;
}

.hv-premium-header {
    margin-bottom: 0 !important;
}

.hv-premium-brand__tag {
    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.hv-premium-nav a,
.hv-premium-mobile-panel a {
    text-decoration: none !important;
}

.hv-premium-cart-action .hv-action-icon {
    width: 19px;
    height: 19px;
}

@media (min-width: 992px) {
    body.hv-has-premium-header #main-body > .container,
    body.hv-has-premium-header .main-content > .container {
        margin-top: 10px !important;
    }
}


/* v1.0.8: futuristic premium web store header + full product directory */
.hv-store-header--futuristic {
    isolation: isolate;
    overflow: visible;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.90), rgba(238,247,255,0.78)),
        radial-gradient(circle at 12% -20%, rgba(56,213,255,0.30), transparent 26rem),
        radial-gradient(circle at 82% 12%, rgba(31,111,235,0.22), transparent 25rem),
        radial-gradient(circle at 96% 120%, rgba(198,255,95,0.20), transparent 22rem) !important;
    border-bottom: 1px solid rgba(31,111,235,0.14);
    box-shadow:
        0 24px 80px rgba(8,26,51,0.13),
        inset 0 -1px 0 rgba(255,255,255,0.72);
}

.hv-store-header--futuristic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(56,213,255,0.00), rgba(56,213,255,0.22), rgba(198,255,95,0.12), rgba(31,111,235,0.00));
    mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
    opacity: 0.72;
}

.hv-store-topline {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 4vw, 42px);
    min-height: 28px;
    padding-top: 7px;
    color: rgba(8,26,51,0.58);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hv-store-topline span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hv-store-topline span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hv-cyan), var(--hv-kiwi));
    box-shadow: 0 0 18px rgba(56,213,255,0.70);
}

.hv-store-header--futuristic .hv-premium-header__inner {
    width: min(1280px, calc(100% - 34px));
    min-height: 86px;
    gap: 18px;
}

.hv-store-header--futuristic .hv-premium-brand {
    padding: 10px 16px 10px 10px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(236,246,255,0.80));
    border: 1px solid rgba(31,111,235,0.12);
    box-shadow:
        0 16px 44px rgba(8,26,51,0.10),
        inset 0 1px 0 rgba(255,255,255,0.84);
}

.hv-store-header--futuristic .hv-premium-brand__mark {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 35% 24%, rgba(124,247,212,0.38), transparent 2.4rem),
        linear-gradient(135deg, #071c39, #1f6feb);
    box-shadow:
        0 18px 42px rgba(31,111,235,0.24),
        0 0 0 1px rgba(255,255,255,0.70) inset;
}

.hv-store-header--futuristic .hv-premium-brand__mark img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
}

.hv-store-header--futuristic .hv-premium-brand__name {
    font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.hv-store-header--futuristic .hv-premium-brand__tag {
    color: var(--hv-blue);
}

.hv-store-header--futuristic .hv-premium-nav {
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(31,111,235,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.84);
}

.hv-store-header--futuristic .hv-premium-nav > a,
.hv-store-header--futuristic .hv-mega-button {
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hv-ink) !important;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
}

.hv-store-header--futuristic .hv-premium-nav > a:hover,
.hv-store-header--futuristic .hv-premium-nav > a:focus,
.hv-store-header--futuristic .hv-premium-nav > a.is-active,
.hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-button,
.hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-button {
    color: #fff !important;
    background:
        linear-gradient(135deg, var(--hv-blue), #0d55ce);
    box-shadow: 0 14px 30px rgba(31,111,235,0.24);
    transform: translateY(-1px);
}

.hv-store-header--futuristic .hv-nav-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 7px;
    border-radius: 999px;
    background: rgba(31,111,235,0.10);
    color: var(--hv-blue);
    font-size: 0.74rem;
}

.hv-store-header--futuristic .hv-premium-nav > a:hover .hv-nav-icon,
.hv-store-header--futuristic .hv-premium-nav > a:focus .hv-nav-icon,
.hv-store-header--futuristic .hv-premium-nav > a.is-active .hv-nav-icon,
.hv-store-header--futuristic .hv-mega-trigger:hover .hv-nav-icon,
.hv-store-header--futuristic .hv-mega-trigger.is-open .hv-nav-icon {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.hv-mega-trigger {
    position: relative;
}

.hv-mega-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hv-mega-caret {
    margin-left: 8px;
    font-size: 1rem;
}

.hv-mega-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    z-index: 10003;
    width: min(760px, calc(100vw - 36px));
    padding: 18px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,247,255,0.95));
    border: 1px solid rgba(31,111,235,0.14);
    box-shadow: 0 34px 90px rgba(8,26,51,0.22);
    transform: translate(-50%, 8px) scale(0.985);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hv-mega-panel::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    background: rgba(255,255,255,0.98);
    border-left: 1px solid rgba(31,111,235,0.14);
    border-top: 1px solid rgba(31,111,235,0.14);
    transform: translateX(-50%) rotate(45deg);
}

.hv-mega-trigger:hover .hv-mega-panel,
.hv-mega-trigger:focus-within .hv-mega-panel,
.hv-mega-trigger.is-open .hv-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.hv-mega-panel__intro {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(198,255,95,0.26), transparent 14rem),
        linear-gradient(135deg, #081a33, #155bd7);
}

.hv-mega-panel__intro strong {
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.hv-mega-panel__intro span {
    color: rgba(255,255,255,0.82);
    font-size: 0.88rem;
    line-height: 1.45;
}

.hv-mega-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hv-mega-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 78px;
    padding: 12px;
    border-radius: 20px;
    color: var(--hv-ink) !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(16,32,51,0.07);
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.hv-mega-link:hover,
.hv-mega-link:focus {
    transform: translateY(-2px);
    border-color: rgba(31,111,235,0.24);
    background: #fff;
    box-shadow: 0 16px 34px rgba(8,26,51,0.11);
}

.hv-mega-link__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    color: var(--hv-blue);
    background:
        radial-gradient(circle at 30% 20%, rgba(124,247,212,0.36), transparent 2rem),
        rgba(31,111,235,0.10);
    font-weight: 950;
}

.hv-mega-link__body {
    display: grid;
    gap: 3px;
}

.hv-mega-link strong {
    font-size: 0.94rem;
    letter-spacing: -0.015em;
}

.hv-mega-link small {
    color: var(--hv-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.hv-store-header--futuristic .hv-premium-action {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 950;
}

.hv-store-header--futuristic .hv-premium-cart-action {
    background: rgba(255,255,255,0.74);
}

.hv-store-header--futuristic .hv-premium-action--primary {
    background:
        linear-gradient(135deg, #0b1d3a, #1f6feb);
    box-shadow:
        0 18px 42px rgba(31,111,235,0.28),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

.hv-mobile-section-title {
    margin: 6px 4px 4px;
    color: var(--hv-muted);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.hv-has-premium-header .hv-original-header-hidden,
body.hv-has-premium-header #main-menu.hv-original-header-hidden,
body.hv-has-premium-header .navbar-collapse.hv-original-header-hidden,
body.hv-has-premium-header ul.navbar-nav.hv-original-header-hidden {
    display: none !important;
}

body.hv-has-premium-header #main-body,
body.hv-has-premium-header .main-content,
body.hv-has-premium-header main {
    padding-top: 8px !important;
}

@media (max-width: 1220px) {
    .hv-store-header--futuristic .hv-premium-header__inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .hv-store-header--futuristic .hv-premium-nav,
    .hv-store-header--futuristic .hv-premium-action:not(.hv-premium-action--primary) {
        display: none;
    }

    .hv-store-header--futuristic .hv-premium-menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .hv-store-topline {
        display: none;
    }

    .hv-store-header--futuristic .hv-premium-header__inner {
        width: min(100% - 22px, 1280px);
        min-height: 76px;
    }

    .hv-store-header--futuristic .hv-premium-brand {
        padding: 7px 10px 7px 7px;
        border-radius: 22px;
    }

    .hv-store-header--futuristic .hv-premium-brand__mark {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .hv-store-header--futuristic .hv-premium-brand__mark img {
        width: 34px;
        height: 34px;
    }

    .hv-store-header--futuristic .hv-premium-brand__tag {
        display: block;
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .hv-mega-panel__grid {
        grid-template-columns: 1fr;
    }
}


html.hv-page-restored,
body.hv-page-restored {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}



/* HV Web Online consolidated WHMCS navigation additions */
.hv-store-topline {
    display: none !important;
}

.hv-premium-nav .hv-menu-trigger,
.hv-account-trigger {
    position: relative;
}

.hv-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--hv-ink) !important;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.hv-menu-caret {
    margin-left: 8px;
    font-size: 0.95rem;
    line-height: 1;
}

.hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-button,
.hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-button,
.hv-store-header--futuristic .hv-menu-button.is-active,
.hv-store-header--futuristic .hv-mega-button.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--hv-blue), #0d55ce);
    box-shadow: 0 14px 30px rgba(31,111,235,0.24);
    transform: translateY(-1px);
}

.hv-store-header--futuristic .hv-menu-trigger:hover .hv-nav-icon,
.hv-store-header--futuristic .hv-menu-trigger.is-open .hv-nav-icon,
.hv-store-header--futuristic .hv-menu-button.is-active .hv-nav-icon,
.hv-store-header--futuristic .hv-mega-button.is-active .hv-nav-icon {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.hv-menu-panel,
.hv-account-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 10004;
    display: grid;
    gap: 6px;
    min-width: 240px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: min(72vh, 620px);
    overflow: auto;
    padding: 10px;
    border: 1px solid rgba(31,111,235,0.14);
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 28px 70px rgba(8,26,51,0.20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.hv-premium-nav .hv-menu-panel {
    left: 0;
    right: auto;
}

.hv-menu-trigger:hover .hv-menu-panel,
.hv-menu-trigger:focus-within .hv-menu-panel,
.hv-menu-trigger.is-open .hv-menu-panel,
.hv-account-trigger:hover .hv-account-panel,
.hv-account-trigger:focus-within .hv-account-panel,
.hv-account-trigger.is-open .hv-account-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.hv-menu-link {
    display: grid !important;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    color: var(--hv-ink) !important;
    font-size: 0.9rem !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    background: rgba(31,111,235,0.04);
}

.hv-menu-link:hover,
.hv-menu-link:focus {
    color: var(--hv-blue) !important;
    background: rgba(31,111,235,0.10);
}

.hv-menu-link__icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    color: var(--hv-blue);
    background: rgba(31,111,235,0.10);
    font-size: 0.76rem;
    font-weight: 950;
}

.hv-account-button {
    gap: 8px;
    cursor: pointer;
}

.hv-mobile-menu-section {
    display: grid;
    gap: 8px;
}

.hv-mobile-menu-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--hv-muted);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    background: rgba(8,26,51,0.04);
}

.hv-mobile-menu-section summary::-webkit-details-marker {
    display: none;
}

.hv-mobile-menu-section summary::after {
    content: "Collapse";
    color: var(--hv-blue);
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
}

.hv-mobile-menu-section:not([open]) summary::after {
    content: "Expand";
}

.hv-mobile-menu-section__links {
    display: grid;
    gap: 8px;
}

@media (max-width: 1120px) {
    .hv-premium-nav {
        display: none;
    }

    .hv-premium-menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .hv-premium-cart-action {
        display: none;
    }

    .hv-account-trigger {
        max-width: 58vw;
    }

    .hv-account-button span:not(.hv-menu-caret) {
        max-width: 28vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* 2026-06-20: remove the inherited WHMCS navigation below the premium header. */
body.hv-has-premium-header #main-menu,
body.hv-has-premium-header section#main-menu,
body.hv-has-premium-header #primary-nav,
body.hv-has-premium-header #Primary_Navbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* 2026-06-20 v2: complete legacy-page navigation with click-controlled accordions. */
.hv-mega-trigger:not(.is-open) .hv-mega-panel,
.hv-menu-trigger:not(.is-open) .hv-menu-panel,
.hv-account-trigger:not(.is-open) .hv-account-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.985) !important;
}

.hv-mega-trigger.is-open .hv-mega-panel,
.hv-menu-trigger.is-open .hv-menu-panel,
.hv-account-trigger.is-open .hv-account-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.hv-account-panel {
    width: min(350px, calc(100vw - 32px));
    min-width: min(350px, calc(100vw - 32px));
    padding: 12px;
}

.hv-account-panel__intro {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #081a33, #155bd7);
}

.hv-account-panel__intro strong {
    font-size: 0.96rem;
    letter-spacing: -0.015em;
}

.hv-account-panel__intro span {
    color: rgba(255,255,255,0.78);
    font-size: 0.78rem;
    line-height: 1.4;
}

.hv-account-group {
    overflow: hidden;
    border: 1px solid rgba(31,111,235,0.11);
    border-radius: 16px;
    background: rgba(31,111,235,0.035);
}

.hv-account-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 0;
    border-radius: 0;
    color: var(--hv-ink);
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 950;
    text-align: left;
    cursor: pointer;
}

.hv-account-group__toggle:hover,
.hv-account-group__toggle:focus {
    color: var(--hv-blue);
    background: rgba(31,111,235,0.08);
    outline: none;
}

.hv-account-group__caret {
    color: var(--hv-blue);
    transition: transform 160ms ease;
}

.hv-account-group.is-open .hv-account-group__caret {
    transform: rotate(180deg);
}

.hv-account-group__links {
    display: grid;
    gap: 6px;
    padding: 0 8px 8px;
}

.hv-account-group__links[hidden] {
    display: none !important;
}

.hv-account-panel__footer {
    padding-top: 6px;
    border-top: 1px solid rgba(16,32,51,0.09);
}

.hv-account-panel__footer .hv-menu-link {
    color: #9b1c31 !important;
    background: rgba(155,28,49,0.06);
}

.hv-account-panel__footer .hv-menu-link:hover,
.hv-account-panel__footer .hv-menu-link:focus {
    color: #7a1023 !important;
    background: rgba(155,28,49,0.12);
}

.hv-account-panel__footer .hv-menu-link__icon {
    color: #9b1c31;
    background: rgba(155,28,49,0.10);
}

.hv-mobile-menu-section:not([open]) .hv-mobile-menu-section__links {
    display: none;
}

.hv-mobile-menu-section[open] .hv-mobile-menu-section__links {
    display: grid;
}

@media (min-width: 1221px) and (max-width: 1380px) {
    .hv-store-header--futuristic .hv-premium-header__inner {
        width: calc(100% - 24px);
        gap: 12px;
    }

    .hv-store-header--futuristic .hv-premium-nav {
        gap: 4px;
        padding: 6px;
    }

    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-menu-button {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 0.86rem;
    }
}

/**
 * v2026.06.20 Home page premium UI
 * Enhances the WHMCS portal home while preserving database-driven links/content.
 */
body.hv-home-enhanced #main-body,
body.hv-home-enhanced .main-content {
    overflow: hidden;
}

body.hv-home-enhanced #main-body > .container,
body.hv-home-enhanced .main-content > .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
}

.hv-home-original-hidden {
    display: none !important;
}

.hv-home-page {
    display: grid;
    gap: clamp(22px, 3vw, 34px);
    margin: clamp(18px, 3vw, 36px) auto 48px;
}

.hv-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
    gap: clamp(20px, 4vw, 44px);
    align-items: stretch;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: clamp(26px, 4vw, 38px);
    background:
        radial-gradient(circle at 16% 18%, rgba(56,213,255,0.24), transparent 22rem),
        radial-gradient(circle at 92% 12%, rgba(198,255,95,0.20), transparent 22rem),
        linear-gradient(135deg, #081a33 0%, #102a4f 52%, #1f6feb 100%);
    box-shadow: 0 34px 96px rgba(8,26,51,0.18);
    color: #fff;
}

.hv-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 16%, rgba(255,255,255,0.10) 44%, transparent 74%),
        radial-gradient(circle at 80% 88%, rgba(124,247,212,0.20), transparent 18rem);
    pointer-events: none;
}

.hv-home-hero__copy,
.hv-home-hero__panel {
    position: relative;
    z-index: 1;
}

.hv-home-eyebrow,
.hv-home-section__head span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.hv-home-eyebrow {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.88);
}

.hv-home-hero h1 {
    max-width: 820px;
    margin: 16px 0 14px;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    font-weight: 950;
    line-height: 0.92;
    letter-spacing: -0.085em;
}

.hv-home-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.55vw, 1.25rem);
    line-height: 1.7;
}

.hv-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hv-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hv-home-btn:hover,
.hv-home-btn:focus {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
    box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

.hv-home-btn--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--hv-blue), var(--hv-cyan));
}

.hv-home-btn--primary:hover,
.hv-home-btn--primary:focus {
    background: linear-gradient(135deg, #2c7dff, #43defd);
}

.hv-home-hero__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hv-home-hero__panel strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.hv-home-hero__panel span {
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
}

.hv-home-hero__panel ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.hv-home-hero__panel li {
    position: relative;
    padding-left: 28px;
    color: rgba(255,255,255,0.86);
    font-weight: 800;
}

.hv-home-hero__panel li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hv-cyan);
    font-weight: 950;
}

.hv-home-section,
.hv-home-toolbox {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid rgba(16,32,51,0.09);
    border-radius: 30px;
    background: rgba(255,255,255,0.74);
    box-shadow: 0 22px 70px rgba(8,26,51,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hv-home-section__head {
    max-width: 760px;
    margin-bottom: 20px;
}

.hv-home-section__head span {
    background: rgba(31,111,235,0.10);
    color: var(--hv-blue);
}

.hv-home-section__head h2 {
    margin: 12px 0 8px;
    color: var(--hv-navy);
    font-size: clamp(1.72rem, 3vw, 3rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.065em;
}

.hv-home-section__head p {
    margin: 0;
    color: var(--hv-muted);
    line-height: 1.65;
}

.hv-home-section__head--small {
    margin-bottom: 16px;
}

.hv-home-section__head--small h2 {
    font-size: clamp(1.38rem, 2vw, 2rem);
}

.hv-home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hv-home-product-card,
.hv-home-tool-card {
    position: relative;
    display: grid;
    min-width: 0;
    border: 1px solid rgba(16,32,51,0.09);
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    color: var(--hv-ink) !important;
    text-decoration: none !important;
    box-shadow: 0 14px 42px rgba(8,26,51,0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hv-home-product-card {
    grid-template-rows: auto auto 1fr auto;
    min-height: 260px;
    padding: 22px;
}

.hv-home-product-card:hover,
.hv-home-product-card:focus,
.hv-home-tool-card:hover,
.hv-home-tool-card:focus {
    transform: translateY(-3px);
    border-color: rgba(31,111,235,0.22);
    box-shadow: 0 24px 64px rgba(8,26,51,0.13);
}

.hv-home-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--hv-navy), var(--hv-blue));
    color: #fff;
    font-weight: 950;
    box-shadow: 0 14px 34px rgba(31,111,235,0.18);
}

.hv-home-product-card strong,
.hv-home-tool-card strong {
    display: block;
    color: var(--hv-navy);
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.hv-home-product-card > span:not(.hv-home-card__icon),
.hv-home-tool-card > span:not(.hv-home-card__icon) {
    display: block;
    margin-top: 10px;
    color: var(--hv-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.hv-home-product-card em,
.hv-home-tool-card em {
    align-self: end;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 18px;
    padding: 0 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31,111,235,0.12), rgba(56,213,255,0.14));
    color: var(--hv-blue);
    font-style: normal;
    font-weight: 900;
}

.hv-home-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hv-home-toolbox {
    min-width: 0;
}

.hv-home-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hv-home-tool-card {
    min-height: 180px;
    padding: 18px;
}

.hv-home-tool-card .hv-home-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 14px;
}

@media (max-width: 991px) {
    .hv-home-hero,
    .hv-home-split {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    body.hv-home-enhanced #main-body > .container,
    body.hv-home-enhanced .main-content > .container {
        width: min(100% - 22px, 1180px);
    }

    .hv-home-page {
        margin-top: 14px;
    }

    .hv-home-hero,
    .hv-home-section,
    .hv-home-toolbox {
        border-radius: 24px;
    }

    .hv-home-hero {
        padding: 24px;
    }

    .hv-home-actions {
        flex-direction: column;
    }

    .hv-home-btn {
        width: 100%;
    }

    .hv-home-product-grid,
    .hv-home-tool-grid {
        grid-template-columns: 1fr;
    }

    .hv-home-product-card {
        min-height: 0;
    }
}


/* 2026-06-21 v25: desktop-only premium navigation polish.
   Keeps tablet/mobile breakpoints untouched while normalizing desktop spacing,
   dropdown alignment, and the service/billing/support panel animation. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-header__inner {
        width: min(1360px, calc(100% - 44px));
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 14px;
        min-height: 84px;
    }

    .hv-store-header--futuristic .hv-premium-brand {
        padding: 8px 13px 8px 8px;
        border-radius: 24px;
    }

    .hv-store-header--futuristic .hv-premium-brand__mark {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }

    .hv-store-header--futuristic .hv-premium-brand__mark img {
        width: 40px;
        height: 40px;
    }

    .hv-store-header--futuristic .hv-premium-brand__name {
        font-size: clamp(1.12rem, 1.25vw, 1.34rem);
        white-space: nowrap;
    }

    .hv-store-header--futuristic .hv-premium-brand__tag {
        white-space: nowrap;
    }

    .hv-store-header--futuristic .hv-premium-nav {
        justify-self: center;
        max-width: 100%;
        gap: 4px;
        padding: 6px;
        white-space: nowrap;
    }

    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-button {
        min-height: 44px;
        padding: 0 12px;
        gap: 6px;
        line-height: 1;
    }

    .hv-store-header--futuristic .hv-nav-icon {
        width: 22px;
        height: 22px;
        margin-right: 4px;
        font-size: 0.70rem;
    }

    .hv-mega-caret,
    .hv-menu-caret {
        margin-left: 4px;
    }

    .hv-store-header--futuristic .hv-premium-actions {
        gap: 8px;
        justify-self: end;
        white-space: nowrap;
    }

    .hv-store-header--futuristic .hv-premium-action {
        min-height: 44px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .hv-store-header--futuristic .hv-mega-panel {
        top: calc(100% + 12px);
        width: min(720px, calc(100vw - 44px));
        border-radius: 26px;
        transform: translate(-50%, 8px) scale(0.985);
        transition: opacity 190ms ease, transform 190ms ease, visibility 190ms ease;
    }

    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel {
        transform: translate(-50%, 0) scale(1);
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel {
        top: calc(100% + 12px);
        left: 50%;
        right: auto;
        min-width: 286px;
        max-width: min(340px, calc(100vw - 44px));
        padding: 12px;
        border-radius: 24px;
        overflow: visible;
        transform: translate(-50%, 8px) scale(0.985);
        transition: opacity 190ms ease, transform 190ms ease, visibility 190ms ease;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 50%;
        width: 16px;
        height: 16px;
        background: rgba(255,255,255,0.98);
        border-left: 1px solid rgba(31,111,235,0.14);
        border-top: 1px solid rgba(31,111,235,0.14);
        transform: translateX(-50%) rotate(45deg);
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel {
        transform: translate(-50%, 0) scale(1);
    }

    .hv-store-header--futuristic .hv-menu-link {
        min-height: 48px;
        padding: 9px 11px !important;
        border: 1px solid rgba(16,32,51,0.06);
        background: rgba(31,111,235,0.045);
    }

    .hv-store-header--futuristic .hv-menu-link:hover,
    .hv-store-header--futuristic .hv-menu-link:focus {
        transform: translateY(-1px);
        border-color: rgba(31,111,235,0.20);
        background: #fff;
        box-shadow: 0 12px 26px rgba(8,26,51,0.09);
    }
}


/* 2026-06-21 v26: desktop-only product dropdown + caret alignment fix.
   Scope is intentionally limited to desktop widths so tablet/mobile remain untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-button,
    .hv-store-header--futuristic .hv-premium-action,
    .hv-store-header--futuristic .hv-account-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        line-height: 1 !important;
        vertical-align: middle;
    }

    .hv-store-header--futuristic .hv-premium-nav > a > span,
    .hv-store-header--futuristic .hv-mega-button > span,
    .hv-store-header--futuristic .hv-menu-button > span,
    .hv-store-header--futuristic .hv-premium-action > span,
    .hv-store-header--futuristic .hv-account-button > span {
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    .hv-store-header--futuristic .hv-nav-icon {
        flex: 0 0 22px;
        margin-right: 0 !important;
        line-height: 1;
    }

    .hv-store-header--futuristic .hv-mega-caret,
    .hv-store-header--futuristic .hv-menu-caret,
    .hv-store-header--futuristic .hv-account-group__caret {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        margin-left: 2px !important;
        font-size: 0.86rem;
        line-height: 1;
        transform: translateY(1px);
    }

    .hv-store-header--futuristic .hv-account-group.is-open .hv-account-group__caret {
        transform: translateY(1px) rotate(180deg);
    }

    .hv-store-header--futuristic .hv-mega-panel {
        top: calc(100% + 11px);
        width: min(640px, calc(100vw - 52px));
        padding: 14px;
        border-radius: 24px;
        transform-origin: top center;
        transform: translate(-50%, 8px) scale(0.985);
    }

    .hv-store-header--futuristic .hv-mega-panel__intro {
        margin-bottom: 10px;
        padding: 12px 14px;
        border-radius: 18px;
    }

    .hv-store-header--futuristic .hv-mega-panel__intro strong {
        font-size: 0.96rem;
    }

    .hv-store-header--futuristic .hv-mega-panel__intro span {
        font-size: 0.80rem;
        line-height: 1.35;
    }

    .hv-store-header--futuristic .hv-mega-panel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hv-store-header--futuristic .hv-mega-link {
        grid-template-columns: 34px 1fr;
        gap: 10px;
        min-height: 62px;
        padding: 9px 10px;
        border-radius: 16px;
    }

    .hv-store-header--futuristic .hv-mega-link__icon {
        width: 34px;
        height: 34px;
        border-radius: 13px;
        font-size: 0.75rem;
    }

    .hv-store-header--futuristic .hv-mega-link strong {
        font-size: 0.88rem;
        line-height: 1.15;
    }

    .hv-store-header--futuristic .hv-mega-link small {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel {
        transform: translate(-50%, 0) scale(1);
    }
}

/* 2026-06-21 v27: desktop-only hard alignment pass for nav icons, carets, and Products mega menu rows.
   This intentionally affects desktop only and leaves tablet/mobile breakpoints untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-nav,
    .hv-store-header--futuristic .hv-premium-actions {
        align-items: center !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-button,
    .hv-store-header--futuristic .hv-premium-action,
    .hv-store-header--futuristic .hv-account-button {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-height: 46px !important;
        height: 46px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        vertical-align: middle !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a > *,
    .hv-store-header--futuristic .hv-mega-button > *,
    .hv-store-header--futuristic .hv-menu-button > *,
    .hv-store-header--futuristic .hv-premium-action > *,
    .hv-store-header--futuristic .hv-account-button > * {
        align-self: center !important;
    }

    .hv-store-header--futuristic .hv-nav-icon,
    .hv-store-header--futuristic .hv-menu-link__icon,
    .hv-store-header--futuristic .hv-mega-link__icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }

    .hv-store-header--futuristic .hv-nav-icon {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.70rem !important;
        transform: none !important;
        position: relative !important;
        top: 0 !important;
    }

    .hv-store-header--futuristic .hv-mega-caret,
    .hv-store-header--futuristic .hv-menu-caret,
    .hv-store-header--futuristic .hv-account-group__caret,
    .hv-store-header--futuristic .hv-account-button .hv-menu-caret,
    .hv-store-header--futuristic .hv-account-button .hv-account-group__caret {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 12px !important;
        width: 12px !important;
        height: 12px !important;
        margin: 0 0 0 2px !important;
        padding: 0 !important;
        line-height: 1 !important;
        font-size: 0.78rem !important;
        vertical-align: middle !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-caret,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-caret,
    .hv-store-header--futuristic .hv-account-group.is-open .hv-account-group__caret {
        transform: rotate(180deg) !important;
    }

    .hv-store-header--futuristic .hv-mega-panel {
        top: calc(100% + 12px) !important;
        left: 50% !important;
        right: auto !important;
        width: 680px !important;
        max-width: calc(100vw - 56px) !important;
        padding: 16px !important;
        border-radius: 26px !important;
        transform-origin: top center !important;
        transform: translate(-50%, 8px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel {
        transform: translate(-50%, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-mega-panel::before {
        left: 50% !important;
        transform: translateX(-50%) rotate(45deg) !important;
    }

    .hv-store-header--futuristic .hv-mega-panel__intro {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 74px !important;
        margin: 0 0 12px 0 !important;
        padding: 14px 18px !important;
        border-radius: 20px !important;
    }

    .hv-store-header--futuristic .hv-mega-panel__grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 68px !important;
        gap: 10px 12px !important;
        align-items: stretch !important;
    }

    .hv-store-header--futuristic .hv-mega-link {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 11px !important;
        height: 68px !important;
        min-height: 68px !important;
        max-height: 68px !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .hv-store-header--futuristic .hv-mega-link__icon {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        margin: 0 !important;
        border-radius: 13px !important;
        font-size: 0.72rem !important;
        position: relative !important;
        top: 0 !important;
    }

    .hv-store-header--futuristic .hv-mega-link__body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        gap: 3px !important;
        line-height: 1.15 !important;
    }

    .hv-store-header--futuristic .hv-mega-link strong,
    .hv-store-header--futuristic .hv-mega-link small {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.18 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hv-store-header--futuristic .hv-mega-link strong {
        font-size: 0.88rem !important;
    }

    .hv-store-header--futuristic .hv-mega-link small {
        font-size: 0.72rem !important;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel {
        top: calc(100% + 12px) !important;
    }

    .hv-store-header--futuristic .hv-menu-link {
        display: grid !important;
        grid-template-columns: 30px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 46px !important;
        height: 46px !important;
        margin: 0 !important;
    }

    .hv-store-header--futuristic .hv-menu-link__icon {
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        margin: 0 !important;
        position: relative !important;
        top: 0 !important;
    }
}

/* 2026-06-21 v28: desktop-only premium nav reset.
   Removes top-level dropdown carets, normalizes icon/text baselines, and locks Products mega menu rows to a clean two-column grid.
   Scope intentionally starts above the tablet breakpoint so mobile and iPad layouts remain untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-header__inner {
        align-items: center !important;
    }

    .hv-store-header--futuristic .hv-premium-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        padding: 7px !important;
        overflow: visible !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-button,
    .hv-store-header--futuristic .hv-premium-action,
    .hv-store-header--futuristic .hv-account-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        transition:
            transform 180ms ease,
            background 180ms ease,
            color 180ms ease,
            box-shadow 180ms ease,
            border-color 180ms ease !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a,
    .hv-store-header--futuristic .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-button {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Remove top-level carets entirely for a cleaner premium desktop nav. */
    .hv-store-header--futuristic .hv-mega-button > .hv-mega-caret,
    .hv-store-header--futuristic .hv-menu-button > .hv-menu-caret,
    .hv-store-header--futuristic .hv-account-button > .hv-menu-caret,
    .hv-store-header--futuristic .hv-account-button > .hv-account-group__caret {
        display: none !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a > span:not(.hv-nav-icon),
    .hv-store-header--futuristic .hv-mega-button > span:not(.hv-nav-icon):not(.hv-mega-caret),
    .hv-store-header--futuristic .hv-menu-button > span:not(.hv-nav-icon):not(.hv-menu-caret),
    .hv-store-header--futuristic .hv-premium-action > span:not(.hv-action-icon),
    .hv-store-header--futuristic .hv-account-button > span:not(.hv-action-icon):not(.hv-menu-caret):not(.hv-account-group__caret) {
        display: inline-flex !important;
        align-items: center !important;
        height: 1em !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
    }

    .hv-store-header--futuristic .hv-nav-icon,
    .hv-store-header--futuristic .hv-action-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        vertical-align: middle !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
    }

    .hv-store-header--futuristic .hv-nav-icon {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
        font-size: 0.72rem !important;
    }

    .hv-store-header--futuristic .hv-premium-nav > a:hover,
    .hv-store-header--futuristic .hv-premium-nav > a:focus,
    .hv-store-header--futuristic .hv-premium-nav > a.is-active,
    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-button,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-button,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-button,
    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-button,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-button,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-button,
    .hv-store-header--futuristic .hv-menu-button.is-active,
    .hv-store-header--futuristic .hv-mega-button.is-active {
        transform: translateY(-1px) !important;
        box-shadow: 0 14px 32px rgba(31,111,235,0.24) !important;
    }

    /* Products mega menu: clean, centered, non-staggered desktop grid. */
    .hv-store-header--futuristic .hv-mega-panel {
        width: 720px !important;
        max-width: calc(100vw - 64px) !important;
        top: calc(100% + 12px) !important;
        left: 50% !important;
        right: auto !important;
        padding: 18px !important;
        border-radius: 28px !important;
        transform-origin: top center !important;
        transform: translate(-50%, 10px) scale(0.985) !important;
        transition: opacity 190ms ease, transform 190ms ease, visibility 190ms ease !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel {
        transform: translate(-50%, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-mega-panel__intro {
        min-height: 74px !important;
        margin: 0 0 14px 0 !important;
        padding: 15px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .hv-store-header--futuristic .hv-mega-panel__grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 72px !important;
        gap: 10px !important;
        align-items: stretch !important;
        justify-items: stretch !important;
    }

    .hv-store-header--futuristic .hv-mega-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 10px 14px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .hv-store-header--futuristic .hv-mega-link:hover,
    .hv-store-header--futuristic .hv-mega-link:focus {
        transform: translateY(-1px) !important;
        box-shadow: 0 14px 30px rgba(8,26,51,0.10) !important;
    }

    .hv-store-header--futuristic .hv-mega-link__icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex: 0 0 38px !important;
        margin: 0 !important;
        line-height: 1 !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
    }

    .hv-store-header--futuristic .hv-mega-link__body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        min-width: 0 !important;
        height: 48px !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.1 !important;
    }

    .hv-store-header--futuristic .hv-mega-link strong,
    .hv-store-header--futuristic .hv-mega-link small {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.14 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hv-store-header--futuristic .hv-mega-link strong {
        font-size: 0.90rem !important;
        font-weight: 950 !important;
    }

    .hv-store-header--futuristic .hv-mega-link small {
        font-size: 0.73rem !important;
    }

    /* Services/Billing/Support dropdowns inherit the same premium motion and clean top alignment. */
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel {
        top: calc(100% + 12px) !important;
        border-radius: 22px !important;
        transform: translateY(10px) scale(0.985) !important;
        transition: opacity 190ms ease, transform 190ms ease, visibility 190ms ease !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel {
        transform: translateY(0) scale(1) !important;
    }
}


/* 2026-06-21 v29: desktop-only hover-open dropdown behavior.
   Keeps the v28 premium nav reset, but lets desktop users open Products, Services, Billing, Support, and My Account by hover.
   Mobile and tablet layouts remain untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-mega-trigger,
    .hv-store-header--futuristic .hv-menu-trigger,
    .hv-store-header--futuristic .hv-account-trigger {
        position: relative !important;
    }

    /* Invisible hover bridge so the menu stays open while moving from the pill to the panel. */
    .hv-store-header--futuristic .hv-mega-trigger::after,
    .hv-store-header--futuristic .hv-menu-trigger::after,
    .hv-store-header--futuristic .hv-account-trigger::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        height: 18px !important;
        display: block !important;
        pointer-events: auto !important;
        background: transparent !important;
        z-index: 10002 !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-account-trigger:hover .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-mega-panel,
    .hv-store-header--futuristic .hv-menu-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-account-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}


/* 2026-06-21 v30: desktop-only right-edge dropdown direction match.
   Makes Services, Billing, Support, and My Account open in the same premium right-side direction as Products.
   Keeps v28 premium nav reset, v29 hover-open behavior, and leaves mobile/tablet untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-panel {
        left: auto !important;
        right: 0 !important;
        transform-origin: top right !important;
        transform: translate(14px, 8px) scale(0.985) !important;
        transition: opacity 190ms ease, transform 190ms ease, visibility 190ms ease !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:hover .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(0, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-account-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(14px, 8px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel::before,
    .hv-store-header--futuristic .hv-account-panel::before {
        left: auto !important;
        right: 30px !important;
        transform: rotate(45deg) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger::after,
    .hv-store-header--futuristic .hv-account-trigger::after {
        left: auto !important;
        right: 0 !important;
        width: max(100%, 320px) !important;
    }
}


/* 2026-06-21 v31: desktop-only premium home tile upgrade.
   Improves the portal-home category/support/account tiles so they visually match the hero.
   Scope is intentionally desktop-only; tablet and mobile home-card layout remains untouched. */
@media (min-width: 1221px) {
    body.hv-home-enhanced .hv-home-section,
    body.hv-home-enhanced .hv-home-toolbox {
        position: relative !important;
        overflow: hidden !important;
        border-color: rgba(31, 111, 235, 0.10) !important;
        background:
            radial-gradient(circle at 10% 0%, rgba(56, 213, 255, 0.12), transparent 18rem),
            radial-gradient(circle at 92% 12%, rgba(31, 111, 235, 0.08), transparent 20rem),
            rgba(255, 255, 255, 0.80) !important;
        box-shadow: 0 26px 86px rgba(8, 26, 51, 0.12) !important;
    }

    body.hv-home-enhanced .hv-home-product-grid {
        gap: 18px !important;
        align-items: stretch !important;
    }

    body.hv-home-enhanced .hv-home-tool-grid {
        gap: 14px !important;
        align-items: stretch !important;
    }

    body.hv-home-enhanced .hv-home-product-card,
    body.hv-home-enhanced .hv-home-tool-card {
        isolation: isolate !important;
        overflow: hidden !important;
        align-content: start !important;
        border: 1px solid rgba(31, 111, 235, 0.12) !important;
        background:
            linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(245,249,255,0.94) 58%, rgba(235,244,255,0.90) 100%) !important;
        box-shadow:
            0 20px 54px rgba(8, 26, 51, 0.10),
            inset 0 1px 0 rgba(255,255,255,0.82) !important;
        transition:
            transform 200ms ease,
            box-shadow 200ms ease,
            border-color 200ms ease,
            background 200ms ease !important;
    }

    body.hv-home-enhanced .hv-home-product-card {
        min-height: 268px !important;
        padding: 26px !important;
        grid-template-rows: auto auto 1fr auto !important;
    }

    body.hv-home-enhanced .hv-home-tool-card {
        min-height: 184px !important;
        padding: 22px !important;
        grid-template-rows: auto auto 1fr auto !important;
    }

    body.hv-home-enhanced .hv-home-product-card::before,
    body.hv-home-enhanced .hv-home-tool-card::before {
        content: "" !important;
        position: absolute !important;
        z-index: -1 !important;
        inset: -1px !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(31, 111, 235, 0.16), transparent 13rem),
            radial-gradient(circle at 0% 100%, rgba(56, 213, 255, 0.12), transparent 12rem) !important;
        opacity: 0.72 !important;
        pointer-events: none !important;
    }

    body.hv-home-enhanced .hv-home-product-card::after,
    body.hv-home-enhanced .hv-home-tool-card::after {
        content: "" !important;
        position: absolute !important;
        right: -42px !important;
        top: -42px !important;
        width: 118px !important;
        height: 118px !important;
        border-radius: 999px !important;
        background: rgba(31, 111, 235, 0.075) !important;
        pointer-events: none !important;
    }

    body.hv-home-enhanced .hv-home-product-card:hover,
    body.hv-home-enhanced .hv-home-product-card:focus,
    body.hv-home-enhanced .hv-home-tool-card:hover,
    body.hv-home-enhanced .hv-home-tool-card:focus {
        transform: translateY(-5px) !important;
        border-color: rgba(31, 111, 235, 0.28) !important;
        background:
            linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(245,250,255,0.98) 54%, rgba(230,242,255,0.96) 100%) !important;
        box-shadow:
            0 30px 78px rgba(8, 26, 51, 0.16),
            inset 0 1px 0 rgba(255,255,255,0.92) !important;
    }

    body.hv-home-enhanced .hv-home-card__icon {
        position: relative !important;
        width: 56px !important;
        height: 56px !important;
        margin-bottom: 18px !important;
        border-radius: 18px !important;
        background:
            radial-gradient(circle at 30% 22%, rgba(255,255,255,0.36), transparent 32%),
            linear-gradient(135deg, #102a4f 0%, #1f6feb 62%, #38d5ff 100%) !important;
        color: #ffffff !important;
        box-shadow:
            0 18px 42px rgba(31, 111, 235, 0.25),
            inset 0 1px 0 rgba(255,255,255,0.24) !important;
    }

    body.hv-home-enhanced .hv-home-tool-card .hv-home-card__icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 17px !important;
        margin-bottom: 15px !important;
    }

    body.hv-home-enhanced .hv-home-product-card strong,
    body.hv-home-enhanced .hv-home-tool-card strong {
        position: relative !important;
        z-index: 1 !important;
        color: var(--hv-navy) !important;
        font-weight: 950 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.052em !important;
    }

    body.hv-home-enhanced .hv-home-product-card strong {
        font-size: 1.14rem !important;
    }

    body.hv-home-enhanced .hv-home-tool-card strong {
        font-size: 1.02rem !important;
    }

    body.hv-home-enhanced .hv-home-product-card strong::before,
    body.hv-home-enhanced .hv-home-tool-card strong::before {
        display: block !important;
        width: fit-content !important;
        margin: 0 0 8px 0 !important;
        padding: 6px 9px !important;
        border-radius: 999px !important;
        background: rgba(31, 111, 235, 0.09) !important;
        color: var(--hv-blue) !important;
        font-size: 0.61rem !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        letter-spacing: 0.10em !important;
        text-transform: uppercase !important;
    }

    body.hv-home-enhanced .hv-home-product-card strong::before {
        content: "Service Category" !important;
    }

    body.hv-home-enhanced .hv-home-split .hv-home-toolbox:first-child .hv-home-tool-card strong::before {
        content: "Support Tool" !important;
    }

    body.hv-home-enhanced .hv-home-split .hv-home-toolbox:last-child .hv-home-tool-card strong::before {
        content: "Account Tool" !important;
    }

    body.hv-home-enhanced .hv-home-product-card > span:not(.hv-home-card__icon),
    body.hv-home-enhanced .hv-home-tool-card > span:not(.hv-home-card__icon) {
        position: relative !important;
        z-index: 1 !important;
        max-width: 94% !important;
        margin-top: 12px !important;
        color: rgba(16, 32, 51, 0.66) !important;
        line-height: 1.62 !important;
    }

    body.hv-home-enhanced .hv-home-product-card em,
    body.hv-home-enhanced .hv-home-tool-card em {
        position: relative !important;
        z-index: 1 !important;
        gap: 8px !important;
        min-height: 42px !important;
        margin-top: 20px !important;
        padding: 0 17px !important;
        border: 1px solid rgba(31, 111, 235, 0.12) !important;
        background:
            linear-gradient(135deg, rgba(31,111,235,0.12), rgba(56,213,255,0.15)) !important;
        color: var(--hv-blue) !important;
        box-shadow: 0 10px 26px rgba(31, 111, 235, 0.10) !important;
        transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease !important;
    }

    body.hv-home-enhanced .hv-home-product-card em::after,
    body.hv-home-enhanced .hv-home-tool-card em::after {
        content: "→" !important;
        display: inline-block !important;
        font-weight: 950 !important;
        transform: translateX(0) !important;
        transition: transform 180ms ease !important;
    }

    body.hv-home-enhanced .hv-home-product-card:hover em,
    body.hv-home-enhanced .hv-home-product-card:focus em,
    body.hv-home-enhanced .hv-home-tool-card:hover em,
    body.hv-home-enhanced .hv-home-tool-card:focus em {
        background: linear-gradient(135deg, var(--hv-blue), var(--hv-cyan)) !important;
        color: #ffffff !important;
        box-shadow: 0 14px 34px rgba(31, 111, 235, 0.20) !important;
    }

    body.hv-home-enhanced .hv-home-product-card:hover em::after,
    body.hv-home-enhanced .hv-home-product-card:focus em::after,
    body.hv-home-enhanced .hv-home-tool-card:hover em::after,
    body.hv-home-enhanced .hv-home-tool-card:focus em::after {
        transform: translateX(3px) !important;
    }
}


/* 2026-06-21 v32: desktop-only dropdown hover bridge hardening.
   Keeps Services, Billing, Support, and My Account open while moving from the nav pill into the dropdown panel.
   Products behavior, right-edge animation, mobile, and tablet are preserved. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-panel {
        top: calc(100% + 6px) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger::after,
    .hv-store-header--futuristic .hv-account-trigger::after {
        content: "" !important;
        position: absolute !important;
        top: calc(100% - 2px) !important;
        left: auto !important;
        right: -18px !important;
        width: max(calc(100% + 36px), 370px) !important;
        height: 40px !important;
        display: block !important;
        background: transparent !important;
        pointer-events: auto !important;
        z-index: 10003 !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger::after {
        top: calc(100% - 2px) !important;
        height: 42px !important;
        z-index: 10002 !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:hover .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(0, 0) scale(1) !important;
    }
}

/* 2026-06-21 v33: desktop-only dropdown hover tuning.
   Restores Products hover reliability after v32 and tightens Services/Billing/Support/My Account panel behavior.
   Tablet and mobile breakpoints remain untouched. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-mega-trigger,
    .hv-store-header--futuristic .hv-menu-trigger,
    .hv-store-header--futuristic .hv-account-trigger {
        position: relative !important;
        overflow: visible !important;
    }

    /* Reduce the physical gap for every desktop dropdown so the cursor does not fall through. */
    .hv-store-header--futuristic .hv-mega-panel,
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-panel {
        top: calc(100% + 6px) !important;
        pointer-events: auto !important;
    }

    /* Products has a wide centered mega panel, so its hover bridge must cover the panel width, not just the nav pill. */
    .hv-store-header--futuristic .hv-mega-trigger::after {
        content: "" !important;
        position: absolute !important;
        top: calc(100% - 4px) !important;
        left: 50% !important;
        right: auto !important;
        width: min(760px, calc(100vw - 64px)) !important;
        height: 56px !important;
        display: block !important;
        background: transparent !important;
        pointer-events: auto !important;
        transform: translateX(-50%) !important;
        z-index: 10003 !important;
    }

    /* Standard dropdowns open from the right edge and need a wider bridge because the panel slides in from the right. */
    .hv-store-header--futuristic .hv-menu-trigger::after,
    .hv-store-header--futuristic .hv-account-trigger::after {
        content: "" !important;
        position: absolute !important;
        top: calc(100% - 4px) !important;
        left: auto !important;
        right: -22px !important;
        width: max(calc(100% + 44px), 390px) !important;
        height: 56px !important;
        display: block !important;
        background: transparent !important;
        pointer-events: auto !important;
        transform: none !important;
        z-index: 10003 !important;
    }

    /* Products: keep the same premium animation, but use the tighter top offset and stronger open state. */
    .hv-store-header--futuristic .hv-mega-panel {
        transform: translate(-50%, 8px) scale(0.985) !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-mega-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(-50%, 8px) scale(0.985) !important;
    }

    /* Services/Billing/Support: tune width, row rhythm, and right-edge motion so the panels feel deliberate. */
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel {
        right: 0 !important;
        left: auto !important;
        min-width: 310px !important;
        width: max-content !important;
        max-width: min(370px, calc(100vw - 44px)) !important;
        padding: 12px !important;
        border-radius: 22px !important;
        transform-origin: top right !important;
        transform: translate(10px, 8px) scale(0.985) !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(0, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-menu-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(10px, 8px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-menu-link {
        display: grid !important;
        grid-template-columns: 31px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 11px !important;
        width: 100% !important;
        min-height: 50px !important;
        height: auto !important;
        padding: 10px 12px !important;
        margin: 0 0 6px 0 !important;
        border-radius: 16px !important;
        line-height: 1.2 !important;
    }

    .hv-store-header--futuristic .hv-menu-link:last-child {
        margin-bottom: 0 !important;
    }

    .hv-store-header--futuristic .hv-menu-link__icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        flex: 0 0 30px !important;
        align-self: center !important;
    }

    .hv-store-header--futuristic .hv-menu-link span:not(.hv-menu-link__icon),
    .hv-store-header--futuristic .hv-menu-link strong,
    .hv-store-header--futuristic .hv-menu-link small {
        min-width: 0 !important;
        line-height: 1.18 !important;
    }

    /* Account panel gets the same bridge and right-edge stability without changing the internal account groups. */
    .hv-store-header--futuristic .hv-account-panel {
        right: 0 !important;
        left: auto !important;
        transform-origin: top right !important;
        transform: translate(10px, 8px) scale(0.985) !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    }

    .hv-store-header--futuristic .hv-account-trigger:hover .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(0, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-account-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-account-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(10px, 8px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel::before,
    .hv-store-header--futuristic .hv-account-panel::before {
        left: auto !important;
        right: 30px !important;
        transform: rotate(45deg) !important;
    }
}

/* 2026-06-21 v34: desktop dropdown stability reset.
   Removes the wide invisible hover bridges from v32/v33 and uses JS hover-intent instead.
   Keeps the premium desktop nav, right-edge dropdown motion, and v31 home tile styling. */
@media (min-width: 1221px) {
    .hv-store-header--futuristic .hv-mega-trigger::after,
    .hv-store-header--futuristic .hv-menu-trigger::after,
    .hv-store-header--futuristic .hv-account-trigger::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger,
    .hv-store-header--futuristic .hv-menu-trigger,
    .hv-store-header--futuristic .hv-account-trigger {
        position: relative !important;
        overflow: visible !important;
    }

    .hv-store-header--futuristic .hv-mega-panel,
    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-panel {
        top: calc(100% + 8px) !important;
        pointer-events: auto !important;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease !important;
    }

    .hv-store-header--futuristic .hv-mega-panel {
        left: 50% !important;
        right: auto !important;
        width: 720px !important;
        max-width: calc(100vw - 64px) !important;
        transform-origin: top center !important;
        transform: translate(-50%, 10px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:hover .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger:focus-within .hv-mega-panel,
    .hv-store-header--futuristic .hv-mega-trigger.is-open .hv-mega-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-mega-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-mega-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(-50%, 10px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-panel {
        left: auto !important;
        right: 0 !important;
        min-width: 300px !important;
        max-width: min(340px, calc(100vw - 44px)) !important;
        padding: 12px !important;
        border-radius: 22px !important;
        transform-origin: top right !important;
        transform: translate(12px, 10px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:hover .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger:focus-within .hv-menu-panel,
    .hv-store-header--futuristic .hv-menu-trigger.is-open .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:hover .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(0, 0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-menu-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-menu-panel,
    .hv-store-header--futuristic .hv-account-trigger:not(:hover):not(:focus-within):not(.is-open) .hv-account-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate(12px, 10px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-menu-link {
        display: grid !important;
        grid-template-columns: 30px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 48px !important;
        height: auto !important;
        margin: 0 0 6px 0 !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
        line-height: 1.18 !important;
    }

    .hv-store-header--futuristic .hv-menu-link:last-child {
        margin-bottom: 0 !important;
    }

    .hv-store-header--futuristic .hv-menu-link__icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        flex: 0 0 30px !important;
        align-self: center !important;
    }

    .hv-store-header--futuristic .hv-premium-nav .hv-menu-panel::before,
    .hv-store-header--futuristic .hv-account-panel::before {
        left: auto !important;
        right: 30px !important;
        transform: rotate(45deg) !important;
    }
}


/*
 * v2026.06.21-v35 Premium hero laminate / holographic overlay
 * Desktop-only visual enhancement. Keeps tablet/mobile hero rendering untouched.
 */
@media (min-width: 1025px) {
    body.hv-home-enhanced .hv-home-hero {
        isolation: isolate;
    }

    body.hv-home-enhanced .hv-home-hero::before {
        z-index: 0;
    }

    body.hv-home-enhanced .hv-home-hero::after {
        content: "";
        position: absolute;
        inset: -2px;
        z-index: 1;
        border-radius: inherit;
        pointer-events: none;
        background:
            linear-gradient(108deg,
                transparent 0%,
                transparent 14%,
                rgba(255,255,255,0.06) 23%,
                rgba(93,213,255,0.22) 34%,
                rgba(202,139,255,0.13) 46%,
                rgba(255,255,255,0.10) 58%,
                transparent 76%,
                transparent 100%),
            radial-gradient(circle at 18% 22%, rgba(255,255,255,0.12), transparent 14rem),
            radial-gradient(circle at 86% 78%, rgba(98,241,214,0.14), transparent 18rem),
            conic-gradient(from 165deg at 62% 48%,
                rgba(255,255,255,0.00),
                rgba(83,216,255,0.08),
                rgba(197,118,255,0.07),
                rgba(123,255,219,0.08),
                rgba(255,255,255,0.00));
        opacity: 0.34;
        mix-blend-mode: screen;
        filter: saturate(1.08);
        transform: translate3d(-7%, 0, 0) skewX(-8deg);
        transition: opacity 240ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
    }

    body.hv-home-enhanced .hv-home-hero:hover::after,
    body.hv-home-enhanced .hv-home-hero:focus-within::after {
        opacity: 0.48;
        transform: translate3d(5%, 0, 0) skewX(-8deg);
    }

    body.hv-home-enhanced .hv-home-hero__copy,
    body.hv-home-enhanced .hv-home-hero__panel {
        z-index: 2;
    }

    body.hv-home-enhanced .hv-home-hero__panel {
        position: relative;
        overflow: hidden;
    }

    body.hv-home-enhanced .hv-home-hero__panel::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        pointer-events: none;
        background:
            linear-gradient(140deg, rgba(255,255,255,0.18), transparent 34%, rgba(88,210,255,0.10) 62%, transparent 100%);
        opacity: 0.46;
        mix-blend-mode: screen;
    }

    body.hv-home-enhanced .hv-home-hero__panel > * {
        position: relative;
        z-index: 1;
    }
}

/* 2026-06-21 v38: mobile account dropdown containment fix.
   Prevents the My Account panel from overflowing off-screen on phones while preserving desktop/iPad behavior. */
@media (max-width: 720px) {
    .hv-store-header--futuristic .hv-account-trigger {
        position: static !important;
        max-width: none !important;
    }

    .hv-store-header--futuristic .hv-account-button {
        max-width: 48vw !important;
        min-width: 0 !important;
    }

    .hv-store-header--futuristic .hv-account-button > span:not(.hv-menu-caret) {
        min-width: 0 !important;
        max-width: 28vw !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .hv-store-header--futuristic .hv-account-panel {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 14px !important;
        right: 14px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: min(72vh, 560px) !important;
        overflow: auto !important;
        padding: 12px !important;
        border-radius: 24px !important;
        transform-origin: top right !important;
        transform: translateY(8px) scale(0.985) !important;
    }

    .hv-store-header--futuristic .hv-account-trigger.is-open .hv-account-panel,
    .hv-store-header--futuristic .hv-account-trigger:focus-within .hv-account-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }

    .hv-store-header--futuristic .hv-account-panel::before {
        left: auto !important;
        right: 72px !important;
    }

    .hv-store-header--futuristic .hv-account-panel__intro {
        padding: 14px 16px !important;
        border-radius: 18px !important;
    }

    .hv-store-header--futuristic .hv-account-group__toggle {
        min-height: 50px !important;
        padding: 0 15px !important;
    }

    .hv-store-header--futuristic .hv-account-panel .hv-menu-link {
        min-height: 48px !important;
        padding: 10px 12px !important;
    }
}
