html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff7eb;
}

html {
    margin-top: 0 !important;
}

@media screen and (max-width: 782px) {
    html {
        margin-top: 0 !important;
    }
}




/* ===== الهيدر الأساسي ===== */
.site-header {
    background-color: #f7efe4; /* لون الخلفية الأوف وايت */
    border-bottom: 1px solid #e4d7c5;
}

.header-inner {
    max-width: 1390px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* زر المنيو (الهامبرجر) */
.header-burger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.header-burger span {
    display: block;
    width: 50px;
    height: 9px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #6b3c1c, #c9823b);
}

/* اللوجو يمين */
.header-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.header-logo .custom-logo {
    max-height: 144px;
    width: auto;
}

/* ===== السايد منيو + الأوفرلاى ===== */

.side-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 900;
}

.side-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0; /* لو عايزاها من اليمين خلى right:0 */
    width: 300px;
    background: linear-gradient(
        to bottom,
        #5b391c 0%,
        #8c5827 40%,
        #c97d34 100%
    ); /* تدرج بنى → دهبى */
    color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 901;
    padding: 16px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


/* حالة الفتح */
.side-menu.is-open {
    transform: translateX(0);
}

.side-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* هيدر السايد منيو */
.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.side-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.side-menu-cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    color: #ffffff;
}

.side-menu-account-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    background-color: transparent;
    font-size: 12px;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
}

.side-menu-account-btn:hover,
.side-menu-cart:hover {
    background-color: rgba(255,255,255,0.12);
}

.side-menu-separator {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.4);
    margin: 10px 0 15px;
}

/* قائمة الروابط */
.side-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu-list li {
    margin-bottom: 10px;
}

.side-menu-list a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    display: block;
}

.side-menu-list a:hover {
    text-decoration: underline;
}

/* ديسكتوب / موبايل نفس السايد منيو */
@media (min-width: 992px) {
    .header-inner {
        padding-inline: 40px;
    }
}



/* ====== FOOTER – MAJESTY ====== */

.site-footer {
    position: relative;
    color: #5d4632;
    direction: rtl;
    background:
        linear-gradient(to top, rgba(247, 239, 228, 0.97), rgba(247, 239, 228, 0.92)),
        url("../img/footer-bg.jpg") center/cover no-repeat; /* عدلى مسار الخلفية */
    padding: 40px 40px 15px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* الأعمدة الأساسية */
.footer-cols {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 25px;
}

/* عمود اللوجو */
.footer-col-brand {
    flex: 1.1;
}

.footer-logo img {
    max-height: 90px;
    width: auto;
    display: block;
    margin-bottom: 10px;
}

.footer-quote {
    margin: 0 0 16px;
    font-size: 14px;
}

/* الأعمدة الوسط */
.footer-cols-middle {
    flex: 1.5;
    display: flex;
    gap: 40px;
}

.footer-col-main,
.footer-col-services {
    flex: 1;
}

/* عمود الصفحات السريعة */
.footer-col-quick {
    flex: 1;
}

/* العناوين والقوائم */
.footer-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    text-decoration: none;
    color: #5d4632;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* السوشيال */
.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social img {
    width: 26px;
    height: 26px;
    display: block;
}

/* صف العنوان/التواصل */
.footer-contact-row {
    border-top: 1px solid rgba(93, 70, 50, 0.25);
    border-bottom: 1px solid rgba(93, 70, 50, 0.25);
    padding: 10px 0;
    margin-bottom: 12px;
}

.footer-contact-items {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: end;
}

.footer-separator {
    opacity: 0.6;
}

/* الكوبى رايت + طرق الدفع */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-copy {
    margin: 0;
    font-size: 12px;
}

.footer-payments img {
    height: 28px;
    width: auto;
    display: inline-block;
    margin-inline-start: 8px;
}

/* ====== موبايل – نفس الديزاين بالظبط ====== */
@media (max-width: 767px) {
    .site-footer {
        padding: 25px 20px 12px;
        text-align: right;
    }

    .footer-cols {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col-brand {
        order: 1;
    }

    .footer-cols-middle {
        order: 2;
        display: flex;
        gap: 30px;
    }

    .footer-col-quick {
        order: 3;
    }

    .footer-contact-row {
        order: 4;
    }

    .footer-bottom {
        order: 5;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo img {
        max-height: 80px;
    }

    .footer-quote {
        font-size: 13px;
    }

    .footer-title {
        font-size: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact-items {
        font-size: 12px;
    }

    .footer-copy {
        font-size: 11px;
    }
}

/* ===== BLOG – ARCHIVE ===== */

.blog-main {
    background-color: #fff7eb;
}

/* هيرو المدونة */
.blog-hero {
    position: relative;
    min-height: 500px; /* نزود الارتفاع شوية كمان عشان الصورة تبان أكتر */
    background-color: #ccc;
    background-size: cover;
    background-position: center top; /* نخلى التركيز أعلى الصورة */
    background-repeat: no-repeat;
    overflow: hidden;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.05)
    );
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-start;     
    justify-content: flex-start;  
    text-align: right;
}

.blog-hero-title-wrap {
    text-align: right;
}

.blog-hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
}

/* قسم آخر الأخبار */
.blog-list-section {
    padding: 40px 0 60px;
}

.blog-list-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #5d4632;
    margin: 0 0 26px;
}

/* الجريد والكروت */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.blog-card {
    position: relative;
    background: transparent;
    box-shadow: none;
    display: block;
    padding-bottom: 26px;
}

/* الصورة فى الخلفية */
.blog-card-thumb {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1; /* تحت */
}

.blog-card-thumb img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* البوكس اللى فوق الصورة */
.blog-card-body {
    background-color: #fdf6ee;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 18px 18px;
    margin: -60px 26px 0;   /* يتحرك لفوق ويغطّى جزء من الصورة */
    position: relative;
    z-index: 2;             /* فوق الصورة */
}

.blog-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #5d4632;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    text-decoration: underline;
}

.blog-card-excerpt {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.7;
    color: #6b5644;
}

/* زر تفاصيل أكثر */
.blog-card-btn {
    display: inline-block;
    padding: 6px 16px;          /* أصغر شوية */
    background-color: #8b5b2b;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 6px;
    margin-top: 14px;
             
}

.blog-card-btn:hover {
    background-color: #6e4620;
}

/* الترقيم */
.blog-pagination {
    margin-top: 30px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 4px 8px;
    font-size: 13px;
    text-decoration: none;
    color: #5d4632;
    border-radius: 4px;
}

.blog-pagination .page-numbers.current {
    background-color: #8b5b2b;
    color: #fff;
}

/* ===== ريسبونسيف – موبايل ===== */

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-hero {
        min-height: 260px;
    }

    .blog-hero-inner {
        padding: 0 18px 24px;
    }

    .blog-hero-title {
        font-size: 22px;
    }

    .blog-list-section {
        padding: 30px 0 45px;
    }

    .blog-list-section .container {
        padding: 0 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-card-thumb img {
        height: 210px;
    }

    .blog-card-body {
        margin: -36px 14px 0;
        padding: 14px 16px 16px;
    }
}



.single-post-main {
    background-color: #fff7eb;
}

/* ===================== SINGLE POST – MAJESTY ===================== */
/* ===================== SINGLE POST – MAJESTY (FINAL) ===================== */

.single-post-main {
    background-color: #fff7eb;
}

/* ===== هيرو المدونة (صورة من صفحة المدونة الأساسية) ===== */

.single-hero {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.05)
    );
}

.single-hero-inner--label {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 40px 22px;
}

.single-hero-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

/* ===== عنوان المقال + المقدّمة تحت الصورة ===== */

.single-header-section {
    padding: 24px 0 10px;
}

.single-header-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.single-main-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #5d4632; /* بنى */
}

.single-intro-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #6b5644;
}

/* ===== جسم المقال – صور جانبية + كروت المحتوى ===== */

.single-content-section {
    padding: 10px 0 50px;
}

.single-content-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-article {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* كروت المحتوى */
.single-article-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* أول فقرة = نص تعريفى بدون كارت تقيل */
.single-article-body > p:first-of-type {
    background: transparent;
    padding: 0;
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.9;
    color: #5d4632;
}

/* بقية البلوكات = كروت كريمية زى التصميم */
.single-article-body > p:not(:first-of-type),
.single-article-body > ul,
.single-article-body > ol,
.single-article-body > div {
    background-color: #fdf6ee;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.8;
    color: #5d4632;
}

/* عناوين داخل الكروت */
.single-article-body h2,
.single-article-body h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #5d4632;
}

