/* ============================================================================
   Hero Section الاحترافي - Professional Hero Section Styles
   تصميم حديث مع خلفية منتجات وتأثيرات احترافية
============================================================================ */

/* الحاوية الرئيسية - Main Container */
.hero-section-modern {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #180e00;
    margin: -85px 0 0 0;
    /* هامش سالب لجعل Hero يتداخل مع الهيدر في الصفحة الرئيسية فقط */
    padding: 85px 0 5px 0;
    /* padding علوي لتعويض الهامش السالب */
}

/* المحتوى - محسّن */
.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transform-origin: center center;
}

.hero-content .col-lg-10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 850px;
    padding: 10px;
}

/* ============================================
   وضع الصورة المرئي - Visual Mode
============================================ */
.hero-visual-mode {
    background: linear-gradient(135deg, #f5e8d5 0%, #faebd7 50%, #f5e0ca 100%);
}

.hero-visual-mode .hero-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(245, 232, 213, 0.3) 0%,
            rgba(250, 235, 215, 0.5) 50%,
            rgba(245, 224, 202, 0.3) 100%);
    z-index: 1;
}

/* الصورة الرئيسية */
.hero-main-image {
    margin: 20px 0 5px 0;
    animation: fadeInDown 0.6s ease;
}

.hero-main-image img {
    max-width: 990px;
    max-height: 400px;
    margin-top: 50px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 12px 10px rgba(241, 157, 89, 0.4));
    transition: transform 0.3s ease;
}

.hero-main-image img:hover {
    transform: scale(1.03);
}

/* تعديل المحتوى للوضع المرئي */
.hero-visual-mode .hero-content {
    z-index: 3;
    padding: 80px 0 60px;
}

/* تعديل ألوان الأزرار للخلفية الفاتحة */
.hero-visual-mode .hero-btn-secondary {
    background: transparent;
    color: #051922;
    border: 2px solid #051922;
}

.hero-visual-mode .hero-btn-secondary:hover {
    background: #051922;
    color: #fff;
}

/* تعديل ألوان الميزات للخلفية الفاتحة */
.hero-visual-mode .feature-item {
    color: #051922;
}

.hero-visual-mode .feature-item span {
    color: #333;
}

/* تعديل سهم التمرير للخلفية الفاتحة */
.hero-visual-mode .scroll-down a {
    color: #051922;
}

.hero-visual-mode .scroll-down a:hover {
    color: #F28123;
}

/* ============================================
   نهاية وضع الصورة المرئي
============================================ */

/* الخلفية - Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay داكن - Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(67, 48, 21, 0.2) 0%, rgba(67, 48, 21, 0.4) 100%);
    z-index: 2;
}



/* الشعار/اللوجو - Logo */
.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    width: 150px;
    height: auto;
    /* إزالة الشكل الدائري - No Circle Shape */
    /* إزالة الحدود - No Border */
    /* إزالة الخلفية - Transparent Background */
    /* ظل خفيف فقط - Light Shadow Only */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

/* اسم الموقع - Brand Name */
.hero-title {
    margin: 0 0 30px 0;
    /* زيادة المسافة العلوية بعد حذف اللوجو */
    padding-top: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.brand-name {
    /* حجم أكبر بعد حذف اللوجو */
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    display: inline-block;
    position: relative;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F28123, #ff9d50);
    animation: expandLine 1s ease 0.8s forwards;
}

@keyframes expandLine {
    to {
        width: 100%;
    }
}

/* الخط الفاصل - Divider */
.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F28123, #ff9d50);
    margin: 30px auto;
    border-radius: 2px;
    animation: fadeIn 1s ease 0.4s both;
}

/* الوصف - Description */
.hero-description {
    margin: 40px 0;
    animation: fadeInUp 1s ease 0.6s both;
}

