@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/quicksand-latin.9d503278216c.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Quicksand";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/quicksand-latin-ext.7ee01e648403.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

a {
    cursor: pointer;
    color: black;
}

/* Font Sizes */

h1, h2 {
    font-size: 1.8rem;
}

h3{
    font-size: 1.4rem;
}

h4, p, td, th, button, .close, input, label, .circ, select {
    font-size: 1.0rem;
}

p.signup-legal,
p.signup-legal a {
    font-family: "Quicksand", sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

button:hover {
    cursor: pointer;
}

/* Initial hidden state for any element with the fade-in class */
  .fade-in {
    opacity: 0;
    transform: translateY(35px) rotate(-3deg);
    transition: all 1.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* smooth, natural easing */
    will-change: opacity, transform; /* performance hint for the browser */
  }

  /* Visible/animated state */
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }

/* Remove number spinners completely */
.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.no-spinners {
    -moz-appearance: textfield;
    appearance: textfield;
}

.spare-qty-stepper {
    width: 10.5rem;
    flex: 0 0 auto;
}

.spare-qty-stepper .form-control {
    max-width: 4rem;
}

/* Optional but nice — sort direction arrows */
.sorted-asc::after,
.sorted-desc::after {
    content: ' ↑';
    color: #28a745;
    font-size: 0.9em;
    margin-left: 4px;
}
.sorted-desc::after {
    content: ' ↓';
}

/* Storefront engine cards: keep long status badges inside the card on mid-width layouts */
.store-engine-card {
    overflow: hidden;
    min-width: 0;
}

.store-engine-card .card-body {
    min-width: 0;
}

.store-engine-card .engine-card-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.store-engine-card .engine-card-header .card-title {
    min-width: 0;
    flex: 1 1 7rem;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

/* Bootstrap badges default to nowrap; long statuses (e.g. "Available for Sale") overflow narrow cards */
.store-engine-card .badge {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* Spec table inside drill-down inventory cards */
.store-engine-card .engine-card-specs {
    table-layout: fixed;
    width: 100%;
}

.store-engine-card .engine-card-specs th,
.store-engine-card .engine-card-specs td {
    word-break: break-word;
    vertical-align: top;
    padding: 0.35rem 0.25rem;
}

.store-engine-card .engine-card-specs th {
    width: 42%;
    font-weight: 700;
    text-align: right;
    padding-right: 0.5rem;
}

.store-engine-card .engine-card-specs td {
    width: 58%;
    text-align: left;
}

/* Store browse cards (aircraft / engine variant selectors on the inventory hub).
   Show more is the primary drill-down; the full-page link is the grey secondary. */
.store-browse-card {
    overflow: hidden;
    min-width: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-browse-card:hover {
    box-shadow: 0 0.5rem 1.15rem rgba(0, 0, 0, 0.12) !important;
}

.store-browse-card .card-body {
    min-width: 0;
}

.store-browse-card .card-title {
    overflow-wrap: anywhere;
}

.store-card-prices {
    overflow-wrap: anywhere;
}

.store-browse-card__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
}

.store-browse-card__more {
    font-weight: 600;
}

.store-browse-card__more:disabled {
    pointer-events: none;
    opacity: 0.7;
}

.store-browse-card__page-link {
    font-weight: 600;
}

/* Added to allow for 'sold' banner on inventory pages */
.image-container {
    position: relative; /* Allows absolute positioning of child elements */
    display: inline-block; /* Keeps it inline with surrounding content */
}

.sold-overlay {
    position: absolute;
    top: 50%; /* Center vertically before rotation */
    left: 50%; /* Center horizontally before rotation */
    transform: translate(-50%, -50%) rotate(-45deg); /* Center and rotate */
    color: red;
    font-size: 3rem; /* Adjust size based on image dimensions; use rem for responsiveness */
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent wrapping */
    pointer-events: none; /* Allow clicks to pass through to the image/container */
    z-index: 10; /* Ensure it's on top */
    /* Optional: Add semi-transparent background for better visibility */
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.brevoField {
    margin-bottom: 1rem !important;
}

.burg {color: rgb(144,0,32);}
.grey {color: rgb(191,193,194)}

.navbar-nav {
    align-items: center;
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.inventory-image {
    border: 2px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.inventory-image:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

table {
    width: 100%;
}

.tableDiv {
    margin-bottom: 1rem;
    .cell {
        input, select {
            width: 100%;
        }
    }
}

:root {
    --navbar-height: 4rem;
    --navbar-toggler-size: 3rem;
    /* Product line colours — burgundy / brass / steel, not Bootstrap defaults */
    --product-oe: #900020;
    --product-oe-hover: #75001a;
    --product-oe-rgb: 144, 0, 32;
    --product-prepayment: #8b6914;
    --product-prepayment-hover: #6f540f;
    --product-prepayment-rgb: 139, 105, 20;
    --product-lease: #3d5a73;
    --product-lease-hover: #31485c;
    --product-lease-rgb: 61, 90, 115;
}

.text-product-oe { color: var(--product-oe) !important; }
.text-product-prepayment { color: var(--product-prepayment) !important; }
.text-product-lease { color: var(--product-lease) !important; }

.border-product-oe { border-color: var(--product-oe) !important; }
.border-product-prepayment { border-color: var(--product-prepayment) !important; }
.border-product-lease { border-color: var(--product-lease) !important; }

.btn.btn-product-oe {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--product-oe);
    --bs-btn-border-color: var(--product-oe);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-oe-hover);
    --bs-btn-hover-border-color: var(--product-oe-hover);
    --bs-btn-focus-shadow-rgb: var(--product-oe-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-oe-hover);
    --bs-btn-active-border-color: var(--product-oe-hover);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--product-oe);
    --bs-btn-disabled-border-color: var(--product-oe);
}

.btn.btn-product-prepayment {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--product-prepayment);
    --bs-btn-border-color: var(--product-prepayment);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-prepayment-hover);
    --bs-btn-hover-border-color: var(--product-prepayment-hover);
    --bs-btn-focus-shadow-rgb: var(--product-prepayment-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-prepayment-hover);
    --bs-btn-active-border-color: var(--product-prepayment-hover);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--product-prepayment);
    --bs-btn-disabled-border-color: var(--product-prepayment);
}

