/* ═══════════════════════════════════════════════════════════════
   layout.css — أنماط القالب العام (هيدر، ميجا-مينيو، فوتر،
   الشاشة الافتتاحية، زر أعلى الصفحة، شريط الواتساب)

   المرحلة 3: كان هذا الملف 2144 سطرًا مكتوبة داخل <style> فى
   _Layout.cshtml، أى أن كل زائر كان يحمّلها من جديد مع كل صفحة
   يفتحها لأن المتصفح لا يستطيع تخزين HTML بهذا الشكل.
   بعد نقلها لملف خارجى يحمّلها المتصفح مرة واحدة ويخزّنها.
   ═══════════════════════════════════════════════════════════════ */

/* ===== الشاشة الافتتاحية (Preloader) ===== */
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 42%, #fffdf7 0%, #faf6ec 55%, #f3ebd6 100%);
    /* حماية احتياطية: يختفى تلقائيًا حتى لو تعطّل الـ JS */
    animation: plFailsafe 0s linear 6s forwards;
}

    .site-preloader.is-hidden {
        opacity: 0;
        visibility: hidden;
        transition: opacity .7s ease, visibility .7s ease;
    }

    .site-preloader .pl-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 26px;
        transition: transform .7s ease, opacity .7s ease;
    }

    .site-preloader.is-hidden .pl-inner {
        transform: scale(1.08);
        opacity: 0;
    }

    .site-preloader .pl-logo-wrap {
        position: relative;
        width: 250px;
        height: 250px;
    }

    .site-preloader .pl-logo-wrap::before {
        content: "";
        position: absolute;
        inset: -22px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(212, 160, 23, .24), rgba(212, 160, 23, 0) 70%);
        animation: plGlow 3s ease-in-out infinite;
    }

    .site-preloader .pl-logo-name {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        opacity: 0;
        clip-path: circle(0% at 50% 45%);
        will-change: clip-path, opacity;
        animation: plLogoForm 2.1s cubic-bezier(.33, 0, .12, 1) .2s forwards;
    }

    .site-preloader .pl-gear {
        position: absolute;
        width: 19.6%;
        height: 19.6%;
        opacity: 0;
        transform-origin: center center;
        will-change: transform;
        backface-visibility: hidden;
        overflow: visible;
    }

    .site-preloader .pl-gear-1 {
        left: 30.8%;
        top: 71.8%;
        animation: plGearIn .9s ease 1s forwards, plGearSpin 6s linear 1s infinite;
    }

    .site-preloader .pl-gear-2 {
        left: 51.4%;
        top: 72.2%;
        animation: plGearIn .9s ease 1.05s forwards, plGearSpinRev 6s linear 1.05s infinite;
    }

    .site-preloader .pl-title {
        font-family: Cairo, Arial, sans-serif;
        font-weight: 900;
        font-size: 1.18rem;
        letter-spacing: .5px;
        color: #1a1a1a;
        opacity: 0;
        transform: translateY(12px);
        animation: plTextUp .7s ease .9s forwards;
    }

        .site-preloader .pl-title span {
            color: #d4a017;
        }

@keyframes plLogoForm {
    0% { opacity: 0; clip-path: circle(0% at 50% 45%); }
    35% { opacity: 1; }
    100% { opacity: 1; clip-path: circle(78% at 50% 45%); }
}

@keyframes plGearIn {
    to { opacity: 1; }
}

@keyframes plGearSpin {
    to { transform: rotate(360deg); }
}

@keyframes plGearSpinRev {
    to { transform: rotate(-360deg); }
}

