/* ==================================================
   RAA HEADER - FINAL VERSION
   ================================================== */

/* إلغاء أي Sticky / Fixed للهيدر */
.store-header,
header.store-header,
#mainnav,
.main-nav-container {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* لو الثيم يضيف كلاس عند النزول */
#mainnav.sticky,
#mainnav.fixed,
#mainnav.is-sticky,
#mainnav.sticky-header,
.store-header.sticky,
.store-header.fixed,
.store-header.is-sticky,
.store-header.sticky-header {
    position: static !important;
    top: auto !important;
    transform: none !important;
}


/* ==================================================
   الهيدر الأساسي
   ================================================== */

#mainnav {
    height: 94px !important;
    min-height: 94px !important;
    background: #fff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #f2f2f2;
    overflow: visible !important;
}

#mainnav > .inner,
#mainnav > .inner > .container {
    height: 100%;
}

#mainnav > .inner > .container {
    max-width: 100% !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
}

/* الصف الرئيسي */
#mainnav > .inner > .container > .flex {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: 94px !important;
}


/* ==================================================
   القسم الأول
   القائمة + البحث + الشعار
   ================================================== */

#mainnav > .inner > .container > .flex > div:first-child {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==================================================
   الشعار في المنتصف
   ================================================== */

#mainnav [data-testid="store-header-logo"] {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    margin: 0 !important;
    padding: 0 !important;

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

    z-index: 5;
}

#mainnav [data-testid="store-header-logo"] img {
    width: auto !important;
    height: auto !important;

    max-width: 105px !important;
    max-height: 65px !important;

    object-fit: contain !important;
}


/* ==================================================
   زر القائمة
   ================================================== */

#mainnav [data-testid="store-header-mobile-toggle"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px;

    margin: 0 !important;
    padding: 5px !important;

    color: #111 !important;
    text-decoration: none !important;

    z-index: 10;
}

#mainnav [data-testid="store-header-mobile-toggle"] .sicon-menu {
    font-size: 27px !important;
    line-height: 1 !important;
}

/* كلمة القائمة */
.raa-menu-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #111;
    white-space: nowrap;
}


/* ==================================================
   زر البحث
   ================================================== */

.raa-header-search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px;
    height: 38px;

    margin: 0 6px;
    padding: 0;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;

    cursor: pointer;

    color: #111;

    z-index: 10;
}

.raa-header-search-btn i {
    font-size: 23px !important;
    line-height: 1 !important;
    color: #111 !important;
}


/* ==================================================
   الحساب + السلة
   ================================================== */

#mainnav > .inner > .container > .flex > div:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 13px;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 10;
}


/* الحساب */

#mainnav [data-testid="store-header-user-menu"] {
    margin: 0 !important;
}

#mainnav .s-user-menu-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
}

#mainnav .s-user-menu-login-btn svg {
    width: 25px !important;
    height: 25px !important;
}


/* السلة */

#mainnav [data-testid="store-header-cart"] {
    margin: 0 !important;
}

#mainnav .s-cart-summary-wrapper {
    display: flex !important;
    align-items: center !important;

    gap: 3px !important;

    color: #111 !important;
}

#mainnav #s-cart-icon {
    position: relative;
}

#mainnav .header-btn__icon {
    font-size: 23px !important;
}

#mainnav .s-cart-summary-content {
    display: block !important;
    margin: 0 !important;
}

#mainnav .s-cart-summary-total {
    font-size: 15px !important;
    font-weight: 400 !important;
}


/* ==================================================
   إخفاء قائمة الأقسام من الهيدر على Desktop
   ================================================== */

@media (min-width: 1024px) {
    #mainnav custom-main-menu > nav > ul > li {
        display: none !important;
    }
}


/* ==================================================
   البحث المنسدل
   ================================================== */

.top-navbar.raa-search-bar {
    display: block !important;

    position: absolute !important;

    top: 94px !important;
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;

    background: #fff !important;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .07);

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.top-navbar.raa-search-bar.raa-search-open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
}


/* إخفاء عناصر top-navbar الأخرى */