.btn.btn-product-lease {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--product-lease);
    --bs-btn-border-color: var(--product-lease);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-lease-hover);
    --bs-btn-hover-border-color: var(--product-lease-hover);
    --bs-btn-focus-shadow-rgb: var(--product-lease-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-lease-hover);
    --bs-btn-active-border-color: var(--product-lease-hover);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--product-lease);
    --bs-btn-disabled-border-color: var(--product-lease);
}

.btn.btn-outline-product-oe {
    --bs-btn-color: var(--product-oe);
    --bs-btn-border-color: var(--product-oe);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-oe);
    --bs-btn-hover-border-color: var(--product-oe);
    --bs-btn-focus-shadow-rgb: var(--product-oe-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-oe);
    --bs-btn-active-border-color: var(--product-oe);
    --bs-btn-disabled-color: var(--product-oe);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--product-oe);
}

.btn.btn-outline-product-prepayment {
    --bs-btn-color: var(--product-prepayment);
    --bs-btn-border-color: var(--product-prepayment);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-prepayment);
    --bs-btn-hover-border-color: var(--product-prepayment);
    --bs-btn-focus-shadow-rgb: var(--product-prepayment-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-prepayment);
    --bs-btn-active-border-color: var(--product-prepayment);
    --bs-btn-disabled-color: var(--product-prepayment);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--product-prepayment);
}

.btn.btn-outline-product-lease {
    --bs-btn-color: var(--product-lease);
    --bs-btn-border-color: var(--product-lease);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-lease);
    --bs-btn-hover-border-color: var(--product-lease);
    --bs-btn-focus-shadow-rgb: var(--product-lease-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--product-lease);
    --bs-btn-active-border-color: var(--product-lease);
    --bs-btn-disabled-color: var(--product-lease);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--product-lease);
}

/* main { */
/*     padding-top: var(--navbar-height); */
/* } */

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.site-navbar.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-shell {
    padding: 0;
}

.navbar-header {
    min-height: var(--navbar-height);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    line-height: 0;
}

.navbar-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.navbar-logo-air {
    width: 275px;
}

.navbar-logo-power {
    width: 210px;
}

.navbar-nav-desktop .nav-link,
.site-nav-mobile .nav-link {
    color: var(--bs-emphasis-color);
}

.navbar-nav button.nav-link,
footer button.nav-link {
    background: transparent;
    border: 0;
    font: inherit;
    color: inherit;
}

.mobile-nav-divider {
    border-color: rgba(0, 0, 0, 0.08);
    opacity: 1;
}

@media (min-width: 992px) {
    .site-navbar .navbar-header {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .navbar-toggler-spacer,
    .navbar-toggler {
        display: none !important;
    }

    .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .navbar-nav-desktop {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .navbar-account-desktop {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0 !important;
    }

    #navbarAccount.navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    /* Keep the hamburger bar on screen and scroll the open menu, not the page.
       A long staff list previously overflowed the fixed navbar with no way to reach
       items below the fold. */
    .site-navbar.fixed-top {
        max-height: 100vh;
        max-height: 100dvh;
    }

    .site-navbar .navbar-shell {
        display: flex;
        flex-direction: column;
        max-height: inherit;
        min-height: 0;
        overflow: hidden;
    }

    body:has(#navbarAccount.show) {
        overflow: hidden;
    }

    .site-navbar .navbar-header {
        display: flex !important;
        align-items: center;
        overflow-x: clip;
        flex: 0 0 auto;
    }

    .navbar-toggler-spacer {
        flex: 0 0 var(--navbar-toggler-size);
        width: var(--navbar-toggler-size);
    }

    .navbar-brand {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .navbar-logo-air {
        width: min(275px, 52vw);
    }

    .navbar-logo-power {
        width: min(210px, 52vw);
    }

    .navbar-toggler {
        flex: 0 0 var(--navbar-toggler-size);
        margin: 0;
    }

    /* Unread messages indicator on the hamburger (kept inset to avoid overflow clip) */
    .navbar-toggler .messaging-menu-badge {
        position: absolute;
        top: 0.2rem;
        right: 0.15rem;
        z-index: 1;
        font-size: 0.65rem;
        padding: 0.2em 0.4em;
        line-height: 1;
        min-width: 1.1rem;
        pointer-events: none;
    }

    #navbarAccount.collapse,
    #navbarAccount.collapsing,
    #navbarAccount.collapse.show {
        padding: 0 !important;
        margin: 0;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: 0;
        flex: 0 0 auto;
        width: 100%;
    }

    #navbarAccount.collapse.show {
        flex: 1 1 auto;
        min-height: 0;
        max-height: calc(100vh - var(--navbar-height));
        max-height: calc(100dvh - var(--navbar-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    #navbarAccount .mobile-nav-inner {
        padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)) 1.75rem;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .site-nav-mobile,
    .navbar-account-mobile {
        align-items: stretch;
        width: 100%;
    }

    .site-nav-mobile .nav-link,
    .navbar-account-mobile .nav-link {
        text-align: left;
    }

    .staff-nav-toggle {
        border: 0;
        background: transparent;
        cursor: pointer;
        font: inherit;
        color: inherit;
    }

    .staff-nav-chevron {
        font-size: 0.85rem;
        transition: transform 0.2s ease;
    }

    .staff-nav-toggle[aria-expanded="true"] .staff-nav-chevron {
        transform: rotate(180deg);
    }

    .staff-nav-sublist {
        align-items: stretch;
        width: 100%;
        padding-left: 0.5rem;
    }

    .staff-nav-heading {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #6c757d;
        padding: 0.65rem 0 0.15rem;
        list-style: none;
    }
}

/* Desktop Messages link: keep unread badge inline with the label */
.navbar-account-desktop .messaging-nav-badge {
    font-size: 0.7rem;
    padding: 0.2em 0.45em;
    line-height: 1;
}

#staff-menu .dropdown-header {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

#full-screen-loader .loader-content {
    text-align: center;
    color: white;
}

.loader-content {
    max-width: 420px;
}

@media only screen and (min-width: 768px) {

    h1, h2 {
        font-size: 2.5rem;
    }

    h3{
        font-size: 2rem;
    }

    h4, p, a, td, th, button, .close, input, label, .circ, select {
        font-size: 1rem;
    }

    .finePrint {
        font-size: 0.75rem;
    }

    #profile-menu,
    #staff-menu {
        right: 0 !important;
        left: auto !important;
        max-height: min(80vh, calc(100vh - var(--navbar-height) - 0.75rem));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

}

/* ============================================================
   Global improvements for data tables on narrow screens / mobile
   These help all list views (invoices, PO, stock, etc.) without
   requiring changes to every template.
   ============================================================ */
.table-responsive {
    /* Ensure a visible scrollbar affordance on iOS/Android */
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    /* Relax aggressive fixed layouts on small screens so columns
       can size naturally; combined with .table-responsive this
       produces a scrollable but usable table instead of cramped cells. */
    table[style*="fixed"] {
        table-layout: auto !important;
    }

    .table th,
    .table td {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
}

/* Make sortable headers a bit easier to tap on touch devices */
.sortable-table th {
    user-select: none;
}

/* ============================================================
   Profile page visual enhancements
   ============================================================ */

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: rgb(144, 0, 32);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(144, 0, 32, 0.25);
    flex-shrink: 0;
}

.profile-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.profile-info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.profile-section {
    margin-top: 2rem;
}

.profile-section-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f3f5;
}