@keyframes plGlow {
    0%, 100% { opacity: .55; transform: scale(.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes plTextUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes plFailsafe {
    to { opacity: 0; visibility: hidden; }
}

/* منع التمرير أثناء عرض الشاشة الافتتاحية */
body.preloader-active {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .site-preloader .pl-logo-wrap { width: 200px; height: 200px; }
    .site-preloader .pl-title { font-size: 1.05rem; }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .site-preloader .pl-logo-name,
    .site-preloader .pl-gear,
    .site-preloader .pl-title,
    .site-preloader .pl-logo-wrap::before {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    .site-preloader .pl-logo-name { clip-path: circle(78% at 50% 45%) !important; opacity: 1 !important; }
    .site-preloader .pl-gear { opacity: 1 !important; }
}

/* ===== Global Safety Rules - منع الكسر على كل الأجهزة ===== */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
/* overflow-x: clip لا يكسر position: sticky (بعكس hidden) */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
/* max-width فقط حتى لا تطفح الصور؛ height يفضل كما هو محدد فى الستايل الأصلى لكل صورة */
img, svg, video, iframe, embed, object {
    max-width: 100%;
}
/* استثناء اللوجو والـ navbar - يحافظ على أبعاده المحددة */
.site-header .navbar-brand img,
.navbar-brand img {
    width: auto !important;
    max-width: 100%;
}

table {
    max-width: 100%;
}

pre, code {
    white-space: pre-wrap;
    word-break: break-word;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

*, *::before, *::after {
    min-width: 0;
}
/* اجعل النصوص الطويلة (روابط، إيميلات، أرقام) تنكسر بشكل سليم */
p, li, td, th, dd, dt {
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* منع الـ flex items من التمدد خارج الـ container */
.row {
    --bs-gutter-x: 1.5rem;
}

@media (max-width: 575.98px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .row {
        --bs-gutter-x: 1rem;
    }
}

@media (max-width: 360px) {
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ===== Top strip - seamless gold marquee ===== */
.top-strip {
    background: linear-gradient(90deg, #050505 0%, #0a0a0a 50%, #050505 100%);
    border-bottom: 1px solid rgba(212, 160, 23, .22);
    padding: 9px 0;
    overflow: hidden;
    position: relative;
}

    .top-strip::before,
    .top-strip::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 90px;
        z-index: 3;
        pointer-events: none;
    }

    .top-strip::before { 
        right: 0;
        background: linear-gradient(270deg, #0a0a0a 0%, transparent 100%);
    }

    .top-strip::after {
        left: 0;
        background: linear-gradient(90deg, #0a0a0a 0%, transparent 100%);
    }

.marquee {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    direction: ltr; /* Force LTR layout so the track starts at the LEFT edge */
}

.marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeMove 38s linear infinite;
    will-change: transform;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 15px;
    direction: rtl; /* RTL inside each group for proper Arabic text */
    flex-shrink: 0;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f4d693;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .2px;
}

    .marquee__item i {
        color: #d4a017;
        font-size: .85rem;
    }

    .marquee__item b {
        color: #f0c75e;
        font-weight: 900;
        direction: ltr;
        unicode-bidi: isolate;
        display: inline-block;
    }

.marquee__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(212, 160, 23, .55);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(212, 160, 23, .35);
}

.top-strip:hover .marquee__track {
    animation-play-state: paused;
} 

/* Track has 4 identical copies; we shift by -25% = 1 copy width.
                                   This guarantees the viewport is always filled — works up to 4K screens. */
@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee__track {
        animation: none;
    }
}

@media (max-width: 575px) {
    .marquee__group {
        gap: 22px;
        padding: 0 11px;
    }

    .marquee__item {
        font-size: .82rem;
    }
}

/* ===== Footer - gold themed (overrides site.css) ===== */
.footer {
    background: linear-gradient(180deg, #000000 0%, #050505 100%);
    color: #e8dfc4;
    position: relative;
}

    /* Gold accent line on top edge of footer */
    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(212, 160, 23, .45) 22%, #d4a017 50%, rgba(212, 160, 23, .45) 78%, transparent 100%);
    }

    .footer h5,
    .footer h3 {
        color: #f0c75e;
        font-weight: 900;
        margin-bottom: 14px;
        position: relative;
        display: inline-block;
        padding-bottom: 8px;
    }

        /* Small gold underline under headings (skip on h3 inside the CTA) */
        .footer h5::after {
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 38px;
            height: 2px;
            background: linear-gradient(90deg, #d4a017, transparent);
            border-radius: 2px;
        }

    .footer a {
        display: block;
        color: #d8d0b8;
        text-decoration: none;
        margin: .55rem 0;
        font-weight: 600;
        transition: color .2s ease, padding-right .2s ease;
    }

        .footer a:hover {
            color: #f0c75e;
            padding-right: 6px; /* small RTL nudge on hover */
        }

    .footer p {
        color: #c9c2a8;
        line-height: 1.95;
        font-weight: 500;
    }

    .footer hr {
        border: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(212, 160, 23, .35) 50%, transparent 100%);
        margin: 32px 0 18px;
        opacity: 1;
    }

    .footer .small {
        color: #8a8265 !important;
        font-weight: 600;
    }

/* CTA strip at top of footer */
.footer-cta {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%) !important;
    border: 1px solid rgba(212, 160, 23, .35) !important;
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(212, 160, 23, .08);
}

    .footer-cta h3 {
        margin: 0;
        padding-bottom: 0;
        color: #f0c75e;
    }

        .footer-cta h3::after {
            display: none; /* no underline inside CTA */
        }

/* Form inputs in the footer (dark + gold accents) */
.footer .form-control {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(212, 160, 23, .25);
    color: #f4d693;
    font-weight: 600;
}

    .footer .form-control::placeholder {
        color: rgba(244, 214, 147, .55);
    }

    .footer .form-control:focus {
        background: rgba(255, 255, 255, .08);
        border-color: #d4a017;
        box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .18);
        color: #fff;
    }

/* ===== HEADER - professional gold theme (overrides site.css) ===== */
.site-header {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 160, 23, .14);
    box-shadow: 0 6px 22px rgba(10, 10, 10, .06);
    position: sticky;
    top: 0;
    z-index: 1030;
}

    /* Gold accent line at the very bottom edge of the header */
    .site-header::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(212, 160, 23, .35) 25%, #d4a017 50%, rgba(212, 160, 23, .35) 75%, transparent 100%);
        opacity: .85;
        pointer-events: none;
    }

    /* === Brand (logo + text) === */
    .site-header .navbar-brand {
        padding: 10px 0;
        transition: transform .2s ease;
    }

        .site-header .navbar-brand img {
            height: 58px;
            width: auto;
            max-width: 100%;
            border-radius: 8px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .site-header .navbar-brand:hover img {
            transform: scale(1.04) rotate(-1deg);
            box-shadow: 0 10px 22px rgba(212, 160, 23, .25);
        }

        .site-header .navbar-brand span {
            color: #0a0a0a !important;
            font-weight: 900;
            font-size: 1.25rem;
            line-height: 1.15;
            letter-spacing: -.2px;
        }

        .site-header .navbar-brand small {
            color: #d4a017 !important;
            font-weight: 800;
            font-size: .74rem;
            letter-spacing: .5px;
            margin-top: -2px;
        }

/* === Main menu links === */
.main-menu .nav-link {
    position: relative;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    color: #1a1a1a !important;
    padding: 24px 14px !important;
    transition: color .2s ease;

    /* القائمة صفٌّ واحد أفقىّ. بلا هذا السطر تنكسر «الرئيسية» إلى
       «الرئيسي / ة» و«اتصل بنا» إلى سطرين حين تضيق المساحة — وهو ما
       يحدث فعلًا من 1536 بكسل ونازلًا: أغلب شاشات اللابتوب، وأى شاشة
       بتكبير 125٪. */
    white-space: nowrap;
}

    /* Animated gold underline on hover/active */
    .main-menu .nav-link::after {
        content: "";
        position: absolute;
        bottom: 16px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #d4a017, #f0c75e);
        border-radius: 2px;
        transition: width .28s ease, left .28s ease;
    }

    .main-menu .nav-link:hover,
    .main-menu .nav-link:focus,
    .main-menu .nav-link.show {
        color: #d4a017 !important;
    }

        .main-menu .nav-link:hover::after,
        .main-menu .nav-link.show::after {
            width: calc(100% - 28px);
            left: 14px;
        }

    /* Bootstrap dropdown caret tweak */
    .main-menu .nav-link.dropdown-toggle::before,
    .main-menu .nav-link.dropdown-toggle::after {
        vertical-align: .15em;
    }

/* === Dropdown menus === */
.site-header .dropdown-menu {
    border-radius: 14px !important;
    border: 1px solid rgba(212, 160, 23, .18) !important;
    box-shadow: 0 18px 42px rgba(10, 10, 10, .14) !important;
    padding: 10px !important;
    margin-top: 6px !important;
    background: #fff;
}

.site-header .dropdown-item {
    border-radius: 9px;
    padding: 9px 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    transition: background .15s ease, color .15s ease, padding .15s ease;
}

    .site-header .dropdown-item:hover,
    .site-header .dropdown-item:focus {
        background: linear-gradient(135deg, rgba(212, 160, 23, .12), rgba(240, 199, 94, .06)) !important;
        color: #d4a017 !important;
        padding-right: 20px !important;
    }

/* === Mega menu (Products) === */
.mega-menu {
    width: min(500px, calc(100vw - 30px)) !important;
    border-radius: 18px !important;
    padding: 26px 28px !important;
}

    .mega-menu h6 {
        color: #d4a017 !important;
        font-weight: 900;
        font-size: 1rem;
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid rgba(212, 160, 23, .18) !important;
        position: relative;
    }

        .mega-menu h6::after {
            content: "";
            position: absolute;
            bottom: -1px;
            right: 0;
            width: 42px;
            height: 2px;
            background: linear-gradient(90deg, #d4a017, transparent);
            border-radius: 2px;
        }

    .mega-menu a {
        color: #2a2a2a !important;
        font-weight: 600 !important;
        padding: 7px 0 !important;
        font-size: .94rem;
        transition: color .2s ease, padding-right .2s ease;
    }

        .mega-menu a:hover {
            color: #d4a017 !important;
            padding-right: 8px !important;
        }

/* === Expandable items (with variants) === */
.mega-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 8px;
    margin: 1px 0;
    padding-inline-end: 8px;
    transition: background .15s ease;
}

    .mega-item .mega-item-main {
        flex: 1 1 auto;
        min-width: 0;
        padding-block: 4px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

/* === صور المنتجات المصغّرة داخل القائمة === */
.mega-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-thumb,
.mega-thumb-sm {
    flex: 0 0 auto;
    object-fit: contain;
    background: #f6f4ee;
    border: 1px solid rgba(212, 160, 23, .18);
    border-radius: 8px;
    padding: 3px;
    cursor: zoom-in;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mega-thumb {
    width: 40px;
    height: 40px;
}

.mega-thumb-sm {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.mega-menu a:hover .mega-thumb,
.mega-menu a:hover .mega-thumb-sm {
    border-color: rgba(212, 160, 23, .55);
    box-shadow: 0 3px 10px rgba(212, 160, 23, .22);
    transform: scale(1.04);
}

/* النص بجانب الصورة */
.mega-menu a .mega-label {
    flex: 1 1 auto;
    min-width: 0;
}

/* إلغاء حركة padding عند الـ hover حتى لا تتزحزح الصورة */
.mega-menu a:hover {
    padding-right: 0 !important;
}

.mega-sub a:hover {
    padding-right: 0 !important;
}

/* === نافذة تكبير صورة المنتج (Lightbox) === */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, .82);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .25s ease;
}

    .product-lightbox.is-open {
        display: flex;
        opacity: 1;
    }

    .product-lightbox .pl-figure {
        position: relative;
        max-width: min(880px, 92vw);
        max-height: 88vh;
        margin: 0;
        transform: scale(.94);
        transition: transform .25s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .product-lightbox.is-open .pl-figure {
        transform: scale(1);
    }

    .product-lightbox .pl-img {
        max-width: 100%;
        max-height: 78vh;
        object-fit: contain;
        background: #fff;
        border-radius: 14px;
        padding: 10px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
    }

    .product-lightbox .pl-caption {
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
        text-align: center;
        text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    }

    .product-lightbox .pl-close {
        position: absolute;
        top: -14px;
        left: -14px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 0;
        background: #d4a017;
        color: #0a0a0a;
        font-size: 1.2rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
        transition: transform .2s ease, background .2s ease;
    }

        .product-lightbox .pl-close:hover {
            background: #f0c75e;
            transform: scale(1.08);
        }

@media (max-width: 575.98px) {
    .product-lightbox .pl-close {
        top: 6px;
        left: 6px;
    }
}

/* === زر العودة لأعلى الصفحة === */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a017, #e0a81e);
    color: #fff;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(212, 160, 23, .38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.85);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease, box-shadow .25s ease;
}

    /* حلقة توهّج تنبض حول الزر */
    .back-to-top::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        z-index: -1;
        box-shadow: 0 0 0 0 rgba(212, 160, 23, .55);
        opacity: 0;
    }

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

        .back-to-top.is-visible::after {
            animation: bttGlow 2.6s ease-out infinite;
        }

    .back-to-top:hover {
        transform: translateY(-4px) scale(1.07);
        box-shadow: 0 14px 30px rgba(212, 160, 23, .55);
        color: #fff;
    }

    .back-to-top:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 .22rem rgba(212, 160, 23, .45), 0 8px 22px rgba(212, 160, 23, .38);
    }

    /* سهم رفيع أنيق أبيض مع حركة طفو خفيفة (طلوع/نزول) */
    .back-to-top svg {
        width: 22px;
        height: 22px;
        display: block;
        filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .28));
        animation: bttFloat 1.9s ease-in-out infinite;
    }