/* ليستات */
.single-article-body ul {
    list-style: disc;
    padding-inline-start: 20px;
}

/* ===== الصور الجانبية (ACF) – يمين فوق / يسار تحت مع لف النص حوالينها ===== */

.single-inline-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    max-width: 420px;
    max-height: 320px;
}

.single-inline-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* الصورة الأولى يمين فوق والبلوكات على الشمال */
.single-inline-image--right {
    float: right;
    width: 38%;
    margin: 10px 0 20px 24px; /* left margin عشان يسيب مكان للكروت */
}

/* الصورة الثانية شمال تحت شوية والبلوكات على اليمين */
.single-inline-image--left {
    float: left;
    width: 38%;
    margin: 30px 24px 20px 0;
}

/* ===== فوتر المقال (رجوع + وسوم) ===== */

.single-article-footer {
    clear: both; /* نتأكد إن الفوتر ينزل بعد الصور */
    margin-top: 20px;
    border-top: 1px solid rgba(93,70,50,0.18);
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.single-back-btn {
    display: inline-block;
    padding: 6px 14px;
    background-color: #8b5b2b;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    border-radius: 6px;
}

.single-back-btn:hover {
    background-color: #6e4620;
}

.single-tags {
    font-size: 13px;
    color: #5d4632;
}

.single-tags-label {
    font-weight: 600;
}

/* ===================== ريسبونسيف – موبايل / تابلت ===================== */

@media (max-width: 991px) {
    .single-header-section .container {
        padding: 0 18px;
    }

    .single-content-section .container {
        padding: 0 18px;
    }
}

@media (max-width: 767px) {
    .single-hero-inner--label {
        padding: 0 18px 18px;
    }

    .single-header-section {
        padding: 18px 0 6px;
    }

    .single-main-title {
        font-size: 25px;
    }

    .single-intro-text {
        font-size: 17px;
    }

    .single-inline-image--right,
    .single-inline-image--left {
        float: none;
        width: 100%;
        max-width: 100%;
        max-height: 260px;
        margin: 18px 0 18px;
    }

    .single-article-body > p:not(:first-of-type),
    .single-article-body > ul,
    .single-article-body > ol,
    .single-article-body > div {
        padding: 10px 12px;
        font-size: 17px;
    }

    .single-article-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-back-btn {
        font-size: 11px;
        padding: 5px 12px;
    }
}




/* صفوف السنجل – صورة + محتوى */

.single-content-section {
    padding: 10px 0 50px;
}

.single-content-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-row {
    display: grid;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 26px;
}

/* صف 1: محتوى يسار – صورة يمين */
.single-row--image-right {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

/* صف 2: صورة يسار – محتوى يمين */
.single-row--image-left {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.single-row-content {
    width: 100%;
}

.single-row-image {
    display: flex;
    justify-content: center;
}

.single-side-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    max-width: 430px;
    max-height: 320px;
}

.single-side-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* نفس ستايل الكروت اللى عندنا */
.single-article-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-article-body > p:not(:first-of-type),
.single-article-body > ul,
.single-article-body > ol,
.single-article-body > div {
    background-color: #fdf6ee;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    padding: 12px 14px;
    font-size: 17px;
    line-height: 1.8;
    color: #5d4632;
}

/* موبايل – خلي الصورة فوق والمحتوى تحت فى كل الصفوف */
@media (max-width: 767px) {
    .single-row {
        grid-template-columns: 1fr; /* صف واحد */
    }

    .single-row-image {
        order: 1;  /* الصورة الأول */
    }

    .single-row-content {
        order: 2;  /* المحتوى بعد الصورة */
    }
    
    .single-hero {
    position: relative;
    min-height: 200px;}
}


/* ====================== أرشيف الباقات / المنتجات ====================== */

.maj-archive-main {
    background-color: #fff7eb;
    direction: rtl;
}

/* ===== الهيرو ===== */

.maj-archive-hero {
    position: relative;
    min-height: 230px;
    background-color: #333;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.maj-archive-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

.maj-archive-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 30px 0;
}

.maj-archive-hero__content {
    width: 100%;
    text-align: right;
    color: #fff;
}

.maj-archive-hero__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
}

/* ===== شبكة المنتجات ===== */

.maj-bundles-section {
    padding: 30px 0 50px;
}

.maj-bundles-section .container {
    max-width: 1273px;
    margin: 0 auto;
    padding: 0 0px;
}

.maj-bundles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* الكارت الأساسى */

.maj-bundle-card {
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
    padding: 14px 18px;
}

.maj-bundle-card__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    gap: 16px;
    align-items: stretch;
}

/* أول كارت ياخد عرضين */

.maj-bundle-card--featured {
    grid-column: 1 / -1;
}

.maj-bundle-card--featured .maj-bundle-card__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
}

/* جزء المعلومات */

.maj-bundle-card__info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maj-bundle-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.maj-bundle-card__title {
    font-size: 15px;
    font-weight: 800;
    color: #5a432e;
    margin: 0;
}

.maj-bundle-card__price {
    background-color: #8b5b2b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.maj-bundle-card__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
    color: #7a6652;
}

.maj-bundle-card__meta li span {
    font-weight: 600;
    color: #5a432e;
}

.maj-bundle-card__excerpt {
    font-size: 12px;
    line-height: 1.9;
    color: #6b5845;
}

.maj-bundle-card__buttons {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* أزرار */

.maj-bundle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}

.maj-bundle-btn--primary {
    background-color: #8b5b2b;
    border-color: #8b5b2b;
    color: #fff;
}

.maj-bundle-btn--primary:hover {
    background-color: #6f4620;
    border-color: #6f4620;
    transform: translateY(-1px);
}

.maj-bundle-btn--outline {
    background-color: #fff;
    border-color: #8b5b2b;
    color: #8b5b2b;
}

.maj-bundle-btn--outline:hover {
    background-color: #8b5b2b;
    color: #fff;
}

/* سلايدر الصور */

.maj-bundle-card__slider {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    width: 180px;
    height: 180px;
    margin-inline-start: auto;
}

.maj-bundle-card__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.maj-bundle-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.maj-bundle-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.maj-bundle-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maj-bundle-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.maj-bundle-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.maj-bundle-dot.is-active {
    background-color: #8b5b2b;
}

/* الباجيناشن + رسالة فارغة */

.maj-shop-empty {
    text-align: center;
    font-size: 14px;
    color: #5d4632;
}

.maj-shop-pagination {
    margin-top: 24px;
    text-align: center;
}

/* ===== بانر "صمم باقتك" ===== */

.maj-custom-bundle {
    background-color: #e5d0b6;
    padding: 26px 0 36px;
}

.maj-custom-bundle .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.maj-custom-bundle__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background-color: #fff;
    border-radius: 18px;
    padding: 18px 20px;
}

.maj-custom-bundle__text h2 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #5a432e;
}

.maj-custom-bundle__text p {
    margin: 0;
    font-size: 13px;
    color: #6b5845;
    line-height: 1.8;
}

.maj-custom-bundle__btn {
    white-space: nowrap;
}

/* ========== موبايل ========== */

@media (max-width: 1024px) {
    .maj-bundle-card__inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }

    .maj-bundle-card__slider {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .maj-bundles-section {
        padding-top: 20px;
    }

    .maj-bundles-section .container {
        padding: 0 14px;
    }

    .maj-bundles-grid {
        grid-template-columns: 1fr;
    }

    .maj-bundle-card__inner {
        grid-template-columns: 1fr;
    }

    .maj-bundle-card__slider {
        margin: 0 auto 10px;
    }

    .maj-custom-bundle__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .maj-custom-bundle__btn {
        width: 100%;
        justify-content: center;
    }
}


/* قلب ترتيب محتوى الكارد: الصورة الأول ثم المعلومات */
.maj-bundle-card__inner {
    display: flex;
    flex-direction: row-reverse; /* الصورة الأول */
    align-items: center;
    gap: 24px;                   /* مسافة بين الصورة والنص بس */
    justify-content: flex-start !important; /* يشيل الـ space-between */
}
/* نخلي الكونتنت ياخد باقى المساحة ناحية الشمال */
.maj-bundle-card__info {
    flex: 1;
}

