﻿/*html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
    position: relative;
    min-height: 100%;
}

body {*/
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;*/
    /* Set the fixed height of the footer here */
    /*height: 60px;
    line-height: 60px;*/ /* Vertically center the text there */
/*}

h3 {
    margin: 5px 0 15px 0;
}

[data-click] {
    color: #007bff;
    cursor: pointer;
}

    [data-click]:hover {
        text-decoration: underline;
    }

.validation-summary-errors, .error {
    color: #cc0000;
}

    .validation-summary-errors > ul {
        list-style: none;
        padding: 5px 0 0 10px;
    }

        .validation-summary-errors > ul > li {
            white-space: pre;
        }

.btn-social .fab {
    font-size: 1.4em;
}

.quicklist span {
    display: block;
    margin-left: 1em;
}

#session-info td span {
    width: 900px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: white;
    padding: 10px;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;*/ /* يخفي الزر في الشاشات الكبيرة */
/*}

.section-nav {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #444;
}*/

/* شاشة صغيرة */
/*@media (max-width: 768px) {
    .menu-toggle {
        display: block;*/ /* يظهر الزر */
    /*}

    .section-nav {
        display: none;
        flex-direction: column;
    }

    .nav-visible .section-nav {
        display: flex;
    }
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
}

    .bottom-nav .nav-item {
        text-decoration: none;
        color: #555;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

        .bottom-nav .nav-item i {
            font-size: 22px;
        }

.add-btn {
    background: #000;
    color: #fff !important;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -28px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.footer-desktop {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
}

    .footer-desktop a {
        color: #6c757d;
        margin-left: 15px;
        text-decoration: none;
    }

        .footer-desktop a:hover {
            text-decoration: underline;
        }

.footer-seller {
    background: #0f172a;
    color: #cbd5e1;
}

    .footer-seller h6 {
        color: #fff;
        margin-bottom: 15px;
    }

    .footer-seller a {
        display: block;
        color: #94a3b8;
        margin-bottom: 8px;
        text-decoration: none;
    }

        .footer-seller a:hover {
            color: #38bdf8;
        }

.mobile-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 999;
}

    .mobile-footer a {
        text-align: center;
        color: #555;
        font-size: 12px;
        text-decoration: none;
    }

    .mobile-footer i {
        font-size: 18px;
        display: block;
    }

    .mobile-footer .cta i {
        background: #0d6efd;
        color: #fff;
        padding: 14px;
        border-radius: 50%;
        margin-top: -18px;
    }*/

/** {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif
}
*/

/*.container {
    margin: 40px auto
}

#header {
    width: 100%;
    height: 60px;
    box-shadow: 5px 5px 15px #e8e8e8
}

.card-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.heart-icon-container {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.heart-icon {
    font-size: 20px;
    color: #ff4d4d;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

    .heart-icon:hover {
        transform: scale(1.2);
        color: #ff0000;
    }


.col-lg-4, .col-md-6 {
    padding-right: 0
}

button.btn.btn-hide {
    height: inherit;
    background-color: #ff935d;
    color: #fff;
    font-size: 0.82rem;
    padding-left: 40px;
    padding-right: 40px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px
}

hr.divider {
    border: none;
    border-top: 2px solid #ccc;
    margin: 20px 0;
}

.btn:focus {
    box-shadow: none
}

.box-label .btn {
    background-color: #fff;
    padding: 0;
    font-size: 0.8rem
}

.btn-red {
    background-color: #e00000ce
}

.btn-orange {
    background-color: #ffa500
}

.btn-pink {
    background-color: #e0009dce
}

.btn-green {
    background-color: #00811c
}

.btn-blue {
    background-color: #026bc2
}

.btn-brown {
    background-color: #994a00
}

.navbar {
    display: inline-flex
}

.pagination .page-item .page-link {
    color: #333;
    border: none;
    width: 40px;
    text-align: center
}

.pagination .page-item.active .page-link {
    background-color: #fff;
    border: 1px solid #333
}

select {
    outline: none;
    padding: 6px 12px;
    margin: 0px 4px;
    color: #999;
    font-size: 0.85rem;
    width: 140px
}

#select2 {
    border: 1px solid #777;
    color: #999
}

#pro {
    border: none;
    color: #333;
    font-weight: 700;
    padding-left: 0px;
    width: initial
}

#filterbar {
    width: 30%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    float: left
}

    #filterbar input[type="radio"] {
        visibility: hidden
    }

        #filterbar input[type='radio']:checked {
            background-color: #16c79a;
            border: none
        }

    #filterbar .btn.btn-success {
        background-color: #ddd;
        color: #333;
        border: none;
        width: 115px
    }

        #filterbar .btn.btn-success:hover {
            background-color: #aff1e1;
            color: #444
        }

    #filterbar .btn-success:not(:disabled):not(.disabled).active, #filterbar .btn-success:not(:disabled):not(.disabled):active {
        background-color: #16c79a;
        color: #fff
    }

label {
    cursor: pointer
}

.tick {
    display: block;
    position: relative;
    padding-left: 23px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0
}

    .tick input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0
    }

.check {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px
}

.tick:hover input ~ .check {
    background-color: #f3f3f3
}

.tick input:checked ~ .check {
    background-color: #ffffff
}

.check:after {
    content: "";
    position: absolute;
    display: flex
}

.tick input:checked ~ .check:after {
    display: block;
    transform: rotate(45deg) scale(1)
}

.tick .check:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid rgb(0, 0, 0);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(2)
}

.box {
    padding: 10px
}

.box-label {
    color: #11698e;
    font-size: 0.9rem;
    font-weight: 800
}

#inner-box, #inner-box2 {
    height: 150px;
    overflow-y: scroll
}

#inner-box2 {
    height: 132px
}

    #inner-box::-webkit-scrollbar, #inner-box2::-webkit-scrollbar {
        width: 6px
    }

    #inner-box::-webkit-scrollbar-track, #inner-box2::-webkit-scrollbar-track {
        background-color: #ddd;
        border-radius: 2px
    }

    #inner-box::-webkit-scrollbar-thumb, #inner-box2::-webkit-scrollbar-thumb {
        background-color: #333;
        border-radius: 2px
    }

#price {
    height: 45px
}

#size input[type="checkbox"] {
    visibility: hidden
}

    #size input[type='checkbox']:checked {
        background-color: #16c79a;
        border: none
    }

#size .btn.btn-success {
    background-color: #ddd;
    color: #333;
    border: none;
    width: 40px;
    font-size: 0.8rem;
    border-radius: 0
}

    #size .btn.btn-success:hover {
        background-color: #aff1e1;
        color: #444
    }

#size .btn-success:not(:disabled):not(.disabled).active, #size .btn-success:not(:disabled):not(.disabled):active {
    background-color: #16c79a;
    color: #fff
}

#size label {
    margin: 10px;
    margin-left: 0px
}

.card {
    padding: 10px;
    cursor: pointer;
    transition: .3s all ease-in-out;
    height: 350px
}

    .card:hover {
        box-shadow: 2px 2px 15px #fd9a6ce5;
        transform: scale(1.02)
    }

    .card .product-name {
        font-weight: 600
    }

.card-body {
    padding-bottom: 0
}

.card .text-muted {
    font-size: 0.82rem
}

.card-img img {
    padding-top: 10px;
    width: inherit;
    height: 180px;
    object-fit: contain;
    display: block
}

.card-body .btn-group .btn {
    padding: 0;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border-radius: 50%;
    position: relative
}

.card-body .btn-group > .btn-group:not(:last-child) > .btn, .card-body .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: 50%;
    transition: ease-in all .4s
}

.card-body input[type="radio"] {
    visibility: hidden
}

.card-body .btn:not(:disabled):not(.disabled).active::after, .card-body .btn:not(:disabled):not(.disabled):active::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 4px;
    left: 4.2px;
    background-color: #fff;
    position: absolute;
    transition: ease-in all .4s
}

.card-body .btn.btn-light:not(:disabled):not(.disabled).active::after, .card-body .btn.btn-light:not(:disabled):not(.disabled):active::after {
    background-color: #000
}

#avail-size input[type="checkbox"] {
    visibility: hidden
}

    #avail-size input[type='checkbox']:checked {
        background-color: #16c79a;
        border: none
    }

#avail-size .btn.btn-success {
    background-color: #ddd;
    color: #333;
    border: none;
    width: 20px;
    font-size: 0.7rem;
    border-radius: 0;
    padding: 0
}

    #avail-size .btn.btn-success:hover {
        background-color: #aff1e1;
        color: #444
    }

#avail-size .btn-success:not(:disabled):not(.disabled).active, #avail-size .btn-success:not(:disabled):not(.disabled):active {
    background-color: #16c79a;
    color: #fff
}

#avail-size label {
    margin: 10px;
    margin-left: 0px
}

#shirt {
    height: 170px
}

.middle {
    position: relative;
    width: 100%;
    margin-top: 25px
}*/