.top-navbar.raa-search-bar [data-testid="store-header-topnav"],
.top-navbar.raa-search-bar [data-testid="store-header-contacts"],
.top-navbar.raa-search-bar salla-bullet-delivery-tag,
.top-navbar.raa-search-bar .header-buttons {
    display: none !important;
}


/* حاوية البحث */

.top-navbar.raa-search-bar > .container {
    display: block !important;

    max-width: 850px !important;

    margin: auto !important;

    padding: 16px 20px !important;
}

.top-navbar.raa-search-bar > .container > div {
    display: block !important;
    width: 100% !important;
}

.top-navbar.raa-search-bar .header-search {
    display: block !important;

    width: 100% !important;

    max-width: none !important;

    margin: 0 !important;
}

.top-navbar.raa-search-bar salla-search {
    display: block !important;
    width: 100% !important;
}

.top-navbar.raa-search-bar .s-search-placeholder-wrapper,
.top-navbar.raa-search-bar .s-search-input-wrapper {
    width: 100% !important;
}

.top-navbar.raa-search-bar .s-search-input {
    width: 100% !important;

    height: 47px !important;

    border-radius: 4px !important;

    background: #fff !important;

    border: 1px solid #ddd !important;

    font-size: 15px !important;
}


/* ==================================================
   خلفية البحث
   ================================================== */

.raa-search-backdrop {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .12);

    z-index: 900;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition: opacity .2s ease;
}

.raa-search-backdrop.raa-show {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* ==================================================
   الجوال
   ================================================== */

@media (max-width: 767px) {

    #mainnav {
        height: 92px !important;
        min-height: 92px !important;
    }

    #mainnav > .inner > .container {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    #mainnav > .inner > .container > .flex {
        min-height: 92px !important;
    }

    /* إخفاء كلمة القائمة */
    .raa-menu-title {
        display: none !important;
    }

    #mainnav [data-testid="store-header-mobile-toggle"] {
        padding: 3px !important;
    }

    #mainnav [data-testid="store-header-mobile-toggle"] .sicon-menu {
        font-size: 25px !important;
    }

    .raa-header-search-btn {
        width: 34px;
        height: 34px;

        margin: 0 3px;
    }

    .raa-header-search-btn i {
        font-size: 21px !important;
    }

    /* الشعار */
    #mainnav [data-testid="store-header-logo"] img {
        max-width: 82px !important;
        max-height: 58px !important;
    }

    /* الحساب */
    #mainnav .s-user-menu-login-btn svg {
        width: 23px !important;
        height: 23px !important;
    }

    /* السلة */
    #mainnav .header-btn__icon {
        font-size: 21px !important;
    }

    #mainnav .s-cart-summary-total {
        font-size: 13px !important;
    }

    #mainnav > .inner > .container > .flex > div:last-child {
        gap: 8px;
    }

    /* البحث */
    .top-navbar.raa-search-bar {
        top: 92px !important;
    }

    .top-navbar.raa-search-bar > .container {
        padding: 12px !important;
    }

    .top-navbar.raa-search-bar .s-search-input {
        height: 45px !important;
    }
}


/* ==================================================
   جوال صغير
   ================================================== */

@media (max-width: 390px) {

    #mainnav > .inner > .container {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    #mainnav [data-testid="store-header-logo"] img {
        max-width: 72px !important;
    }

    #mainnav .s-cart-summary-total {
        font-size: 12px !important;
    }
  }

/* ==================================================
   FIX: منع الهيدر من التمدد أو الالتصاق عند السكرول
   ضع هذا في آخر CSS
   ================================================== */

/* الهيدر العام */
header.store-header,
.store-header {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}


/* الهيدر الرئيسي */
#mainnav,
.main-nav-container,
header.store-header #mainnav {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100% !important;

    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    overflow: visible !important;
}


/* منع العناصر الداخلية من تكبير الهيدر */
#mainnav > .inner {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
}

#mainnav > .inner > .container {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
}

#mainnav > .inner > .container > .flex {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;

    align-items: center !important;
}


