* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
     font-family: "Noto Sans Arabic", sans-serif !important;
     font-optical-sizing: auto;
}
.top-bar {
  background-color: #023016;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  display: block;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.subscription-text {
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.top-links a:hover {
  color: #f4b400;
}

.top-links a i {
  font-size: 16px;
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.top-links a:hover i {
  transform: scale(1.2);
}
.mobile-bar {
  display: none;
  background-color: #023016;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}
.mobile-bar .sociel {
  text-align: center;
}
.mobile-bar .sociel a {
  font-size: 25px;
  color: #fff;
}
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-bar {
    display: block;
  }
}
/* end top bar */

/* تنسيق النافبار */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center!important;
  margin-top: 10px;
}
.menu-icon {
  font-size: 24px;
  margin: 16px;
  cursor: pointer;
  display: none;
}
/* تنسيق اللوجو */
.logo img {
  height: auto;
  width: 150px;
  font-size: 40px;
  margin-right: 20px;
}

/* تنسيق صندوق البحث */
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  height: 35px;
}

.search-box input {
  height: 20px;
  padding: 10px;
  border: none;
  outline: none;
  flex: 1;
}

.search-box .category-dropdown select {
  border: none;
  padding: 20px;
  background: #f5f5f5;
  cursor: pointer;
}

/* .search-btn {
  background: none;
  color: #0d0202;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
} */
/*
.search-btn:hover {
  background: #333;
} */

.icons {
  display: flex;
  gap: 10px;
}

.icons a {
  font-size: 18px;
  color: #333;
  transition: color 0.3s;
}

.icons a:hover {
  color: #f4b400;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    z-index: 1001;
}
.sidebar a,
.sidebar p {
    display: block;
    padding: 10px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-decoration: none;
    border-bottom: 1px solid #555;
}
.close-btn {
    font-size: 25px;
    cursor: pointer;
    text-align: right;
    transition: all0.3s ease;
    -webkit-transition: all0.3s ease;
    -moz-transition: all0.3s ease;
    -ms-transition: all0.3s ease;
    -o-transition: all0.3s ease;
}
.close-btn:hover {
    font-size: 27px;
}
.menu-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.menu-buttons button.active {
    background: #f4b400;
}
.menu-buttons button {
    padding: 7px 20px;
    border-radius: 6px;
    margin: 3px;
    border: 1px solid #2f5a2a;
    background-color: #fff;
    transition: all 0.3s ease;
}
.menu-buttons button:hover {
    transform: scale(1.05);
}
.menu-section a:hover {
    background-color: #aacc7d;
}
.login-register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}
.login-register-button a {
  color: #696305;
  text-decoration: none;
  margin: 0 5px;
  font-weight: bold;
}
.sidebar .login-register-button a{
    font-size: 12px;
}

.login-register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #685008;
  border: 2px solid #f4b400;
  border-radius: 15px;
  padding: 8px 15px;

  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 30px;
}
.login-register-button:first-child {
  margin-right: 10px;
}

.login-register-button:hover {
  background-color: #f4b400;
  color: white;
  border-color: #f4b400;
}

.login-register-button:active {
  transform: scale(0.98);
}
@media (max-width: 767px) {
    .login-register-container {
        display: none !important;
    }
    .login-register-button{
        margin-top: 10px;
    }
}
.currency-select-wrapper {
  position: relative;
  display: inline-block;
}

.currency-select {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  transition: background 0.3s;
}

.currency-select:hover {
  background: #e9ecef;
}

