/* ===== BASE ===== */
html {
    /* تفعيل تباعد الانزلاق الهيكلي لمنع حجب الهيدر المثبت لعناوين الأقسام عند الانتقال */
    scroll-padding-top: 90px;
}
@media (min-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }
}
body {
    background: #0A0A0A;
    color: #F2F2F2;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.hero-glow {
    background: radial-gradient(circle at 50% 30%, rgba(201, 168, 76, 0.08), transparent 70%);
}
.glass-card {
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    cursor: pointer;
}
.glass-card:hover {
    backdrop-filter: blur(12px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}
.red-card {
    background: linear-gradient(135deg, rgba(157,38,40,0.15), rgba(15,15,15,0.9));
    border: 1px solid rgba(157, 38, 40, 0.5);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    /* حبس التوهج والتدرج الأحمر ومنع خروجه نهائياً خارج الحواف المستديرة للكارت ليكون منسقاً بالملي متر */
    overflow: hidden !important; 
    background-clip: padding-box !important;
}
.red-card:hover {
    border-color: #9D2628;
    box-shadow: 0 10px 30px rgba(157, 38, 40, 0.4);
    transform: translateY(-6px);
}
.tilt-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
    will-change: transform;
}
.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.6);
}
.img-reveal {
    filter: grayscale(100%) contrast(120%) brightness(0.7);
    transition: filter 0.7s cubic-bezier(0.2, 0.9, 0.4, 1), transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
    transform: scale(1);
}
.group:hover .img-reveal,
.group\/box:hover .img-reveal,
.tilt-card:hover .img-reveal,
.glass-card:hover .img-reveal,
.red-card:hover .img-reveal {
    filter: grayscale(0%) contrast(105%) brightness(0.95);
    transform: scale(1.05);
}
.carousel-section {
    position: relative;
    margin: 2rem 0;
}
.carousel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch; /* تسريع السحب والقصور الذاتي بالأصبع */
    scroll-snap-type: x mandatory; /* فرض ميزة محاذاة وتوسط التمرير الإلزامية على الهواتف */
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-track {
    display: flex !important;
    gap: 1.5rem !important;
    /* زيادة الهامش الرأسي لـ 1.5rem لحماية ظلال الـ Hover العلوية والسفلية من القص */
    padding: 1.5rem 0 !important; 
    justify-content: flex-start !important; /* فرض تماسك اللوحات واصطفافها المباشر من يمين المتصفح دون تمدد أو حدوث فجوات سوداء بالمنتصف */
}
@media (max-width: 767px) {
    .carousel-track {
        /* تفعيل حشوة جانبية حسابية بالملي متر تجعل اللوحة الأولى تتوسط الشاشة تلقائياً وتحمي إطارها الذهبي الجانبي من القص */
        padding-left: calc(50% - 130px) !important;
        padding-right: calc(50% - 130px) !important;
    }
}
@media (min-width: 768px) {
    .carousel-track {
        /* زيادة الحشوة الجانبية لـ 2.5rem (40px) لمنع قص حواف كروت الأطراف وحماية إطاراتها المذهبة من الحجب على الحواسب */
        padding: 1.5rem 2.5rem !important;
    }
}
.carousel-item {
    flex: 0 0 260px;
    width: 260px;
    scroll-snap-align: center; /* تفعيل التوسط التام لكل كارت عمل فني على شاشة الجوال عند التمرير */
    scroll-snap-stop: always; /* إيقاف التمرير التلقائي عند كل كارت فني لسهولة الاستعراض المريح للزائر */
}
@media (min-width: 768px) {
    .carousel-item {
        flex: 0 0 300px;
        width: 300px;
        scroll-snap-align: none; /* إيقاف محاذاة التمرير في الشاشات الكبيرة لتصفح حر بالماوس */
    }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #C9A84C;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.carousel-btn:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: #C9A84C;
}
.carousel-btn-left {
    left: -20px;
}
.carousel-btn-right {
    right: -20px;
}
@media (max-width: 768px) {
    .carousel-btn-left {
        left: 0;
    }
    .carousel-btn-right {
        right: 0;
    }
}
@media (max-width: 767px) {
    /* حجب وإخفاء الأسهم الجانبية تماماً بالملي متر على الهواتف والتابلت لمنع الإزعاج والاصطدام البصري */
    .carousel-btn {
        display: none !important;
    }
}
.hover-reveal {
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.3s ease;
}
.hover-reveal:hover {
    opacity: 1;
    transform: translateY(-2px);
}
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 3px;
}
.nav-link {
    position: relative;
    transition: color 0.2s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.25s ease;
}
.nav-link:hover {
    width: 100%;
}
.lang-en .nav-link::after {
    left: 0;
    right: auto;
}
.lang-ar .nav-link::after {
    right: 0;
    left: auto;
}

