/* =========================================================
   HOME PAGE CANVAS — PURE WHITE
   Keeps all gaps between homepage sections white
========================================================= */

body,
main,
.rh-row,
[data-entity="home"] {
    background: #fff !important;
}


/* =========================================================
   RICH HOME — HOMEPAGE CSS

   SECTION INDEX
   01 — Hero Slider
   02 — Store Benefits
   03 — Shop by Category
   04 — Payment / Installment Strip
   05 — Rich Home Mattresses
   06 — Feature Categories
   07 — Comfort Details
   08 — Customer Reviews

   UI only:
   - No URLs changed
   - No database data changed
   - No SEO markup changed
========================================================= */



/* =========================================================
   SECTION 01 — HERO SLIDER
   Main homepage hero / slider
========================================================= */

.rh-home-hero-section {
    padding: 24px 0 0;
    background: #fff;
}

.rh-home-hero {
    position: relative;
    width: 100%;
    height: 455px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
}


/* =========================================================
   TRACK + SLIDES
========================================================= */

.rh-home-hero__track {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;

    direction: ltr !important;

    transition: transform .6s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.rh-home-hero__slide {
    position: relative;

    flex: 0 0 100% !important;

    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;

    overflow: hidden;
}


/* رجع اتجاه محتوى السلايد حسب اللغة */

html[dir="rtl"] .rh-home-hero__slide {
    direction: rtl;
}

html[dir="ltr"] .rh-home-hero__slide {
    direction: ltr;
}


/* =========================================================
   IMAGE
========================================================= */

.rh-home-hero__slide picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.rh-home-hero__slide img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;
}


/* =========================================================
   OVERLAY
========================================================= */

.rh-home-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    display: flex;
    align-items: center;

    pointer-events: none;
}


/* التدرج ناحية الشمال */

.rh-home-hero__overlay::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(250,245,241,.99) 0%,
            rgba(250,245,241,.94) 22%,
            rgba(250,245,241,.62) 35%,
            rgba(250,245,241,.12) 52%,
            rgba(250,245,241,0) 65%
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.rh-home-hero__content {
    width: 430px;

    margin-left: 75px;
    margin-right: auto;

    text-align: center;

    pointer-events: auto;
}


.rh-home-hero__title {
    margin: 0 0 16px;

    color: #74163d;

    font-family: "Tajawal", sans-serif !important;

    font-size: 52px;
    font-weight: 800;

    line-height: 1.15;
}


.rh-home-hero__text {
    margin: 0 0 28px;

    color: #74163d;

    font-family: "Tajawal", sans-serif !important;

    font-size: 19px;
    font-weight: 500;

    line-height: 1.6;
}


.rh-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 170px;
    height: 54px;

    padding: 0 28px;

    border-radius: 10px;

    background: #74163d;
    color: #fff !important;

    font-family: "Tajawal", sans-serif !important;
    font-size: 18px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background .2s ease,
        transform .2s ease;
}

.rh-home-hero__button:hover {
    background: #5c1030;
    transform: translateY(-2px);
}


/* =========================================================
   ARROWS
========================================================= */

.rh-home-hero__arrow {
    position: absolute !important;

    top: 50% !important;

    z-index: 20 !important;

    width: 46px !important;
    height: 46px !important;

    display: grid !important;
    place-items: center !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,.94) !important;
    color: #74163d !important;

    box-shadow: 0 5px 20px rgba(0,0,0,.12) !important;

    transform: translateY(-50%) !important;

    cursor: pointer !important;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.rh-home-hero__arrow--prev {
    left: 14px !important;
    right: auto !important;
}

.rh-home-hero__arrow--next {
    right: 14px !important;
    left: auto !important;
}


.rh-home-hero__arrow:hover {
    background: #74163d !important;
    color: #fff !important;
}


/* =========================================================
   DOTS
========================================================= */

.rh-home-hero__dots {
    position: absolute !important;

    left: 50% !important;
    bottom: 16px !important;

    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;

    direction: ltr !important;

    transform: translateX(-50%) !important;
}


.rh-home-hero__dot {
    width: 9px !important;
    height: 9px !important;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    background: rgba(116,22,61,.35) !important;

    cursor: pointer !important;

    transition:
        width .25s ease,
        background .25s ease;
}


.rh-home-hero__dot[aria-current="true"] {
    width: 25px !important;

    border-radius: 20px !important;

    background: #74163d !important;
}


/* =========================================================
   ENGLISH
========================================================= */