@keyframes bttFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2.5px); }
}

@keyframes bttGlow {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, .5); opacity: 1; }
    100% { box-shadow: 0 0 0 14px rgba(212, 160, 23, 0); opacity: 0; }
}

@media (max-width: 575.98px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 18px; /* موازٍ تمامًا لزر الواتساب */
    }

        .back-to-top svg {
            width: 20px;
            height: 20px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top svg,
    .back-to-top.is-visible::after {
        animation: none !important;
    }
}

.mega-sub-toggle {
    background: rgba(212, 160, 23, .10);
    border: 1px solid rgba(212, 160, 23, .22);
    color: #d4a017;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    font-size: .68rem;
    flex-shrink: 0;
    transition: background .2s ease, color .2s ease, transform .3s ease, border-color .2s ease;
}

    .mega-sub-toggle:hover {
        background: rgba(212, 160, 23, .22);
        border-color: rgba(212, 160, 23, .45);
    }

    .mega-sub-toggle:focus {
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .22);
    }

.mega-item.is-open .mega-sub-toggle {
    background: #d4a017;
    color: #fff;
    border-color: #d4a017;
    transform: rotate(180deg);
}

.mega-sub {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    padding-right: 16px;
    margin-right: 10px;
    border-right: 2px solid rgba(212, 160, 23, 0);
    transition: max-height .35s ease, border-color .25s ease, margin-top .25s ease, margin-bottom .25s ease;
}

