﻿html {
    font-size: 14px;
}


@font-face {
    font-family: 'Al-Jazeera';
    src: url('fonts/Al-Jazeera.woff2') format('woff2'), url('fonts/Al-Jazeera.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    /*   font-family: 'Cairo', sans-serif;*/
    /* font-family: 'Al-Jazeera', sans-serif;*/
    /*  font-family: "Rubik", serif;*/
    font-family: "El Messiri", serif;
    box-sizing: border-box;
}

.rtl {
    direction: rtl;
}


.text-justify {
    text-align: justify;
}


.card-height {
    height: 170px;
}

.card-img-height {
    height: 250px;
}

/** product section **/
.product {
    background: #fff;
    padding-top: 60px;
}

.product .title {
    text-align: left;
    padding-bottom: 60px;
}

.product .title h2 {
    font-size: 50px;
    line-height: 55px;
    color: #ffc221;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 27px;
    position: relative;
    padding-bottom: 8px;
}

            .product .title h2:after {
                position: absolute;
                border-bottom: #000 solid 10px;
                content: '';
                top: 100%;
                width: 110px;
            }

        .product .title span {
            color: #070500;
            font-size: 22px;
            line-height: 28px;
            margin-top: 20px;
        }

.product-bg {
    background: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.product-bg-white {
    background: #ffffffbd;
    box-shadow: #00000040 0px 0px 25px 0px;
    padding-top: 30px;
    padding-bottom: 60px;
}

.product-bg .product-bg-white .product-box {
    background: #ddd;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 25px;
}

    .product-bg .product-bg-white .product-box  img {
        width: 100%;
    }

    .product-bg .product-bg-white .product-box:hover {
      /*  background: #fdc24f;*/
    }

    .product-bg .product-bg-white .product-box h3 {
        color: #020000;
        font-weight: 600;
        font-size: 17px;
        line-height: 26px;
        padding-top: 15px;
        height: 12vh;
    }

    .product-bg .product-bg-white .product-box span {
        color: #020000;
        font-weight: 800;
        font-size: 20px;
        line-height: 24px;

    }

        .product-bg .product-bg-white .product-box span:hover {
            color: #fff;
        }







/** end product section **/


/* تغيير لون البار المعبأ (القيمة الحالية) */
/*.custom-range::-webkit-slider-runnable-track {
    background: #e0e0e0;*/ /* لون الخلفية */
    /*height: 8px;*/ /* يمكنك تخصيص ارتفاع الشريط */
    /*border-radius: 4px;*/ /* حواف مستديرة */
/*}

.custom-range::-webkit-slider-thumb {*/
    /*background: #000;*/ /* لون المقبض */
    /*border: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4px;*/ /* محاذاة المقبض مع الشريط */

/*}*/



/* تخصيص لون البار المعبأ */
.custom-range:focus::-webkit-slider-runnable-track {
    background: linear-gradient(to right, white 0%, white 50%, white);
}


.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: white;
    cursor: pointer;
    background-color: white;
    border-color: white;
    border-radius: 1rem;
}

.bg-light-dark {
    background-color: #d0d7df4d !important;
}

/* Css Items */


.product-header {
    display: flex;
    justify-content: space-between;
    margin-right:auto;
    
}

    .product-header h1 {
        font-size: 2rem;
        margin: 0;
    }

    .product-header .actions {
        display: flex;
        gap: 10px;
    }

.actions button {
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.actions .favorite {
    background: #ff7043;
    color: #fff;
}

.actions .share {
    background: #00bcd4;
    color: #fff;
}

.product-content {
    display: flex;
    gap: 20px;
}

.product-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .product-images img {
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

.product-details {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .product-details .price {
        font-size: 1.5rem;
        font-weight: bold;
        color: #4caf50;
    }

    .product-details .description {
        font-size: 1rem;
        line-height: 1.6;
    }

.specifications {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

    .specifications table {
        width: 100%;
        border-collapse: collapse;
    }

        .specifications table th,
        .specifications table td {
            padding: 10px;
            text-align: right;
            border: 1px solid #ddd;
        }

        .specifications table th {
            background-color: #f9f9f9;
            font-weight: bold;
        }

.buy-section {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.buy-section button {
    flex: 1;
    padding: 15px;
    font-size: 1.2rem;
    color: #fff;
    background: #4caf50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.buy-section button.secondary {
    background: #607d8b;
}


.rounded-4 {
    border-radius: 1rem !important
}

/* DashBoard*/
.sidebar {
    height: 100vh;
    background: #f8f9fa; /* لون رمادي فاتح */
    color: #333; /* لون النص */
    padding: 20px;
    overflow-y: auto;
}

    .sidebar .logo {
        font-size: 1.5rem;
        font-weight: bold;
        color: #AB7442 !important; /* لون مميز للعنوان */
        border-bottom: 2px solid #ccc;
        margin-bottom: 20px;
    }

    .sidebar .nav-link {
        color: #333;
        font-size: 1rem;
        padding: 10px 15px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .sidebar .nav-link i {
        margin-left: 10px;
    }

    .sidebar .nav-link:hover {
        background-color: #AB7442 !important;
        color: #fff;
    }

    .sidebar .nav-link.active {
        background-color: #AB7442 !important;
        color: #fff;
    }


.content {
 /*   margin-right: 250px;*/
    transition: margin-right 0.3s ease;
}

    .content.collapsed {
        margin-right: 80px;
    }

.toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

    .toggle-btn:hover {
        background-color: #2980b9;
    }

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table-text-center {
    vertical-align: middle;
}





.contact-icon {
    position: fixed; /* لجعلها ثابتة */
    bottom: 20px; /* المسافة من الأسفل */
    right: 20px; /* المسافة من اليمين */
    z-index: 1000; /* طبقة فوق المحتويات الأخرى */
}

    .contact-icon a {
        background-color: #41963f;
        color: #fff;
        border-radius: 50px;
        padding: 10px 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

        .contact-icon a:hover {
            background-color: #1e8f1a;
            text-decoration: none;
        }



.watermarked-div {
    position: relative;
    overflow: hidden;
}

    .watermarked-div::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url('/logo/logo4.png') no-repeat center;
        background-size: contain;
        width: 50%;
        height: 50vh;
        opacity: 0.1; /* شفافية الصورة */
        pointer-events: none;
    }
