/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
/* ====== متغيرات الألوان والشعار ====== */
:root {
  --color-primary: #c8b072;          /* ذهبي خافت بدل الأزرق */
  --color-primary-dark: #a38f5a;     /* ذهبي داكن للتدرجات */
  --color-primary-light: #e0d3a5;    /* ذهبي فاتح للتدرجات */
  --color-primary-reverse: #bfa860;  /* نسخة أخرى للسكورول أو التأثير */
  --logo: url(https://ibb.co/Xk3NgmSn);
}

/* ====== القوائم ====== */
.main-menu {
  margin-right: 10rem !important;
}
.main-menu li.root-level > a {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
}
.main-menu span {
  font-size: 17px;
}
ul.hidden.lg:flex.items-center.rtl:pl-4.ltr:pr-4.whitespace-nowrap,
.hidden.lg:flex.items-center {
  display: flex !important;
}

/* ====== الخلفيات ====== */
.bg-gray-50,
.s-product-card-image {
  background-color: #fff !important;
}
body {
  max-width: 2000px;
  margin: auto;
  background: #fdfbfbfff1f1;
  background-size: cover;
  background-repeat: repeat;
  background-image: url('');
}

div#mainnav.bg-white {
  background: transparent;
}

/* ====== وصف المنتج ====== */
.product__description.p-2.sm:p-1.leading-7.mb-3 {
  color: #000000 !important;
  margin-bottom: 1.25rem;
  background-color: #f0f0f0;
  border-radius: 25px;
  padding: 40px;
}
.product__description ul,
.product__description li,
.product__description p {
  color: #000000;
}

/* ====== الأزرار ====== */
.s-button-wide {
  width: 100%;
  border-radius: 15px;
}
.s-button-primary-outline {
  fill: var(--color-primary);
  color: #fff;
  background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary)) !important;
}
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
  background: var(--color-primary);
  color: var(--infinte-color);
  box-shadow: 0 0 12px 0 var(--main-text-color);
}

/* ====== الفوتر ====== */
footer.store-footer {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0;
  background: linear-gradient(to right, #a38f5a, #c8b072, #e0d3a5);
  width: 100vw !important;
  left: 0;
  bottom: 0;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  z-index: 10;
}

footer.store-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 90px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="1" d="M0,192L80,176C160,160,320,128,480,128C640,128,800,160,960,160C1120,160,1280,128,1360,112L1440,96L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z"/></svg>') no-repeat top center;
  background-size: cover;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
}

footer.store-footer svg.footer-wave {
  display: none;
}

.footer-is-light .store-footer .store-footer__inner {
  background-color: transparent !important;
}
.footer-is-light .store-footer .social-link {
  width: 48px;
  height: 48px;
  margin: 8px;
  border-radius: 100%;
  background-color: white;
  color: #bfa860;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.footer-is-light .store-footer .social-link:hover {
  background-color: var(--color-primary);
  color: black !important;
  transform: scale(1.1);
}
.footer-is-light .store-footer .contact-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

footer.store-footer * {
  color: #000000 !important;
}
footer.store-footer .footer-list,
footer.store-footer .footer-logo,
footer.store-footer h3,
footer.store-footer p {
  display: none;
}

/* ====== عناوين الأقسام ====== */
.s-slider-block__title h2,
.s-block__title h2,
h2.mb-4.text-lg.font-bold.leading- {
  background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary)) !important;
  border-radius: 2rem 0rem 0rem 1rem;
  font-size: 20px !important;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 10px 10px 20px;
  margin-right: 15px;
  text-align: center;
}

/* ====== شريط التمرير ====== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb:vertical {
  height: 200px;
  background-color: var(--color-primary-reverse);
}
::-webkit-scrollbar-thumb:vertical:hover {
  background-color: #e0d3a5;
}
::-webkit-scrollbar-thumb:horizontal {
  width: 200px;
  background-color: rgba(125, 125, 125, 0.7);
}

/* ====== المنتجات ====== */
.s-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.s-product-card-vertical {
  flex: 1 2 80px;
  max-width: 350px;
  min-width: 140px;
  height: 350px;
  overflow: hidden;
  border: 2px solid #000000 !important;
  border-radius: 20px;
  box-shadow: 2px 2px 8px #FFFFFF;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: 0px !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.s-product-card-vertical:hover {
  box-shadow: 0 0 12px 2px rgba(200, 176, 114, 0.6);
  transform: translateY(-4px);
}

/* ====== زر واتساب (خدمة العملاء) ====== */
#whatsapp-button {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50px;
  padding: 0 10px;
  height: 44px;
  width: 130px;          /* منع الامتداد بعرض الشاشة */
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  color: white;
  font-size: 15px;
  font-family: Arial, sans-serif;
  text-decoration: none;
}
#whatsapp-button img {
  width: 26px;
  height: 26px;
}

/* ====== فقاعة الترحيب ====== */
.whatsapp-bubble {
  position: fixed;
  bottom: 72px;
  right: 20px;
  background: white;
  color: black;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.whatsapp-bubble.hide {
  opacity: 0;
}

/* ====== أقسام المتجر مع تأثير الضوء ====== */


.quick-links-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 40px;
  position: relative;   /* نثبت الطبقة */
  z-index: 10;          /* نخليها فوق البانر */
}

