/* NOTE: ANNIVERSARY OFFER, REDESIGN (inc/new/anniversary-v2.php): 15-ani-v2, aniversam-15-ani-de-performanta-v2,
   produsul-lunii-in-rate-tbi-v2. Hero, timers, offer card, CTA band, form summary and the bar at the bottom of the
   screen. Only these pages load this file, so the text width overrides below stay here. */

:root {
    /* background of every other section (.kmd-av2-alt and the blocks listed below), lighter than the black ones */
    --kmd-av2-alt: #161616;
    --kmd-av2-card: #222222;
}

/* NOTE: TEXTS USE THE WHOLE CONTAINER (headings, leads, accordion answers, card section intros) */

.kmd-section-head,
.kmd-details__body > *,
.kmd-feature-cards__more,
.kmd-price-request__text {
    max-width: none;
}

/* NOTE: ALTERNATING BACKGROUNDS */

.kmd-av2-alt,
#pe-scurt,
#eligibilitate-detalii,
#oameni-detalii {
    background: var(--kmd-av2-alt);
}

/* cards on the lighter sections stay distinct from it */
.kmd-av2-alt .kmd-av2-figures li,
.kmd-av2-alt .kmd-av2-steps li,
#pe-scurt .kmd-key-features__list li {
    background: var(--kmd-av2-card);
}

/* a text section followed by its own accordion or figures: one band, a small gap between them */
.kmd-av2-flush-bottom {
    padding-bottom: 8px;
}

.kmd-av2-flush-bottom + .kmd-section {
    padding-top: 24px;
}

.kmd-av2-eyebrow {
    color: var(--kmd-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.kmd-av2-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kmd-av2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kmd-av2-actions--center {
    justify-content: center;
}

/* large buttons: a bit more room around the 18px label */
.kmd-av2-actions .kmd-btn--large,
.kmd-av2-timer__cta.kmd-btn--large {
    padding-inline: 32px;
}

.kmd-av2-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    color: var(--kmd-dark-text);
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.kmd-av2-perks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kmd-av2-perks svg {
    flex: none;
    color: var(--kmd-gold);
}

/* NOTE: HERO. Large screens: the section has the proportions of the 16:9 banner, so the whole photo is shown (no
   crop); the text sits over the "15" on the left. Under 1200px the banner is shown whole above the text. */

.kmd-av2-hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--kmd-black);
}

.kmd-av2-hero picture {
    display: block;
}

.kmd-av2-hero__bg {
    display: block;
    width: 100%;
    height: auto;
}

.kmd-av2-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: 28px 40px;
}

.kmd-av2-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 720px;
}

.kmd-av2-hero__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.kmd-av2-hero__text {
    color: #E4E4E4;
    font-size: 18px;
    line-height: 1.55;
}

.kmd-av2-hero .kmd-av2-actions {
    margin-top: 8px;
}

