body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
}
  
.store-logo {
    max-width: 120px;
}

.action-icons a {
    color: #555;
    font-size: 1.5rem;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.action-icons a:hover {
    color: #007bff;
}

/* مربع البحث */
.search-container {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #f8f9fa;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.search-container form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.search-container input[type="text"] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 5px 15px;
    font-size: 1rem;
}


.search-container button {
    border: none;
    background-color: #007bff;
    color: #fff;
    padding: 5px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;  
}

.search-container button:hover {
    background-color: #0056b3;
}

/* الصفحة المنبثقة */
.menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color:#f8f9fa; /* لون الخلفية البيضاء */
    z-index: 2000;
    overflow-y: auto; /* إضافة التمرير إذا كانت القائمة طويلة */
    padding: 20px;
}

.menu-popup .menu-content {
    text-align: center;
}

.menu-popup .menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-popup .menu-content ul li {
    margin: 20px 0;
}

.menu-popup .menu-content ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.menu-popup .menu-content ul li a:hover {
    color: #007bff;
    background-color: #f89d0b;
}

.menu-popup .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.menu-popup .close-button:hover {
    background-color: #cc0000;
}
  
/* أقسام المنتجات 
  .category-section {
    padding: 40px 20px;
    text-align: center;
}

.category-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}*/

.category-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #333;
}

.category-card p {
    font-size: 1rem;
    color: #666;
    padding: 0 10px;
    margin-bottom: 10px;
}

.category-card a {
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 10px 0;
    transition: background-color 0.3s;
}

.category-card a:hover {
    background-color: #0056b3;
}

.social-icons a {
    color: #555;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

h2 {
      font-weight: bold;
      margin-bottom: 10px;
}
h5 {
      font-weight: bold;
}

a{
      text-decoration: none;
      font-size:15px;
      /* font-weight: bold; */
}

.divider{
      height: 2px;
      background-color: #ccc;
     margin: 20px 0;
}

footer  {
    background-color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

footer .social-icons {
        justify-content: center;
        margin-bottom: 10px;
}


.cart-count{
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f62d2d;
    color: #fff;
    padding: 4px 6px;
    border-radius: 50%;
    font-size: 12px;
}


.login-box{
    width: 100%;
    max-width: 400px;
    background: #ffffff;
}

.login-box h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0d6efd;
}

/*//////////login page style ////////*/

.card {
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 2rem;
}

.form-control:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

#togglePassword {
cursor: pointer;
}

.login-title {
font-weight: bold;
color: #007bff;
font-size: 1.8rem;
}

.btn-primary {
background-color: #007bff;
border: none;
font-size: 1.2rem;
}

.btn-primary:hover {
background-color: #0056b3;
}

/* add_users style */
.btn-danger {
    background-color: #dc3545;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}
.input-group-text {
    cursor: pointer;
}


/* Go back button */

.back-button {
position: fixed;
top: 30px; /* مسافة من الأعلى */
left: 50px; /* مسافة من اليسار */
z-index: 1000; /* طبقة الزر فوق العناصر الأخرى */
}

.back-button .btn {
font-size: 1rem; /* حجم الخط الافتراضي */
padding: 8px 16px; /* مساحة داخلية مريحة */
border-radius: 50px; /* زوايا مستديرة */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
transition: transform 0.2s, box-shadow 0.2s; /* تأثيرات عند التفاعل */
}

.back-button .btn:hover {
transform: scale(1.05); /* تكبير بسيط عند التمرير */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* زيادة الظل */
}

@media (max-width: 768px) {
.back-button {
    top: 10px; /* تقليل المسافة للأجهزة الصغيرة */
    left: 10px;
}

.back-button .btn {
    font-size: 0.9rem; /* تقليل حجم الخط للأجهزة الصغيرة */
    padding: 6px 12px;
}
}

@media (min-width: 1200px) {
.back-button .btn {
    font-size: 1.2rem; /* زيادة حجم الخط للشاشات الكبيرة */
}
}


.section_title {
    /* background-color: #4CAF50; */
    color: black;
    text-align: center;
    padding: 1em;
}


.divider2 {
    width: 97%;
    height: 2px;
    background-color: #ccc;
    margin: 20px auto;
}
