/* Add custom CSS styles below */ 
/* ===============================
   Radar Social Proof – Jofab
   Optimized for UX + Conversion
   =============================== */

/* الحاوية العامة */
.radar-counter-area {
  margin: 16px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* صف المربعين */
.radar-counter-wrap {
  display: flex;
  gap: 10px;
}

/* المربع الأساسي */
.radar-box {
  flex: 1;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  border: 1px solid transparent;
}

/* عدد مرات الشراء – ثقة */
.radar-purple {
  background: linear-gradient(180deg, #101615, #0c1110);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08);
}

/* يشتري الآن – حركة */
.radar-green {
  background: linear-gradient(180deg, #1a1212, #120c0c);
  border-color: rgba(214, 40, 40, 0.42);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(214, 40, 40, 0.08);
}

.radar-box:hover {
  transform: translateY(-2px);
}

/* العنوان */
.radar-box span {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 700;
  line-height: 1.2;
}

.radar-purple span {
  color: #ead9a0;
}

.radar-green span {
  color: #f0c0c0;
}

/* الرقم */
.radar-box strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1;
}

/* عدد مرات الشراء – ذهبي */
.radar-purple strong {
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.18);
}

/* يشتري الآن – أحمر */
.radar-green strong {
  color: #ff4d4f;
  text-shadow: 0 0 10px rgba(255, 77, 79, 0.18);
  animation: pulseLive 1.8s infinite;
}

/* نبض خفيف */
@keyframes pulseLive {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===============================
   شريط آراء العملاء
   =============================== */

.radar-reviews-bar {
  width: 100%;
  background: #fffdf8;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.22s ease;
}

.radar-reviews-bar:hover {
  background: #fff9eb;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* النص */
.radar-reviews-title {
  font-size: 14px;
  font-weight: 900;
  color: #1c1c1c;
}

.radar-reviews-sub {
  font-size: 12px;
  color: #8b6a17;
  opacity: 0.95;
}

/* أيقونة النجمة */
.radar-reviews-icon {
  font-size: 17px;
  color: #d4af37;
  text-shadow: none;
}

/* ===============================
   موبايل – Social Proof
   =============================== */
@media (max-width: 480px) {
  .radar-box {
    padding: 11px 8px;
  }

  .radar-box strong {
    font-size: 21px;
  }

  .radar-box span {
    font-size: 11px;
  }

  .radar-reviews-title {
    font-size: 13px;
  }

  .radar-reviews-sub {
    font-size: 11px;
  }
}

/* ===============================
   Block titles
   =============================== */
.s-block__title h2 {
  text-align: center;
}
.s-block__title {
  justify-content: center;
}

.s-slider-block__title {
  justify-content: center;
}
.s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
  padding-left: 0rem;
}
.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *) {
  padding-left: 0rem;
}

/* ===============================
   Fixed banner
   =============================== */
section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  padding-left: 0px;
  padding-right: 0px;
  max-width: 100%;
}
@media (max-width: 991px) {
  section.s-block.s-block--fixed-banner.wide-placeholder .container {
    padding: 0;
  }
}
.banner--fixed img {
  background: none;
  border-radius: 0rem !important;
}

section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
  margin-top: 0px;
}

/* ===============================
   Header + User menu
   =============================== */
body:not(.index) .header-container.container {
  background: #3d3d3d;
}

.fixed-pinned .header-inner .header-container.container {
  background-color: #3d3d3d !important;
}

.s-user-menu-dropdown-item:not(.s-user-menu-dropdown-item-logout) a {
  background: #fff !important;
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #000;
  border-radius: 10px;
  gap: 1rem;
}

.s-user-menu-dropdown-item-prefix svg {
  fill: #ddb726;
}

.s-user-menu-dropdown-item:not(.s-user-menu-dropdown-item-logout) .s-user-menu-dropdown-item-prefix {
  border: 1px solid #ddb726;
  padding: 8px;
  border-radius: 3px;
  background: #000;
}

.s-user-menu-dropdown-item-prefix svg {
  margin-left: 0rem;
  margin-right: 0rem;
}

.s-user-menu-dropdown-item-title {
  color: #000 !important;
  font-weight: 600 !important;
}

.s-user-menu-dropdown-item.s-user-menu-dropdown-item-logout a {
  background: #fff;
  margin-bottom: 10px;
  border: 1px solid red;
  padding: 15px;
  border-radius: 10px;
  gap: 1rem;
}

.s-user-menu-dropdown-item.s-user-menu-dropdown-item-logout span {
  color: red !important;
}

/* ===============================
   Testimonials images
   =============================== */
