/* /ovh-dedicated-servers (ru, en, ro). Markup: includes/ovh-page.php and assets/js/ovh-page.js.
   Same design language as the /dedicated catalog (assets/css/dedicated-catalog.css): Inter and
   JetBrains Mono, the same neutral scale and the ABCD pink accent; Black Friday uses its own
   dark block with an orange accent. Comparison table from 992px, cards below.
   Fonts: Inter and JetBrains Mono, SIL Open Font License (assets/fonts/catalog/LICENSE-*.txt). */

@font-face { font-family: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/catalog/inter-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/catalog/inter-latin-ext-wght-normal.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; }
@font-face { font-family: "AbcdInter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/catalog/inter-latin-wght-normal.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: "AbcdMono"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/catalog/jetbrains-mono-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "AbcdMono"; font-style: normal; font-weight: 500; font-display: swap;
    src: url("../fonts/catalog/jetbrains-mono-latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }

.ovhp,
.ovhp-dialog,
.ovhp-toast {
    --o-bg: #f6f7f9;
    --o-surface: #fff;
    --o-surface-2: #f8f9fb;
    --o-surface-3: #f1f3f6;
    --o-border: #e5e7eb;
    --o-border-strong: #d1d5db;
    --o-ink: #111318;
    --o-ink-2: #4b5563;
    --o-ink-3: #6b7280;
    --o-accent: #c2185b;
    --o-accent-hover: #a3134c;
    --o-accent-soft: #fdeef3;
    --o-accent-text: #b0124f;
    --o-deal: #e8590c;
    --o-deal-soft: #fff1e8;
    --o-deal-text: #b8410f;
    --o-ok: #237032;
    --o-ok-soft: #ebf7ee;
    --o-queue: #111318;
    --o-queue-hover: #2d3340;
    --o-queue-soft: #fff7ea;
    --o-queue-line: rgba(217, 119, 6, 0.4);
    --o-queue-icon: #b45309;
    --o-game: #7c3aed;
    --o-game-soft: #f3edff;
    --o-bf-bg: #0e1015;
    --o-bf-card: #171a22;
    --o-bf-line: rgba(255, 255, 255, 0.1);
    --o-bf: #ff6a13;
    --o-bf-hover: #ff8238;
    --o-bf-text: #ffa260;
    --o-focus: #111318;
    --o-sticky-top: 77px;
    --o-sans: "AbcdInter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --o-mono: "AbcdMono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-family: var(--o-sans);
    font-feature-settings: "tnum" 1, "cv11" 1;
    color: var(--o-ink);
    -webkit-font-smoothing: antialiased;
}

[data-background="dark"] :is(.ovhp, .ovhp-dialog, .ovhp-toast),
[data-background="modern"] :is(.ovhp, .ovhp-dialog, .ovhp-toast) {
    --o-bg: #151a24;
    --o-surface: #1c2230;
    --o-surface-2: #222938;
    --o-surface-3: #2a3242;
    --o-border: #343d4f;
    --o-border-strong: #475268;
    --o-ink: #f3f5f9;
    --o-ink-2: #c3cad6;
    --o-ink-3: #9aa4b4;
    --o-accent: #d6336c;
    --o-accent-hover: #e04b80;
    --o-accent-soft: rgba(238, 85, 134, 0.16);
    --o-accent-text: #ff8fb4;
    --o-deal-soft: rgba(232, 89, 12, 0.18);
    --o-deal-text: #ffad6b;
    --o-ok: #69db7c;
    --o-ok-soft: rgba(105, 219, 124, 0.14);
    --o-queue: #f3f5f9;
    --o-queue-hover: #ffffff;
    --o-queue-soft: rgba(245, 158, 11, 0.12);
    --o-queue-icon: #fbbf24;
    --o-game-soft: rgba(124, 58, 237, 0.2);
    --o-focus: #f3f5f9;
}

.ovhp *,
.ovhp-dialog *,
.ovhp-toast * {
    box-sizing: border-box;
}

/* The theme sets Open Sans on headings and form controls with !important and loosens letter-spacing on body. */
.ovhp,
.ovhp-dialog,
.ovhp-toast {
    letter-spacing: 0;
}

html body .ovhp :is(h1, h2, h3, h4, button, input, select, textarea),
html body .ovhp-dialog :is(h2, h3, button, input, select, textarea) {
    font-family: var(--o-sans) !important;
}

html body .ovhp-dialog .ovhp-dlg__preview textarea {
    font-family: var(--o-mono) !important;
}

/* Focus ring visible on the dark Black Friday blocks too. */
.ovhp-promo,
.ovhp-bfcard,
.ovhp-final__box,
.ovhp-dlg__bar {
    --o-focus: #ffa260;
}

.ovhp :is(h1, h2) {
    text-wrap: balance;
}

.ovhp {
    display: block;
    overflow-x: clip;
    background: var(--o-bg);
    font-size: 15px;
    line-height: 1.55;
}

.ovhp :is(h1, h2, h3),
.ovhp-dialog :is(h2, h3) {
    margin: 0;
    font-family: var(--o-sans);
    color: var(--o-ink);
    text-transform: none;
    letter-spacing: -0.015em;
}

.ovhp p,
.ovhp-dialog p {
    margin: 0;
}

.ovhp ul,
.ovhp ol,
.ovhp-dialog ul,
.ovhp-dialog ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ovhp a,
.ovhp-dialog a {
    text-decoration: none;
}

.ovhp :is(a, button, select, input, summary, textarea):focus-visible,
.ovhp-dialog :is(a, button, select, input, summary, textarea):focus-visible,
.ovhp-dialog label:has(input:focus-visible) {
    outline: 2px solid var(--o-focus) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

.ovhp section {
    scroll-margin-top: 90px;
}

html.ovhp-lock {
    overflow: hidden;
}

.ovhp-muted {
    color: var(--o-ink-3);
}

/* ---------------------------------------------------------------- Buttons */
.ovhp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--o-ink) !important;
    font: 600 14px/1.2 var(--o-sans);
    letter-spacing: 0;
    text-align: center;
    text-decoration: none !important;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ovhp-btn:active {
    transform: translateY(1px);
}

.ovhp-btn i {
    font-size: 0.95em;
}

.ovhp-btn--primary {
    background: var(--o-accent);
    color: #fff !important;
}

.ovhp-btn--primary:hover {
    background: var(--o-accent-hover);
}

.ovhp-btn--ghost {
    border-color: var(--o-border-strong);
    background: var(--o-surface);
}

.ovhp-btn--ghost:hover {
    border-color: var(--o-ink-3);
}

.ovhp-btn--outline {
    border-color: var(--o-accent);
    color: var(--o-accent-text) !important;
}

.ovhp-btn--outline:hover {
    background: var(--o-accent-soft);
}

.ovhp-btn--deal {
    background: var(--o-bf);
    color: #14100c !important;
}

.ovhp-btn--deal:hover {
    background: var(--o-bf-hover);
}

.ovhp-btn--queue {
    border-color: var(--o-queue);
    background: var(--o-surface);
    color: var(--o-queue) !important;
}

.ovhp-btn--queue:hover {
    background: var(--o-queue-soft);
}

.ovhp-btn--queue-solid {
    background: var(--o-queue);
    color: #fff !important;
}

.ovhp-btn--queue-solid:hover {
    background: var(--o-queue-hover);
}

.ovhp-btn--light {
    background: #fff;
    color: #111318 !important;
}

.ovhp-btn--light:hover {
    background: #eef0f4;
}

.ovhp-btn--sm {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
}

.ovhp-btn--lg {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
}

.ovhp-btn--block {
    display: flex;
    width: 100%;
}

.ovhp-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--o-accent-text) !important;
    font: 600 13px/1.4 var(--o-sans);
    cursor: pointer;
}

