/* Add custom CSS styles below */
هل بامكانك عمل تعديل الcss هلى هذا الكود
.s-block {
  margin-top: 0;
}
salla-slider[type]:not(.hydrated) > div > div, salla-slider[type]:not(.hydrated) .swiper > div > div > div, .carousel-slider .swiper-wrapper > div {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

body {
  padding-top: 30px !important;
  margin-top: 0 !important;
}

#mainnav > div.inner.bg-inherit {
  top: 70px !important;
}

@media (max-width: 768px) {
  #mainnav > div.inner.bg-inherit {
    top: 98px !important;
  }
}

/* ===== تم استبدال هذا الجزء فقط ===== */
.gold-price-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #222;
  padding: 8px 10px;
  display: flex;
  gap: 10px;
  font-family: 'Cairo', sans-serif, Verdana, sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  user-select: none;
  overflow-x: visible; /* افتراضياً لا تمرير */
  white-space: nowrap;
  justify-content: center; /* توسيط المحتوى على الشاشات الكبيرة */
  -webkit-overflow-scrolling: touch;
}

/* إخفاء شريط التمرير (اختياري) */
.gold-price-bar::-webkit-scrollbar {
  display: none;
}
.gold-price-bar {
  scrollbar-width: none;
}

/* صناديق الأسعار */
.gold-price-bar > div {
  background: #333;
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  justify-content: center;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
}

.gold-price-bar .gold-icon {
  font-size: 16px;
  color: gold;
  flex-shrink: 0;
}