.desc-main {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.desc-sub {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.8;
}

.desc-features {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
}

/* الأزرار */
.hero-buttons {
    margin: 10px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* زر تسوق الآن - Primary Button */
.hero-btn-primary {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(242, 129, 35, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(242, 129, 35, 0.6);
    color: #fff;
}

.hero-btn-primary:hover i {
    transform: scale(1.2);
}

/* زر تعرف علينا - Secondary Button */
.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #051922;
    transform: translateY(-3px);
}

.hero-btn-secondary:hover i {
    transform: rotate(360deg);
}

/* الميزات */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(242, 129, 35, 0.1);
}

.feature-item i {
    font-size: 24px;
    color: #F28123;
}

.feature-item span {
    font-size: 12px;
    font-weight: 600;
}

/* سهم التمرير - Scroll Down - داخل تدفق المحتوى */
.scroll-down {
    position: relative;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(242, 129, 35, 0.15);
    border: 2px solid rgba(242, 129, 35, 0.4);
    color: #F28123;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounceDown 1.5s ease infinite, pulseGlow 2s infinite;
    box-shadow: 0 0 15px rgba(242, 129, 35, 0.2);
}

.scroll-down a:hover {
    background: #F28123;
    border-color: #F28123;
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 25px rgba(242, 129, 35, 0.6);
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(242, 129, 35, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(242, 129, 35, 0.5);
    }
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   استجابة للموبايل - Mobile Responsive
============================================ */

@media (max-width: 991px) {
    .hero-section-modern {
        min-height: auto;
        display: flex;
        align-items: stretch;
    }

    .hero-content {
        padding: 0;
        width: 100%;
    }

    .hero-content .container {
        height: 100%;
    }

    .hero-content .row {
        height: 100%;
    }

    .hero-content .col-lg-10 {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: auto;
        padding: 20px 10px 13px;
        gap: 20px;
    }

    .hero-main-image {
        margin: 0;
        flex-shrink: 0;
    }

    .hero-main-image img {
        max-width: 99%;
        width: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .hero-title {
        padding-top: 0;
    }

    .brand-name {
        font-size: 38px;
    }

    .desc-main {
        font-size: 18px;
    }

    .desc-sub {
        font-size: 15px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
        border-radius: 30px;
    }

    .hero-buttons {
        margin: 0;
        gap: 12px;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-features {
        gap: 30px;
        margin: 0;
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
    }

    .feature-item {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .feature-item i {
        font-size: 32px;
        color: #F28123;
    }

    .feature-item span {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
    }

    .scroll-down {
        position: relative;
        bottom: auto;
        margin-top: 5px;
        padding-bottom: 8px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .scroll-down a {
        font-size: 32px;
        color: #F28123;
        animation: bounceDown 1.5s infinite;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: 2px solid rgba(242, 129, 35, 0.5);
        border-radius: 50%;
        background: rgba(242, 129, 35, 0.1);
    }

    @keyframes bounceDown {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(8px);
        }
    }
}

@media (max-width: 767px) {
    .hero-section-modern {
        min-height: auto;
    }

    .hero-content .col-lg-10 {
        min-height: auto;
        padding: 10px 8px;
    }

    .hero-main-image img {
        max-width: 90%;
        max-height: 230px;
    }

    .hero-title {
        padding-top: 0;
    }

    .brand-name {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .desc-main {
        font-size: 15px;
    }

    .desc-sub {
        font-size: 13px;
    }

    .desc-features {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 260px;
    }

    .hero-btn i {
        font-size: 15px;
    }

    .hero-features {
        gap: 25px;
    }

    .feature-item {
        gap: 6px;
    }

    .feature-item i {
        font-size: 28px;
    }

    .feature-item span {
        font-size: 12px;
    }

    .scroll-down {
        padding-bottom: 5px;
    }

    .scroll-down a {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }
}

/* شاشات صغيرة جداً */
@media (max-width: 375px) {
    .hero-content .col-lg-10 {
        padding: 8px 5px;
    }

    .hero-main-image img {
        max-height: 150px;
    }

    .hero-btn {
        padding: 10px 24px;
        font-size: 14px;
        max-width: 240px;
    }

    .hero-features {
        gap: 12px;
    }

    .feature-item i {
        font-size: 18px;
    }

    .feature-item span {
        font-size: 9px;
    }

    .scroll-down a {
        font-size: 20px;
    }
}

/* ============================================
   قسم من نحن - About Us Section Styles
   تصميم بسيط بدون سلايدر
============================================ */

/* --- القسم الرئيسي --- */
.about-section {
    background: linear-gradient(135deg, #fefefe 0%, #f8f6f3 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    direction: rtl;
    text-align: right;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 129, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(242, 129, 35, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- المحتوى --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    direction: rtl;
}

/* العنوان الفرعي */
.about-subtitle {
    margin-bottom: 15px;
    text-align: center;
}

.about-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F28123;
    font-size: 16px;
    font-weight: 600;
    background: rgba(242, 129, 35, 0.1);
    padding: 8px 18px;
    border-radius: 30px;
    flex-direction: row-reverse;
}

.about-subtitle i {
    font-size: 14px;
}

/* العنوان الرئيسي */
.about-title {
    font-size: 42px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.about-title .orange-text {
    color: #F28123;
}

/* النص الوصفي */
.about-description {
    font-size: 16px;
    line-height: 1.9;
    color: #232323;
    margin-bottom: 40px;
    text-align: center;
    direction: rtl;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* اسم العلامة التجارية */
.about-brand-name {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #F28123;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* --- المميزات --- */
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid #F28123;
    flex-direction: row;
    text-align: right;
    max-width: 350px;
    overflow: hidden;
    word-wrap: break-word;
}

.about-feature-item h4 {
    text-align: right !important;
}

.about-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 129, 35, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #F28123 0%, #e06c0a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(242, 129, 35, 0.3);
    flex-shrink: 0;
}

.feature-text {
    text-align: right;
    flex: 1;
    overflow: hidden;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: #051922;
    margin: 0 0 5px 0;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-text p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   استجابة الموبايل - Mobile Responsive
============================================ */

/* تابلت */
@media (max-width: 991px) {
    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 34px;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .about-feature-item {
        max-width: 100%;
    }
}

/* موبايل */
@media (max-width: 767px) {
    .about-section {
        padding: 50px 0;
    }

    .about-title {
        font-size: 28px;
    }

    .about-subtitle span {
        font-size: 14px;
        padding: 6px 14px;
    }

    .about-description {
        font-size: 15px;
        line-height: 1.8;
    }

    /* العنوان البرتقالي - فصله عن النص */
    .about-brand-name {
        text-align: center;
        display: block;
        font-size: 20px;
        margin-bottom: 5px;
    }

    /* المميزات - الأيقونة بجانب النص */
    .about-features {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .about-feature-item {
        padding: 12px 15px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        max-width: 320px;
        width: 100%;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .feature-text h4 {
        font-size: 14px;
    }

    .feature-text p {
        font-size: 12px;
    }
}

/* موبايل صغير */
@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }

    .about-title {
        font-size: 24px;
    }

    .about-features {
        gap: 15px;
    }

    .about-feature-item {
        gap: 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
}

/* ============================================
   قسم آراء العملاء - Testimonials Section
   عرض مع أزرار تمرير
============================================ */

.testimonail-section {
    background: #f8f9fa;
    padding: 80px 0;
    direction: rtl;
}

/* Slider Wrapper */
.testimonials-slider-wrapper {
    position: relative;
    margin-top: 50px;
}

.testimonials-slider-container {
    overflow: hidden;
    padding: 0 60px;
}

/* أزرار التمرير */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #F28123;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 129, 35, 0.3);
}

.testimonial-nav:hover:not(:disabled) {
    background: #e06c0a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(242, 129, 35, 0.4);
}

.testimonial-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.testimonial-prev {
    right: 0;
}

.testimonial-next {
    left: 0;
}

/* النقاط */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: #F28123;
    transform: scale(1.2);
}

.testimonial-dot.active {
    background: #F28123;
    width: 30px;
    border-radius: 6px;
}

/* زر إضافة رأي */
.add-review-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #F28123 0%, #e06c0a 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
}

.add-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 129, 35, 0.4);
    color: #fff;
    text-decoration: none;
}

.add-review-btn i {
    margin-left: 8px;
}

/* البطاقات */
.single-testimonial-card {
    background: #fff;
    border-radius: 20px;
    /* زيادة الانحناء للجمالية */
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    margin: 10px;
    /* مسافة بسيطة للظل */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.testimonial-item {
    padding: 15px 5px;
    /* مساحة للتنفس */
}

.single-testimonial-card .client-avater {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #F28123;
    box-shadow: 0 5px 15px rgba(242, 129, 35, 0.3);
    flex-shrink: 0;
}

.single-testimonial-card .client-avater img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* تنسيق الحرف الأول في حال عدم وجود صورة */
.single-testimonial-card .avatar-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.single-testimonial-card .client-meta {
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.single-testimonial-card .client-meta h4 {
    font-size: 18px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.single-testimonial-card .review-subject {
    display: block;
    font-size: 13px;
    color: #F28123;
    margin-bottom: 15px;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.single-testimonial-card .testimonial-body {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
    text-align: right;
    direction: rtl;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    flex: 1;
    padding: 0;
}

.single-testimonial-card .quote-icon {
    color: #F28123;
    font-size: 24px;
    opacity: 0.3;
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .testimonail-section {
        padding: 50px 0;
    }

    .testimonials-slider-container {
        padding: 0 50px;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .single-testimonial-card {
        padding: 25px 20px;
        margin-bottom: 20px;
        min-height: 280px;
    }

    .single-testimonial-card .client-avater {
        width: 70px;
        height: 70px;
    }

    .single-testimonial-card .client-meta h4 {
        font-size: 16px;
    }

    .single-testimonial-card .testimonial-body {
        font-size: 13px;
        line-height: 1.6;
    }

    .single-testimonial-card .review-subject {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-container {
        padding: 0 40px;
    }

    .testimonial-nav {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .single-testimonial-card {
        padding: 20px 15px;
        min-height: 260px;
    }

    .single-testimonial-card .testimonial-body {
        font-size: 12px;
    }
}

/* ============================================
   تنسيقات سلايدر الآراء - Testimonial Slider Styles
   تصميم احترافي ومرن للآراء
============================================ */

/* قسم الآراء */
.testimonail-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* السلايدر */
.testimonial-sliders {
    min-height: 300px;
}

/* بطاقة الرأي */
.single-testimonial-slider {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.single-testimonial-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* صورة العميل */
.client-avater {
    margin-bottom: 25px;
}

.client-avater img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #F28123;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
    object-fit: cover;
}

/* معلومات العميل */
.client-meta h3 {
    font-size: 22px;
    color: #051922;
    margin-bottom: 10px;
}

.client-meta h3 span {
    display: block;
    font-size: 14px;
    color: #F28123;
    font-weight: 500;
    margin-top: 5px;
}

/* نص الرأي */
.testimonial-body {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin: 20px 0;
    font-style: italic;
}

/* أيقونة الاقتباس */
.last-icon {
    margin-top: 20px;
}

.last-icon i {
    font-size: 30px;
    color: #F28123;
    opacity: 0.5;
}

/* تحسين Owl Carousel */
.testimonial-sliders .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial-sliders .owl-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-sliders .owl-dot.active {
    background: #F28123;
    transform: scale(1.2);
}

/* ============================================================================
   تصميم بطاقات المنتجات المحسّن - Enhanced Product Cards Design
   ============================================================================ */

/* بطاقة المنتج - تصميم احترافي مع ظلال وتأثيرات */
.single-product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* ظل أكثر نعومة وعمقاً */
    margin-bottom: 30px;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* تنسيق خاص للموبايل لبطاقة المنتج */
@media (max-width: 767px) {
    .single-product-item {
        margin-top: 10px !important;
        margin-bottom: 25px !important;
        /* مسافة بين المنتجات */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }

    .single-product-item:active {
        transform: scale(0.98);
        /* تأثير ضغطة المنتج */
        box-shadow: 0 8px 25px rgba(242, 129, 35, 0.2) !important;
    }
}

/* تأثير عند تمرير الماوس - رفع البطاقة */
.single-product-item:hover {
    transform: translateY(-8px);
    /* رفع البطاقة 8 بكسل */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    /* ظل أقوى */
}

/* صورة المنتج - تحسينات */
.single-product-item .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #f5f5f5;
    /* ارتفاع ثابت للصورة في الكمبيوتر */
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تأثير تكبير الصورة عند التمرير */
.single-product-item:hover .product-image img {
    transform: scale(1.05);
    /* تكبير 5% */
}

.single-product-item .product-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
    object-fit: contain;
    /* عرض الصورة كاملة بدون قص */
    padding: 15px;
    /* مسافة حول الصورة */
}

/* شارة "جديد" على المنتج */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    /* في اليمين للعربية */
    background: #F28123;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(242, 129, 35, 0.4);
    z-index: 10;
}

/* شارة الفئة على المنتج - Category Badge */
.product-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(242, 129, 35, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.product-category-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(242, 129, 35, 0.4);
}


/* عنوان المنتج */
.single-product-item .product-title,
.single-product-item h3 {
    font-size: 24px;
    font-weight: 600;
    color: #051922;
    margin: 20px 15px 5px;
    min-height: 50px;
    /* ارتفاع ثابت للعناوين */
    line-height: 1.3;
    text-align: center;
    /* محاذاة للوسط */
}

.product-category-badge {
    display: inline-block;
    background-color: rgba(242, 129, 35, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
}


/* وصف المنتج */
.single-product-item .product-description {
    font-size: 16px;
    color: #000000;
    margin: 3px 5px 5px;
    text-align: center;
    line-height: 1.6;
    min-height: 45px;
    /* ارتفاع ثابت */
}

/* حاوية السعر - تصميم مميز وأكثر رشاقة */
.product-price-wrapper,
.single-product-item .product-price {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    padding: 8px 18px;
    /* تقليل الحشو ليكون أصغر */
    margin: 12px auto;
    border-radius: 20px;
    /* تقليل نصف القطر قليلاً للتناسق */
    text-align: center;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(242, 129, 35, 0.25);
    display: inline-flex;
    /* لجعله يأخذ عرض المحتوى فقط */
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 100px;
    transition: all 0.3s ease;
}

/* قيمة السعر */
.product-price-wrapper .price-value,
.single-product-item .product-price .price-value {
    color: #fff;
    font-size: 18px;
    /* تقليل حجم الخط من 20px إلى 18px */
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    letter-spacing: 0.5px;
}

/* رمز العملة "ريال يمني" */
.product-price-wrapper .currency-symbol,
.single-product-item .product-price .currency-symbol {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.95;
    white-space: nowrap;
    /* منع التفاف النص */
}

/* زر إضافة للسلة - تحسينات */
.single-product-item .cart-btn {
    background: #100b06;
    color: #fff;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid #F28123;
}

.single-product-item .cart-btn:hover {
    background: #2d231a;
    border-color: #2d231a;
    color: #fff;
    transform: scale(1.05);
    /* تكبير خفيف */
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.4);
}

.single-product-item .cart-btn i {
    margin-left: 8px;
    /* مسافة بين الأيقونة والنص */
}

/* أزرار الإدارة (للأدمن) */
.single-product-item .admin-actions {
    padding: 10px 15px 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    /* دفع للأسفل */
}

.single-product-item .admin-actions .btn {
    margin: 0 5px;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 5px;
}

/* تحسين عنوان قسم المنتجات */
.section-title {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 50px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
}

.section-title h2,
.section-title h3 {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
}

.section-title .section-subtitle {
    text-align: center;
    font-size: 19px;
    color: #000000;
    margin: 15px auto 0;
    line-height: 1.7;
    font-weight: 500;
    width: 100%;
    max-width: 800px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {

    .single-product-item .product-image {
        height: 220px;
        /* ارتفاع أقل للموبايل */
    }

    .single-product-item .product-image img {
        padding: 10px;
    }

    .single-product-item .product-title,
    .single-product-item h3 {
        font-size: 18px;
        min-height: auto;
    }

    .product-price-wrapper .price-value,
    .single-product-item .product-price .price-value {
        font-size: 20px;
        /* تقليل من 24px إلى 20px للموبايل */
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2,
    .section-title h3 {
        font-size: 28px;
    }

    .section-title .section-subtitle {
        text-align: center;
        font-size: 14px;
        padding: 0 15px;
    }
}

/* ============================================================================
   قواعد عامة للتوسيط في بيئة RTL - RTL Centering Rules
   ============================================================================ */

/* التوسيط الشامل لحاويات النماذج - Form Wrapper Centering */
.add-product-form-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* ضمان عمل mx-auto بشكل صحيح في RTL - Ensure mx-auto works in RTL */
[dir="rtl"] .mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ضمان عمل justify-content-center في RTL - Ensure justify-content-center works */
[dir="rtl"] .justify-content-center {
    justify-content: center !important;
}

/* إزالة أي float قد يؤثر على التوسيط - Remove floats that affect centering */
[dir="rtl"] .col-lg-8.mx-auto,
[dir="rtl"] .section-title {
    float: none !important;
}

/* ============================================================================
   تنسيقات الترقيم (Pagination) - تصميم منظم ومحترف
   ============================================================================ */
.pagination-wrap,
.pagination-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

/* إخفاء معلومات النتائج الزائدة في Laravel (Showing 1 to 9...) */
.pagination-enhanced nav div:first-child,
.pagination-enhanced nav p {
    display: none !important;
}

.pagination-enhanced nav,
.pagination-wrap ul {
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
    background: transparent !important;
    border: none !important;
}

/* تنسيق الأزرار (أرقام وأسهم) */
.pagination-enhanced nav a,
.pagination-enhanced nav span,
.pagination-wrap ul li a,
.pagination-wrap ul li span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #444 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: 1px solid #eee !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 2px !important;
}

/* تصغير أسهم Laravel الضخمة */
.pagination-enhanced nav svg {
    width: 18px !important;
    height: 18px !important;
}

/* الصفحة النشطة */
.pagination-enhanced nav span[aria-current="page"] span,
.pagination-wrap ul li a.active,
.pagination-wrap .current-list-item {
    background: #F28123 !important;
    color: #fff !important;
    border-color: #F28123 !important;
    box-shadow: 0 4px 10px rgba(242, 129, 35, 0.3) !important;
}

/* تأثير التمرير */
.pagination-enhanced nav a:hover,
.pagination-wrap ul li a:hover {
    background: #F28123 !important;
    color: #fff !important;
    border-color: #F28123 !important;
    transform: translateY(-2px);
}

/* ============================================================================
   تنسيقات التقييمات - Testimonials Styles
   ============================================================================ */

/* توسيط قسم التقييمات */
.testimonail-section {
    text-align: center;
}

.testimonial-sliders {
    max-width: 900px;
    margin: 0 auto !important;
    padding: 20px;
}

.single-testimonial-slider {
    text-align: center !important;
    margin: 0 auto;
    padding: 30px 20px;
}

.client-avater {
    margin: 0 auto 20px !important;
    text-align: center;
}

.client-avater img {
    margin: 0 auto !important;
    display: block;
}

.client-meta {
    text-align: center !important;
    margin: 0 auto;
}

.client-meta h3 {
    text-align: center !important;
    margin: 0 auto;
}

p.testimonial-body {
    text-align: center !important;
    margin: 20px auto !important;
    max-width: 700px !important;
}

.last-icon {
    text-align: center !important;
    margin: 20px auto 0 !important;
}

/* تنسيقات Owl Carousel للتقييمات في RTL */
[dir="rtl"] .testimonial-sliders .owl-stage-outer,
[dir="rtl"] .testimonial-sliders .owl-stage,
[dir="rtl"] .testimonial-sliders .owl-item {
    text-align: center !important;
}

/* توسيط أزرار التنقل في Owl Carousel */
.testimonial-sliders .owl-nav {
    text-align: center;
    margin-top: 20px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .testimonial-sliders {
        max-width: 100%;
        padding: 10px;
    }

    p.testimonial-body {
        max-width: 100% !important;
        font-size: 15px !important;
        padding: 0 15px;
    }
}

/* ============================================================================
   تصميم صفحة العربة المحسّنة - Enhanced Cart Page Styles
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عنوان الصفحة - Page Title
============================================ */
.cart-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.cart-page-title i {
    color: #F28123;
    margin-left: 10px;
}

.cart-page-subtitle {
    text-align: center !important;
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

/* ============================================
   جدول العربة - Cart Table (Desktop)
============================================ */
.cart-table-wrap {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table-head {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
}

.cart-table-head th {
    padding: 15px 10px;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: none;
}

.cart-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.cart-table tbody tr:hover {
    background: #f9f9f9;
}

.cart-table tbody td {
    padding: 20px 10px;
    text-align: center;
    vertical-align: middle;
}

/* صورة المنتج */
.product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* اسم المنتج */
.product-name a {
    color: #051922;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #F28123;
}

/* السعر */
.product-price,
.product-total {
    font-weight: 600;
    color: #051922;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #666;
}

.currency {
    font-size: 13px;
    color: #666;
    margin-right: 5px;
}

/* زر الحذف */
.remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 8px;
    color: #dc3545;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.remove-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

/* التحكم بالكمية */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: #F28123;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ff9d50;
    transform: scale(1.1);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: 2px solid #F28123;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #051922;
}

/* ============================================
   بطاقات الموبايل - Mobile Cards
============================================ */
.cart-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-mobile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cart-mobile-card .card-header {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-mobile-card .card-header img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.cart-mobile-card .card-info {
    flex: 1;
}

.cart-mobile-card .card-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #051922;
    margin: 0 0 8px 0;
}

.cart-mobile-card .card-price {
    margin: 0;
}

.remove-btn-mobile {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #dc3545;
    border-radius: 8px;
    color: #dc3545;
    text-decoration: none;
    flex-shrink: 0;
}

.cart-mobile-card .card-footer {
    padding: 15px;
    background: #f9f9f9;
}

.quantity-control-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.quantity-control-mobile span {
    font-weight: 600;
    color: #051922;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.card-total span:first-child {
    font-weight: 600;
    color: #051922;
}

/* ============================================
   ملخص الطلب - Order Summary
============================================ */
.total-section {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: sticky;
    top: 80px;
}

.total-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F28123;
}

.total-title i {
    color: #F28123;
    margin-left: 10px;
}

.total-details {
    margin-bottom: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
}

.total-row span:first-child {
    color: #666;
}

.total-row span:last-child {
    font-weight: 600;
    color: #051922;
}

.total-row.subtotal {
    font-size: 16px;
}

.total-row.shipping .shipping-cost {
    color: #28a745;
    font-weight: 700;
}

.total-row.grand-total {
    font-size: 20px;
    font-weight: 700;
    color: #F28123;
    padding-top: 15px;
}

.total-details hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

/* الأزرار */
.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-btn,
.orders-btn,
.continue-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.checkout-btn {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.4);
    color: #fff;
}

.orders-btn {
    background: #051922;
    color: #fff;
}

.orders-btn:hover {
    background: #0a2a3a;
    color: #fff;
}

.continue-btn {
    background: #fff;
    color: #F28123;
    border: 2px solid #F28123;
}

.continue-btn:hover {
    background: #F28123;
    color: #fff;
}

/* ضمان عمل الأزرار على الموبايل - Ensure Buttons Work on Mobile */
.cart-buttons {
    position: relative;
    z-index: 100;
}

.cart-buttons a {
    position: relative;
    z-index: 101;
    pointer-events: auto !important;
    display: flex !important;
    cursor: pointer !important;
}

/* إصلاح للموبايل */
@media (max-width: 767px) {
    .cart-buttons {
        z-index: 1000;
    }

    .cart-buttons a {
        z-index: 1001;
        -webkit-tap-highlight-color: rgba(242, 129, 35, 0.3);
        touch-action: manipulation;
    }

    .total-section {
        position: relative;
        z-index: 100;
    }
}

/* ============================================
   عربة فارغة - Empty Cart
============================================ */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.empty-cart i {
    font-size: 80px;
    color: #F28123;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-cart h3 {
    font-size: 28px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.empty-cart p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.4);
    color: #fff;
}

/* ============================================
   رسالة النجاح - Success Message
============================================ */
.cart-success-message {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    font-weight: 600;
    font-size: 15px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cart-success-message.show {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 767px) {
    .cart-page-title {
        font-size: 24px;
    }

    .cart-page-subtitle {
        font-size: 14px;
    }

    .total-section {
        position: static;
        margin-top: 20px;
    }

    .total-title {
        font-size: 20px;
    }

    .empty-cart {
        padding: 60px 20px;
    }

    .empty-cart i {
        font-size: 60px;
    }

    .empty-cart h3 {
        font-size: 22px;
    }

    .cart-success-message {
        top: 70px;
        right: 10px;
        left: 10px;
        text-align: center;
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 375px) {
    .cart-mobile-card .card-header img {
        width: 60px;
        height: 60px;
    }

    .cart-mobile-card .card-info h4 {
        font-size: 14px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
    }

    .quantity-input {
        width: 45px;
        height: 32px;
    }
}

/* ============================================
   ����� ������� ������� - Custom Confirm Dialogs
============================================ */
.custom-confirm-overlay,
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.custom-confirm-box,
.custom-alert-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    text-align: center;
}

.confirm-icon,
.alert-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.confirm-title,
.alert-title {
    font-size: 22px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 15px;
}

.confirm-details {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.confirm-details p {
    margin: 8px 0;
    color: #666;
    font-size: 15px;
}

.confirm-details strong {
    color: #F28123;
    font-size: 18px;
}

.confirm-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-yes {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
}

.confirm-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.4);
}

.confirm-no {
    background: #e0e0e0;
    color: #666;
}

.confirm-no:hover {
    background: #d0d0d0;
}

.alert-message {
    color: #666;
    font-size: 16px;
    margin: 15px 0;
}

.alert-btn {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.4);
}

/* ����� ������ ������� */
.success-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    font-weight: 600;
    font-size: 15px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.success-toast.show {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .success-toast {
        top: 70px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* ============================================================================
   صفحة إتمام الطلب المحسّنة - Enhanced Checkout Page Styles
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عنوان الصفحة - Page Title
============================================ */
.checkout-page-title {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-page-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.checkout-page-title h2 i {
    color: #F28123;
    margin-left: 10px;
}

.checkout-page-title p {
    font-size: 16px;
    color: #666;
}

/* ============================================
   تخطيط صفحة إتمام الطلب - Checkout Layout
   ملخص الطلب على اليمين في الأعلى، بيانات التوصيل على اليسار
============================================ */
.checkout-section .checkout-row {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    /* يمنع النزول لسطر جديد في الشاشات الكبيرة */
    align-items: flex-start;
}

/* إضافة مسافة بين الأعمدة دون كسر العرض */
.checkout-section .checkout-row .col-lg-5 {
    padding-left: 15px;
}

.checkout-section .checkout-row .col-lg-7 {
    padding-right: 15px;
}

/* Mobile: vertical layout */
@media (max-width: 991px) {
    .checkout-section .checkout-row {
        flex-direction: column;
        flex-wrap: wrap;
    }

    /* Order for mobile */
    .checkout-section .checkout-row .col-lg-5 {
        order: 1;
        width: 100%;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .checkout-section .checkout-row .col-lg-7 {
        order: 2;
        width: 100%;
        padding-right: 0;
    }
}

/* للموبايل: ترتيب عمودي */
@media (max-width: 991px) {
    .checkout-section .row {
        flex-direction: column;
        /* عمودي */
        gap: 20px;
    }

    /* ملخص الطلب أولاً في الموبايل */
    .checkout-section .row .col-lg-5 {
        order: 1;
        margin-bottom: 0;
    }

    /* بيانات التوصيل ثانياً */
    .checkout-section .row .col-lg-7 {
        order: 2;
    }
}

/* ============================================
   البطاقات الرئيسية - Main Cards
============================================ */
.checkout-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ملخص الطلب ثابت في الكمبيوتر */
@media (min-width: 992px) {
    .checkout-section .col-lg-5 .checkout-card {
        position: sticky;
        top: 100px;
        /* المسافة من الأعلى */
        align-self: flex-start;
    }
}

.checkout-card-header {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    padding: 20px 25px;
    color: #fff;
}

.checkout-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card-header h3 i {
    font-size: 22px;
}

.checkout-card-body {
    padding: 25px;
}

/* ============================================
   نموذج بيانات التوصيل - Delivery Form
============================================ */
.checkout-form-group {
    margin-bottom: 20px;
}

.checkout-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 8px;
    text-align: right;
}

.checkout-form-group label i {
    color: #F28123;
    margin-left: 8px;
}

.checkout-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
}

.checkout-input:focus {
    outline: none;
    border-color: #F28123;
    box-shadow: 0 0 0 4px rgba(242, 129, 35, 0.1);
}

.checkout-input::placeholder {
    color: #999;
}

.checkout-textarea {
    min-height: 100px;
    resize: vertical;
}

/* ============================================
   ملخص الطلب - Order Summary
============================================ */
.order-summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 12px;
}

.summary-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.summary-item-info {
    flex: 1;
    text-align: right;
}

.summary-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 5px;
}

.summary-item-qty {
    font-size: 13px;
    color: #666;
}

.summary-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #F28123;
    white-space: nowrap;
}

/* تفاصيل الأسعار */
.order-totals {
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
}

.total-row span:first-child {
    color: #666;
}

.total-row span:last-child {
    font-weight: 600;
    color: #051922;
}

.total-row.shipping span:last-child {
    color: #28a745;
}

.total-row.grand-total {
    font-size: 20px;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px dashed #eee;
}

.total-row.grand-total span:last-child {
    color: #F28123;
    font-weight: 700;
}

/* ============================================
   قسم طرق الدفع - Payment Methods Section
============================================ */
.payment-method-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #eee;
}

.payment-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #F28123;
    margin-bottom: 15px;
}

.payment-section-title i {
    color: #F28123;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input:checked+.payment-option-label {
    background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
    border-color: #F28123;
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.payment-icon.cod {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #fff;
}

.payment-icon.transfer {
    background: linear-gradient(135deg, #007bff 0%, #339af0 100%);
    color: #fff;
}

.payment-info {
    flex: 1;
    text-align: right;
}

.payment-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 4px;
}

.payment-desc {
    display: block;
    font-size: 13px;
    color: #666;
}

.payment-check {
    font-size: 24px;
    color: #ddd;
    transition: all 0.3s ease;
}

.payment-option input:checked+.payment-option-label .payment-check {
    color: #F28123;
}

/* تفاصيل الحسابات البنكية - تصميم مميز */
.bank-accounts-info {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-radius: 15px;
    border: 2px solid #F28123;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.15);
    text-align: right;
}

.bank-accounts-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #F28123;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #ffe4c4;
}

.bank-account {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #ffe4c4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bank-account::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
}

.bank-account:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 129, 35, 0.2);
}

.bank-account:last-of-type {
    margin-bottom: 20px;
}

.bank-name {
    font-size: 16px;
    font-weight: 700;
    color: #F28123;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ffe4c4;
}

.bank-name i {
    color: #ff9d50;
}

.account-number {
    font-size: 15px;
    color: #051922;
    margin-bottom: 8px;
    text-align: right;
}

.account-number strong {
    color: #F28123;
    font-size: 18px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffe4c4 100%);
    padding: 4px 12px;
    border-radius: 8px;
    margin-right: 5px;
}

.account-name {
    font-size: 14px;
    color: #666;
    text-align: right;
}

.transfer-note {
    background: #fff3e0;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #e65100;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.transfer-note i {
    font-size: 18px;
}


/* ============================================
   زر تأكيد الطلب - Confirm Button (في أسفل الصفحة)
============================================ */
.checkout-submit-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.checkout-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
    text-decoration: none;
}

.checkout-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 129, 35, 0.4);
    color: #fff;
}

