/* =========================
   عنوان السكشن
========================= */
.tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-title-section {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    text-align: center !important;
    margin-bottom: 24px !important;
}

.tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-title-section h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    margin: 0 !important;
    color: #563426 !important;
    font-size: clamp(22px, 2.5vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

/* الوصف أسفل العنوان */
.tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-title-section::after {
    content: "كل اللي تحبه في مكان واحد" !important;
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: #777 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    text-align: center !important;
}

/* =========================
   روابط وصور الأقسام
========================= */
.tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-slide > a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
}

.tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-slide img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
}

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

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-quick-links-swiper {
        height: auto !important;
        padding: 0 !important;
    }

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: clamp(16px, 3vw, 36px) !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        direction: rtl !important;
        transform: none !important;
        transition: none !important;
    }

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-wrapper > .swiper-slide {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
    }
}

/* =========================
   الموبايل: 3 أقسام والباقي بالسحب
========================= */
@media (max-width: 767.98px) {

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-title-section {
        margin-bottom: 18px !important;
    }

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .tp-quick-links-swiper {
        display: block !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
        touch-action: pan-x pan-y !important;
    }

    /* التمرير على صف الصور نفسه */
    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;

        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        gap: 10px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;
        direction: rtl !important;

        transform: none !important;
        transition: none !important;
        touch-action: pan-x pan-y !important;

        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* كل الأقسام موجودة، والظاهر منها 3 */
    .tp-quick-links[section-id="a730e2bd-a941-4e92-b334-025112f722c1"] .swiper-wrapper > .swiper-slide {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-sizing: border-box !important;

        flex: 0 0 calc((100% - 20px) / 3) !important;
        width: calc((100% - 20px) / 3) !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;

        scroll-snap-align: start;
    }
}

/* =========================
   البنرات
========================= */
.tp-banners .container {
    padding: 0 !important;
    max-width: 100% !important;
}

/* =========================
   زر الولاء
========================= */
.loyalty_button_footer {
    bottom: 75px !important;
}