/* منع أي كلاسات Sticky يضيفها الثيم */
.store-header.is-sticky,
.store-header.sticky,
.store-header.fixed,
.store-header.fixed-pinned,
.store-header.fixed-unpinned,

#mainnav.is-sticky,
#mainnav.sticky,
#mainnav.fixed,
#mainnav.fixed-pinned,
#mainnav.fixed-unpinned,

.main-nav-container.is-sticky,
.main-nav-container.sticky,
.main-nav-container.fixed,
.main-nav-container.fixed-pinned,
.main-nav-container.fixed-unpinned {
    position: relative !important;

    top: auto !important;
    bottom: auto !important;

    transform: none !important;
}


/* مهم جداً: لا تسمح للهيدر أن يصبح بطول الشاشة */
.store-header,
#mainnav,
.main-nav-container,
#mainnav .inner,
#mainnav .container {
    min-height: 0 !important;
}


/* ثم نعيد ارتفاع mainnav المطلوب */
#mainnav,
#mainnav > .inner,
#mainnav > .inner > .container,
#mainnav > .inner > .container > .flex {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
}


/* منع أي مسافة يقوم الثيم بإضافتها بسبب sticky */
body {
    padding-top: 0 !important;
}

#main-content {
    margin-top: 0 !important;
    padding-top: 0;
}


/* Desktop */
@media (min-width: 768px) {

    #mainnav,
    #mainnav > .inner,
    #mainnav > .inner > .container,
    #mainnav > .inner > .container > .flex {
        height: 94px !important;
        min-height: 94px !important;
        max-height: 94px !important;
    }

}
/* ==================================================
   RAA FLOATING MOBILE BOTTOM BAR
================================================== */

.raa-bottom-header {
    display: none !important;
}

@media screen and (max-width: 767px) {

    html body .raa-bottom-header {
        display: block !important;

        position: fixed !important;

        /* عائم فوق أسفل الشاشة */
        bottom: 14px !important;
        left: 14px !important;
        right: 14px !important;
        top: auto !important;

        width: auto !important;
        height: 68px !important;

        margin: 0 !important;
        padding: 0 6px !important;

        background: rgba(255, 255, 255, 0.96) !important;

        border: 1px solid rgba(0,0,0,.06) !important;

        border-radius: 18px !important;

        box-shadow:
            0 8px 30px rgba(0,0,0,.12) !important;

        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        z-index: 999999 !important;

        overflow: visible !important;

        box-sizing: border-box !important;
    }


    /* ==============================
       القائمة
    ============================== */

    html body .raa-bottom-header-buttons {

        display: grid !important;

        grid-template-columns:
            repeat(5, 1fr) !important;

        align-items: center !important;

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

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
    }


    /* ==============================
       كل عنصر
    ============================== */

    html body .raa-bottom-header-button {

        display: flex !important;

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

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

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;

        background: transparent !important;

        border: 0 !important;
    }


    html body .raa-bottom-header-button::before,
    html body .raa-bottom-header-button::after {
        display: none !important;
        content: none !important;
    }


    /* ==============================
       الرابط / الزر
    ============================== */

    html body .raa-bottom-header-icon {

        display: flex !important;

        flex-direction: column !important;

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

        gap: 4px !important;

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

        margin: 0 !important;
        padding: 5px 2px !important;

        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;

        box-shadow: none !important;

        color: #111 !important;

        text-decoration: none !important;

        font-family: inherit !important;

        cursor: pointer !important;
    }


    /* ==============================
       الأيقونات
    ============================== */

    html body .raa-bottom-header-icon > i {

        display: block !important;

        position: static !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 21px !important;

        line-height: 22px !important;

        color: #151515 !important;
    }


    /* ==============================
       النص
    ============================== */

    html body .raa-bottom-header-icon > span {

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 10.5px !important;

        font-weight: 400 !important;

        line-height: 13px !important;

        color: #222 !important;

        white-space: nowrap !important;
    }


    /* ==============================
       السلة
    ============================== */

    html body .raa-bottom-cart-icon {

        position: relative !important;

        display: flex !important;

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

        width: 24px !important;
        height: 24px !important;

        margin: 0 !important;
    }


    html body .raa-bottom-cart-icon > i {

        font-size: 21px !important;

        line-height: 22px !important;

        color: #151515 !important;
    }


    /* رقم السلة */

    html body .raa-bottom-cart-count {

        position: absolute !important;

        top: -7px !important;
        right: -9px !important;

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

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

        padding: 0 4px !important;

        border-radius: 20px !important;

        background: #9d2025 !important;

        color: #fff !important;

        font-size: 9px !important;

        line-height: 16px !important;

        z-index: 10 !important;
    }


    /* مساحة كافية أسفل محتوى الصفحة */
    html body {
        padding-bottom: 100px !important;
    }

}