.checkout-submit-btn i {
    font-size: 20px;
}

/* رابط العودة */
.back-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F28123;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.back-to-cart:hover {
    color: #e06c0a;
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 991px) {
    .checkout-page-title h2 {
        font-size: 26px;
    }

    .checkout-card-header {
        padding: 15px 20px;
    }

    .checkout-card-header h3 {
        font-size: 18px;
    }

    .checkout-card-body {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .checkout-page-title {
        margin-bottom: 25px;
    }

    .checkout-page-title h2 {
        font-size: 22px;
    }

    .checkout-page-title p {
        font-size: 14px;
    }

    .checkout-input {
        padding: 12px 15px;
        font-size: 16px;
        /* منع التكبير على iOS */
    }

    .summary-item {
        padding: 12px;
        gap: 12px;
    }

    .summary-item-image {
        width: 50px;
        height: 50px;
    }

    .summary-item-name {
        font-size: 14px;
    }

    .checkout-submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .total-row.grand-total {
        font-size: 18px;
    }
}

/* ============================================
   ضمان عمل الأزرار - Ensure Buttons Work
============================================ */
/* ============================================
   نافذة النجاح الاحترافية - Professional Success Overlay
============================================ */
.order-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.order-success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-success-overlay.active .success-content {
    transform: translateY(0);
}

/* حركة علامة الصح - Checkmark Animation */
.checkmark-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: block;
}

.checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    top: 5px;
    right: 5px;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 60px #4bb71b;
    }
}

.success-title {
    font-size: 32px;
    font-weight: 800;
    color: #4bb71b;
    margin-bottom: 15px;
}

.success-message {
    font-size: 18px;
    color: #051922;
    margin-bottom: 30px;
    line-height: 1.6;
}

.go-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
    transition: all 0.3s ease;
}

.go-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 129, 35, 0.4);
    color: #fff;
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================================
   صفحة الطلبات السابقة المحسّنة - Enhanced Previous Orders Page Styles
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عنوان الصفحة - Page Title
============================================ */
.orders-page-title {
    text-align: center;
    margin-bottom: 40px;
}

.orders-page-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.orders-page-title h2 i {
    color: #F28123;
    margin-left: 10px;
}

.orders-page-title p {
    font-size: 16px;
    color: #666;
}

/* ============================================
   حالة عدم وجود طلبات - Empty State
============================================ */
.empty-orders {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.empty-orders-icon {
    font-size: 80px;
    color: #F28123;
    opacity: 0.5;
    margin-bottom: 25px;
}

.empty-orders h3 {
    font-size: 26px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 15px;
}

.empty-orders p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.shop-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
}

.shop-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 129, 35, 0.4);
    color: #fff;
}