.ovhp-link-btn:hover {
    text-decoration: underline !important;
}

/* ------------------------------------------------------------ Small parts */
.ovhp-kicker {
    margin-bottom: 8px !important;
    color: var(--o-accent-text);
    font: 700 12px/1.3 var(--o-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ovhp-kicker--deal {
    color: var(--o-bf-text);
}

.ovhp-head {
    max-width: 760px;
    margin-bottom: 28px;
}

.ovhp-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ovhp-head h2,
.ovhp-promo__head h2 {
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
}

.ovhp-head__lead {
    margin-top: 10px !important;
    color: var(--o-ink-2);
    font-size: 16px;
}

.ovhp-tag,
.ovhp-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    background: var(--o-surface-3);
    color: var(--o-ink-2);
    font: 600 11px/20px var(--o-sans);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ovhp-tag--deal {
    background: var(--o-deal-soft);
    color: var(--o-deal-text);
}

.ovhp-tag--setup {
    background: var(--o-ok-soft);
    color: var(--o-ok);
}

.ovhp-tag--new {
    background: var(--o-accent-soft);
    color: var(--o-accent-text);
}

.ovhp-tag--game {
    background: var(--o-game-soft);
    color: var(--o-game);
}

.ovhp-badge {
    min-height: 24px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 24px;
}

.ovhp-badge--deal {
    background: var(--o-bf);
    color: #14100c;
}

.ovhp-badge--setup {
    background: rgba(105, 219, 124, 0.16);
    color: #8ff0a4;
}

.ovhp-dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.ovhp-pulse {
    position: relative;
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fb344;
    box-shadow: 0 0 0 4px rgba(47, 179, 68, 0.16);
}

.ovhp-pulse.is-stale {
    background: #f59f00;
    box-shadow: 0 0 0 4px rgba(245, 159, 0, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
    .ovhp-pulse::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: inherit;
        animation: ovhp-pulse 2.4s ease-out infinite;
    }
}

@keyframes ovhp-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ------------------------------------------------------------------- Hero */
.ovhp-hero {
    position: relative;
    padding: 142px 0 44px;
    background:
        radial-gradient(ellipse 60% 70% at 92% 0%, rgba(255, 106, 19, 0.1), transparent 70%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(194, 24, 91, 0.07), transparent 70%),
        linear-gradient(180deg, var(--o-surface) 0%, var(--o-bg) 100%);
}

.ovhp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(17, 19, 24, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 19, 24, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 30%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 30% 30%, #000, transparent 75%);
    pointer-events: none;
}

.ovhp-hero > .container {
    position: relative;
}

.ovhp-bc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 22px;
    color: var(--o-ink-3);
    font-size: 13px;
}

.ovhp-bc li + li::before {
    content: "/";
    margin-right: 4px;
    color: var(--o-border-strong);
}

.ovhp-bc a {
    color: var(--o-ink-2) !important;
}

.ovhp-bc a:hover {
    color: var(--o-accent-text) !important;
}

.ovhp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    gap: 48px;
    align-items: center;
}

.ovhp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px !important;
    padding: 6px 12px;
    border: 1px solid var(--o-border);
    border-radius: 999px;
    background: var(--o-surface);
    color: var(--o-ink-2);
    font-size: 13px;
    font-weight: 600;
}

.ovhp-eyebrow--deal {
    border-color: rgba(232, 89, 12, 0.35);
    background: var(--o-deal-soft);
    color: var(--o-deal-text) !important;
    transition: border-color 0.15s ease;
}

.ovhp-eyebrow--deal:hover {
    border-color: var(--o-deal);
}

.ovhp-eyebrow--deal .ovhp-pulse {
    background: var(--o-deal);
}

.ovhp-eyebrow--deal .fa-arrow-down {
    font-size: 11px;
}

.ovhp-hero h1 {
    max-width: 760px;
    font-size: 52px;
    font-weight: 780;
    line-height: 1.06;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.ovhp-hero h1 span {
    display: block;
    margin-top: 6px;
    color: var(--o-accent);
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ovhp-lead {
    max-width: 660px;
    margin-top: 20px !important;
    color: var(--o-ink-2);
    font-size: 18px;
    line-height: 1.6;
}

.ovhp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ovhp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 26px !important;
    color: var(--o-ink-2);
    font-size: 14px;
}

.ovhp-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ovhp-trust i {
    width: 16px;
    color: var(--o-accent);
    text-align: center;
}

/* Black Friday card in the hero */
.ovhp-bfcard {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 106, 19, 0.35), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(255, 183, 3, 0.12), transparent 50%),
        var(--o-bf-bg);
    color: #fff;
    box-shadow: 0 30px 60px -20px rgba(14, 16, 21, 0.45);
}

