/* VNDEL 3D layer: subtle depth for desktop pointers only.
   Tilt + parallax are driven by CSS variables set in assets/js/vn-3d.js.
   Remove the <link> in includes/common/overwrites/seo.tpl to disable. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {

    /* ---- cards: perspective tilt with layered depth ---- */
    body.lagom .package-col { perspective: 1100px; }
    body.lagom .package.package-link,
    body.lagom .tile {
        transform-style: preserve-3d;
        transform: rotateX(var(--vn-rx, 0deg)) rotateY(var(--vn-ry, 0deg)) translate3d(0, var(--vn-ty, 0px), 0);
        transition: transform .18s ease-out, box-shadow .35s var(--vn-ease, ease), border-color .35s ease;
        will-change: transform;
    }
    body.lagom .package.package-link:hover,
    body.lagom .tile:hover {
        --vn-ty: -6px;
        transform: rotateX(var(--vn-rx, 0deg)) rotateY(var(--vn-ry, 0deg)) translate3d(0, var(--vn-ty, 0px), 0);
        box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .75), 0 0 0 1px rgba(129, 140, 248, .35);
    }
    body.lagom .package.package-link .package-graphic,
    body.lagom .package.package-link .package-illustration,
    body.lagom .package.package-link img.package-media {
        transform: translateZ(46px);
        transition: transform .3s var(--vn-ease, ease);
    }
    body.lagom .package.package-link .package-title { transform: translateZ(28px); }
    body.lagom .package.package-link .package-actions { transform: translateZ(18px); }
    body.lagom .tile .tile-stat { transform: translateZ(30px); }
    body.lagom .tile .tile-icon-absolute { transform: translateZ(18px); }

    /* ---- hero: illustrations drift opposite to the pointer ---- */
    body.lagom [data-site-banner] .graphic-background-left {
        transform: translate3d(calc(var(--vn-px, 0) * 22px), calc(var(--vn-py, 0) * 12px), 0);
        transition: transform .35s ease-out;
    }
    body.lagom [data-site-banner] .graphic-background-right {
        transform: translate3d(calc(var(--vn-px, 0) * -22px), calc(var(--vn-py, 0) * 12px), 0);
        transition: transform .35s ease-out;
    }
    body.lagom [data-site-banner] .banner-body {
        transform: translate3d(calc(var(--vn-px, 0) * -6px), calc(var(--vn-py, 0) * -4px), 0);
        transition: transform .35s ease-out;
    }
}

/* ==========================================================================
   Hero server rack (pure CSS 3D). Built by vn-3d.js on wide desktop screens
   only; elsewhere the stock hero illustration stays untouched.
   ========================================================================== */
[data-site-banner].vn-rack-on .graphic-background-center { opacity: 0; visibility: hidden; }