/*slider {
    position: relative;
    z-index: 1;
    height: 50px;*/ /* مؤقتًا */
/*margin: 0 15px;
}


    .slider > .track {
        position: absolute;
        z-index: 1;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 5px;
        background-color: #ddd
    }

    .slider > .range {
        position: absolute;
        z-index: 2;
        left: 25%;
        right: 25%;
        top: 0;
        bottom: 0;
        border-radius: 5px;
        background-color: #36a31b
    }

    .slider > .thumb {
        position: absolute;
        top: 2px;
        z-index: 3;
        width: 20px;
        height: 20px;
        background-color: #36a31b;
        border-radius: 50%;
        box-shadow: 0 0 0 0 rgba(63, 204, 75, 0.705);
        transition: box-shadow .3s ease-in-out
    }

        .slider > .thumb::after {
            position: absolute;
            width: 8px;
            height: 8px;
            left: 28%;
            top: 30%;
            border-radius: 50%;
            content: '';
            background-color: #fff
        }

        .slider > .thumb.left {
            left: 25%;
            transform: translate(-15px, -10px)
        }

        .slider > .thumb.right {
            right: 25%;
            transform: translate(15px, -10px)
        }

        .slider > .thumb.hover {
            box-shadow: 0 0 0 10px rgba(125, 230, 134, 0.507)
        }

        .slider > .thumb.active {
            box-shadow: 0 0 0 10px rgba(63, 204, 75, 0.623)
        }*/