/* نتأكد إن مافيش مارجن غريب حوالين الصورة */
.maj-bundle-card__slider {
    margin: 0;
}

@media (max-width: 768px) {
    .maj-bundle-card__inner {
        flex-direction: column; /* صورة فوق وبعدين النص تحتها */
        align-items: center;
    }
}



/* =========================
   SECTION: Home - Custom Event (صمم مناسبتك)
   Notes: Responsive for all screens + safe heights
   Animation targets: .mj-ce__title, .mj-ce__desc, .mj-ce__btn
   ========================= */

.mj-ce{
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  /* ارتفاع مرن بدل 303 ثابت */
  min-height: clamp(220px, 22vw, 303px);
}

/* media layer */
.mj-ce__media{
  position: absolute;
  inset: 0;
}

.mj-ce__img,
.mj-ce__video,
.mj-ce__img--fallback{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mj-ce__img--fallback{
  background: #222;
}

.mj-ce__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0, var(--mj-ce-overlay, .5));
}

/* content */
.mj-ce__inner{
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px) clamp(14px, 3vw, 24px);
  display: grid;
  gap: clamp(12px, 2vw, 24px);
  place-items: center;
}

.mj-ce__title{
  font-weight: 600;
  font-size: clamp(20px, 3.2vw, 32px);
  line-height: 1.25;
  margin: 0;
}

.mj-ce__desc{
  font-size: clamp(14px, 2.2vw, 24px);
  line-height: 1.7;
  margin: 0;
  opacity: .98;
}

/* button base */
.mj-ce__btn{
  width: min(379px, 100%);
  min-height: 54px;
  border-radius: 10px;
  background: #603109;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  box-sizing: border-box;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.mj-ce__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

/* =========================
   BUTTON ANIMATION: Glow / Shine
   Purpose: "بينور" ويجذب العين
   ========================= */
.mj-btn-glow{
  box-shadow: 0 0 0 0 rgba(255,255,255,.0);
  animation: mjGlow 1.6s ease-in-out infinite;
}

@keyframes mjGlow{
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.0); filter: brightness(1); }
  50%  { box-shadow: 0 0 0 10px rgba(255,255,255,.10); filter: brightness(1.12); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); filter: brightness(1); }
}

/* لمسة Shine خفيفة تمر على الزر */
.mj-btn-glow::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 70%);
  transform: translateX(-120%);
  animation: mjShine 2.2s ease-in-out infinite;
  z-index: -1;
}