.vn-rack {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 420px;
    height: 360px;
    margin-left: -210px;
    pointer-events: none;
    z-index: 3;
    perspective: 1300px;
}
.vn-rack::before {               /* glow on the floor */
    content: "";
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 380px;
    height: 70px;
    margin-left: -190px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, .55) 0%, rgba(99, 102, 241, .18) 45%, transparent 72%);
    filter: blur(6px);
}
.vn-rack-pointer {
    position: absolute;
    left: 50%;
    bottom: 64px;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(calc(var(--vn-py, 0) * -6deg)) rotateY(calc(var(--vn-px, 0) * 16deg));
    transition: transform .3s ease-out;
}
.vn-rack-sway {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: rotateX(-14deg) rotateY(-26deg);
    animation: vnRackSway 11s ease-in-out infinite alternate;
}
@keyframes vnRackSway {
    from { transform: rotateX(-14deg) rotateY(-40deg); }
    to   { transform: rotateX(-14deg) rotateY(-12deg); }
}
.vn-base {
    position: absolute;
    left: -150px;
    top: 0;
    width: 300px;
    height: 220px;
    margin-top: -110px;
    border-radius: 14px;
    transform: rotateX(90deg) translateZ(-1px);
    background: linear-gradient(135deg, rgba(79, 70, 229, .35), rgba(15, 19, 29, .9));
    border: 1px solid rgba(129, 140, 248, .35);
    box-shadow: 0 0 40px rgba(99, 102, 241, .35);
}
.vn-unit {
    position: absolute;
    left: -120px;
    top: -44px;
    width: 240px;
    height: 44px;
    transform-style: preserve-3d;
    transform: translateY(calc(var(--i) * -58px - 12px));
}
.vn-unit .f {
    position: absolute;
    display: block;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(129, 140, 248, .28);
}
.vn-unit .f-front  { width: 240px; height: 44px; transform: translateZ(85px);
    background: linear-gradient(180deg, #252d44 0%, #161c2e 100%); border-radius: 4px; }
.vn-unit .f-back   { width: 240px; height: 44px; transform: rotateY(180deg) translateZ(85px); background: #10141f; }
.vn-unit .f-left   { width: 170px; height: 44px; left: 35px; transform: rotateY(-90deg) translateZ(120px);
    background: linear-gradient(90deg, #121726, #1b2238); }
.vn-unit .f-right  { width: 170px; height: 44px; left: 35px; transform: rotateY(90deg) translateZ(120px);
    background: linear-gradient(90deg, #1b2238, #0f1320); }
.vn-unit .f-top    { width: 240px; height: 170px; top: -63px; transform: rotateX(90deg) translateZ(22px);
    background: linear-gradient(180deg, #2b3552, #1c2440); }
.vn-unit .f-bottom { width: 240px; height: 170px; top: -63px; transform: rotateX(-90deg) translateZ(22px); background: #0b0e16; }

/* front panel details: vents, drive bays, status LEDs */
.vn-unit .bays {
    position: absolute;
    left: 12px;
    top: 10px;
    width: 120px;
    height: 22px;
    border-radius: 3px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 24px, transparent 24px 30px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.vn-unit .bays::after {
    content: "";
    position: absolute;
    right: -62px;
    top: 7px;
    width: 52px;
    height: 8px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, rgba(129, 140, 248, .35) 0 3px, transparent 3px 7px);
}
.vn-unit .led {
    position: absolute;
    top: 19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: vnBlink 2.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * .43s);
}
.vn-unit .l1 { right: 14px; background: #34d399; box-shadow: 0 0 9px #34d399; }
.vn-unit .l2 { right: 28px; background: #818cf8; box-shadow: 0 0 9px #818cf8; animation-duration: 1.7s; }
.vn-unit .l3 { right: 42px; background: #fbbf24; box-shadow: 0 0 9px #fbbf24; animation-duration: 3.1s; }
@keyframes vnBlink {
    0%, 100% { opacity: 1; }
    46%      { opacity: .25; }
    52%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .vn-rack-sway, .vn-unit .led { animation: none; }
}

/* ==========================================================================
   VNDEL design system 2026 (loaded after custom.css)
   Typography, rhythm, surfaces and conversion elements for the CMS pages.
   Remove the <link> to this file in includes/common/overwrites/seo.tpl to disable.
   ========================================================================== */

/* this file is linked before the theme's variables, so html:root (higher specificity) is needed */
html:root {
    --font-family-base: 'Inter', 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
:root {
    --vn-radius: 16px;
    --vn-radius-sm: 12px;
    --vn-glow: rgba(99, 102, 241, .22);
}
html[dir="rtl"]:root { --font-family-base: 'Cairo', 'Inter', system-ui, sans-serif; }
html.lagom-dark-mode body.lagom,
body.lagom { font-family: var(--font-family-base); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Headings ---------- */
body.lagom h1, body.lagom h2, body.lagom h3,
body.lagom .section-title, body.lagom .banner-title {
    font-family: var(--font-family-base);
    letter-spacing: -.022em;
    font-weight: 700;
}
html[dir="rtl"] body.lagom h1, html[dir="rtl"] body.lagom h2, html[dir="rtl"] body.lagom h3,
html[dir="rtl"] body.lagom .section-title, html[dir="rtl"] body.lagom .banner-title { letter-spacing: 0; font-weight: 800; }
body.lagom .banner-title {
    font-size: clamp(2.2rem, 4.2vw, 3.7rem);
    line-height: 1.1;
    font-weight: 800;
}
.lagom-dark-mode body.lagom .banner-title {
    background: linear-gradient(180deg, #ffffff 30%, #b9c0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.lagom .section-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.18; }
body.lagom .banner-subtitle { font-size: 1.15rem; line-height: 1.6; opacity: .9; }

/* ---------- Eyebrow captions as pills ---------- */
body.lagom .banner-caption,
body.lagom .section-caption {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(129, 140, 248, .28);
    color: #b6bcff;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body.lagom .banner-caption::before,
body.lagom .section-caption::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    box-shadow: 0 0 10px #818cf8;
}
html[dir="rtl"] body.lagom .banner-caption, html[dir="rtl"] body.lagom .section-caption { letter-spacing: 0; text-transform: none; font-size: .9rem; }

/* ---------- Hero: depth glow + faint grid ---------- */
body.lagom [data-site-banner] { position: relative; isolation: isolate; }
body.lagom [data-site-banner]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 420px at 50% -8%, rgba(99, 102, 241, .38), transparent 70%),
        radial-gradient(600px 300px at 12% 70%, rgba(79, 70, 229, .16), transparent 70%),
        radial-gradient(600px 300px at 88% 70%, rgba(129, 140, 248, .14), transparent 70%);
}
body.lagom [data-site-banner]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

/* ---------- Section rhythm ---------- */
body.lagom .site-section { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
body.lagom .site .site-section + .site-section:not(.section-gray):not(.section-primary) { border-top: 0; }
body.lagom .site-section.section-gray {
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 30%), var(--site-section-bg, transparent);
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
body.lagom .site-section .section-subtitle { max-width: 680px; font-size: 1.08rem; line-height: 1.65; }

/* ---------- Buttons ---------- */
body.lagom .btn { border-radius: var(--vn-radius-sm); font-weight: 600; letter-spacing: .005em; }
body.lagom .btn-primary {
    background: linear-gradient(135deg, #6f72f5 0%, #4f46e5 100%);
    border-color: transparent;
    box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
body.lagom .btn-primary:not(:disabled):not(.disabled):hover {
    background: linear-gradient(135deg, #8183ff 0%, #5b52f0 100%);
    box-shadow: 0 16px 32px -12px rgba(99, 102, 241, .9), inset 0 1px 0 rgba(255, 255, 255, .22);
}
body.lagom .btn-lg, body.lagom .btn-extra-large, body.lagom .btn-xl { padding-left: 28px; padding-right: 28px; }
.lagom-dark-mode body.lagom .btn-primary-faded, .lagom-dark-mode body.lagom .btn-default {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #e7e9ff;
}
.lagom-dark-mode body.lagom .btn-primary-faded:not(:disabled):hover, .lagom-dark-mode body.lagom .btn-default:not(:disabled):hover {
    background: rgba(99, 102, 241, .16);
    border-color: rgba(129, 140, 248, .5);
}

/* ---------- Cards / surfaces ---------- */
body.lagom .package.is-boxed,
body.lagom .section-features .feature.is-boxed,
body.lagom .panel,
body.lagom .section-box.is-boxed {
    border-radius: var(--vn-radius);
}
.lagom-dark-mode body.lagom .package.is-boxed,
.lagom-dark-mode body.lagom .section-features .feature.is-boxed {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
        var(--ui-block-bg);
    border: 1px solid rgba(255, 255, 255, .08);
}
.lagom-dark-mode body.lagom .package.package-link:hover {
    background:
        radial-gradient(420px 160px at 50% 0%, var(--vn-glow), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)),
        var(--ui-block-bg);
}
body.lagom .package-title { font-weight: 600; letter-spacing: -.01em; }
body.lagom .package-actions .btn-link { font-weight: 600; }

/* ---------- Stats (bigger, gradient numbers) ---------- */
body.lagom .section-stats .feature-stat,
body.lagom .section-stats .stat,
body.lagom .section-stats [class*="stat"] > span:first-child {
    font-weight: 800;
    letter-spacing: -.02em;
}
body.lagom .section-stats .feature {
    border-radius: var(--vn-radius);
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
}

/* ---------- Domain search ---------- */
body.lagom .section-domains .form-control,
body.lagom .section-domains .input-group {
    border-radius: var(--vn-radius-sm);
}
body.lagom .section-domains .domain-tlds .tld-name { border-radius: 8px; }

/* ---------- FAQ ---------- */
body.lagom .section-faq .panel,
body.lagom .section-faq .list-item,
body.lagom .section-faq .accordion-item { border-radius: var(--vn-radius-sm); }

/* ---------- Final CTA ---------- */
body.lagom .banner-center .banner-caption { margin-left: auto; margin-right: auto; }
body.lagom .site-section.section-cta { background: transparent; border: 0; }
body.lagom .section-cta .section-box.is-boxed {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 56px);
}
.lagom-dark-mode body.lagom .section-cta .section-box.is-boxed {
    border: 1px solid rgba(129, 140, 248, .3);
    background:
        radial-gradient(600px 260px at 85% 0%, rgba(99, 102, 241, .35), transparent 70%),
        radial-gradient(500px 260px at 0% 100%, rgba(79, 70, 229, .22), transparent 70%),
        linear-gradient(180deg, #151a2c, #0f1320);
    box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .6);
}
body.lagom .section-cta .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ---------- Footer ---------- */
body.lagom .footer, body.lagom footer.footer { border-top: 1px solid rgba(255, 255, 255, .06); }
body.lagom .footer .footer-title, body.lagom .footer h5 { letter-spacing: .02em; text-transform: capitalize; font-weight: 600; }
body.lagom .footer a { transition: color .18s ease; }
body.lagom .footer a:hover { color: #a5b4fc; }

/* ---------- RTL: game banner (banner-type-3) ----------
   The theme's RTL rule (right:50%) loses to the LTR rule (right:-220px), so in Arabic the
   artwork stayed on the right, on top of the text. Move it to the left half and fade its edges. */
html[dir="rtl"] .site-banner.banner.banner-custom-graphic-bg.banner-type-3 .banner-graphic-background.banner-graphic-background-side {
    right: auto;
    left: 0;
    width: 50%;
    justify-content: center;
    align-items: center;
}
html[dir="rtl"] .site-banner.banner.banner-custom-graphic-bg.banner-type-3 .banner-graphic-background-side img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 52%, transparent 82%);
    mask-image: radial-gradient(ellipse at center, #000 52%, transparent 82%);
}

/* ---------- RTL: plan feature rows (VPS / hosting pages) ----------
   The (i) tooltip icon was `inline` in some rows and `inline-flex` in others, so in Arabic it jumped
   between the left and right side of the label. Make it identical everywhere. */
html[dir="rtl"] .package-features li > span {
    display: inline-flex !important;
    align-items: center;
    vertical-align: middle;
    margin-inline-start: 6px;
}

/* ---------- Accessibility: keep readable if animations are reduced ---------- */
@media (prefers-reduced-motion: reduce) {
    body.lagom [data-site-banner]::before { opacity: .9; }
}

/* ==========================================================================
   VNDEL polish layer (2026-10-25) - loaded after vn-design.css.
   Readability, consistent game logos, compact mobile cards.
   Remove the <link> to this file in includes/common/overwrites/seo.tpl to disable.
   ========================================================================== */

/* ---------- Readability of the small text on package cards ---------- */
.lagom-dark-mode body.lagom .package .package-content {
    color: rgba(226, 231, 255, .84);
    font-size: .96rem;
    line-height: 1.6;
}
.lagom-dark-mode body.lagom .package .package-actions .btn-link,
.lagom-dark-mode body.lagom .package .package-actions .btn-link .btn-text,
.lagom-dark-mode body.lagom .package .package-actions .btn-link .btn-price {
    color: #b4bbff;
    font-size: .96rem;
    font-weight: 600;
}
.lagom-dark-mode body.lagom .package:hover .package-actions .btn-link,
.lagom-dark-mode body.lagom .package:hover .package-actions .btn-link .btn-text,
.lagom-dark-mode body.lagom .package:hover .package-actions .btn-link .btn-price { color: #d3d7ff; }

/* card titles: "dedicated servers" / "license" came through in lower case */
body.lagom .package-title { text-transform: capitalize; }

/* section pills (AVAILABLE HOSTING SERVICES ...) were too small to read */
body.lagom .banner-caption,
body.lagom .section-caption { font-size: .84rem; }

/* hero text on dark: a bit more contrast for the sub headline */
.lagom-dark-mode body.lagom .banner-subtitle { opacity: .96; }

/* ---------- Game server logos: one frame, one size ---------- */
body.lagom .package-graphic.package-media {
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-section:has(#game-servers) .package-graphic.package-media {
    height: 150px;
    margin-bottom: 6px;
}
.site-section:has(#game-servers) .package-graphic.package-media img {
    width: 132px;
    height: 132px;
    max-width: 132px;
    object-fit: contain;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .8);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lagom-dark-mode .site-section:has(#game-servers) .package-link:hover .package-graphic.package-media img {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(129, 140, 248, .55);
    box-shadow: 0 18px 36px -16px rgba(99, 102, 241, .6);
}

/* ---------- Mobile: two compact columns for the game cards ---------- */
@media (max-width: 575.98px) {
    .site-section:has(#game-servers) .row-packages-6 > .package-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .site-section:has(#game-servers) .package-graphic.package-media { height: 108px; }
    .site-section:has(#game-servers) .package-graphic.package-media img {
        width: 92px;
        height: 92px;
        max-width: 92px;
        padding: 10px;
        border-radius: 18px;
    }
    .site-section:has(#game-servers) .package .package-title { font-size: 1rem; }
    /* two narrow columns: keep the title and the price only */
    .site-section:has(#game-servers) .package .package-body { display: none; }
    .site-section:has(#game-servers) .package .package-actions .btn-link { justify-content: center; padding-left: 0; padding-right: 0; }
    .site-section:has(#game-servers) .package .package-actions .btn-link .btn-icon { display: none; }
    .site-section:has(#game-servers) .package .package-actions .btn-link .btn-text { font-size: 0; text-align: center; }
    .site-section:has(#game-servers) .package .package-actions .btn-link .btn-price { font-size: .84rem; white-space: nowrap; }
    /* the illustrated card (license) must stay inside its half-width column */
    .site-section:has(#game-servers) .package-graphic.package-illustration {
        height: 108px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .site-section:has(#game-servers) .package-graphic.package-illustration svg { width: 100%; height: 100%; }
    body.lagom .banner-caption { font-size: .74rem; padding: 6px 12px; }
}

/* ---------- Footer links: slightly easier to read ---------- */
.lagom-dark-mode body.lagom .footer a { opacity: .92; }
.lagom-dark-mode body.lagom .footer a:hover { opacity: 1; }

/* ==========================================================================
   VNDEL invoice page (2026-11-16): the "Actions" box under the payment panel.
   In Lagom's "modern" style a sidebar panel has no padding and no background, but on the invoice page it gets a hairline border,
   so the title and the link touched the edge. Here it is made a proper card, like the invoice card next to it.
   Scoped to the invoice page only. Remove the <link> to this file in includes/common/overwrites/seo.tpl to disable.
   ========================================================================== */
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) {
    margin-top: var(--spacing-3x, 16px);
    padding: 16px 20px 12px;
    background: var(--panel-bg, transparent);
    border: 1px solid var(--panel-border-divider-color, rgba(128, 138, 180, .22));
    border-radius: var(--panel-border-radius, 12px);
    box-shadow: none;
    overflow: hidden;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-heading {
    padding: 0 0 10px;
    margin: 0 0 6px;
    min-height: 0;
    border-bottom: 1px solid var(--panel-border-divider-color, rgba(128, 138, 180, .18));
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .panel-title .panel-minimise {
    margin-inline-start: auto;
    float: none !important;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .list-group {
    padding: 0;
    margin: 0;
}
body.lagom.page-viewinvoice .panel.panel-sidebar:not(.panel-summary) .list-group .list-group-item {
    display: block;
    width: 100%;
    white-space: nowrap;
    padding: 9px 0;
    border: 0;
}

/* Black Friday 2026 - plain black / yellow skin.
   Everything is scoped to html.vn-bf, which the server adds only while the offers are switched ON
   (Addons > Black Friday). Switch them off and none of this applies.
   Deliberately flat: no gradients, no glow, no shadows. */

/* ---- colours (Lagom reads these variables) ---- */
html.vn-bf.lagom-dark-mode {
    --brand-primary: #FFD400;
    --brand-primary-lighter: #FFE24D;
    --brand-primary-darker: #B89600;
    --brand-primary-gradient-start: #FFD400;
    --brand-primary-gradient-end: #FFD400;
    --brand-primary-lighter-2: #2B2600;
    --brand-primary-lighter-3: #221E00;
    --brand-primary-lighter-4: #191600;
    --brand-secondary: #FFD400;
    --dark-mode-brand-primary: #FFD400;
    --dark-mode-brand-primary-lighter: #FFE24D;
    --dark-mode-brand-primary-darker: #B89600;
    --dark-mode-brand-primary-gradient-start: #FFD400;
    --dark-mode-brand-primary-gradient-end: #FFD400;
    --dark-mode-brand-primary-lighter-2: #2B2600;
    --dark-mode-brand-primary-lighter-3: #221E00;
    --dark-mode-brand-primary-lighter-4: #191600;
    --dark-mode-brand-secondary: #FFD400;

    --svg-illustration-primary-0: #5C4F00;
    --svg-illustration-primary-1: #967F00;
    --svg-illustration-primary-2: #FFD400;
    --svg-illustration-primary-3: #FFE24D;
    --svg-illustration-primary-4: #FFF0A0;
    --dark-mode-svg-illustration-primary-0: #5C4F00;
    --dark-mode-svg-illustration-primary-1: #967F00;
    --dark-mode-svg-illustration-primary-2: #FFD400;
    --dark-mode-svg-illustration-primary-3: #FFE24D;
    --dark-mode-svg-illustration-primary-4: #FFF0A0;

    --body-bg: #000;
    --dark-mode-body-bg: #000;
    --ui-block-bg: #0D0D0D;
    --app-nav-top-bg: #000;
    --app-nav-left-bg: #000;
    --mob-app-nav-bg: #000;
    --mob-app-nav-header-bg: #000;
    --mob-dropdown-nav-bg: #000;
    --dropdown-bg: #111;
    --dropdown-collapse-bg: #0A0A0A;
    --select-option-bg: #111;
    --main-footer-bg: #000;

    --dark-mode-gray-faded: #111;
    --dark-mode-gray-gradient-start: #0A0A0A;
    --dark-mode-gray-gradient-end: #111;
    --dark-mode-gray-lighter-4: #1C1C1C;
    --dark-mode-gray-lighter-3: #2A2A2A;
    --dark-mode-gray-lighter-2: #5C5C5C;
    --dark-mode-gray-lighter: #8E8E8E;
    --dark-mode-gray-base: #BDBDBD;
    --dark-mode-gray-darker: #F2F2F2;
    --gray-faded: #111;
    --gray-gradient-start: #0A0A0A;
    --gray-gradient-end: #111;
    --gray-lighter-4: #1C1C1C;
    --gray-lighter-3: #2A2A2A;
    --gray-lighter-2: #5C5C5C;
    --gray-lighter: #8E8E8E;
    --gray-base: #BDBDBD;
    --gray-darker: #F2F2F2;
    --vn-glow: transparent;
}
html.vn-bf body.lagom { background: #000; }
html.vn-bf body.lagom .site,
html.vn-bf body.lagom .site-section.section-default { background-color: #000; }
html.vn-bf body.lagom[class*="page-login"],
html.vn-bf body.lagom[class*="page-login"] .main-body { background-color: #000; }
html.vn-bf ::selection { background: #FFD400; color: #000; }

/* ---- navigation ---- */
html.vn-bf body.lagom .app-nav { background: #000; border-bottom: 1px solid #222; }

/* ---- buttons ---- */
html.vn-bf body.lagom .btn-primary,
html.vn-bf body.lagom .btn-primary:focus,
html.vn-bf body.lagom .btn-primary:active,
html.vn-bf body.lagom .btn-primary:not(:disabled):not(.disabled):active {
    background: #FFD400;
    border-color: #FFD400;
    color: #000 !important;
    box-shadow: none;
    font-weight: 700;
}
html.vn-bf body.lagom .btn-primary:not(:disabled):not(.disabled):hover {
    background: #FFE24D;
    border-color: #FFE24D;
    color: #000 !important;
    box-shadow: none;
}
html.vn-bf body.lagom .btn-primary i,
html.vn-bf body.lagom .btn-primary .lm,
html.vn-bf body.lagom .btn-primary .ls { color: inherit; }
html.vn-bf.lagom-dark-mode body.lagom .btn-primary-faded,
html.vn-bf.lagom-dark-mode body.lagom .btn-default {
    background: transparent;
    border: 1px solid #3A3A3A;
    color: #fff;
}
html.vn-bf.lagom-dark-mode body.lagom .btn-primary-faded:not(:disabled):hover,
html.vn-bf.lagom-dark-mode body.lagom .btn-default:not(:disabled):hover {
    background: transparent;
    border-color: #FFD400;
    color: #fff;
}
html.vn-bf body.lagom .btn.btn-link,
html.vn-bf body.lagom .btn.btn-link .btn-text,
html.vn-bf body.lagom .btn.btn-link .btn-price,
html.vn-bf body.lagom .btn.btn-link .btn-icon { color: #FFD400; }
html.vn-bf body.lagom .btn.btn-link:hover,
html.vn-bf body.lagom .btn.btn-link:hover .btn-text { color: #fff; }
html.vn-bf body.lagom .badge-primary,
html.vn-bf body.lagom .label-primary,
html.vn-bf body.lagom .bg-primary,
html.vn-bf body.lagom .progress-bar,
html.vn-bf body.lagom .nav-pills .nav-link.active,
html.vn-bf body.lagom .pagination .page-item.active .page-link { color: #000; }

/* ---- hero & headings: plain ---- */
html.vn-bf body.lagom [data-site-banner]::before,
html.vn-bf body.lagom [data-site-banner]::after { content: none; }
html.vn-bf.lagom-dark-mode body.lagom .banner-title {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #fff;
}
html.vn-bf body.lagom .banner-caption,
html.vn-bf body.lagom .section-caption {
    background: none;
    border: 0;
    padding: 0;
    border-radius: 0;
    color: #FFD400;
}
html.vn-bf body.lagom .banner-caption::before,
html.vn-bf body.lagom .section-caption::before { content: none; }

/* ---- cards & sections ---- */
html.vn-bf.lagom-dark-mode body.lagom .package.is-boxed,
html.vn-bf.lagom-dark-mode body.lagom .section-features .feature.is-boxed,
html.vn-bf.lagom-dark-mode body.lagom .tile,
html.vn-bf.lagom-dark-mode body.lagom .panel {
    background: #0D0D0D;
    border: 1px solid #222;
}
html.vn-bf.lagom-dark-mode body.lagom .package.package-link:hover,
html.vn-bf.lagom-dark-mode body.lagom .tile:hover {
    background: #0D0D0D;
    border-color: #FFD400;
}
html.vn-bf body.lagom .package.package-link:hover,
html.vn-bf body.lagom .tile:hover { box-shadow: none; }
html.vn-bf.lagom-dark-mode .site-section:has(#game-servers) .package-link:hover .package-graphic.package-media img {
    border-color: #FFD400;
    box-shadow: none;
}
html.vn-bf body.lagom .site-section.section-gray { background: #070707; border-color: #1A1A1A; }
html.vn-bf body.lagom .section-stats .feature { background: #0D0D0D; border-color: #222; }
html.vn-bf.lagom-dark-mode body.lagom .section-cta .section-box.is-boxed {
    background: #0D0D0D;
    border: 1px solid #333;
    box-shadow: none;
}
html.vn-bf body.lagom .form-control:focus { border-color: #FFD400; box-shadow: 0 0 0 2px rgba(255, 212, 0, .25); }
html.vn-bf body.lagom .footer,
html.vn-bf body.lagom footer.footer { background: #000; border-top: 1px solid #222; }
html.vn-bf body.lagom .footer a:hover,
html.vn-bf body.lagom a:not(.btn):hover { color: #FFD400; }
html.vn-bf .vn-unit { filter: hue-rotate(170deg) saturate(1.2); }

/* ---- prices on the plan cards (Lagom's own "old price / Save %" markup) ---- */
html.vn-bf body.lagom .price-discount-old { color: #8A8A8A; text-decoration: line-through; }
html.vn-bf body.lagom .label-save,
html.vn-bf body.lagom .price-discount-save {
    background: #FFD400;
    border: 0;
    color: #000;
    font-weight: 700;
    border-radius: 3px;
}

/* ---- top strip ---- */
.vnbf-bar {
    position: relative;
    z-index: 1040;
    padding: 8px 16px;
    background: #FFD400;
    color: #000;
    font-size: 13.5px;
    line-height: 1.45;
    text-align: center;
}
.vnbf-bar b { margin-inline-end: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.vnbf-bar .vnbf-cd { display: inline-block; margin-inline-start: 6px; font-weight: 700; white-space: nowrap; direction: ltr; font-variant-numeric: tabular-nums; }

/* ---- "up to NN% off" tag on the category cards ---- */
.vnbf-off {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 3px;
    background: #FFD400;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
body.lagom .package.vnbf-has-tag,
body.lagom a.package.vnbf-has-tag { position: relative; }

@media (max-width: 600px) { .vnbf-bar { font-size: 12.5px; padding: 7px 12px; } }
@media print { .vnbf-bar, .vnbf-off { display: none !important; } }

/* "Starting at ..." links on the category cards keep Lagom's own colour otherwise */
html.vn-bf body.lagom .package .btn-link,
html.vn-bf body.lagom .package .btn-link .btn-text,
html.vn-bf body.lagom .package .btn-link .btn-price,
html.vn-bf body.lagom .package .btn-link .btn-icon i { color: #FFD400 !important; }

/* ---- order / configure pages: one flat black, no navy leftovers ---- */
html.vn-bf body.lagom .app-main,
html.vn-bf body.lagom .main-body,
html.vn-bf body.lagom .main-content { background: #000; }
html.vn-bf body.lagom .main-header { background: #000; border-bottom: 1px solid #1A1A1A; }
html.vn-bf body.lagom .main-footer { background: #050505; border-top: 1px solid #1A1A1A; }
html.vn-bf body.lagom .panel-summary,
html.vn-bf body.lagom .panel-form,
html.vn-bf body.lagom .panel-check { background: #0D0D0D; border: 1px solid #222; box-shadow: none; }
html.vn-bf body.lagom .panel-check.checked,
html.vn-bf body.lagom .panel-check:hover { border-color: #FFD400; }
html.vn-bf body.lagom .form-control,
html.vn-bf body.lagom .custom-select { background-color: #111; border-color: #2A2A2A; }

/* ---- sale price in the order summary (rendered by the overwrite templates) ---- */
.vnbf-note .item-name,
.vnbf-note .item-value,
.vnbf-lines .item-name,
.vnbf-lines .item-value { color: #FFD400; font-weight: 600; }
.price-amount .vnbf-total-old { display: inline-block; margin-inline-end: 8px; font-size: .55em; font-weight: 400; }