/*input[type=range] {
    position: absolute;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
    height: 10px;
    width: 100%;
    opacity: 0
}

    input[type=range]::-webkit-slider-thumb {
        pointer-events: all;
        width: 30px;
        height: 30px;
        border-radius: 0;
        border: 0 none;
        background-color: red;
        -webkit-appearance: none
    }

.del {
    text-decoration: line-through;
    color: red
}

@media(min-width:1199.6px) {
    #filterbar {
        width: 25%
    }
}

@media(max-width:1199.5px) {
    #filterbar {
        width: 28%
    }

    .card {
        height: 350px
    }

    .price {
        font-size: 0.9rem
    }

    .product-name {
        font-size: 0.8rem
    }
}

@media(max-width: 991.5px) {
    .navbar-nav {
        min-width: 290px;
        position: absolute;
        left: -168px;
        bottom: -146px;
        padding: 20px 10px;
        display: block;
        background-image: none;
        z-index: 2;
        background-color: #1d1c1cb2
    }

    #filterbar {
        width: 36%
    }

    #sort {
        background-color: inherit;
        color: #fff;
        margin: 0;
        margin-bottom: 20px;
        width: 100%
    }

        #sort option, #pro option {
            color: #000
        }

    #pro, #select2, .result {
        background-color: inherit;
        color: #fff
    }

    .card {
        height: 345px
    }

    .price {
        font-size: 0.85rem
    }
}

@media(max-width: 767.5px) {
    #filterbar {
        width: 50%
    }
}

@media(max-width: 525.5px) {
    #filterbar {
        float: none;
        width: 100%;
        margin-bottom: 20px;
        border-radius: 5px
    }

    #content.my-5 {
        margin-top: 20px !important;
        margin-bottom: 20px !important
    }

    .col-lg-4, .col-md-6 {
        padding-left: 0
    }
}

@media(max-width: 500.5px) {
    .pagination {
        display: flex
    }
}

.body {
    margin: 0;
    height: auto;
    background-image: url(/uploads/mainpage2.webp);
    background-size: 100%,100%;
    background-position: center;
    background-repeat: no-repeat;
    direction: rtl;
    text-align: right;
    width: 100%;
    background-color: #f4f4f4
}

.container-Header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;
    margin: 5px auto;
    flex-wrap: wrap;
    padding: 3px;
    border-radius: 20px 20px 0px 0px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(223, 215, 201, 0.8);
    border: 1px solid black;
}


.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}

    .flex-container > div {
        margin: 0 5px;
        padding: 10px;
        flex: 1;
    }

.profile-pic1, .welcome-section, .search-section, .cart-section {
    flex-grow: 1;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.welcome-section {
    flex: 1 1 200px;
}

.search-section {
    flex: 1 1 200px;
    display: flex;
    gap: 5px;
}

.cart-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.type-items-container {
    display: flex;
    flex-wrap: wrap;
    margin: 1px;
    width: 100%;
    height: 5%;
    margin: 5px auto;
    flex-wrap: wrap;
    padding: 3px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(223, 215, 201,0.8);
    border: 1px solid black;
}

.navbar-custom {
    background-color: rgba(223, 215, 201, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
    margin: 5px auto;
    flex-wrap: wrap;
    padding: 3px;
    border-radius: 20px 20px 0px 0px;
    border: 1px solid black;
}

    .navbar-custom .navbar-nav .nav-link {
        color: #333;
    }

    .navbar-custom .navbar-brand {
        color: #333;
    }


.type-items-container {
    display: flex;
    flex-wrap: wrap;
    margin: 1px;
    width: 100%;
    height: 5%;
    margin: 5px auto;
    flex-wrap: wrap;
    padding: 3px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(223, 215, 201,0.8);
    border: 1px solid black;
}

.product-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 20px;
}

.event-details {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 55%;
}

    .event-details h1 {
        font-size: 24px;
        margin-bottom: 15px;
        color: #333;
    }

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 40%;
}

.main-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-image: url('uploads/main.png');
}

.main-image {
    width: 100%;
    height: 60%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-image: url('/uploads/main.png');
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

    .thumbnail-gallery img {
        width: 25%;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
        border: 2px solid transparent;
    }

        .thumbnail-gallery img:hover,
        .thumbnail-gallery img.active {
            border-color: #007bff;
        }

.new-products, .high-rated-products, .all-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.new-products {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 5px;
    width: 100%;
    height: 20%;
    margin: 5px auto;
    background-color: #F3E5AB;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(223, 215, 201,0.8);
    object-fit: cover;
    border: 1px solid black;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    margin: 10px 0;
    font-size: 1.1em;
    padding: 0 10px;
    color: #4A90E2;
}

.product-card {
    background-color: rgb(255, 255, 255);
    height: 80%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 150px;
    padding: 5px;
    margin: 5px;
    transition: transform 0.2s;
    border: 1px solid black;
}

    .product-card:hover {
        transform: scale(1.05);
    }

.product-card-sm {
    background-color: rgb(255, 255, 255);
    height: 80%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 150px;
    padding: 3px;
    margin: 3px;
    transition: transform 0.2s;
    border: 1px solid black;
}

    .product-card-sm:hover {
        transform: scale(1.05);
    }

.product-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.rating {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

    .rating img {
        width: 18px;
        height: 18px;
        margin: 0 2px;
    }




.product-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.product-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .product-card:hover {
        transform: scale(1.05);
    }

.product-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-card h4 {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}

.type-items-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


    .type-items-group .item {
        flex: 1 1 200px;
        padding: 12px;
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-radius: 6px;
        text-align: center;
        transition: transform 0.2s, box-shadow 0.2s;
    }


        .type-items-group .item:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }


        .type-items-group .item h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 8px;
        }

        .type-items-group .item p {
            font-size: 14px;
            color: #666;
        }


@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-section, .search-section, .cart-section {
        width: 100%;
        text-align: center;
    }

    .search-section {
        justify-content: center;
    }

    .type-items-group {
        gap: 12px;
        padding: 12px;
    }

        .type-items-group .item {
            flex: 1 1 100%;
        }
}

@media (max-width: 480px) {
    .profile-pic {
        width: 40px;
        height: 40px;
    }

    .cart-section {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .type-items-group {
        gap: 8px;
        padding: 8px;
    }

        .type-items-group .item {
            flex: 1 1 100%;
            padding: 10px;
            font-size: 16px;
        }

            .type-items-group .item h3 {
                font-size: 16px;
            }

            .type-items-group .item p {
                font-size: 13px;
            }
}

.h3 {
    text-align: center;
    color: #333;
}


.flex-container .p {
    font-size: 12px;
}

.profile-pic {
    width: 40px;
    height: 40px;
}

.container-Header .search-container {
    display: flex;
    align-items: center;
    margin: 1px;
    flex: 1 1 100px;
    max-width: 100%;
    border-color: black;
}



.image-container {
    width: 100%;
    height: 40%;
    background-position: center;
    background-image: url('uploads/main.png');
    object-fit: cover;
    border-radius: 10px;
    background-repeat: no-repeat;
    margin: 5px auto;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    background-color: rgba(194, 178, 128, 0.2);
    border: 1px solid black;
}

    .image-container .sm {
        width: 40%;
        height: 50%;
        background-position: center;
        background-image: url('uploads/main.png');
        object-fit: cover;
        border-radius: 10px;
        background-repeat: no-repeat;
        margin: 5px;
        flex-wrap: wrap;
        background-color: #fff;
        padding: 5px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        max-height: 100%;
        background-color: rgba(194, 178, 128, 0.2);
        border: 1px solid black;
    }





.left-aligned img {
    float: left;
    margin-right: 10px;
}


.new-Typeproducts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 5px;
    width: 100%;
    height: 20%;
    margin: 5px auto;
    background-color: #F3E5AB;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(223, 215, 201,0.8);
    object-fit: cover;
    border: 1px solid black;
}

.Typeproduct-card {
    height: 80%;
    background-color: rgb(255, 255, 255);
    object-fit: cover;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 5px;
    margin: 5px;
    transition: transform 0.2s;
    border: 1px solid black;
}

    .Typeproduct-card:hover {
        transform: scale(1.05);
    }

.Typeproduct-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.new-Allproducts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 5px;
    width: 100%;
    height: 50%;
    margin: 5px auto;
    background-color: #F3E5AB;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(223, 215, 201,0.8);
    object-fit: cover;
    border: 1px solid black;
}


.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
    width: max-content;
}

.slide {
    min-width: 100px;
    height: 150px;
    box-sizing: border-box;
    margin: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 50%;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.wishlist-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 10px;
    padding: 0px;
    margin: 0px;
}

    .wishlist-btn img {
        width: 20px;
    }

.rating img {
    width: 20px;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .body {
        margin: 0;
        height: auto;
        background-image: url(/uploads/mainpage2.webp);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        direction: rtl;
        text-align: right;
        width: 100%;
    }

    .container-Header {
        width: 100%;
        height: 10%;
        margin: 5px auto;
        flex-wrap: wrap;
        padding: 3px;
        border-radius: 20px 20px 0px 0px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        background-color: rgb(223, 215, 201,0.8);
        border: 1px solid black;
    }

    .h3 {
        text-align: center;
        color: #333;
    }

    .container-Header .flex-container {
        display: flex;
        align-items: center;
        margin-bottom: 3px;
        gap: 5px;
        width: 100%;
    }
}

header .promo .desktop-swb {
    width: 100%;
    display: flex;
}

    header .promo .desktop-swb .mboxDefault {
        width: 100%;
    }

    header .promo .desktop-swb.bg-adaa94 {
        background-color: #3E1715;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a {
        max-width: 105rem;
        min-width: 61.875rem;
        margin: 0 auto;
        flex: 1 0 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
            border-right: 0.0625rem solid #FFFFFF;
            max-width: 50rem;
            width: 100%;
        }

    header .promo .desktop-swb p {
        font-size: 11px;
        font-weight: 500;
        line-height: 14px;
        margin: 0;
        padding: 0;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
        border-right: none;
    }

    header .promo .desktop-swb p,
    header .promo .desktop-swb a {
        font-size: 11px;
        font-weight: 500;
        line-height: 20px;
        margin: 0;
        padding: 0;
        color: #FFFFFF;
    }

        header .promo .desktop-swb p b {
            font-size: 14px;
            font-weight: 500;
            color: #FFFFFF;
            letter-spacing: .5px;
            word-wrap: break-word;
        }

header .promo .desktop-swb {
    width: 100%;
    display: flex;
}

    header .promo .desktop-swb .mboxDefault {
        width: 100%;
    }

    header .promo .desktop-swb.bg-adaa94 {
        background-color: #3E1715;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a {
        max-width: 105rem;
        min-width: 61.875rem;
        margin: 0 auto;
        flex: 1 0 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
            border-right: 0.0625rem solid #FFFFFF;
            max-width: 50rem;
            width: 100%;
        }

    header .promo .desktop-swb p {
        font-size: 11px;
        font-weight: 500;
        line-height: 14px;
        margin: 0;
        padding: 0;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
        border-right: none;
    }

    header .promo .desktop-swb p,
    header .promo .desktop-swb a {
        font-size: 11px;
        font-weight: 500;
        line-height: 20px;
        margin: 0;
        padding: 0;
        color: #FFFFFF;
    }

        header .promo .desktop-swb p b {
            font-size: 14px;
            font-weight: 500;
            color: #FFFFFF;
            letter-spacing: .5px;
            word-wrap: break-word;
        }

@media screen and (min-width: 75.0625rem) and (max-width: 90rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.625rem;
        line-height: 1.125rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 61.9375rem) and (max-width: 75rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5625rem;
        line-height: 1rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 47.9375rem) and (max-width: 61.875rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5rem;
        line-height: 0.9375rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.6875rem;
        }
}



header .promo .desktop-swb {
    width: 100%;
    display: flex;
}

    header .promo .desktop-swb .mboxDefault {
        width: 100%;
    }

    header .promo .desktop-swb.bg-adaa94 {
        background-color: #3E1715;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a {
        max-width: 105rem;
        min-width: 61.875rem;
        margin: 0 auto;
        flex: 1 0 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
            border-right: 0.0625rem solid #FFFFFF;
            max-width: 50rem;
            width: 100%;
        }

    header .promo .desktop-swb p {
        font-size: 11px;
        font-weight: 500;
        line-height: 14px;
        margin: 0;
        padding: 0;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
        border-right: none;
    }

    header .promo .desktop-swb p,
    header .promo .desktop-swb a {
        font-size: 11px;
        font-weight: 500;
        line-height: 20px;
        margin: 0;
        padding: 0;
        color: #FFFFFF;
    }

        header .promo .desktop-swb p b {
            font-size: 14px;
            font-weight: 500;
            color: #FFFFFF;
            letter-spacing: .5px;
            word-wrap: break-word;
        }

@media screen and (min-width: 75.0625rem) and (max-width: 90rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.625rem;
        line-height: 1.125rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 61.9375rem) and (max-width: 75rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5625rem;
        line-height: 1rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 47.9375rem) and (max-width: 61.875rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5rem;
        line-height: 0.9375rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.6875rem;
        }
}


header .promo .desktop-swb {
    width: 100%;
    display: flex;
}

    header .promo .desktop-swb .mboxDefault {
        width: 100%;
    }

    header .promo .desktop-swb.bg-adaa94 {
        background-color: #3E1715;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a {
        max-width: 105rem;
        min-width: 61.875rem;
        margin: 0 auto;
        flex: 1 0 0;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
            border-right: 0.0625rem solid #FFFFFF;
            max-width: 50rem;
            width: 100%;
        }

    header .promo .desktop-swb p {
        font-size: 11px;
        font-weight: 500;
        line-height: 14px;
        margin: 0;
        padding: 0;
    }

    header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
        border-right: none;
    }

    header .promo .desktop-swb p,
    header .promo .desktop-swb a {
        font-size: 11px;
        font-weight: 500;
        line-height: 20px;
        margin: 0;
        padding: 0;
        color: #FFFFFF;
    }

        header .promo .desktop-swb p b {
            font-size: 14px;
            font-weight: 500;
            color: #FFFFFF;
            letter-spacing: .5px;
            word-wrap: break-word;
        }

@media screen and (min-width: 75.0625rem) and (max-width: 90rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.625rem;
        line-height: 1.125rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 61.9375rem) and (max-width: 75rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5625rem;
        line-height: 1rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 47.9375rem) and (max-width: 61.875rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5rem;
        line-height: 0.9375rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.6875rem;
        }
}

@media screen and (min-width: 47.75rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }
}

.content-mfe .desktopContentWrapper .desktop-homepage .elsbeth-img, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us .elsbeth-img, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca .elsbeth-img {
    width: 70%;
}

@media(max-width: 56.25rem) {
    .content-mfe .desktopContentWrapper .desktop-homepage #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca .new-arrivals h2 {
        font-size: 1.25rem;
        line-height: 2.8rem
    }
}

@media screen and (min-width: 61.875rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 61.875rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }
}

@media(max-width: 56.25rem) {
    .content-mfe .desktopContentWrapper .desktop-homepage #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca .new-arrivals h2 {
        font-size: 1.25rem;
        line-height: 2.8rem
    }

    header .promo .desktop-swb {
        width: 100%;
        display: flex;
    }

        header .promo .desktop-swb .mboxDefault {
            width: 100%;
        }

        header .promo .desktop-swb.bg-adaa94 {
            background-color: #3E1715;
        }

        header .promo .desktop-swb .wsi-colctrl-lt4a {
            max-width: 105rem;
            min-width: 61.875rem;
            margin: 0 auto;
            flex: 1 0 0;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }

            header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
                border-right: 0.0625rem solid #FFFFFF;
                max-width: 50rem;
                width: 100%;
            }

        header .promo .desktop-swb p {
            font-size: 11px;
            font-weight: 500;
            line-height: 14px;
            margin: 0;
            padding: 0;
        }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
            border-right: none;
        }

        header .promo .desktop-swb p,
        header .promo .desktop-swb a {
            font-size: 11px;
            font-weight: 500;
            line-height: 20px;
            margin: 0;
            padding: 0;
            color: #FFFFFF;
        }

            header .promo .desktop-swb p b {
                font-size: 14px;
                font-weight: 500;
                color: #FFFFFF;
                letter-spacing: .5px;
            }
}

@media screen and (min-width: 75.0625rem) and (max-width: 90rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.625rem;
        line-height: 1.125rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 61.9375rem) and (max-width: 75rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5625rem;
        line-height: 1rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}

@media screen and (min-width: 47.9375rem) and (max-width: 61.875rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5rem;
        line-height: 0.9375rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.6875rem;
        }
}

@media screen and (min-width: 47.75rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }


    .content-mfe .desktopContentWrapper .desktop-homepage .elsbeth-img, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us .elsbeth-img, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca .elsbeth-img {
        width: 70%;
    }
}

@media(max-width: 56.25rem) {
    .content-mfe .desktopContentWrapper .desktop-homepage #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-us .new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca #new-arrivals h2, .content-mfe .desktopContentWrapper .desktop-homepage-rj-ca .new-arrivals h2 {
        font-size: 1.25rem;
        line-height: 2.8rem
    }
}

@media screen and (min-width: 61.875rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 61.875rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }


    header .promo .desktop-swb {
        width: 100%;
        display: flex;
    }

        header .promo .desktop-swb .mboxDefault {
            width: 100%;
        }

        header .promo .desktop-swb.bg-adaa94 {
            background-color: #3E1715;
        }

        header .promo .desktop-swb .wsi-colctrl-lt4a {
            max-width: 105rem;
            min-width: 61.875rem;
            margin: 0 auto;
            flex: 1 0 0;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
        }

            header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column {
                border-right: 0.0625rem solid #FFFFFF;
                max-width: 50rem;
                width: 100%;
            }

        header .promo .desktop-swb p {
            font-size: 11px;
            font-weight: 500;
            line-height: 14px;
            margin: 0;
            padding: 0;
        }

        header .promo .desktop-swb .wsi-colctrl-lt4a .parsys_column:last-child {
            border-right: none;
        }

        header .promo .desktop-swb p,
        header .promo .desktop-swb a {
            font-size: 11px;
            font-weight: 500;
            line-height: 20px;
            margin: 0;
            padding: 0;
            color: #FFFFFF;
        }

            header .promo .desktop-swb p b {
                font-size: 14px;
                font-weight: 500;
                color: #FFFFFF;
                letter-spacing: .5px;
            }
}


@media screen and (min-width: 75.0625rem) and (max-width: 90rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.625rem;
        line-height: 1.125rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}


@media screen and (min-width: 61.9375rem) and (max-width: 75rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5625rem;
        line-height: 1rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.75rem;
        }
}


@media screen and (min-width: 47.9375rem) and (max-width: 61.875rem) {
    header .promo .desktop-swb .parsys_column p,
    header .promo .desktop-swb .parsys_column a {
        font-size: 0.5rem;
        line-height: 0.9375rem;
        color: #FFFFFF;
    }

        header .promo .desktop-swb .parsys_column p b {
            font-size: 0.6875rem;
        }
}



@media screen and (min-width: 47.75rem) {
    div.hero-video-wrapper {
        padding: 48% 0 0 0;
        position: relative;
        margin-bottom: 0;
    }
}*/
/* 1. الإعدادات العامة للجسم والصفحة */
/*html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}*/
/*html {*/
    /* يمنع اهتزاز الصفحة بالكامل عند السحب لأسفل */
    /*overscroll-behavior-y: none;
    height: -webkit-fill-available;*/ /* حل لمشكلة الارتفاع في سفاري وكروم موبايل */