.ovhp-bfcard__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--o-bf);
    color: #14100c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ovhp-bfcard__title {
    margin-top: 16px !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ovhp-bfcard__big {
    margin-top: 2px !important;
    background: linear-gradient(100deg, #ff8a3d 0%, #ffc15e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #ff8a3d;
    -webkit-text-fill-color: transparent;
    font-size: 56px;
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.ovhp-bfcard__text {
    margin-top: 10px !important;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
}

.ovhp-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid var(--o-bf-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.ovhp-countdown__label {
    flex: 1 0 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.ovhp-countdown__cells {
    display: flex;
    gap: 8px;
}

.ovhp-countdown__cells > span {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 58px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
}

.ovhp-countdown__cells b {
    font: 500 22px/1.1 var(--o-mono);
    color: #fff;
}

.ovhp-countdown__cells small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.ovhp-countdown__date {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

/* Stats under the hero */
.ovhp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 40px 0 0;
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface);
}

.ovhp-stats > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 2px;
    padding: 18px 22px;
}

.ovhp-stats > div + div {
    border-left: 1px solid var(--o-border);
}

.ovhp-stats dt {
    color: var(--o-ink-3);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.ovhp-stats dd {
    margin: 0;
    color: var(--o-ink);
    font-size: 28px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ovhp-stats dd small {
    margin-left: 2px;
    color: var(--o-ink-3);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

/* ------------------------------------------------------- Black Friday block */
.ovhp-promo {
    padding: 72px 0;
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255, 106, 19, 0.16), transparent 70%),
        var(--o-bf-bg);
    color: #fff;
}

.ovhp-promo h2 {
    color: #fff;
}

.ovhp-promo__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: 28px;
}

.ovhp-promo__head > div:first-child {
    max-width: 680px;
}

.ovhp-promo__lead {
    margin-top: 10px !important;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}

.ovhp-promo__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ovhp-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font: 600 14px/1 var(--o-sans);
    cursor: pointer;
}

.ovhp-tab span {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--o-mono);
    font-size: 12px;
}

.ovhp-tab:hover {
    border-color: rgba(255, 255, 255, 0.45);
}

.ovhp-tab[aria-pressed="true"] {
    border-color: #fff;
    background: #fff;
    color: #111318;
}

.ovhp-tab[aria-pressed="true"] span {
    color: var(--o-ink-3);
}

.ovhp-promo :focus-visible {
    outline-color: #fff !important;
}

.ovhp-promo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 16px;
}

.ovhp-promo__more {
    display: flex;
    justify-content: center;
}

.ovhp-promo__more .ovhp-btn {
    margin-top: 20px;
}

.ovhp-promo__more .ovhp-btn[hidden] {
    display: none;
}

.ovhp-pcard {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--o-bf-line);
    border-radius: 16px;
    background: var(--o-bf-card);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ovhp-pcard[hidden] {
    display: none;
}

.ovhp-pcard:hover {
    border-color: rgba(255, 138, 61, 0.55);
}

.ovhp-pcard__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
    margin-bottom: 14px;
}

.ovhp-pcard__model {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    color: #fff !important;
    font-size: 21px;
    font-weight: 750;
    line-height: 1.2;
}

.ovhp-pcard__range {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.ovhp-pcard__cpu {
    margin-top: 4px !important;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.ovhp-pcard__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-top: 10px !important;
}

.ovhp-pcard__specs li {
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
    font: 400 12px/18px var(--o-mono);
}

.ovhp-pcard__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 5px;
    margin-top: 18px;
}

.ovhp-pcard__price strong {
    color: #fff;
    font-size: 32px;
    font-weight: 780;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ovhp-from,
.ovhp-per {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.ovhp-pcard__price s {
    margin-left: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
}

.ovhp-pcard__then,
.ovhp-pcard__setup {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.ovhp-pcard__then {
    margin-top: 2px !important;
}

.ovhp-pcard__setup.is-deal {
    color: #8ff0a4;
    font-weight: 600;
}

.ovhp-stock {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 16px !important;
    font-size: 13px;
    font-weight: 600;
}

.ovhp-stock .ovhp-dot {
    flex: none;
    margin-top: 5px;
}

.ovhp-stock.is-ok {
    color: #8ff0a4;
}

.ovhp-stock.is-sold {
    color: #ffd08a;
}

.ovhp-pcard .ovhp-btn {
    width: 100%;
    margin-top: auto;
}

.ovhp-pcard.is-sold .ovhp-btn--queue {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff !important;
}

.ovhp-pcard.is-sold .ovhp-btn--queue:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ovhp-queue-note {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px dashed rgba(255, 162, 96, 0.5);
    border-radius: 14px;
    background: rgba(255, 106, 19, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.ovhp-queue-note > i {
    margin-top: 3px;
    color: var(--o-bf-text);
    font-size: 18px;
}

.ovhp-queue-note__title {
    margin-bottom: 2px !important;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.ovhp-queue-note--light {
    max-width: 880px;
    margin: 28px auto 0;
    border-color: var(--o-queue-line);
    background: var(--o-queue-soft);
    color: var(--o-ink-2);
}

.ovhp-queue-note--light > i {
    color: var(--o-queue-icon);
}

.ovhp-queue-note--light .ovhp-queue-note__title {
    color: var(--o-ink);
}

.ovhp-promo__terms {
    margin-top: 14px !important;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

/* ---------------------------------------------------------------- Catalog */
.ovhp-catalog {
    padding: 72px 0 64px;
}

.ovhp-noscript {
    padding: 16px;
    border-radius: 12px;
    background: var(--o-deal-soft);
    color: var(--o-deal-text);
}

.ovhp-filters {
    padding: 16px;
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface);
}

.ovhp-filters__top {
    display: flex;
    gap: 10px;
}

.ovhp-search {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.ovhp-search > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--o-ink-3);
    transform: translateY(-50%);
    pointer-events: none;
}

.ovhp-search input,
.ovhp-select select,
.ovhp-dialog select {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--o-border-strong);
    border-radius: 10px;
    background-color: var(--o-surface);
    color: var(--o-ink);
    font: 400 14px/1.2 var(--o-sans);
    box-shadow: none;
}

.ovhp-search input {
    padding-left: 40px;
}

.ovhp-search input::placeholder {
    color: var(--o-ink-3);
    opacity: 1;
}

.ovhp-select select,
.ovhp-dialog select {
    padding-right: 34px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.6' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.ovhp-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 0;
}

.ovhp-select > span {
    color: var(--o-ink-3);
    font-size: 12px;
    font-weight: 600;
}

.ovhp-select--sort {
    flex: 0 0 230px;
}

.ovhp-filters__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--o-border-strong);
    border-radius: 10px;
    background: var(--o-surface);
    color: var(--o-ink);
    font: 600 14px/1 var(--o-sans);
    cursor: pointer;
}

.ovhp-lines {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ovhp-lines::-webkit-scrollbar {
    display: none;
}

.ovhp-chip {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--o-border);
    border-radius: 999px;
    background: var(--o-surface-2);
    color: var(--o-ink-2);
    font: 600 13px/1 var(--o-sans);
    cursor: pointer;
}

.ovhp-chip span {
    color: var(--o-ink-3);
    font: 500 11px/1 var(--o-mono);
}

.ovhp-chip span:empty {
    display: none;
}

.ovhp-chip:hover {
    border-color: var(--o-border-strong);
    color: var(--o-ink);
}

/* No servers for the current filters: still clickable, so muted text instead of a faded chip. */
.ovhp-chip.is-empty {
    border-style: dashed;
    color: var(--o-ink-3);
}

.ovhp-chip[aria-pressed="true"] {
    border-color: var(--o-ink);
    background: var(--o-ink);
    color: var(--o-surface);
}

.ovhp-chip[aria-pressed="true"] span {
    color: rgba(255, 255, 255, 0.7);
}

.ovhp-filters__more {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--o-border);
}

.ovhp-filters__apply {
    display: none !important;
}

.ovhp-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    grid-column: 1 / -1;
}