/* ==================================================
   الكمبيوتر
================================================== */

@media screen and (min-width: 768px) {

    html body .raa-bottom-header {
        display: none !important;
    }
  }

/* =========================================
   شكل أقسام المتجر مثل الصورة
========================================= */

.raa-categories-slider {
    width: 100%;
    padding: 18px 0 22px;
    overflow: hidden;
}

.raa-categories-container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 14px;
    box-sizing: border-box;
}

/* إخفاء عنوان القسم */
.raa-categories-title {
    display: none !important;
}

.raa-categories-viewport {
    width: 100%;
    overflow: hidden;
    direction: rtl;
}

.raa-categories-track {
    display: flex;
    align-items: flex-start;
    direction: rtl;
    transition: transform .6s ease;
    will-change: transform;
}

.raa-category-slide {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    padding: 0 8px;
    box-sizing: border-box;
}

.raa-category-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


/* الصورة */
.raa-category-image-link {
    display: block;
    width: 100%;
    max-width: 125px;
    text-decoration: none !important;
}

.raa-category-image {
    width: 100%;
    aspect-ratio: 0.72 / 1;
    border-radius: 38% / 24%;
    overflow: hidden;
    background: #fff;
}

.raa-category-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* النص تحت الصورة */
.raa-category-info {
    margin-top: 12px;
    padding: 0;
    text-align: center;
}

.raa-category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 8px 14px;

    border-radius: 9px;

    background: #b88d97 !important;

    color: #fff !important;

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

    line-height: 1.2;

    text-decoration: none !important;

    border: 0 !important;
    box-shadow: none !important;
}


/* إخفاء الأسهم */
.raa-categories-prev,
.raa-categories-next {
    display: none !important;
}


/* الجوال */
@media (max-width: 767px) {

    .raa-categories-slider {
        padding: 14px 0 18px;
    }

    .raa-categories-container {
        padding: 0 7px;
    }

    .raa-category-slide {
        flex: 0 0 33.333333%;
        width: 33.333333%;
        padding: 0 5px;
    }

    .raa-category-image-link {
        max-width: 105px;
    }

    .raa-category-image {
        border-radius: 40% / 23%;
    }

    .raa-category-info {
        margin-top: 10px;
    }

    .raa-category-btn {
        min-height: 40px;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
    }
}


/* الشاشات الصغيرة جدًا */
@media (max-width: 390px) {

    .raa-category-image-link {
        max-width: 96px;
    }

    .raa-category-btn {
        padding: 7px 8px;
        font-size: 11px;
    }
}


/* الكمبيوتر */
@media (min-width: 768px) {

    .raa-category-slide {
        flex: 0 0 25%;
        width: 25%;
        padding: 0 12px;
    }

    .raa-category-image-link {
        max-width: 180px;
    }

    .raa-category-btn {
        font-size: 14px;
        padding: 9px 16px;
    }
}


/* ==========================================================
   RAA FOOTER - CLEAN FINAL
   Desktop: روابط يمين / البراند والتواصل وسط / التوثيق يسار
   Mobile: كل شيء في المنتصف
========================================================== */

:root {
    --raa-footer-bg: #5b1326;
    --raa-footer-bottom: #47101f;
    --raa-footer-title: #f6d8e0;
    --raa-footer-text: #e8bbc6;
    --raa-footer-link: #efc8d2;
    --raa-footer-border: rgba(255,255,255,.18);
}