/*}
body {
    margin: 0;*/
    /* تأكد أن المسافة تساوي ارتفاع الفوتر تماماً */
    /*padding-bottom: 75px !important;
    min-height: 100vh;
    overflow-x: hidden;
}*/
/*body {
    margin: 0;
    margin-bottom: 60px;*/ /* لترك مساحة للفوتير الثابت */
    /*background-color: var(--soft-bg);
    direction: rtl;
    text-align: right;
    font-family: 'Poppins', sans-serif;
}*/

/*:root {*/
    /* الألوان الأساسية للهوية - إبداع */
    /*--ebdaa-gold: #c5a059;*/ /* اللون الذهبي الموحد */
    /*--ebdaa-gold-dark: #b89552;*/ /* ذهبي غامق للـ Hover */
    /*--ebdaa-dark: #1a1a1a;*/ /* الخلفيات الداكنة أو النصوص */
    /* ألوان الحالات */
    /*--ebdaa-success: #198754;*/ /* الأخضر للعمليات الناجحة */
    /*--ebdaa-danger: #dc3545;*/ /* الأحمر للتحذير والحذف */
    /* ألوان الخلفيات والنصوص */
    /*--ebdaa-soft-bg: #f8f9fa;*/ /* رمادي فاتح جداً للخلفيات */
    /*--ebdaa-text-muted: #6c757d;*/ /* للنصوص الثانوية */
    /*--white: #ffffff;
}*/
/* 2. النصوص والروابط */
/*h3, .h3 {
    margin: 5px 0 15px 0;
    text-align: center;
    color: #333;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

[data-click] {
    color: #007bff;
    cursor: pointer;
}

    [data-click]:hover {
        text-decoration: underline;
    }*/