/* ===== نظام إدارة وتحويل اللغات الآمن والمطابق لملف الـ HTML الأصلي حرفياً ===== */
.en-content {
    display: none;
}
body.lang-en .en-content {
    display: block !important;
}
body.lang-en span.en-content, body.lang-en a.en-content {
    display: inline-block !important;
}
body.lang-en .ar-content {
    display: none !important;
}
body.lang-ar .ar-content {
    display: block !important;
}
body.lang-ar span.ar-content, body.lang-ar a.ar-content {
    display: inline-block !important;
}
body.lang-ar .en-content {
    display: none !important;
}
body.lang-ar {
    direction: rtl;
}
body.lang-en {
    direction: ltr;
}

.price-badge {
    display: inline-block;
    font-family: 'Inter', monospace;
    font-size: 1.2rem; 
    font-weight: 700;
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 4px 14px;
    border-radius: 40px;
}
.red-price-badge {
    background: rgba(157, 38, 40, 0.2);
    border-color: #9D2628;
    color: #ff8a7a;
}
.edge-section-no-border .border-t {
    border-top: none !important;
}
.legal-strip {
    background: #0A0A0A;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.7rem;
    color: #aaa;
    letter-spacing: 0.5px;
}

/* زر الصعود الملموم للأجهزة المحمولة والحواسب بتفاعلاته الذكية والناعمة */
.scroll-top {
    position: fixed;
    bottom: 20px; /* موبايل: مسافة ملمومة وصغيرة لتجنب حجب المحتوى الفني */
    right: 20px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: #C9A84C;
    width: 38px;  /* موبايل: حجم ملموم ومريح وأنيق */
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top svg {
    width: 18px !important; /* حجم السهم ملموم ومتناسق */
    height: 18px !important;
    transition: transform 0.3s ease;
}
.scroll-top:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: #C9A84C;
    transform: translateY(-3px); /* حركة صعود للأعلى ناعمة جداً للتجاوب المريح والتفاعلي */
}
.scroll-top:hover svg {
    transform: translateY(-2px); /* دفع السهم للأعلى قليلاً عند تمرير الفأرة للتحفيز البصري المريح */
}
@media (min-width: 768px) {
    .scroll-top {
        bottom: 24px; /* ديسكتوب: مساحة مريحة ومقاس متزن */
        right: 24px;
        width: 42px;
        height: 42px;
    }
    .scroll-top svg {
        width: 20px !important;
        height: 20px !important;
    }
}

.insta-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.insta-icon:hover {
    opacity: 0.7;
}
.section-wrapper {
    position: relative;
}
.explore-more-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: #C9A84C;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
    margin-top: 0.75rem;
}
.explore-more-btn:hover {
    background: #C9A84C;
    color: #0A0A0A;
    border-color: #C9A84C;
    transform: scale(1.02);
}
.edge-monolith {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}
.section-header {
    font-size: 1.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .section-header {
        font-size: 2.2rem;
    }
}
.extra-grid {
    display: none;
    /* الجوال والشاشات الصغيرة جداً: يظهر كارت واحد ممتد بالكامل */
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0.5rem 0;
}
.extra-grid.show {
    display: grid;
}
@media (min-width: 640px) {
    .extra-grid {
        /* الأجهزة اللوحية (Tablets): يظهر عمودين متجاورين متناسقين تماماً */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .extra-grid {
        /* شاشات الكمبيوتر المكتبية: يتم توزيع الكروت بدقة بالغة إلى 4 أعمدة إجبارية متساوية العرض */
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.triptych-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}
.triptych-modal.show {
    display: flex;
}
.triptych-content {
    max-width: 1000px;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 2rem;
    padding: 2rem;
    position: relative;
}
.triptych-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.triptych-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #C9A84C;
    cursor: pointer;
    transition: 0.2s;
    background: none;
    border: none;
}
.triptych-close:hover {
    transform: scale(1.2);
    color: #fff;
}
@media (max-width: 640px) {
    .triptych-content {
        padding: 1rem;
    }
    .triptych-grid {
        grid-template-columns: 1fr;
    }
}
.path-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(120%) brightness(0.8);
    transition: filter 0.5s ease, transform 0.5s ease;
    transform: scale(1);
}
.group:hover .path-image {
    filter: grayscale(0%) contrast(105%) brightness(0.95);
    transform: scale(1.05);
}

