/* ==============================
   OIL CITIES — Simple Clean UI
   ============================== */

/* ألوان أساسية */
:root {
  --primary: #053863;
  --primary-dark: #053863;
  --accent: #d4a437;

  --text-main: #111827;
  --text-muted: #6b7280;
}


/* ===== خلفية الموقع ونص عام ===== */
body {
  background: #ffffff !important;
  color: var(--text-main);
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* إزالة أي خلفيات ملونة للأقسام الأساسية */
.s-block,
.s-block--logos-slider,
.s-block--full-bg {
  background: transparent !important;
}






/* شريط النافبار الرئيسي */
#mainnav.main-nav-container {
  background: var(--primary) !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 0 !important;
}


/* الشعار */
.navbar-brand img {
  max-height: 44px !important;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.25));
}

/* أيقونة الحساب */
.header-btn__icon {
  color: #ffffff !important;
  font-size: 22px !important;
}

/* أيقونة القائمة (3 خطوط) */
.mburger .sicon-menu {
  color: #ffffff !important;
  font-size: 26px !important;
}

/* أيقونة السلة */
.s-cart-summary-icon {
  color: #ffffff !important;
  font-size: 22px !important;
}

/* النقطة الحمراء حق عدد المنتجات تبقى كما هي */

/* =========================
   أيقونة البحث الصغيرة مثل المثال
   ========================= */

/* نرجّع البحث لكن نخليه أيقونة فقط ونحركه لليسار بجانب السلة تقريبًا */
.header-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 30;
}




/* شكل الأيقونة */
.header-search .s-search-icon-wrap,
.header-search .s-search-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.header-search .s-search-icon svg,
.header-search .s-search-icon i {
  color: #ffffff !important;
  width: 20px !important;
  height: 20px !important;
}

.header-search:hover {
  opacity: 0.8;
}

/* =========================
   عناوين الأقسام
   ========================= */

.s-block__title h2,
.section-title,
h1, h2, h3 {
  color: var(--text-main) !important;
  font-weight: 800;
  font-size: 22px;
}

/* =========================
   البراندات — بدون صناديق
   ========================= */

.brand-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.brand-item img {
  max-height: 70px;
  width: auto;
}

.brand-item:hover {
  transform: scale(1.05);
}

/* =========================
   كروت المنتجات — بدون خلفية
   ========================= */

/* إزالة الصندوق والخلفية */
.s-product-card-entry {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* صورة المنتج بدون خلفية صندوق */
.s-product-card-image {
  background: transparent !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
}

.s-product-card-image img {
  max-height: 180px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.2s ease;
}


/* محتوى المنتج بدون صندوق */
.s-product-card-content {
  background: transparent !important;
  border: none !important;
  padding: 4px 0 8px !important;
}

/* اسم المنتج */
.s-product-card-content-title a {
  color: var(--text-main) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* السعر */
.s-product-card-price {
  color: var(--accent) !important;
  font-size: 20px;
  font-weight: 800;
}

/* نصوص فرعية (إن وجدت) */
.s-product-card-content-sub span,
.s-product-card-content-sub h4 span {
  color: var(--text-muted) !important;
}

/* زر إضافة للسلة */
.s-product-card-content-footer {
  padding: 0 0 8px !important;
}

.s-product-card-content-footer .s-button-element {
  border-radius: 999px !important;
  border-width: 1.5px !important;
  border-color: var(--primary) !important;
  background: #ffffff !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease;
}

.s-product-card-content-footer .s-button-element .sicon-shopping-bag {
  margin-inline-end: 4px;
}

.s-product-card-content-footer .s-button-element:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(5,56,99,0.35);
  transform: translateY(-1px);
}



.top-navbar {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}













/* 9) FOOTER */
footer,
.site-footer {
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  margin-top: 3rem !important;
  padding: 2.5rem 1.5rem 1.5rem !important;
  border-radius: 26px 26px 0 0 !important;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.15) !important;
}

footer > div,
.site-footer > div {
  max-width: 1200px;
  margin: 0 auto;
}

footer h3,
.site-footer h3,
footer .title,
.site-footer .title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  color: #FFFFFF !important;
}

footer p,
footer a,
.site-footer p,
.site-footer a {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}

footer a:hover {
  color: var(--accent) !important;
}

footer .contact-item,
.site-footer .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

footer .contact-item .icon,
.site-footer .contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: var(--accent) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary) !important;
}

footer .store-info,
.site-footer .store-info {
  max-width: 260px;
  line-height: 1.7;
}

footer .cr-number,
.site-footer .cr-number {
  margin-top: 0.75rem;
  font-weight: 700;
}