/* 3. الحاويات والتخطيط (Layout) */
/*.container {
    margin: 40px auto;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}*/

/* 4. المنتجات والبطاقات (دمج المكرر) */
/*.product-card, .product-card-sm {
    background-color: #fff;
    border: 1px solid black;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 150px;
}

    .product-card:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}*/

/* 5. الهيدر والبحث */
/*.container-Header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(223, 215, 201, 0.8);
    border: 1px solid black;
    border-radius: 20px 20px 0 0;
    padding: 10px;
}

.search-section {
    flex: 1;
    display: flex;
    gap: 5px;
}*/

/* 6. الفوتر (Footer) - المطور لضمان العرض الكامل */
/*.footer, .mobile-footer, .mobile-bottom-nav {
    position: fixed;
    bottom: 0;*/
    /* لجعل العنصر يتجاهل حدود الـ Container الأب ويأخذ عرض الشاشة كاملاً */
    /*left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin: 0 !important;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}*/

/* في الشاشات الكبيرة، قد ترغب في إخفاء فوتر الموبايل */
/*@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}*/

/* 7. الاستجابة للشاشات (Media Queries) */
/*@media (max-width: 768px) {*/
  /*  html {
        font-size: 14px;
    }*/
    /*@media (max-width: 768px) {
        html {
            font-size: 14px;*/
            /* منع اهتزاز الصفحة بالكامل عند السحب (حل مشكلة تويتر) */
            /*overscroll-behavior-y: none;*/
            /* التأكد من أن الارتفاع يغطي الشاشة المتاحة فقط */
            /*height: -webkit-fill-available;
        }

        body {*/
            /* يجب أن يكون padding-bottom مساوٍ لارتفاع الفوتر (70px) + مساحة إضافية بسيطة */
            /*padding-bottom: 80px !important;*/
            /* منع التمرير الأفقي المزعج في الموبايل */
            /*overflow-x: hidden;
            position: relative;
        }*/

        /* ضمان ثبات الهيدر والفوتر ومنع ظهور الخطوط الفاصلة */
        /*.main-header, .mobile-bottom-nav {
            -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
        }
    
    .flex-container {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .section-nav {
        display: none;
    }

    .nav-visible .section-nav {
        display: flex;
    }
}*/

/* 8. أدوات المساعدة (Helpers) */
/*.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}*/
/* تحسينات إضافية لتتناسب مع Layout.css */
/*.hero-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/uploads/main.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}*/

/* تنسيق قسم التصنيفات الدائرية كما في كودك */
/*.categories-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 5px;
    scrollbar-width: none;*/ /* للهواتف */
/*}

    .categories-scroll::-webkit-scrollbar {
        display: none;
    }

.category-item {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
}*/

