/* Add custom CSS styles below */ 
.ps-header__center .ps-logo .light-logo {
  width: 40px; /* حدد الحجم الذي ترغب به */
  height: 40px; /* اجعل الارتفاع يتناسب مع العرض */
}

/* Add custom CSS styles below */ 
.custom-main-normal .main-menu a {
  font-size: 14px !important;
}

/* Add custom CSS styles below */ 
.footer__payment img {
    width: 48px; /* العرض المناسب للأيقونة */
    height: 48px; /* الطول المناسب للأيقونة */
    object-fit: contain; /* للحفاظ على النسبة الأصلية للأيقونة */
    margin: 0 5px; /* إضافة مسافة بين الأيقونات */
}

.s-payments-list-item img {
    width: 50px !important; /* تعديل العرض حسب الحاجة */
    height: 50px !important; /* تعديل الطول حسب الحاجة */
    object-fit: contain; /* لضمان تناسب الصورة */
}

/* Add custom CSS styles below */
.ps-language-currency button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f8f8; /* لون الخلفية */
    border-radius: 50%; /* يجعلها دائرية */
    font-weight: bold;
    font-size: 14px;
    color: #333; /* لون النص */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid #ddd; /* إطار خفيف */
    padding: 0;
}

/* تحسين التصميم عند تمرير الماوس */
.ps-language-currency button:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* إخفاء الأيقونات والنصوص الأخرى */
.ps-language-currency i,
.ps-language-currency .language-currency {
    display: none !important;
}

/* Add custom CSS styles below */
.ps-header__right .menu-btn.mb-urger.mb-urger--collapse {
  display: flex !important;
  align-items: center !important;
}

.ps-header__right .menu-btn.mb-urger.mb-urger--collapse span {
  display: none !important; /* إخفاء كلمة "القائمة" */
}

/* Add custom CSS styles below */
/* توسيط اسم المنتج */
.s-product-card-content-title {
    text-align: center;
    display: flex;
    justify-content: center;
}