/* الخلفية - لا تعتمد على JavaScript */
html body footer.store-footer,
html body footer.store-footer .store-footer__inner {
    background: #5b1326 !important;
    background-color: #5b1326 !important;
    color: #e8bbc6 !important;
}

html body footer.store-footer .store-footer__curve {
    color: #5b1326 !important;
    fill: #5b1326 !important;
}

html body footer.store-footer .store-footer__inner {
    padding-top: 52px !important;
    padding-bottom: 42px !important;
}

html body footer.store-footer h1,
html body footer.store-footer h2,
html body footer.store-footer h3,
html body footer.store-footer h4,
html body footer.store-footer h5,
html body footer.store-footer h6 {
    color: #f6d8e0 !important;
}

html body footer.store-footer p,
html body footer.store-footer span,
html body footer.store-footer li,
html body footer.store-footer a {
    color: #e8bbc6 !important;
}

html body footer.store-footer a:hover {
    color: #fff !important;
}


/* ==========================================================
   Desktop
========================================================== */

@media screen and (min-width: 768px) {

    html body footer.store-footer .raa-footer-grid {
        display: grid !important;
        grid-template-columns: minmax(220px,1fr) minmax(380px,1.45fr) minmax(220px,1fr) !important;
        grid-template-rows: auto auto auto auto !important;
        column-gap: 60px !important;
        row-gap: 14px !important;
        align-items: start !important;
        direction: rtl !important;
        width: 100% !important;
        max-width: 1280px !important;
        margin: 0 auto !important;
        padding: 0 28px !important;
        box-sizing: border-box !important;
    }

    /* نفك عمود البراند فقط على الكمبيوتر */
    html body footer.store-footer .raa-footer-brand-column {
        display: contents !important;
    }

    /* اليمين: روابط مهمة */
    html body footer.store-footer .raa-footer-links-column {
        grid-column: 1 !important;
        grid-row: 1 / span 4 !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    html body footer.store-footer .raa-footer-links-column h3 {
        margin: 0 0 22px !important;
        font-size: 19px !important;
        text-align: right !important;
        color: #f6d8e0 !important;
    }

    html body footer.store-footer .raa-footer-links-column .s-menu-footer-list,
    html body footer.store-footer .raa-footer-links-column ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    /* الوسط: الشعار */
    html body footer.store-footer .raa-footer-brand-logo,
    html body footer.store-footer .raa-footer-brand-column > a {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-logo {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 190px !important;
        max-height: 120px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    /* الوسط: الوصف */
    html body footer.store-footer .raa-footer-brand-description,
    html body footer.store-footer .raa-footer-brand-column > .max-w-sm,
    html body footer.store-footer .raa-footer-brand-column > .footer-description {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 560px !important;
        margin: 12px auto 8px !important;
        text-align: center !important;
        line-height: 2 !important;
        color: #e8bbc6 !important;
    }

    /* الوسط: التواصل */
    html body footer.store-footer .raa-footer-contact-column {
        grid-column: 2 !important;
        grid-row: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 6px auto 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-contact-column .s-contacts-title {
        width: 100% !important;
        margin: 0 0 14px !important;
        text-align: center !important;
        color: #f6d8e0 !important;
    }

    html body footer.store-footer .raa-footer-contact-column .s-contacts-list,
    html body footer.store-footer .raa-footer-contact-column .rounded_contacts {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    html body footer.store-footer .raa-footer-contact-column .s-contacts-item,
    html body footer.store-footer .raa-footer-contact-column .rounded_contacts > a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 125px !important;
        min-height: 42px !important;
        gap: 8px !important;
        padding: 8px 15px !important;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        border-radius: 30px !important;
        background: transparent !important;
        color: #efc8d2 !important;
        text-align: center !important;
    }

    /* الوسط: السوشال */
    html body footer.store-footer .raa-footer-brand-social {
        grid-column: 2 !important;
        grid-row: 4 !important;
        display: block !important;
        width: 100% !important;
        margin: 12px auto 0 !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-brand-social .s-social-list,
    html body footer.store-footer .raa-footer-contact-column .s-social-list {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* لو السوشال موجود داخل عمود التواصل في القالب الحالي */
    html body footer.store-footer .raa-footer-contact-column .contact-social {
        display: block !important;
        width: 100% !important;
        margin: 16px auto 0 !important;
        text-align: center !important;
    }

    /* اليسار: التوثيق */
    html body footer.store-footer .raa-footer-trust-area {
        grid-column: 3 !important;
        grid-row: 1 / span 4 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-trust-area salla-trust-badges,
    html body footer.store-footer .raa-footer-trust-area .s-trust-badges-wrapper {
        margin: 0 auto !important;
        text-align: center !important;
    }

    html body footer.store-footer .store-footer__sbc {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 18px auto 0 !important;
        text-align: center !important;
    }
}


/* ==========================================================
   Mobile
========================================================== */

@media screen and (max-width: 767px) {

    html body footer.store-footer .store-footer__inner {
        padding-top: 40px !important;
        padding-bottom: 34px !important;
    }

    html body footer.store-footer .raa-footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 30px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 18px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    html body footer.store-footer .raa-footer-brand-column,
    html body footer.store-footer .raa-footer-links-column,
    html body footer.store-footer .raa-footer-contact-column {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-brand-column { order: 1 !important; }
    html body footer.store-footer .raa-footer-contact-column { order: 2 !important; }
    html body footer.store-footer .raa-footer-links-column { order: 3 !important; }

    html body footer.store-footer .raa-footer-brand-logo,
    html body footer.store-footer .raa-footer-brand-column > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-brand-description,
    html body footer.store-footer .raa-footer-brand-column .max-w-sm,
    html body footer.store-footer .raa-footer-brand-column .footer-description {
        width: 92% !important;
        max-width: 500px !important;
        margin: 12px auto 18px !important;
        text-align: center !important;
        line-height: 1.9 !important;
    }

    html body footer.store-footer .raa-footer-trust-area {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-contact-column .s-contacts-list,
    html body footer.store-footer .raa-footer-contact-column .rounded_contacts {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    html body footer.store-footer .raa-footer-contact-column .s-contacts-item,
    html body footer.store-footer .raa-footer-contact-column .rounded_contacts > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 280px !important;
        min-height: 44px !important;
        gap: 8px !important;
        margin: 0 auto !important;
        padding: 9px 15px !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        border-radius: 30px !important;
        background: transparent !important;
        color: #efc8d2 !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-links-column h3,
    html body footer.store-footer .raa-footer-links-column ul,
    html body footer.store-footer .raa-footer-links-column li {
        width: 100% !important;
        text-align: center !important;
    }

    html body footer.store-footer .raa-footer-links-column ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 13px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html body footer.store-footer .s-social-list {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}


/* ==========================================================
   Bottom
========================================================== */

html body footer.store-footer .footer-bottom {
    width: 100% !important;
    background: #47101f !important;
    background-color: #47101f !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
}

html body footer.store-footer .store-footer__bottom-inner,
html body footer.store-footer .footer-rights,
html body footer.store-footer .footer-rights p,
html body footer.store-footer .footer-rights a {
    color: #e8bbc6 !important;
}

@media screen and (max-width: 767px) {
    html body footer.store-footer .store-footer__bottom-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    html body footer.store-footer .s-payments-list {
        justify-content: center !important;
    }
  /* ==========================================================
   FIX PRODUCT STICKY BAR + MOBILE FLOATING NAV
========================================================== */

@media screen and (max-width: 767px) {

    /* رفع شريط الشراء فوق قائمة الجوال العائمة */
    html body .sticky-product-bar {
        bottom: calc(
            100px + env(safe-area-inset-bottom)
        ) !important;

        z-index: 99999 !important;

        width: 100% !important;

        box-sizing: border-box !important;
    }


    /* إذا كان ثيم سلة يضيف position sticky */
    html body section.sticky-product-bar {
        position: sticky !important;

        bottom: calc(
            100px + env(safe-area-inset-bottom)
        ) !important;
    }


    /* منع المحتوى من النزول خلف قائمة الجوال */
    html body .product-form {
        padding-bottom: 105px !important;
    }

}
}