footer .payment-methods,
.site-footer .payment-methods {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

footer .copyright,
.site-footer .copyright {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #e9f3ff !important;
}

.footer-is-light .store-footer .store-footer__inner {
  background-color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}




<!-- From Uiverse.io by andrew-demchenk0 --> 
<div class="card">
    <div class="card-img"><div class="img"></div></div>
    <div class="card-title">Product title</div>
    <div class="card-subtitle">Product description. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</div>
    <hr class="card-divider">
    <div class="card-footer">
        <div class="card-price"><span>$</span> 123.45</div>
        <button class="card-btn">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="m397.78 316h-205.13a15 15 0 0 1 -14.65-11.67l-34.54-150.48a15 15 0 0 1 14.62-18.36h274.27a15 15 0 0 1 14.65 18.36l-34.6 150.48a15 15 0 0 1 -14.62 11.67zm-193.19-30h181.25l27.67-120.48h-236.6z"></path><path d="m222 450a57.48 57.48 0 1 1 57.48-57.48 57.54 57.54 0 0 1 -57.48 57.48zm0-84.95a27.48 27.48 0 1 0 27.48 27.47 27.5 27.5 0 0 0 -27.48-27.47z"></path><path d="m368.42 450a57.48 57.48 0 1 1 57.48-57.48 57.54 57.54 0 0 1 -57.48 57.48zm0-84.95a27.48 27.48 0 1 0 27.48 27.47 27.5 27.5 0 0 0 -27.48-27.47z"></path><path d="m158.08 165.49a15 15 0 0 1 -14.23-10.26l-25.71-77.23h-47.44a15 15 0 1 1 0-30h58.3a15 15 0 0 1 14.23 10.26l29.13 87.49a15 15 0 0 1 -14.23 19.74z"></path></svg>
        </button>
    </div>
</div>



/* إجبار الهيدر على تغطية مساحة الـ safe-area فوقه */
.store-header {
  background: var(--primary) !important;
  padding-top: env(safe-area-inset-top) !important;
  margin-top: 0 !important;
}

/* إلغاء أي خلفية بيضاء من أعلى الصفحة */
html, body, .app-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #ffffff !important;
}

/* بعض قوالب سلة تضيف DIV أبيض فوق الهيدر — نلغي لونه */
.store-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: env(safe-area-inset-top);
  background: var(--primary) !important;
  z-index: -1;
}














/* معالجة مساحة الايفون (Dynamic Island) */
.store-header {
  padding-top: constant(safe-area-inset-top) !important;
  padding-top: env(safe-area-inset-top) !important;
  background: var(--primary) !important;
}

/* منع ظهور الخلفية البيضاء فوق الهيدر */
html, body {
  background-color: var(--primary) !important;
}

/* أحياناً سلة تضيف margin أول الصفحة */
.app-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* زر إضافة للسلة — الكتابة باللون الأسود */
.s-button-element.s-button-primary .s-button-text {
  color: #000000 !important;
}

/* لو فيه أيقونة داخل الزر نخليها سوداء */
.s-button-element.s-button-primary svg,
.s-button-element.s-button-primary i {
  color: #000000 !important;
  fill: #000000 !important;
}
/* زر أتمم الطلب */
.cart-checkout .s-button-element .s-button-text,
.cart-summary__footer .s-button-element .s-button-text {
  color: #000000 !important;
}
/* جعل علامة + سوداء داخل أي SVG */
.product-quantity svg path,
.quantity-input svg path,
.s-quantity-input svg path {
  fill: #000000 !important;
  color: #000000 !important;
  stroke: #000000 !important;
}
/* علامة - سوداء */
.product-quantity button,
.quantity-input button,
.s-quantity-input button {
  color: #000000 !important;
  border-color: #000000 !important;
}
/* زر إضافة للسلة — أسود بالكامل */
.s-button-element.s-button-primary .s-button-text,
.s-button-element.s-button-primary svg,
.s-button-element.s-button-primary i,
.s-button-element.s-button-primary svg path {
  color: #000000 !important;
  fill: #000000 !important;
}
/* زر إضافة للسلة — دائرة + كتابة سوداء */
.s-button-element.s-button-primary {
  border: 2px solid #000000 !important;   /* دائرة سوداء */
  border-radius: 999px !important;        /* دائري بالكامل */
  background: #ffffff !important;         /* خلفية بيضاء */
  color: #000000 !important;              /* لون النص */
}

/* النص بداخل الزر */
.s-button-element.s-button-primary .s-button-text {
  color: #000000 !important;
  font-weight: 700 !important;
}

/* أيقونات داخل الزر */
.s-button-element.s-button-primary svg,
.s-button-element.s-button-primary svg path,
.s-button-element.s-button-primary i {
  color: #000000 !important;
  fill: #000000 !important;
}


/* إصلاح ظهور البحث في الهيدر */
.header-search {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  flex: 1 1 auto !important; /* يخليه يتمدد في الهيدر */
}