.gold-price-bar .price {
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.gold-price-bar .currency {
  margin-left: 3px;
  font-weight: 600;
  color: #ccc;
  flex-shrink: 0;
}

/* === عند الشاشات الصغيرة (<=600px) === */
@media screen and (max-width: 600px) {
  .gold-price-bar {
    overflow-x: auto;  /* تفعيل التمرير الأفقي */
    justify-content: flex-start; /* محاذاة المحتوى لليسار */
    gap: 10px;
    font-size: 13px;
    padding: 8px 10px;
  }
}
/* ===== نهاية الاستبدال ===== */

body {
  padding-top: 40px !important;
}

/* تكبير شعار الهيدر */
.w-24 {
  width: 150px !important;   /* غيّر الرقم حسب الحاجة */
  height: auto;
  transition: all 0.3s ease;
}

/* تكبير عند تمرير الماوس – اختياري */
.w-24:hover {
  transform: scale(1.2);
}

/* زوم على صورة المنتج الرئيسية عند المرور */
.product-gallery__image img {
  transition: transform 0.4s ease;
}

.product-gallery__image:hover img {
  transform: scale(1.3);
  cursor: zoom-in;
}

.gold-prices-table {
  width: 100%;
  max-width: 600px;
  margin: 40px auto;
  border-collapse: collapse;
  background-color: #fff;
  font-family: sans-serif;
  font-size: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.gold-prices-table th,
.gold-prices-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: center;
}

.gold-prices-table th {
  background-color: #000;
  color: #fff;
}

.gold-prices-table td.price-up {
  color: #1eaa6a;
}

.gold-prices-table td.price-down {
  color: #e03e3e;
}

.swal2-container {
  z-index: 10010 !important; /* أعلى من شريط الذهب */
}

/*المسافات*/
/* تقليل المسافات الرأسية والأفقية بين كروت المنتجات في كل الأقسام */
.product-list,
.products,
.section-products,
.collection-products,
.related-products,
.recommended-products {
  gap: 12px !important;
  row-gap: 12px !important;
  column-gap: 12px !important;
  margin: 0 auto !important;
  justify-content: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

/* ضبط المسافات داخل كل بطاقة منتج */
.product-item,
.product-card {
  margin: 0 !important;
  padding: 8px !important;
  box-shadow: none !important;
  flex: 0 1 calc(25% - 12px) !important; /* 4 منتجات في الصف */
}

/* للموبايل: منتجان في الصف */
@media (max-width: 768px) {
  .product-item,
  .product-card {
    flex: 0 1 calc(50% - 12px) !important;
  }
}

/* الفوتر */

/* === الفوتر العام بخلفية بيضاء وكيرف من المنتصف === */
footer {
  position: relative;
  background-color: #ffffff !important;
  padding: 60px 20px 40px;
  /**font-family: 'Tajawal', sans-serif !important;*//
  color: #000 !important;
  direction: rtl;
  overflow: hidden;
  border-top: none !important;
}

/* الكيرف */
footer::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 70px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 70"><path fill="%23ffffff" d="M0,70 C480,0 960,0 1440,70 L1440,0 L0,0 Z"/></svg>') no-repeat center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

/* محتوى الفوتر */
footer .row {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: right;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

footer .row > div {
  flex: 1 1 30%;
  min-width: 220px;
}

/* نصوص الفوتر */
footer p,
footer ul li,
footer ul li a {
  margin: 2px 0 !important;
  line-height:1.3 !important;
  font-size: 16px !important;
  color: #444 !important;
}

/* القوائم */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* الروابط */
footer ul li a {
  text-decoration: none !important;
  background: none !important;
  font-weight: 500;
  transition: none;
}

/* دمج واتساب والهاتف بسطر واحد */
footer ul:has(.sicon-iphone):has(.sicon-whatsapp2) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
}

footer ul li:has(.sicon-iphone),
footer ul li:has(.sicon-whatsapp2) {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 6px;
}

footer ul li i.sicon-iphone,
footer ul li i.sicon-whatsapp2 {
  font-size: 16px !important;
  color: #000 !important;
}

/* أيقونات التواصل */
footer a[href*="instagram"],
footer a[href*="snapchat"],
footer a[href*="tiktok"],
footer a[href*="facebook"],
footer a[href*="whatsapp"] {
  display: inline-block;
  font-size: 18px;
  margin: 4px;
  background: none !important;
  border: none !important;
  color: #000 !important;
}

footer a:hover {
  background: none !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* وسائل الدفع */
.s-payments-list {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px !important;
}

.s-payments-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-payments-list-item img {
  max-height: 26px !important;
  width: auto !important;
  height: auto !important;
  opacity: 0.8;
}

/* حقوق النشر */
footer p:contains("الحقوق محفوظة") {
  text-align: center !important;
  font-size: 12px !important;
  color: #777 !important;
  margin-top: 24px;
}

/* إخفاء زر العودة للأعلى */
.scroll-top,
.scroll-top-wrapper {
  display: none !important;
}
/* إظهار الرقم بجانب الأيقونتين دون تكرار */
footer ul li:has(.sicon-iphone) {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

footer ul li:has(.sicon-whatsapp2) {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

/* إخفاء الرقم من أحد العنصرين (مثل الواتساب) */
footer ul li:has(.sicon-whatsapp2) a {
  font-size: 0 !important;
  visibility: hidden !important;
}

/* نحافظ على الأيقونة فقط في الواتساب */
footer ul li:has(.sicon-whatsapp2) i {
  font-size: 18px !important;
  color: #000 !important;
  visibility: visible !important;
}

/* تنسيق الأيقونة والنص معاً في الهاتف */
footer ul li:has(.sicon-iphone) a {
  font-size: 16px !important;
  font-weight: bold;
  color: #000 !important;
  visibility: visible !important;
}
/* تمديد عرض العمود الأول */
footer .row > div:first-child {
  flex: 1 1 45% !important;
  min-width: 400px !important;
}

/* جعل حاوية النص تأخذ عرض كامل بمحاذاة بداية */
footer .row > div:first-child > div.flex.justify-center.md\:justify-start.items-center.md\:items-start {
  width: 130% !important;
  justify-content: flex-start !important;
}

/* ضبط فقرة النص */
footer .row > div:first-child > div.flex.justify-center.md\:justify-start.items-center.md\:items-start p {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  font-size: 14px !important;
  color: #444 !important;
}

.s-products-slider-card{
  margin-right: 10px;
}

salla-button .undefined,
.s-button-primary{
  background-color: transparent;
  color: black;
}
salla-button .undefined:hover ,
.s-button-primary:hover{
  background-color: yellow;
  color: black;
}


salla-mini-checkout-widget {
  background-color: red !important;
  border-radius: 0.75rem;
}

salla-mini-checkout-widget:hover {
  background-color: #000 !important;
  border-radius: 0.75rem;
}

salla-mini-checkout-widget div {
  color: white !important;
}

.kayan-promotion_title{
    background-color: #FFD700 !important;
    color: #000 !important;
}

salla-slider.photos-slider .swiper {
    padding-bottom: 0rem;
}

.s-block{
  margin-top: 0rem;
}

.ahlan-details-modal , .ahlan-container{
	display: none !important;
}

.s-cart-summary-count{
  background-color: red !important;
}