/* ============================================
   بطاقة الطلب - Order Card
============================================ */
.order-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

/* هيدر الطلب */
.order-card-header {
    background: linear-gradient(135deg, #051922 0%, #0a2a3a 100%);
    padding: 20px 25px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.order-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.order-number i {
    color: #F28123;
    font-size: 20px;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.order-date i {
    color: #F28123;
}

/* معلومات العميل */
.order-customer-info {
    padding: 20px 25px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.customer-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customer-info-item i {
    color: #F28123;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.customer-info-item span {
    color: #051922;
    font-size: 14px;
}

/* منتجات الطلب */
.order-products {
    padding: 20px 25px;
}

.order-products-title {
    font-size: 16px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-products-title i {
    color: #F28123;
}

.order-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 10px;
}

.order-product-item:last-child {
    margin-bottom: 0;
}

.order-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.order-product-info {
    flex: 1;
    text-align: right;
}

.order-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 5px;
}

.order-product-name a {
    color: #051922;
    text-decoration: none;
    transition: color 0.3s ease;
}

.order-product-name a:hover {
    color: #F28123;
}

.order-product-qty {
    font-size: 13px;
    color: #666;
}

.order-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #F28123;
    white-space: nowrap;
}

/* إجمالي الطلب */
.order-total {
    padding: 20px 25px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.order-total-label {
    font-size: 18px;
    font-weight: 600;
}

.order-total-value {
    font-size: 24px;
    font-weight: 700;
}

/* ملاحظات الطلب */
.order-note {
    padding: 15px 25px;
    background: #fff8f0;
    border-top: 1px solid #ffecd9;
}

.order-note-title {
    font-size: 14px;
    font-weight: 600;
    color: #F28123;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-note-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 767px) {
    .orders-page-title h2 {
        font-size: 24px;
    }

    .orders-page-title p {
        font-size: 14px;
    }

    .empty-orders {
        padding: 50px 20px;
    }

    .empty-orders-icon {
        font-size: 60px;
    }

    .empty-orders h3 {
        font-size: 22px;
    }

    .order-card-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .order-number {
        font-size: 16px;
    }

    .order-customer-info {
        padding: 15px 20px;
    }

    .customer-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-products {
        padding: 15px 20px;
    }

    .order-product-item {
        padding: 10px;
        gap: 12px;
    }

    .order-product-image {
        width: 50px;
        height: 50px;
    }

    .order-product-name {
        font-size: 14px;
    }

    .order-total {
        padding: 15px 20px;
    }

    .order-total-label {
        font-size: 16px;
    }

    .order-total-value {
        font-size: 20px;
    }
}

/* ============================================
   أزرار إضافية - Extra Buttons
============================================ */
.orders-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.back-to-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #fff;
    color: #F28123;
    border: 2px solid #F28123;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-shop-btn:hover {
    background: #F28123;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 129, 35, 0.2);
}

.back-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.3);
}

.back-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff9d50 0%, #F28123 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.4);
}

/* ============================================================================
   صفحة إضافة/تعديل المنتج المحسّنة - Enhanced Product Form Styles
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عنوان الصفحة - Page Title
============================================ */
.product-form-title {
    text-align: center;
    margin-bottom: 40px;
}

.product-form-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.product-form-title h2 i {
    color: #F28123;
    margin-left: 10px;
}

.product-form-title p {
    font-size: 16px;
    color: #666;
}

/* ============================================
   البطاقة الرئيسية - Main Card
============================================ */
.product-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ============================================
   قسم الصورة - Image Section
============================================ */
.product-image-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.current-image-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-image-label i {
    color: #F28123;
}

.current-product-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    border: 4px solid #fff;
}

.image-upload-wrapper {
    width: 100%;
}

.image-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.image-upload-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
}

.image-upload-input {
    display: none;
}

.image-hint {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* ============================================
   قسم النموذج - Form Section
============================================ */
.product-form-section {
    padding: 40px;
}

.form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F28123;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #F28123;
}

/* مجموعة الحقول */
.product-form-group {
    margin-bottom: 25px;
}

.product-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 10px;
    text-align: right;
}

.product-form-group label i {
    color: #F28123;
    margin-left: 8px;
}

.product-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    direction: rtl;
    text-align: right;
    background: #fafafa;
}

.product-input:focus {
    outline: none;
    border-color: #F28123;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 129, 35, 0.1);
}

.product-input::placeholder {
    color: #999;
}

.product-textarea {
    min-height: 120px;
    resize: vertical;
}

