/* =========================================================
   RICH HOME FOOTER
========================================================= */

.rh-footer.rh-footer--new {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    background: #711743 !important;
    color: #fff;
    overflow: hidden;
}


/* منع أي ستايل قديم للفوتر */
.rh-footer--new,
.rh-footer--new * {
    box-sizing: border-box;
}

.rh-footer--new .rh-container {
    width: min(100% - 60px, 1400px);
    max-width: 1400px;
    margin-inline: auto;
}


/* =========================================================
   MAIN AREA
========================================================= */

.rh-footer-new__main {
    position: relative;

    padding: 58px 0 45px;

    background:
        linear-gradient(
            120deg,
            rgba(73, 9, 40, .98),
            rgba(113, 23, 67, .96)
        );

    color: #fff;
}


/* subtle decorative glow */
.rh-footer-new__main::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    top: -220px;
    right: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.08),
            transparent 68%
        );

    pointer-events: none;
}


/* =========================================================
   GRID
========================================================= */

.rh-footer-new__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.25fr
        .8fr
        .8fr
        1.25fr;

    gap: 54px;

    align-items: start;
}


/* =========================================================
   BRAND
========================================================= */

.rh-footer-new__brand {
    max-width: 330px;
}


.rh-footer-new__logo {
    display: inline-flex;

    margin-bottom: 10px;

    text-decoration: none;
}


/* لو اللوجو صورة */
.rh-footer-new__logo img {
    display: block;

    width: auto;
    max-width: 185px;
    max-height: 72px;

    object-fit: contain;

    filter:
        brightness(0)
        invert(1);
}


/* لو component اللوجو فيه SVG */
.rh-footer-new__logo svg {
    max-width: 185px;

    color: #fff;
}


.rh-footer-new__brand-name {
    margin:
        0
        0
        4px;

    color: #fff;

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

    line-height: 1.3;
}


.rh-footer-new__tagline {
    margin:
        0
        0
        15px;

    color: #f1cadc;

    font-size: 17px;
    font-weight: 600;
}


