/* promotion.css - .p-promotion */
.p-promotion .promotion-container > .span {
    padding-top: calc(2.5rem - 0.9375rem);
    padding-bottom: calc(2.5rem - 0.9375rem);
}

.p-promotion [data-bg="promotion-cyan"] {
    background-color: rgb(0, 173, 239);
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    color: #fff;
}

.p-promotion .promotion-content .row {
    padding: calc(2.5rem - 0.9375rem);
}

.p-promotion .promotion-content .row.triangle {
    background-color: #e5f6fd;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
.p-promotion .promotion-content .row.triangle .black-link {
    color: #000 !important;
    font-weight: 400;
    text-decoration: underline;
}
.p-promotion .promotion-content .row.triangle .black-link:hover {
    color: rgb(0,85,168);
    text-decoration: underline;
}

.p-promotion .promotion-content h1 {
    font-size: 2.625rem;
    font-weight: 600;
}

.p-promotion .promotion-content .price_off--header {
    position: absolute;
    top: 1rem;
    left: -1.77em;
    color: #fff;
    padding: 0 1rem 0 2.8rem;
    display: flex;
    background-color: #004d71;
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    font-weight: 600;
}

.p-promotion .promotion-content .price_off--header span:nth-child(1) {
    font-size: 3.8rem;
}

.p-promotion .promotion-content .price_off--header .d-flex.flex-column {
    margin-left: 1em;
}

.p-promotion .promotion-content .price_off--header .d-flex.flex-column span:nth-child(1) {
  font-size: 2rem;
  margin-bottom: -0.2em;
  margin-top: 0.39em;
}

.p-promotion .promotion-content .price_off--header .d-flex.flex-column span:nth-child(2) {
    font-size: 0.9rem;
}

.p-promotion .promotion-content .price_off--text {
    margin-top: 8rem;
    font-weight: 600;
}

.p-promotion .promotion-content .panel-aside {
    background: #fff;
    color: #000;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
    padding: 1.875rem 1.25rem;
}

.p-promotion .promotion-content .triangle::before {
    position: absolute;
    bottom: 100%;
    left: 0;
    content: '';
    width: 100%;
    height: 7em;
    background-image: url('/images/content/promotion/promotion-triangle.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.p-promotion .promotion-content .d-flex {
    flex-direction: column;
}

.p-promotion .promotion-content .warrenty-lozenge::before {
    position: absolute;
    top: 10%;
    right: -3em;
    content: '';
    width: 7em;
    height: 3em;
    background-image: url('/images/content/warranty/5-year-badge.webp');
    background-repeat: no-repeat;
    background-size: contain;
}

@media (min-width: 48em) {
    .p-promotion .promotion-content h1 {
        margin-bottom: 0.3em;
    }
    .p-promotion .promotion-content .price_off--header {
        padding: 0 2rem 0 2.4rem;
    }
    .p-promotion .promotion-content .price_off--header span:nth-child(1) {
        font-size: 5.375rem;
    }
    .p-promotion .promotion-content .price_off--header .d-flex.flex-column span:nth-child(1) {
        font-size: 2.6875rem;
        font-weight: 600;
        margin-top: 1.5rem;
    }
    .p-promotion .promotion-content .price_off--header .d-flex.flex-column span:nth-child(2) {
        font-size: 0.9375rem;
    }
    .p-promotion .promotion-content .price_off--text {
        font-size: 1rem;
        margin-bottom: 7rem;
        max-width: 75%;
    }
    .p-promotion .promotion-content .row:nth-child(1) {
        padding-bottom: 0;
    }
    .p-promotion .promotion-content .row.triangle {
        padding-top: 0;
        padding-bottom: 3rem;
    }
    .p-promotion .promotion-content .warrenty-lozenge::before {
        top: 12%;
        right: -1rem;
        width: 9em;
        height: 5em;
    }
}

@media (min-width: 75em) { 
    .p-promotion .promotion-content .price_off--header span:nth-child(1) {
        font-size: 6.375rem;
    }
    .p-promotion .promotion-content .price_off--header .d-flex.flex-column span:nth-child(1) {
        margin-top: 2.6rem;
    }
    .p-promotion .promotion-content .price_off--text {
        margin-top: 9.5rem;
        margin-bottom: 7rem;
        max-width: 60%;
    }
    .p-promotion .promotion-content .row.triangle .d-flex {
        flex-direction: row;
        align-items: flex-end;
    }
    .p-promotion .promotion-content .row.triangle .d-flex p { 
        margin-bottom: 0;
    }
    .p-promotion .promotion-content .row.triangle .d-flex .btn-contact.orange { 
        margin-left: 1em;
        height: fit-content;
        max-width: fit-content;
    }
    .p-promotion .promotion-content .row.triangle .promo-img {
        margin-top: -6em;
        margin-bottom: 0;
    }
    
    .p-promotion .promotion-content .warrenty-lozenge::before {
        top: 68%;
        transform: translateY(-68%);
        left: unset;
        right: 0;
        width: 7em;
        height: 4em;
    }
}
@media (min-width: 85.375em) {  
    .p-promotion .promotion-content .price_off--text { 
        margin-bottom: 9rem;
    } 
    .p-promotion .promotion-content .triangle::before {
        height: 9.5em;
    }
    .p-promotion .promotion-content .row.triangle > div:first-child {
        margin-top: -4em;
    }
    .p-promotion .promotion-content .row.triangle .promo-img {
        margin-top: -11em;
    }
    .p-desktop {
        padding: 0 3.5rem;
    }
}