.product-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F28123' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 40px;
}

/* رسائل الخطأ */
.form-error {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
}

.form-error i {
    font-size: 12px;
}

/* ============================================
   أزرار الإجراءات - Action Buttons
============================================ */
.product-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.product-submit-btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(242, 129, 35, 0.3);
}

.product-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242, 129, 35, 0.4);
}

.product-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: #fff;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-cancel-btn:hover {
    border-color: #F28123;
    color: #F28123;
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 991px) {
    .product-form-title h2 {
        font-size: 26px;
    }

    .product-image-section {
        padding: 25px;
    }

    .product-form-section {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .product-form-title {
        margin-bottom: 25px;
    }

    .product-form-title h2 {
        font-size: 22px;
    }

    .product-image-section {
        padding: 20px;
        border-bottom: 1px solid #eee;
    }

    .current-product-image {
        width: 150px;
        height: 150px;
    }

    .product-form-section {
        padding: 20px;
    }

    .form-section-title {
        font-size: 18px;
    }

    .product-input {
        padding: 12px 15px;
        font-size: 16px;
    }

    .product-form-actions {
        flex-direction: column;
    }

    .product-submit-btn,
    .product-cancel-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ============================================================================
   تصميم نموذج إضافة المنتج - Add Product Form Design
   ============================================================================ */

/* حاوية النموذج الرئيسية */
.add-product-form-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
}

/* النموذج */
.add-product-form {
    max-width: 100%;
}

/* مجموعة حقل الإدخال */
.add-product-form .form-group {
    margin-bottom: 25px;
}

/* تسميات الحقول */
.add-product-form .form-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #051922;
    margin-bottom: 10px;
    text-align: right;
}

.add-product-form .form-label i {
    color: #F28123;
    margin-left: 8px;
    font-size: 16px;
}

/* حقول الإدخال */
.add-product-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    text-align: right;
    direction: rtl;
}

.add-product-form .form-control:focus {
    outline: none;
    border-color: #F28123;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(242, 129, 35, 0.1);
}

/* حقل النص الطويل */
.add-product-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* القائمة المنسدلة */
.add-product-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F28123' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    padding-left: 40px;
}

/* رفع الملف المخصص */
.custom-file-upload {
    position: relative;
    margin-top: 10px;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed #F28123;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #fff3e9 0%, #ffffff 100%);
    border-color: #ff9d50;
    transform: translateY(-2px);
}

.file-upload-label i {
    font-size: 48px;
    color: #F28123;
    margin-bottom: 15px;
}

.file-upload-label .upload-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 8px;
}

.file-upload-label .file-name {
    display: block;
    font-size: 13px;
    color: #999;
}

/* عند اختيار ملف */
.custom-file-upload input[type="file"]:valid~.file-upload-label {
    border-color: #4caf50;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.custom-file-upload input[type="file"]:valid~.file-upload-label i {
    color: #4caf50;
}

/* رسائل الخطأ */
.add-product-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    text-align: right;
}

.add-product-form .is-invalid {
    border-color: #dc3545;
}

.add-product-form .is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* زر الحفظ */
.add-product-form .btn-submit {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border: none;
    padding: 14px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.3);
    margin-top: 20px;
}

.add-product-form .btn-submit:hover {
    background: linear-gradient(135deg, #ff9d50 0%, #F28123 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.4);
}

.add-product-form .btn-submit:active {
    transform: translateY(0);
}

.add-product-form .btn-submit i {
    margin-left: 8px;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .add-product-form-wrapper {
        padding: 25px 20px;
    }

    .add-product-form .form-label {
        font-size: 14px;
    }

    .file-upload-label {
        padding: 30px 15px;
    }

    .file-upload-label i {
        font-size: 36px;
    }

    .add-product-form .btn-submit {
        width: 100%;
        padding: 12px 30px;
    }
}

/* ============================================================================
   جداول الإدارة المحسّنة - Enhanced Admin Tables Styles
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عنوان الصفحة - Page Title
============================================ */
.admin-page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #051922 0%, #0a2a3a 100%);
    border-radius: 20px;
    color: #fff;
}

.admin-page-header h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.admin-page-header h2 i {
    color: #F28123;
    margin-left: 10px;
}

.admin-page-header p {
    color: #fff;
    font-size: 15px;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   شريط الإجراءات - Actions Bar
============================================ */
.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.admin-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.3);
}

.admin-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.4);
    color: #fff;
}

.admin-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.stat-item i {
    color: #F28123;
    font-size: 18px;
}

.stat-item span {
    font-size: 14px;
    color: #666;
}

.stat-item strong {
    color: #051922;
    font-size: 16px;
}

/* ============================================
   الجدول للكمبيوتر - Desktop Table
============================================ */
.admin-table-wrap {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: linear-gradient(135deg, #051922 0%, #0a2a3a 100%);
}

.admin-table thead th {
    padding: 18px 15px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.admin-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background: #fef7f0;
}

.admin-table tbody td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    color: #051922;
}

.admin-table .product-id {
    font-weight: 700;
    color: #F28123;
}

.admin-table .product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #f9f9f9;
    padding: 5px;
}

.admin-table .product-name {
    font-weight: 600;
    color: #051922;
    max-width: 200px;
}

.admin-table .product-price {
    font-weight: 700;
    color: #28a745;
}

.admin-table .product-qty {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* أزرار الإجراءات */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.action-btn i {
    font-size: 12px;
}

.action-btn.edit {
    background: #e8f5e9;
    color: #28a745;
    border: 1px solid #28a745;
}

.action-btn.edit:hover {
    background: #28a745;
    color: #fff;
}

.action-btn.delete {
    background: #ffebee;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.action-btn.delete:hover {
    background: #dc3545;
    color: #fff;
}

.action-btn.images {
    background: #e3f2fd;
    color: #2196f3;
    border: 1px solid #2196f3;
}

.action-btn.images:hover {
    background: #2196f3;
    color: #fff;
}

/* ============================================
   بطاقات الموبايل - Mobile Cards
============================================ */
.admin-mobile-cards {
    display: none;
}

.admin-mobile-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-card-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.mobile-card-info {
    flex: 1;
}

.mobile-card-name {
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 8px;
}

.mobile-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    text-align: right;
}

.mobile-card-details span {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #666;
    word-break: break-word;
}

.mobile-card-details i {
    color: #F28123;
}

.mobile-card-id {
    background: #F28123;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

.mobile-card-actions {
    display: flex;
    padding: 15px;
    gap: 10px;
    background: #f9f9f9;
}

.mobile-card-actions .action-btn {
    flex: 1;
    justify-content: center;
    padding: 10px;
}

/* ============================================
   تنسيق DataTables
============================================ */
.dataTables_wrapper {
    padding: 20px;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #F28123;
    outline: none;
}

.dataTables_wrapper .dataTables_length select {
    padding: 8px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 8px;
    border: none !important;
    background: #f5f5f5 !important;
    color: #051922 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #F28123 !important;
    color: #fff !important;
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 991px) {
    .admin-page-header h2 {
        color: #fff;
        font-size: 24px;
    }

    .admin-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-add-btn {
        justify-content: center;
    }

    .admin-stats {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .admin-page-header {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .admin-page-header h2 {
        font-size: 20px;
        color: #fff;
    }

    /* إخفاء الجدول وإظهار البطاقات */
    .admin-table-wrap {
        display: none;
    }

    .admin-mobile-cards {
        display: block;
    }

    .admin-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        justify-content: center;
    }
}

/* ============================================
   صفحات تسجيل الدخول والتسجيل - Auth Pages Styles
   تصميم احترافي مع دعم كامل للموبايل
============================================ */

/* ============================================
   الهيدر البسيط - Simple Header
============================================ */
.auth-simple-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-header-logo img {
    width: 80px;
    height: auto;
}

.auth-header-nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.auth-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.auth-nav-link:hover {
    background: #F28123;
    color: #fff;
    text-decoration: none;
}

.auth-nav-link i {
    font-size: 14px;
}

@media (max-width: 576px) {
    .auth-header-logo img {
        width: 60px;
    }

    .auth-header-nav {
        gap: 10px;
    }

    .auth-nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .auth-nav-link span {
        display: none;
    }

    .auth-nav-link i {
        font-size: 16px;
    }
}

/* الحاوية الرئيسية */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5e8d5 0%, #faebd7 50%, #f5e0ca 100%);
    padding: 100px 20px 40px;
    direction: rtl;
}

/* البطاقة الرئيسية */
.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

/* الهيدر */
.auth-header {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    padding: 40px 30px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 15px;
}

.auth-logo img {
    width: 100px;
    height: auto;
    filter: brightness(1.1);
}

.auth-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 10px 0 0;
}