html[dir="ltr"] .rh-home-hero__content {
    text-align: left;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rh-home-hero {
        height: 410px;
    }

    .rh-home-hero__content {
        width: 350px;
        margin-left: 50px;
    }

    .rh-home-hero__title {
        font-size: 42px;
    }

    .rh-home-hero__text {
        font-size: 16px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .rh-home-hero-section {
        padding-top: 10px;
    }

    .rh-home-hero {
        height: 480px;
        border-radius: 12px;
    }

    .rh-home-hero__slide img {
        object-position: 62% center !important;
    }

    .rh-home-hero__overlay {
        align-items: flex-end;
    }

    .rh-home-hero__overlay::before {
        background:
            linear-gradient(
                0deg,
                rgba(250,245,241,.99) 0%,
                rgba(250,245,241,.95) 35%,
                rgba(250,245,241,.18) 70%,
                rgba(250,245,241,0) 100%
            );
    }

    .rh-home-hero__content {
        width: 100%;

        margin: 0;

        padding: 0 42px 55px;

        text-align: center !important;
    }

    .rh-home-hero__title {
        font-size: 34px;
    }

    .rh-home-hero__text {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .rh-home-hero__button {
        min-width: 145px;
        height: 46px;

        padding-inline: 20px;

        font-size: 15px;
    }

    .rh-home-hero__arrow {
        width: 36px !important;
        height: 36px !important;
    }

    .rh-home-hero__arrow--prev {
        left: 8px !important;
    }

    .rh-home-hero__arrow--next {
        right: 8px !important;
    }
}



/* =========================================================
   SECTION 02 — STORE BENEFITS
   Auto-moving shipping / payment / quality / support strip
========================================================= */

.rh-home-benefits {
    padding: 14px 0 22px;
    background: #fff;
    overflow: hidden;
}

.rh-home-benefits__grid {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #f0e8e4;
    border-radius: 15px;
}


/* =========================================================
   MOVING TRACK
========================================================= */

.rh-home-benefits__track {
    display: flex;
    align-items: stretch;

    width: max-content;

    will-change: transform;

    transform: translate3d(0, 0, 0);
}


/* =========================================================
   BENEFIT ITEM
========================================================= */

.rh-home-benefit {
    position: relative;

    min-height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 16px 24px;

    background: #fff;

    box-sizing: border-box;
}


/* separator between cards */

.rh-home-benefit::after {
    content: "";

    position: absolute;

    top: 20%;
    bottom: 20%;

    right: 0;

    width: 1px;

    background: #e8ded9;
}


/* =========================================================
   ICON
========================================================= */

.rh-home-benefit__icon {
    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color: #9b506b;

    font-size: 27px;
}


/* =========================================================
   TEXT
========================================================= */

.rh-home-benefit__content {
    display: flex;
    flex-direction: column;

    gap: 3px;

    line-height: 1.35;
}

.rh-home-benefit__content strong {
    color: #2c2528;

    font-family: "Tajawal", sans-serif;

    font-size: 15px;
    font-weight: 700;
}

.rh-home-benefit__content span {
    color: #8a8184;

    font-family: "Tajawal", sans-serif;

    font-size: 12px;
    font-weight: 400;
}


/* Arabic item content */

html[dir="rtl"] .rh-home-benefit {
    direction: rtl;
    text-align: right;
}


/* English item content */

html[dir="ltr"] .rh-home-benefit {
    direction: ltr;
    text-align: left;
}


/* Pause visual cue while user points at the strip */

.rh-home-benefits__grid:hover .rh-home-benefits__track {
    will-change: transform;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .rh-home-benefit {
        min-height: 80px;
        padding-inline: 18px;
    }

    .rh-home-benefit__icon {
        width: 40px;
        height: 40px;

        font-size: 24px;
    }

    .rh-home-benefit__content strong {
        font-size: 14px;
    }

    .rh-home-benefit__content span {
        font-size: 11px;
    }
}


/* =========================================================
   MOBILE
   One large card moves automatically, with a small next-card peek
========================================================= */

@media (max-width: 700px) {

    .rh-home-benefits {
        padding: 10px 0 22px;
    }

    .rh-home-benefits > .rh-container {
        width: 100%;
        max-width: none;

        padding-inline: 16px;
    }

    .rh-home-benefits__grid {
        border-radius: 12px;
    }

    .rh-home-benefit {
        min-height: 74px;

        justify-content: flex-start;

        gap: 12px;

        padding: 13px 18px;
    }

    .rh-home-benefit__icon {
        width: 38px;
        height: 38px;

        font-size: 23px;
    }

    .rh-home-benefit__content strong {
        font-size: 14px;
    }

    .rh-home-benefit__content span {
        font-size: 11px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .rh-home-benefits__track {
        transform: none !important;
    }
}


/* =========================================================
   SECTION 03 — SHOP BY CATEGORY
   Circular category shortcuts
========================================================= */

.rh-home-categories {
    padding: 8px 0 30px;
    background: #fff;
}


/* heading */

.rh-home-categories__header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 20px;
}

.rh-home-categories__title {
    flex: 0 0 auto;

    margin: 0;

    color: #2c2528;

    font-family: "Tajawal", sans-serif;
    font-size: 27px;
    font-weight: 800;

    line-height: 1.2;
}

.rh-home-categories__line {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            to left,
            rgba(116,22,61,.22),
            rgba(116,22,61,.04)
        );
}


/* category row */

.rh-home-categories__grid {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
}


/* card */

.rh-home-category {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: #272124;

    text-align: center;
    text-decoration: none !important;
}


/* circular image */

.rh-home-category__image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    padding: 5px;

    overflow: hidden;

    border: 1px solid #eee5e1;
    border-radius: 50%;

    background: #fff;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.rh-home-category__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.rh-home-category__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    border-radius: 50%;

    object-fit: cover !important;

    transition: transform .35s ease;
}


/* category name */

.rh-home-category__name {
    margin: 0;

    color: #2c2528;

    font-family: "Tajawal", sans-serif;
    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;

    transition: color .2s ease;
}


/* hover */

.rh-home-category:hover
.rh-home-category__image {
    transform: translateY(-4px);

    border-color: #74163d;

    box-shadow:
        0 10px 24px rgba(116,22,61,.10);
}

.rh-home-category:hover
.rh-home-category__image img {
    transform: scale(1.05);
}

.rh-home-category:hover
.rh-home-category__name {
    color: #74163d;
}


/* RTL */

