/* Coqpit Offer Block widget - structural styles (colors/spacing/typography come from Elementor controls) */

.coqpit-offer {
    position: relative;
    width: 100%;
}

.coqpit-offer__divider {
    width: 100%;
}

.coqpit-offer__row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.coqpit-offer__col {
    min-width: 0;
}

.coqpit-offer__col--left {
    flex-shrink: 0;
}

.coqpit-offer__col--right {
    flex: 1 1 0%;
}

.coqpit-offer__title-row {
    display: flex;
    align-items: flex-end;
}

.coqpit-offer__title {
    margin: 0;
}

.coqpit-offer__arrow {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    transform-origin: center;
    transition-property: transform;
    transition-timing-function: ease;
}

.coqpit-offer__badges {
    display: flex;
    flex-wrap: wrap;
}

.coqpit-offer__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.coqpit-offer__description > *:first-child {
    margin-top: 0;
}

.coqpit-offer__description > *:last-child {
    margin-bottom: 0;
}

.coqpit-offer__button-wrap {
    transition-property: opacity, transform;
    transition-timing-function: ease;
}

.coqpit-offer__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 0;
}

.coqpit-offer__button-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    white-space: nowrap;
    line-height: normal;
    transition: background-color 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.coqpit-offer__button-icon {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.coqpit-offer__button-icon svg {
    display: block;
    width: 14px;
    height: 10px;
}

/* Button reveal-on-hover mode (button_visibility = "hover") */
.coqpit-offer--button-on-hover .coqpit-offer__button-wrap {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.coqpit-offer--button-on-hover:hover .coqpit-offer__button-wrap,
.coqpit-offer--button-on-hover:focus-within .coqpit-offer__button-wrap {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 767px) {
    .coqpit-offer__row {
        flex-direction: column;
    }

    .coqpit-offer__col--left {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    .coqpit-offer__eyebrow-row {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Reveal-on-hover doesn't make sense without a mouse - always show on touch/mobile */
    .coqpit-offer--button-on-hover .coqpit-offer__button-wrap {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}