#testimonials-5-slider .testimonial__avatar {
  width: 270px !important;
  height: 180px !important;
  min-width: 270px !important;
  min-height: 180px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  outline: 1px solid #c8921f;
  outline-offset: 2px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.20);
}

#testimonials-5-slider .testimonial__avatar .lazy__bg {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  #testimonials-5-slider .testimonial__avatar {
    width: 350px !important;
    height: 200px !important;
    min-width: 350px !important;
    min-height: 200px !important;
  }
}

/* =========================================================
   JOFAB SIDE TAB – LEFT / CLEAN / 2-STEP
   ========================================================= */

#oilFloatingBtn2 {
  position: fixed !important;
  z-index: 99998 !important;
  top: 50% !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;

  width: 180px !important;
  height: 52px !important;

  transform: translateY(-50%) translateX(-126px) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  padding: 8px 12px 8px 10px !important;

  background: #111a18 !important;
  border: 1px solid rgba(221,183,38,.35) !important;
  border-left: none !important;
  border-radius: 0 18px 18px 0 !important;

  box-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
  cursor: pointer !important;
  overflow: hidden !important;

  transition:
    transform .24s ease,
    background .18s ease,
    box-shadow .18s ease !important;

  font-size: 0 !important;
}

/* عند الفتح */
#oilFloatingBtn2.oil-tab-open {
  transform: translateY(-50%) translateX(0) !important;
}

#oilFloatingBtn2:hover {
  background: #172320 !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.26) !important;
}

/* نخفي النص القديم */
#oilFloatingBtn2 > span {
  display: none !important;
}

/* النجمة */
#oilFloatingBtn2::before {
  content: "✦";
  width: 34px;
  height: 34px;
  min-width: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;
  background: #ddb726;
  color: #111a18;

  font-size: 18px;
  font-weight: 900;

  box-shadow: 0 6px 16px rgba(221,183,38,.25);
  animation: oilStarPulse 1.5s ease-in-out infinite;
  transition: opacity .18s ease, width .18s ease, min-width .18s ease, margin .18s ease;
}

/* عند الفتح: تختفي النجمة */
#oilFloatingBtn2.oil-tab-open::before {
  opacity: 0;
  width: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

/* النص */
#oilFloatingBtn2::after {
  content: "اختاري الزيت المناسب";
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
  direction: rtl;
  text-align: right;
  flex: 1 1 auto;
}

/* بعد الفتح ياخذ النص المساحة كاملة */
#oilFloatingBtn2.oil-tab-open::after {
  width: 100%;
}

/* وميض النجمة */
@keyframes oilStarPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(221,183,38,.30);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(221,183,38,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(221,183,38,0);
  }
}

/* موبايل */
@media (max-width: 768px) {
  #oilFloatingBtn2 {
    width: 164px !important;
    height: 48px !important;
    transform: translateY(-50%) translateX(-114px) !important;
    border-radius: 0 16px 16px 0 !important;
    padding: 7px 10px 7px 9px !important;
    gap: 8px !important;
  }

  #oilFloatingBtn2.oil-tab-open {
    transform: translateY(-50%) translateX(0) !important;
  }

  #oilFloatingBtn2::before {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 16px;
    border-radius: 10px;
  }

  #oilFloatingBtn2::after {
    font-size: 12px;
  }
}

/* =========================================================
   Sticky Purchase Bar – تصغير الارتفاع + تحسين الوضوح
   ========================================================= */

#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\]{
  padding: 10px 12px !important;
  margin-top: 8px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.10) !important;
}

#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] .s-button-element,
#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] button{
  min-height: 42px !important;
  height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 14px !important;
  border-radius: 10px !important;
}

#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] .price-wrapper,
#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] .form-group,
#product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] .quantity-section{
  margin-bottom: 6px !important;
}

@media (max-width: 768px){
  #product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\]{
    padding: 8px 10px !important;
  }

  #product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] .s-button-element,
  #product-1245281081 > div.main-content.mob\:container.w-full.md\:w-1\/2.md\:pb-16 > form > section.sticky-product-bar.bg-white.da-bgg.p-5.mt-4.rounded-md.dark.bg-\[var\(--dark-bg-main\)\] button{
    min-height: 40px !important;
    height: 40px !important;
    font-size: 13px !important;
  }
}

/* ===============================
   GetButton / WhatsApp
   =============================== */

/* إجبار زر الواتساب يرتفع */
div[id^="gb-widget-"],
div[id^="gb-widget-"] > div{
  bottom: 45px !important;
}

/* موبايل */
@media (max-width:768px){
  div[id^="gb-widget-"],
  div[id^="gb-widget-"] > div{
    bottom: 100px !important;
  }
}
/* إخفاء شعار GetButton أسفل زر الواتساب */
div[id^="gb-widget-"] > a{
  display:none !important;
}