.profile-item-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.profile-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    font-weight: 500;
    border-radius: 50rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .info-label {
    width: 140px;
    flex-shrink: 0;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.info-row .info-value {
    color: #212529;
    flex: 1;
}

.action-btn {
    min-width: 140px;
}

/* Responsive tweaks for profile */
@media (max-width: 576px) {
    .profile-avatar {
        width: 72px;
        height: 72px;
        font-size: 1.75rem;
    }
    .profile-header {
        padding: 1.25rem 1rem;
    }
    .info-row {
        flex-direction: column;
        gap: 0.15rem;
    }
    .info-row .info-label {
        width: auto;
    }
}

/* Homepage — cinematic hero + product chooser, aligned with product-info pages.
   Product colours come from :root tokens. The chooser is a tab strip attached
   to the copy panel; the selected product recolors the hero. */
.home-page {
    --cycle-ms: 5s;
    --pi-accent: var(--product-oe);
    --pi-accent-rgb: var(--product-oe-rgb);
    --home-hero-bg: #0c0708;
    overflow-x: hidden;
}

.home-page:has(#hp-prepayment:checked) {
    --pi-accent: var(--product-prepayment);
    --pi-accent-rgb: var(--product-prepayment-rgb);
    --home-hero-bg: #110d06;
}

.home-page:has(#hp-lease:checked) {
    --pi-accent: var(--product-lease);
    --pi-accent-rgb: var(--product-lease-rgb);
    --home-hero-bg: #081018;
}

.home-page.product-info .home-hero {
    min-height: 0;
    padding-top: calc(var(--navbar-height) + 1.4rem);
    padding-bottom: 4.5rem;
    background-color: var(--home-hero-bg);
    transition: background-color 0.6s ease;
}

.home-hero-intro {
    max-width: 46rem;
    width: 100%;
    margin-bottom: 0.85rem;
    padding-inline: 0.5rem;
}

.home-page .home-hero-intro h1 {
    font-size: clamp(1.95rem, 6vw, 4.4rem);
}

.home-hero-intro .lead {
    max-width: 34rem;
}

.home-product-showcase {
    --cycle-ms: 5s;
}

.home-product-stage {
    position: relative;
    padding: 0.35rem 0 1.4rem;
}

.home-product-stage-floor {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0.15rem;
    height: 4.2rem;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(var(--pi-accent-rgb), 0.38),
        transparent 72%
    );
    filter: blur(10px);
    opacity: 0.9;
    transition: background 0.55s ease;
}

.home-product-media-label {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0.35rem;
    cursor: pointer;
    border-radius: 1.1rem;
    transform: scale(0.9) translateY(10px);
    opacity: 0.62;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.home-product-media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: visible;
}

.home-product-halo {
    position: absolute;
    inset: 8% -4% auto;
    height: 78%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(var(--pi-accent-rgb), 0.7),
        transparent 68%
    );
    filter: blur(18px);
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.home-product-media-label img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
    filter: grayscale(0.35) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.35));
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.home-product-media-label img.visible {
    opacity: 0.78;
}

.home-product-media-label:hover img.visible {
    opacity: 1;
}