.ovhp-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--o-ink-2);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.ovhp-switch input {
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    margin: 0;
    border-radius: 999px;
    background: var(--o-border-strong);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ovhp-switch input::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.ovhp-switch input:checked {
    background: var(--o-accent);
}

.ovhp-switch--deal input:checked {
    background: var(--o-deal);
}

.ovhp-switch input:checked::after {
    transform: translateX(16px);
}

.ovhp-results {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 18px 4px 10px;
    font-size: 14px;
}

.ovhp-results__count {
    color: var(--o-ink);
    font-weight: 600;
}

.ovhp-results__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--o-ink-3);
    font-size: 13px;
}

.ovhp-results .ovhp-link-btn {
    margin-left: auto;
}

/* Comparison table (cards below 992px) */
.ovhp-table {
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface);
}

.ovhp-table__head,
.ovhp-row__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 92px minmax(0, 0.8fr) minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(168px, 1.05fr) 158px 124px;
    align-items: center;
}

.ovhp-table__head {
    position: sticky;
    top: var(--o-sticky-top);
    z-index: 3;
    border-bottom: 1px solid var(--o-border);
    border-radius: 16px 16px 0 0;
    background: var(--o-surface-2);
}

.ovhp-table__head > span {
    padding: 11px 12px;
    white-space: nowrap;
    color: var(--o-ink-3);
    font: 700 11px/1.3 var(--o-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ovhp-table__head > span:first-child {
    padding-left: 20px;
}

.ovhp-table__head > span:nth-child(7) {
    text-align: right;
}

/* As tall as the rows that replace it, so the page below does not jump when the catalog arrives. */
.ovhp-skeleton {
    height: 122px;
    margin: 0 20px;
    border-bottom: 1px solid var(--o-border);
    background: linear-gradient(90deg, var(--o-surface) 0%, var(--o-surface-3) 40%, var(--o-surface) 80%) 0 0 / 200% 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .ovhp-skeleton {
        animation: ovhp-shimmer 1.4s linear infinite;
    }
}

@keyframes ovhp-shimmer {
    to { background-position: -200% 0; }
}

.ovhp-row {
    position: relative;
    border-bottom: 1px solid var(--o-border);
    font-size: 13px;
    line-height: 1.4;
}

.ovhp-row:last-child {
    border-bottom: 0;
}

.ovhp-row:hover {
    background: var(--o-surface-2);
}

.ovhp-row.is-sold {
    background: var(--o-surface-2);
}

.ovhp-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--o-queue-line);
    background: var(--o-queue-soft);
    color: var(--o-ink-2);
    font-size: 13.5px;
    scroll-margin-top: 140px;
}

.ovhp-group > i {
    margin-top: 3px;
    color: var(--o-queue-icon);
}

.ovhp-group b {
    color: var(--o-ink);
}

.ovhp-jump {
    min-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--o-accent-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ovhp-jump:hover {
    text-decoration: underline;
}

.ovhp-results {
    scroll-margin-top: 140px;
}

.ovhp-cell--ram b,
.ovhp-cell--net b,
.ovhp-cell--dcs small {
    white-space: nowrap;
}

.ovhp-row.is-promo::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--o-deal);
}

.ovhp-cell {
    min-width: 0;
    padding: 16px 12px;
    color: var(--o-ink);
}

.ovhp-cell b {
    font-weight: 600;
}

.ovhp-cell small {
    display: block;
    margin-top: 2px;
    color: var(--o-ink-3);
    font-size: 12px;
}

.ovhp-cell small.is-ok {
    color: var(--o-ok);
    font-weight: 600;
}

.ovhp-cell small.is-sold {
    color: var(--o-ink-3);
}

.ovhp-cell__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.ovhp-cell--server {
    padding-left: 20px;
}

.ovhp-row__model {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ovhp-row__name {
    min-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    cursor: pointer;
}

.ovhp-row__name:hover {
    color: var(--o-accent-text);
}

.ovhp-row__range {
    color: var(--o-ink-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.ovhp-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 4px 0 2px;
}

.ovhp-row__tags:empty {
    display: none;
}

.ovhp-row__cpu {
    margin-top: 2px !important;
    color: var(--o-ink);
    font-size: 13.5px;
    font-weight: 500;
}

.ovhp-row__sub {
    color: var(--o-ink-3);
    font: 400 12px/1.5 var(--o-mono);
}

.ovhp-row__sub span {
    white-space: nowrap;
}

.ovhp-cell--score b {
    font-family: var(--o-mono);
    font-weight: 500;
    cursor: help;
}

.ovhp-bar {
    display: block;
    width: 100%;
    max-width: 72px;
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--o-surface-3);
    overflow: hidden;
}

.ovhp-bar i {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #f06595, var(--o-accent));
}

.ovhp-dcs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ovhp-dc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 30px;
    padding: 0 5px;
    border: 1px dashed var(--o-border-strong);
    border-radius: 5px;
    color: var(--o-ink-3);
    font: 500 11px/18px var(--o-mono);
    cursor: help;
}