/* توسيط السعر */
.s-product-card-price {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.s-product-card-content-sub {
    display: flex;
    justify-content: center; /* توسيط أفقي */
    align-items: center; /* توسيط عمودي */
}

.s-product-card-price {
    text-align: center; /* توسيط النص داخل العنصر */
    width: 100%; /* جعل العنصر يمتد ليشمل العرض الكامل */
}

/* Add custom CSS styles below */
.s-button-element.s-button-btn.s-button-primary-outline {
    background-color: #bc2020 !important;
    border-color: #bc2020 !important;
    color: white !important; /* إذا كنت ترغب في تغيير لون النص أيضًا */
}

/* Add custom CSS styles below */
.top-bar {
  background-color: #333; /* لون الخلفية */
  color: white; /* لون النص */
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  transition: top 0.3s ease; /* تأثير التحرك عند التمرير */
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px; /* تحديد الحد الأقصى لعرض الشريط */
  padding: 0 20px;
}

.top-bar-content span {
  margin: 0 10px;
}

.social-links a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Media Query for smaller screens (الجوالات) */
@media screen and (max-width: 768px) {
  .top-bar {
    padding: 8px 0;
    position: relative; /* تغيير الوضعية للجوالات */
  }

  .top-bar-content {
    flex-direction: column; /* ترتيب المحتوى عمودياً في الجوال */
    align-items: center;
  }

  .social-links a {
    display: block;
    margin: 5px 0;
  }
}

/* Media Query for larger screens (الشاشات الكبيرة) */
@media screen and (min-width: 769px) {
  body {
    padding-top: 50px; /* المسافة بين الشريط العلوي وبقية المحتوى */
  }
}

.contact-link {
color: inherit; /* يجعل اللون متناسقًا مع باقي الروابط */
text-decoration: none; /* إزالة التسطير */
}

.contact-link:hover {
text-decoration: underline; /* إضافة تأثير عند التمرير */
}


@media (max-width: 768px) {
    .top-bar {
        font-size: 12px; /* تقليل حجم الخط */
        padding: 5px 10px; /* تقليل التباعد الداخلي */
        height: 30px; /* ضبط ارتفاع الشريط */
        line-height: 30px; /* ضبط ارتفاع النص */
        overflow: hidden; /* منع التمدد الزائد */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-bar div {
        display: inline-block;
        margin: 0 5px; /* تقليل المسافات بين العناصر */
    }
}

/* Add custom CSS styles below */
.vat-saudibusiness {
display: flex;
justify-content: flex-start;
}

/* Add custom CSS styles below */
.banners-catg-pages {
  text-align: center;
  margin-bottom: 20px;
}

.banners-catg-pages img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add custom CSS styles below */
.custom-old-price {
  font-size: 14px;
  color: #d9534f;
  text-decoration: line-through;
  text-align: center;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Add custom CSS styles below */
.s-add-product-button-mini-checkout-content button {
  display: block;
  width: 100%;
  text-align: center;
}

/* Add custom CSS styles below */
/* تصميم التبويبات */
.custom-product-tabs {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tabs {
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid #ddd;
  margin-bottom: 15px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  color: #555;
}

.tab.active {
  border-bottom: 3px solid #007bff;
  color: #007bff;
}

.tab:hover {
  color: #007bff;
}

.tab-content {
  padding: 10px 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* شكل المميزات بعلامة الصح */
.product-features p {
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

/* تحسين شكل الفيديو */
#video-tab iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Add custom CSS styles below */
/* الشريط العلوي */
.top-bar {
    background-color: #595958;
    color: white;
    padding: 10px 0;
    border-bottom: 1px solid #555;
    font-family: 'Tajawal', sans-serif; /* مطابق لموقع قمرة */
    font-size: 14px;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    transition: top 0.3s ease;
}

/* المحتوى */
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* الروابط */
.top-link, .social-icon {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.top-link:hover, .social-icon:hover {
    text-decoration: underline;
}

/* للجوال */
@media screen and (max-width: 768px) {
    .top-bar {
        padding: 8px 0; /* مسافة داخلية أعلى وأسفل */
        height: 40px; /* زيادة الارتفاع قليلاً */
    }
   
    .top-bar {
        position: relative;
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .links {
        margin-bottom: 5px;
    }

    .social-links a {
        font-size: 14px;
        margin: 0 3px;
    }
}
/* Add custom CSS styles below */
/* ضبط المسافة دون التأثير على العناصر */
.s-breadcrumb-wrapper {
    padding-top: 15px; /* بدلاً من margin لتجنب التأثير على العناصر */
    z-index: 1000;
}

/* التأكد من أن القائمة العلوية تبقى فوق */
.main-menu { 
    position: relative;
    z-index: 1100;
}

/* Add custom CSS styles below */
/* تداخل القائمة */
.ps-header .ps-header__search {
  position:relative;
  z-index:9999;
}

/* Add custom CSS styles below */
/* تنسيق موحد للكروت */
.s-product-card-content-sub {
  font-size: 13px;
  line-height: 1.5;
  padding-top: 5px;
}

.s-product-card-content-sub .tax-note {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.s-product-card-content-sub .product-extra-details {
  margin-top: 5px;
}

.s-product-card-content-sub .save-amount {
  font-size: 12px;
  color: #e53935;
  font-weight: bold;
}

.s-product-card-content-sub .discount-badge {
  background: #fbe9e7;
  color: #d32f2f;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
  margin-top: 4px;
}

.s-product-card-sale-price h4 {
  color: #e53935 !important;
  font-weight: bold;
}

.s-product-card-sale-price .custom-old-price {
  color: #444;
  font-size: 13px;
  text-decoration: line-through;
}

/* Add custom CSS styles below */
/* انيميشن الظهور */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تنسيق شحن مجاني */
/* انيميشن الظهور */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تنسيق شحن مجاني */
.free-shipping-sticker {
  background-color: #d4edda;
  color: #2e7d32;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: fadeSlideIn 0.5s ease forwards;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

/* أيقونة الشحن */
.free-shipping-sticker i {
  font-size: 14px;
}

/* Add custom CSS styles below */
.custom-notify-button {
  margin-top: 10px;
  background-color: #4caf50 !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.custom-notify-button:hover {
  background-color: #43a047 !important;
}

/* Add custom CSS styles below */
@media (min-width: 768px) {
  .menu-btn {
    display: none !important;
  }
}