.quick-links-track a {
  flex: 0 0 auto;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;   /* حتى العناصر نفسها تنرفع */
  z-index: 11;
}

.quick-links-track {
  display: flex;
  gap: 15px;
  padding: 10px;
  align-items: flex-start;
}

.circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #a38f5a; /* لون مؤقت */
  margin-bottom: 8px;
  box-shadow: #000 ;
}
.quick-links-track a span {
display: block;
  font-size: 13px;
  color: #333;
  margin-top:120px;
}

.quick-links-track a:nth-child(1) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/0c8c3c0b-3906-4247-9838-a6e0457fbe6c-1000x1000-cDIQB0AXinerXc2F9yHWZtbPrLxGyRXStSFb2rL8.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.quick-links-track a:nth-child(2) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/da444e69-f3b1-4d52-b140-287e73c20633-1000x1000-MqyaNem5BpxUTaDwszboPSJJhss5v6i2MdaDwunX.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.quick-links-track a:nth-child(3) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/5678313e-e42d-4eaf-af77-41bad372f35d-1000x1000-dLQ2C0q3eG0QAsXiLbDXiESgJojFfKxo3dlYixQH.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}


.quick-links-track a:nth-child(4) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/1d476764-15c7-4bd3-ac9e-d679921e8b92-1000x1000-1PBvhGMJBOP21JHyBgyfzeo0vpSHwPzgfTAmHpf2.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}



.quick-links-track a:nth-child(5) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/92af25e3-8cb5-4f75-96c4-9bbbd7134ca9-1000x1000-LF2bjjRBcWKBezIBtfFsCEx0oNR0DK4rqlWIiG1W.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}


/* ... كررها إلى 12 */
.quick-links-track a:nth-child(7) {
  background-image: url("https://cdn.salla.sa/rAyQaZ/4454e0bf-eb1d-482f-a0f0-e5ba831bb4ee-1000x999-abL47ngcknsYqcSLtDSzhKoEQHDXJwP7cvh7Zxz8.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* ====== خانة البحث نفسها ====== */
input[type="search"], 
.search-bar, 
.search-container {
  background-color: #f9f6f1 !important;
  border: 1px solid #ddd !important;
  color: #000 !important;
  border-radius: 8px !important;
  padding: 10px !important;
}

/* ====== زر أضف للسلة ====== */
.s-button-wide {
  display: block !important;
  width: 100% !important;
  padding: 10px 0 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
}

/* في صفحة التصنيفات فقط: اجعل البطاقة تتمدد لتحتوي الزر */
.collection-page .s-product-card-vertical {
  height: auto !important;
  overflow: visible !important;
}

/* في الصفحة الرئيسية: حافظ على ارتفاع موحد للبطاقات */
.home-page



body, body * {
  color: #000000 !important;
}

/* استهداف الروابط السريعة الحالية (المربعات) */
.quick-links a, 
.quick-links div, 
.quick-links li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;              /* قطر الدائرة */
  height: 70px;
  border-radius: 50%;       /* تحويلها لدائرة */
  background: #000;         /* لون الدائرة */
  color: #fff !important;   /* لون النص/الأيقونة */
  text-decoration: none;
  margin: 10px;
  font-size: 20px;
  animation: moveLeft 15s linear infinite, spin 5s linear infinite;
}

/* الحركة المستمرة من اليمين لليسار */
@keyframes moveLeft {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-120vw); }
}

/* دوران الدائرة حول نفسها */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ====== الشريط العلوي ====== */
body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 50px; background-color: #000; z-index: 9998; }
body::after { content: "اشترِ بأكثر من 550 ريال واستخدم كوبون ( fard) لتحصل على خصم خاص مفاجئ على فاتورتك "; position: fixed; top: 0; left: 0; height: 50px; line-height: 50px; color: #fff; font-weight: bold; font-size: 1rem; white-space: nowrap; overflow: hidden; z-index: 9999; display: inline-block; padding-left: 100%; animation: scroll-text 15s linear infinite; }
@keyframes scroll-text { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } }
body { margin-top: 50px !important; }

/* ====== شارة الخصم ====== */
.discount-badge { position: absolute; top: 10px; right: 10px; background: #ff0000; color: #fff; padding: 5px 10px; font-weight: bold; border-radius: 5px; z-index: 999; }
.product-item img,
.product-card img,
.product-image img,
.product__image img {
  width: 100%;             
  height: 300px;            
  object-fit: cover;          
  border-radius: 10px;        
  transition: transform 0.3s ease;
}


.product-item img:hover,
.product-card img:hover,
.product__image img:hover {
  transform: scale(1.04);
}



/* إخفاء العنوان الفرعي في بطاقات المنتج */
.s-product-card-vertical .s-product-card-content-subtitle {
    display: none !important;
}



.s-button-wide {
display: block !important;
width: 80% !important;
padding: 10px 0 !important;
line-height: 1.4 !important;
text-align: center !important;
box-sizing: border-box !important;
margin-right: 8px  !important;
}


.s-product-card-vertical .s-button-wide {
left: calc(+55px) !important; /* ⬅️ إزاحة بسيطة نحو اليسار */
transform: translate(-50%, -4px)!important; /* رفع الزر قليلاً */
text-align: center !important;
padding: 4px 0 !important ;
}