.home-product-showcase:has(#hp-prepayment:checked) .home-product-media-label--prepayment,
.home-product-showcase:has(#hp-oe:checked) .home-product-media-label--oe,
.home-product-showcase:has(#hp-lease:checked) .home-product-media-label--lease {
    transform: scale(1.08) translateY(-6px);
    opacity: 1;
    z-index: 2;
}

.home-product-showcase:has(#hp-prepayment:checked) .home-product-media-label--prepayment img.visible,
.home-product-showcase:has(#hp-oe:checked) .home-product-media-label--oe img.visible,
.home-product-showcase:has(#hp-lease:checked) .home-product-media-label--lease img.visible {
    opacity: 1;
    filter: grayscale(0) drop-shadow(0 22px 26px rgba(0, 0, 0, 0.45));
}

.home-product-showcase:has(#hp-prepayment:checked) .home-product-media-label--prepayment .home-product-halo,
.home-product-showcase:has(#hp-oe:checked) .home-product-media-label--oe .home-product-halo,
.home-product-showcase:has(#hp-lease:checked) .home-product-media-label--lease .home-product-halo {
    opacity: 1;
    transform: scale(1);
}

.home-product-tabset {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    min-width: 0;
}

.home-product-hint {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: rgba(246, 239, 232, 0.62);
    text-align: center;
}

.home-product-tablist {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-product-tab-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.home-product-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 3rem;
    margin: 0 0 -1px;
    padding: 0.7rem 0.45rem 0.85rem;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: clamp(0.78rem, 2.1vw, 1.05rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    color: rgba(246, 239, 232, 0.58);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-product-heading-text {
    display: block;
    text-align: center;
    font-weight: inherit;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.home-product-pin {
    display: none;
    font-size: 0.85em;
    line-height: 1;
}

.home-product-tab::before,
.home-product-tab::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0;
    height: 3px;
    border-radius: 2px 2px 0 0;
    pointer-events: none;
}

.home-product-tab::before {
    background: currentColor;
    opacity: 0;
}

.home-product-tab::after {
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
}

.home-product-tab--oe {
    --home-tab-color: var(--product-oe);
}

.home-product-tab--prepayment {
    --home-tab-color: var(--product-prepayment);
}

.home-product-tab--lease {
    --home-tab-color: var(--product-lease);
}

.home-product-copy-title--oe {
    color: #fff;
}

.home-product-copy-title--prepayment {
    color: #fff;
}

.home-product-copy-title--lease {
    color: #fff;
}

.home-product-radio:not(:checked) + .home-product-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12) rgba(255, 255, 255, 0.12) transparent;
    color: #fff;
}

.home-product-radio:checked + .home-product-tab {
    z-index: 1;
    background: rgba(12, 8, 9, 0.72);
    border-color: rgba(255, 255, 255, 0.16) rgba(255, 255, 255, 0.16) transparent;
    color: var(--home-tab-color);
    box-shadow: inset 0 3px 0 var(--home-tab-color);
}

.home-product-radio:checked + .home-product-tab::before {
    opacity: 0.2;
}

.home-product-radio:focus-visible + .home-product-tab {
    outline: 3px solid var(--home-tab-color, var(--product-oe));
    outline-offset: 2px;
}

.home-product-showcase.is-progressing:not(.is-locked) .home-product-radio:checked + .home-product-tab::after {
    animation: home-product-progress var(--cycle-ms, 5s) linear forwards;
}

.home-product-showcase.is-paused .home-product-tab::after {
    animation-play-state: paused;
}

.home-product-showcase.is-locked .home-product-radio:checked + .home-product-tab::after {
    animation: none;
    transform: scaleX(1);
}

.home-product-showcase.is-locked .home-product-radio:checked + .home-product-tab .home-product-pin {
    display: inline-block;
}

@keyframes home-product-progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.home-product-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    min-height: 17.5rem;
    padding: 1.35rem 1.4rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 0;
    border-radius: 0 0 1rem 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(12, 8, 9, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
    color: var(--pi-ink);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.home-product-showcase:not(.is-locked) .home-product-copy {
    cursor: pointer;
}

.home-product-panel-kicker {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pi-accent);
}

.home-product-copy-title {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.home-product-panels {
    display: grid;
    grid-template-rows: 1fr;
    flex: 1 1 auto;
    min-height: 0;
}

.home-product-panel {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-product-copy-main {
    flex: 0 1 auto;
}

.home-product-panel .lead {
    margin-bottom: 0;
    color: var(--pi-muted);
}

.home-product-cooling-off {
    flex: 0 1 auto;
    align-self: stretch;
    margin: 0;
    padding: 0.55rem 1.1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid rgba(var(--pi-accent-rgb), 0.45);
    background: rgba(var(--pi-accent-rgb), 0.18);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    overflow-wrap: break-word;
}

.home-product-cta {
    flex: 0 1 auto;
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.home-page .home-product-cta .btn-outline-product-oe {
    --bs-btn-color: #f3c4ce;
    --bs-btn-border-color: #e89aa8;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-oe);
    --bs-btn-hover-border-color: var(--product-oe);
}

.home-page .home-product-cta .btn-outline-product-prepayment {
    --bs-btn-color: #f4d896;
    --bs-btn-border-color: #d4b25a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-prepayment);
    --bs-btn-hover-border-color: var(--product-prepayment);
}

.home-page .home-product-cta .btn-outline-product-lease {
    --bs-btn-color: #c5d6e4;
    --bs-btn-border-color: #8aa7bc;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--product-lease);
    --bs-btn-hover-border-color: var(--product-lease);
}

.home-product-panel[data-product="oe"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-product-showcase:has(#hp-oe:checked) .home-product-panel[data-product="oe"],
.home-product-showcase:has(#hp-prepayment:checked) .home-product-panel[data-product="prepayment"],
.home-product-showcase:has(#hp-lease:checked) .home-product-panel[data-product="lease"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-product-showcase:has(#hp-prepayment:checked) .home-product-panel[data-product="oe"],
.home-product-showcase:has(#hp-lease:checked) .home-product-panel[data-product="oe"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-stat--oe {
    --pi-accent: var(--product-oe);
    --pi-accent-rgb: var(--product-oe-rgb);
}

.home-stat--prepayment {
    --pi-accent: var(--product-prepayment);
    --pi-accent-rgb: var(--product-prepayment-rgb);
}

.home-stat--lease {
    --pi-accent: var(--product-lease);
    --pi-accent-rgb: var(--product-lease-rgb);
}

.home-signup {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 1.25rem;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(var(--product-oe-rgb), 0.94), rgba(12, 7, 8, 0.92)),
        #1a0b0e;
}

.home-signup-sheen {
    position: absolute;
    inset: -40% -20%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: translateX(-60%) rotate(12deg);
    animation: pi-sheen 5.5s ease-in-out infinite;
}

.home-signup .container {
    position: relative;
    z-index: 1;
}

.home-signup-kicker,
.home-trade-kicker,
.home-suppliers-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-signup-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.home-trade-kicker {
    color: var(--product-oe);
}

.home-suppliers-kicker {
    color: #8a8178;
}

.home-signup h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #fff;
    margin-bottom: 0.75rem;
}

.home-signup .lead {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.78);
}

.home-signup-form {
    max-width: 36rem;
}

.home-signup .form-control {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.home-signup .form-control::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.home-signup .form-control:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.18);
}

.home-signup .signup-legal,
.home-signup .signup-legal a {
    color: rgba(255, 255, 255, 0.72);
}

.home-signup .signup-legal a:hover,
.home-signup .signup-legal a:focus-visible {
    color: #fff;
}

.home-trade {
    background: #fff;
}

.home-trade .pi-section-lede a {
    color: var(--product-oe);
    font-weight: 700;
    text-decoration: none;
}

.home-trade .pi-section-lede a:hover,
.home-trade .pi-section-lede a:focus-visible {
    text-decoration: underline;
}

.home-trade-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(var(--product-oe-rgb), 0.14), transparent 70%),
        linear-gradient(180deg, #fbf8f5, #f3eee8);
}

.home-trade-stage img {
    max-height: 22rem;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 18px 24px rgba(12, 7, 8, 0.18));
}

.home-suppliers {
    background: #f7f4f0;
}

.home-supplier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    height: 100%;
    min-height: 11rem;
    padding: 1.5rem 1.25rem;
    border-radius: 1.1rem;
    border: 1px solid #ece7e2;
    background: linear-gradient(180deg, #fff, #fbf8f5);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-supplier-card img {
    max-height: 5.5rem;
    width: auto;
    object-fit: contain;
}

.home-supplier-card h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
}

.home-supplier-card:hover,
.home-supplier-card:focus-visible {
    transform: translateY(-6px);
    color: inherit;
    border-color: rgba(var(--product-oe-rgb), 0.35);
    box-shadow: 0 16px 32px rgba(var(--product-oe-rgb), 0.1);
}

.home-supplier-card--static {
    cursor: default;
}

.home-supplier-card--static:hover {
    transform: none;
    border-color: #ece7e2;
    box-shadow: none;
}

.home-product-showcase--reduced .home-product-tab,
.home-product-showcase--reduced .home-product-media-label,
.home-product-showcase--reduced .home-product-media-label img,
.home-product-showcase--reduced .home-product-halo,
.home-product-showcase--reduced .home-product-tab::after,
.home-product-showcase--reduced .home-product-copy,
.home-product-showcase--reduced .home-product-panel {
    transition: none;
    animation: none;
}

.home-product-showcase--reduced .home-product-radio:checked + .home-product-tab::after {
    transform: scaleX(1);
}

.home-page.pi-reduced .home-signup-sheen,
.home-page.pi-reduced .home-product-stage-floor {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-product-tab,
    .home-product-media-label,
    .home-product-media-label img,
    .home-product-halo,
    .home-product-tab::after,
    .home-product-copy,
    .home-product-panel,
    .home-signup-sheen,
    .home-supplier-card {
        transition: none;
        animation: none;
    }

    .home-product-radio:checked + .home-product-tab::after {
        transform: scaleX(1);
    }
}

@media (max-width: 991.98px) {
    .home-product-media-row {
        --bs-gutter-x: 0.5rem;
    }

    .home-product-media-label {
        padding: 0.1rem;
        transform: scale(0.92) translateY(6px);
    }

    .home-product-showcase:has(#hp-prepayment:checked) .home-product-media-label--prepayment,
    .home-product-showcase:has(#hp-oe:checked) .home-product-media-label--oe,
    .home-product-showcase:has(#hp-lease:checked) .home-product-media-label--lease {
        transform: scale(1.02) translateY(-2px);
    }

    .home-product-media {
        aspect-ratio: 5 / 3;
    }

    .home-product-media-label img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
        object-position: center center;
    }

    .home-trade-stage {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .home-product-media-row {
        --bs-gutter-x: 0.35rem;
        margin-bottom: 0.5rem !important;
    }

    .home-product-media-label {
        padding: 0;
        transform: scale(0.9) translateY(4px);
    }

    .home-product-tab {
        min-height: 3.4rem;
        padding: 0.55rem 0.3rem 0.7rem;
        font-size: 0.78rem;
    }

    .home-product-copy {
        min-height: 22rem;
        padding: 1.15rem 1rem 1.35rem;
    }

    .home-product-copy .lead {
        font-size: 1rem;
    }

    .home-product-cooling-off {
        font-size: 0.92rem;
        padding: 0.45rem 0.75rem;
    }

    .home-hero-intro {
        padding-inline: 0.15rem;
        margin-bottom: 1rem;
    }
}

/* =============================================================================
   Product information pages — cinematic heroes + product-coloured motion.
   Each page sets --pi-accent / --pi-accent-rgb on .product-info.
   ============================================================================= */

.product-info {
    --pi-accent: var(--product-oe);
    --pi-accent-rgb: var(--product-oe-rgb);
    --pi-ink: #f6efe8;
    --pi-muted: rgba(246, 239, 232, 0.72);
    --mx: 55%;
    --my: 28%;
    color: #212529;
}

.product-info--oe {
    --pi-accent: var(--product-oe);
    --pi-accent-rgb: var(--product-oe-rgb);
}

.product-info--prepayment {
    --pi-accent: var(--product-prepayment);
    --pi-accent-rgb: var(--product-prepayment-rgb);
}

.product-info--lease {
    --pi-accent: var(--product-lease);
    --pi-accent-rgb: var(--product-lease-rgb);
}

.pi-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(92vh, 54rem);
    padding: calc(var(--navbar-height) + 2.4rem) 0 4.5rem;
    color: var(--pi-ink);
    background-color: #0c0708;
}

.product-info--prepayment .pi-hero {
    background-color: #110d06;
}

.product-info--lease .pi-hero {
    background-color: #081018;
}

.pi-hero-bg,
.pi-hero-gridlines,
.pi-hero-glow,
.pi-hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pi-hero-bg {
    background:
        radial-gradient(ellipse 70% 55% at 82% 18%, rgba(var(--pi-accent-rgb), 0.42), transparent 58%),
        radial-gradient(ellipse 45% 40% at 8% 88%, rgba(var(--pi-accent-rgb), 0.22), transparent 62%),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
    z-index: 0;
}

.pi-hero-gridlines {
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 80%);
    animation: pi-grid-drift 28s linear infinite;
    opacity: 0.7;
}

.pi-hero-glow {
    z-index: 2;
    background: radial-gradient(
        520px circle at var(--mx) var(--my),
        rgba(var(--pi-accent-rgb), 0.32),
        transparent 42%
    );
    transition: background-position 0.15s ease-out;
}

.pi-hero-grain {
    z-index: 3;
    opacity: 0.18;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.pi-hero-inner {
    position: relative;
    z-index: 4;
}

.pi-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.28rem 0.8rem 0.28rem 0.45rem;
    border: 1px solid rgba(var(--pi-accent-rgb), 0.45);
    border-radius: 999px;
    background: rgba(var(--pi-accent-rgb), 0.12);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.pi-kicker-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--pi-accent);
    box-shadow: 0 0 0 0 rgba(var(--pi-accent-rgb), 0.7);
    animation: pi-pulse 2.2s ease-out infinite;
}

.pi-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin-bottom: 1.1rem;
    color: #fff;
}

.pi-hero .lead {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.55;
    color: var(--pi-muted);
    max-width: 36rem;
}

.pi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.pi-hero .btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, 0.45);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: #111;
}

.pi-hero-stage {
    position: relative;
    min-height: 22rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pi-stat-strip {
    position: relative;
    z-index: 5;
    margin-top: -2.5rem;
}

.pi-stat {
    height: 100%;
    padding: 1.25rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(12, 7, 8, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pi-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(var(--pi-accent-rgb), 0.16);
}

.pi-stat-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--pi-accent);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pi-stat-label {
    display: block;
    margin-top: 0.35rem;
    color: #5c636a;
    font-size: 0.92rem;
}

.pi-section {
    padding: 4.5rem 0;
}

.pi-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.pi-section-lede {
    color: #5c636a;
    font-size: 1.1rem;
    max-width: 40rem;
}

.pi-feature {
    height: 100%;
    padding: 1.5rem 1.35rem 1.4rem;
    border-radius: 1.1rem;
    border: 1px solid #ece7e2;
    background: linear-gradient(180deg, #fff, #fbf8f5);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pi-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--pi-accent-rgb), 0.35);
    box-shadow: 0 16px 32px rgba(var(--pi-accent-rgb), 0.1);
}

.pi-feature-icon {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    margin-bottom: 0.9rem;
    color: #fff;
    background: var(--pi-accent);
    font-size: 1.2rem;
}

.pi-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.pi-feature p {
    color: #5c636a;
    margin-bottom: 0;
}

.pi-steps {
    counter-reset: pi-step;
    position: relative;
}

.pi-step {
    position: relative;
    padding: 1.4rem 1.4rem 1.4rem 5rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid #ece7e2;
    height: 100%;
    overflow: hidden;
}

.pi-step::before {
    counter-increment: pi-step;
    content: counter(pi-step);
    position: absolute;
    left: 1.1rem;
    top: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: var(--pi-accent);
    box-shadow: 0 0 0 6px rgba(var(--pi-accent-rgb), 0.12);
}

.pi-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.pi-cooling {
    position: relative;
    overflow: hidden;
    border-radius: 1.35rem;
    padding: 2.4rem 1.6rem;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(var(--pi-accent-rgb), 0.92), rgba(var(--pi-accent-rgb), 0.7)),
        #1a0b0e;
}

.pi-cooling::after {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-60%) rotate(12deg);
    animation: pi-sheen 5.5s ease-in-out infinite;
}

.pi-cooling h2,
.pi-cooling p {
    position: relative;
    z-index: 1;
}

.pi-cooling h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pi-cta-band {
    background: #0f0c0d;
    color: #fff;
    padding: 4.5rem 0;
}

.product-info--prepayment .pi-cta-band {
    background: #16110a;
}

.product-info--lease .pi-cta-band {
    background: #0b131c;
}

.pi-cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
}

.pi-switcher {
    padding: 3.5rem 0 4.5rem;
}

.pi-switch-card {
    display: block;
    height: 100%;
    padding: 1.4rem 1.3rem;
    border-radius: 1.1rem;
    border: 1px solid #e6e1db;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pi-switch-card:hover {
    transform: translateY(-5px);
    color: inherit;
    border-color: rgba(var(--pi-card-rgb, 144, 0, 32), 0.4);
    box-shadow: 0 16px 32px rgba(var(--pi-card-rgb, 144, 0, 32), 0.12);
}

.pi-switch-card.is-current {
    border-color: rgba(var(--pi-card-rgb, 144, 0, 32), 0.55);
    box-shadow: inset 0 0 0 1px rgba(var(--pi-card-rgb, 144, 0, 32), 0.2);
}

.pi-switch-card--oe { --pi-card-rgb: var(--product-oe-rgb); }
.pi-switch-card--prepayment { --pi-card-rgb: var(--product-prepayment-rgb); }
.pi-switch-card--lease { --pi-card-rgb: var(--product-lease-rgb); }

.pi-switch-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: rgb(var(--pi-card-rgb));
}