html[dir="rtl"]
.rh-home-categories__header {
    direction: rtl;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rh-home-categories__grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .rh-home-categories {
        padding-top: 4px;
        padding-bottom: 22px;
    }

    .rh-home-categories__title {
        font-size: 22px;
    }

    .rh-home-categories__grid {
        display: flex;

        gap: 14px;

        overflow-x: auto;

        padding: 2px 2px 12px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .rh-home-categories__grid::-webkit-scrollbar {
        display: none;
    }

    .rh-home-category {
        flex: 0 0 118px;

        scroll-snap-align: start;
    }

    .rh-home-category__name {
        font-size: 13px;
    }
}



/* =========================================================
   SECTION 04 — PAYMENT / INSTALLMENT STRIP
   Payment methods and installment messaging
========================================================= */

.rh-home-payment {
    padding: 8px 0 28px;
    background: #fff;
}

.rh-home-payment__bar {
    min-height: 92px;

    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    align-items: center;

    gap: 20px;

    padding: 14px 28px;

    border-radius: 14px;

    background:
        linear-gradient(
            110deg,
            #65102f 0%,
            #7a123d 45%,
            #861743 100%
        );

    color: #fff;

    overflow: hidden;

    box-shadow:
        0 10px 28px rgba(116, 22, 61, 0.12);
}


/* =========================================================
   SIDE TEXT BLOCKS
========================================================= */

.rh-home-payment__message {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #fff;
}

.rh-home-payment__message i {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;

    color: #fff;

    font-size: 17px;
}

.rh-home-payment__message > div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.rh-home-payment__message strong {
    margin: 0;

    color: #fff;

    font-family: "Tajawal", sans-serif !important;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;
}

.rh-home-payment__message span {
    color: rgba(255,255,255,.72);

    font-family: "Tajawal", sans-serif !important;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================================
   COMBINED PAYMENT LOGO IMAGE
========================================================= */

.rh-home-payment__logos {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;
}

.rh-home-payment__logos img {
    display: block;

    width: auto;
    height: 56px;

    max-width: 100%;

    object-fit: contain;

    object-position: center;
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] .rh-home-payment__bar {
    direction: rtl;
}

html[dir="rtl"] .rh-home-payment__message {
    direction: rtl;
    text-align: right;
}


/* =========================================================
   LTR
========================================================= */

html[dir="ltr"] .rh-home-payment__bar {
    direction: ltr;
}

html[dir="ltr"] .rh-home-payment__message {
    direction: ltr;
    text-align: left;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .rh-home-payment__bar {
        grid-template-columns:
            190px
            minmax(0, 1fr)
            190px;

        gap: 12px;

        padding-inline: 18px;
    }

    .rh-home-payment__logos {
        padding-inline: 12px;
    }

    .rh-home-payment__logos img {
        height: 46px;
    }

    .rh-home-payment__message strong {
        font-size: 13px;
    }

    .rh-home-payment__message span {
        font-size: 10px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .rh-home-payment {
        padding: 5px 0 20px;
    }

    .rh-home-payment__bar {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 15px;

        min-height: 0;

        padding: 18px;

        border-radius: 12px;
    }


    .rh-home-payment__message {
        width: 100%;

        justify-content: flex-start;
    }


    .rh-home-payment__logos {
        order: 2;

        width: 100%;

        padding: 8px 0;

        justify-content: center;
    }


    .rh-home-payment__logos img {
        width: 100%;
        height: auto;

        max-width: 520px;
        max-height: 70px;
    }


    .rh-home-payment__message:first-child {
        order: 1;
    }


    .rh-home-payment__message--installment {
        order: 3;
    }
}



/* =========================================================
   SECTION 05 — RICH HOME MATTRESSES
   Three product cards + promotional card
========================================================= */

.rh-home-mattresses {
    width: 100%;
    padding: 55px 0 35px;
    background: #fff;
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.rh-home-mattresses__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 25px;
}

.rh-home-mattresses__title {
    margin: 0;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;

    color: #252525;
}

html[dir="rtl"] .rh-home-mattresses__title {
    font-family: "Tajawal", sans-serif;
}


.rh-home-mattresses__view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    flex-shrink: 0;

    color: #252525;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: color .2s ease;
}

.rh-home-mattresses__view-all:hover {
    color: #74163d;
}

.rh-home-mattresses__view-all i {
    font-size: 13px;

    transition: transform .2s ease;
}

html[dir="rtl"] .rh-home-mattresses__view-all:hover i {
    transform: translateX(-4px);
}

html[dir="ltr"] .rh-home-mattresses__view-all:hover i {
    transform: translateX(4px);
}


/* =========================================================
   MAIN LAYOUT
   3 PRODUCTS + LARGE PROMO
========================================================= */

.rh-home-mattresses__content {
    display: grid;

    grid-template-columns:
        minmax(0, 3fr)
        minmax(280px, 1.05fr);

    gap: 28px;

    align-items: stretch;

    /*
     * نخلي الكارت الكبير ناحية اليمين
     * مهما كانت لغة الصفحة
     */
    direction: ltr;
}


/* =========================================================
   PRODUCTS
========================================================= */

.rh-home-mattresses__products {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    min-width: 0;

    direction: ltr;
}

.rh-home-mattresses__product {
    min-width: 0;
}


/* =========================================================
   EXISTING PRODUCT CARD OVERRIDES
   ONLY INSIDE THIS SECTION
========================================================= */

.rh-home-mattresses .rh-product-card {
    width: 100%;
    height: 100%;

    margin: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;

    display: flex;
    flex-direction: column;
}


/* IMAGE */

.rh-home-mattresses .rh-product-card__image {
    position: relative;

    width: 100%;
    height: 330px;

    margin: 0 0 18px;

    overflow: hidden;

    border-radius: 10px;

    background: #fff;
}

.rh-home-mattresses .rh-product-card__image > a {
    display: block;

    width: 100%;
    height: 100%;
}

.rh-home-mattresses .rh-product-card__image picture {
    display: block;

    width: 100%;
    height: 100%;
}

.rh-home-mattresses .rh-product-card__image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;

    transition: transform .35s ease;
}

.rh-home-mattresses .rh-product-card:hover
.rh-product-card__image img {
    transform: scale(1.035);
}


/* =========================================================
   LABEL / BADGE
========================================================= */

.rh-home-mattresses .rh-product-labels {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 3;

    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.rh-home-mattresses .rh-product-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 4px 10px;

    border-radius: 7px;

    background: #74163d;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   PRODUCT CAPTION
========================================================= */

.rh-home-mattresses .rh-product-card__caption {
    padding: 0 5px;

    flex: 1;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}

.rh-home-mattresses .rh-product-card__name {
    display: block;

    margin: 0 0 8px;

    color: #252525;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;

    transition: color .2s ease;
}

.rh-home-mattresses .rh-product-card__name:hover {
    color: #74163d;
}


/* نخفي الوصف عشان يبقى نفس شكل المرجع */
.rh-home-mattresses .rh-product-card__description {
    display: none;
}


/* PRICE */

.rh-home-mattresses .rh-price {
    justify-content: center;

    margin-top: 2px;
}

.rh-home-mattresses .rh-price__current,
.rh-home-mattresses .rh-price__sale,
.rh-home-mattresses .rh-price strong {
    color: #d82d20;

    font-size: 16px;
    font-weight: 700;
}

.rh-home-mattresses .rh-price__old,
.rh-home-mattresses .rh-price del {
    color: #898989;

    font-size: 13px;
}


/* =========================================================
   HIDE LARGE ACTION AREA IN THIS HOME SECTION
========================================================= */

.rh-home-mattresses .rh-product-card__actions {
    display: none;
}


/* =========================================================
   PROMO CARD
========================================================= */

.rh-home-mattresses__promo {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 100%;

    overflow: hidden;

    border-radius: 10px;

    background: #74163d;

    color: #fff;

    text-decoration: none;
}


/* promo image */

.rh-home-mattresses__promo-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.rh-home-mattresses__promo-image picture {
    display: block;

    width: 100%;
    height: 100%;
}

.rh-home-mattresses__promo-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    transition: transform .45s ease;
}

.rh-home-mattresses__promo:hover
.rh-home-mattresses__promo-image img {
    transform: scale(1.04);
}


/* dark burgundy overlay */

.rh-home-mattresses__promo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(83, 7, 34, .92) 0%,
            rgba(116, 22, 61, .58) 42%,
            rgba(116, 22, 61, .05) 78%
        );

    z-index: 1;
}


