/* Black Friday bonus on payments: the announcement in the top bar of every page (.bf-news, .bf-chip)
   and the page /black-friday (.bfp). Markup: includes/black-friday.php and includes/black-friday-page.php.
   A black hero with the ABCD pink for actions and the OVH orange for the OVH block, like the other
   Black Friday elements of the site. */

@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; }

/* ---------- Top bar: news line on desktop, chip on phones and tablets ---------- */

#header .infonews .bf-news {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #14161f;
    text-decoration: none;
}

#header .infonews .bf-news__badge {
    flex: 0 0 auto;
    padding: 3px 8px 3px 20px;
    border-radius: 6px;
    background: #0b0d18 radial-gradient(circle at 10px 50%, #ff4f9a 0 3px, transparent 3.5px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#header .infonews .bf-news__text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#header .infonews .bf-news__cta {
    flex: 0 0 auto;
    color: #c2185f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#header .infonews .bf-news:hover .bf-news__cta,
#header .infonews .bf-news:focus-visible .bf-news__cta {
    color: #8e1046;
}

#header .infonews .bf-chip {
    display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    /* The news column is narrow here: the whole line is a link, so the "Details" label can go. */
    #header .infonews .bf-news__cta {
        display: none;
    }
}

@media (max-width: 991px) {
    #header .infonews .bf-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        margin-right: auto;
        padding: 5px 11px;
        border-radius: 999px;
        background: #0b0d18;
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
        text-decoration: none;
    }

    #header .infonews .bf-chip__text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #header .infonews .bf-chip i {
        color: #ff4f9a;
        font-size: 11px;
    }
}

/* ---------- Page /black-friday ---------- */

.bfp {
    --b-bg: #f4f5f9;
    --b-surface: #fff;
    --b-line: #e3e6ee;
    --b-ink: #0f1222;
    --b-ink-2: #444a5e;
    --b-ink-3: #636a80;
    --b-night: #0b0d18;
    --b-accent: #d1236b;
    --b-accent-strong: #ad1655;
    --b-accent-soft: #fde8f1;
    --b-hot: #ff4f9a;
    --b-ok: #0b7a45;
    --b-deal: #ff6a13;
    --b-deal-ink: #b93c06;
    --b-deal-soft: #fff0e6;
    --b-radius: 18px;
    --b-shadow: 0 1px 2px rgba(15, 18, 34, 0.05), 0 8px 24px rgba(15, 18, 34, 0.06);
    --b-btn: linear-gradient(135deg, #e0307a 0%, #b5175c 100%);
    --b-sans: "AbcdInter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    display: block;
    background: var(--b-bg);
    color: var(--b-ink);
    font-family: var(--b-sans);
    font-feature-settings: "cv11" 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.bfp h1,
.bfp h2,
.bfp p,
.bfp dl,
.bfp dd,
.bfp ol {
    margin: 0;
}

.bfp h1,
.bfp h2 {
    font-family: var(--b-sans);
    color: inherit;
    letter-spacing: -0.02em;
}

.bfp h2 {
    margin-bottom: 22px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.15;
}

.bfp a:focus-visible,
.bfp summary:focus-visible {
    outline: 3px solid #2f5cf5;
    outline-offset: 3px;
    border-radius: 6px;
}

/* Hero */

.bfp section.bfp-hero {
    position: relative;
    overflow: hidden;
    padding: 132px 0 64px;
    background:
        radial-gradient(ellipse 45% 70% at 88% 10%, rgba(255, 79, 154, 0.34), transparent 70%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(120, 60, 255, 0.22), transparent 70%),
        linear-gradient(170deg, #07080f 0%, #11122a 60%, #0b0d18 100%);
    color: #fff;
}

.bfp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    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;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}

.bfp-hero .container {
    position: relative;
}

.bfp-bc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 26px !important;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.bfp-bc li + li::before {
    content: "/";
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.3);
}

.bfp-bc a {
    color: rgba(255, 255, 255, 0.78) !important;
}

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

.bfp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px !important;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 600;
}

.bfp-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--b-hot);
    box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.2);
}

.bfp h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(44px, 6.4vw, 80px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.bfp-hero__lead {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.6;
}

.bfp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bfp-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px !important;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
}

.bfp-status i {
    color: var(--b-hot);
}

.bfp-status.is-after i {
    color: rgba(255, 255, 255, 0.5);
}

/* Bonus cards in the hero */

.bfp-offers {
    display: grid;
    gap: 14px;
}

.bfp-offer {
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--b-radius);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.bfp-offer:first-child {
    border-color: rgba(255, 79, 154, 0.55);
    background: linear-gradient(135deg, rgba(255, 79, 154, 0.2), rgba(255, 79, 154, 0.06));
}

.bfp-offer__big {
    color: #fff;
    font-size: 52px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.03em;
    font-feature-settings: "tnum" 1, "cv11" 1;
}

.bfp-offer--new .bfp-offer__big {
    font-size: 40px;
}

.bfp .bfp-offer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #ff8fbb !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bfp .bfp-offer__link:hover {
    color: #fff !important;
}

.bfp-offer__title {
    margin-top: 8px !important;
    color: #fff;
    font-size: 17px;
    font-weight: 750;
}