.currency-selected {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-flag {
  width: 20px;
  height: 14px;
  background-size: cover;
  display: inline-block;
}

.currency-options {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 5px 0;
  display: none;
  width: 100%;
  border-radius: 5px;
  z-index: 10;
}

.currency-options.open {
  display: block;
}

.currency-options li {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.currency-options li:hover {
  background: #f1f1f1;
}
.category-sidebar-toggle {
  height: 90%;
  background-color: rgb(7, 70, 7) !important;
  color: white !important;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}

.category-sidebar-toggle:hover {
  background-color: darkgreen;
}
.category-sidebar-toggle .icon-one{
    padding-right: 10px;
}

/* nav links */
.main-nav {
  display: flex;
  width: 75%;
}
.main-nav .left-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav .left-links li {
  padding: 10px 15px;
  position: relative;
}
.main-nav .left-links:first-child {
  flex-grow: 1;
}

.main-nav .left-links li a {
  text-decoration: none;
  color: #525251;
  font-weight: bold;
  position: relative;
  transition: color 0.3s;
}

.main-nav .left-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: rgb(52, 224, 17);
  transition: width 0.5s ease;
}

.main-nav .left-links li a:hover::after {
  width: 100%;
}

.main-nav .left-links li a:hover,
.main-nav .left-links li a.active {
  color: #abadab;
}

/* تنسيق النافبار الرئيسي */
.main-navbar-flex-container {
    display: flex; /* تفعيل Flexbox */
    align-items: center; /* محاذاة العناصر عمودياً في المنتصف */
    justify-content: space-between; /* هذا هو المفتاح لدفع اللوجو لليسار وبقية العناصر لليمين */
    margin-top: 10px; /* احتفظ بنفس الهامش العلوي */
    padding: 0 20px; /* أضف padding لجوانب الـ navbar */
    width: 100%;

}

.logo img {
    height: auto;
    width: 150px;
    font-size: 40px; /* هذا لا يؤثر على الصورة */
}

.navbar-right-elements {
    display: flex;
    align-items: center;
}


.search-container {
    position: relative;
}

.search-form-flex {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    height: 35px;
}

.search-input-field {
    height: 100%; /* اجعل الـ input يملأ الارتفاع */
    padding: 0 10px; /* تعديل الـ padding ليتناسب مع الارتفاع */
    border: none;
    outline: none;
    flex: 1; /* للسماح له بالتوسع */
    font-size: 0.9rem;
}

.category-dropdown-custom {
    height: 100%;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-left: 1px solid #ddd;
}

.category-select-field {
    border: none;
    padding: 0 10px;
    height: 100%;
    background: transparent;
    cursor: pointer;
    outline: none;
    font-size: 0.9rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px;
}

.search-submit-btn {
    background: #f26522;
    color: #fff;
    padding: 0 15px;
    border: none;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-btn:hover {
    background: #e05e1f;
    color: #fff;
}

/* تنسيق نتائج البحث الفوري */
.live-search-results {
    position: absolute;
    top: 100%; /* ضعها أسفل حقل البحث */
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    display: none; /* مخفية في البداية */
    border-radius: 0 0 5px 5px; /* حواف دائرية في الأسفل */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

.live-search-results .list-group-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
}

.live-search-results .list-group-item:last-child {
    border-bottom: none;
}

.live-search-results .list-group-item:hover {
    background-color: #f8f8f8;
    color: #f26522;
}


.icons {
    display: flex; /* تأكيد أن الأيقونات مرتبة بشكل Flex */
    gap: 10px; /* المسافة بين كل أيقونة */
    align-items: center;
}
.icons a {
    font-size: 18px;
    color: #333;
    transition: color 0.3s;
}
.icons a:hover {
    color: #f4b400;
}



.login-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.login-register-button a {
    color: #696305;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
}
.login-register-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #685008;
    border: 2px solid #f4b400;
    border-radius: 15px;
    padding: 8px 15px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 30px;
}
.login-register-button:first-child {
    margin-right: 10px; /* هذا قد يتم استبداله بـ gap في navbar-right-elements */
}
.login-register-button:hover {
    background-color: #f4b400;
    color: white;
    border-color: #f4b400;
}
.login-register-button:active {
    transform: scale(0.98);
}


.currency-select-wrapper {
    position: relative;
    display: inline-block; /* أو display: flex; if you prefer */
}
.currency-select {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: background 0.3s;
}
.currency-select:hover {
    background: #e9ecef;
}
.currency-selected {
    display: flex;
    align-items: center;
    gap: 8px;
}
.currency-flag {
    width: 20px;
    height: 14px;
    background-size: cover;
    display: inline-block;
}
.currency-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 5px 0;
    display: none;
    width: 100%;
    border-radius: 5px;
    z-index: 10;
}
.currency-options.open {
    display: block;
}
.currency-options li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}
.currency-options li:hover {
    background: #f1f1f1;
}