.ovhp-dc.is-ok {
    border-style: solid;
    border-color: rgba(43, 138, 62, 0.4);
    background: var(--o-ok-soft);
    color: var(--o-ok);
}

.ovhp-dc--more {
    border-style: dashed;
    background: none;
}

.ovhp-cell--price {
    text-align: right;
}

.ovhp-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0 4px;
    white-space: nowrap;
}

.ovhp-price b {
    color: var(--o-ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.ovhp .ovhp-cell .ovhp-per,
.ovhp-dialog .ovhp-per {
    color: var(--o-ink-3);
    font-size: 12px;
}

.ovhp-price s {
    flex-basis: 100%;
    color: var(--o-ink-3);
    font-size: 12px;
    text-align: right;
}

.ovhp-price__note {
    color: var(--o-ink-3);
    font-size: 12px;
}

.ovhp-price__note.is-deal {
    color: var(--o-deal-text);
    font-weight: 600;
}

.ovhp-cell--action {
    padding-right: 20px;
    text-align: right;
}

.ovhp-cell--action .ovhp-btn {
    width: 100%;
}

.ovhp-row.is-sold .ovhp-price b {
    color: var(--o-ink-2);
}

.ovhp-row__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -8px 0 0 20px;
    padding: 0 0 12px;
    border: 0;
    background: none;
    color: var(--o-accent-text);
    font: 600 12.5px/1.4 var(--o-sans);
    cursor: pointer;
}

.ovhp-row__toggle i {
    font-size: 10px;
    transition: transform 0.15s ease;
}

.ovhp-row__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.ovhp-row__toggle:hover {
    text-decoration: underline;
}

.ovhp-variants {
    margin: 0 20px 16px;
    border: 1px solid var(--o-border);
    border-radius: 12px;
    background: var(--o-surface);
    overflow: hidden;
}

.ovhp-variants__head,
.ovhp-variant {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.1fr) 150px 124px;
    align-items: center;
    gap: 0 12px;
    padding: 9px 14px;
}

.ovhp-variants__head {
    background: var(--o-surface-2);
    color: var(--o-ink-3);
    font: 700 10.5px/1.3 var(--o-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ovhp-variants__head > span:nth-child(4),
.ovhp-variant__price {
    text-align: right;
}

.ovhp-variant {
    border-top: 1px solid var(--o-border);
    font-size: 13px;
}

.ovhp-variant__price {
    white-space: nowrap;
}

.ovhp-variant__price b {
    font-size: 15px;
    font-weight: 700;
}

.ovhp-variant__price s {
    color: var(--o-ink-3);
    font-size: 12px;
}

.ovhp-variant small {
    color: var(--o-ink-3);
}

.ovhp-variant.is-sold {
    color: var(--o-ink-2);
}

.ovhp-variants__all {
    margin: 8px 14px 10px;
}

.ovhp-more {
    margin-top: 20px;
    text-align: center;
}

.ovhp-more[hidden],
.ovhp-variants[hidden] {
    display: none;
}

.ovhp-empty {
    padding: 56px 20px;
    text-align: center;
}

.ovhp-empty > i {
    color: var(--o-ink-3);
    font-size: 32px;
}

.ovhp-empty h3 {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 700;
}

.ovhp-empty p {
    max-width: 520px;
    margin: 8px auto 0 !important;
    color: var(--o-ink-2);
}

.ovhp-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* ------------------------------------------------------------ How to order */
.ovhp-howto {
    padding: 72px 0;
    background: var(--o-surface);
}

.ovhp-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: none;
}

.ovhp-steps li {
    padding: 22px;
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface-2);
}

.ovhp-steps__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--o-ink);
    color: var(--o-surface);
    font: 500 15px/1 var(--o-mono);
}

.ovhp-steps h3 {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 700;
}

.ovhp-steps p {
    margin-top: 6px !important;
    color: var(--o-ink-2);
    font-size: 14px;
}

/* ------------------------------------------------------------------ Ranges */
.ovhp-lines-section {
    padding: 72px 0;
}

.ovhp-ranges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.ovhp-range {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 18px;
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface);
    overflow: hidden;
}

.ovhp-range::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--range, var(--o-accent));
}