.pi-fn {
    color: var(--pi-accent);
    font-weight: 700;
    font-size: 0.85em;
    line-height: 0;
    vertical-align: super;
    text-decoration: none;
    margin-left: 0.08em;
}

.pi-hero .pi-fn,
.pi-hero .pi-fn:hover {
    color: #f4d896;
}

.pi-fn:hover,
.pi-fn:focus-visible {
    color: var(--pi-accent);
    text-decoration: underline;
}

.pi-withdraw-terms {
    scroll-margin-top: calc(var(--navbar-height) + 1.25rem);
    padding: 4.5rem 0 3.5rem;
    background: #f7f1e6;
    border-top: 1px solid rgba(139, 105, 20, 0.18);
}

.pi-withdraw-terms:target {
    box-shadow: inset 0 0 0 3px rgba(var(--product-prepayment-rgb), 0.35);
}

.pi-withdraw-star {
    margin: 0 0 0.35rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--product-prepayment);
}

.pi-withdraw-band {
    height: 100%;
    padding: 1.4rem 1.3rem 1.3rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(139, 105, 20, 0.18);
    box-shadow: 0 12px 28px rgba(61, 42, 8, 0.06);
}

.pi-withdraw-band-kicker {
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--product-prepayment);
}

.pi-withdraw-band h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    color: #1a1305;
}