/* نتأكد إن عنصر البحث نفسه ظاهر */
.header-search salla-search,
.header-search .s-search-container,
.header-search .s-search-input-wrapper {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* إذا الأيقونة فقط ظاهرة، نخلي فيها مساحة حولها */
.header-search .s-search-icon-wrap {
  margin-inline-start: 0 !important;
}
/* إلغاء إخفاء الشريط العلوي الي فيه البحث */
.top-navbar {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  padding: 0.35rem 0 !important;
  margin: 0 !important;
  background: var(--primary) !important;
}


.s-cart-summary-total {
    font-weight: 600;
    --tw-text-opacity: 1;
    color: ffffff;
    color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}


/* إخفاء قسم التعليقات بالكامل */
.s-comments,
.s-comments-container,
.s-comments-product,
salla-comment-form,
salla-reviews-summary {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

















/* ====== فوتر سنترال احترافي OIL CITIES ====== */

/* الكونتينر كامل */
.store-footer__inner .container {
    text-align: center !important;
}

/* عناوين الفوتر */
.store-footer__inner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff !important;
}

/* نص الوصف تحت شعار أويل سيتيز */
.store-footer__inner p {
    text-align: center !important;
    color: #e5e7eb !important;
    line-height: 1.8;
    margin: 0 auto;
}

/* ترتيب روابط القائمة السنترالية */
.s-menu-footer-list,
.s-contacts-list {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    align-items: center !important;
}

/* الروابط */
.s-menu-footer-list a,
.s-contacts-item {
    color: #d4d7db !important;
    font-size: 15px;
    transition: 0.25s;
}

.s-menu-footer-list a:hover,
.s-contacts-item:hover {
    color: #ffffff !important;
    transform: translateX(-3px);
}

/* عناصر تواصل معنا */
.s-contacts-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* الأيقونات */
.s-contacts-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff !important;
}