.mega-item.is-open .mega-sub {
    max-height: 320px;
    border-right-color: rgba(212, 160, 23, .35);
    margin-top: 2px;
    margin-bottom: 6px;
}

.mega-sub a {
    color: #5a5d68 !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
    font-size: .87rem;
    position: relative;
}

    .mega-sub a::before {
        content: "›";
        color: rgba(212, 160, 23, .55);
        margin-left: 6px;
        font-weight: 900;
        transition: transform .2s ease, color .2s ease;
        display: none; /* أُخفِيَ بعد إضافة الصورة المصغّرة كمؤشر بصرى */
    }

    .mega-sub a:hover {
        color: #d4a017 !important;
        padding-right: 4px !important;
    }

        .mega-sub a:hover::before {
            color: #d4a017;
            transform: translateX(-3px);
        }

.mega-menu-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(212, 160, 23, .28);
    text-align: center;
}

    .mega-menu-footer a {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 8px 24px !important;
        background: linear-gradient(135deg, #d4a017, #f0c75e) !important;
        color: #0a0a0a !important;
        border-radius: 999px;
        font-weight: 800 !important;
        transition: transform .2s ease, box-shadow .2s ease;
        box-shadow: 0 4px 12px rgba(212, 160, 23, .25);
    }

        .mega-menu-footer a:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(212, 160, 23, .4);
            padding-right: 24px !important;
        }

/* === Social icons === */
.header-social {
    gap: 10px !important;
}

    .header-social a {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
        margin: 0 !important;
    }

        .header-social a:hover {
            transform: translateY(-3px) scale(1.05) !important;
            box-shadow: 0 10px 22px rgba(0, 0, 0, .18) !important;
            filter: brightness(1.05) !important;
        }

/* === Quote button === */
.quote-btn {
    background: linear-gradient(135deg, #d4a017 0%, #f0c75e 50%, #d4a017 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% 0% !important;
    border: 0 !important;
    color: #0a0a0a !important;
    font-weight: 900 !important;
    border-radius: 999px;
    padding: 11px 26px !important;
    box-shadow: 0 8px 20px rgba(212, 160, 23, .28);
    transition: transform .2s ease, box-shadow .25s ease, background-position .45s ease !important;
    letter-spacing: .3px;
}

    .quote-btn:hover,
    .quote-btn:focus {
        background-position: 100% 0% !important;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(212, 160, 23, .42);
        color: #0a0a0a !important;
    }

/* === Navbar toggler — base (hidden on desktop by Bootstrap; styling applies on mobile only) === */
.site-header .navbar-toggler {
    border: 1px solid rgba(212, 160, 23, .35);
    padding: 6px 10px;
    border-radius: 10px;
}

    .site-header .navbar-toggler:focus {
        box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .25);
    }

/* === Mobile header optimizations === */
@media (max-width: 991px) {
    /* ========== Hamburger toggler — animated 3-lines ↔ X ========== */
    .site-header .navbar-toggler {
        border: 1.5px solid rgba(212, 160, 23, .5);
        padding: 8px 12px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(212, 160, 23, .08) 0%, rgba(240, 199, 94, .04) 100%);
        transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
        position: relative;
        width: 46px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .site-header .navbar-toggler:hover {
            background: linear-gradient(135deg, rgba(212, 160, 23, .16) 0%, rgba(240, 199, 94, .08) 100%);
            border-color: rgba(212, 160, 23, .85);
        }

        .site-header .navbar-toggler:active {
            transform: scale(.94);
        }

        /* When expanded — gold tinted background */
        .site-header .navbar-toggler[aria-expanded="true"] {
            background: linear-gradient(135deg, rgba(212, 160, 23, .22) 0%, rgba(240, 199, 94, .12) 100%);
            border-color: rgba(212, 160, 23, .9);
            box-shadow: 0 4px 14px rgba(212, 160, 23, .22);
        }

        /* The icon: replace Bootstrap's bg image with a 3-line span we can animate */
        .site-header .navbar-toggler .navbar-toggler-icon {
            background-image: none;
            width: 22px;
            height: 2.4px;
            background-color: #d4a017;
            border-radius: 2px;
            position: relative;
            display: inline-block;
            vertical-align: middle;
            transition: background-color .2s ease .2s;
        }

        .site-header .navbar-toggler .navbar-toggler-icon::before,
        .site-header .navbar-toggler .navbar-toggler-icon::after {
            content: "";
            position: absolute;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #d4a017;
            border-radius: 2px;
            transition: top .25s ease .25s, transform .25s ease;
        }

        .site-header .navbar-toggler .navbar-toggler-icon::before {
            top: -7px;
        }

        .site-header .navbar-toggler .navbar-toggler-icon::after {
            top: 7px;
        }

        /* Animate to X */
        .site-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
            background-color: transparent;
            transition-delay: 0s;
        }

            .site-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
                top: 0;
                transform: rotate(45deg);
                transition: top .25s ease, transform .25s ease .25s;
            }

            .site-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
                top: 0;
                transform: rotate(-45deg);
                transition: top .25s ease, transform .25s ease .25s;
            }

    /* Top strip — compact and refined */
    .top-strip {
        padding: 7px 0;
    }

    .marquee__item {
        font-size: .85rem;
    }

        .marquee__item i {
            font-size: .78rem;
        }

    .marquee__group {
        gap: 24px;
        padding: 0 12px;
    }

    .marquee__dot {
        width: 5px;
        height: 5px;
    }

    .top-strip::before,
    .top-strip::after {
        width: 50px;
    }

    /* Header container */
    .site-header .container-fluid {
        padding-inline: 14px;
    }

    .site-header .navbar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .site-header .navbar-brand img {
        height: 46px !important;
        width: auto;
    }

    .site-header .navbar-brand span {
        font-size: 1.05rem;
    }

    .site-header .navbar-brand small {
        font-size: .65rem;
    }

    .quote-btn {
        padding: 8px 16px !important;
        font-size: .88rem !important;
        letter-spacing: 0;
    }

    .top-strip .top-strip-social {
        display: none;
    }
}