.ovhp-range--kimsufi { --range: #94a3b8; }
.ovhp-range--so-you-start { --range: #22b8cf; }
.ovhp-range--rise { --range: #4c6ef5; }
.ovhp-range--game { --range: #7c3aed; }
.ovhp-range--advance { --range: #f08c00; }
.ovhp-range--scale { --range: #c2185b; }
.ovhp-range--highgrade { --range: #111318; }

.ovhp-range--help {
    border-style: dashed;
    background: var(--o-surface-2);
}

.ovhp-range--help::before {
    display: none;
}

.ovhp-range--help .ovhp-range__link {
    color: var(--o-accent-text);
}

.ovhp-range h3 {
    font-size: 19px;
    font-weight: 750;
}

.ovhp-range__price {
    margin-top: 2px !important;
    color: var(--o-accent-text);
    font-size: 14px;
    font-weight: 700;
}

.ovhp-range__text {
    margin: 10px 0 14px !important;
    color: var(--o-ink-2);
    font-size: 14px;
}

.ovhp-range__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-top: auto;
    color: var(--o-ink) !important;
    font-size: 14px;
    font-weight: 600;
}

.ovhp-range__link i {
    font-size: 12px;
    transition: transform 0.15s ease;
}

.ovhp-range__link:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------------- Locations */
.ovhp-locations {
    padding: 72px 0;
    background: var(--o-surface);
}

.ovhp-regions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.ovhp-region {
    padding: 22px;
    border: 1px solid var(--o-border);
    border-radius: 16px;
    background: var(--o-surface-2);
}

.ovhp-region h3 {
    font-size: 19px;
    font-weight: 750;
}

.ovhp-region__traffic {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 14px !important;
    color: var(--o-ink-3);
    font-size: 13px;
}

.ovhp-region li + li {
    border-top: 1px solid var(--o-border);
}

.ovhp-region a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 2px;
    color: var(--o-ink) !important;
    font-size: 15px;
    font-weight: 600;
}

.ovhp-region a:hover {
    color: var(--o-accent-text) !important;
}

.ovhp-region a small {
    display: block;
    color: var(--o-ink-3);
    font-size: 12.5px;
    font-weight: 400;
}

.ovhp-region em {
    flex: none;
    color: var(--o-ok);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
}

.ovhp-region em.is-none {
    color: var(--o-ink-3);
    font-weight: 400;
}

/* --------------------------------------------------------------------- FAQ */
.ovhp-faq {
    padding: 72px 0;
}

.ovhp-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
}

.ovhp-faq__grid .ovhp-btn {
    margin-top: 20px;
}

.ovhp-faq details {
    border-bottom: 1px solid var(--o-border);
}

.ovhp-faq details:first-child {
    border-top: 1px solid var(--o-border);
}

.ovhp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    color: var(--o-ink);
    font-size: 16px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}

.ovhp-faq summary::-webkit-details-marker {
    display: none;
}

.ovhp-faq summary i {
    flex: none;
    color: var(--o-ink-3);
    font-size: 13px;
    transition: transform 0.2s ease;
}

.ovhp-faq details[open] summary i {
    transform: rotate(180deg);
}

.ovhp-faq details p {
    padding: 0 2px 20px;
    color: var(--o-ink-2);
    font-size: 15px;
    line-height: 1.65;
}

/* ------------------------------------------------------------------- Final */
.ovhp-final {
    padding: 0 0 80px;
}

.ovhp-final__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 40px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(194, 24, 91, 0.35), transparent 55%),
        #111318;
    color: #fff;
}

.ovhp-final__box > div:first-child {
    max-width: 640px;
}

.ovhp-final h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 750;
}

.ovhp-final p {
    margin-top: 8px !important;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}

.ovhp-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ovhp-final :focus-visible {
    outline-color: #fff !important;
}

/* ------------------------------------------------------------ Order dialog */
.ovhp-dialog {
    width: min(1000px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--o-surface);
    color: var(--o-ink);
    box-shadow: 0 40px 100px -20px rgba(10, 12, 16, 0.5);
    overflow: auto;
    overscroll-behavior: contain;
    font-size: 14px;
    line-height: 1.5;
}

.ovhp-dialog::backdrop {
    background: rgba(10, 12, 16, 0.6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.ovhp-dialog:not([open]) {
    display: none;
}

.ovhp-dlg__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--o-border);
    background: var(--o-surface);
}

.ovhp-dlg__kicker {
    color: var(--o-accent-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ovhp-dlg__kicker.is-queue {
    color: var(--o-queue-icon);
}

.ovhp-dlg__head h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin-top: 2px;
    font-size: 24px;
    font-weight: 750;
}

.ovhp-dlg__head h2 span {
    color: var(--o-ink-3);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.ovhp-dlg__cpu {
    margin-top: 2px !important;
    color: var(--o-ink-2);
    font-size: 14px;
}

.ovhp-dlg__close {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--o-border);
    border-radius: 10px;
    background: var(--o-surface);
    color: var(--o-ink-2);
    font-size: 18px;
    cursor: pointer;
}

.ovhp-dlg__close:hover {
    color: var(--o-ink);
    border-color: var(--o-border-strong);
}

.ovhp-dlg__body {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
}

.ovhp-dlg__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 24px 24px;
}

.ovhp-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ovhp-field__label {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    color: var(--o-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.ovhp-dcpick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ovhp-dcpick__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "radio name price" "radio ready price";
    align-items: center;
    gap: 0 10px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--o-border);
    border-radius: 10px;
    background: var(--o-surface);
    cursor: pointer;
}

.ovhp-dcpick__item:hover {
    border-color: var(--o-border-strong);
}

.ovhp-dcpick__item:has(input:checked) {
    border-color: var(--o-accent);
    background: var(--o-accent-soft);
    box-shadow: inset 0 0 0 1px var(--o-accent);
}

.ovhp-dcpick__item input {
    grid-area: radio;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--o-accent);
}

.ovhp-dcpick__name {
    grid-area: name;
    min-width: 0;
    color: var(--o-ink);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
}

.ovhp-dcpick__name small {
    margin-left: 6px;
    color: var(--o-ink-3);
    font-size: 12px;
    font-weight: 400;
}

.ovhp-dcpick__ready {
    grid-area: ready;
    color: var(--o-ok);
    font-size: 12px;
    font-weight: 600;
}

.ovhp-dcpick__item.is-sold .ovhp-dcpick__ready {
    color: var(--o-ink-3);
    font-weight: 500;
}

.ovhp-dcpick__price {
    grid-area: price;
    color: var(--o-ink);
    font-size: 14px;
    font-weight: 700;
}

.ovhp-seg {
    display: inline-flex;
    padding: 3px;
    border-radius: 10px;
    background: var(--o-surface-3);
}

.ovhp-seg label {
    margin: 0;
    cursor: pointer;
}

.ovhp-seg input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ovhp-seg span {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--o-ink-2);
    font-size: 13.5px;
    font-weight: 600;
}

.ovhp-seg input:checked + span {
    background: var(--o-surface);
    color: var(--o-ink);
    box-shadow: 0 1px 3px rgba(17, 19, 24, 0.14);
}

.ovhp-dlg__static {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--o-surface-2);
}

.ovhp-dlg__specs {
    border-top: 1px solid var(--o-border);
    padding-top: 14px;
}

.ovhp-dlg__specs summary,
.ovhp-dlg__preview summary {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--o-ink);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.ovhp-dlg__specs summary::-webkit-details-marker,
.ovhp-dlg__preview summary::-webkit-details-marker {
    display: none;
}

.ovhp-dlg__specs summary::after,
.ovhp-dlg__preview summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}

.ovhp-dlg__specs[open] summary::after,
.ovhp-dlg__preview[open] summary::after {
    margin-top: 3px;
    transform: rotate(225deg);
}

