/* Special Offers: flexible cards inside the shared container. */
.container.special-offers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-block: var(--container-section-padding-block);
    background-color: var(--color-bg-section);
}

.special-offers-list {
    flex: initial;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

.special-offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 0 1 calc((100% - 48px) / 3);
    min-width: 0;
    padding: 24px;
    background: var(--white);
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-offer-card > .special-offers-button {
    margin-top: auto;
}

.special-offers-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap:24px;
}

.special-offers-content-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
}

.special-offer-card.animate-in {
    animation: special-offer-reveal 0.6s ease;
}

@keyframes special-offer-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.offer-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 110px;
    min-width: 0;
}

.offer-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 126 / 162;
    object-fit: contain;
}

.offer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 150px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.special-offers .discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 6px 12px;
    background: #A3DEFF;
    border-radius: 76px;
    font-family: var(--font-family-inter);
    font-weight: var(--font-weight-600);
    font-size: var(--text-xs);
    line-height: 1.3;
    color: var(--text-primary);
}

.special-offers-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    max-width: 100%;
    padding: 12px 24px;
    background: linear-gradient(270deg, #294AFF 0%, #1FD3FF 100%);
    font-family: var(--font-family-inter);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.special-offers-button:hover {
    background: linear-gradient(270deg, #1e3acc 0%, #1ab8db 100%);
    box-shadow: 0 8px 25px rgba(41, 74, 255, 0.3);
}

.offer-title,
.offer-product-name {
    margin: 0;
    font-family: var(--font-family-inter);
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.25;
}

.offer-title {
    font-weight: 500;
    color: #333333;
}

.offer-product-name {
    font-weight: 700;
    color: var(--text-primary);
}

@media (hover: hover) and (pointer: fine) {
    .special-offer-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }

    .offer-link:hover {
        color: #294AFF;
    }

    .offer-link:hover .arrow {
        transform: translateX(3px);
    }
}

@media (max-width: 1024px) {
    .special-offer-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .special-offer-card {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .special-offer-card {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .offer-image {
        flex: 0 0 auto;
        width: min(126px, 100%);
    }

    .offer-content {
        flex: 0 0 auto;
        align-items: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .special-offer-card,
    .offer-link .arrow {
        transition: none;
        transform: none;
    }

    .special-offer-card.animate-in {
        animation: none;
    }
}

/* CTA Banner: base styles and responsive layouts. */

.cta-banner {
    position: relative;
    margin-top: 50px;
}

.cta-banner-content {
    width: 100%;
    max-width: 1454px;
    height: 53px;
    margin-bottom: 8px;
    background: linear-gradient(270deg, #294AFF 0%, #1FD3FF 100%);
    border-radius: 6.7px 6.7px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28.3333px;
    line-height: 34px;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

@media (max-width: 1024px) {
    .cta-banner-text {
        font-size: 20px;
    }

}

@media (max-width: 768px) {
    .cta-banner-content {
        left: 0;
        transform: translateX(0);
        border-radius: 0;
    }

    .cta-banner-text {
        font-size: 16px;
        padding: 0 20px;
    }

}

@media (max-width: 480px) {
    .cta-banner-text {
        font-size: 14px;
        line-height: 20px;
    }

}