/* المحتوى */
.auth-body {
    padding: 40px 30px;
}

/* مجموعة الحقول */
.auth-form-group {
    margin-bottom: 25px;
    position: relative;
}

.auth-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: right;
}

/* الحقول */
.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #F28123;
    font-size: 16px;
    z-index: 1;
}

.auth-form-group input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
    direction: ltr;
    text-align: right;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #F28123;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 129, 35, 0.1);
}

.auth-form-group input::placeholder {
    color: #999;
    text-align: right;
}

/* رسائل الخطأ */
.auth-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-error i {
    font-size: 12px;
}

/* تذكرني */
.auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.auth-remember .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #F28123;
    cursor: pointer;
}

.auth-remember label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 0;
}

.auth-forgot {
    color: #F28123;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.auth-forgot:hover {
    text-decoration: underline;
    color: #e06c0a;
}

/* زر الإرسال */
.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(242, 129, 35, 0.4);
}

.auth-submit-btn i {
    font-size: 18px;
}

/* الفوتر */
.auth-footer {
    text-align: center;
    padding: 20px 30px 30px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.auth-footer a {
    color: #F28123;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* العودة للرئيسية */
.auth-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.auth-back-home:hover {
    color: #F28123;
}

/* ============================================
   استجابة الموبايل - Mobile Responsive
============================================ */

@media (max-width: 576px) {
    .auth-container {
        padding: 20px 15px;
    }

    .auth-card {
        border-radius: 15px;
    }

    .auth-header {
        padding: 30px 20px;
    }

    .auth-header h2 {
        font-size: 20px;
    }

    .auth-body {
        padding: 30px 20px;
    }

    .auth-form-group input {
        padding: 14px 40px 14px 14px;
        font-size: 16px;
        /* منع التكبير التلقائي على iOS */
    }

    .auth-submit-btn {
        padding: 14px;
        font-size: 15px;
    }

    .auth-remember {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .auth-footer {
        padding: 15px 20px 25px;
    }
}

/* ============================================
   رسالة النجاح - Success Message
============================================ */

.auth-success-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 350px;
    max-width: 500px;
    position: relative;
    direction: rtl;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon i {
    font-size: 24px;
    animation: scaleIn 0.5s ease 0.3s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-text {
    flex: 1;
    text-align: right;
}

.success-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
}

.success-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

.success-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.success-close i {
    font-size: 14px;
}

/* استجابة الموبايل للرسالة */
@media (max-width: 576px) {
    .auth-success-message {
        top: 80px;
        left: 10px;
        right: 10px;
        transform: none;
    }

    .success-content {
        min-width: auto;
        padding: 15px 20px;
    }

    .success-icon {
        width: 40px;
        height: 40px;
    }

    .success-icon i {
        font-size: 20px;
    }

    .success-text h4 {
        font-size: 16px;
    }

    .success-text p {
        font-size: 13px;
    }
}

/* ============================================
   أيقونة إظهار/إخفاء كلمة المرور - Toggle Password
============================================ */

.toggle-password {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #F28123;
}

/* تعديل padding الحقل لإفساح مجال للأيقونتين */
.auth-input-wrapper input {
    padding: 15px 45px 15px 45px !important;
}

/* استجابة الموبايل لأيقونة العين */
@media (max-width: 576px) {
    .toggle-password {
        left: 10px;
        font-size: 22px;
    }

    .auth-input-wrapper input {
        padding: 14px 40px 14px 40px !important;
    }
}


/* ============================================================================
   نظام تقييم المنتجات بالنجوم - Product Star Rating System
   تصميم احترافي responsive للموبايل والكمبيوتر
============================================================================ */

/* ============================================
   عرض النجوم - Stars Display
============================================ */
.star-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
}

.star-rating-display .stars {
    display: inline-flex;
    gap: 2px;
}

.star-rating-display .star {
    color: #ddd;
    font-size: 18px;
    transition: color 0.2s ease;
}

.star-rating-display .star.filled {
    color: #FFD700;
}

.star-rating-display .star.half {
    position: relative;
}

.star-rating-display .star.half::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

.star-rating-display .rating-info {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.star-rating-display .rating-value {
    font-weight: 700;
    color: #F28123;
}

.star-rating-display .rating-count {
    color: #999;
    font-size: 13px;
}

/* نجوم صغيرة للبطاقات */
.star-rating-small {
    gap: 3px;
}

.star-rating-small .star {
    font-size: 14px;
}

.star-rating-small .rating-info {
    font-size: 12px;
}

/* ============================================
   نجوم بطاقات المنتجات - Product Card Stars
============================================ */
.product-rating-stars {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.product-rating-stars .stars-container {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ffe4c4;
}

.product-rating-stars .star-filled {
    color: #FFD700;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}

.product-rating-stars .star-empty {
    color: #ddd;
    font-size: 14px;
}

.product-rating-stars .rating-text {
    font-size: 12px;
    font-weight: 600;
    color: #F28123;
    margin-right: 5px;
}

.product-rating-stars .rating-text.no-rating {
    color: #999;
    font-weight: 400;
    font-size: 11px;
}

/* تأثير عند المرور */
.single-product-item:hover .product-rating-stars .stars-container {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4c4 100%);
    transform: scale(1.02);
    transition: all 0.3s ease;
}


/* ============================================
   قسم التقييم في صفحة المنتج - Rating Section
============================================ */
.product-rating-section {
    margin-block-end: 50px;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    text-align: right;
    direction: rtl;
}

.rating-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #051922;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.rating-section-title i {
    color: #FFD700;
}

/* ملخص التقييم */
.rating-summary {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    margin-bottom: 25px;
}

.rating-big-number {
    text-align: center;
}

.rating-big-number .number {
    font-size: 48px;
    font-weight: 800;
    color: #F28123;
    line-height: 1;
}

.rating-big-number .out-of {
    font-size: 14px;
    color: #999;
}

.rating-stars-summary {
    text-align: right;
}

.rating-stars-summary .stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 3px;
    margin-bottom: 8px;
}

.rating-stars-summary .star {
    color: #FFD700;
    font-size: 24px;
}

.rating-stars-summary .star.empty {
    color: #ddd;
}

.rating-stars-summary .total-reviews {
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* ============================================
   نموذج التقييم - Rating Form
============================================ */
.rating-form-container {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: right;
}

.rating-form-title {
    font-size: 16px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 15px;
    text-align: right;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 15px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 32px;
    color: #ddd;
    transition: all 0.2s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input:checked~label {
    color: #FFD700;
    transform: scale(1.1);
}

.rating-comment-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.rating-comment-input:focus {
    outline: none;
    border-color: #F28123;
}

.rating-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 129, 35, 0.3);
}

.rating-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-to-rate {
    text-align: center;
    padding: 20px;
    background: #fff3e0;
    border-radius: 10px;
}

.login-to-rate a {
    color: #F28123;
    font-weight: 600;
}

/* ============================================
   قائمة التقييمات - Reviews List
============================================ */
.ratings-list {
    margin-top: 20px;
    text-align: right;
}

.ratings-list-title {
    font-size: 16px;
    font-weight: 600;
    color: #051922;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    text-align: right;
}

.rating-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;

}

.rating-item:last-child {
    border-bottom: none;
}

.rating-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.rating-content {
    flex: 0 1 auto;
    text-align: right;
}

.rating-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.rating-user-name {
    font-weight: 600;
    color: #051922;
    text-align: right;
}

.rating-date {
    font-size: 12px;
    color: #999;
}

.rating-stars-small {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
    margin-bottom: 8px;
}

.rating-stars-small .star {
    font-size: 14px;
    color: #FFD700;
}

.rating-stars-small .star.empty {
    color: #ddd;
}

/* تنسيقات كرت التقييم الأساسية - لجميع الأجهزة */
.rating-item-slide {
    padding: 15px 5px;
}

.rating-item-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
    position: relative;
    border-right: 4px solid #F28123;
    transition: all 0.3s ease;
}

.rating-item-card .rating-avatar {
    width: 45px;
    height: 45px;
    background: #fdf2e9;
    color: #F28123;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid #F28123;
}

.rating-item-card .rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.rating-item-card .rating-user-name {
    font-weight: 700;
    color: #051922;
    font-size: 16px;
}

.rating-item-card .rating-date {
    font-size: 13px;
    color: #888;
}

.rating-item-card .rating-comment {
    font-style: italic;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 5px;
    position: relative;
}

.no-ratings {
    text-align: center;
    padding: 40px;
    color: #999;
    background: #f9f9f9;
    border-radius: 15px;
    border: 1px dashed #ddd;
}