@keyframes mjShine{
  0%, 55% { transform: translateX(-120%); opacity: .0; }
  65%     { opacity: .55; }
  100%    { transform: translateX(120%); opacity: .0; }
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */
@media (max-width: 768px){
  .mj-ce{
    border-radius: 12px;
    min-height: clamp(220px, 40vw, 320px);
  }
  .mj-ce__inner{
    max-width: 92%;
  }
  
  .mj-ce__btn{
    width: auto;                /* مش فل ويدث */
    max-width: 92%;
    padding: 12px 18px;
    min-height: 50px;
    font-size: 14px;}
    
    .header-logo .custom-logo{
        max-height: 100px;
    }
}

@media (max-width: 420px){
  .mj-ce__desc{
    line-height: 1.6;
  }
}



/* =========================
   SECTION: Home - Clients Logos (عملائنا)
/* =========================
   SECTION: Clients Coverflow (3D Cards)
   ========================= */

.mj-cf{
  width: 100%;
  padding: clamp(18px, 3vw, 36px) 0;
  text-align: center;
}

.mj-cf__inner{
  width: min(1360px, 92%);
  margin: 0 auto;
  display: grid;
  gap: clamp(14px, 3vw, 28px);
}

.mj-cf__title{
  margin: 0;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  color: #6e4928;
}

.mj-cf__wrap{
  position: relative;
  border-radius: 16px;
  padding: clamp(18px, 3vw, 34px) clamp(40px, 6vw, 76px);
  overflow: hidden;
  background: #fff7eb;
}

.mj-cf__stage{
  position: relative;
  height: clamp(170px, 18vw, 260px);
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* arrows */
.mj-cf__nav{
        color: brown;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.08);
  font-size: 32px;
  line-height: 44px;
  padding: 0;
  z-index: 6;
}
.mj-cf__nav--prev{ left: 14px; }
.mj-cf__nav--next{ right: 14px; }
.mj-cf__nav:hover{ background: rgba(0,0,0,.12); }

/* cards */
.mj-cf__card{
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(190px, 18vw, 260px);
  height: clamp(120px, 10vw, 160px);
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background-color:#cb9e76;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  transition: transform 520ms ease, filter 520ms ease, opacity 520ms ease;
  will-change: transform;
}

.mj-cf__card img{
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* states (JS will add) */
.mj-cf__card.is-center{
  filter: blur(0);
  opacity: 1;
  z-index: 5;
}

.mj-cf__card.is-side{
  filter: blur(1.4px);
  opacity: .5;
  z-index: 3;
}

.mj-cf__card.is-far{
  filter: blur(2.4px);
  opacity: .28;
  z-index: 1;
}

/* Mobile */
@media (max-width: 600px){
  .mj-cf__wrap{ padding: 16px 52px; }
  .mj-cf__stage{ height: 210px; }
  .mj-cf__nav{ width: 40px; height: 40px; font-size: 28px; line-height: 40px; }
}





/* =========================
   SECTION: Home - Offers (العروض)
   Layout: big / 2 cols / big
   ========================= */

.mj-offers{
  padding: clamp(18px, 3vw, 36px) 0;
  text-align: center;
}

.mj-offers__inner{
  width: min(1360px, 92%);
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.mj-offers__title{
  margin: 0;
  color: #6e4928;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
}

.mj-offers__grid{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "o1 o1"
    "o2 o3"
    "o4 o4";
}

.mj-offer--1{ grid-area: o1; min-height: 472px; }
.mj-offer--2{ grid-area: o2; min-height: 402px; }
.mj-offer--3{ grid-area: o3; min-height: 402px; }
.mj-offer--4{ grid-area: o4; min-height: 385px; }

.mj-offer{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
}

/* media */
.mj-offer__media{ position:absolute; inset:0; }
.mj-offer__img,
.mj-offer__video,
.mj-offer__img--fallback{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.mj-offer__img--fallback{ background:#222; }

.mj-offer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.4);
}

.mj-offer__content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(18px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  justify-content: center;
}

.mj-offer.is-center .mj-offer__content{
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.mj-offer.is-right .mj-offer__content{
  align-items: flex-start;
  text-align: right;
  max-width: 560px;
  margin-left: auto;
}

.mj-offer__h{
  margin: 0;
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 36px);
  line-height: 1.2;
}

.mj-offer__p{
  margin: 0;
  font-weight: 600;
  font-size: clamp(13px, 1.6vw, 24px);
  line-height: 1.7;
  max-width: 60ch;
}

.mj-offer__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #7b736c;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  font-weight: 700;
  font-size: clamp(13px, 1.35vw, 20px);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.mj-offer__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  filter: brightness(1.06);
}

/* MOBILE */
@media (max-width: 600px){
  .mj-offers__grid{ gap: 14px; }

  .mj-offer--1{ min-height: 260px; }
  .mj-offer--2,
  .mj-offer--3{ min-height: 190px; }
  .mj-offer--4{ min-height: 220px; }

  .mj-offer__content{ padding: 14px; gap: 10px; }
  .mj-offer.is-right .mj-offer__content{ max-width: 100%; }
  .mj-offer__btn{ padding: 10px 16px; }
}

/* =========================
   ANIMATION: Offers
   ========================= */

.mj-offer{ opacity: 1; }
.mj-offer.is-inview{ opacity: 1; }

@keyframes fadeInTopLeft{
  from{ opacity:0; transform: translate3d(-24px,-24px,0) scale(.98); }
  to  { opacity:1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes fadeInTopRight{
  from{ opacity:0; transform: translate3d(24px,-24px,0) scale(.98); }
  to  { opacity:1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes fadeInBottomLeft{
  from{ opacity:0; transform: translate3d(-24px,24px,0) scale(.98); }
  to  { opacity:1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes fadeInBottomRight{
  from{ opacity:0; transform: translate3d(24px,24px,0) scale(.98); }
  to  { opacity:1; transform: translate3d(0,0,0) scale(1); }
}

.mj-offer.is-inview[data-anim="fadeInTopLeft"]{ animation: fadeInTopLeft .8s ease both; }
.mj-offer.is-inview[data-anim="fadeInTopRight"]{ animation: fadeInTopRight .8s ease both; }
.mj-offer.is-inview[data-anim="fadeInBottomLeft"]{ animation: fadeInBottomLeft .8s ease both; }
.mj-offer.is-inview[data-anim="fadeInBottomRight"]{ animation: fadeInBottomRight .8s ease both; }

/* =========================
   OFFERS ANIMATION
   ========================= */

.mj-offer{
  opacity: 0;
  transform: translate3d(0,0,0);
}

.mj-offer.is-inview{
  opacity: 1;
}

/* ===== Directions ===== */
@keyframes fadeInTopLeft{
  from{
    opacity: 0;
    transform: translate3d(-30px,-30px,0) scale(.97);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes fadeInTopRight{
  from{
    opacity: 0;
    transform: translate3d(30px,-30px,0) scale(.97);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes fadeInBottomLeft{
  from{
    opacity: 0;
    transform: translate3d(-30px,30px,0) scale(.97);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

@keyframes fadeInBottomRight{
  from{
    opacity: 0;
    transform: translate3d(30px,30px,0) scale(.97);
  }
  to{
    opacity: 1;
    transform: translate3d(0,0,0) scale(1);
  }
}

/* ===== Apply by data-anim ===== */
.mj-offer.is-inview[data-anim="fadeInTopLeft"]{
  animation: fadeInTopLeft .9s cubic-bezier(.22,.61,.36,1) both;
}

.mj-offer.is-inview[data-anim="fadeInTopRight"]{
  animation: fadeInTopRight .9s cubic-bezier(.22,.61,.36,1) both;
}

.mj-offer.is-inview[data-anim="fadeInBottomLeft"]{
  animation: fadeInBottomLeft .9s cubic-bezier(.22,.61,.36,1) both;
}

.mj-offer.is-inview[data-anim="fadeInBottomRight"]{
  animation: fadeInBottomRight .9s cubic-bezier(.22,.61,.36,1) both;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .mj-offer,
  .mj-offer.is-inview{
    animation: none !important;
    opacity: 1;
  }
}


/* =========================
   SECTION: Home - About Mini (لماذا نحن)
   Notes: card overlays image, smaller than image
   ========================= */

.mj-about-mini{
  padding: clamp(18px, 3vw, 36px) 0;
}

.mj-about-mini__inner{
  width: min(1360px, 92%);
  margin: 0 auto;
  position: relative;
  min-height: clamp(320px, 38vw, 554px); /* زي فيجما */
  display: flex;
  align-items: stretch;
}

/* الصورة */
.mj-about-mini__media{
  width: min(785px, 60%);
  border-radius: 5px;
  overflow: hidden;
}

.mj-about-mini__img,
.mj-about-mini__img--fallback{
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 38vw, 554px);
  object-fit: cover;
  display: block;
}

.mj-about-mini__img--fallback{
  background: #ddd;
}

/* الكارد */
.mj-about-mini__card{
  position: absolute;
  top: clamp(16px, 3vw, 41px);
  right: 0;
  width: min(766px, 62%);
  background: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(110, 73, 40, 0.25);
  padding: clamp(16px, 2.5vw, 40px);
  text-align: center;
  color: #6e4928;
  z-index: 2;
}

/* عنوان + نص */
.mj-about-mini__title{
  margin: 0 0 clamp(12px, 2vw, 24px);
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.2;
  font-weight: 700;
}

.mj-about-mini__text{
  margin: 0;
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.8;
  font-weight: 600;
  color: #7b736c;
}

/* =========================
   Responsive (Mobile) – أهم حاجة
   نفس الفكرة لكن من غير ما يطلع برا
   ========================= */
@media (max-width: 900px){
  .mj-about-mini__inner{
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .mj-about-mini__media{
    width: 100%;
    height: 320px;
  }

  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    min-height: 320px;
    height: 320px;
  }

  /* الكارد يبقى فوق الصورة بس بعرض أقل ومتمركز */
  .mj-about-mini__card{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: 18px;
    width: min(92%, 520px);
  }
}

@media (max-width: 600px){
  .mj-about-mini__media{
    height: 280px;
  }
  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    height: 280px;
    min-height: 280px;
  }

  .mj-about-mini__card{
    top: 14px;
    padding: 14px;
  }
}

/* =========================
   FIX: image stays on LEFT, card sits on RIGHT (not covering whole image)
   ========================= */

/* الصورة ثابتة على الشمال */
.mj-about-mini__media{
  position: absolute;
  left: 0;
  top: 0;
  width: min(785px, 60%);
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}

/* الكارد يبقى يمين الصورة */
.mj-about-mini__card{
  position: absolute;
  top: clamp(16px, 3vw, 41px);
  right: 0;
  width: min(766px, 56%); /* أصغر شوية من قبل */
  background: #fff;
  border-radius: 5px;
  box-shadow: 2px 2px 2px rgba(110, 73, 40, 0.25);
  padding: clamp(16px, 2.5vw, 40px);
  text-align: center;
  color: #6e4928;
  z-index: 2;

  /* ✅ يدخل شوية فوق الصورة زي فيجما */
  transform: translateX(-90px);
}

/* Responsive */
@media (max-width: 900px){
  .mj-about-mini__inner{
    padding-left: 0;
    min-height: auto;
  }

  .mj-about-mini__media{
    position: relative;
    width: 100%;
    height: 320px;
  }

  .mj-about-mini__card{
    position: relative;
    right: auto;
    top: auto;
    width: min(92%, 520px);
    margin: -40px auto 0; /* الكارد يركب فوق الصورة */
    transform: none;
  }
}




/* =========================
   MOBILE: keep side-by-side (true 2 columns)
   ========================= */
@media (max-width: 700px){

  .mj-about-mini__inner{
    width: min(698px, 92%);
    min-height: auto;
    padding-left: 0;          /* ✅ نلغي حجز المساحة */
    display: grid;
    grid-template-columns: 44% 56%;  /* صورة + كارد */
    align-items: stretch;
    gap: 10px;
  }

  .mj-about-mini__media{
    position: relative;       /* ✅ مش absolute في الموبايل */
    left: auto;
    top: auto;
    width: 100%;
    height: 260px;
    border-radius: 5px;
    overflow: hidden;
  }

  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
  }

  .mj-about-mini__card{
    position: relative;       /* ✅ مش absolute */
    top: auto;
    right: auto;
    width: 100%;
    transform: none;          /* ✅ نلغي الركوب */
    padding: 14px;
    border-radius: 5px;
  }

  .mj-about-mini__title{
    font-size: 18px;
    margin-bottom: 10px;
  }

  .mj-about-mini__text{
    font-size: 13px;
    line-height: 1.75;
  }
}


@media (max-width: 700px){

  /* 1) امنعي التداخل مع السكشن اللي فوق */
  .mj-about-mini{
    margin-top: 22px;     /* لو لسه بيدخل زوديها 32 */
    padding-top: 10px;
  }

  /* 2) صغّري الحجم العام */
  .mj-about-mini__inner{
    grid-template-columns: 50% 50%; /* ✅ يقربوا لبعض */
    gap: 8px;                       /* ✅ مسافة أصغر */
    align-items: center;
  }

  /* 3) الصورة أقصر */
  .mj-about-mini__media{
    height: 220px;
  }
  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    min-height: 220px;
    height: 220px;
  }

  /* 4) الكارد أصغر ومش واخد مساحة كبيرة */
  .mj-about-mini__card{
    padding: 12px;
  }

  .mj-about-mini__title{
    font-size: 16px;
    margin-bottom: 8px;
  }

  .mj-about-mini__text{
    font-size: 12.5px;
    line-height: 1.65;
  }

  /* 5) لو النص طويل قوي وبيزق السكشن لفوق/تحت: قص 6 سطور (اختياري) */
  .mj-about-mini__text{
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}



/* ==================================================
   MJ About Mini - MOBILE FINAL OVERRIDE (Put LAST)
   هدفه: Side-by-side على الموبايل بدون تداخل ولا تغطية
   ================================================== */

@media (max-width: 700px){

  /* امنعي أي تداخل مع السكشن اللي فوق */
  .mj-about-mini{
    padding: 18px 0 !important;
    margin-top: 0 !important;   /* لو عندك margin-top متكرر */
  }

  /* الغي أي absolute/transform جاية من الديسكتوب */
  .mj-about-mini__inner{
    width: min(698px, 92%) !important;
    margin: 0 auto !important;

    position: relative !important;
    min-height: auto !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* جنب بعض */
    gap: 10px !important;

    align-items: center !important;

    /* ✅ مساحة آمنة تمنع الركوب على اللي فوق */
    padding: 10px 0 !important;
  }

  .mj-about-mini__media{
    position: relative !important;
    left: auto !important;
    top: auto !important;

    width: 100% !important;
    height: 220px !important;          /* صغّري زي فيجما */
    border-radius: 5px !important;
    overflow: hidden !important;
  }

  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    display: block !important;
  }

  .mj-about-mini__card{
    position: relative !important;
    top: auto !important;
    right: auto !important;
    inset: auto !important;

    transform: none !important;  /* ✅ يمنع تغطية الصورة */
    width: 100% !important;

    padding: 12px !important;
    border-radius: 5px !important;
    z-index: 1 !important;
  }

  .mj-about-mini__title{
    font-size: 16px !important;
    margin: 0 0 8px !important;
  }

  .mj-about-mini__text{
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;

    /* ✅ اختياري: لو النص طويل قوي */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* شاشات أصغر جدًا */
@media (max-width: 380px){
  .mj-about-mini__inner{
    gap: 8px !important;
  }
  .mj-about-mini__media{
    height: 200px !important;
  }
}


/* ==================================================
   MJ About Mini - MOBILE (Overlay like Figma)
   Card overlaps image slightly (side-by-side)
   PUT THIS BLOCK LAST
   ================================================== */

@media (max-width: 700px){

  .mj-about-mini{
    padding: 18px 0 !important;   /* يمنع التداخل مع اللي فوق */
    margin: 0 !important;
  }

  .mj-about-mini__inner{
    width: min(698px, 92%) !important;
    margin: 0 auto !important;

    position: relative !important;
    min-height: auto !important;

    display: grid !important;
    grid-template-columns: 46% 54% !important; /* صورة يسار + كارد يمين */
    gap: 0 !important;                          /* ✅ مفيش مسافة.. هنخليها overlap */
    align-items: center !important;

    padding: 10px 0 !important;                 /* مساحة آمنة */
    overflow: visible !important;               /* عشان الـ overlap يظهر */
  }

  /* الصورة */
  .mj-about-mini__media{
    position: relative !important;
    width: 100% !important;
    height: 230px !important;                   /* حجم قريب من فيجما */
    border-radius: 10px !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }

  .mj-about-mini__img,
  .mj-about-mini__img--fallback{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    min-height: 0 !important;
  }

  /* الكارد (يركب على الصورة سنة) */
  .mj-about-mini__card{
    position: relative !important;
    width: 100% !important;

    /* ✅ ده سر شكل فيجما: الكارد يدخل على الصورة */
    margin-right: -40px !important;
    margin-left: -16px !important;              /* مقدار الركوب على الصورة (عدّليه 12-22 حسب ذوقك) */

    background: #fff !important;
    border-radius: 10px !important;
    padding: 14px !important;
    box-shadow: 2px 2px 2px rgba(110, 73, 40, 0.25) !important;
            margin-top: 10px;
    
    

    z-index: 2 !important;

    /* ✅ نلغي أي absolute/transform قديمة */
    transform: none !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    inset: auto !important;
  }

  .mj-about-mini__title{
    font-size: 16px !important;
    margin: 0 0 8px !important;
    line-height: 1.25 !important;
  }

  .mj-about-mini__text{
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    margin: 0 !important;

    /* اختياري لو النص طويل قوي */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* شاشات صغيرة جدًا */
@media (max-width: 380px){
  .mj-about-mini__media{ height: 210px !important; }
  .mj-about-mini__card{ margin-left: -12px !important; }
}



/* =========================
   MAJESTY – Testimonials
   ========================= */

.mj-testimonials{
  position: relative;
  padding: 80px 0 120px;
  text-align: center;
}

.mj-testimonials__bg{
  position: absolute;
  inset: 0;
  height: 370px;
  overflow: hidden;
  z-index: 1;
}

.mj-testimonials__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mj-testimonials__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}

.mj-testimonials__inner{
  position: relative;
  z-index: 2;
  width: min(1360px, 92%);
  margin: 0 auto;
}

.mj-testimonials__title{
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 60px;
}

.mj-testimonials__cards{
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.mj-testimonial{
  width: 359px;
  background: #fff;
  border: 1px solid #a59c95;
  border-radius: 10px;
  padding: 34px 20px 40px;
  color: #6e4928;
}

.mj-testimonial img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 32px;
}

.mj-testimonial h3{
  font-size: 24px;
  margin-bottom: 16px;
}

.mj-testimonial p{
  font-size: 20px;
  line-height: 1.7;
  color: #7b736c;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px){
  .mj-testimonials{
    padding: 60px 0 80px;
  }

  .mj-testimonials__cards{
    gap: 24px;
  }
}

@media (max-width: 600px){
  .mj-testimonials__title{
    font-size: 22px;
    margin-bottom: 40px;
  }

  .mj-testimonial{
    width: 100%;
    max-width: 257px;
            height: 256px;

  }

  .mj-testimonial img{
    width: 120px;
    height: 120px;
  }

  .mj-testimonial h3{
    font-size: 18px;
  }

  .mj-testimonial p{
    font-size: 14px;
  }
}


/* =========================
   TESTIMONIALS – MOBILE
   Show ONE card only
   ========================= */
@media (max-width: 600px){

  /* نخلي كل الكروت مخفية */
  .mj-testimonials__cards .mj-testimonial{
    display: none;
  }

  /* نُظهر أول كارت بس */
  .mj-testimonials__cards .mj-testimonial:first-child{
    display: block;
    margin: 0 auto;
  }
}



/* =========================
   MAJESTY – SUBSCRIBE SECTION
   ========================= */

.mj-subscribe{
  background: linear-gradient(90deg, #fff9f0 2.52%, #f7f1e9);
  padding: 40px 0;
}

.mj-subscribe__inner{
  width: min(1360px, 92%);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

/* النص */
.mj-subscribe__content{
  max-width: 640px;
  text-align: right;
}

.mj-subscribe__title{
  font-size: 24px;
  color: #6e4928;
  margin: 0 0 20px;
  font-weight: 700;
}

.mj-subscribe__text{
  font-size: 18px;
  line-height: 1.8;
  color: #7b736c;
  margin: 0;
}

/* الفورم */
.mj-subscribe__form{
  width: 510px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mj-subscribe__field{
  height: 62px;
  border-radius: 5px;
  border: 0.5px solid #7b736c;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  font-size: 20px;
  font-weight: 600;
  color: #a59c95;
  background: #fdf7ef;
}

/* زر */
.mj-subscribe__btn{
  width: 161px;
  height: 44px;
  border-radius: 5px;
  background: #6e4928;
  border: 1px solid #6e4928;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.mj-subscribe__btn:hover{
  background: #5c3d22;
}

/* =========================
   RESPONSIVE – MOBILE
   ========================= */
@media (max-width: 768px){

  .mj-subscribe{
    padding: 28px 0;
  }

  .mj-subscribe__inner{
    flex-direction: column;
    gap: 24px;
    text-align: right;
  }

  .mj-subscribe__content{
    max-width: 100%;
  }

  .mj-subscribe__title{
    font-size: 18px;
    margin-bottom: 12px;
  }

  .mj-subscribe__text{
    font-size: 14px;
    line-height: 1.7;
  }

  .mj-subscribe__form{
    width: 100%;
  }

  .mj-subscribe__field{
    width: 87%;
    font-size: 16px;
    height: 52px;
  }

  .mj-subscribe__btn{
    width: 100%;
    height: 46px;
    font-size: 16px;
  }
}



/* =================================
   FOOTER – MOBILE LAYOUT (FIGMA)
   ================================= */

@media (max-width: 768px){

  .site-footer{
    background: linear-gradient(257deg, #f7f1e9, rgba(217,217,217,.5));
    padding: 40px 0 24px;
  }

  .footer-inner{
    width: min(420px, 92%);
    margin: 0 auto;
  }

  /* الأعمدة كلها عمودي */
  .footer-cols{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
  }

  /* ========= العمود الأول (اللوجو) ========= */
  .footer-col-brand{
    align-items: center;
    text-align: center;
  }

  .footer-logo img{
    max-width: 200px;
    margin: 0 auto;
    max-height: 160px;
  }

  .footer-quote{
    font-size: 18px;
    line-height: 1.7;
    margin: 24px 0;
    color: #5c5046;
  }

  /* ========= الأعمدة الوسط (الخدمات + الأساسية) ========= */
  .footer-cols-middle{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 32px;
  }

  .footer-col-main,
  .footer-col-services{
    width: 50%;
    text-align: right;
  }

  .footer-title{
    font-size: 20px;
    color: #6e4928;
    margin-bottom: 20px;
  }

  .footer-links{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-links a{
    font-size: 18px;
    color: #5c5046;
    font-weight: 600;
  }

  /* ========= اخفاء العمود الرابع (لو مش في الفيجما) ========= */
  .footer-col-quick{
    display: none;
  }

  /* ========= التواصل ========= */
  .footer-contact-row{
    margin-top: 40px;
  }

  .footer-contact-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #5c5046;
  }

  .footer-separator{
    display: none;
  }

  /* ========= السوشيال ========= */
  .footer-social{
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  .footer-social img{
    width: 40px;
    height: 40px;
  }

  /* ========= الدفع + الكوبي رايت ========= */
  .footer-bottom{
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .footer-payments{
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .footer-payments img{
    width: 80px;
  }

  .footer-copy{
    font-size: 14px;
    color: #6e4928;
    text-align: center;
  }
  
  .side-menu-account-btn {
    margin-left: 38px;
}
}



/**/


/* =========================
   SIDE MENU – FINAL STYLE
   ========================= */

/* الغلاف */
.side-menu{
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #6e4928;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .35s ease;
  display: flex;
  flex-direction: column;
}

/* لما تفتح */
.side-menu.is-open{
  transform: translateX(0);
}

/* الهيدر */
.side-menu-header{
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* زر الإغلاق */
.side-menu-close{
  background: transparent;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* كارت السلة */
.side-menu-cart{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 10px;
  border-radius: 4px;
}

/* زر المتجر */
.side-menu-account-btn{
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 14px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* الخط الفاصل */
.side-menu-separator{
  border: none;
  border-top: 1px solid rgba(255,255,255,.3);
  margin: 0 20px;
}

/* ===== القائمة ===== */
.side-menu-nav{
  padding: 28px 20px;
  flex: 1;
}

.side-menu-list{
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: 22px; /* ✅ نفس المسافات في الفون والديسكتوب */
}

.side-menu-list li{
  margin: 0;
  padding: 0;
}

.side-menu-list a{
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: opacity .25s ease;
}

.side-menu-list a:hover{
  opacity: .75;
}

/* =========================
   OVERLAY
   ========================= */
.side-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
  z-index: 9998;
}

.side-menu-overlay.is-active{
  opacity: 1;
  visibility: visible;
}

/* =========================
   DESKTOP – نفس الشكل
   ========================= */
@media (min-width: 1024px){
  .side-menu{
    width: 360px;
  }

  .side-menu-list{
    gap: 22px; /* نفس المسافات */
  }

  .side-menu-list a{
    font-size: 18px;
  }
}
/**/


/* =========================
   CONTACT PAGE
   ========================= */

.mj-contact{
  background: #fff9f0;
  padding: 60px 0;
}

.mj-contact__head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.mj-contact__head h1{
  font-size: 32px;
  color: #6e4928;
  margin-bottom: 12px;
}

.mj-contact__head p{
  font-size: 16px;
  color: #7b736c;
  line-height: 1.7;
}

/* كروت المعلومات */
.mj-contact__info{
  width: min(1000px, 92%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mj-info-card{
  background: #fff;
  border: 1px solid #e3dbd3;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #6e4928;
}

/* الفورم */
.mj-contact__form-wrap{
  width: min(700px, 92%);
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e3dbd3;
  padding: 32px;
}

.mj-contact__form-wrap h3{
  text-align: center;
  margin-bottom: 6px;
  color: #6e4928;
}

.mj-contact__form-wrap p{
  text-align: center;
  margin-bottom: 20px;
  color: #7b736c;
}

#mj-contact-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#mj-contact-form input,
#mj-contact-form textarea{
  width: 100%;
  border: 1px solid #d6ccc2;
  border-radius: 4px;
  padding: 12px;
  font-family: inherit;
}

#mj-contact-form button{
  width: 180px;
  align-self: center;
  background: #6e4928;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
}

/* ===== Mobile ===== */
@media (max-width: 768px){
  .mj-contact__info{
    grid-template-columns: repeat(2, 1fr);
  }

  .mj-contact__head h1{
    font-size: 22px;
  }
  
  #mj-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 93%!important;
    margin: 0px!important;
}

.mj-contact__form-wrap {
    width: min(633px, 73%);
}}




/* =========================
   ABOUT PAGE
   ========================= */

.mj-about-hero img{
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}

/* Intro */
.mj-about-intro{
  padding: 80px 0;
  background: #fff;
}

.mj-about-intro__inner{
  width: min(1250px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 90px;
}

.mj-about-intro__image img{
  width: 555px;
  height: 740px;
  object-fit: cover;
  border-radius: 5px;
}

.mj-about-intro__content{
  max-width: 600px;
  text-align: center;
}

.mj-about-intro__content h2{
  font-size: 32px;
  color: #6e4928;
  margin-bottom: 24px;
}

.mj-about-intro__content p{
  font-size: 20px;
  line-height: 32px;
  color: #7b736c;
  font-weight: 600;
  margin-bottom: 32px;
}

.mj-about-intro__btn{
  display: inline-flex;
  padding: 12px 24px;
  border-radius: 5px;
  background: rgba(110, 73, 40, 0.8);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.mj-about-intro__btn:hover{
  background: #6e4928;
}

/* Mobile */
@media (max-width: 768px){

  .mj-about-hero img{
    height: 280px;
  }

  .mj-about-intro{
    padding: 40px 0;
  }

  .mj-about-intro__inner{
    flex-direction: column;
    gap: 24px;
  }

  .mj-about-intro__image img{
    width: 100%;
    height: 360px;
  }

  .mj-about-intro__content h2{
    font-size: 20px;
  }

  .mj-about-intro__content p{
    font-size: 14px;
    line-height: 24px;
  }
}



/* =========================
   ABOUT – VALUES SECTION
   ========================= */

.mj-about-values{
  position: relative;
  padding-bottom: 80px;
  background: #fff;
}

/* صورة الخلفية */
.mj-about-values__bg img{
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* الصندوق الأبيض */
.mj-about-values__box{
  position: relative;
  margin-top: -125px;
}

.mj-about-values__inner{
  width: min(1330px, 92%);
  margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 1px rgba(110,73,40,.25);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 68px;
  padding: 52px 40px;
}

/* الكارت */
.mj-about-value{
  text-align: center;
  padding: 12px;
  border-right: .3px solid #a59c95;
  border-bottom: .3px solid #a59c95;
}

.mj-about-value:last-child{
  border-right: none;
}

/* الهيدر */
.mj-about-value__head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mj-about-value__head h3{
  font-size: 24px;
  color: #000;
  font-weight: 600;
}

.mj-about-value__head img{
  width: 50px;
  height: 50px;
}

/* النص */
.mj-about-value p{
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
  color: #7b736c;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px){

  .mj-about-values__bg img{
    height: 300px;
  }

  .mj-about-values__box{
    margin-top: -80px;
  }

  .mj-about-values__inner{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  .mj-about-value{
    border-right: none;
    border-bottom: .3px solid #a59c95;
    padding-bottom: 24px;
  }

  .mj-about-value:last-child{
    border-bottom: none;
  }

  .mj-about-value__head h3{
    font-size: 18px;
  }

  .mj-about-value p{
    font-size: 14px;
    line-height: 24px;
  }
}


/* =================================
   ABOUT VALUES – MOBILE (LIKE FIGMA)
   ================================= */
@media (max-width: 900px){

  /* الصورة العلوية */
  .mj-about-values__bg img{
    height: 300px;   /* عدلي المقاس حسب فيجما */
    width: 100%;
    object-fit: cover;
    display: block;
  }

  /* نلغي الـ overlay box كفكرة واحدة */
  .mj-about-values__box{
    margin-top: 0;
  }

  /* نخلي الحاوية شفافة ونطلع الكروت فوق الصورة */
  .mj-about-values__inner{
    width: min(420px, 92%);
    margin: -80px auto 0;    /* ✅ الركوب فوق الصورة */
    padding: 0;

    background: transparent;
    box-shadow: none;
    border-radius: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* كل كارت لوحده */
  .mj-about-value{
    background: #fff;
    border: 1px solid rgba(165,156,149,.55);
    border-radius: 5px;
    box-shadow: 0 2px 1px rgba(110,73,40,.25);

    padding: 18px 16px 20px;
    text-align: center;

    border-right: none;
    border-bottom: none;
  }

  .mj-about-value__head{
    margin-bottom: 12px;
  }

  .mj-about-value__head h3{
    font-size: 18px;
    margin: 0;
  }

  .mj-about-value p{
    font-size: 14px;
    line-height: 24px;
    margin: 0;
  }

  .mj-about-value__head img{
    width: 34px;
    height: 34px;
    object-fit: contain;
  }
}


/**/
/* =========================
   Home ONLY: Header over Hero
========================= */

.home .site-header{
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;

  background: transparent !important;
  border-bottom: 0 !important;
}

/* تظليل بسيط فوق الفيديو (Home فقط) */
.home .site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,0));
  pointer-events:none;
}

/* خلي محتوى الهيرو ينزل تحت الهيدر (Home فقط) */
.home .maj-hero{
  padding-top: 170px; /* عدليها حسب ارتفاع اللوجو */
}

@media (max-width: 768px){
  .home .maj-hero{ padding-top: 120px; }
}

/* مهم: السايد منيو يفضل فوق الهيدر (حتى في الهوم) */
.home .side-menu-overlay{ z-index: 2000; }
.home .side-menu{ z-index: 2001; }
/**/


/* =========================
   Majesty Hero Neon Button
========================= */

/* لون البني المنوّر (عدّليه لو حابة أغمق/أفتح) */
:root{
  --majGlow: #c9823b; /* دهبي/بني */
  --majGlowDark: #6b3c1c; /* بني غامق */
}

.maj-hero__btn{
  position: relative;
  display: inline-block;
  padding: 18px 34px;
  text-decoration: none;
  letter-spacing: 2px;
  overflow: hidden;
  border-radius: 10px;
  transition: .35s ease;
  user-select: none;

  /* خلي النص يبان فوق الخطوط */
  color: var(--majGlow);
  background: rgba(0,0,0,.18); /* خفيف فوق الفيديو */
  border: 1px solid rgba(201,130,59,.35);
  backdrop-filter: blur(2px);
}

.maj-hero__btn-text{
  position: relative;
  z-index: 2;
  display: inline-block;
  font-weight: 700;
  text-transform: none; /* خليها زي ما تحبي */
}

/* Hover = ينوّر */
.maj-hero__btn:hover{
  background: var(--majGlow);
  color: #2b1609;
  box-shadow:
    0 0 6px rgba(201,130,59,.9),
    0 0 24px rgba(201,130,59,.7),
    0 0 48px rgba(201,130,59,.55),
    0 0 120px rgba(201,130,59,.35);
  -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0,0,0,.35));
}

/* خطوط الحركة (4 spans) */
.maj-hero__btn-line{
  position: absolute;
  display: block;
  z-index: 1;
}

/* 1) top line */
.maj-hero__btn-line:nth-child(1){
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--majGlow));
  animation: majBtnLine1 1s linear infinite;
}
@keyframes majBtnLine1{
  0%{ left: -100%; }
  50%,100%{ left: 100%; }
}

/* 2) right line */
.maj-hero__btn-line:nth-child(2){
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--majGlow));
  animation: majBtnLine2 1s linear infinite;
  animation-delay: .25s;
}
@keyframes majBtnLine2{
  0%{ top: -100%; }
  50%,100%{ top: 100%; }
}

/* 3) bottom line */
.maj-hero__btn-line:nth-child(3){
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--majGlow));
  animation: majBtnLine3 1s linear infinite;
  animation-delay: .5s;
}
@keyframes majBtnLine3{
  0%{ right: -100%; }
  50%,100%{ right: 100%; }
}

/* 4) left line */
.maj-hero__btn-line:nth-child(4){
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--majGlow));
  animation: majBtnLine4 1s linear infinite;
  animation-delay: .75s;
}
@keyframes majBtnLine4{
  0%{ bottom: -100%; }
  50%,100%{ bottom: 100%; }
}

/* تحسين موبايل */
@media (max-width: 768px){
  .maj-hero__btn{
    padding: 14px 22px;
    letter-spacing: 1px;
  }
}
/**/


/* =========================
   Mobile header alignment fix
========================= */
@media (max-width: 768px){

  /* خليه صف واحد ووسط */
  .site-header .header-inner{
    display: flex;
    align-items: center;        /* ✅ أهم سطر */
    justify-content: space-between;
    padding: 10px 14px;
    min-height: 70px;           /* ثبتي ارتفاع الهيدر للموبايل */
  }

  /* اللوجو مايبقاش فيه نزول بسبب inline/img */
  .header-logo,
  .header-logo a{
    display: flex;
    align-items: center;
    line-height: 0;             /* ✅ يمنع نزول النص/الصور */
  }

  .header-logo img,
  .header-logo .custom-logo{
    display: block;
    height: 100px;               /* عدّلي حسب شكل اللوجو */
    width: auto;
    margin-right: -27px;
        margin-top: 18px;
    }
  }

  /* ظبط زر الهامبرجر عشان مايبقاش أعلى من اللوجو */
  .header-burger{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;               /* نفس ارتفاع اللوجو */
    width: 56px;
    padding: 0;
  }

  /* لو لسه الزر طويل: صغّري الخطوط شوية في الموبايل */
  .header-burger span{
    width: 36px;
    height: 6px;
    border-radius: 10px;
  }
}
/**/



/* =========================
   ABOUT INTRO - Mobile Overlay Box
========================= */
.mj-about-intro{
  padding: 40px 0;
}

.mj-about-intro__inner{
  display: grid;
  gap: 22px;
  align-items: center;
}

/* الصورة */
.mj-about-intro__image{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.mj-about-intro__image img{
  width: 63%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* المحتوى (ديسكتوب الافتراضي: خليها عادي) */
.mj-about-intro__content{
  background: transparent;
}

/* =========================
   Mobile: content overlays image
========================= */
@media (max-width: 768px){

  /* نخلي الحاوية تسمح بالـ overlay */
  .mj-about-intro__inner{
    position: relative;
    grid-template-columns: 1fr;
    gap: 0; /* عشان البوكس يركب فوق الصورة */
  }

  /* نخلي الصورة تاخد مساحة كويسة */
  .mj-about-intro__image{
    border-radius: 18px;
  }

  /* البوكس يركب فوق الصورة */
  .mj-about-intro__content{
    position: absolute;
    z-index: 2;

    /* مكان البوكس فوق الصورة (زي المثال) */
    left: 14px;          /* ناحية الشمال */
    top: 18px;

    width: min(50%, 340px);
    padding: 16px 16px 14px;

    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);

    /* لو النص كتير مايكسرش المنظر */
    max-height: calc(100% - 36px);
    overflow: hidden;
  }

  .mj-about-intro__content h2{
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
  }

  .mj-about-intro__content p{
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.8;
    color: #3a3a3a;

    /* نفس إحساس الصورة: نخليها 5-6 سطور وبس */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mj-about-intro__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* =========================
   Desktop (اختياري): صورة جنب محتوى
   لو عايزاه كده على الديسكتوب
========================= */
@media (min-width: 769px){
  .mj-about-intro__inner{
    grid-template-columns: 1.05fr .95fr; /* صورة + محتوى */
    gap: 26px;
  }
}



.footer-social{
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social .social-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  color: #c9823b;                 /* بني/دهبي ماجيستي */
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,130,59,.35);

  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}

.footer-social .social-icon i{
  font-size: 20px;
  line-height: 1;
}

/* ✅ حركة خفيفة دايمًا (بدون لاج) */
.footer-social .social-icon{
  animation: socialFloat 3s ease-in-out infinite;
}

/* اختلاف بسيط بين كل أيقونة */
.footer-social .social-icon:nth-child(2){
  animation-delay: .35s;
}

@keyframes socialFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}

/* Hover = توهج */
.footer-social .social-icon:hover{
  transform: translateY(-2px) scale(1.05);
  background: rgba(201,130,59,.12);
  box-shadow: 0 10px 30px rgba(201,130,59,.22);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .footer-social .social-icon{ animation: none; }
}




.footer-contact-items{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-contact-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.footer-contact-item i{
  font-size: 14px;
  opacity: .9;
  color: #c9823b; /* لون ماجيستي */
}

.footer-separator{
  opacity: .45;
}


/* زي elementor: animated + infinite */
.footer-social .animated,
.footer-contact-items .animated{
  animation-duration: 1.25s;
  animation-fill-mode: both;
}

.footer-social .animated.infinite,
.footer-contact-items .animated.infinite{
  animation-iteration-count: infinite;
}

/* الحركة نفسها */
.footer-social i.animated.infinite,
.footer-contact-items i.animated.infinite{
  animation-name: ftFloat;
  animation-timing-function: ease-in-out;
  animation-duration: 2.2s;  /* زي ما تحبي */
}

@keyframes ftFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}

/* فرق بسيط بين الأيقونات عشان مايبقوش synchronized */
.footer-social a:nth-child(2) i{ animation-delay: .25s; }
.footer-contact-items .footer-phone i{ animation-delay: .15s; }
.footer-contact-items .footer-email i{ animation-delay: .3s; }
.footer-contact-items .footer-address i{ animation-delay: .45s; }

/* احترام تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .footer-social .animated,
  .footer-contact-items .animated{
    animation: none !important;
  }
}
@media (min-width: 768px){

.social-gif{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

img.footer-gif {
    width: 27px!important;
}


.footer-contact-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.footer-separator{ opacity: .45; }

.footer-gif{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

img.footer-gif {
    width: 27px;
}
}

@media (max-width: 768px){
    
    img.footer-gif {
    width: 27px;
}

.social-tiktok .social-gif{
  height: 100px;
  width: auto;      /* يحافظ على النسبة */
  display: block;   /* يمنع أي فراغ غريب */
}

}



/* WooCommerce: style the "View cart" link that appears after add to cart */
.woocommerce a.added_to_cart.wc-forward{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #6b4527;         /* نفس لون البني عندك */
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  margin-top: 10px;
}

/* Hover */
.woocommerce a.added_to_cart.wc-forward:hover{
  transform: translateY(-1px);
  filter: brightness(.95);
}

/* لو بيتحط جنب زر add to cart وعايزاه تحته */
.woocommerce .add_to_cart_button + a.added_to_cart.wc-forward{
  margin-inline-start: 0;
  margin-right: 0;
  width: 100%;
}

/* Remove blue focus outline ugly + add nice focus */
.woocommerce a.added_to_cart.wc-forward:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 69, 39, .25), 0 8px 20px rgba(0,0,0,.08);
}



/* ==============================
   Fix buttons after Add to cart
   ============================== */

/* 1) امنع "عرض السلة" يبقى inline/يتحشر */
.woocommerce a.added_to_cart.wc-forward{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  white-space: nowrap;
}

/* 2) على الموبايل: خلي منطقة الأزرار Grid بعمودين ثابتين */
@media (max-width: 640px){

  /* الحاوية اللي فيها الأزرار (اختاري اللي عندك شغال - مش هيضر) */
  .mj-card__actions,
  .product-card__actions,
  .woocommerce .products li.product .button{
    /* لو عندك wrapper للأزرار حطيه هنا */
  }

  /* أهم جزء: لفّ الأزرار في Grid */
  .mj-card__actions,
  .product-card__actions,
  .wc-card-actions{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* زر "إضافة إلى السلة" */
  .woocommerce a.button.add_to_cart_button,
  .woocommerce a.button.product_type_simple{
    width: 100% !important;
    margin: 0 !important;
  }

  /* زر "عرض تفاصيل الباقة" */
  .mj-card__details,
  a.mj-card__details{
    width: 100% !important;
    margin: 0 !important;
  }

  /* ✅ خلي "عرض السلة" ياخد صف كامل تحتهم */
  .woocommerce a.added_to_cart.wc-forward{
    grid-column: 1 / -1 !important; /* ياخد العرض كله */
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: #6b4527 !important;
    color: #fff !important;
  }

  /* ✅ لو وكميرس بيحط "عرض السلة" بعد زر الإضافة مباشرة */
  .woocommerce a.add_to_cart_button + a.added_to_cart.wc-forward{
    display: inline-flex !important;
  }
}



@media (max-width:640px){

  /* زر إضافة للسلة نفسه */
  .woocommerce a.button.add_to_cart_button,
  .woocommerce a.button.product_type_simple{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    white-space:nowrap !important;     /* ✅ يمنع تكسير الكلمات */
    line-height:1 !important;
    padding:12px 14px !important;
  }

  /* لو ووكميرس بيضيف span/ايقونة جوه الزر */
  .woocommerce a.button.add_to_cart_button i,
  .woocommerce a.button.add_to_cart_button svg,
  .woocommerce a.button.add_to_cart_button .icon,
  .woocommerce a.button.product_type_simple i,
  .woocommerce a.button.product_type_simple svg,
  .woocommerce a.button.product_type_simple .icon{
    flex:0 0 auto !important;
    margin:0 !important;
  }

  /* لو النص جوه span */
  .woocommerce a.button.add_to_cart_button span,
  .woocommerce a.button.product_type_simple span{
    display:inline !important;
    white-space:nowrap !important;
  }
}




/* =========================
   ABOUT - Season Block (about02)
   ========================= */
.mj-about-season{
  width: 100%;
  position: relative;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

.mj-about-season__inner{
  width: min(1360px, 92%);
  margin: 0 auto;
  position: relative;
  height: 554px;
}

/* left image */
.mj-about-season__img{
  position: absolute;
  top: 0;
  left: 0;
  width: 670px;
  height: 554px;
  border-radius: 5px;
  object-fit: cover;
}

/* right box */
.mj-about-season__box{
  position: absolute;
  top: 0;
  left: 670px;
  width: 690px;
  height: 554px;
}

.mj-about-season__box-bg{
  position: absolute;
  inset: 0;
  box-shadow: 2px 2px 2px rgba(110, 73, 40, 0.25);
  border-radius: 5px;
  background: #fff;
}

.mj-about-season__content{
  position: absolute;
  top: 119px;
  left: 37px;
  width: 616px;
  height: 316px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.mj-about-season__title{
  width: 100%;
  margin: 0;
  font-size: 29px;
  line-height: 30px;
  font-weight: 700;
  color: #6e4928;
}

.mj-about-season__text{
  width: 100%;
  margin: 0;
  font-size: 20px;
  line-height: 40px;
  font-weight: 600;
  color: #7b736c;
}

/* Mobile: image top, text under */
@media (max-width: 900px){
  .mj-about-season__inner{
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mj-about-season__img{
    position: relative;
    width: 100%;
    height: 240px; 
  }

  .mj-about-season__box{
    position: relative;
    left: auto;
    width: 100%;
    height: auto;
  }

  .mj-about-season__box-bg{
    position: absolute;
    inset: 0;
  }

  .mj-about-season__content{
    position: relative;
    top: auto;
    left: auto;
    width: 91%;
    height: auto;
    padding: 18px 2px;
    gap: 14px;
    align-items: flex-start;
    text-align: right;
  }

  .mj-about-season__title{
    font-size: 17px;
    line-height: 30px;
  }

  .mj-about-season__text{
    font-size: 15px;
    line-height: 30px;
  }
}

