.bm-offers-page {
    --bm-offers-primary: #ef3024;
    --bm-offers-primary-dark: #c6281c;
    --bm-offers-secondary: #2b3e50;
    --bm-offers-muted: #6c757d;
    --bm-offers-bg: #f6f7fb;
    --bm-offers-card: #ffffff;
    --bm-offers-radius: 20px;
    background: var(--bm-offers-bg);
    overflow: hidden;
}

.bm-offers-hero {
    position: relative;
    padding: 108px 0 88px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #ef3024 0%, #d62828 45%, #2b3e50 100%);
    overflow: hidden;
}

.bm-offers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 22px 22px;
}

.bm-offers-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bm-offers-hero__orb--1 {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -80px;
    background: rgba(255, 255, 255, 0.08);
}

.bm-offers-hero__orb--2 {
    width: 280px;
    height: 280px;
    bottom: -100px;
    left: -60px;
    background: rgba(255, 255, 255, 0.06);
}

.bm-offers-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.bm-offers-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.bm-offers-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
}

.bm-offers-hero__intro {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.65;
    margin-bottom: 28px;
}

.bm-offers-hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.bm-offers-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.88rem;
    font-weight: 700;
}

.bm-offers-hero__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.bm-offers-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bm-offers-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.bm-offers-btn--primary {
    background: #fff;
    color: var(--bm-offers-primary-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.bm-offers-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.bm-offers-body {
    position: relative;
    padding: 56px 0 88px;
}

.bm-offers-section {
    margin-bottom: 56px;
}

.bm-offers-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bm-offers-section__title {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--bm-offers-secondary);
    margin: 0;
}

.bm-offers-section__sub {
    color: var(--bm-offers-muted);
    font-size: 0.95rem;
    margin: 6px 0 0;
}

.bm-offers-section__count {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--bm-offers-primary);
    background: rgba(239, 48, 36, 0.1);
    padding: 8px 14px;
    border-radius: 999px;
}

.bm-offers-banner-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.bm-offers-banner-card {
    flex: 0 0 min(420px, 88vw);
    scroll-snap-align: start;
    border-radius: var(--bm-offers-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(43, 62, 80, 0.12);
    text-decoration: none;
    color: #fff;
    min-height: 220px;
    background: var(--bm-offers-secondary);
}

.bm-offers-banner-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.bm-offers-banner-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.bm-offers-banner-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.bm-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.bm-offers-grid--coupons {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.bm-offers-card {
    background: var(--bm-offers-card);
    border-radius: var(--bm-offers-radius);
    padding: 24px;
    box-shadow: 0 12px 36px rgba(43, 62, 80, 0.08);
    border: 1px solid rgba(43, 62, 80, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bm-offers-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(43, 62, 80, 0.12);
}

.bm-offers-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bm-offers-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(239, 48, 36, 0.1);
    color: var(--bm-offers-primary);
}

.bm-offers-badge--flash { background: rgba(255, 152, 0, 0.15); color: #e65100; }
.bm-offers-badge--festive { background: rgba(156, 39, 176, 0.12); color: #7b1fa2; }
.bm-offers-badge--cashback { background: rgba(46, 125, 50, 0.12); color: #2e7d32; }

.bm-offers-discount {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--bm-offers-primary);
    line-height: 1;
}

.bm-offers-card__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--bm-offers-secondary);
    margin: 0;
    line-height: 1.35;
}

.bm-offers-card__meta {
    font-size: 0.86rem;
    color: var(--bm-offers-muted);
    line-height: 1.55;
}

.bm-offers-code-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f3f4f8;
    border: 1px dashed rgba(43, 62, 80, 0.18);
}

.bm-offers-code-box code {
    flex: 1;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--bm-offers-secondary);
    word-break: break-all;
}

.bm-offers-copy-btn {
    border: none;
    background: var(--bm-offers-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.bm-offers-copy-btn.is-copied {
    background: #2e7d32;
}

.bm-offers-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.bm-offers-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--bm-offers-primary);
    text-decoration: none;
}

.bm-offers-media-card {
    padding: 0;
    overflow: hidden;
}

.bm-offers-media-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bm-offers-media-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.bm-offers-empty {
    text-align: center;
    padding: 72px 24px;
    background: #fff;
    border-radius: var(--bm-offers-radius);
    box-shadow: 0 12px 36px rgba(43, 62, 80, 0.08);
}

.bm-offers-empty i {
    font-size: 2.8rem;
    color: var(--bm-offers-primary);
    opacity: 0.65;
    margin-bottom: 16px;
}

.bm-offers-empty h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--bm-offers-secondary);
    margin-bottom: 10px;
}

.bm-offers-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(120%);
    background: #2b3e50;
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    z-index: 9999;
    transition: transform 0.25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.bm-offers-toast.is-visible {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 767px) {
    .bm-offers-hero {
        padding: 92px 0 72px;
    }

    .bm-offers-body {
        padding: 40px 0 64px;
    }

    .bm-offers-grid,
    .bm-offers-grid--coupons {
        grid-template-columns: 1fr;
    }
}