.pi-withdraw-band p {
    color: #5c636a;
}

.pi-withdraw-note {
    margin: 1.5rem 0 0;
    color: #6c757d;
    font-size: 0.95rem;
    max-width: 46rem;
}

/* --- Overhaul / Exchange stage: engine swap + propeller --- */

.pi-swap {
    position: relative;
    width: min(100%, 28rem);
    height: 22rem;
}

.pi-swap-engine {
    position: absolute;
    width: 46%;
    top: 18%;
    text-align: center;
}

.pi-swap-engine img {
    width: 100%;
    max-height: 9.5rem;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
    animation: pi-float 4.6s ease-in-out infinite;
}

.pi-swap-engine--core {
    left: 0;
    animation: pi-swap-left 6.4s ease-in-out infinite;
}

.pi-swap-engine--fresh {
    right: 0;
    animation: pi-swap-right 6.4s ease-in-out infinite;
}

.pi-swap-engine figcaption {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.pi-prop {
    position: absolute;
    left: 50%;
    top: 38%;
    width: 5.6rem;
    height: 5.6rem;
    margin: -2.8rem 0 0 -2.8rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, #fff 0 10%, transparent 11%),
        radial-gradient(circle at 50% 50%, rgba(var(--pi-accent-rgb), 0.95) 0 22%, rgba(20, 3, 8, 0.9) 23% 100%);
    box-shadow: 0 0 0 8px rgba(var(--pi-accent-rgb), 0.18), 0 0 40px rgba(var(--pi-accent-rgb), 0.35);
    z-index: 2;
}

.pi-prop span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.42rem;
    height: 4.6rem;
    margin: -2.3rem 0 0 -0.21rem;
    border-radius: 50%;
    background: linear-gradient(#f4e2c8, #8b6914 55%, transparent);
    transform-origin: 50% 50%;
    opacity: 0.9;
}

.pi-prop span:nth-child(1) { transform: rotate(0deg); }
.pi-prop span:nth-child(2) { transform: rotate(60deg); }
.pi-prop span:nth-child(3) { transform: rotate(120deg); }

.pi-prop-spin {
    position: absolute;
    inset: 0.35rem;
    border-radius: 50%;
    animation: pi-spin 1.35s linear infinite;
}

.pi-swap-arrows {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    font-size: 1.4rem;
    letter-spacing: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    animation: pi-pulse 2.4s ease-in-out infinite;
}

/* --- Pre-payment stage: vault lock + savings orbit --- */

.pi-vault {
    position: relative;
    width: min(100%, 22rem);
    height: 22rem;
}

.pi-vault-ring,
.pi-vault-ring-2 {
    position: absolute;
    inset: 1.4rem;
    border-radius: 50%;
    border: 1px dashed rgba(244, 216, 150, 0.35);
    animation: pi-spin 22s linear infinite;
}

.pi-vault-ring-2 {
    inset: 3.1rem;
    border-style: solid;
    border-color: rgba(244, 216, 150, 0.18);
    animation-duration: 14s;
    animation-direction: reverse;
}

.pi-vault-core {
    position: absolute;
    inset: 5.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, #f8e7b0, #8b6914 55%, #3d2c08);
    box-shadow:
        inset 0 0 18px rgba(255, 230, 160, 0.45),
        0 0 0 10px rgba(139, 105, 20, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.35);
    color: #1a1305;
    font-size: 3.2rem;
    animation: pi-lock-breathe 3.4s ease-in-out infinite;
}

.pi-orbit {
    position: absolute;
    inset: 0;
    animation: pi-spin 12s linear infinite;
}

.pi-coin {
    position: absolute;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff6d0, #c9a227 60%, #7a5a10);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.28);
}

.pi-coin:nth-child(1) { top: 0.6rem; left: 50%; margin-left: -0.55rem; }
.pi-coin:nth-child(2) { bottom: 1.4rem; left: 18%; }
.pi-coin:nth-child(3) { top: 42%; right: 0.4rem; }

.pi-vault-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 236, 190, 0.78);
}

