/* Estilos del componente modelo/main-info (información principal de la ficha). Se cargan solo donde se usa el componente. */

.c-cta-bar__button:hover .c-cta-bar__button-label,
.c-cta-bar__button:focus-within .c-cta-bar__button-label {
    color: #fff !important;
}

.c-cta-bar__button-wrapper .icon-precent-wrapper i {
    font-size: 30px;
    line-height: 1;
}

i.icon-dollar-wrapper.fa-dollar-sign {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 49px !important;
    height: 49px !important;
    font-size: 25px;
    line-height: 1;
}

.maininfo {
    --models-description-fade-background: #f4f4f4;
    --priceinfo-muted-text-color: #6f6f6f;
}

.body__special-design .maininfo {
    --models-description-fade-background: #1d1d1d;
}

.body__theme--dark .maininfo,
.body__theme--black .maininfo {
    --priceinfo-muted-text-color: #dadada;
}

.body__theme--black .maininfo {
    --models-description-fade-background: #000;
}

.models__description-content--collapsed {
    position: relative;
    max-height: 11.5em;
    overflow: hidden;
}

.models__description-toggle {
    margin-top: 16px;
}

.priceinfo__status {
    color: #1d1d1d;
    display: block;
    font: 900 clamp(2.5rem, 4vw, 4rem)/1 blender-pro, sans-serif;
    letter-spacing: 0.08em;
    margin-top: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgb(255 255 255 / 35%);
}

.body__theme--dark .priceinfo__status,
.body__theme--black .priceinfo__status {
    color: #fff;
    text-shadow: 0 2px 10px rgb(0 0 0 / 35%);
}

.priceinfo__headline {
    margin-bottom: 0.1rem !important;
}

.models__slide {
    position: relative;
    overflow: visible !important;
}

/* Reserva el alto antes de que cargue la foto (evita CLS); las fotos de KTM son 1.46:1. */
.models__slide-image {
    aspect-ratio: 768 / 526;
    object-fit: contain;
}

.models__image {
    overflow: visible !important;
}

.models__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 320px;
    height: 320px;
    overflow: hidden;
    pointer-events: none;
}

.models__ribbon-content {
    position: absolute;
    top: 100px;
    left: -40px;
    display: block;
    width: 450px;
    padding: 10px 0;
    background-color: #ff6600;
    box-shadow: 0 0 10px rgb(0 0 0 / 35%);
    color: #fff;
    font: 900 1.85rem/1.1 blender-pro, sans-serif;
    letter-spacing: 0.08em;
    text-align: center;
    text-shadow: 0 1px 1px rgb(0 0 0 / 20%);
    text-transform: uppercase;
    transform: rotate(45deg);
    white-space: nowrap;
}

@media (max-width: 767px) {
    .models__ribbon {
        top: -14px;
        right: -30px;
        width: 185px;
        height: 185px;
    }

    .models__ribbon-content {
        top: 66px;
        left: -24px;
        width: 265px;
        padding: 6px 0;
        font-size: 1rem;
        letter-spacing: 0.05em;
    }
}

.price-value__amount {
    display: inline-block;
}

.price-value {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.price-value-cuotas {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 0.9;
}

.price-value-cuotas .price-value__amount {
    font-size: 0.62em;
}

.price-value__annotations {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.55em;
    line-height: 1;
}

.price-value-cuotas .price-value__annotations {
    font-size: 0.4em;
}

.price-value-cuotas .price-value__info-button {
    flex-basis: 0.8em;
    height: 0.8em;
    width: 0.8em;
}

.price-value__sup {
    font-weight: 700;
    line-height: 1;
}

.price-value__sub {
    line-height: 1;
}

.price-value__info-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--priceinfo-muted-text-color) !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 0.9em;
    height: 0.9em;
    line-height: 0;
    padding: 0;
    width: 0.9em;
    transition: color 0.2s ease;
}

.price-value__info-button i,
.price-value__info-button svg {
    display: block;
    height: 100%;
    width: 100%;
}

.price-value__info-button:hover,
.price-value__info-button:focus-visible {
    color: var(--priceinfo-muted-text-color) !important;
}

.price-value__info-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.priceinfo__disclaimer-basePrice {
    color: var(--priceinfo-muted-text-color) !important;
}

.maininfo .price-title {
    color: var(--priceinfo-muted-text-color) !important;
}

.price-cyber-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
}

.maininfo .price-cyber-antes {
    color: var(--priceinfo-muted-text-color) !important;
    font-size: 1rem;
    text-transform: none !important;
}

.priceinfo-modal__banks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 1rem 0;
}

.priceinfo-modal__banks img {
    width: 88px;
    height: 40px;
    object-fit: contain;
}