/* ------------------------------------- */
/* تأكيدات للتجاوبية (Responsive)     */
/* ------------------------------------- */




/* بقية الـ CSS لم يتم تعديلها: */

/* end top bar */

/* Sidebar Styles */
.sidebar.active {
    transform: translateX(0);
}
.sidebar.active {
  transform: translateX(0);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #FFFEDB;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  padding: 20px;
  z-index: 1001;
}
.sidebar a,
.sidebar p {
  display: block;
  padding: 10px;
  color: rgb(0, 0, 0);
  font-size: 20px;
  text-decoration: none;
  border-bottom: 1px solid #555;
}
.close-btn {
  font-size: 25px;
  cursor: pointer;
  text-align: right;
  transition: all0.3s ease;
  -webkit-transition: all0.3s ease;
  -moz-transition: all0.3s ease;
  -ms-transition: all0.3s ease;
  -o-transition: all0.3s ease;
}
.close-btn:hover{
  font-size: 27px;
  /* transform: scale(1.05); */
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}
.menu-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}
.menu-buttons button {
  padding: 10px 30px;
  border: none;
}
.menu-buttons button.active {
    background: #f4b400;
}
.menu-buttons button {
    padding: 7px 20px;
    border-radius: 6px;
    margin: 3px;
    border: 1px solid #2f5a2a;
    background-color: #fff;
    transition: all 0.3s ease;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.menu-buttons button:hover{
  /* background-color: #AACC7D; */
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}
.menu-section a:hover{
  background-color: #AACC7D;
}

/* Popup box styling */
.list-group-item .popup-box {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(207, 202, 202, 0.2);
    display: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.list-group-item .popup-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.list-group-item:hover .popup-box,
.popup-box:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}
.list-group-item .popup-box ul li {
    position: relative;
    margin-bottom: 8px;
}
.list-group-item .popup-box ul li a {
    display: block;
    padding: 5px 10px;
    color: #000;
    transition: 0.2s;
}
.list-group-item .popup-box ul li a:hover {
    color: #2c6e49;
    background-color: #d6eab7;
    border-radius: 5px;
}
.list-group-item .popup-box::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #070e09 transparent transparent;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.category-sidebar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    height: auto;
    overflow-y: visible;
    display: none;
    transition: top 0.3s ease-in-out;
}
.category-sidebar.active {
    display: block;
    top: 0;
}

