.rb-promotions-root[hidden],
#rbPromotionsRoot[hidden] {
    display: none !important;
}

#rbPromotionsRoot {
    width: 100%;
    box-sizing: border-box;
    padding: 14px clamp(12px, 3vw, 38px);
    color: #4a2635;
    background: #fff8fb;
}

.rb-sale-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 220px;
    padding: clamp(22px, 4vw, 48px);
    border: 1px solid #f4cad9;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at 88% 20%, rgba(255,255,255,.9), transparent 28%),
        linear-gradient(115deg, #fff0f5 0%, #f9c9dc 48%, #f7e4eb 100%);
    box-shadow: 0 8px 26px rgba(105, 37, 65, .08);
}

.rb-sale-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.rb-sale-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #a32b5d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.rb-sale-hero h2 {
    margin: 0 0 10px;
    color: #692541;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 4.2vw, 48px);
    line-height: 1.12;
}

.rb-sale-discount {
    display: inline-block;
    margin: 0 0 10px;
    padding: 7px 14px;
    border-radius: 6px;
    background: #a51f51;
    color: #fff;
    font-size: clamp(17px, 2.4vw, 25px);
    font-weight: 900;
}

.rb-sale-subtitle {
    margin: 0 0 18px;
    color: #63364a;
    font-size: 14px;
}

.rb-sale-shop-button,
.rb-coupon-copy {
    min-height: 40px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #d93679;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.rb-sale-shop-button:hover,
.rb-coupon-copy:hover {
    background: #a51f51;
}

.rb-sale-decoration {
    flex: 0 0 auto;
    padding: 0 2vw;
    font-size: clamp(65px, 10vw, 130px);
    filter: drop-shadow(0 10px 8px rgba(105, 37, 65, .12));
}

.rb-coupon-strip {
    margin-top: 14px;
    padding: clamp(14px, 2.5vw, 22px);
    border: 1px solid #f0d4df;
    border-radius: 16px;
    background: #fff;
}

.rb-coupon-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.rb-coupon-heading > span {
    font-size: 28px;
}

.rb-coupon-heading h3 {
    margin: 0 0 3px;
    color: #692541;
    font-size: 18px;
}

.rb-coupon-heading p {
    margin: 0;
    color: #806875;
    font-size: 13px;
}

.rb-coupon-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 12px;
}

.rb-coupon-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px dashed #e5a5bd;
    border-radius: 12px;
    background: #fff5f9;
}

.rb-coupon-card-info {
    min-width: 0;
}

.rb-coupon-discount {
    display: block;
    margin-bottom: 5px;
    color: #c02765;
    font-size: 13px;
    font-weight: 800;
}

.rb-coupon-code {
    display: block;
    overflow-wrap: anywhere;
    color: #4a2635;
    font-size: 17px;
    letter-spacing: .6px;
}

.rb-coupon-terms {
    margin: 7px 0 0;
    color: #806875;
    font-size: 12px;
    line-height: 1.5;
}

.rb-coupon-copy {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
}

@media (max-width: 600px) {
    #rbPromotionsRoot {
        padding: 10px 10px;
    }

    .rb-sale-hero {
        min-height: 0;
        gap: 6px;
        padding: 23px 17px;
        border-radius: 13px;
    }

    .rb-sale-decoration {
        padding: 0;
        font-size: 57px;
    }

    .rb-sale-eyebrow {
        font-size: 10px;
        letter-spacing: .7px;
    }

    .rb-sale-hero h2 {
        font-size: 27px;
    }

    .rb-sale-subtitle {
        font-size: 12px;
        line-height: 1.5;
    }

    .rb-coupon-strip {
        padding: 13px;
    }

    .rb-coupon-card {
        padding: 12px;
    }
}

/* RishtaBox Sale products: continuous horizontal marquee */
.rb-sale-products-section {
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
}

.rb-sale-products-heading {
    text-align: center;
    padding: 10px 12px 16px;
}

.rb-sale-products-heading h2 {
    margin: 0 0 6px;
}

.rb-sale-products-heading p {
    margin: 0;
}

.rb-sale-products-viewport {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

#rbSaleProductsGrid {
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    max-width: none !important;
    margin: 0;
    padding: 4px 6px 12px;
}

#rbSaleProductsGrid .product-card {
    flex: 0 0 clamp(180px, 19vw, 225px);
    box-sizing: border-box;
}

#rbSaleProductsGrid.rb-best-seller-marquee-track {
    animation: rbBestSellerScroll 45s linear infinite;
    will-change: transform;
}

#rbSaleProductsGrid.rb-best-seller-marquee-track:hover {
    animation-play-state: paused;
}

@media (max-width: 600px) {
    #rbSaleProductsGrid {
        gap: 10px;
    }

    #rbSaleProductsGrid .product-card {
        flex-basis: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #rbSaleProductsGrid.rb-best-seller-marquee-track {
        animation: none;
        overflow-x: auto;
    }
}

