/* Reshu Beauty – Offers */

:root {
    --rb-offer-primary: #8F1438;
    --rb-offer-primary-dark: #6d1029;
    --rb-offer-cream: #faf7f5;
    --rb-offer-ink: #2a2424;
    --rb-offer-muted: #7a7270;
    --rb-offer-line: #ebe4df;
}

.rb-offers-page {
    background: var(--rb-offer-cream);
}

.rb-offers-hero {
    position: relative;
    padding: 64px 0 48px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(143, 20, 56, 0.12), transparent 55%),
        linear-gradient(165deg, #1a1214 0%, #3a1824 55%, #8F1438 140%);
    color: #fff;
}

.rb-offers-hero__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    left: -80px;
    bottom: -120px;
    pointer-events: none;
}

.rb-offers-hero__inner {
    position: relative;
    max-width: 640px;
}

.rb-offers-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.rb-offers-hero h1 {
    font-family: var(--headerFonts);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #fff;
}

.rb-offers-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
    max-width: 36em;
}

.rb-offers-section {
    padding: 56px 0 80px;
}

.rb-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rb-offer-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rb-offer-line);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(45, 35, 35, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rb-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(45, 35, 35, 0.1);
}

.rb-offer-card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    background: #f0ebe7;
    overflow: hidden;
}

.rb-offer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rb-offer-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--rb-offer-primary);
    background: linear-gradient(135deg, #f7eef1, #f3ebe4);
}

.rb-offer-card__ribbon {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 12px;
    background: var(--rb-offer-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rb-offer-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rb-offer-card__body h2 {
    font-family: var(--headerFonts);
    font-size: 1.35rem;
    color: var(--rb-offer-ink);
    margin: 0 0 10px;
    line-height: 1.25;
}

.rb-offer-card__body p {
    margin: 0 0 16px;
    color: var(--rb-offer-muted);
    font-size: 14px;
    line-height: 1.6;
}

.rb-offer-card__meta {
    margin-top: auto;
    margin-bottom: 16px;
    font-size: 13px;
    color: #5c5451;
    font-weight: 600;
}

.rb-offer-card__meta i {
    color: var(--rb-offer-primary);
    margin-right: 4px;
}

.rb-offer-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 11px 18px;
    background: var(--rb-offer-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.2s ease;
}

.rb-offer-card__cta:hover {
    background: var(--rb-offer-primary-dark);
    color: #fff !important;
}

.rb-offers-empty {
    text-align: center;
    max-width: 420px;
    margin: 20px auto;
    padding: 48px 24px;
    background: #fff;
    border: 1px solid var(--rb-offer-line);
}

.rb-offers-empty i {
    font-size: 42px;
    color: var(--rb-offer-primary);
    margin-bottom: 12px;
}

.rb-offers-empty h3 {
    margin: 0 0 8px;
    color: var(--rb-offer-ink);
}

.rb-offers-empty p {
    color: var(--rb-offer-muted);
    margin-bottom: 18px;
}

/* Home teaser */
.rb-home-offers {
    position: relative;
    padding: 90px 0;
    background:
        linear-gradient(120deg, rgba(26, 18, 20, 0.92), rgba(143, 20, 56, 0.88)),
        #2a151c;
    overflow: hidden;
}

.rb-home-offers__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
}

.rb-home-offers .container {
    position: relative;
}

.rb-home-offers__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    color: #fff;
}

.rb-home-offers__head .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
}

.rb-home-offers__head h2 {
    margin: 0;
    font-family: var(--headerFonts);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #fff;
    letter-spacing: -0.02em;
}

.rb-home-offers__head p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    max-width: 34em;
}

.rb-home-offers__all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rb-home-offers__all:hover {
    background: #fff;
    color: var(--rb-offer-primary) !important;
    border-color: #fff;
}

.rb-home-offers__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rb-home-offer {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: #1a1214;
}

.rb-home-offer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.rb-home-offer:hover img {
    transform: scale(1.08);
}

.rb-home-offer__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 12, 14, 0.15) 20%, rgba(20, 12, 14, 0.88) 100%);
}

.rb-home-offer__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    color: #fff;
}

.rb-home-offer__content .ends {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rb-home-offer__content h3 {
    margin: 0 0 8px;
    font-family: var(--headerFonts);
    font-size: 1.35rem;
    color: #fff;
}

.rb-home-offer__content p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    line-height: 1.55;
}

.rb-home-offer__link {
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rb-home-offer__link:hover {
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .rb-offers-grid,
    .rb-home-offers__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rb-home-offers__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .rb-offers-hero {
        padding: 48px 0 36px;
    }

    .rb-offers-grid,
    .rb-home-offers__track {
        grid-template-columns: 1fr;
    }

    .rb-home-offers {
        padding: 64px 0;
    }
}