/* --- Lease stage: radar + uptime ring --- */

.pi-radar {
    position: relative;
    width: min(100%, 22rem);
    height: 22rem;
}

.pi-radar-face {
    position: absolute;
    inset: 1.2rem;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0 18%,
            rgba(160, 196, 220, 0.16) 18.4% 19.2%
        ),
        radial-gradient(circle at 50% 50%, rgba(61, 90, 115, 0.28), rgba(8, 16, 24, 0.9));
    border: 1px solid rgba(180, 210, 230, 0.28);
    box-shadow: inset 0 0 40px rgba(80, 140, 180, 0.18), 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.pi-radar-cross,
.pi-radar-cross::after {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(180, 210, 230, 0.22);
}

.pi-radar-cross::after {
    content: "";
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    transform: none;
}

.pi-radar-sweep {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg, transparent 0 68%, rgba(130, 190, 230, 0.0) 78%, rgba(160, 210, 240, 0.42) 100%);
    animation: pi-spin 3.6s linear infinite;
}

.pi-blip {
    position: absolute;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #d7f0ff;
    box-shadow: 0 0 0 0 rgba(215, 240, 255, 0.7);
    animation: pi-blip 2.8s ease-out infinite;
}

.pi-blip:nth-of-type(1) { top: 28%; left: 62%; animation-delay: 0s; }
.pi-blip:nth-of-type(2) { top: 58%; left: 30%; animation-delay: 0.8s; }
.pi-blip:nth-of-type(3) { top: 42%; left: 44%; animation-delay: 1.5s; }