/* Dedicated RishtaBox Sale page; normal product grids remain unchanged. */
.rb-dedicated-sale-page {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 24px clamp(12px, 3vw, 38px) 36px;
    background: #fff8fb;
    color: #4a2635;
}

.rb-dedicated-sale-heading {
    margin: 0 auto 22px;
    padding: clamp(22px, 4vw, 42px);
    text-align: center;
    border: 1px solid #f4cad9;
    border-radius: 18px;
    background: linear-gradient(115deg, #fff0f5, #f9c9dc 52%, #f7e4eb);
}

.rb-dedicated-sale-heading h1 {
    margin: 8px 0;
    color: #692541;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 44px);
}

.rb-dedicated-sale-heading p {
    margin: 0;
    color: #63364a;
}

.rb-dedicated-sale-status {
    padding: 22px 12px;
    text-align: center;
    color: #692541;
}

.rb-dedicated-sale-grid {
    width: 100%;
    box-sizing: border-box;
}

.rb-sale-back-home {
    display: block;
    margin: 24px auto 0;
}

@media (max-width: 600px) {
    .rb-dedicated-sale-page {
        padding: 14px 10px 28px;
    }

    .rb-dedicated-sale-heading {
        padding: 22px 14px;
        border-radius: 13px;
    }
}
/* =====================================================
   RISHTABOX — CORPORATE GIFTING DESIGN STANDARD
   Applies to Best Sellers, Relationship, Festival, Category
   Corporate Gifting remains the untouched reference.
===================================================== */

/* 1. BEST SELLERS — subtle edge fade */
#bestSellerSection {
}

#bestSellerSection .best-seller-marquee-viewport {
}

#bestSellerSection #bestSellerGrid {
}

/* 2. SAME CLEAN CARD APPEARANCE */
#relationships .relationship-card,
#relationships .shop-card,
#festivals .festival-card,
#festivals .shop-card,
#categories .category-card,
#categories .shop-card {
    background: #fff !important;
    border: 1px solid #f0e5eb !important;
    border-radius: 15px !important;
    box-shadow: 0 3px 12px rgba(65, 35, 50, .07) !important;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease !important;
}

#relationships .relationship-card:hover,
#relationships .shop-card:hover,
#festivals .festival-card:hover,
#festivals .shop-card:hover,
#categories .category-card:hover,
#categories .shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(65, 35, 50, .11) !important;
}

/* 3. CONSISTENT CATALOGUE IMAGE HEIGHT */
#relationships .relationship-card > img,
#relationships .shop-card > img,
#festivals .festival-card > img,
#festivals .shop-card > img,
#categories .category-card > img,
#categories .shop-card > img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 4. CONSISTENT CONTENT */
#relationships .category-card-content,
#festivals .category-card-content,
#categories .category-card-content {
    padding: 15px 14px !important;
    background: #fff !important;
    text-align: center;
}

#relationships .category-card-content h3,
#festivals .category-card-content h3,
#categories .category-card-content h3 {
    margin: 0 0 8px;
    color: #29232a;
    font-size: 16px;
    font-weight: 600;
}

/* 5. SAME BUTTON FINISH */
#relationships .category-btn,
#festivals .category-btn,
#categories .category-btn {
    border-radius: 7px !important;
    font-weight: 600;
    box-shadow: none !important;
}

/* 6. TABLET */
@media (max-width: 992px) {
    #relationships .relationship-card > img,
    #relationships .shop-card > img,
    #festivals .festival-card > img,
    #festivals .shop-card > img,
    #categories .category-card > img,
    #categories .shop-card > img {
        height: 160px;
    }
}

/* 7. MOBILE */
@media (max-width: 600px) {
    #relationships .relationship-card > img,
    #relationships .shop-card > img,
    #festivals .festival-card > img,
    #festivals .shop-card > img,
    #categories .category-card > img,
    #categories .shop-card > img {
        height: 135px;
    }

    #relationships .category-card-content,
    #festivals .category-card-content,
    #categories .category-card-content {
        padding: 11px 9px !important;
    }
}

/* 8. ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    #relationships .shop-card,
    #festivals .shop-card,
    #categories .shop-card {
        transition: none !important;
    }
}


/* =====================================================
   FINAL FIX — SINGLE SUBTLE CORPORATE-STYLE FADE
===================================================== */

/* Never fade the entire Best Sellers section */
#bestSellerSection {
}

/* Apply fade only once, at the scrolling viewport edges */
#bestSellerSection .best-seller-marquee-viewport {

}

/* No second fade on the moving product track */
#bestSellerSection #bestSellerGrid {
}

/* Corporate-style clean section surface */
#relationships,
#festivals,
#categories {
    background: #fff !important;
}