/* content */

.rh-home-mattresses__promo-overlay {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    min-height: 430px;

    display: flex;

    align-items: flex-end;

    padding: 30px;
}

.rh-home-mattresses__promo-content {
    width: 100%;

    color: #fff;
}

.rh-home-mattresses__promo-content h3 {
    max-width: 270px;

    margin: 0 0 20px;

    color: #fff;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

html[dir="rtl"]
.rh-home-mattresses__promo-content {
    direction: rtl;
    text-align: right;
}

html[dir="ltr"]
.rh-home-mattresses__promo-content {
    direction: ltr;
    text-align: left;
}


/* Shop now */

.rh-home-mattresses__promo-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 130px;
    min-height: 44px;

    padding: 10px 20px;

    border-radius: 30px;

    background: #fff;

    color: #262626;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.rh-home-mattresses__promo:hover
.rh-home-mattresses__promo-button {
    background: #74163d;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   BOTTOM CONTROLS
========================================================= */

.rh-home-mattresses__controls {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 28px;

    margin-top: 28px;

    direction: ltr;
}


/* progress line */

.rh-home-mattresses__progress {
    position: relative;

    width: 100%;
    height: 2px;

    overflow: hidden;

    background: #dedede;
}

.rh-home-mattresses__progress span {
    position: absolute;

    top: 0;
    left: 0;

    width: 48%;
    height: 100%;

    background: #222;

    transition: width .35s ease;
}


/* arrows */

.rh-home-mattresses__arrows {
    display: flex;

    align-items: center;

    gap: 10px;
}

.rh-home-mattresses__arrow {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid #dedede;
    border-radius: 50%;

    background: #fff;

    color: #252525;

    font-size: 14px;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.rh-home-mattresses__arrow:hover {
    color: #fff;

    border-color: #74163d;

    background: #74163d;
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] .rh-home-mattresses__header {
    direction: rtl;
}

html[dir="rtl"] .rh-home-mattresses__view-all {
    direction: rtl;
}

html[dir="rtl"]
.rh-home-mattresses .rh-product-card {
    direction: rtl;
}


/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1200px) {

    .rh-home-mattresses__content {
        grid-template-columns:
            minmax(0, 2.4fr)
            minmax(250px, .9fr);

        gap: 20px;
    }

    .rh-home-mattresses__products {
        gap: 18px;
    }

    .rh-home-mattresses .rh-product-card__image {
        height: 270px;
    }

    .rh-home-mattresses__promo-overlay {
        min-height: 375px;

        padding: 24px;
    }

    .rh-home-mattresses__promo-content h3 {
        font-size: 24px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .rh-home-mattresses {
        padding-top: 40px;
    }

    .rh-home-mattresses__content {
        display: flex;

        flex-direction: column;
    }

    .rh-home-mattresses__products {
        grid-template-columns:
            repeat(3, minmax(220px, 1fr));

        overflow-x: auto;

        padding-bottom: 8px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .rh-home-mattresses__products::-webkit-scrollbar {
        display: none;
    }

    .rh-home-mattresses__product {
        scroll-snap-align: start;
    }

    .rh-home-mattresses__promo {
        min-height: 400px;
    }
}

/* ---------------------------------------------------------
   MOBILE — one full slide at a time
--------------------------------------------------------- */

@media (max-width: 700px) {

    .rh-home-mattresses {
        padding: 28px 0 24px !important;
        overflow: hidden !important;
    }

    .rh-home-mattresses__header {
        align-items: center !important;
        margin-bottom: 16px !important;
    }

    .rh-home-mattresses__title {
        font-size: 23px !important;
        line-height: 1.2 !important;
    }

    .rh-home-mattresses__view-all {
        gap: 6px !important;
        font-size: 12px !important;
    }

    .rh-home-mattresses__content {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        direction: ltr !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        scroll-padding: 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
    }

    .rh-home-mattresses__content::-webkit-scrollbar {
        display: none !important;
    }

    .rh-home-mattresses__products {
        display: contents !important;
    }

    .rh-home-mattresses__product,
    .rh-home-mattresses__promo {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    .rh-home-mattresses .rh-product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .rh-home-mattresses .rh-product-card__image {
        width: 100% !important;
        height: 300px !important;
        margin-bottom: 14px !important;
        overflow: hidden !important;
        border-radius: 11px !important;
    }

    .rh-home-mattresses .rh-product-card__image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .rh-home-mattresses .rh-product-card__caption {
        min-height: 92px !important;
        padding: 0 10px 5px !important;
        justify-content: flex-start !important;
    }

    .rh-home-mattresses .rh-product-card__name {
        margin-bottom: 5px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .rh-home-mattresses .rh-price__current,
    .rh-home-mattresses .rh-price__sale,
    .rh-home-mattresses .rh-price strong {
        font-size: 15px !important;
    }

    .rh-home-mattresses__promo {
        height: 392px !important;
        min-height: 392px !important;
        border-radius: 12px !important;
    }

    .rh-home-mattresses__promo-overlay {
        min-height: 392px !important;
        padding: 24px !important;
    }

    .rh-home-mattresses__promo-content h3 {
        max-width: 230px !important;
        margin-bottom: 15px !important;
        font-size: 23px !important;
        line-height: 1.3 !important;
    }

    .rh-home-mattresses__promo-button {
        min-width: 120px !important;
        min-height: 42px !important;
        padding: 9px 17px !important;
        font-size: 13px !important;
    }

    .rh-home-mattresses__controls {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 16px !important;
        margin-top: 14px !important;
    }

    .rh-home-mattresses__progress {
        width: 100% !important;
    }

    .rh-home-mattresses__arrows {
        display: flex !important;
        gap: 8px !important;
    }

    .rh-home-mattresses__arrow {
        width: 38px !important;
        height: 38px !important;
        font-size: 12px !important;
    }
}



/* =========================================================
   SECTION 06 — HOME FEATURE CATEGORIES
   Desktop: 6 categories in one row
   Mobile: 3 categories per row (3 + 3)
========================================================= */

.rh-home-feature {
    width: 100%;
    padding: 48px 0 44px;
    background: #fff;
}


/* =========================================================
   HEADING
========================================================= */

.rh-home-feature__heading {
    margin-bottom: 30px;
    text-align: center;
}

.rh-home-feature__title {
    margin: 0 0 7px;
    color: #74163d;
    font-family: "Tajawal", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
}

.rh-home-feature__subtitle {
    margin: 0;
    color: #80777b;
    font-family: "Tajawal", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   CATEGORY GRID
   No wrapper border / no card border
========================================================= */

.rh-home-feature__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;

    width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 0;

    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* =========================================================
   CATEGORY ITEM
========================================================= */

.rh-home-feature-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;
    padding: 0 8px 10px;

    color: #2b2528;
    background: #fff;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    text-align: center;
    text-decoration: none !important;
}

.rh-home-feature-card:hover {
    color: #74163d;
}


/* =========================================================
   CIRCULAR CATEGORY IMAGE
========================================================= */

.rh-home-feature-card__image {
    display: block;

    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    padding: 0;
    margin: 0 auto;

    background: #fff;
    border: 0;
    border-radius: 50%;
}

.rh-home-feature-card__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.rh-home-feature-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    border: 0 !important;
    border-radius: 50%;

    object-fit: cover !important;
    object-position: center !important;

    transition: transform .3s ease;
}

.rh-home-feature-card:hover .rh-home-feature-card__image img {
    transform: scale(1.035);
}


/* =========================================================
   CATEGORY NAME
========================================================= */

.rh-home-feature-card__name {
    margin: 0;

    color: #252525;

    font-family: "Tajawal", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    transition: color .2s ease;
}

.rh-home-feature-card:hover .rh-home-feature-card__name {
    color: #74163d;
}


/* =========================================================
   MEDIUM DESKTOP / TABLET
   Keep all 6 in one row until mobile breakpoint
========================================================= */

@media (max-width: 1100px) and (min-width: 701px) {
    .rh-home-feature__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .rh-home-feature-card {
        padding-inline: 5px;
    }

    .rh-home-feature-card__image {
        max-width: 160px;
    }

    .rh-home-feature-card__name {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE — 3 ABOVE + 3 BELOW
========================================================= */

@media (max-width: 700px) {
    .rh-home-feature {
        padding: 30px 0 28px;
    }

    .rh-home-feature__heading {
        margin-bottom: 20px;
    }

    .rh-home-feature__title {
        font-size: 24px;
    }

    .rh-home-feature__subtitle {
        padding-inline: 14px;
        font-size: 12px;
    }

    .rh-home-feature__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 20px;

        width: 100%;
        padding: 0;
    }

    .rh-home-feature-card {
        gap: 8px;
        padding: 0 2px;
    }

    .rh-home-feature-card__image {
        width: 100%;
        max-width: 108px;
    }

    .rh-home-feature-card__name {
        font-size: 11px;
        line-height: 1.35;
    }
}

@media (max-width: 390px) {
    .rh-home-feature__grid {
        column-gap: 7px;
        row-gap: 18px;
    }

    .rh-home-feature-card__image {
        max-width: 96px;
    }

    .rh-home-feature-card__name {
        font-size: 10.5px;
    }
}


/* =========================================================
   SECTION 07 — COMFORT DETAILS
   Tabbed bedding products + promotional card
========================================================= */

.rh-home-comfort {
    padding: 15px 0 50px;
    background: #fff;
}

.rh-home-comfort > .rh-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 42px 42px;
    background: #fff;
}


/* =========================================================
   HEADING
========================================================= */

.rh-home-comfort__heading {
    margin-bottom: 22px;
    text-align: center;
}

html[dir="rtl"] .rh-home-comfort__heading,
html[dir="ltr"] .rh-home-comfort__heading {
    text-align: center;
}

.rh-home-comfort__title {
    margin: 0 0 8px;
    color: #711743;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

.rh-home-comfort__subtitle {
    margin: 0;
    color: #756d69;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   TABS
========================================================= */

.rh-home-comfort__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;

    margin: 26px 0 20px;

    border: 0;
}

.rh-home-comfort__tab {
    position: relative;

    appearance: none;
    border: 0;
    background: transparent;

    padding: 0 0 12px;

    color: #77706c;

    font-family: inherit;
    font-size: 17px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color .25s ease,
        font-weight .25s ease;
}

.rh-home-comfort__tab:hover {
    color: #711743;
}

.rh-home-comfort__tab.is-active {
    color: #711743;
    font-weight: 700;
}

.rh-home-comfort__tab.is-active::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 3px;

    margin: auto;

    border-radius: 20px;

    background: #711743;
}


/* =========================================================
   VIEW ALL
========================================================= */

.rh-home-comfort__top {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 0 28px;
}

html[dir="rtl"] .rh-home-comfort__top,
html[dir="ltr"] .rh-home-comfort__top {
    justify-content: center;
}

.rh-home-comfort__view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #711743;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}

.rh-home-comfort__view-all i {
    font-size: 13px;

    transition: transform .25s ease;
}

html[dir="rtl"] .rh-home-comfort__view-all:hover i {
    transform: translateX(-4px);
}

html[dir="ltr"] .rh-home-comfort__view-all:hover i {
    transform: translateX(4px);
}


/* =========================================================
   PRODUCTS + PROMO
========================================================= */

.rh-home-comfort__content {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    align-items: stretch;
}

.rh-home-comfort__products {
    display: contents;
}

.rh-home-comfort__product {
    min-width: 0;
    height: 100%;
}

.rh-home-comfort__product > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 100%;

    margin: 0 !important;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.rh-home-comfort__product article,
.rh-home-comfort__product .product-card,
.rh-home-comfort__product [data-product-card] {
    height: 100%;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: none;
}


/* Product image */

.rh-home-comfort__product img {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 270px;

    object-fit: cover;
}


/* Product title */

.rh-home-comfort__product h2,
.rh-home-comfort__product h3,
.rh-home-comfort__product h4 {
    font-size: 16px;
    line-height: 1.6;
}


/* Hide long description */

.rh-home-comfort__product p {
    display: none;
}


/* Hide cart form / quantity inside this homepage section */

.rh-home-comfort__product form {
    display: none !important;
}


/* =========================================================
   PROMO CARD
========================================================= */

.rh-home-comfort__promo {
    position: relative;

    min-width: 0;
    min-height: 410px;

    border-radius: 14px;

    overflow: hidden;

    background: #711743;

    text-decoration: none;

    isolation: isolate;
}

.rh-home-comfort__promo-image {
    position: absolute;
    inset: 0;
}

.rh-home-comfort__promo-image picture,
.rh-home-comfort__promo-image img {
    width: 100%;
    height: 100%;
}

.rh-home-comfort__promo-image img {
    display: block;

    object-fit: cover;
}

.rh-home-comfort__promo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 28px;

    background:
        linear-gradient(
            to top,
            rgba(79, 10, 47, .94) 0%,
            rgba(79, 10, 47, .68) 35%,
            rgba(79, 10, 47, .10) 72%
        );
}

.rh-home-comfort__promo-content {
    width: 100%;

    color: #fff;
}

.rh-home-comfort__promo-category {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 14px;

    opacity: .85;
}

.rh-home-comfort__promo-content h3 {
    margin: 0 0 18px;

    color: #fff;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.rh-home-comfort__promo-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 17px;

    background: #fff;

    border-radius: 7px;

    color: #711743;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   PANELS
========================================================= */

.rh-home-comfort__panel[hidden] {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rh-home-comfort {
        padding-top: 15px;
    }

    .rh-home-comfort > .rh-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .rh-home-comfort__content {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rh-home-comfort__promo {
        min-height: 380px;
    }

}

/* ---------------------------------------------------------
   MOBILE — product cards swipe horizontally
--------------------------------------------------------- */

@media (max-width: 700px) {

    .rh-home-comfort {
        padding: 10px 0 30px !important;
        overflow: hidden !important;
    }

    .rh-home-comfort > .rh-container {
        width: 100% !important;
        padding: 18px 16px 24px !important;
    }

    .rh-home-comfort__title {
        font-size: 27px !important;
    }

    .rh-home-comfort__subtitle {
        padding-inline: 8px;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .rh-home-comfort__tabs {
        justify-content: flex-start !important;
        gap: 24px !important;
        margin: 20px 0 15px !important;
        padding-bottom: 2px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
    }

    .rh-home-comfort__tabs::-webkit-scrollbar {
        display: none !important;
    }

    .rh-home-comfort__tab {
        flex: 0 0 auto !important;
        font-size: 15px !important;
    }

    .rh-home-comfort__top {
        margin-bottom: 20px !important;
    }

    .rh-home-comfort__content {
        display: flex !important;
        width: 100% !important;
        gap: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        direction: ltr !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
    }

    .rh-home-comfort__content::-webkit-scrollbar {
        display: none !important;
    }

    .rh-home-comfort__products {
        display: contents !important;
    }

    .rh-home-comfort__product,
    .rh-home-comfort__promo {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    .rh-home-comfort__product > * {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .rh-home-comfort__product img {
        width: 100% !important;
        height: 315px !important;
        aspect-ratio: auto !important;
        border-radius: 12px !important;
        object-fit: cover !important;
    }

    .rh-home-comfort__promo {
        height: 390px !important;
        min-height: 390px !important;
    }
}



/* =========================================================
   SECTION 08 — CUSTOMER REVIEWS
   Video testimonial + customer review cards
========================================================= */

.rh-home-reviews {
    position: relative;

    padding: 30px 0 24px;
    background: #fff !important;

    overflow: hidden;
    margin-bottom: 0;

}


/* =========================================================
   DECORATIVE BRAND SHAPES
========================================================= */

.rh-home-reviews__shape {
    position: absolute;

    display: block;

    background: #711743;

    z-index: 0;

    pointer-events: none;
}


.rh-home-reviews__shape--top {
    top: 0;
    left: 0;

    width: 240px;
    height: 55px;

    border-radius:
        0
        0
        70px
        0;
}


.rh-home-reviews__shape--bottom {
    right: 0;
    bottom: 0;

    width: 300px;
    height: 65px;

    border-radius: 70px 0 0 0;
    display: none;

}


/* =========================================================
   CONTAINER
========================================================= */

.rh-home-reviews > .rh-container {
    position: relative;

    z-index: 2;

    max-width: 1380px;

    margin: 0 auto;

    padding:
        0
        45px;
}


/* =========================================================
   TOP ROW
========================================================= */

.rh-home-reviews__topbar {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 20px;

    margin-bottom: 5px;

    color: #711743;

    font-size: 11px;
}


.rh-home-reviews__customers {
    justify-self: start;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        6px
        12px;

    background: #fff;

    border:
        1px solid
        rgba(113,23,67,.15);

    border-radius: 100px;
}


.rh-home-reviews__brand {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;
}


.rh-home-reviews__brand strong {
    color: #711743;

    font-size: 18px;

    font-weight: 700;
}


.rh-home-reviews__brand span {
    display: block;

    width: 75px;

    height: 1px;

    background: #711743;

    opacity: .4;
}


.rh-home-reviews__slogan {
    justify-self: end;

    font-weight: 600;
}


/* =========================================================
   HEADING
========================================================= */

.rh-home-reviews__heading {
    margin:
        5px auto
        20px;

    text-align: center;
}


.rh-home-reviews__heading h2 {
    margin:
        0
        0
        4px;

    color: #711743;

    font-size: 32px;

    font-weight: 800;

    line-height: 1.25;
}


.rh-home-reviews__heading p {
    margin: 0;

    color: #726966;

    font-size: 13px;
}


/* =========================================================
   SLIDER
========================================================= */

.rh-home-reviews__slider {
    position: relative;
}


.rh-home-reviews__slide {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        245px
        minmax(0, 1fr);

    gap: 24px;

    align-items: start;
}


.rh-home-reviews__slide[hidden] {
    display: none !important;
}


/* =========================================================
   SIDE COLUMNS
========================================================= */

.rh-home-reviews__side {
    display: grid;

    gap: 14px;
}


/* =========================================================
   REVIEW CARD
========================================================= */

.rh-review-card {
    position: relative;

    min-height: 145px;

    padding:
        17px
        20px;

    background: #fff;

    border:
        1px solid
        #eee4e8;

    border-radius: 16px;

    box-shadow:
        0
        8px
        24px
        rgba(67,31,45,.07);

    overflow: hidden;
}


/* burgundy accent */

.rh-review-card::before {
    content: "";

    position: absolute;

    top: 0;

    right: 24px;
    left: 24px;

    height: 3px;

    background: #711743;

    border-radius:
        0
        0
        10px
        10px;

    opacity: .9;
}


/* =========================================================
   REVIEW HEADER
========================================================= */

.rh-review-card__head {
    display: grid;

    grid-template-columns:
        36px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;
}


.rh-review-card__avatar {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #fff;

    border-radius: 50%;

    color: #711743;

    font-size: 13px;
}

.rh-review-card__avatar-image {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}


.rh-review-card__person h3 {
    margin:
        0
        0
        2px;

    color: #292326;

    font-size: 14px;

    font-weight: 700;
}


.rh-review-card__person span {
    color: #807572;

    font-size: 11px;
}


.rh-review-card__person i {
    margin-inline-end: 4px;

    color: #711743;
}


.rh-review-card__stars {
    display: flex;

    gap: 2px;

    color: #ee9900;

    font-size: 11px;

    white-space: nowrap;
}


/* quote */

.rh-review-card__quote {
    position: absolute;

    top: 49px;

    inset-inline-end: 17px;

    color:
        rgba(
            113,
            23,
            67,
            .11
        );

    font:
        700
        48px/1
        Georgia,
        serif;
}


/* text */

.rh-review-card > p {
    position: relative;

    z-index: 2;

    margin:
        14px
        0
        0;

    color: #423a38;

    font-size: 13px;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   CENTER COLUMN
========================================================= */

.rh-home-reviews__center {
    width: 245px;

    display: flex;

    flex-direction: column;

    gap: 11px;
}


/* =========================================================
   VIDEO
========================================================= */

.rh-review-video {
    position: relative;

    width: 245px;
    height: 350px;

    background:
        linear-gradient(
            155deg,
            #401323 0%,
            #190a10 100%
        );

    border:
        4px solid
        #fff;

    border-radius: 18px;

    box-shadow:
        0
        14px
        35px
        rgba(113,23,67,.20);

    overflow: hidden;
}


/* video */

.rh-review-video__media {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}


/* subtle light */

.rh-review-video__glow {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(255,255,255,.10),
            transparent 47%
        );

    pointer-events: none;
}


/* badge */

.rh-review-video__badge {
    position: absolute;

    top: 11px;

    inset-inline-end: 11px;

    z-index: 4;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        5px
        10px;

    background: #711743;

    border-radius: 100px;

    color: #fff;

    font-size: 10px;

    font-weight: 700;
}


/* play */

.rh-review-video__play {
    position: absolute;

    top: 48%;
    left: 50%;

    z-index: 5;

    transform:
        translate(
            -50%,
            -50%
        );

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        3px solid
        #fff;

    border-radius: 50%;

    background:
        rgba(
            113,
            23,
            67,
            .92
        );

    color: #fff;

    font-size: 18px;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}


.rh-review-video__play:hover {
    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.07);

    background: #8b1b50;
}


.rh-review-video__play i {
    margin-inline-start: 3px;
}


/* caption */

.rh-review-video__caption {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    z-index: 4;

    padding:
        40px
        13px
        14px;

    background:
        linear-gradient(
            transparent,
            rgba(24,5,13,.86)
        );

    color: #fff;

    text-align: center;
}


.rh-review-video__caption strong {
    display: block;

    font-size: 16px;

    font-weight: 800;
}


.rh-review-video__caption span {
    font-size: 10px;

    opacity: .88;
}


/* =========================================================
   CENTER REVIEW
========================================================= */

.rh-review-card--center {
    min-height: 0;

    padding:
        11px
        13px;

    border-radius: 14px;
}


.rh-review-card--center .rh-review-card__head {
    grid-template-columns:
        29px
        minmax(0,1fr)
        auto;

    gap: 7px;
}


.rh-review-card--center .rh-review-card__avatar {
    width: 29px;
    height: 29px;

    font-size: 10px;
}


.rh-review-card--center .rh-review-card__person h3 {
    font-size: 11px;
}


.rh-review-card--center .rh-review-card__person span {
    font-size: 9px;
}


.rh-review-card--center .rh-review-card__stars {
    font-size: 8px;
}


.rh-review-card--center > p {
    margin-top: 6px;

    font-size: 10px;

    line-height: 1.5;

    -webkit-line-clamp: 2;
}


/* =========================================================
   ARROWS
========================================================= */

.rh-home-reviews__arrow {
    position: absolute;

    top: 42%;

    z-index: 10;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        #eee2e7;

    border-radius: 50%;

    background: #fff;

    color: #711743;

    box-shadow:
        0
        6px
        20px
        rgba(0,0,0,.10);

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.rh-home-reviews__arrow:hover {
    background: #711743;

    color: #fff;
}


.rh-home-reviews__arrow--prev {
    left: -20px;
}


.rh-home-reviews__arrow--next {
    right: -20px;
}


/* =========================================================
   DOTS / COUNTER
========================================================= */

.rh-home-reviews__nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 12px;
}


.rh-home-reviews__dots {
    display: flex;

    align-items: center;

    gap: 6px;
}


.rh-home-reviews__dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #d8ced2;

    cursor: pointer;

    transition:
        width .2s ease,
        background .2s ease;
}


.rh-home-reviews__dot.is-active {
    width: 22px;

    border-radius: 20px;

    background: #711743;
}


.rh-home-reviews__counter {
    color: #6e6568;

    font-size: 10px;
}


.rh-home-reviews__counter strong {
    color: #711743;
}


/* =========================================================
   BOTTOM
========================================================= */

.rh-home-reviews__bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 12px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(113,23,67,.10);

    color: #711743;
    background: #fff;
    padding-bottom: 10px;
    font-size: 10px;
}


.rh-home-reviews__bottom > div,
.rh-home-reviews__benefits,
.rh-home-reviews__benefits span {
    display: flex;

    align-items: center;
}


.rh-home-reviews__bottom > div {
    gap: 7px;
}


.rh-home-reviews__benefits {
    gap: 20px !important;
}


.rh-home-reviews__benefits span {
    gap: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rh-home-reviews > .rh-container {
        padding:
            0
            25px;
    }


    .rh-home-reviews__slide {
        grid-template-columns:
            minmax(0,1fr)
            225px
            minmax(0,1fr);

        gap: 14px;
    }


    .rh-home-reviews__center {
        width: 225px;
    }


    .rh-review-video {
        width: 225px;
        height: 330px;
    }


    .rh-review-card {
        padding:
            14px
            15px;
    }

}

/* ---------------------------------------------------------
   MOBILE — video first + horizontal review carousel
--------------------------------------------------------- */

.rh-home-reviews__mobile-cards {
    display: none;
}

@media (max-width: 780px) {

    .rh-home-reviews {
        padding: 24px 0 18px !important;
    }

    .rh-home-reviews > .rh-container {
        padding-inline: 14px !important;
    }

    .rh-home-reviews__shape,
    .rh-home-reviews__topbar,
    .rh-home-reviews__arrow,
    .rh-home-reviews__bottom,
    .rh-home-reviews__slide > .rh-home-reviews__side,
    .rh-home-reviews__center .rh-review-card--center {
        display: none !important;
    }

    .rh-home-reviews__heading {
        margin-bottom: 15px !important;
    }

    .rh-home-reviews__heading h2 {
        font-size: 26px !important;
    }

    .rh-home-reviews__heading p {
        font-size: 11px !important;
    }

    .rh-home-reviews__slide {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .rh-home-reviews__center {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 14px;
    }

    .rh-review-video {
        width: min(235px, calc(100vw - 60px)) !important;
        height: 335px !important;
        margin-inline: auto !important;
    }

    .rh-home-reviews__mobile-cards {
        order: 2 !important;
        display: flex !important;
        width: 100% !important;
        gap: 12px;
        margin-top: 14px;
        padding: 3px 2px 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rh-home-reviews__mobile-cards::-webkit-scrollbar {
        display: none;
    }

    .rh-home-reviews__mobile-cards .rh-review-card {
        flex: 0 0 88% !important;
        width: 88% !important;
        min-width: 88% !important;
        max-width: 88% !important;
        min-height: 140px !important;
        margin: 0 !important;
        padding: 14px 15px !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .rh-review-card > p {
        margin-top: 11px !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    html[dir="rtl"] .rh-home-reviews__mobile-cards {
        direction: rtl;
    }

    html[dir="ltr"] .rh-home-reviews__mobile-cards {
        direction: ltr;
    }
}



