@media (max-width: 575px) {
    /* Top strip — even tighter on phones */
    .top-strip {
        padding: 6px 0;
    }

    .marquee__item {
        font-size: .78rem;
    }

        .marquee__item i {
            font-size: .72rem;
        }

    .marquee__group {
        gap: 18px;
        padding: 0 9px;
    }

    .top-strip::before,
    .top-strip::after {
        width: 36px;
    }

    /* Header */
    .site-header .container-fluid {
        padding-inline: 12px;
    }

    .site-header .navbar-brand img {
        height: 40px !important;
    }
    /* إخفاء النص جنب اللوجو على شاشات صغيرة جدًا لتفادى الزحام */
    .site-header .navbar-brand span small {
        display: none;
    }

    .site-header .navbar-brand span {
        font-size: .98rem;
    }

    .site-header .navbar-toggler {
        padding: 7px 10px;
    }

    /* Collapsed menu — tighter on phones */
    .site-header .navbar-collapse {
        margin-top: 10px;
        padding: 14px 12px 12px;
        border-radius: 16px;
    }

    .main-menu .nav-link {
        padding: 12px 10px !important;
        font-size: .95rem !important;
    }

    .quote-btn {
        padding: 7px 12px !important;
        font-size: .82rem !important;
    }

    /* الزر full-width جوه القائمة المفتوحة يحافظ على حجمه الطبيعي */
    .header-actions .quote-btn {
        padding: 12px 22px !important;
        font-size: .92rem !important;
    }
}

/* === Mobile menu adjustments === */
@media (max-width: 991px) {
    /* Refined collapsed menu container */
    .site-header .navbar-collapse {
        background: linear-gradient(180deg, #fff 0%, #fbf8ee 100%);
        margin-top: 12px;
        padding: 16px 14px 14px;
        border-radius: 18px;
        border: 1px solid rgba(212, 160, 23, .25);
        box-shadow: 0 18px 38px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(255, 255, 255, .5);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }

    /* Main menu — vertical list with gold dividers */
    .main-menu {
        margin: 0 !important;
        width: 100%;
        flex-direction: column;
    }

    .main-menu .nav-item {
        border-bottom: 1px solid rgba(212, 160, 23, .12);
        width: 100%;
    }

        .main-menu .nav-item:last-child {
            border-bottom: 0;
        }

    /* ===== Mobile: separate "المنتجات" link and arrow button ===== */
    /* Make the <li> a flex row so link + arrow sit on the same line,
       and the dropdown menu wraps to a new line below them */
    .main-menu .product-nav-item {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
    }

        .main-menu .product-nav-item .mobile-products-link {
            flex: 1;
            padding: 13px 12px !important;
            font-size: 1rem !important;
            color: #1a1a1a !important;
            display: flex;
            align-items: center;
            border-radius: 8px;
            transition: background .15s ease, color .15s ease, padding-right .2s ease;
            font-weight: 700;
        }

            .main-menu .product-nav-item .mobile-products-link::after {
                display: none !important;
            }

            .main-menu .product-nav-item .mobile-products-link:hover,
            .main-menu .product-nav-item .mobile-products-link:active {
                background: rgba(212, 160, 23, .08);
                color: #d4a017 !important;
                padding-right: 18px !important;
            }

    /* Arrow button — visually identical to other dropdown chevrons */
    .main-menu .product-nav-item .mobile-dd-toggle {
        width: 26px;
        height: 26px;
        border: 0;
        padding: 0;
        margin-left: 4px;
        margin-right: 6px;
        border-radius: 50%;
        background: rgba(212, 160, 23, .1);
        color: #d4a017;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: .72rem;
        flex-shrink: 0;
        transition: background .25s ease, color .25s ease;
    }

        .main-menu .product-nav-item .mobile-dd-toggle::after {
            display: none !important; /* hide Bootstrap default caret */
        }

        .main-menu .product-nav-item .mobile-dd-toggle:focus {
            outline: 0;
            box-shadow: 0 0 0 .2rem rgba(212, 160, 23, .22);
        }

        .main-menu .product-nav-item .mobile-dd-toggle i {
            transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
        }

        /* When dropdown is open */
        .main-menu .product-nav-item .mobile-dd-toggle[aria-expanded="true"] {
            background: #d4a017;
            color: #fff;
        }

            .main-menu .product-nav-item .mobile-dd-toggle[aria-expanded="true"] i {
                transform: rotate(-180deg);
            }

    /* Mega menu takes full width below the link/button row */
    .main-menu .product-nav-item .mega-menu {
        flex: 0 0 100%;
        width: 100%;
    }

    .main-menu .nav-link {
        padding: 13px 12px !important;
        font-size: 1rem !important;
        color: #1a1a1a !important;
        display: flex;
        align-items: center;
        border-radius: 8px;
        transition: background .15s ease, color .15s ease, padding-right .2s ease;
    }

        .main-menu .nav-link:active,
        .main-menu .nav-link:hover {
            background: rgba(212, 160, 23, .08);
            color: #d4a017 !important;
            padding-right: 18px !important;
        }

        .main-menu .nav-link::after {
            display: none;
        }

    /* === On mobile: Font Awesome chevron with rotation animation === */
    .main-menu .nav-link.dropdown-toggle {
        justify-content: space-between;
    }

    .main-menu .nav-link.dropdown-toggle::after {
        content: "\f078" !important; /* fa-chevron-down */
        font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
        font-weight: 900 !important;
        border: 0 !important;
        width: 26px;
        height: 26px;
        line-height: 22px;
        text-align: center;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        margin-left: 4px;
        font-size: .72rem !important;
        color: #d4a017 !important;
        background: rgba(212, 160, 23, .1);
        border-radius: 50%;
        vertical-align: middle;
        transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .25s ease, color .25s ease;
    }

    .main-menu .nav-link.dropdown-toggle.show::after,
    .main-menu .nav-link.dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-180deg);
        background: #d4a017;
        color: #fff !important;
    }

    /* Dropdown menus inside mobile */
    .site-header .dropdown-menu {
        box-shadow: none !important;
        border: 1px solid rgba(212, 160, 23, .15) !important;
        margin-top: 6px !important;
        background: rgba(255, 248, 230, .55);
    }

    /* Mega menu inside mobile collapse */
    .mega-menu {
        width: 100% !important;
        padding: 14px !important;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 12px !important;
    }

        .mega-menu .row > [class*="col-"] {
            width: 100%;
        }

    /* Override site.css — keep products mega-menu CLOSED by default on mobile.
       Bootstrap toggles `.show` when the arrow button is clicked. */
    .product-nav-item .mega-menu {
        display: none !important;
    }

        .product-nav-item .mega-menu.show {
            display: block !important;
            position: static !important;
        }

    /* ===== Collapsible sections (منتجات رئيسية / منتجات فرعية) ===== */
    .mega-menu .mega-section {
        margin-bottom: 10px;
    }

        .mega-menu .mega-section:last-child {
            margin-bottom: 0;
        }

    /* Heading becomes a clickable bar on mobile */
    .mega-menu h6.mega-section-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 12px 14px !important;
        margin: 0 !important;
        background: rgba(212, 160, 23, .07);
        border: 1px solid rgba(212, 160, 23, .22) !important;
        border-radius: 12px !important;
        user-select: none;
        transition: background .2s ease, border-color .2s ease;
        font-size: .95rem !important;
        color: #d4a017 !important;
    }

        /* Kill the default underline that .mega-menu h6 has on desktop */
        .mega-menu h6.mega-section-toggle::after {
            display: none !important;
        }

        .mega-menu h6.mega-section-toggle .mega-section-arrow {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(212, 160, 23, .14);
            color: #d4a017;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: .72rem;
            transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .25s ease, color .25s ease;
            flex-shrink: 0;
        }

    /* Content is collapsed by default; opens when parent has .is-open */
    .mega-menu .mega-section-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease, margin-top .25s ease, padding-top .25s ease;
        margin-top: 0;
        padding-top: 0;
    }

    .mega-menu .mega-section.is-open .mega-section-content {
        max-height: 1400px;
        margin-top: 8px;
        padding-top: 4px;
    }

    .mega-menu .mega-section.is-open h6.mega-section-toggle {
        background: rgba(212, 160, 23, .14);
        border-color: rgba(212, 160, 23, .45) !important;
    }

        .mega-menu .mega-section.is-open h6.mega-section-toggle .mega-section-arrow {
            transform: rotate(180deg);
            background: #d4a017;
            color: #fff;
        }

    /* When a section is collapsed on mobile, also collapse any open sub-toggles inside */
    .mega-menu .mega-section:not(.is-open) .mega-item.is-open .mega-sub {
        max-height: 0;
    }

    /* h6 styling override (when not used as toggle, like in dropdowns elsewhere) */
    .mega-menu h6:not(.mega-section-toggle) {
        font-size: .95rem;
        margin-top: 12px;
    }

    .mega-sub-toggle {
        width: 32px !important;
        height: 32px !important;
    }

    .mega-item .mega-item-main {
        padding: 10px 10px !important;
        font-size: .92rem !important;
    }

    .mega-sub a {
        padding: 9px 14px !important;
        font-size: .88rem !important;
    }

    /* Header actions — repositioned, organized at bottom */
    .header-actions {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        gap: 14px !important;
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px dashed rgba(212, 160, 23, .25);
    }

    .header-social {
        justify-content: center;
        gap: 12px !important;
    }

        .header-social a {
            width: 42px !important;
            height: 42px !important;
            margin: 0 !important;
            font-size: 16px !important;
        }

    /* Quote button — full-width, prominent */
    .header-actions .quote-btn {
        width: 100%;
        justify-content: center;
        display: inline-flex;
        align-items: center;
        padding: 12px 24px !important;
        font-size: .95rem !important;
        letter-spacing: .2px;
    }
}