.pi-uptime {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.pi-uptime strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
}

.pi-uptime span {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(210, 228, 240, 0.75);
}

.pi-timeline {
    display: grid;
    gap: 0.85rem;
}

.pi-timeline-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: center;
}

.pi-timeline-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
}

.pi-bar {
    height: 0.7rem;
    border-radius: 999px;
    background: #efe8dc;
    overflow: hidden;
}

.pi-bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pi-accent), #d4b25a);
    animation: pi-fill 2.4s ease forwards;
}

.pi-bar--late > span { animation-delay: 0.25s; width: 0; }
.pi-timeline-row:nth-child(1) .pi-bar > span { --pi-fill: 28%; }
.pi-timeline-row:nth-child(2) .pi-bar > span { --pi-fill: 62%; }
.pi-timeline-row:nth-child(3) .pi-bar > span { --pi-fill: 100%; }

.pi-compare {
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #ece7e2;
}

.pi-compare-col {
    padding: 1.6rem 1.4rem;
    height: 100%;
}

.pi-compare-col--old {
    background: #f6f1ec;
}

.pi-compare-col--new {
    background: linear-gradient(180deg, rgba(var(--pi-accent-rgb), 0.08), #fff);
}

@keyframes pi-spin {
    to { transform: rotate(360deg); }
}

@keyframes pi-grid-drift {
    from { background-position: 0 0; }
    to { background-position: 48px 48px; }
}

@keyframes pi-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--pi-accent-rgb), 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(var(--pi-accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--pi-accent-rgb), 0); }
}

@keyframes pi-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pi-swap-left {
    0%, 40% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(18%) scale(0.92); opacity: 0.35; }
    60%, 100% { transform: translateX(0); opacity: 1; }
}

@keyframes pi-swap-right {
    0%, 40% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-18%) scale(1.06); opacity: 1; }
    60%, 100% { transform: translateX(0); opacity: 1; }
}

@keyframes pi-lock-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes pi-blip {
    0% { box-shadow: 0 0 0 0 rgba(215, 240, 255, 0.65); opacity: 1; }
    80%, 100% { box-shadow: 0 0 0 14px rgba(215, 240, 255, 0); opacity: 0.55; }
}

@keyframes pi-sheen {
    0%, 35% { transform: translateX(-70%) rotate(12deg); }
    65%, 100% { transform: translateX(70%) rotate(12deg); }
}

@keyframes pi-fill {
    from { width: 0; }
    to { width: var(--pi-fill, 70%); }
}

.product-info.pi-reduced .pi-hero-gridlines,
.product-info.pi-reduced .pi-prop-spin,
.product-info.pi-reduced .pi-swap-engine,
.product-info.pi-reduced .pi-swap-engine img,
.product-info.pi-reduced .pi-vault-ring,
.product-info.pi-reduced .pi-vault-ring-2,
.product-info.pi-reduced .pi-vault-core,
.product-info.pi-reduced .pi-orbit,
.product-info.pi-reduced .pi-radar-sweep,
.product-info.pi-reduced .pi-blip,
.product-info.pi-reduced .pi-kicker-dot,
.product-info.pi-reduced .pi-swap-arrows,
.product-info.pi-reduced .pi-cooling::after,
.product-info.pi-reduced .pi-bar > span {
    animation: none !important;
}

.product-info.pi-reduced .pi-bar > span {
    width: var(--pi-fill, 70%);
}

@media (prefers-reduced-motion: reduce) {
    .pi-hero-gridlines,
    .pi-prop-spin,
    .pi-swap-engine,
    .pi-swap-engine img,
    .pi-vault-ring,
    .pi-vault-ring-2,
    .pi-vault-core,
    .pi-orbit,
    .pi-radar-sweep,
    .pi-blip,
    .pi-kicker-dot,
    .pi-swap-arrows,
    .pi-cooling::after,
    .pi-bar > span {
        animation: none !important;
    }

    .pi-bar > span {
        width: var(--pi-fill, 70%);
    }
}

@media (max-width: 991.98px) {
    .pi-hero {
        min-height: 0;
        padding-bottom: 5.5rem;
    }

    .pi-hero .lead {
        max-width: none;
    }

    .pi-hero-stage {
        min-height: 18rem;
        margin-top: 1.5rem;
    }

    .pi-swap,
    .pi-vault,
    .pi-radar {
        height: 18rem;
    }
}

@media (max-width: 575.98px) {
    .pi-hero h1 {
        font-size: 2.2rem;
    }

    .pi-step {
        padding-left: 4.4rem;
    }

    .pi-timeline-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}