.no-ratings i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
    display: block;
}

/* تحسين السلايدر على الموبايل - التوسيط والجماليات */
@media (max-width: 767px) {
    .rating-item-card {
        text-align: center;
        border-right: none;
        border-bottom: 4px solid #F28123;
        /* حافة من الأسفل للموبايل */
        margin: 10px auto;
        max-width: 95%;
        padding: 25px 20px;
        align-items: center;
        /* توسيط محتويات الكرت */
    }

    .rating-item-card .rating-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .rating-item-card .rating-header {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-bottom: 10px;
        width: 100%;
    }

    .rating-item-card .rating-avatar {
        margin: 0 auto 10px;
        box-shadow: 0 4px 10px rgba(242, 129, 35, 0.2);
    }

    .rating-item-card .rating-stars-small {
        justify-content: center;
        display: flex;
        margin-bottom: 10px;
    }

    .rating-item-card .rating-comment {
        max-width: 90%;
        margin: 10px auto 0;
    }
}

/* تنسيق أزرار التنقل لسلايدر تقييمات المنتج */
#ratings-list-container.owl-carousel .owl-nav {
    display: block !important;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

#ratings-list-container.owl-carousel .owl-nav button {
    position: absolute;
    width: 36px;
    height: 36px;
    background: #fff !important;
    color: #F28123 !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 129, 35, 0.1) !important;
}

#ratings-list-container.owl-carousel .owl-nav button:hover {
    background: #F28123 !important;
    color: #fff !important;
    transform: scale(1.1);
}

#ratings-list-container.owl-carousel .owl-nav .owl-prev {
    right: -15px;
}

#ratings-list-container.owl-carousel .owl-nav .owl-next {
    left: -15px;
}

/* تعديل موقع الأزرار في الجوال لتكون داخل الحاوية قليلاً منعاً للاختفاء */
@media (max-width: 767px) {
    #ratings-list-container.owl-carousel .owl-nav .owl-prev {
        right: -5px;
    }

    #ratings-list-container.owl-carousel .owl-nav .owl-next {
        left: -5px;
    }

    #ratings-list-container.owl-carousel .owl-dots {
        margin-top: 15px;
    }
}

/* ============================================
   رسائل النجاح والخطأ
============================================ */
.rating-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
    text-align: center;
    animation: fadeInDown 0.4s ease;
}

.rating-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.rating-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ============================================
   Responsive - Mobile
============================================ */
@media (max-width: 767px) {
    .product-rating-section {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .rating-summary {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .rating-big-number .number {
        font-size: 36px;
    }

    .star-rating-input label {
        font-size: 28px;
    }

    .rating-item {
        flex-direction: column;
        gap: 10px;
    }

    .rating-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .rating-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ============================================================================
   تصميم أقسام الموقع الحديث - Modern Categories Section Design
   ============================================================================ */

/* حاوية البطاقة */
.category-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 380px;
    /* Reduced from 400px */
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(242, 129, 35, 0.2);
}

/* غلاف الصورة */
.category-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card-modern:hover .category-img-wrap img {
    transform: scale(1.08);
    /* Softened from 1.15 */
}

/* كلاس الصور في الأقسام - Glassmorphism Overlay */
.category-overlay-glass {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 12px 15px;
    /* شفافية منخفضة جداً لإظهار صورة القسم */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transform: scale(1);
}

/* تأثير التحويم - Hover Effect */
.category-card-modern:hover .category-overlay-glass {
    /* شفافية أقل عند التحويم لإظهار صورة القسم بوضوح */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-color: #F28123;
    border-width: 2px;
    /* تصغير المربع عند التفاعل */
    transform: scale(0.95);
    box-shadow: 0 0 20px rgba(242, 129, 35, 0.4);
}

/* تأثير النقر - Active/Click Effect */
.category-overlay-glass:active,
.category-card-modern:active .category-overlay-glass {
    /* تصغير أكثر عند النقر مع شفافية عالية */
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 0 25px rgba(242, 129, 35, 0.6);
}

/* تأثير النبض عند النقر - Pulse Animation */
@keyframes categoryPulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(242, 129, 35, 0.7),
            0 15px 45px rgba(242, 129, 35, 0.25);
    }

    50% {
        box-shadow:
            0 0 0 15px rgba(242, 129, 35, 0),
            0 15px 45px rgba(242, 129, 35, 0.25);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(242, 129, 35, 0),
            0 15px 45px rgba(242, 129, 35, 0.25);
    }
}

.category-overlay-glass:active {
    animation: categoryPulse 0.6s ease-out;
}

/* النصوص */
.category-overlay-glass h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    /* لون برتقالي صلب */
    background: #F28123;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(242, 129, 35, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-overlay-glass p {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.category-card-modern:hover h3 {
    /* يبقى برتقالي مع توهج أقوى */
    background: #F28123;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(242, 129, 35, 0.7);
}

.category-card-modern:hover .category-overlay-glass p {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* زر الاستكشاف */
.category-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #051922 0%, #0a2d3d 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(15px);
    box-shadow:
        0 4px 15px rgba(5, 25, 34, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* تأثير التوهج الداخلي */
.category-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.category-card-modern:hover .category-btn-modern {
    opacity: 1;
    transform: translateY(0);
}

.category-btn-modern:hover {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    padding: 12px 32px;
    box-shadow:
        0 8px 25px rgba(242, 129, 35, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.05);
}

.category-btn-modern:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 4px 15px rgba(242, 129, 35, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-btn-modern i {
    font-size: 13px;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-btn-modern:hover i {
    transform: translateX(-8px);
}

/* ============================================
   تنسيقات المتجاوب - Responsive
   ============================================ */

/* تابلت */
@media (max-width: 991px) {
    .category-card-modern {
        height: 350px;
    }

    .category-overlay-glass h3 {
        font-size: 20px;
    }
}

/* موبايل */
@media (max-width: 767px) {
    .category-card-modern {
        height: 300px;
    }

    .category-overlay-glass {
        padding: 10px 12px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        /* شفافية منخفضة لإظهار صورة القسم */
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .category-overlay-glass h3 {
        font-size: 18px;
        padding: 7px 18px;
    }

    .category-overlay-glass p {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .category-btn-modern {
        opacity: 1;
        transform: scale(1);
        padding: 8px 20px;
        font-size: 13px;
        box-shadow: 0 3px 10px rgba(5, 25, 34, 0.3);
    }

    .category-btn-modern:active {
        transform: scale(0.95);
    }

    /* عند اللمس على الموبايل */
    .category-card-modern:active .category-overlay-glass {
        transform: scale(0.92);
        background: rgba(255, 255, 255, 0.02);
    }
}

/* ============================================================================
   صفحة تفاصيل المنتج - Product Details Page
   التنسيقات الأساسية للوضع الفاتح
============================================================================ */

.single-product-section {
    background-color: #fff;
}

/* معرض الصور */
.product-gallery-container {
    padding: 10px;
}

.main-product-image-wrap {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.main-product-image-wrap img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover {
    border-color: #F28123;
    transform: scale(1.05);
}

.thumb-item.active {
    border-color: #F28123;
}

/* تفاصيل المنتج */
.single-product-content-inner {
    padding: 20px;
    background: #fff;
}

.product-details-title {
    font-size: 32px;
    font-weight: 800;
    color: #051922;
    margin-bottom: 20px;
}

.product-details-price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-label {
    font-size: 18px;
    color: #555;
    font-weight: 600;
}

.price-value {
    font-size: 25px;
    font-weight: 800;
    color: #F28123;
}

.product-details-description {
    text-align: right;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-details-description h5 {
    font-weight: 700;
    color: #051922;
    margin-bottom: 10px;
}

.product-details-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.main-action-btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(242, 129, 35, 0.3);
}

.product-meta-extra p {
    text-align: right;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

/* تنسيق المنتجات ذات الصلة */
.product-price-related {
    background: linear-gradient(135deg, #F28123 0%, #ff9d50 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    margin: 15px auto;
    display: inline-block;
    box-shadow: 0 3px 12px rgba(242, 129, 35, 0.3);
}

/* التجاوب مع الموبايل */
@media (max-width: 991px) {
    .single-product-section {
        margin-top: 100px;
    }

    .main-product-image-wrap {
        min-height: 350px;
    }

    .product-details-title {
        font-size: 26px;
    }

    .price-value {
        font-size: 28px;
    }

    .sticky-cart-bar {
        display: block;
    }

    .related-products-wrapper {
        margin-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .single-product-content-inner {
        text-align: center;
        padding: 30px 10px;
    }

    .product-details-price {
        justify-content: center;
    }

    .product-thumbnails {
        margin-bottom: 30px;
    }
}