.ovhp-dlg__first {
    margin-top: 8px !important;
    padding-top: 8px;
    border-top: 1px dashed var(--o-border);
    color: var(--o-ink);
    font-size: 13px;
    font-weight: 600;
}

.ovhp-dlg__avail.is-build {
    color: var(--o-ink-2);
}

.ovhp-dlg__bar {
    display: none;
}

.ovhp-specs {
    margin: 10px 0 0;
}

.ovhp-specs > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--o-border);
}

.ovhp-specs dt {
    color: var(--o-ink-3);
    font-weight: 500;
}

.ovhp-specs dd {
    margin: 0;
    color: var(--o-ink);
}

.ovhp-dlg__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px 24px;
    border-left: 1px solid var(--o-border);
    background: var(--o-surface-2);
}

.ovhp-dlg__total {
    padding: 16px;
    border: 1px solid var(--o-border);
    border-radius: 14px;
    background: var(--o-surface);
}

.ovhp-dlg__total-label {
    color: var(--o-ink-3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ovhp-price--lg {
    justify-content: flex-start;
    margin-top: 2px;
}

.ovhp-price--lg b {
    font-size: 34px;
    font-weight: 780;
}

.ovhp-price--lg s {
    flex-basis: auto;
    margin-left: 6px;
    font-size: 15px;
}

.ovhp-dlg__line {
    color: var(--o-ink-2);
    font-size: 13.5px;
}

.ovhp-dlg__line.is-deal {
    color: var(--o-ok);
    font-weight: 600;
}

.ovhp-dlg__note {
    display: flex;
    gap: 8px;
    margin-top: 8px !important;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--o-deal-soft);
    color: var(--o-deal-text);
    font-size: 13px;
    font-weight: 600;
}

.ovhp-dlg__note i {
    margin-top: 3px;
}

.ovhp-dlg__where,
.ovhp-dlg__avail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--o-ink-2);
    font-size: 13.5px;
}

.ovhp-dlg__avail {
    color: var(--o-ok);
    font-weight: 600;
}

.ovhp-dlg__queue {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--o-queue-line);
    border-radius: 12px;
    background: var(--o-queue-soft);
    color: var(--o-ink);
    font-size: 13.5px;
}

.ovhp-dlg__queue i {
    margin-top: 3px;
    color: var(--o-queue-icon);
}

.ovhp-dlg__status {
    min-height: 20px;
    font-size: 13px;
    font-weight: 600;
}

.ovhp-dlg__status.is-ok {
    color: var(--o-ok);
}

.ovhp-dlg__status.is-error {
    color: var(--o-deal-text);
}

.ovhp-dlg__steps {
    counter-reset: ovhp-step;
    color: var(--o-ink-2);
    font-size: 13px;
}

.ovhp-dlg__steps li {
    position: relative;
    padding-left: 26px;
    counter-increment: ovhp-step;
}

.ovhp-dlg__steps li + li {
    margin-top: 6px;
}

.ovhp-dlg__steps li::before {
    content: counter(ovhp-step);
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--o-ink);
    color: var(--o-surface);
    font: 500 11px/18px var(--o-mono);
    text-align: center;
}

.ovhp-dlg__hint {
    color: var(--o-ink-3);
    font-size: 12.5px;
}

.ovhp-dlg__preview textarea {
    display: block;
    width: 100%;
    margin: 10px 0 6px;
    padding: 10px 12px;
    border: 1px solid var(--o-border-strong);
    border-radius: 10px;
    background: var(--o-surface);
    color: var(--o-ink);
    font: 400 12px/1.5 var(--o-mono);
    font-family: var(--o-mono) !important;
    resize: vertical;
}

/* ------------------------------------------------------------------- Toast */
.ovhp-toast {
    position: fixed;
    right: 16px;
    left: 16px;
    bottom: 24px;
    z-index: 10050;
    width: fit-content;
    max-width: min(560px, calc(100vw - 32px));
    margin-inline: auto;
    padding: 12px 18px;
    border-radius: 12px;
    background: #111318;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(10, 12, 16, 0.3);
}