@media screen and (min-width: 1200px) {
    .kmd-av2-hero {
        display: flex;
        align-items: center;
        aspect-ratio: 1920 / 1080;
    }

    .kmd-av2-hero__bg {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
    }

    .kmd-av2-hero::before {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .62) 40%, rgba(0, 0, 0, 0) 66%);
        content: "";
    }

    .kmd-av2-hero__inner {
        width: 100%;
        padding-block: 48px;
    }

    .kmd-av2-hero__title {
        font-size: clamp(40px, 3vw, 54px);
    }

    .kmd-av2-hero__text {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {
    .kmd-av2-hero__title {
        font-size: 27px;
    }

    .kmd-av2-hero__text {
        font-size: 16px;
    }

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

/* NOTE: TIMER BAND: the price and the gift across the width, then the countdown */

.kmd-av2-timer {
    border-block: 1px solid var(--kmd-dark-line);
    background:
        radial-gradient(circle at 50% 0, rgba(198, 59, 55, .3), rgba(198, 59, 55, 0) 60%),
        var(--kmd-ink);
}

.kmd-av2-timer__inner {
    /* right column shared by the gift card and the countdown, so both have the same width */
    --kmd-av2-side: 500px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* price + gift */
.kmd-av2-deal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto var(--kmd-av2-side);
    gap: 16px 32px;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--kmd-dark-line);
}

.kmd-av2-deal__price {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kmd-av2-deal__price small,
.kmd-av2-deal__gift small {
    color: var(--kmd-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.kmd-av2-deal__price p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 18px;
}

/* the list price above the autumn price, both struck out, next to the anniversary price */
.kmd-av2-deal__price p {
    align-items: flex-end;
}

.kmd-av2-deal__old {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 4px;
}

.kmd-av2-deal__price s {
    color: #9A9A9A;
    font-size: 24px;
    line-height: 1.1;
}

.kmd-av2-deal__price s.kmd-av2-deal__list {
    color: #7A7A7A;
    font-size: 18px;
}

.kmd-av2-deal__price strong {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.kmd-av2-deal__price > span {
    color: var(--kmd-dark-text);
    font-size: 16px;
}

.kmd-av2-deal__price b {
    color: var(--kmd-white);
}

.kmd-av2-deal__plus {
    color: var(--kmd-white);
    font-size: 96px;
    font-weight: 300;
    line-height: 1;
}

.kmd-av2-deal__gift {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 12px 20px 12px 12px;
    border: 1px solid var(--kmd-gold);
    border-radius: var(--kmd-radius);
    background: rgba(210, 174, 136, .08);
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

.kmd-av2-deal__gift:hover {
    background: rgba(210, 174, 136, .16);
}

.kmd-av2-deal__gift img {
    width: 100%;
    height: auto;
}

.kmd-av2-deal__gift > span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kmd-av2-deal__gift b {
    font-size: 22px;
    line-height: 1.25;
}

.kmd-av2-deal__gift > span > span {
    color: var(--kmd-dark-text);
    font-size: 16px;
}

/* countdown: the texts with the button under them on the left, the units on the right */
.kmd-av2-timer__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 40px;
    align-items: center;
}

.kmd-av2-timer__box--large {
    grid-template-columns: minmax(0, 1fr) var(--kmd-av2-side);
    grid-template-areas:
        "intro units"
        "cta units";
}

.kmd-av2-timer__box--large .kmd-av2-timer__intro {
    grid-area: intro;
    align-self: end;
}

.kmd-av2-timer__box--large .kmd-av2-timer__clock {
    grid-area: units;
}

/* the units fill the column */
.kmd-av2-timer__box--large .kmd-av2-timer__units {
    width: 100%;
}

.kmd-av2-timer__box--large .kmd-av2-timer__unit {
    flex: 1;
    min-width: 0;
}

.kmd-av2-timer__box--large .kmd-av2-timer__cta {
    grid-area: cta;
    align-self: start;
    justify-self: start;
}

.kmd-av2-timer__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.kmd-av2-timer__end {
    margin-top: 6px;
    color: var(--kmd-dark-soft);
    font-size: 14px;
}

/* the units with the "the stock runs out" pill (pulsing dot) above them */
.kmd-av2-timer__clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.kmd-av2-timer__stock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(198, 59, 55, .5);
    border-radius: 999px;
    background: rgba(198, 59, 55, .2);
    color: #FFC2BF;
    font-size: 17px;
    font-weight: 800;
}

.kmd-av2-timer__stock span {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kmd-accent);
    box-shadow: 0 0 0 0 rgba(198, 59, 55, .7);
}

.kmd-av2-timer__units {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.kmd-av2-timer__unit {
    min-width: 96px;
    padding: 14px 8px 10px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    background: linear-gradient(180deg, #232323, #111111);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    text-align: center;
}

.kmd-av2-timer__unit span {
    display: block;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.kmd-av2-timer__unit small {
    display: block;
    margin-top: 8px;
    color: var(--kmd-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.kmd-av2-timer__sep {
    padding-top: 22px;
    color: var(--kmd-accent);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.kmd-av2-timer__ended {
    display: none;
    font-size: 18px;
    font-weight: 700;
}

.kmd-av2-timer__box.is-ended > * {
    display: none;
}

.kmd-av2-timer__box.is-ended .kmd-av2-timer__ended {
    display: block;
}

@media (prefers-reduced-motion: no-preference) {
    /* the seconds flash softly and the stock dot pulses, so the timer reads as live */
    .kmd-av2-timer__unit:last-child span {
        animation: kmd-av2-tick 1s ease-out infinite;
    }

    .kmd-av2-timer__stock span {
        animation: kmd-av2-pulse 1.6s ease-out infinite;
    }
}

@keyframes kmd-av2-tick {
    0% {
        color: var(--kmd-gold);
    }

    60%,
    100% {
        color: var(--kmd-white);
    }
}

@keyframes kmd-av2-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 59, 55, .7);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(198, 59, 55, 0);
    }
}

/* small countdown under the form (form column) */
.kmd-av2-timer__box--small {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px 20px;
    padding: 18px 20px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    background:
        radial-gradient(circle at 100% 0, rgba(198, 59, 55, .25), rgba(198, 59, 55, 0) 60%),
        var(--kmd-ink);
}

.kmd-av2-timer__box--small .kmd-av2-timer__title {
    font-size: 17px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__end {
    margin-top: 2px;
    font-size: 13px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__clock {
    align-items: stretch;
    gap: 12px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__stock {
    align-self: flex-start;
    font-size: 15px;
}

/* the units on their own row, across the form column */
.kmd-av2-timer__box--small .kmd-av2-timer__units {
    gap: 6px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__unit {
    flex: 1;
    min-width: 0;
    padding: 10px 4px 8px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__unit span {
    font-size: 34px;
}

.kmd-av2-timer__box--small .kmd-av2-timer__unit small {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: .04em;
}

.kmd-av2-timer__box--small .kmd-av2-timer__sep {
    padding-top: 10px;
    font-size: 24px;
}

@media screen and (max-width: 991px) {
    .kmd-av2-deal {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .kmd-av2-deal__price p {
        justify-content: center;
    }

    .kmd-av2-deal__old {
        align-items: flex-end;
    }

    .kmd-av2-deal__gift {
        width: 100%;
        max-width: 520px;
        text-align: left;
    }

    /* phones and tablets: texts, units, then the button */
    .kmd-av2-timer__box--large {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "intro"
            "units"
            "cta";
        justify-items: center;
        text-align: center;
    }

    .kmd-av2-timer__box--large .kmd-av2-timer__cta {
        justify-self: center;
        width: 100%;
        max-width: 420px;
    }

    .kmd-av2-timer__box--small {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media screen and (max-width: 599px) {
    .kmd-av2-deal {
        padding-bottom: 24px;
    }

    .kmd-av2-deal__price strong {
        font-size: 46px;
    }

    .kmd-av2-deal__plus {
        font-size: 64px;
    }

    .kmd-av2-deal__gift {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
    }

    .kmd-av2-deal__gift b {
        font-size: 17px;
    }

    .kmd-av2-deal__gift > span > span {
        font-size: 14px;
    }

    .kmd-av2-timer__units {
        gap: 4px;
    }

    .kmd-av2-timer__unit {
        flex: 1;
        min-width: 0;
        padding: 10px 2px 8px;
    }

    .kmd-av2-timer__unit span {
        font-size: 38px;
    }

    .kmd-av2-timer__unit small {
        font-size: 10px;
        letter-spacing: .04em;
    }

    .kmd-av2-timer__sep {
        padding-top: 12px;
        font-size: 24px;
    }

    .kmd-av2-timer__clock,
    .kmd-av2-timer__box--large .kmd-av2-timer__units,
    .kmd-av2-timer__box--small .kmd-av2-timer__units {
        width: 100%;
    }

    .kmd-av2-timer__stock {
        font-size: 15px;
    }

    .kmd-av2-timer__box--small .kmd-av2-timer__unit span {
        font-size: 24px;
    }
}

/* NOTE: OFFER CARD: the photo fills its half (the body is kept compact, so the photo is barely cropped) */

.kmd-av2-offer__card {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    overflow: hidden;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    background: var(--kmd-dark-card);
}

.kmd-av2-offer__media {
    position: relative;
    display: block;
    min-height: 100%;
    background: #FFFFFF;
}

.kmd-av2-offer__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kmd-av2-offer__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: var(--kmd-radius-small);
    background: var(--kmd-accent);
    color: var(--kmd-white);
    font-size: 15px;
    font-weight: 800;
}

.kmd-av2-offer__badge--gift {
    top: 56px;
    background: var(--kmd-gold);
    color: var(--kmd-ink);
}

.kmd-av2-offer__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
}

/* price ladder: two struck out steps, then the anniversary price */
.kmd-av2-prices {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmd-av2-prices li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--kmd-dark-line);
}

.kmd-av2-prices__old span,
.kmd-av2-prices__old s {
    color: #9A9A9A;
    font-size: 16px;
}

.kmd-av2-prices__now {
    padding-top: 2px;
    border-bottom: 0 !important;
}

.kmd-av2-prices__now span {
    color: var(--kmd-gold);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kmd-av2-prices__now strong {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
}

/* the gift */
.kmd-av2-gift {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--kmd-gold);
    border-radius: var(--kmd-radius);
    background: rgba(210, 174, 136, .08);
    color: inherit;
    text-decoration: none;
    transition: background .2s ease;
}

.kmd-av2-gift:hover {
    background: rgba(210, 174, 136, .16);
}

.kmd-av2-gift img {
    width: 100%;
    height: auto;
}

.kmd-av2-gift > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kmd-av2-gift small {
    color: var(--kmd-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.kmd-av2-gift b {
    font-size: 17px;
}

.kmd-av2-gift > span > span {
    color: var(--kmd-dark-soft);
    font-size: 14px;
}

/* both ways to pay */
.kmd-av2-pay {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.kmd-av2-pay__option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
}

.kmd-av2-pay__option:first-child {
    border-color: var(--kmd-accent);
    background: rgba(198, 59, 55, .1);
}

.kmd-av2-pay__option small {
    color: var(--kmd-dark-soft);
    font-size: 13px;
    font-weight: 700;
}

.kmd-av2-pay__option b {
    font-size: 21px;
}

.kmd-av2-pay__option span {
    color: var(--kmd-dark-soft);
    font-size: 13px;
}

.kmd-av2-offer__body .kmd-av2-actions .kmd-btn {
    flex: 1 1 200px;
    padding-inline: 16px;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .kmd-av2-offer__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .kmd-av2-offer__media {
        aspect-ratio: 900 / 750;
    }
}

@media screen and (max-width: 599px) {
    .kmd-av2-offer__body {
        padding: 20px 16px;
    }

    .kmd-av2-prices__now strong {
        font-size: 38px;
    }

    .kmd-av2-pay {
        grid-template-columns: minmax(0, 1fr);
    }

    .kmd-av2-gift {
        grid-template-columns: 80px minmax(0, 1fr);
    }
}

/* NOTE: CTA BAND on the accent color, with the gift */

.kmd-av2-band {
    padding-block: 72px;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 45%),
        linear-gradient(120deg, #8E2320 0%, var(--kmd-accent) 55%, #A8302C 100%);
}

.kmd-av2-band__inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: center;
}

.kmd-av2-band__gift {
    position: relative;
    display: block;
    padding: 16px;
    border-radius: var(--kmd-radius);
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    color: var(--kmd-ink);
    text-decoration: none;
    transform: rotate(-3deg);
    transition: transform .25s ease;
}

.kmd-av2-band__gift:hover {
    transform: rotate(0);
}

.kmd-av2-band__gift img {
    display: block;
    width: 100%;
    height: auto;
}

.kmd-av2-band__gift span {
    position: absolute;
    top: -14px;
    right: -10px;
    left: -10px;
    padding: 6px 12px;
    text-align: center;
    border-radius: var(--kmd-radius-small);
    background: var(--kmd-gold);
    color: var(--kmd-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.kmd-av2-band__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
}

.kmd-av2-band__text {
    margin-top: 10px;
    color: #FFE3E1;
    font-size: 18px;
    line-height: 1.5;
}

.kmd-av2-band__actions {
    flex-direction: column;
}

/* white button with red text; on hover it turns dark (the site's light button turns red, invisible on this band) */
.kmd-av2-band .kmd-btn--light {
    color: var(--kmd-accent);
}

.kmd-av2-band .kmd-btn--light:hover {
    border-color: var(--kmd-ink);
    background: var(--kmd-ink);
    color: var(--kmd-white);
}

@media screen and (max-width: 991px) {
    .kmd-av2-band__inner {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .kmd-av2-band__actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
}

@media screen and (max-width: 599px) {
    .kmd-av2-band {
        padding-block: 56px;
    }

    .kmd-av2-band__inner {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .kmd-av2-band__gift {
        width: 220px;
    }

    .kmd-av2-band__title {
        font-size: 28px;
    }

    .kmd-av2-band__actions {
        width: 100%;
    }
}

/* NOTE: FIGURES of the tbi page (installment, months, advance...) */

.kmd-av2-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmd-av2-figures li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    background: var(--kmd-dark-card);
}

.kmd-av2-figures li:first-child {
    border-color: var(--kmd-accent);
    background: rgba(198, 59, 55, .12);
}

.kmd-av2-figures strong {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.kmd-av2-figures span {
    color: var(--kmd-dark-soft);
    font-size: 14px;
}

/* NOTE: STEPS (how the financing works) */

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

.kmd-av2-steps li {
    position: relative;
    padding: 56px 20px 20px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    background: var(--kmd-dark-card);
    counter-increment: kmd-av2-step;
}

.kmd-av2-steps li::before {
    position: absolute;
    top: 16px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--kmd-accent);
    color: var(--kmd-white);
    font-weight: 800;
    content: counter(kmd-av2-step);
}

.kmd-av2-steps b {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.kmd-av2-steps span {
    color: var(--kmd-dark-soft);
    font-size: 15px;
}

@media screen and (max-width: 767px) {
    .kmd-av2-steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* NOTE: TEXT SECTIONS: the visible lead, the rest in the accordions under it */

.kmd-av2-lead {
    color: var(--kmd-dark-text);
    font-size: 18px;
    line-height: 1.65;
}

.kmd-av2-lead p + p {
    margin-top: 14px;
}

.kmd-av2-lead em {
    color: var(--kmd-gold);
}

.kmd-av2-quote {
    padding-left: 18px;
    border-left: 4px solid var(--kmd-gold);
    color: var(--kmd-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.kmd-av2-note {
    color: var(--kmd-dark-soft);
    font-size: 13px;
    line-height: 1.6;
}

/* accordions (details-accordion html items): answers keep the article styles (lists, figures) */
.kmd-details .kmd-details__html {
    color: var(--kmd-dark-text);
    line-height: 1.65;
}

.kmd-details .kmd-details__html p + p,
.kmd-details .kmd-details__html p + ul,
.kmd-details .kmd-details__html ul + p {
    margin-top: 12px;
}

.kmd-details .kmd-details__html ul {
    padding-left: 20px;
    list-style: disc;
}

.kmd-details .kmd-details__html ul ul {
    margin-block: 4px;
    list-style: circle;
}

.kmd-details .kmd-details__html li + li {
    margin-top: 4px;
}

.kmd-details .kmd-details__html figure {
    margin-top: 16px;
}

.kmd-details .kmd-details__html figure img {
    width: 100%;
    height: auto;
    border-radius: var(--kmd-radius);
}

.kmd-details .kmd-details__html figcaption {
    margin-top: 6px;
    color: var(--kmd-dark-soft);
    font-size: 13px;
}

/* NOTE: FORM: the product summary (picture and texts the same width, larger texts) and the countdown under the form */

.kmd-price-request__product.kmd-av2-summary {
    gap: 16px;
    width: 100%;
    max-width: 520px;
}

.kmd-av2-summary img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: var(--kmd-radius);
}

.kmd-price-request__product.kmd-av2-summary h3 {
    font-size: 24px;
}

.kmd-av2-summary__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmd-av2-summary__list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--kmd-dark-line);
    font-size: 18px;
}

.kmd-av2-summary__list span {
    flex: none;
    color: var(--kmd-dark-soft);
}

/* longer values (the gift) wrap aligned to the right, like the short ones */
.kmd-av2-summary__list b {
    text-align: right;
}

.kmd-av2-summary__list s {
    color: #9A9A9A;
    font-weight: 400;
}

.kmd-price-request__main .kmd-av2-timer__box {
    margin-top: 6px;
}

/* the form card is white: its "add notes" toggle stays dark (feature-cards.css makes every link button on a dark
   section white) */
.kmd-section--dark .kmd-form .kmd-link-btn {
    color: var(--kmd-ink);
}

/* NOTE: BAR AT THE BOTTOM OF THE SCREEN, dark like the page, with the red anniversary button */

.kmd-av2-sticky {
    border-top-color: var(--kmd-dark-line);
    background: var(--kmd-ink);
    color: var(--kmd-white);
}

.kmd-av2-sticky .kmd-sticky-cta__details {
    color: var(--kmd-dark-text);
}

.kmd-av2-sticky .kmd-btn--accent {
    border-color: var(--kmd-accent);
    background: var(--kmd-accent);
}

.kmd-av2-sticky .kmd-btn--accent:hover {
    border-color: var(--kmd-accent-hover);
    background: var(--kmd-accent-hover);
}

/* NOTE: GIFT LINKS ON HOVER: the site's dark red link hover is unreadable on the dark cards; the texts stay light and
   the gift name turns gold */
.kmd-av2-deal__gift:hover,
.kmd-av2-gift:hover {
    color: var(--kmd-white);
}

.kmd-av2-deal__gift:hover b,
.kmd-av2-gift:hover b {
    color: var(--kmd-gold-hover);
}

.kmd-av2-band__gift:hover {
    color: var(--kmd-ink);
}

/* NOTE: an accordion right under the stats band: the band's bottom line is its top border (no double line) */
.kmd-stats + .kmd-details .kmd-details__list {
    border-top: 0;
}

/* NOTE: WHITE TEXT SECTION (kmd_av2_text light), e.g. the story next to the events gallery */
.kmd-av2-light {
    background: var(--kmd-white);
    color: var(--kmd-ink);
}

.kmd-av2-light .kmd-av2-eyebrow {
    color: var(--kmd-accent);
}

.kmd-av2-light .kmd-av2-lead {
    color: var(--kmd-text);
}

.kmd-av2-light .kmd-av2-lead em {
    color: var(--kmd-tan-ink);
}

/* NOTE: PRICE ON REQUEST (15-ani-v2, produsul-lunii-in-rate-tbi-v2): the "??.??? lei" placeholder, the smaller unit of
   a monthly rate shown as the big figure, the rate ladder and the benefits of the installment-only offer card */
.kmd-av2-secret {
    color: var(--kmd-gold);
    letter-spacing: .04em;
}

.kmd-av2-unit,
.kmd-av2-prices__now .kmd-av2-unit {
    margin-left: 2px;
    color: inherit;
    font-size: .45em;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.kmd-av2-prices__term span {
    color: var(--kmd-dark-soft);
    font-size: 16px;
}

.kmd-av2-prices__term b {
    font-size: 17px;
}

.kmd-av2-prices__hint {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
    color: var(--kmd-dark-soft);
    font-size: 14px;
}

.kmd-av2-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kmd-av2-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--kmd-dark-line);
    border-radius: var(--kmd-radius);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.kmd-av2-benefits svg {
    flex: none;
    color: var(--kmd-gold);
}

@media screen and (max-width: 599px) {
    .kmd-av2-benefits {
        grid-template-columns: minmax(0, 1fr);
    }
}