.rh-footer-new__description {
    max-width: 310px;

    margin:
        0
        0
        23px;

    color: rgba(255,255,255,.78);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   HEADINGS
========================================================= */

.rh-footer-new__heading {
    position: relative;

    margin:
        0
        0
        22px;

    padding-bottom: 12px;

    color: #fff !important;

    font-size: 19px !important;
    font-weight: 800 !important;

    line-height: 1.3;
}


.rh-footer-new__heading::after {
    content: "";

    position: absolute;

    bottom: 0;
    inset-inline-start: 0;

    width: 36px;
    height: 2px;

    background: #e6a9c4;

    border-radius: 10px;
}


/* =========================================================
   LINKS
========================================================= */

.rh-footer-new__links {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.rh-footer-new__links li {
    margin: 0 !important;
    padding: 0 !important;
}


.rh-footer-new__links a {
    display: flex;

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

    gap: 12px;

    padding: 6px 0;

    color: rgba(255,255,255,.82) !important;

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

    text-decoration: none !important;

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


.rh-footer-new__links a i {
    color: rgba(255,255,255,.50);

    font-size: 9px;

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


.rh-footer-new__links a:hover {
    color: #fff !important;

    transform: translateX(-3px);
}


html[dir="ltr"] .rh-footer-new__links a:hover {
    transform: translateX(3px);
}


.rh-footer-new__links a:hover i {
    color: #f1b8d1;
}


/* =========================================================
   SOCIAL
========================================================= */

.rh-footer-new__social {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 17px;
}


.rh-footer-new__social-link {
    width: 38px;
    height: 38px;

    display: inline-flex;

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

    border:
        1px solid
        rgba(255,255,255,.28);

    border-radius: 50%;

    background:
        rgba(255,255,255,.05);

    color: #fff !important;

    text-decoration: none;

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


.rh-footer-new__social-link:hover {
    background: #fff;

    color: #711743 !important;

    transform: translateY(-3px);
}


/* =========================================================
   NEWSLETTER
========================================================= */

.rh-footer-new__newsletter-text {
    margin:
        0
        0
        17px;

    color: rgba(255,255,255,.76);

    font-size: 14px;
    line-height: 1.8;
}


.rh-footer-new__newsletter-form {
    width: 100%;
}


/* remove old component background */
.rh-footer-new__newsletter-form > *,
.rh-footer-new__newsletter-form form {
    max-width: 100% !important;
}


.rh-footer-new__newsletter-form form {
    position: relative;

    display: flex !important;

    align-items: center !important;

    width: 100% !important;

    margin: 0 !important;
}


.rh-footer-new__newsletter-form input[type="email"],
.rh-footer-new__newsletter-form input {
    width: 100% !important;
    height: 48px !important;

    padding:
        0
        18px !important;

    border:
        1px solid
        rgba(255,255,255,.22) !important;

    border-radius: 9px !important;

    outline: 0 !important;

    background: #fff !important;

    color: #302329 !important;

    font-family: inherit !important;

    font-size: 13px !important;

    box-shadow: none !important;
}


.rh-footer-new__newsletter-form button {
    flex: 0 0 auto !important;

    min-width: 48px !important;
    height: 48px !important;

    margin-inline-start: 8px !important;

    padding:
        0
        15px !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: #fff !important;

    color: #711743 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;

    cursor: pointer;
}


/* text inside newsletter component */
.rh-footer-new__newsletter-form h2,
.rh-footer-new__newsletter-form h3,
.rh-footer-new__newsletter-form strong {
    color: #fff !important;
}


.rh-footer-new__newsletter-form p,
.rh-footer-new__newsletter-form span {
    color: rgba(255,255,255,.70);
}


/* =========================================================
   INFO ROW
========================================================= */

.rh-footer-new__info {
    position: relative;

    padding:
        18px
        0;

    background: #64133b;

    border-top:
        1px solid
        rgba(255,255,255,.10);

    color: #fff;
}


.rh-footer-new__info-inner {
    display: flex;

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

    gap: 30px;
}


/* =========================================================
   PAYMENT
========================================================= */

.rh-footer-new__payment {
    display: flex;

    align-items: center;

    gap: 15px;
}


.rh-footer-new__payment-title {
    color: rgba(255,255,255,.78);

    font-size: 12px;

    white-space: nowrap;
}


.rh-footer-new__payment-icons {
    display: flex;

    align-items: center;

    gap: 7px;
}


.rh-footer-new__payment-item {
    display: flex;

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

    min-width: 48px;
    height: 29px;

    padding:
        3px
        7px;

    border-radius: 5px;

    background: #fff;

    overflow: hidden;
}


.rh-footer-new__payment-item img {
    display: block;

    width: auto !important;
    max-width: 55px !important;
    max-height: 22px !important;

    object-fit: contain;
}


/* =========================================================
   SERVICES
========================================================= */

.rh-footer-new__services {
    display: flex;

    align-items: center;

    gap: 26px;
}


.rh-footer-new__services span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: rgba(255,255,255,.84);

    font-size: 11px;

    white-space: nowrap;
}


.rh-footer-new__services i {
    color: #fff;

    font-size: 14px;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.rh-footer-new__base {
    padding:
        14px
        0;

    background: #4e0d2c;

    color: rgba(255,255,255,.72);
}


.rh-footer-new__base-inner {
    display: flex;

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

    gap: 25px;
}


.rh-footer-new__copyright {
    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 11px;
}


.rh-footer-new__legal {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;
}


.rh-footer-new__legal a {
    color: rgba(255,255,255,.72) !important;

    font-size: 11px;

    text-decoration: none !important;
}


.rh-footer-new__legal a:hover {
    color: #fff !important;
}


/* =========================================================
   REMOVE OLD FOOTER STYLING
========================================================= */

.rh-footer--new .rh-footer__columns,
.rh-footer--new .rh-footer__base,
.rh-footer--new .rh-footer__products {
    display: none !important;
}


/* old footer global styles should not override new UI */
.rh-footer--new h2,
.rh-footer--new h3,
.rh-footer--new p,
.rh-footer--new ul {
    max-width: none;
}


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

@media (max-width: 1050px) {

    .rh-footer-new__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            38px
            50px;
    }


    .rh-footer-new__info-inner {
        flex-direction: column;

        align-items: flex-start;
    }


    .rh-footer-new__services {
        flex-wrap: wrap;
    }

}


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

@media (max-width: 700px) {

    .rh-footer--new .rh-container {
        width: calc(100% - 32px);
    }


    .rh-footer-new__main {
        padding:
            38px
            0
            30px;
    }


    .rh-footer-new__grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .rh-footer-new__brand {
        max-width: none;

        text-align: center;
    }


    .rh-footer-new__logo {
        justify-content: center;

        width: 100%;
    }


    .rh-footer-new__description {
        margin-inline: auto;
    }


    .rh-footer-new__social {
        justify-content: center;
    }


    .rh-footer-new__heading {
        font-size: 17px !important;
    }


    .rh-footer-new__info-inner {
        align-items: center;

        text-align: center;
    }


    .rh-footer-new__payment {
        flex-direction: column;
    }


    .rh-footer-new__payment-icons {
        flex-wrap: wrap;

        justify-content: center;
    }


    .rh-footer-new__services {
        justify-content: center;

        gap:
            12px
            18px;
    }


    .rh-footer-new__base-inner {
        flex-direction: column;

        text-align: center;

        gap: 9px;
    }


    .rh-footer-new__legal {
        justify-content: center;
    }

}









/* =========================================================
   FOOTER FINAL POLISH
========================================================= */

/* نقلل ارتفاع الفوتر */
.rh-footer-new__main {
    padding: 42px 0 34px !important;
}


/* الأعمدة تبدأ من نفس الخط */
.rh-footer-new__grid {
    align-items: start !important;
    gap: 46px !important;
}


/* =========================
   BRAND
========================= */

.rh-footer-new__brand {
    max-width: 300px !important;
}


/* اللوجو أصغر */
.rh-footer-new__logo img {
    max-width: 230px !important;
    max-height: 95px !important;
}


/* الاسم موجود بالفعل داخل اللوجو */
.rh-footer-new__brand-name {
    display: none !important;
}


/* قرب الـtagline من اللوجو */
.rh-footer-new__tagline {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    font-size: 17px !important;
}


/* الوصف */
.rh-footer-new__description {
    max-width: 290px !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}


/* =========================
   HEADINGS
========================= */

.rh-footer-new__heading {
    margin-bottom: 18px !important;
    font-size: 18px !important;
}


/* =========================
   LINKS
========================= */

.rh-footer-new__links a {
    padding: 5px 0 !important;
    font-size: 13px !important;
}


/* =========================
   NEWSLETTER
========================= */

/*
 * عندنا العنوان والوصف بالفعل فوق الفورم،
 * فنخفي العنوان والوصف المكررين داخل component
 */
.rh-footer-new__newsletter-form h1,
.rh-footer-new__newsletter-form h2,
.rh-footer-new__newsletter-form h3 {
    display: none !important;
}

.rh-footer-new__newsletter-form > p {
    display: none !important;
}


/* نخلي الفورم Compact */
.rh-footer-new__newsletter-form form {
    margin-top: 8px !important;
}


/* Input */
.rh-footer-new__newsletter-form input {
    height: 46px !important;
}


/* Button */
.rh-footer-new__newsletter-form button {
    height: 46px !important;
    min-width: 105px !important;
}


/* =========================
   SOCIAL
========================= */

.rh-footer-new__social {
    margin-top: 16px !important;
}

.rh-footer-new__social-link {
    width: 36px !important;
    height: 36px !important;
}


/* =========================
   INFO BAR
========================= */

.rh-footer-new__info {
    padding: 14px 0 !important;
}

.rh-footer-new__info-inner {
    min-height: 42px;
}


/* الخدمات موزعة أحسن */
.rh-footer-new__services {
    flex: 1;
    justify-content: flex-end;
    gap: 32px !important;
}

.rh-footer-new__services span {
    font-size: 11px !important;
}


/* =========================
   COPYRIGHT
========================= */

.rh-footer-new__base {
    padding: 11px 0 !important;
}


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

html[dir="rtl"] .rh-footer-new__brand,
html[dir="rtl"] .rh-footer-new__column {
    text-align: right;
}


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

@media (max-width: 700px) {

    .rh-footer-new__main {
        padding: 32px 0 26px !important;
    }

    .rh-footer-new__logo img {
        max-width: 190px !important;
    }

    .rh-footer-new__services {
        justify-content: center;
    }

}








/* =========================================================
   FOOTER - MOBILE FINAL POLISH
========================================================= */

@media (max-width: 700px) {

    .rh-footer-new__main {
        padding: 28px 0 24px !important;
    }

    .rh-footer--new .rh-container {
        width: calc(100% - 28px) !important;
    }


    /* =========================
       GRID
    ========================= */

    .rh-footer-new__grid {
        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 24px !important;
    }


    /* =========================
       BRAND
    ========================= */

    .rh-footer-new__brand {
        max-width: 100% !important;

        text-align: center !important;
    }

    .rh-footer-new__logo {
        width: 100% !important;

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

        margin-bottom: 8px !important;
    }

    .rh-footer-new__logo img {
        width: 155px !important;
        max-width: 155px !important;
        max-height: 72px !important;

        object-fit: contain !important;
    }

    .rh-footer-new__tagline {
        margin: 6px 0 8px !important;

        font-size: 15px !important;
    }

    .rh-footer-new__description {
        max-width: 260px !important;

        margin:
            0
            auto
            14px !important;

        font-size: 12px !important;
        line-height: 1.7 !important;
    }


    /* =========================
       SOCIAL
    ========================= */

    .rh-footer-new__social {
        justify-content: center !important;

        gap: 10px !important;

        margin-top: 12px !important;
    }

    .rh-footer-new__social-link {
        width: 34px !important;
        height: 34px !important;
    }


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

    .rh-footer-new__column {
        width: 100% !important;
    }

    .rh-footer-new__heading {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;

        font-size: 17px !important;
    }

    .rh-footer-new__heading::after {
        width: 30px !important;
    }


    /* =========================
       LINKS
    ========================= */

    .rh-footer-new__links a {
        padding: 4px 0 !important;

        font-size: 12px !important;
    }

    .rh-footer-new__links a i {
        font-size: 8px !important;
    }


    /* =========================
       NEWSLETTER
    ========================= */

    .rh-footer-new__newsletter-text {
        margin-bottom: 12px !important;

        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    .rh-footer-new__newsletter-form form {
        display: flex !important;

        gap: 7px !important;
    }

    .rh-footer-new__newsletter-form input {
        height: 43px !important;

        font-size: 12px !important;
    }

    .rh-footer-new__newsletter-form button {
        min-width: 82px !important;
        height: 43px !important;

        font-size: 12px !important;
    }


    /* =========================
       INFO BAR
    ========================= */

    .rh-footer-new__info {
        padding: 12px 0 !important;
    }

    .rh-footer-new__info-inner {
        gap: 12px !important;
    }

    .rh-footer-new__services {
        justify-content: center !important;

        gap:
            8px
            14px !important;
    }

    .rh-footer-new__services span {
        font-size: 10px !important;
    }


    /* =========================
       COPYRIGHT
    ========================= */

    .rh-footer-new__base {
        padding: 10px 0 !important;
    }

    .rh-footer-new__copyright,
    .rh-footer-new__legal a {
        font-size: 10px !important;
    }

}








/* =========================================================
   FOOTER MOBILE - COMPACT 2 COLUMNS
========================================================= */

@media (max-width: 700px) {

    .rh-footer-new__main {
        padding: 22px 0 18px !important;
    }

    .rh-footer-new__grid {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 22px 18px !important;

        align-items: start !important;
    }


    /* =========================
       BRAND - FULL WIDTH
    ========================= */

    .rh-footer-new__brand {
        grid-column: 1 / -1 !important;

        text-align: center !important;

        margin: 0 !important;
    }

    .rh-footer-new__logo {
        margin-bottom: 5px !important;
    }

    .rh-footer-new__logo img {
        width: 135px !important;
        max-width: 135px !important;
        max-height: 60px !important;
    }

    .rh-footer-new__tagline {
        margin: 4px 0 5px !important;

        font-size: 13px !important;
    }

    .rh-footer-new__description {
        max-width: 245px !important;

        margin:
            0
            auto
            10px !important;

        font-size: 10px !important;
        line-height: 1.6 !important;
    }


    /* =========================
       SOCIAL
    ========================= */

    .rh-footer-new__social {
        margin-top: 8px !important;

        gap: 8px !important;
    }

    .rh-footer-new__social-link {
        width: 30px !important;
        height: 30px !important;
    }


    /* =========================
       SHOP + ABOUT
       SIDE BY SIDE
    ========================= */

    .rh-footer-new__column {
        width: 100% !important;
        min-width: 0 !important;
    }


    .rh-footer-new__heading {
        margin:
            0
            0
            10px !important;

        padding-bottom: 6px !important;

        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .rh-footer-new__heading::after {
        width: 25px !important;
        height: 2px !important;
    }


    .rh-footer-new__links {
        margin: 0 !important;
    }

    .rh-footer-new__links li {
        margin: 0 !important;
    }

    .rh-footer-new__links a {
        padding: 3px 0 !important;

        font-size: 10.5px !important;
        line-height: 1.5 !important;
    }

    .rh-footer-new__links a i {
        font-size: 7px !important;
    }


    /* =========================
       NEWSLETTER = FULL WIDTH
    ========================= */

    .rh-footer-new__grid > :last-child {
        grid-column: 1 / -1 !important;
    }


    .rh-footer-new__newsletter-text {
        margin-bottom: 9px !important;

        font-size: 10.5px !important;
        line-height: 1.6 !important;
    }


    .rh-footer-new__newsletter-form form {
        max-width: 100% !important;

        margin: 0 !important;

        gap: 6px !important;
    }


    .rh-footer-new__newsletter-form input {
        height: 40px !important;

        font-size: 11px !important;
    }


    .rh-footer-new__newsletter-form button {
        min-width: 75px !important;
        height: 40px !important;

        font-size: 11px !important;
    }


    /* =========================
       LOWER FOOTER
    ========================= */

    .rh-footer-new__info {
        padding: 9px 0 !important;
    }

    .rh-footer-new__services {
        gap: 8px 12px !important;
    }

    .rh-footer-new__services span {
        font-size: 9px !important;
    }

    .rh-footer-new__base {
        padding: 8px 0 !important;
    }

}
