/* ================================================================
   Offers page — scoped .store-offers-page
   Palette: #E8621A / #111111 / #FFFFFF / #F5F5F5 / #E0E0E0
================================================================ */

.store-offers-page {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    background: #f5f5f5;
}

.store-offers-page__header {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
}

.store-offers-page__title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.02em;
}

.store-offers-page__subtitle {
    margin: 0.45rem 0 0;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    font-weight: 600;
    color: #3a3a3a;
    line-height: 1.55;
}

.store-offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.75rem, 2vw, 1rem);
}

@media (min-width: 768px) {
    .store-offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.1rem;
    }
}

.store-offers-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 9.5rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.65rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px -10px rgba(17, 17, 17, 0.12);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.store-offers-card:hover {
    transform: translateY(-3px);
    border-color: #e8621a;
    box-shadow: 0 14px 32px -14px rgba(232, 98, 26, 0.35);
}

.store-offers-card__content {
    flex: 1 1 52%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    min-width: 0;
}

.store-offers-card__title {
    margin: 0;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    font-weight: 900;
    color: #111111;
    line-height: 1.25;
}

.store-offers-card__badge {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    color: #e8621a;
    letter-spacing: 0.02em;
}

.store-offers-card__discount {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #3a3a3a;
    line-height: 1.35;
}

.store-offers-card__discount strong {
    color: #e8621a;
    font-weight: 900;
}

.store-offers-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 0.4rem;
    background: #e8621a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    transition: background 0.2s ease, filter 0.2s ease;
}

.store-offers-card:hover .store-offers-card__cta {
    background: #c44e0e;
}

.store-offers-card__media {
    flex: 0 0 42%;
    max-width: 46%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    background: #f5f5f5;
    border-inline-start: 1px solid #e0e0e0;
}

.store-offers-card__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 7.5rem;
    object-fit: contain;
    object-position: center;
}

.store-offers-page__empty {
    grid-column: 1 / -1;
    padding: 2.5rem 1rem;
    text-align: center;
    border-radius: 0.75rem;
    border: 1px dashed #e0e0e0;
    background: #ffffff;
    color: #3a3a3a;
    font-weight: 600;
}

@media (max-width: 479px) {
    .store-offers-card {
        flex-direction: column-reverse;
        min-height: 0;
    }

    .store-offers-card__media {
        flex: none;
        max-width: none;
        width: 100%;
        border-inline-start: none;
        border-top: 1px solid #e0e0e0;
        min-height: 7rem;
    }

    .store-offers-card__content {
        padding: 0.85rem 0.9rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-offers-card {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .store-offers-card:hover {
        transform: none;
    }
}