/* ===== زر الواتساب كأيقونة دائرية (مشترك بين كل الصفحات) ===== */
.btn-wa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #1ebe5d 100%);
    color: #fff !important;
    font-size: 1.35rem;
    text-decoration: none;
    border: 0;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

    .btn-wa-icon:hover,
    .btn-wa-icon:focus {
        color: #fff !important;
        background: linear-gradient(135deg, #1ebe5d 0%, #17a14d 100%);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 22px rgba(37, 211, 102, .5);
        text-decoration: none;
    }

    .btn-wa-icon i {
        color: #fff;
    }

    /* أحجام مختلفة */
    .btn-wa-icon.sm {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .btn-wa-icon.lg {
        width: 54px;
        height: 54px;
        font-size: 1.55rem;
    }


.footer-social-icons {
    display: flex;
    gap: 10px;
    margin: 6px 0 4px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important; /* يمنع تأثير .footer a:hover من زق الأيقونة يمين */
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(212, 160, 23, .25);
    color: #f0c75e !important;
    font-size: 1.05rem;
    line-height: 1;
    margin: 0 !important;
    text-decoration: none !important;
    transform: none !important;
    transition: background-color .3s ease, border-color .3s ease, color .25s ease !important;
}

    .footer-social-icon i {
        display: block;
        line-height: 1;
        margin: 0;
        padding: 0;
        transform: none !important;
    }

/* الواتساب أيقونته فيها tail جنب — نصغرها شوية عشان تبقى متمركزة */
.footer-social-wa i {
    font-size: .92em;
}

.footer-social-icon:hover,
.footer-social-icon:focus,
.footer-social-icon:active {
    color: #fff !important;
    padding: 0 !important; /* إلغاء padding-right العام بتاع روابط الفوتر */
    transform: none !important;
    filter: none !important;
}

/* ألوان الـ brand الرسمية — تغيير لون بس */
.footer-social-yt:hover {
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
}

.footer-social-fb:hover {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
}

.footer-social-wa:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
}


.product-card-pro {
    --pc-primary: #1a1a1a;
    --pc-accent: #d4a017;
    --pc-accent-bright: #f0c75e;
    --pc-soft: #faf6ec;
    --pc-border: #e8dfc4;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 14px 35px rgba(26, 26, 26, .06);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), box-shadow .35s ease, border-color .25s ease;
}

    .product-card-pro::before {
        /* خط ذهبى رفيع فى الأعلى - يظهر تدريجيًا على hover */
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent 0%, var(--pc-accent) 20%, var(--pc-accent-bright) 50%, var(--pc-accent) 80%, transparent 100%);
        opacity: 0;
        transform: scaleX(0);
        transform-origin: center;
        transition: opacity .35s ease, transform .35s ease;
        z-index: 3;
    }

    .product-card-pro:hover {
        transform: translateY(-8px);
        border-color: rgba(212, 160, 23, .35);
        box-shadow: 0 26px 55px rgba(26, 26, 26, .12), 0 0 0 1px rgba(212, 160, 23, .08);
    }

        .product-card-pro:hover::before {
            opacity: 1;
            transform: scaleX(1);
        }