/* ===== مطابقة حركة دخول موقع RAHIM ART الأصلية تماماً حرفياً ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.file-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.file-input-wrapper input[type="file"] {
    background: rgba(15, 15, 15, 0.6);
    border: 1px dashed rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    padding: 8px;
    color: #C8C4BC;
    font-size: 12px;
}
.file-input-wrapper input[type="file"]::-webkit-file-upload-button {
    background: #C9A84C;
    color: #0A0A0A;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.file-input-wrapper input[type="file"]::-webkit-file-upload-button:hover {
    background: #FFFFFF;
}
.img-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    margin-top: 4px;
}
.admin-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.admin-panel-overlay.show {
    display: flex;
}
.admin-panel {
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    max-height: 95vh;
    background: #0F0F0F;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.admin-panel::-webkit-scrollbar {
    width: 4px;
}
.admin-panel::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 4px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
}
.admin-header h2 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #C9A84C;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}
.admin-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.8rem;
    color: #aaa;
}
.admin-stats span {
    color: #C9A84C;
    font-weight: 600;
}
.admin-close {
    background: none;
    border: none;
    color: #C9A84C;
    font-size: 2.2rem;
    cursor: pointer;
    transition: 0.2s;
}
.admin-close:hover {
    transform: scale(1.1);
    color: #fff;
}
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}
.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
}
.admin-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #C9A84C;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-card .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.admin-card .field-row.full {
    grid-template-columns: 1fr;
}
.admin-card input,
.admin-card textarea,
.admin-card select {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    color: #E0E0E0;
    font-size: 0.8rem;
    width: 100%;
    transition: 0.2s;
}
.admin-card input:focus,
.admin-card textarea:focus,
.admin-card select:focus {
    outline: none;
    border-color: #C9A84C;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15);
}
.admin-card textarea {
    resize: vertical;
    min-height: 50px;
}
.admin-card label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #bbb;
}
.admin-card label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #C9A84C;
}
.btn-gold {
    background: #C9A84C;
    color: #0A0A0A;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-gold:hover {
    background: #FFFFFF;
    transform: scale(1.02);
}
.btn-gold-outline {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #C9A84C;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-gold-outline:hover {
    background: rgba(201, 168, 76, 0.15);
}
.btn-danger {
    background: #9D2628;
    color: #fff;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-danger:hover {
    background: #cc3333;
}
.section-admin-block {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
}
.section-admin-block .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #C9A84C;
    font-size: 0.9rem;
}
.section-admin-block .artwork-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}
.section-admin-block .artwork-row:last-child {
    border-bottom: none;
}
.artwork-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.artwork-actions button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    padding: 0 4px;
}
.artwork-actions button:hover {
    color: #C9A84C;
}
.artwork-actions .edit-btn:hover {
    color: #4fc3f7;
}
.artwork-actions .del-btn:hover {
    color: #e57373;
}
.artwork-actions .move-btn:hover {
    color: #C9A84C;
}
.artwork-status {
    display: inline-block;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
}
.status-available {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
}
.status-sold {
    background: rgba(157, 38, 40, 0.25);
    color: #ef9a9a;
}
/* Edit modal inside admin */
.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.edit-modal.show {
    display: flex;
}
.edit-modal-content {
    background: #141414;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 1.5rem;
    max-width: 700px;
    width: 100%;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}
.edit-modal-content h3 {
    color: #C9A84C;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
}
.edit-modal-content .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}
.edit-modal-content .field-row.full {
    grid-template-columns: 1fr;
}
.edit-modal-content input,
.edit-modal-content textarea,
.edit-modal-content select {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    color: #E0E0E0;
    font-size: 0.8rem;
    width: 100%;
}
.edit-modal-content input:focus,
.edit-modal-content textarea:focus,
.edit-modal-content select:focus {
    outline: none;
    border-color: #C9A84C;
}
.edit-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    float: left;
    transition: 0.2s;
}
.edit-modal-close:hover {
    color: #fff;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .admin-panel {
        padding: 1rem;
        width: 98%;
        height: 98vh;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-card .field-row {
        grid-template-columns: 1fr;
    }
    .edit-modal-content .field-row {
        grid-template-columns: 1fr;
    }
    .admin-stats {
        gap: 0.8rem;
        font-size: 0.7rem;
        flex-wrap: wrap;
    }
    .admin-header h2 {
        font-size: 1.2rem;
    }
}

/* تصغير كلي وتحديد العرض الأقصى لحاوية الصورة وعدسة التكبير التفاعلية على واجهة الهواتف المحمولة يدوياً */
@media (max-width: 767px) {
    /* تصغير وتأطير حاوية الصورة الكبرى لتناسب طول الشاشة */
    .zoom-container {
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* تصغير قطر عدسة التكبير التفاعلية المستديرة على الجوال لراحة اليد والأناقة البصرية */
    .zoom-lens {
        width: 100px !important; /* تقليص الحجم لقطر 100 بكسل ليكون في غاية الأناقة ويمنع حجب اللوحة أثناء السحب باللمس */
        height: 100px !important;
    }
}

/* حركة ارتدادية أفقية ناعمة جداً ومستمرة لشارة إرشاد السحب في الجوال جهة اليمين للتوجيه البصري المتناسق */
@keyframes arrowBounceRight {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(6px); } /* ارتداد أفقي يميني ناعم ومتناسق */
}
.mobile-swipe-arrow {
    position: absolute;
    top: 50%;
    left: 10px; /* التموضع موسطاً تماماً في منتصف الجانب الأيسر للشبكة للجوال */
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: #C9A84C;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    pointer-events: auto; /* تفعيل استجابة النقر لمنع نقرات اليد من تفعيل روابط الكروت الفنية الخلفية */
    transition: opacity 0.4s ease, visibility 0.4s ease;
    animation: arrowBounceRight 1.6s ease-in-out infinite; /* تفعيل الارتداد لليمين */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    cursor: pointer;
}