/* تعديل الـ Product Card ليكون أكثر ثباتاً */
/*.product-card {
    height: auto !important;*/ /* السماح للمحتوى بتحديد الارتفاع */
    /*min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-tag {
    font-weight: bold;
    color: var(--gold-dark, #b89552);
    font-size: 1.1rem;
}*/

/* فلاش سيل (Flash Sale) */
/*.timer-badge {
    background: #e84118;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}*/
/* --- تنسيقات عامة للهيدر (تعمل في كل الشاشات) --- */
/*.main-header {
    padding: 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    z-index: 1060;*/ /* ضمان ظهوره فوق العناصر */
/*}*/

/* --- تنسيقات الموبايل (الشاشات أقل من 992px) --- */
/*@media (max-width: 991px) {*/

    /* 1. ضبط مساحة الجسم لمنع اختفاء المحتوى تحت الفوتر */
    /*body {
        padding-bottom: 80px !important;
    }
    .main-header {
        position: fixed !important;
        top: 0;
        background: #ffffff !important;*/ /* خلفية صلبة تمنع التداخل */
        /*box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }*/
    /* 2. الهيدر والفوتر: العرض الكامل والتثبيت */
  /*  .main-header,
    .mobile-bottom-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }*/
   
    /*.mobile-bottom-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }*/
    /*.main-header {
        top: 0;
    }*/

    /*.mobile-bottom-nav {
        bottom: 0;
    }*/

        /* 3. الحاويات الداخلية: التمدد لملء العرض */
       /* .main-header .container,
        .mobile-bottom-nav .nav-container {
            max-width: 100% !important;
            width: 100% !important;
            padding-left: 15px;
            padding-right: 15px;
        }*/
        /*.main-header .container,
         .nav-container {
            max-width: 100% !important;
            width: 100% !important;
            padding-left: 15px;
            padding-right: 15px;
        }
    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 70px;
        z-index: 2000;
        background: #ffffff;*/ /* لون صلب لمنع ظهور ما خلفه */
        /* إضافة منطقة الأمان لهواتف الآيفون والحديثة */
        /*padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }*/
    /* 4. تحسينات البحث وتجربة المستخدم */
    /*#liveSearch:focus {
        border-color: var(--ebdaa-gold) !important;
        background-color: #fff;
    }

    .search-img-wrapper {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        border-radius: 10px;
        overflow: hidden;
        background: #f8f9fa;
    }

    #searchSuggestions .list-group-item {
        transition: all 0.2s ease;
        border-radius: 12px !important;
        margin-bottom: 5px;
        border: 1px solid transparent !important;
    }

        #searchSuggestions .list-group-item:hover {
            background-color: #fcf9f0;
            border-color: #f1e9d5 !important;
            transform: scale(1.01);
        }*/

    /* شريط التمرير لنتائج البحث */
    /*#searchSuggestions::-webkit-scrollbar {
        width: 4px;
    }

    #searchSuggestions::-webkit-scrollbar-thumb {
        background: #e0e0e0;
        border-radius: 10px;
    }
}*/
/* 1. تعريف الألوان والمتغيرات الموحدة */
/*:root {
    --ebdaa-gold: #c5a059;
    --ebdaa-gold-dark: #b89552;
    --ebdaa-dark: #121212;
    --ebdaa-soft-bg: #f8f9fa;
    --ebdaa-success: #198754;
    --ebdaa-danger: #dc3545;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.4);
}*/

/* 2. الإعدادات العامة للصفحة */
/*html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
    height: -webkit-fill-available;
}

body {
    font-family: 'Almarai', sans-serif;
    margin: 0;
    padding-bottom: 80px !important;*/ /* مساحة للفوتر */
    /*min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--ebdaa-soft-bg);
    direction: rtl;
    text-align: right;
}*/

/* 3. شاشة التحميل (Global Loader) */
/*#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}*/

/* 4. قسم الـ Hero والبحث (متجاوب) */
/*.hero-search-section {
    height: 85vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: var(--ebdaa-dark);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 5s ease;
    }

    .carousel-item.active img {
        transform: scale(1.08);
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 850px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
}

.custom-search-group {
    display: flex;
    background-color: var(--white);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    font-size: 1.1rem;
    outline: none;
}

.btn-gold {
    background-color: var(--ebdaa-gold);
    color: var(--white);
    border: none;
    padding: 0 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
}

    .btn-gold:hover {
        background-color: var(--ebdaa-gold-dark);
        transform: scale(1.03);
    }*/

/* 5. بطاقات المنتجات (Product Cards) */
/*.product-card {
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .product-card img {
        aspect-ratio: 1/1;
        object-fit: contain;
        background: #fdfdfd;
        border-radius: 10px;
        margin-bottom: 10px;
    }*/

/* 6. المفضلة (Wishlist) */
/*.wishlist-overlay-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.wishlist-active i {
    color: var(--ebdaa-danger) !important;
}*/

/* 7. الهيدر والفوتر (Header & Mobile Nav) */
/*.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1060;
    box-shadow: var(--shadow-sm);
}

.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
}*/

/* 8. الاستجابة (Responsive Fixes) */
/*@media (max-width: 768px) {
    .hero-search-section {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .custom-search-group {
        border-radius: 30px !important;
        margin-top: 15px;
    }

    .search-input {
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .btn-gold {
        padding: 0 20px;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}*/

/* 9. تأثيرات الفيديو (Reels) */
/*#reelsModalBody video {
    width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    background-color: #000;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}*/
/* إصدار: 2.1 - هوية إبداع الشاملة (الموحدة)
   الوصف: دمج شامل (هيدر، هيرو، منتجات، شريط تنقل سفلي مطور، فوتر مكتبي، أنيميشن)
*/

/* ==========================================================================
   1. المتغيرات والأساسيات (Global Settings & Colors)
   ========================================================================== */