/* ----- الصورة ----- */
.product-card-pro__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fbfbfb 0%, var(--pc-soft) 100%);
    aspect-ratio: 16 / 11;
}

    .product-card-pro__media::before {
        /* radial glow ذهبى خفيف */
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(212, 160, 23, .08), transparent 65%);
        pointer-events: none;
        z-index: 1;
    }

    .product-card-pro__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 14px;
        transition: transform .55s cubic-bezier(.2, .9, .3, 1.2);
        position: relative;
        z-index: 2;
    }

.product-card-pro:hover .product-card-pro__media img {
    transform: scale(1.06);
}

/* ----- Featured Badge ----- */
.product-card-pro__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pc-accent), var(--pc-accent-bright));
    color: #0a0a0a;
    font-weight: 900;
    font-size: .72rem;
    letter-spacing: .3px;
    box-shadow: 0 6px 14px rgba(212, 160, 23, .35);
}

    .product-card-pro__badge i {
        font-size: .68rem;
    }

/* ----- البودى ----- */
.product-card-pro__body {
    display: flex;
    flex-direction: column;
    padding: 14px 18px 16px;
    flex: 1;
}

.product-card-pro__kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pc-accent);
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

    .product-card-pro__kicker i {
        font-size: .65rem;
    }

.product-card-pro__title {
    color: var(--pc-primary) !important;
    font-weight: 900 !important;
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    padding: 0 !important;
}

.product-card-pro__quick-fact {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--pc-soft);
    border: 1px solid var(--pc-border);
    border-radius: 10px;
    padding: 7px 10px;
    margin-bottom: 8px;
    font-size: .82rem;
    color: var(--pc-primary);
    font-weight: 700;
}

    .product-card-pro__quick-fact i {
        color: var(--pc-accent);
        margin-top: 2px;
        flex-shrink: 0;
    }

    .product-card-pro__quick-fact span {
        line-height: 1.4;
    }

    .product-card-pro__quick-fact b {
        font-weight: 900;
    }

.product-card-pro__desc {
    color: #555966;
    line-height: 1.55;
    font-size: .87rem;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-card-pro__price {
    font-weight: 900;
    color: var(--pc-accent);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.product-card-pro__price--quote {
    font-size: .88rem;
    color: #888370;
    font-weight: 700;
}

/* ----- الـ Divider قبل الأزرار ----- */
.product-card-pro__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pc-border), transparent);
    margin: 0 0 10px;
}

/* ----- Actions ----- */
.product-card-pro__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

    .product-card-pro__actions .pc-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 7px 10px;
        border-radius: 10px;
        font-weight: 800;
        font-size: .82rem;
        text-decoration: none;
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
        border: 1.5px solid transparent;
        min-width: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .product-card-pro__actions .pc-btn-primary {
        background: linear-gradient(135deg, var(--pc-primary) 0%, #0a0a0a 100%);
        color: #f0c75e;
        border-color: var(--pc-primary);
    }

        .product-card-pro__actions .pc-btn-primary:hover {
            background: linear-gradient(135deg, #0a0a0a 0%, var(--pc-primary) 100%);
            color: #f0c75e;
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(26, 26, 26, .25);
        }

    .product-card-pro__actions .pc-btn-secondary {
        background: linear-gradient(135deg, var(--pc-accent), var(--pc-accent-bright));
        color: #0a0a0a;
        border-color: transparent;
        box-shadow: 0 4px 10px rgba(212, 160, 23, .22);
    }

        .product-card-pro__actions .pc-btn-secondary:hover {
            color: #0a0a0a;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(212, 160, 23, .38);
        }

    .product-card-pro__actions .btn-wa-icon {
        flex: 0 0 auto;
    }

@media (max-width: 575px) {
    .product-card-pro__media {
        aspect-ratio: 16 / 10;
    }

        .product-card-pro__media img {
            padding: 10px;
        }

    .product-card-pro__body {
        padding: 12px 14px 14px;
    }

    .product-card-pro__title {
        font-size: 1rem !important;
        min-height: 0;
    }

    .product-card-pro__desc {
        -webkit-line-clamp: 2;
    }

    .product-card-pro__actions .pc-btn {
        padding: 6px 8px;
        font-size: .78rem;
    }
}

/* شاشات صغيرة جدًا — تجنب الزحام فى الأزرار */
@media (max-width: 420px) {
    .product-card-pro__badge {
        top: 10px;
        right: 10px;
        padding: 5px 9px;
        font-size: .66rem;
    }

    .product-card-pro__body {
        padding: 12px 12px 14px;
    }

    .product-card-pro__kicker {
        font-size: .66rem;
    }

    .product-card-pro__quick-fact {
        font-size: .78rem;
        padding: 6px 8px;
    }

    .product-card-pro__desc {
        font-size: .83rem;
        -webkit-line-clamp: 2;
    }
    /* الأيقونات تختفى من الأزرار عشان النص يبقى واضح */
    .product-card-pro__actions .pc-btn i {
        display: none;
    }

    .product-card-pro__actions .pc-btn {
        padding: 9px 8px;
        font-size: .82rem;
        gap: 0;
    }
    /* الواتساب أصغر */
    .product-card-pro__actions .btn-wa-icon.sm {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }
}

/* ===================================================================
                                   PRODUCT CATEGORY CARD — كروت الأقسام فى صفحة المنتجات
                                =================================================================== */
.products-category-card {
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), box-shadow .35s ease, border-color .25s ease;
}

    .products-category-card::after {
        /* glow ذهبى يظهر على hover */
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 100%, rgba(212, 160, 23, .12), transparent 55%);
        opacity: 0;
        transition: opacity .35s ease;
        pointer-events: none;
        z-index: 1;
    }

    .products-category-card > * {
        position: relative;
        z-index: 2;
    }

    .products-category-card:hover {
        transform: translateY(-6px);
        border-color: rgba(212, 160, 23, .4) !important;
        box-shadow: 0 22px 48px rgba(26, 26, 26, .12);
    }

        .products-category-card:hover::after {
            opacity: 1;
        }

        .products-category-card:hover img {
            transform: scale(1.05);
        }

    .products-category-card img {
        transition: transform .55s cubic-bezier(.2, .9, .3, 1.2);
    }