/* الشهادات (السجل التجاري وغيره) */
.s-trust-badges-wrapper {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

/* أيقونات التطبيقات */
salla-apps-icons {
    display: flex !important;
    justify-content: center !important;
}

/* سوشيال ميديا */
.s-social-list {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
}
/* إجبار عنوان الفوتر يكون سنترال */
.store-footer__inner h3 {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.store-footer__inner {
    border-bottom: 0.01px hsla(0, 0%, 100%, .1);
    border-style: dashed;
    --tw-bg-opacity: 1;
    background-color: #1d1f1f;
    background-color: rgba(29, 31, 31, var(--tw-bg-opacity, 1));
    padding-bottom: 0rem;
    padding-top: 0rem;
}


/* ضبط عمود أويل سيتيز في الفوتر — يكون سنترال فعلاً على اللابتوب */

/* نخلي العمود نفسه سنترال */
.store-footer__inner .lg\:col-span-2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 !important;
}

/* صندوق النص تحت العنوان */
.store-footer__inner .lg\:col-span-2 .max-w-sm {
  max-width: 480px;
  margin: 0 auto !important;
  text-align: center !important;
}

/* الفقرة اللي فيها ql-align-right نجبرها سنترال */
.store-footer__inner .lg\:col-span-2 p.ql-align-right {
  text-align: center !important;
}

/* عنوان "أويل سيتيز" */
.store-footer__inner .lg\:col-span-2 h3 {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 12px auto !important;
}

/* السجل التجاري يكون سنترال تحت النص */
.store-footer__inner .lg\:col-span-2 .flex.gap-4 {
  justify-content: center !important;
}








/* جعل الايقونات بيضاء */
header .s-cart-block,
header .s-user-block,
header .salla-ui-badge,
header .s-cart-icon,
header .sicon-user,
header .sicon-cart,
header .sicon-heart,
header .s-button-element i {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* رقم السلة */
header .s-cart-count,
header .s-cart-badge {
    color: #ffffff !important;
}

/* الايميل */
header .contact-social,
header .contact-social a,
header .contact-social span,
header .contact-social .unicode {
    color: #ffffff !important;
}

/* الروابط اللي فوق (اسم المستخدم) */
header a {
    color: #ffffff !important;
}


/* ===== ضبط الفوتر على اللابتوب (ديسكتوب) ===== */
@media (min-width: 1024px) {

  /* نخلي الكونتينر في النص وبعرض معقول */
  .store-footer__inner .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  /* كل عمود في الفوتر: العنوان وتحتـه المحتوى على شكل عمود */
  .store-footer__inner .container > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px;
  }

  /* عمود أويل سيتيز */
  .store-footer__inner .lg\:col-span-2 {
    align-items: center !important;
    text-align: center !important;
  }

  .store-footer__inner .lg\:col-span-2 .max-w-sm {
    max-width: 430px;
    margin: 0 auto !important;
    text-align: center !important;
  }

  /* السجل التجاري تحت النص وبالوسط */
  .store-footer__inner .lg\:col-span-2 .flex.gap-4 {
    justify-content: center !important;
  }

  /* عمود روابط مهمة وعمود تواصل معنا نفس الأسلوب */
  .store-footer__inner h3 {
    margin-bottom: 10px;
  }
}




/* ====== توزيع فوتر 3 أعمدة بالضبط مثل المطلوب ====== */
@media (min-width: 1024px) {

  /* توزيع الأعمدة يمين – وسط – يسار */
  .store-footer__inner .container {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    text-align: right !important;
    gap: 40px !important;
    align-items: flex-start !important;
  }

  /* العمود الأول: أويل سيتيز */
  .store-footer__inner .lg\:col-span-2 {
    grid-column: 3 / span 1 !important; /* يمين */
    text-align: right !important;
    align-items: flex-start !important;
  }

  /* الوصف */
  .store-footer__inner .lg\:col-span-2 .max-w-sm {
    text-align: right !important;
    margin: 0 !important;
  }

  /* السجل التجاري */
  .store-footer__inner .lg\:col-span-2 .flex.gap-4 {
    justify-content: flex-start !important;
  }

  /* العمود الثاني: روابط مهمة */
  .store-footer__inner .container > div:nth-child(2) {
    grid-column: 2 !important;
    text-align: center !important;
    align-items: center !important;
  }

  .store-footer__inner .container > div:nth-child(2) h3 {
    text-align: center !important;
  }

  .s-menu-footer-list {
    align-items: center !important;
  }

  /* العمود الثالث: تواصل معنا */
  .store-footer__inner .container > div:nth-child(3) {
    grid-column: 1 !important; /* يسار */
    text-align: left !important;
    align-items: flex-start !important;
  }

  .store-footer__inner .container > div:nth-child(3) h3 {
    text-align: left !important;
  }

  .s-contacts-list {
    align-items: flex-start !important;
  }
}


/* ===== فوتر 3 أعمدة + دفعات تحتهم بطريقة مرتبة ===== */
@media (min-width: 1024px) {

  /* شبكة الفوتر العامة */
  .store-footer__inner .container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "brand links contact"
      "payments payments payments" !important;
    gap: 40px !important;
    align-items: flex-start !important;
  }

  /* كل الأعمدة تكون عمودية */
  .store-footer__inner .container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* ===== العمود الأول: أويل سيتيز (يمين) ===== */
  .store-footer__inner .container > div:nth-child(1) {
    grid-area: brand !important;
    text-align: right !important;
    align-items: flex-start !important;
  }

  .store-footer__inner .container > div:nth-child(1) h3 {
    text-align: right !important;
    margin-bottom: 8px !important;
  }

  .store-footer__inner .container > div:nth-child(1) .max-w-sm {
    max-width: 420px !important;
    margin: 0 !important;
    text-align: right !important;
  }

  .store-footer__inner .container > div:nth-child(1) p {
    text-align: right !important;
  }

  .store-footer__inner .container > div:nth-child(1) .flex.gap-4 {
    justify-content: flex-start !important;
  }

  /* ===== العمود الثاني: روابط مهمة (وسط) ===== */
  .store-footer__inner .container > div:nth-child(2) {
    grid-area: links !important;
    text-align: center !important;
    align-items: center !important;
  }

  .store-footer__inner .container > div:nth-child(2) h3 {
    text-align: center !important;
  }

  .s-menu-footer-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* ===== العمود الثالث: تواصل معنا (يسار) ===== */
  .store-footer__inner .container > div:nth-child(3) {
    grid-area: contact !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .store-footer__inner .container > div:nth-child(3) h3 {
    text-align: left !important;
  }

  .s-contacts-list {
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .s-contacts-item {
    gap: 8px !important;
  }

  /* ===== صف وسائل الدفع تحت الأعمدة ===== */
  .store-footer__inner salla-apps-icons {
    grid-area: payments !important;
    justify-self: center !important;
    margin-top: 10px !important;
  }










/* ===== إعلان ترويجي فوق الهيدر — بدون تثبيت ===== */

/* نضمن إن ما فيه مسافات غريبة فوق */
html,
body,
.app-inner,
.store-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* نخفي التوب نافبار الفاضي لو موجود */
.top-navbar,
.store-header-holder,
.header-holder,
.top-header,
.header-placeholder,
header:before {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

/* الشريط الترويجي يجي أعلى الهيدر مباشرة داخل تدفق الصفحة */
body:before {
  content: "خصم 30% على جميع منظفات السيارات – لفترة محدودة!";
  display: block;
  width: 100%;
  background: #d4a437;  /* الذهبي */
  color: #ffffff;        /* النص */
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 0;
  position: relative;    /* مهم: مو fixed */
  z-index: 1;
}