:root {
    /* 1. الألوان الأساسية */
    --ebdaa-gold: #c5a059;
    --ebdaa-gold-dark: #b89552;
    --ebdaa-dark: #121212;
    --ebdaa-soft-bg: #f8f9fa;
    --ebdaa-success: #198754;
    --ebdaa-danger: #dc3545;
    --ebdaa-text-muted: #6c757d;
    --white: #ffffff;
    --ebdaa-invoice-dark: #2c3e50;
    --ebdaa-border-color: #dee2e6;
    --primary-green: var(--ebdaa-success); /* اسم مستعار لدعم الكود القديم في الملف */
    /* 2. التدرجات والشفافية */
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%);
    --gold-soft-gradient: linear-gradient(45deg, #c5a059, #e2c185);
    --ebdaa-overlay-bg: rgba(0,0,0,0.4);
    --ebdaa-glass: rgba(255, 255, 255, 0.95);
    --ebdaa-blur: blur(15px);
    /* 3. الأبعاد (Layout) */
    --header-height: 70px;
    --mobile-nav-height: 70px;
    --chat-offset: 90px;
    --radius-lg: 15px; /* مستنتج من تكرار الرقم في الكروت وصناديق الدردشة */
    /* 4. الظلال والأنيميشن */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.4);
    --shadow-card: 0 10px 20px rgba(0,0,0,0.1);
    --shadow-float: 0 -5px 25px rgba(0,0,0,0.08);
    --ebdaa-transition: all 0.3s ease-in-out;
    /* 5. التقييم */
    --star-default: #ccc;
    --star-active: var(--ebdaa-gold);
    --header-mobile-height: auto;
    --footer-bottom-space: 80px; /* المساحة التي يحتاجها البودي لتجنب الفوتر */
    --chat-bottom-pos: 90px; /* موقع الدردشة ليكون فوق شريط الموبايل */
    /* --- ألوان العناصر الدقيقة (Micro-Colors) --- */
    --ebdaa-border: #eee; /* لتوحيد border-bottom في القوائم */
    --ebdaa-glass-bg: rgba(255, 255, 255, 0.9); /* للخلفيات الشفافة backdrop-filter */
    --ebdaa-overlay: rgba(0, 0, 0, 0.4); /* لتوحيد خلفية الهيرو والـ modals */
    /* --- متغيرات التفاعل (Interactions) --- */
    --transition-standard: 0.3s ease; /* لتوحيد سرعة الأنيمايشن في الأزرار والـ hover */
    --radius-standard: 15px; /* لتوحيد انحناء زوايا الكروت والصناديق */
    /* --- ألوان الفواتير والنصوص الرسمية (الموجودة في نهاية الملف) --- */
    --invoice-head-bg: #2c3e50; /* لون رأس الجدول في الفاتورة */
    --star-inactive: #ccc;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: 'Almarai', sans-serif;
    margin: 0;
    padding-bottom: 80px !important; /* مساحة للفوتر السفلي */
    min-height: 100vh;
    background-color: var(--ebdaa-soft-bg);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    padding-bottom: var(--mobile-nav-height) !important;
}

/* ==========================================================================
   2. شاشة التحميل والأنيميشن (Loader & Animations)
   ========================================================================== */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse-loader 1.5s infinite;
}

@keyframes pulse-loader {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}
@media (max-width: 768px) {
    .luxury-nav {
        height: auto !important; /* السماح للهيدر بالتمدد إذا لزم الأمر */
        padding: 5px 0;
    }
}
/* ==========================================================================
   3. الهيدر الفاخر (Luxury Header)
   ========================================================================== */
.luxury-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1060;
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
}

.logo-box {
    position: relative;
    width: 35px;
    height: 35px;
    background: var(--ebdaa-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ebdaa-gold);
}

.glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid var(--ebdaa-gold);
    animation: pulse-ring 2s infinite;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ebdaa-dark);
}

/* أدوات المستخدم والأيقونات */
.header-actions-container {
    display: flex !important;
    flex-wrap: nowrap; /* هذا السطر يمنع الأيقونات من النزول لأسفل نهائياً */
    gap: 15px;
    align-items: center;
    margin-inline-start: auto;
}
@media (max-width: 576px) {
    .header-actions-container {
        gap: 6px !important; /* تقليص المسافة جداً في الموبايل */
    }

    .action-item {
        min-width: 45px; /* ضمان مساحة كافية لللمس بالصبع */
    }

    .action-text {
        font-size: 8px !important; /* تصغير النص جداً أو إخفاؤه */
        display: block;
    }

    .brand-name {
        font-size: 0.9rem !important; /* تصغير اسم البراند ليفسح مجالاً */
    }
}

.action-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4a4a4a;
    text-decoration: none;
    transition: 0.3s;
}

    .action-item:hover {
        color: var(--ebdaa-gold);
        transform: translateY(-2px);
    }

.action-text {
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
}

.badge-custom {
    position: absolute;
    top: -2px;
    right: 2px;
    background: var(--ebdaa-danger);
    color: white;
    font-size: 10px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
}

.user-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    transition: 0.3s;
}

    .user-profile-btn:hover {
        background: var(--ebdaa-dark);
        color: white;
    }

/* ==========================================================================
   4. قسم الـ Hero والبحث (Hero & Search)
   ========================================================================== */
.hero-search-section {
    height: 85vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 850px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
}

.custom-search-group {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    outline: none;
    font-size: 1rem;
}

.btn-gold {
    background: var(--gold-soft-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0 35px;
    font-weight: bold;
    transition: 0.3s;
}

    .btn-gold:hover {
        transform: scale(1.03);
        filter: brightness(1.1);
    }

/* ==========================================================================
   5. شريط التصنيفات والمنتجات (Categories & Products)
   ========================================================================== */
.category-strip {
    font-size: 0.85rem !important;
    background: white;
    border-bottom: 1px solid #f1f1f1;
}

.scroll-hide::-webkit-scrollbar {
    display: none;
}

.scroll-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    display: flex;
}