.ovhp-toast[hidden] {
    display: none;
}

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1199.98px) {
    .ovhp-hero h1 {
        font-size: 44px;
    }

    .ovhp-filters__more {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Cards instead of the comparison table below 1200px; two cards per row on tablets. */
@media (max-width: 1199.98px) {
    .ovhp-table {
        border: 0;
        background: none;
    }

    .ovhp-table__head {
        display: none;
    }

    .ovhp-table__body {
        display: grid;
        gap: 12px;
    }

    .ovhp-skeleton {
        height: 400px;
        margin: 0;
        border: 1px solid var(--o-border);
        border-radius: 16px;
    }

    .ovhp-row {
        border: 1px solid var(--o-border);
        border-radius: 16px;
        background: var(--o-surface);
    }

    .ovhp-row:last-child {
        border-bottom: 1px solid var(--o-border);
    }

    .ovhp-row:hover {
        background: var(--o-surface);
    }

    .ovhp-row__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        padding: 16px 16px 4px;
        gap: 12px 16px;
    }

    .ovhp-cell {
        padding: 0;
    }

    .ovhp-cell--server {
        grid-column: 1 / -1;
        padding: 0;
    }

    .ovhp-cell__label {
        position: static !important;
        display: block;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        margin-bottom: 2px;
        color: var(--o-ink-3);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .ovhp-cell--price {
        align-self: end;
        padding-top: 10px;
        border-top: 1px solid var(--o-border);
        text-align: left;
    }

    .ovhp-cell--price .ovhp-price {
        justify-content: flex-start;
    }

    .ovhp-price s {
        flex-basis: auto;
        margin-left: 4px;
    }

    .ovhp-cell--dcs {
        grid-column: 1 / -1;
    }

    .ovhp-cell--action {
        align-self: stretch;
        display: flex;
        align-items: center;
        padding: 10px 0 0;
        border-top: 1px solid var(--o-border);
    }

    .ovhp-cell--action .ovhp-btn {
        width: 100%;
        min-height: 44px;
    }

    .ovhp-row__toggle {
        margin: 4px 16px 0;
        padding: 10px 0 14px;
    }

    .ovhp-variants {
        margin: 0 12px 12px;
    }

    .ovhp-variants__head {
        display: none;
    }

    .ovhp-variant {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 4px 12px;
        padding: 12px;
    }

    .ovhp-variant:first-of-type {
        border-top: 0;
    }

    .ovhp-variant__disk,
    .ovhp-variant__dcs {
        grid-column: 1;
    }

    .ovhp-variant__price {
        grid-column: 2;
        grid-row: 1;
    }

    .ovhp-variant .ovhp-btn {
        grid-column: 2;
        grid-row: 2 / span 2;
        align-self: end;
    }

    .ovhp-cell--dcs {
        grid-column: 1 / -1;
    }

    .ovhp-cell--action {
        align-self: stretch;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1199.98px) {
    .ovhp-table__body > .ovhp-group {
        border: 1px solid var(--o-queue-line);
        border-radius: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .ovhp-table__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .ovhp-table__body > .ovhp-group,
    .ovhp-table__body > .ovhp-empty {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .ovhp-hero {
        padding-top: 128px;
    }

    .ovhp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

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

    .ovhp-stats > div:nth-child(3) {
        border-left: 0;
    }

    .ovhp-stats > div:nth-child(n + 3) {
        border-top: 1px solid var(--o-border);
    }

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

    .ovhp-regions {
        grid-template-columns: minmax(0, 1fr);
    }

    .ovhp-faq__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ovhp-dlg__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .ovhp-dlg__side {
        border-left: 0;
        border-top: 1px solid var(--o-border);
    }
}

@media (max-width: 767.98px) {
    .ovhp {
        font-size: 14px;
    }

    .ovhp-hero {
        padding: 112px 0 32px;
    }

    .ovhp-hero h1 {
        font-size: 34px;
    }

    .ovhp-lead {
        font-size: 16px;
    }

    .ovhp-actions .ovhp-btn {
        flex: 1 1 100%;
    }

    .ovhp-trust {
        display: grid;
        gap: 8px;
    }

    .ovhp-bfcard {
        padding: 22px;
    }

    .ovhp-bfcard__big {
        font-size: 46px;
    }

    .ovhp-stats dd {
        font-size: 24px;
    }

    .ovhp-stats > div {
        padding: 14px 16px;
    }

    .ovhp-head h2,
    .ovhp-promo__head h2 {
        font-size: 26px;
    }

    .ovhp-promo,
    .ovhp-catalog,
    .ovhp-howto,
    .ovhp-lines-section,
    .ovhp-locations,
    .ovhp-faq {
        padding: 52px 0;
    }

    .ovhp-promo__tabs {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ovhp-tab {
        flex: none;
    }

    .ovhp-filters {
        position: relative;
        padding: 12px;
    }

    .ovhp-select--sort {
        display: none;
    }

    .ovhp-filters__toggle {
        display: inline-flex;
    }

    .ovhp-filters__more {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ovhp-filters.is-open .ovhp-filters__more {
        display: grid;
    }

    .ovhp-filters.is-open .ovhp-select--sort {
        display: flex;
    }

    .ovhp-filters__top {
        flex-wrap: wrap;
    }

    .ovhp-filters.is-open .ovhp-select--sort {
        flex: 1 1 100%;
        order: 3;
    }

    .ovhp-row__grid {
        gap: 12px;
    }

    .ovhp-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .ovhp-final__box {
        padding: 28px 22px;
    }

    .ovhp-final__actions,
    .ovhp-final__actions .ovhp-btn {
        width: 100%;
    }

    .ovhp-dialog {
        width: 100vw;
        max-height: 100vh;
        max-height: 100dvh;
        height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    .ovhp-dlg__head {
        padding: 16px;
    }

    .ovhp-dlg__head h2 {
        font-size: 21px;
    }

    .ovhp-dlg__form,
    .ovhp-dlg__side {
        padding: 16px;
    }

    .ovhp-dcpick {
        grid-template-columns: minmax(0, 1fr);
    }

    .ovhp-specs > div {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    /* Phones: shorter first screen and compact catalog cards. */
    .ovhp-trust li:nth-child(3),
    .ovhp-trust li:nth-child(6) {
        display: none;
    }

    .ovhp-bfcard__text {
        display: none;
    }

    .ovhp-cell--score {
        display: none;
    }

    .ovhp-filters.is-open .ovhp-filters__apply {
        position: sticky;
        bottom: 12px;
        z-index: 2;
        display: flex !important;
        grid-column: 1 / -1;
        width: 100%;
    }

    .ovhp-dlg__cpu,
    .ovhp-dlg__head .ovhp-row__tags {
        display: none;
    }

    .ovhp-dlg__bar {
        position: sticky;
        bottom: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--o-border);
        background: var(--o-surface);
        box-shadow: 0 -8px 24px -12px rgba(10, 12, 16, 0.25);
    }

    .ovhp-dlg__bar-price {
        display: flex;
        flex-direction: column;
        flex: none;
        color: var(--o-ink-3);
        font-size: 12px;
        line-height: 1.2;
    }

    .ovhp-dlg__bar-price b {
        color: var(--o-ink);
        font-size: 18px;
    }

    .ovhp-dlg__bar-price small {
        color: var(--o-ok);
        font-weight: 600;
    }

    .ovhp-dlg__bar .ovhp-btn {
        flex: 1;
        min-height: 46px;
        padding: 0 12px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ovhp *,
    .ovhp-dialog * {
        transition: none !important;
        animation: none !important;
    }
}

/* Screen-reader-only text (e.g. "instead of" before a struck-out price). */
.ovhp-vh {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.ovhp [data-promo-ui][hidden] {
    display: none !important;
}

.ovhp-range__sub {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 32px;
    margin: -8px 0 8px;
    color: var(--o-ink-2) !important;
    font-size: 13px;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.ovhp-range__sub:hover {
    color: var(--o-ink) !important;
}

.ovhp-dcpick__item:has(input:checked) .ovhp-dcpick__name small {
    color: var(--o-ink-2);
}

.ovhp-toast a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    /* 16px controls: iOS Safari zooms into smaller ones on focus. */
    .ovhp-search input,
    .ovhp-select select,
    .ovhp-dialog select,
    html body .ovhp-dialog .ovhp-dlg__preview textarea {
        font-size: 16px !important;
    }

    /* Phones show 12 cards per page. */
    .ovhp-skeleton:nth-child(n + 13) {
        display: none;
    }
}
