body { 
    font-family: 'Dubai', sans-serif;
    background: #121212;
    color: #4a4a4a;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* تأكد من عدم وجود مسافة غير ضرورية */
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px;
    /* //background: linear-gradient(90deg, #a5c7a7, #f2eecb); */
      background: #1c1c1c;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header h1 {
    font-size: 28px;
    margin: 0;
}
.logo { height: 30px; width: auto; }
.cart-icon i {
    font-size: 20px;
    transition: transform 0.3s ease-in-out;
}
.cart-icon:hover i {
    transform: scale(1.1);
}
.cart-icon .badge {
    cursor: pointer;
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #1c1c1c;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    padding: 3px 6px;
}

.carousel-inner img {
    height: 80px;
    object-fit: cover;
}
.carousel-control-prev,
.carousel-control-next {
    display: block; 
}
.product-card {
    border: 2px solid #d1ceb8;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.product-card img {
    width: 100%;
    height: auto;
}
.product-title {
    font-size: 22px;
    font-weight: bold;
    color: #4a4a4a;
    margin: 15px 0;
}
.product-price {
    color: #d58936;
    font-size: 20px;
    font-weight: bold;
}
.btn-custom {
    border: 2px solid #d58936;
    color: #fff;
    background-color: #a5c7a7;
    padding: 5px 15px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-custom:hover {
    background-color: #d58936;
    transform: scale(1.05);
}
.cart {
    position: fixed;
    top: 0;
    right: -100%;
    background: linear-gradient(to bottom, #ffffff, #f5f5e9);
    border-left: 2px solid #a5c7a7;
    padding: 20px;
    width: 350px;
    height: 100%;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1050;
}
.cart.active {
    right: 0;
}
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #a5c7a7;
   
}
.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.cart-item img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.cart-item button {
    width: 30px;
    height: 30px;
    font-size: 18px;
    text-align: center;
    background-color: #a5c7a7;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.cart-item button:hover {
    background-color: #d58936;
}
.cart-total {
    background-color: #f2eecb;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}
.cart-empty {
    text-align: center;
    color: #888;
}
        /* تصميم الشريط السفلي */
        .cookie-notice {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #c1c1c1;
            color: #333;
            padding: 8px;
            text-align: center;
            display: none; /* نعرضه عند الحاجة */
            opacity: 0; /* للشفافية التدريجية */
            transition: opacity 0.5s ease-in-out;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
            font-size: 14px; /* تصغير النص */
        }

        .cookie-notice.show {
            display: block;
            opacity: 1;
        }

        .cookie-notice button {
            margin: 5px;
            background-color: #28a745;
            color: white;
            border: none;
            padding: 3px 10px;
            border-radius: 3px;
            font-size: 14px;
        }

        .cookie-notice .btn-secondary {
            background-color: #6c757d;
        }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1c1c1c;
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
border-top: 1px solid #dcdcdc; 
z-index: 10;
}
.nav-item .badge {
    position: absolute;
    top: -8px;  /* وضع الـ badge فوق الأيقونة */
     /* وضع الـ badge في الجهة اليمنى للأيقونة */
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    padding: 3px 5px;
    line-height: 1;
    z-index: 1;
}
.nav-item {
position: relative;
    text-decoration: none;
    color: #E5E5E5;
    text-align: center;
    flex: 1;
    padding: 10px;
    transition: color 0.3s ease-in-out;
}

.nav-item i {
    display: block;
    font-size: 20px;
}

.nav-item.active {
    color: #fff;
    font-weight: bold;
}
  #map {
            height: 20vh;
            border: 2px solid #4CAF50;
            border-radius: 10px;
            background: #f8fff9;
        }

        .fig-icon {
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
            transition: transform 0.2s;
        }

        .fig-icon:hover {
            transform: scale(1.1);
        }

        #loading {
            position: absolute;
            z-index: 1000;
            background: rgba(255,255,255,0.95);
            padding: 15px 30px;
            border-radius: 25px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .leaflet-control-location {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 256c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"/></svg>') no-repeat center;
            background-size: 60%;
            width: 34px;
            height: 34px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            margin: 10px;
        }

        #coordinates-box {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            background: rgba(255,255,255,0.9);
            padding: 10px 20px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            font-size: 14px;
        }