.nav-category-link {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    padding: 8px 15px !important;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

    .nav-category-link:hover, .active-menu-item {
        color: var(--ebdaa-gold) !important;
        border-bottom-color: var(--ebdaa-gold);
    }

.product-card {
    background: var(--white);
    border-radius: 15px;
    padding: 15px;
    transition: 0.3s;
    border: 1px solid #eee;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

/* ==========================================================================
   6. شريط التنقل السفلي للموبايل (Mobile Bottom Nav)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px;
    margin: 0 !important;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom) !important;
    box-sizing: content-box;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    height: var(--mobile-nav-height); /* بدلاً من كتابة 70px */
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-item {
    text-decoration: none;
    color: var(--ebdaa-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
    font-size: 0.75rem;
    flex: 1;
}

    .nav-item i {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }

    .nav-item.active, .nav-item:hover {
        color: var(--ebdaa-gold);
    }

/* الزر المركزي (Central Add Button) */
.central-item {
    position: relative;
    top: -20px;
}

.add-btn {
    background: linear-gradient(135deg, var(--ebdaa-gold), #8a6509);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.badge-count {
    position: absolute;
    top: -5px;
    right: 15%;
    background: var(--ebdaa-danger);
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 50px;
    min-width: 18px;
    border: 2px solid white;
}

/* ==========================================================================
   7. فوتر النسخة المكتبية (Desktop Footer V3)
   ========================================================================== */
.main-footer-v3 {
    background: #ffffff;
    border-top: 1px solid #eee;
    color: var(--ebdaa-dark);
    padding: 60px 0 20px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.6rem;
}

    .footer-logo .accent {
        color: var(--ebdaa-gold);
    }

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: var(--ebdaa-gold);
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        text-decoration: none;
        color: var(--ebdaa-text-muted);
        font-size: 0.9rem;
        transition: 0.3s;
        display: flex;
        align-items: center;
    }

        .footer-links a:hover {
            color: var(--ebdaa-gold);
            transform: translateX(-5px);
        }

.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-left: 10px;
    background: #f0f0f0;
    color: #333;
    transition: 0.3s;
}

    .social-icon:hover {
        background: var(--ebdaa-gold);
        color: white;
        transform: translateY(-3px);
    }

.contact-card-v3 {
    background: var(--ebdaa-soft-bg);
    padding: 20px;
    border-radius: 15px;
}

.wa-badge {
    background: #25d366;
    color: white !important;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: inline-block;
}

/* ==========================================================================
   8. الاستجابة والتجاوب (Responsive Fixes)
   ========================================================================== */
@media (max-width: 991px) {
    .main-footer-v3 {
        padding-bottom: 100px;
    }
    /* مساحة إضافية للموبايل بسبب الفوتر السفلي */
}

@media (max-width: 768px) {
    .hero-search-section {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .brand-name {
        font-size: 0.95rem !important;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}
.validation-summary-errors, .error {
    color: #cc0000;
}

    .validation-summary-errors > ul {
        list-style: none;
        padding: 5px 0 0 10px;
    }
#session-info td span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-social .fab {
    font-size: 1.4em;
}
/* --- معرض صور المنتج --- */
.product-gallery-container {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.main-product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* إخفاء السكرول في فيرفوكس */
}

    .thumbnail-list::-webkit-scrollbar {
        display: none;
    }
/* إخفاء السكرول في كروم */

.thumbnail-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    opacity: 0.6;
}

    .thumbnail-image.active {
        border-color: var(--ebdaa-gold);
        opacity: 1;
        transform: scale(1.05);
    }

/* --- نظام التقييم --- */
.star-rating .star {
    font-size: 1.4rem;
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
}

    .star-rating .star.selected, .star-rating .star:hover {
        color: var(--ebdaa-gold); /* تغيير من الأصفر للألوان الذهبية */
    }

.price-tag {
    font-size: 1.8rem;
    color: var(--ebdaa-dark);
    font-weight: 800;
}
/* --- صندوق الدردشة الموحد --- */
.chat-box {
    position: fixed;
    bottom: 90px; /* مرفوع لتجنب شريط الموبايل السفلي */
    left: 20px;
    width: 310px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    z-index: 2050;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.chat-header {
    background: var(--ebdaa-dark); /* تغيير للألوان الموحدة */
    color: var(--ebdaa-gold);
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    height: 280px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
}
/* --- فيديو المنتج --- */
.video-card {
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    background: #000;
}

    .video-card video {
        width: 100%;
        display: block;
    }
.btn-danger.rounded-circle:hover {
    transform: rotate(90deg) scale(1.1);
    background-color: #ff4d4d;
    transition: all 0.3s ease;
}
.invoice-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.invoice-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

.table-invoice thead {
    background-color: #2c3e50;
    color: #fff;
}

.table-invoice th, .table-invoice td {
    padding: 12px;
    border: 1px solid #dee2e6;
}

.summary-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-right: 5px solid #2c3e50;
}

.btn-action {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

    .btn-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

@media print {
    .no-print-pdf {
        display: none !important;
    }

    .invoice-container {
        border: none;
        padding: 0;
    }

    body {
        background: white;
    }
}
#reelsModal .modal-content {
    transition: all 0.3s ease-in-out;
}
/* لجعل الفيديو يظهر بشكل طولي (Portrait) يشبه الـ TikTok */
#reelsModal video {
    max-height: 80vh;
    border-radius: 15px;
    border: 2px solid #d4af37; /* إطار ذهبي بسيط */
}
/* 1. شعار "حالة المنتج" - ناقص في ملفك */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold-gradient);
    color: var(--ebdaa-dark);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

/* 2. تحسين تفاعل الصور المصغرة - ناقص في ملفك */
.thumbnail-image:hover {
    opacity: 0.9;
    border-color: var(--ebdaa-gold-dark);
    transform: translateY(-3px);
}

/* 3. تنسيق مواصفات المنتج (Specs) - ناقص في ملفك */
.product-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--ebdaa-border-color);
    font-size: 0.9rem;
}

.spec-label {
    color: var(--ebdaa-text-muted);
}

.spec-value {
    font-weight: 600;
    color: var(--ebdaa-dark);
}

/* 4. زر قائمة الأمنيات العائم فوق الصورة - (تفعيل الكود المعلق في ملفك) */
.wishlist-floating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--ebdaa-transition);
    z-index: 4;
}

    .wishlist-floating:hover {
        background: var(--ebdaa-danger);
        color: white;
    }
/* 1. تنسيق نتائج البحث الفوري (مستنتج من #searchSuggestions) */
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--ebdaa-border-color);
    cursor: pointer;
    transition: var(--ebdaa-transition);
}

    .suggestion-item:hover {
        background-color: var(--ebdaa-soft-bg);
        color: var(--ebdaa-gold);
    }

/* 2. تصحيح ألوان معرض الصور (مستنتج من thumbnail-image) */
.thumbnail-image.active {
    border: 2px solid var(--ebdaa-gold) !important; /* بدلاً من الأخضر الموجود بالملف */
    opacity: 1;
    transform: scale(1.05);
}

/* 3. زر كتم الصوت الذهبي للفيديو (مستنتج من video-card) */
.video-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    color: var(--ebdaa-gold);
    border: 1px solid var(--ebdaa-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
}

/* 4. لمسة الفخامة للفواتير (مستنتج من table-invoice) */
.table-invoice thead {
    background: linear-gradient(to left, var(--ebdaa-dark), #2c3e50) !important;
    color: var(--ebdaa-gold) !important;
}
/* 1. تفعيل زر قائمة الأمنيات (بناءً على الكود المعلق في ملفك) */
.wishlist-overlay-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ebdaa-text-muted);
    transition: var(--ebdaa-transition);
}

    .wishlist-overlay-btn:hover {
        background: var(--ebdaa-danger);
        color: var(--white);
        transform: scale(1.1);
    }

/* 2. تحسين مظهر نتائج البحث (بناءً على #searchSuggestions) */
#searchSuggestions .list-group-item:hover {
    background-color: var(--ebdaa-soft-bg);
    color: var(--ebdaa-gold);
    border-right: 4px solid var(--ebdaa-gold);
}

/* 3. توحيد ألوان الفاتورة (بناءً على table-invoice) */
.table-invoice thead {
    background-color: var(--ebdaa-invoice-dark) !important;
    color: var(--ebdaa-gold) !important;
    border: none;
}
/* تنسيق الأخطاء - لم يذكر سابقاً */
.validation-summary-errors {
    color: var(--ebdaa-danger);
    font-size: 0.9rem;
    background: rgba(220, 53, 69, 0.05);
    padding: 10px;
    border-radius: 8px;
}

/* تنسيق النصوص الطويلة في الجداول - لم يذكر سابقاً */
.text-truncate-custom {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* شعار الفاتورة - لم يذكر سابقاً */
.invoice-logo {
    max-width: 200px; /* حجم مثالي للطباعة */
    height: auto;
    filter: grayscale(0); /* لضمان ظهور ألوان الشعار الأصلية */
}