/* ===== Footer + WhatsApp float responsive ===== */
@media (max-width: 991.98px) {
    /* Override site.css `.footer [class*="col-"] { flex:1 }` so columns stack on mobile/tablet */
    .footer .row > [class*="col-"] {
        flex: 0 0 auto;
        margin-bottom: 10px;
    }

    /* Reset heading top margin on the first heading of each column */
    .footer [class*="col-"] > h5:first-child,
    .footer [class*="col-"] > h3:first-child {
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .footer {
        padding: 36px 0 12px !important;
    }

        .footer h5,
        .footer h3 {
            font-size: 1.05rem;
            margin-top: 22px;
        }

        .footer p,
        .footer a {
            font-size: .9rem;
        }

        .footer .row > [class*="col-"] {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 18px;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(212, 160, 23, .12);
        }

        /* Remove divider on the last column */
        .footer .row > [class*="col-"]:last-child {
            border-bottom: 0;
            padding-bottom: 0;
            margin-bottom: 0;
        }

        /* First heading inside each column should not double-stack space */
        .footer [class*="col-"] > h5:first-child,
        .footer [class*="col-"] > h3:first-child {
            margin-top: 0;
        }

        /* Social icons row — tighter on mobile */
        .footer-social-icons {
            gap: 8px;
        }

        .footer-social-icon {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
    /* الـ Brand banner فى الفوتر */
    .footer-cta {
        padding: 18px !important;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

        .footer-cta h3 {
            font-size: 1.1rem !important;
        }
    /* الزر العائم للواتساب — أصغر شوية وأقرب للحافة */
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.5rem !important;
        bottom: 18px !important;
        left: 14px !important;
    }
}

/* ── مكان محجوز لصور قائمة المنتجات قبل تحميلها ──
   المرحلة 3: الصور تُحمَّل عند أول فتح للقائمة (انظر layout.js).
   قبل ذلك لا تحمل الصورة src، فنعطيها خلفية بلون الموقع حتى لا
   يظهر فراغ أبيض أو أيقونة صورة مكسورة. */
.mega-thumb:not([src]),
.mega-thumb-sm:not([src]) {
    background: #f3ebd6;
    border-radius: 6px;
}


/* ── المرحلة 8: زر دخول لوحة التحكم فى الفوتر ── */
.footer-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 14px;
    color: rgba(255, 255, 255, .38);
    font-size: .78rem;
    text-decoration: none;
    transition: color .2s;
}

.footer-login:hover { color: #d4a017; }

/* ═══ مبدّل اللغة فى الهيدر (المرحلة 5ب) ═══
   حرفان لا علم دولة: العلم يرمز لبلد لا للغة، والإنجليزية ليست
   بلدًا واحدًا. الحرفان يُقرآن فى كل لغة ولا يحتاجان صورة تُحمَّل. */
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(212, 160, 23, .45);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .6);
    line-height: 1;
}

.lang-switch-item {
    padding: 7px 11px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .4px;
    color: #7a6a3a;
    text-decoration: none;
    transition: background .18s, color .18s;
    /* الرمزان لاتينيان دائمًا، فاتجاههما لا يتبع اتجاه الصفحة */
    direction: ltr;
}

    .lang-switch-item:hover {
        background: rgba(212, 160, 23, .16);
        color: #4a3f1e;
    }

    .lang-switch-item.is-active {
        background: linear-gradient(135deg, #f5c63a 0%, #d4a017 100%);
        color: #2b2308;
        cursor: default;
    }

/* فى القائمة المطوية بالموبايل يصير الشريط ممتدًا كبقية الأزرار */
@media (max-width: 991px) {
    .lang-switch {
        justify-content: center;
        align-self: center;
    }

    .lang-switch-item {
        padding: 10px 22px;
        font-size: .88rem;
    }
}


/* ════════════════════════════════════════════════════════════
   الشاشات المتوسطة: من 992 إلى 1600 بكسل
   ════════════════════════════════════════════════════════════
   بين ظهور القائمة الأفقية (992) وبين الشاشة الواسعة، يتنافس على
   العرض: الشعار + ثمانية روابط + صندوق بحث + أيقونتان + مبدّل اللغة
   + زر طلب السعر. فيضيق كلٌّ منها على الآخر.

   وبعد منع كسر الكلمة صار الضيق يُخرج القائمة عن الصف، فنقلّص
   المسافات تدريجيًّا بدل أن نكسر الكلمات. الترتيب مقصود: الحشو أولًا،
   ثم حجم الخط، وصندوق البحث آخر ما يُضحَّى به لأنه الأنفع للزائر. */

@media (max-width: 1600px) {
    .main-menu .nav-link {
        padding: 24px 9px !important;
    }
}

@media (max-width: 1400px) {
    .main-menu .nav-link {
        padding: 24px 7px !important;
        font-size: 15px !important;
    }

    .header-search-form {
        width: 190px;
    }

    .header-search {
        margin-inline-end: 8px;
    }
}

@media (max-width: 1250px) {
    .main-menu .nav-link {
        padding: 24px 5px !important;
        font-size: 14.2px !important;
    }

    /* عند هذا الحدّ يصير صندوق البحث أضيق من أن يُكتب فيه شىء،
       فيُخفى. والبحث يبقى متاحًا من صفحة /search ومن قائمة الموبايل. */
    .header-search {
        display: none;
    }

    .quote-btn {
        padding: 8px 12px !important;
        font-size: .84rem !important;
    }

    .header-social {
        gap: 6px !important;
    }
}