.bfp-offer__text {
    margin-top: 4px !important;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

/* Buttons */

.bfp .bfp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.bfp .bfp-btn:hover {
    transform: translateY(-1px);
}

.bfp .bfp-btn--primary {
    background: var(--b-btn);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(209, 35, 107, 0.3);
}

.bfp .bfp-btn--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.bfp .bfp-btn--line {
    border-color: #cdd3df;
    background: var(--b-surface);
    color: var(--b-ink) !important;
}

.bfp .bfp-btn--deal {
    background: #c2410c;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(194, 65, 12, 0.25);
}

/* Sections */

.bfp section.bfp-section {
    padding: 64px 0;
}

.bfp section.bfp-section--soft {
    background: var(--b-surface);
}

/* Examples */

.bfp-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.bfp-example {
    padding: 20px 22px;
    border: 1px solid var(--b-line);
    border-radius: var(--b-radius);
    background: var(--b-surface);
    box-shadow: var(--b-shadow);
}

.bfp-example--new {
    border-color: #f6b6d1;
    background: linear-gradient(180deg, #fff 0%, #fff6fa 100%);
}

.bfp-example dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--b-line);
}

.bfp-example dl > div.is-total {
    border-bottom: 0;
    padding-top: 10px;
}

.bfp-example dt {
    color: var(--b-ink-3);
    font-size: 14px;
    font-weight: 500;
}

.bfp-example dd {
    color: var(--b-ink);
    font-size: 17px;
    font-weight: 700;
    font-feature-settings: "tnum" 1, "cv11" 1;
}

.bfp-example dd.is-bonus {
    color: var(--b-ok);
}

.bfp-example .is-total dd {
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.bfp-example__note {
    margin-top: 10px !important;
    color: var(--b-ink-3);
    font-size: 13px;
}

.bfp-example--new .bfp-example__note {
    color: var(--b-accent-strong);
    font-weight: 600;
}

/* Steps */

.bfp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    list-style: none;
    counter-reset: bfp-step;
}

.bfp-steps li {
    position: relative;
    padding: 64px 22px 22px;
    border: 1px solid var(--b-line);
    border-radius: var(--b-radius);
    background: var(--b-bg);
    color: var(--b-ink-2);
    font-size: 16px;
    line-height: 1.55;
    counter-increment: bfp-step;
}

.bfp-steps li::before {
    content: counter(bfp-step);
    position: absolute;
    top: 20px;
    left: 22px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--b-night);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

/* Terms */

.bfp-terms {
    display: grid;
    border: 1px solid var(--b-line);
    border-radius: var(--b-radius);
    background: var(--b-surface);
    box-shadow: var(--b-shadow);
    overflow: hidden;
}

.bfp-terms > div {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 24px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--b-line);
}

.bfp-terms > div:last-child {
    border-bottom: 0;
}

.bfp-terms dt {
    color: var(--b-ink);
    font-size: 15px;
    font-weight: 700;
}

.bfp-terms dd {
    color: var(--b-ink-2);
    font-size: 15px;
    line-height: 1.6;
}

.bfp-terms a,
.bfp-faq a {
    color: var(--b-accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* OVH */

.bfp-ovh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 30px 32px;
    border: 1px solid #fed2b6;
    border-radius: var(--b-radius);
    background: linear-gradient(135deg, var(--b-deal-soft) 0%, #fff 70%);
}

.bfp-ovh__cta {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 10px;
}

.bfp-ovh p + p {
    margin-top: 10px;
}

.bfp-ovh h2 {
    margin-bottom: 10px;
    font-size: clamp(22px, 2.6vw, 28px);
}

.bfp-ovh p {
    max-width: 720px;
    color: var(--b-ink-2);
    font-size: 16px;
    line-height: 1.6;
}

.bfp-ovh .bfp-ovh__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px !important;
    color: var(--b-deal-ink);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FAQ */

.bfp-faq {
    display: grid;
    gap: 10px;
    max-width: 860px;
}

.bfp-faq details {
    border: 1px solid var(--b-line);
    border-radius: 14px;
    background: var(--b-bg);
}

.bfp-faq summary {
    position: relative;
    padding: 16px 52px 16px 20px;
    color: var(--b-ink);
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

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

.bfp-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--b-accent);
    font-size: 22px;
    font-weight: 500;
}

.bfp-faq details[open] summary::after {
    content: "−";
}

.bfp-faq details p {
    padding: 0 20px 18px;
    color: var(--b-ink-2);
    font-size: 15px;
    line-height: 1.6;
}

/* Final */

.bfp section.bfp-final {
    text-align: center;
}

.bfp-final p {
    color: var(--b-ink-2);
    font-size: 16px;
}

.bfp-final h2 {
    margin-bottom: 10px;
}

.bfp-final__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

/* Tablets and phones */

@media (max-width: 991px) {
    .bfp-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .bfp-offers {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

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

    .bfp-ovh {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .bfp section.bfp-hero {
        padding: 112px 0 44px;
    }

    .bfp-hero__lead {
        font-size: 16px;
    }

    .bfp-hero__cta .bfp-btn {
        flex: 1 1 100%;
    }

    .bfp section.bfp-section {
        padding: 44px 0;
    }

    .bfp-terms > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 14px 18px;
    }

    .bfp-ovh {
        padding: 24px 20px;
    }

    .bfp-ovh__cta,
    .bfp-ovh .bfp-btn {
        width: 100%;
    }

    .bfp-offer__big {
        font-size: 44px;
    }

    .bfp-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bfp-example {
        padding: 14px 14px 12px;
    }

    .bfp-example dt {
        font-size: 12px;
    }

    .bfp-example dd {
        font-size: 15px;
    }

    .bfp-example .is-total dd {
        font-size: 20px;
    }

    .bfp-example__note {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bfp .bfp-btn {
        transition: none;
    }

    .bfp .bfp-btn:hover {
        transform: none;
    }
}