/* nav links */
.main-nav {
    display: flex;
    width: 75%;
}
.main-nav .left-links {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav .left-links li {
    padding: 10px 15px;
    position: relative;
}
.main-nav .left-links:first-child {
    flex-grow: 1;
}
.main-nav .left-links li a {
    text-decoration: none;
    color: #525251;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}
.main-nav .left-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(52, 224, 17);
    transition: width 0.5s ease;
}
.main-nav .left-links li a:hover::after {
    width: 100%;
}
.main-nav .left-links li a:hover,
.main-nav .left-links li a.active {
    color: #abadab;
}


/* Carousel Styles */
.carousel-item {
    position: relative;
    text-align: center;
}
.carousel-item .text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}
.carousel-item .text-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #ffcc00;
}
.carousel-item .text-content h3 {
    font-size: 24px;
    color: #f8f9fa;
}
.carousel-item .text-content p {
    font-size: 18px;
    color: #ddd;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}



/* Sidebar Styles */
.list-group-item {
  color: #050202;
  border: none;
  transition: 0.3s;
  position: relative;
}

.list-group-item:hover {
  background: #d6eab7;
}

/* Links inside list group */
.list-group-item a {
  color: #050708 !important;
  text-decoration: none;
}
/* Popup box styling */
.list-group-item .popup-box {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  background: #fcfcfc;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(207, 202, 202, 0.2);
  display: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

/* Remove default list styling */
.list-group-item .popup-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Show popup on hover */
.list-group-item:hover .popup-box,
.popup-box:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* List inside popup */
.list-group-item .popup-box ul li {
  position: relative;
  margin-bottom: 8px;
}

.list-group-item .popup-box ul li a {
  display: block;
  padding: 5px 10px;
  color: #000;
  transition: 0.2s;
}

.list-group-item .popup-box ul li a:hover {
  color: #2c6e49;
  background-color: #d6eab7;
  border-radius: 5px;
}

/* Arrow pointer to popup */
.list-group-item .popup-box::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
   left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #070e09 transparent transparent;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.category-sidebar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  height: auto;
  /* max-height: 400px;  */
  overflow-y: visible;
  display: none;
  transition: top 0.3s ease-in-out;
}
.category-sidebar.active {
  display: block;
  top: 0;
}
/* end sider bar */
.carousel-item {
  position: relative;
  text-align: center;
}

.carousel-item .text-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.carousel-item .text-content h1 {
  font-size: 32px;
  font-weight: bold;
  color: #ffcc00;
}

.carousel-item .text-content h3 {
  font-size: 24px;
  color: #f8f9fa;
}

.carousel-item .text-content p {
  font-size: 18px;
  color: #ddd;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .currency-select-wrapper .currency-selected .currency-text {
        display: none;
    }

    /* To hide the arrow in the main currency selector */
    .currency-select-wrapper .currency-selected .fa-chevron-down {
        display: none;
    }

    /* NEW RULE: To hide the text inside the dropdown list itself */
    .currency-select-wrapper .currency-options .language-text {
        display: none;
    }

    .main-nav {
        display: none;
    }
    .category-sidebar-toggle {
        display: none !important;
    }
    .navbar {
        margin: auto  !important;
    }
    .logo img{
        width: 120px;
    }
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}
/* nav and sidebar */


  .col-md-6 .active{
    font-weight: bold;
    color: #28a745 ;
  }
  .products {
    margin-right: 5px;
    border-bottom: 2px solid rgb(2, 46, 2);
    display: inline-block;
    padding-bottom: 5px;
  }

  .tab-link {
    text-decoration: none;
    font-size: 18px;
    margin-right: 10px;
    color: #525251;
  }

  .nav-arrows {
    display: flex;
    gap: 10px;
    font-size: 20px;
    align-items: center;
    justify-content: flex-end !important;
    width: 100%;
  }

  .nav-arrows i {
    color: #9e9e92;
    border-radius: 50%;
    padding: 8px;
    transition: 0.3s;
    cursor: pointer;
  }

  .nav-arrows i:hover {
    background: #f3f2f0;
    color: black;
  }

  .products-group {
    display: none;
  }

  .products-group.active {
    display: block;
  }

  .product-card {
    position: relative;
    overflow: visible;
    z-index: 1;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: height 0.3s ease-in-out, transform 0.3s ease-in-out, z-index 0s ease-in-out;
    /* box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.1), 4px 0px 8px rgba(0, 0, 0, 0.1), -4px 0px 8px rgba(0, 0, 0, 0.1); */
  }

  .product-overlay {
    position: absolute;
    top: 100%; /* ينزل تحت الكرت */
    left: 0;
    right: 0;
    background-color: white;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
  }

  .product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(10px); /* نزل شويه */

  }


  .product-card:hover {
    z-index: 1000;
    transform: scale(1.05);
  }

  .product-card:hover .product-overlay {
    max-height: 200px; /* حسب ما يناسب المحتوى */
    padding: 15px;
  }

  .product-image {
    position: relative;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .discount-circle {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 1;
  }

  .product-details {
    padding: 15px;
    text-align: center;
  }

  .name-category {
    font-weight: bold;
    margin-bottom: 5px;
  }

  .category {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 10px;
  }

  .price {
    font-size: 1.1em;
  }

  .old-price {
    color: #999;
    text-decoration: line-through;
    margin-right: 5px;
  }

  .product-overlay {
    padding: 0px;
    text-align: center;
    max-height: 0; /* إخفاء الأوفرلاي افتراضيًا */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  }

  .product-card:hover .product-overlay {
    max-height: 500px; /* أو أي قيمة مناسبة لطول المحتوى */
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .product-description {
    margin-bottom: 15px;
    color: #333;
    /* لا حاجة لإخفائه بشكل منفصل إذا كان داخل الأوفرلاي المخفي */
  }

  .product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-actions i {
    font-size: 1.2em;
    margin: 0 10px;
    color: #555;
  }

  .product-actions button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }

  .product-actions button:hover {
    background-color: #1e7e34;
  }

  .left-icon, .right-icon {
    font-size: 1.5em;
  }

  .left-icon {
    margin-right: auto;
  }

  .right-icon {
    margin-left: auto;
  }

  .product-actions button {
    margin: 0 10px;
  }



.footer {
    background-color: #2f5a2a;
}
.footercontainer {
    width: 100%;
    /* padding: 25px 30px 20px; */
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.social-icons a i {
    font-size: 30px;
    text-align: center;
    opacity: 0.9;
    color: white;
}

.social-icons a:hover {
    background-color: #2f5a2a;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.social-icons a:hover i {
    color: #ffcc00;
    transition: 0.5s;
}

.footernav {
    margin: 30px 0;
}

.footernav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footernav ul li a {
    color: rgb(255, 255, 255);
    margin: 20px;
    font-size: 30px;
    opacity: 0.7;
    transition: 0.5s;
}

.footernav ul li a:hover {
    opacity: 1;
}

.footerbootem {
    background-color: white;
    /* margin-top: 20px; تعديل الهامش العلوي */
    padding: 20px 0;
    color: white; /* إضافة لون نص افتراضي إذا لزم الأمر */
}

.footerbootem .logo img {
    width: 150px;
    height: auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.footerbootem .buy {
    display: flex;
    justify-content: flex-end; /* لمحاذاة الصور إلى اليمين في الشاشات الكبيرة */
    align-items: center; /* لمحاذاة الصور عموديًا */
}

.footerbootem .buy img {
    height: auto;
    margin-left: 21px;

    transition: transform 0.3s ease;
}
.img-insta {
    width: 90px;
}

.img-pp {
    width: 104px;
}

.img-nbe {
    width: 100px;
}

.img-voda {
    width: 140px;
    margin-right: -25px;
}

.img-binance {
    width: 108px;
}

.footerbootem .logo img:hover,
.footerbootem .buy img:hover {
    transform: scale(1.1);
}

@media (max-width: 780px) {
    /* للحفاظ على الأيقونات الاجتماعية بجانب بعضها البعض */
    .social-icons {
        display: flex;
        justify-content: center;
    }

    /* لعرض عناصر القائمة footernav بشكل أفقي */
    .footernav ul {
        flex-direction: row; /* تم التغيير من column إلى row */
        flex-wrap: wrap; /* للسماح للعناصر بالنزول إلى سطر جديد إذا لم يكن هناك مساحة */
        justify-content: center;
        align-items: center;
    }
        .footernav ul li a {
        font-size: 10px;
    }

    .footernav ul li {
        width: auto; /* لعدم جعل كل عنصر يأخذ عرض 100% */
        text-align: center;
        /* margin: 7px; */
        padding: -1px;
    }

    /* للتحكم في الأيقونات الخاصة بالدفع */
    .footerbootem .buy {
        display: flex; /* لعرض الأيقونات بجانب بعضها البعض */
        flex-wrap: wrap; /* للسماح للعناصر بالنزول إلى سطر جديد */
        justify-content: center; /* توسيط الأيقونات أفقيًا */
        align-items: center;
        margin-top: 15px;
    }

    .footerbootem .buy img {
        margin: -13px -2px; /* تقليل الهوامش الجانبية */
        width: 40px; /* تقليل حجم الصور بشكل أكبر */
        height: auto;
    }

    .footerbootem .logo {
        margin-bottom: 15px;
        justify-content: center;
    }
}
