@media (min-width: 992px) {
  .js-drag-scroll {
    cursor: grab;
    user-select: none;
  }
  .js-drag-scroll:active,
  .js-drag-scroll.js-drag-scroll--active {
    cursor: grabbing;
  }
  .js-drag-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  .js-drag-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
  }
  .js-drag-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  .js-drag-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35);
  }
  .js-drag-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.06);
  }
}

.header-logo {
  width: auto;
  max-width: 180px;
  flex-shrink: 0;
}

/* شريط الموبايل (header-mobile-top + header-mobile-bottom) يظهر في الموبايل فقط */
@media (min-width: 992px) {
  .header-mobile-top,
  .header-mobile-bottom {
    display: none !important;
  }
}

.header-mobile-top {
  border-bottom: 1px solid #e5e5e5;
}

.search-header {
  padding: 11px 0;
}

.search-header .image-logo {
  padding: 0px;
  width: auto;
  max-height: 100%;
  position: relative;
  z-index: 1;
}

.search-header-bar {
  height: 64px;
  width: 100%;
  position: relative;
  justify-content: space-between;
  gap: 54px;
}

.search-header-bar > * {
  height: 100%;
}

.search-input > div {
  width: 100%;
}

.search-input-icon {
  position: absolute;
  font-size: 20px;
  top: 10px;
  left: 12px;
}

.rtl .search-input-icon {
  left: unset;
  right: 12px;
  top: 10px;
}

.search-input-input {
  padding-right: 44px;
  font-size: 16px;
  font-weight: 400;
}
.ltr .search-input-input {
  padding-left: 44px;
  min-height: max-content;
}
.ltr #header-all-cat-toggle svg{
  transform: rotate(180deg);
}
.ltr .header-all-cat-panel-inner {
  flex-direction: row-reverse;
}
.ltr .header-mobile-icon svg{
  transform: rotate(180deg);
}
.ltr .hero-slider .swiper-button-next.hero-slider-nav {
  right: 12px !important;
  left: unset !important;
}
.ltr .header-all-cat-col-header svg{
  transform: rotate(180deg);
}

.lg-search-div .search-input-input {
  border-radius: 90px; /* راديوس كبير مثل الصورة */
  border: 1px solid #939393;
  background-color: #fff;
  font-size: 14px; /* حجم خط أصغر مثل التصميم */
  color: #050505;
}

.lg-search-div .search-input-input::placeholder {
  color: #b0b0b0;
  font-size: 14px;
}

.search-input-input[data-open-search-modal] {
  cursor: pointer;
  caret-color: transparent;
}

.search-header-search-wrap .form-group,
.sm-search-div {
  cursor: pointer;
}

/* Desktop search header layout (matches design) */
.search-header-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.search-header-search-wrap {
  flex: 1 1 auto;
  max-width: 100%;
}

.search-header-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* LTR: text | search | logo */
.search-header-text {
  order: 1;
  font-size: 14px;
  color: #050505;
}
.search-header-search-wrap {
  order: 2;
}
.search-header-logo-wrap {
  order: 3;
}

/* RTL: logo | search | text */
.rtl .search-header-logo-wrap {
  order: 1;
}
.rtl .search-header-search-wrap {
  order: 2;
}
.rtl .search-header-text {
  order: 3;
}

.icon-shopping_cart_black_36dp-1-1,
.sm-search-icon > span {
  font-size: 32px;
}

.icon-shopping_cart_black_36dp-1-1 .path1:before {
  color: unset;
}

.icon-shopping_cart_black_36dp-1-1 .path2:before {
  color: unset;
}

.icon-language_black_24dp .path1:before {
  color: unset;
}

.cart-badge {
  position: absolute;
  right: 20px;
  top: -8px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: #ab0000;
}

.rtl .cart-badge {
  right: unset;
  left: 20px;
}

/* ===== New Header Layout ===== */

.header-custom-link-area {
  flex-shrink: 0;
  white-space: nowrap;
}

.header-custom-link,
.header-offers-trigger {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.header-custom-link {
  text-decoration: none;
  color: inherit;
  gap: 6px;
  font-size: 16px;
}

.header-custom-link:hover {
  text-decoration: none;
  opacity: 0.85;
}

.header-custom-link-text {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
  color: #050505;
  text-decoration: none;
}

/* Desktop Bottom Row */
.header-bottom-row-inner {
  height: 44px;
  align-items: stretch;
}

.header-mega-menu-wrap .main-nav-wrapper {
  height: 44px;
  overflow: visible;
}

/* 1. أيقونة القائمة الجانبية */
.header-slide-menu-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex-shrink: 0;
  color: inherit;
  font-size: 20px;
}

.header-slide-menu-btn:hover {
  opacity: 0.85;
}

.header-slide-menu-btn .icon-bars:before {
  color: inherit;
}

/* 2. دروب دون جميع الأقسام - نفس شكل الصورة: فتح بالـ hover، تصنيفات رئيسية عمودياً، فرعية عند المرور */
.header-all-cat-dropdown {
  flex-shrink: 0;
  position: relative;
}

.header-all-cat-toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}

.header-all-cat-toggle:hover {
  opacity: 0.9;
}

.header-all-cat-toggle:hover .header-all-cat-label,
.top-level-link.header-cat-item:hover {
  box-shadow: 0 2px 0 0 var(--primary-color);
  color: var(--primary-color);
}


.header-all-cat-chevron {
  margin-inline-start: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.header-all-cat-dropdown.open .header-all-cat-chevron {
  transform: rotate(180deg);
}

.header-all-cat-panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: calc(100vw - 100px);
  width: 100%;
  max-width: 100vw;
  max-height: 75vh;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 600;
  margin-top: 2px;
  display: none;
  color: #333;
}

.ltr .header-all-cat-panel {
  right: auto;
  left: 0;
}

.header-all-cat-dropdown.open .header-all-cat-panel {
  display: block;
}

.header-all-cat-panel-inner {
  display: flex;
  flex-direction: row;
  min-height: 280px;
}

.rtl .header-all-cat-panel-inner {
  flex-direction: row-reverse;
}

.header-all-cat-subcols {
  flex: 1;
  min-width: 0;
  padding: 10px;
  overflow-y: auto;
  max-height: 75vh;
  scrollbar-width: none;
}
.header-all-cat-subcol {
  width: 100%;
}
.header-all-cat-subcontent {
  display: none;
}

.header-all-cat-subcontent.active {
  display: block;
}

.header-all-cat-subcontent-inner {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.ltr .header-all-cat-subcontent-inner {
  flex-direction: row-reverse;
}

/* عناصر مخصصة لكل تصنيف (من submenu.headers): صور وروابط */
.header-all-cat-custom-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.header-all-cat-custom-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.header-all-cat-custom-item:hover {
  opacity: 0.9;
}

.header-all-cat-custom-item-img {
  display: block;
  width: 130px;
  height: 130px;
  overflow: hidden;
  background: #f0f0f0;
}

.header-all-cat-custom-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-all-cat-col-header {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  margin-bottom: 8px;
}

.header-all-cat-col-header:hover {
  color: var(--primary-color);
}

.header-all-cat-col-chevron {
  font-size: 14px;
}

.rtl .header-all-cat-col-chevron {
  transform: scaleX(-1);
}

/* قائمة التصنيفات الرئيسية (يمين في RTL) - عمودياً مع أيقونة */
.header-all-cat-primary-col {
  display: flex;
  flex-direction: column;
  width: 220px;
  max-height: 75vh;
  overflow-y: auto;
  flex-shrink: 0;
  background: #f9f9f9;
  scrollbar-width: none;
  border-inline-start: 1px solid #eee;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.header-all-cat-primary-col::-webkit-scrollbar {
  display: none;
}

.rtl .header-all-cat-primary-col {
  border-inline-start: 0;
  border-inline-end: 1px solid #eee;
}

.header-all-cat-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.header-all-cat-item-link .header-all-cat-item-label {
  flex: 1;
}

.header-all-cat-item-link:hover,
.header-all-cat-item-link.hover {
  color: var(--primary-color);
}

.header-all-cat-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-all-cat-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-all-cat-item-icon img.header-all-cat-default-img,
.header-all-cat-subitem-icon img.header-all-cat-default-img {
  object-fit: contain;
  padding: 4px;
}

.header-all-cat-item-icon-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
}

.header-all-cat-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-all-cat-sublist-li {
  margin-bottom: 4px;
}

/* رابط تصنيف فرعي: صورة + نص - 14px وزن 400 opacity 0.7 مع padding وحركة عند الـ hover */
.header-all-cat-subitem-link,
.header-all-cat-subitem-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0px;
  padding-inline-start: 0px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.header-all-cat-subitem-link:hover,
.header-all-cat-subitem-summary:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.rtl .header-all-cat-subitem-link:hover,
.rtl .header-all-cat-subitem-summary:hover {
  transform: translateX(-4px);
}

.header-all-cat-subitem-link:hover .header-all-cat-subitem-label,
.header-all-cat-subitem-link .header-all-cat-subitem-label:hover {
  color: var(--primary-color);
}

/* أيقونة دائرية للتصنيف الفرعي */
.header-all-cat-subitem-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-all-cat-subitem-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-all-cat-subitem-icon-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
}

.header-all-cat-subitem-label {
  flex: 1;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.header-all-cat-subitem-link:hover,
.header-all-cat-subitem-summary:hover {
  color: #333;
}

/* كولابس للتصنيفات اللي جواها فرعيات */
.header-all-cat-collapse {
  margin: 0;
}

.header-all-cat-collapse summary {
  list-style: none;
}

.header-all-cat-collapse summary::-webkit-details-marker {
  display: none;
}

/* أيقونة بلص/مينص للكولابس */
.header-all-cat-collapse-chevron {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #000;
  background: #f1f1f1;
  border-radius: 33px;
}

.header-all-cat-chevron-plus {
  display: inline-flex;
}
.header-all-cat-chevron-minus {
  display: none;
}
.header-all-cat-collapse[open] .header-all-cat-chevron-plus {
  display: none;
}
.header-all-cat-collapse[open] .header-all-cat-chevron-minus {
  display: inline-flex;
}

.header-all-cat-collapse-body {
  padding-inline-start: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
  max-height: 140px;
  overflow-y: auto;
  overflow-x: hidden;
  border-bottom: 1px solid #dddddd6e;
  border-top: 1px solid #dddddd6e;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.header-all-cat-collapse-body:active,
.header-all-cat-collapse-body.header-all-cat-collapse-body--active {
  cursor: grabbing;
}
.header-all-cat-collapse-body
  .header-all-cat-subitem-link
  .header-all-cat-subitem-label {
  font-size: 13px;
  font-weight: 400;
  color: #000;
  opacity: 0.6;
}
.header-all-cat-collapse-body::-webkit-scrollbar {
  display: none;
}

/* تصنيفات فرعية داخل فرعية - مسافة بادئة */
.header-all-cat-sublist .header-all-cat-sublist {
  padding-inline-start: 0;
  margin-top: 4px;
}

/* فواصل عمودية بين الأقسام */
.header-sep-v {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  margin: 0 4px;
}

.header-bottom-row-inner .header-sep-v {
  align-self: center;
}

/* 3. التصنيفات الرئيسية - نفس الشكل، فونت واحد، حجم واحد، مسافات واحدة، overflow-x: auto */
.header-categories-nav {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 44px;
}

.header-categories-list {
  display: flex !important;
  justify-content: unset !important;
  align-items: stretch;
  flex-wrap: nowrap;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-all-cat-subcols::-webkit-scrollbar {
  display: none;
}

.header-categories-list::-webkit-scrollbar {
  display: none;
}

.header-cat-item {
  display: inline-flex !important;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.header-cat-item > a {
  padding: 0 4px;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  height: auto;
}

.header-cat-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-cat-item .header-sep-v {
  margin: 0 2px;
  flex-shrink: 0;
}

.header-cat-item:last-child .header-sep-v {
  display: none;
}

.header-bottom-right {
  gap: 16px;
  height: 100%;
  align-items: center;
  padding-inline-start: 0;
  white-space: nowrap;
  flex-shrink: 0;
  order: 3;
}

.header-bottom-right .header-sep-v {
  margin: 0 4px;
}

.header-delivery-area {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  gap: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}

.header-delivery-area .header-cat-arrow {
  font-size: 12px;
  margin-inline-start: 2px;
}

.header-bottom-icon {
  font-size: 16px;
}

.header-language-area {
  font-size: 16px;
  white-space: nowrap;
  gap: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
}

.header-language-area .header-cat-arrow {
  font-size: 12px;
  margin-inline-start: 2px;
}

.header-lang-globe {
  font-size: 18px;
}

.header-lang-globe:before {
  color: inherit !important;
}

.header-lang-text {
  font-size: 14px;
  font-weight: 500;
}

.header-action-icons {
  gap: 16px;
  flex-direction: row-reverse !important;
  align-items: center;
}

.header-icon-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 22px;
  position: relative;
  color: inherit;
  white-space: nowrap;
}

.header-icon-btn__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-icon-btn__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #050505;
}

.header-icon-btn:hover {
  opacity: 0.8;
}

.header-icon-btn .cart-badge {
  position: absolute;
  right: -4px;
  top: -8px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: #ab0000;
}

.rtl .header-icon-btn .cart-badge {
  right: unset;
  left: -4px;
}

.header-bottom-right .icon-language_white:before {
  color: inherit !important;
}

.header-mobile-top-inner {
  padding: 6px 0;
}

.header-delivery-mobile {
  font-size: 16px;
  gap: 4px;
}

.header-mobile-bottom-inner {
  height: 56px;
}

.header-mobile-end-icons {
  gap: 16px;
  flex-shrink: 0;
}

.header-mobile-logo {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-mobile-logo .image-logo {
  max-height: 40px;
  width: auto;
}

.header-mobile-start-icons {
  gap: 16px;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.header-mobile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.header-mobile-icon:hover {
  text-decoration: none;
  color: inherit;
}

.header-mobile-icon .cart-badge {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: #ab0000;
}

.rtl .header-mobile-icon .cart-badge {
  right: unset;
  left: -6px;
}

.header-mobile-start-icons .icon-menu_open_black_24dp-1:before {
  color: inherit !important;
}

.ic.menu {
  text-align: left;
  position: relative;
  right: 4px;
}

.rtl .ic.menu {
  text-align: right;
  right: unset;
  left: 4px;
}

.rtl .icon-menu-top {
  margin-right: unset !important;
  margin-left: 10px !important;
}

.icon-menu-top > span {
  font-size: 32px;
}

.icon-menu_open_black_24dp-1:before {
  color: unset;
}

.sm-search-div {
  display: none;
  visibility: hidden;
  position: absolute;
  left: 0;
  padding: 0px 15px 20px 15px;
  width: 100%;
  background-color: var(--header-primary-color, var(--primary-color));
  transform: translateY(-100%);
  transition: all 0.3s ease;
  z-index: 1;
}

.sm-search-div.show {
  visibility: visible;
  transform: translateY(0%);
  -webkit-transform: translate3d(0, 0, 0);
}

.footer .apps-social-icons:nth-child(2) {
  padding-left: 0px;
}

.rtl .footer .apps-social-icons:nth-child(2) {
  padding-right: 0px;
  padding-left: 15px;
}

.footer .icons-wrapper {
  padding: 0px;
}

/* Footer layout: 5 columns web, stacked mobile (RTL) */
.footer-main-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
  align-items: center !important;
}
.footer-main-row .footer-footer-col {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
}
@media (min-width: 992px) {
  .footer-main-row .footer-footer-col {
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 0;

    &.footer-col-about {
      flex: 0 0 40%;
      max-width: 40%;
      padding-inline-end: 80px;

      @media screen and (max-width: 992px) {
        padding-inline-end: 0;
      }
    }
  }
}
.footer-store-section[dir="rtl"] .footer-main-row {
  direction: rtl;
}
.footer-store-section[dir="rtl"] .footer-main-row .footer-footer-col {
  text-align: right;
}

/* ===== Scroll to top button ===== */
.footer-scroll-to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #050505;
  border-radius: 50%;
  background: #fff;
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}
.footer-scroll-to-top svg{
  transform: rotate(180deg);
}

.footer-scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-scroll-to-top:hover,
.footer-scroll-to-top:focus {
  background: #050505;
  color: #fff;
  outline: none;
}

.footer-scroll-to-top i {
  font-size: 18px;
  line-height: 1;
}

.footer-back-to-top-wrap {
  margin-top: 1rem;
}

.footer-back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #050505;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-back-to-top-btn:hover,
.footer-back-to-top-btn:focus {
  background: #050505;
  color: #fff;
  outline: none;
}

.footer-back-to-top-btn i {
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 767px) {
  .footer-scroll-to-top {
    bottom: 16px;
    inset-inline-end: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ===== Footer mobile collapsible links (التصنيفات / روابط مهمة) ===== */
.footer-links-collapse {
  position: relative;
}

.footer-links-collapse-toggle {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  color: inherit;
  text-align: right;
}

.footer-links-collapse-title,
.footer-contact-social h2,
.footer-app-download h2 {
  font-size: 16px;
  font-weight: 500;
}
.footer-companies-content {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links-collapse-chevron {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-links-icon-plus {
  display: inline-block;
}
.footer-links-icon-minus {
  display: none;
}

.footer-links-collapse.is-open .footer-links-icon-plus {
  display: none;
}
.footer-links-collapse.is-open .footer-links-icon-minus {
  display: inline-block;
}

.footer-links-collapse-body {
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .footer-links-collapse-body {
    display: none;
  }
  .footer-links-collapse.is-open .footer-links-collapse-body {
    display: block;
  }
}

@media (min-width: 992px) {
  /* Desktop: always open, no collapse behavior */
  .footer-links-collapse-toggle {
    cursor: default;
  }
  .footer-links-collapse-chevron {
    display: none;
  }
  .footer-links-collapse-body {
    display: block !important;
  }
}

.footer-logo-wrap {
  margin-bottom: 1rem;
}
.footer-logo {
  display: block;
  height: 50px;
  object-fit: contain;
}
.footer-store-section[dir="rtl"] .footer-col-about .footer-logo-wrap {
  text-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media (max-width: 991px) {
  .footer-col-about .footer-logo-wrap {
    text-align: center;
  }
  .footer-col-about .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-contact-details p {
  margin-bottom: 0.5rem;
}
.footer-follow-title {
  font-size: 16px;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-contact-email .icon-envelope-secondary {
  margin-left: 4px;
}
.footer-store-section[dir="rtl"]
  .footer-contact-email
  .icon-envelope-secondary {
  margin-left: 0;
  margin-right: 4px;
}
.footer-col-app .footer-app-download .google-app-stores a {
  display: block;
}
.footer-col-app .footer-app-download .apps-social-icons {
  gap: 0.5rem;
}

.footer-payment-logos .logistics-pay-icons {
  justify-content: flex-end;
}
.footer-store-section[dir="rtl"] .footer-payment-logos .logistics-pay-icons {
  justify-content: flex-start;
}
.footer-legal-row.flex-lg-row {
  align-items: center;
}
.footer-legal-text {
  text-align: right;
}
.footer-store-section[dir="rtl"] .footer-legal-text {
  text-align: left;
}
@media (max-width: 991px) {
  .footer-main-row .footer-footer-col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .footer-main-row .footer-footer-col:not(:first-child) {
    border-top: 0;
    padding-top: 1rem;
  }
  .footer-store-section .footer-about-us-div {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  .footer-store-section[dir="rtl"] .footer-about-us-div {
    text-align: center;
  }
  .footer-store-section .footer-col-categories .footer-about-us-links-div,
  .footer-store-section .footer-col-links .footer-about-us-links-div {
    text-align: right;
  }
  .footer-store-section[dir="rtl"]
    .footer-col-categories
    .footer-about-us-links-div,
  .footer-store-section[dir="rtl"]
    .footer-col-links
    .footer-about-us-links-div {
    text-align: center !important;
  }
  .footer-col-categories{
    order: 20 !important;
  }
  .footer-col-contact {
    text-align: center;
  }
  .footer-col-app .footer-app-download .apps-social-icons {
    flex-direction: row !important;
}
.footer-col-contact{
  order: 2 !important;
}
.footer-follow-title{
  text-align: center !important;
  margin-top: 0 !important;
}
  .footer-store-section[dir="rtl"] .footer-col-contact {
    text-align: center !important;
  }
  .footer-social-block {
    justify-content: flex-start;
    display: none;
  }
  .footer-store-section[dir="rtl"] .footer-social-block {
    justify-content: center !important;
  }
  .footer-col-app {
    text-align: center;
  }
  .footer-store-section[dir="rtl"] .footer-col-app {
    text-align: center;
  }
  /* Mobile: contact and app side by side in one row */
  .footer-main-row .footer-col-contact,
  .footer-main-row .footer-col-app {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer-companies .footer-payment-logos .logistics-pay-icons {
    justify-content: center;
  }
  .footer-legal-text {
    text-align: center;
  }
  .footer-store-section[dir="rtl"] .footer-legal-text {
    text-align: center;
  }
  .footer-copyrights-vat-certificate .vat-crn-sections {
    justify-content: center;
  }
}

.slick-dotted.slick-slider {
  margin-bottom: 0px;
}

.main-slider .slick-dots {
  bottom: 12px;
}

.main-slider .slick-dots li button:before {
  font-size: 14px;
}

.features-section-img {
  max-height: 90px;
  max-width: 90px;
}

.slick-next.slick-arrow > span,
.slick-prev.slick-arrow > span {
  color: var(--primary-color);
  font-size: 3.3rem;
}

.category-item a,
.category-item img,
.card-item a,
.card-item img {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item img,
.card-item img {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: 100%;
}

.category-item h3,
.card-item h3 {
  margin-top: 15px;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  color: var(--primary-color);
  white-space: break-spaces;
}

.category-page-slider .category-item h3 {
  font-size: 1.2rem;
}

.categories-slider .category-item,
.cards-slider .card-item {
  width: 100%;
  max-width: 200px;
}

.slider-container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}
.container-fluid {
  max-width: 1900px;

  padding-right: 50px;
  padding-left: 50px;
}
.products-slider .prod-col,
.categories-slider .cat-col,
.cards-slider .card-col {
  display: block;
  width: auto;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.products-filter .filter-buttons-container-fluid {
  align-items: start;
  gap: 10px;
  width: 100%;
  justify-content: space-between;
}
.breadcrumb {
  background-color: transparent !important;
  padding: 0 !important;
}
.products-filter .btn-filter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 130px;
  border-radius: 0;
  background-color: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #000 !important;
  padding: 10px 25px;
}
.products-filter .btn-filter svg{
  vertical-align: middle;
}

.products-filter {
  column-gap: 16px;
  padding: 4px 0 10px;
}

.products-filter .filter-result,
.products-filter .filter-order {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #777777;
  margin-bottom: 4px;
}

.products-filter #products-list-sort span {
  font-size: 14px;
}

.products-filter .text-line-height {
  font-size: 14px;
}

.select-dropdown .dropdown-item {
  padding-bottom: 7.5px;
  padding-top: 7.5px;
  font-size: 14px;
  color: #000;
}
.icon-swap_vert:before,
.icon-filter-secondary:before {
  color: #000;
}

.select-dropdown.dropdown-menu {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 8px 0;
  margin-top: 4px;
  width: 100%;
}

@media (max-width: 575.98px) {
  .products-filter {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .products-filter .filter-block-width,
  .products-filter .sort-block-width {
    width: 100%;
  }

  .products-filter .btn-filter {
    width: 100%;
  }

  .select-dropdown.dropdown-menu {
    width: 100%;
    min-width: 0;
    left: 0 !important;
    right: 0 !important;
  }
}

#products-list-filter-form-close {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 0;
  top: 0;
}

.rtl #products-list-filter-form-close {
  right: unset;
  left: 0;
}

.products-pagination {
  margin-bottom: 24px;
  padding: 0 15px;
}

.products-pagination ul {
  padding: 0px;
}

.products-pagination .page-link {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.products-pagination .page-link.active {
  color: #ffffff;
  background-color: var(--primary-color);
}

.rtl .products-pagination .page-item:first-child .page-link {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.rtl .products-pagination .page-item:last-child .page-link {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.products-container-fluid .products-list {
  margin-bottom: 24px;
}

/* ===== Products grid layout (products & category pages) ===== */
.products-list.products-list--grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-left: 0;
  margin-right: 0;
  gap: 10px;
}

.products-list.products-list--grid .prod-col {
  width: 100%;
  padding: 0;
}

/* From screen < 1400px: 5 products per row */
@media (max-width: 1399.98px) {
  .products-list.products-list--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0 !important;
  }
}

/* From screen < 992px: 4 products per row */
@media (max-width: 991.98px) {
  .products-list.products-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* From screen < 768px: 3 products per row */
@media (max-width: 767.98px) {
  .products-list.products-list--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* From screen < 576px (down to ~320px): 2 products per row */
@media (max-width: 575.98px) {
  .products-list.products-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hide numbered pagination UI only on infinite-scroll wrappers */
.products-pagination-wrapper--infinite .products-pagination {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  display: none;
}

.products-pagination-wrapper--infinite {
  position: relative;
  max-width: 480px;
  margin: 8px auto 40px;
  padding: 0 16px;
}

/* ===== Infinite scroll status UI ===== */
.products-infinite-status {
  text-align: center;
  transition: opacity 0.25s ease;
}

.products-infinite-status__text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color, #333);
  letter-spacing: 0.01em;
}

.products-infinite-status__text span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.05rem;
}

.products-infinite-status__hint {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #888;
}

.products-infinite-status__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.products-infinite-status__bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 70%, #fff) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-infinite-status__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.products-infinite-status__loader[hidden] {
  display: none !important;
}

.products-infinite-status__spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2.5px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: products-infinite-spin 0.7s linear infinite;
}

@keyframes products-infinite-spin {
  to { transform: rotate(360deg); }
}

.products-infinite-status__done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.products-infinite-status__done[hidden] {
  display: none !important;
}

.products-infinite-status__done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.75rem;
  font-weight: 700;
}

.products-infinite-status__progress[hidden] {
  display: none !important;
}

.rtl .products-infinite-status__loader {
  flex-direction: row-reverse;
}

.rtl .products-infinite-status__done {
  flex-direction: row-reverse;
}

@media (max-width: 575.98px) {
  .products-pagination-wrapper--infinite {
    margin-bottom: 28px;
    padding: 0 12px;
  }

  .products-infinite-status {
    padding: 16px 18px;
    border-radius: 12px;
  }
}

.cart-header-total {
  margin-right: 10px;
  font-size: 1.6rem;
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

.rtl .cart-header-total {
  margin-right: unset;
  margin-left: 10px;
}

.box-1-1 {
  position: relative;
  width: 100%;
}

.box-1-1:before {
  content: "";
  display: block;
  padding-top: 100%; /* initial ratio of 1:1*/
}

.box-1-1 .content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Other ratios - just apply the desired class to the "box" element */
.box-1-1.ratio2_1:before {
  padding-top: 50%;
}
.box-1-1.ratio1_2:before {
  padding-top: 200%;
}
.box-1-1.ratio4_3:before {
  padding-top: 75%;
}
.box-1-1.ratio16_9:before {
  padding-top: 56.25%;
}

.box-1-1.ratio21_9:before {
  padding-top: 42.85%;
}

.product-item-out-of-stock {
  filter: grayscale(1);
}

.sm-search-div .autocomplete-items,
.lg-search-div .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container-fluid:*/
  top: 100%;
  left: 0;
  right: 0;
}

.sm-search-div .autocomplete-items div,
.lg-search-div .autocomplete-items div {
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.sm-search-div .autocomplete-items div:hover,
.lg-search-div .autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.sm-search-div .autocomplete-items div a,
.lg-search-div .autocomplete-items div a {
  padding: 10px;
  cursor: pointer;
  color: inherit;
  display: block;
}

.product-crd-spec {
  min-height: 81px;
}

.gallery-section + .gallery-section {
  padding-top: 0px;
}

.ic-menu-back {
  font-size: 22px;
  margin-right: 16px;
  font-weight: bold;
}

.rtl .ic-menu-back {
  margin-right: unset;
  margin-left: 16px;
}
.btn {
  color: #000;
}
.icons.social-apps-icons img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .products-filter .btn-filter {
    min-width: 140px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
  }
  .search-header {
    padding: 0px;
  }
  .search-header .image-logo {
    padding: 10px 0px;
    width: auto;
    max-height: 100%;
    position: relative;
    z-index: 1;
  }

  .footer .apps-social-icons:nth-child(2) {
    padding-left: 15px;
  }

  .rtl .footer .apps-social-icons:nth-child(2) {
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer .icons-wrapper {
    padding-bottom: 10px;
    padding-top: 10px;
    justify-content: center !important;

  }

  .footer-about-us-div {
    padding-right: 0;
  }
  .category-page-slider .categories-slider {
    height: 225px;
  }

  .categories-slider .category-item,
  .cards-slider .card-item {
    width: 190px;
  }

  .category-page-slider .categories-slider .category-item {
    width: 165px;
  }

  .category-page-slider .products-slider .prod-col,
  .categories-slider .cat-col,
  .cards-slider .card-col {
    padding-left: 5px;
    padding-right: 5px;
  }

  .products-slider .prod-col,
  .categories-slider .cat-col,
  .cards-slider .card-col,
  .testimonials-slider .testimonials-customer-card,
  .partners-slider .partners-item {
    display: inline-block;
    vertical-align: top;
  }

  .partners-slider .partners-item {
    vertical-align: middle;
  }

  .categories-slider,
  .products-slider,
  .cards-slider,
  .testimonials-slider,
  .partners-slider {
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
  }
  .product-crd-spec small {
    white-space: break-spaces;
  }

  .testimonials-slider::-webkit-scrollbar {
    width: 0 !important;
  }

  .categories-slider-wrapper,
  .products-slider-wrapper,
  .cards-slider-wrapper,
  .testimonials-slider-wrapper,
  .partners-slider-wrapper {
    overflow-x: hidden;
    margin-right: 0px;
    margin-left: 0px;
  }

  .slider-container-fluid {
    padding-left: 0px;
    padding-right: 0px;
  }

  .main-slider,
  .main-slider .slider-item {
  }

  .main-slider .slick-dots li button:before {
    font-size: 10px;
  }

  .main-slider .slick-dots {
    bottom: 4px;
  }

  .products-list .prod-col,
  .bundle-offer-products .prod-col {
    margin: 0 auto;
    width: auto;
  }

  .product-item {
    width: 135px;
  }

  .products-list .prod-col .product-item {
    width: 100%;
  }

  .sm-search-div {
    display: block;
  }

  .icon-shopping_cart_black_36dp-1-1,
  .sm-search-icon > span {
    font-size: 28px;
  }

  .icon-menu-top {
    width: 32px;
  }
}

.btn:focus,
.btn:active,
.page-link:focus,
.page-link:active {
  outline: none !important;
  box-shadow: none !important;
}

.gift-popover-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 115px;
  height: 140px;
  max-width: 100%;
}
.popover {
  top: 40px;
}
.popover .arrow {
  top: -0.5rem;
  left: 5px;
}
.popover .arrow::before {
  top: 0;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}
.popover .arrow ::after {
  top: 1px;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}

.btn-product-card-out-of-stock {
  width: max-content;
}

/* ========== Outlit Product Card (مطابق للصورة) ========== */
.outlit-product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  color: #494949;
  padding: 10px;
  background: var(--product-card-bg, #fff);
  border-radius: var(--product-card-radius, 12px);
}
.slick-track {
  display: flex !important;
}
.prod-col.slick-slide {
  height: auto !important;
}

.outlit-product-card__img-wrap {
  position: relative;
  width: 100%;
  height: var(--outlit-card-img-height, 280px);
  overflow: hidden;
  background: #fff;
}

.outlit-product-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.outlit-product-card__media-swiper {
  width: 100%;
  height: 100%;
}

.outlit-product-card__media-swiper .swiper-slide {
  height: 100%;
}

.outlit-product-card__img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.outlit-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: var(--outlit-card-object-fit, contain);
  display: block;
}

.outlit-product-card__media-pagination.swiper-pagination {
  bottom: -20px !important;
  left: 0% !important;
  right: 0% !important;
  width: auto !important;
  transform: unset !important;
  line-height: 0;
  z-index: 2;
  position: absolute !important;
}

.outlit-product-card__media-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 4px;
  margin: 0 3px !important;
  background: #d2d2d2 !important;
  opacity: 1;
  border-radius: 0 !important
}

.outlit-product-card__media-pagination .swiper-pagination-bullet-active {
  width: 12px;
  background: #000 !important;
  opacity: 1;
  border-radius: 0 !important;
}

.outlit-product-card__wishlist {
  position: absolute;
  top: 0;
  right: auto;
  left: 0;
  z-index: 8;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
  width: 22px;
  height: 22px;
}

.outlit-product-card__badge * {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: #fff !important;
  background: none !important;
}

.rtl .outlit-product-card__badge {
  right: auto;
  left: 10px;
}
.badge-name {
  border: 1px solid var(--primary-color) !important;
  background: var(--primary-color) !important;
  color: #fff !important;
}
.badge-name svg {
  display: none !important;
}
.badge-name-product-card {
  border: 1px solid var(--primary-color) !important;
  background: var(--primary-color) !important;
  color: #fff !important;
  margin: 0 !important;
  font-size: 10px !important;
  right: 0px !important;
  top: 0px !important;
  z-index: 7 !important;
  border-radius: 2px !important;
  border-top-right-radius: 5px !important;
}
.badge-name-product-card svg {
  display: none !important;
}

.outlit-product-card__wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.outlit-product-card__body {
  padding: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  justify-content: space-between;
}

/* سطر واحد: تقييم على اليمين + أيقونة السلة على اليسار */
.outlit-product-card__row--rating-cart {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: end;
  width: 100%;
  gap: 8px;
  position: absolute;
  bottom: 0;
  z-index: 9;
  /* background: var(--product-card-bg, #fff); */
  padding-left: 3px;
}
.attachment-full{
  display: block;
  width: 100%;
  height: 100%;
}
.attachment-full img{
  width: 100% !important;
  height: auto;
  object-fit: cover;
}
/* تقييم: (5) نجمة صفراء 5.0 - بنفس الشكل واللون */
.outlit-product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 24px;
  color: #4f4f4f;
  font-weight: 400;
  direction: ltr;
  unicode-bidi: isolate;
  margin-inline-start: auto;
}

.outlit-product-card__rating .product-card-rating {
  display: inline-flex;
  position: relative;
  width: auto;
  height: auto;
}

.outlit-product-card__rating .product-card-rating .icon-star1:before,
.outlit-product-card__rating .product-card-rating .icon-half-star:before {
  color: #edb900;
}

.outlit-product-card__rating .product-card-rating-count {
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.outlit-product-card__rating-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #edb900;
  line-height: 1;
}

.outlit-product-card__rating-star:before {
  color: #edb900;
}

.outlit-product-card__rating-value {
  font-weight: 400;
  font-size: 14px;
  color: #4f4f4f;
  line-height: 1;
}

/* زر الإضافة للسلة - دائرة بنفسجية فاتحة + حقيبة وبلاس */
.outlit-product-card__add-cart-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--product-card-add-to-cart-bg, #e1031c);
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.outlit-product-card__add-cart-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: #521b25;
}

.outlit-product-card__add-cart-icon svg {
  width: 100%;
  height: 100%;
}

.outlit-product-card__add-cart-btn--disabled {
  background: transparent;
  cursor: default;
}

/* غلاف زر السلة + مؤشر النقاط (تحميل) */
.outlit-product-card__add-cart-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* مؤشر التحميل نقاط (بدل السبينر) */
.outlit-product-card__add-cart-points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 24px;
  height: 24px;
}
.outlit-product-card__add-cart-points span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: outlit-points-bounce 0.6s ease-in-out infinite both;
}
.outlit-product-card__add-cart-points span:nth-child(1) {
  animation-delay: 0s;
}
.outlit-product-card__add-cart-points span:nth-child(2) {
  animation-delay: 0.15s;
}
.outlit-product-card__add-cart-points span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes outlit-points-bounce {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* شريط الكمية بعد الإضافة: + رقم − وحذف */
.outlit-product-card__quantity-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--product-card-add-to-cart-bg, #e8d5e8);
  border: 1px solid rgba(82, 27, 37, 0.12);
  color: #521b25;
}
.outlit-product-card__quantity-wrap .outlit-product-card__qty-btn,
.outlit-product-card__quantity-wrap .outlit-product-card__qty-remove {
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: opacity 0.2s;
}
.outlit-product-card__quantity-wrap .outlit-product-card__qty-btn:hover,
.outlit-product-card__quantity-wrap .outlit-product-card__qty-remove:hover {
  opacity: 0.8;
}
.outlit-product-card__quantity-wrap .outlit-product-card__qty-num {
  min-width: 16px;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
}
.outlit-product-card__quantity-wrap .outlit-product-card__qty-remove svg {
  width: 16px;
  height: 16px;
}

/* إخفاء زر الإضافة عند إظهار شريط الكمية */
.outlit-product-card__add-cart-wrap
  .outlit-product-card__add-cart-btn.d-none
  + .outlit-product-card__quantity-wrap,
.outlit-product-card__add-cart-wrap
  .outlit-product-card__quantity-wrap:not(.d-none) {
  display: inline-flex;
}
.outlit-product-card__add-cart-wrap .outlit-product-card__quantity-wrap.d-none {
  display: none !important;
}

/* التصنيف الأب - مثل "Outlet" */
.outlit-product-card__category {
  font-size: 14px;
  font-weight: 400;
  color: #494949;
  margin: 0;
  line-height: 1.3;
}

/* عنوان المنتج - 14px وزن 400 لون داكن */
.outlit-product-card__title {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.outlit-product-card__title a {
  color: var(--product-card-title-color, #363636);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: var(--product-card-title-lines, 2);
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: break-spaces;
  font-size: 14px;
  font-weight: 500;
}

.outlit-product-card__title a:hover {
  color: var(--primary-color);
}

/* السعر: قديم فوق مشطوب، تحته سطر فيه السعر الجديد + نسبة الخصم وردية على اليسار */
.outlit-product-card__price-wrap {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-top: 0;
}

.outlit-product-card__stock-text {
  margin: 6px 0 0;
  font-size: 12px;
  color: #888;
}

.outlit-product-card__price--old {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--product-card-compare-price-color, #303030);
  font-weight: 400;
}

.outlit-product-card__price-row {
  display: flex;
  align-items: baseline;
  flex-direction: row-reverse;
  gap: 8px;
  flex-wrap: wrap;
}

.outlit-product-card__price--current {
  font-size: 17px;
  font-weight: 700;
  color: var(--product-card-price-color, var(--primary-color));
}

.outlit-product-card__discount {
  font-size: 12px;
  font-weight: 400;
  background:transparent;
  border-radius: 25px;
  color: var(--product-card-discount-color, #fff);
  padding: 4px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.outlit-product-card__out-of-stock-cta {
  margin-top: 8px;
}

.outlit-product-card--out-of-stock .outlit-product-card__img-wrap {
  filter: grayscale(1);
}

@media (max-width: 768px) {
  .empty-cart-icon svg {
    width: 100px !important;
    height: 100px !important;
  }

  .outlit-product-card {
    max-width: 100%;
  }
  .outlit-product-card__img-wrap {
    height: var(--outlit-card-img-height-mobile) !important;
  }
  .outlit-product-card__badge {
    font-size: 10px;
    font-weight: 400;
  }
  .outlit-product-card__title {
    font-size: 14px;
    font-weight: 400;
  }
}

.add-to-wishlist {
  position: absolute;
  right: 0;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 40px;
  height: 35px;
  cursor: pointer;
  border-radius: 5px;
  background-color: white;
}

.rtl .add-to-wishlist {
  right: unset;
  left: 0;
}

.icon-heart-mask {
  display: inline-block;
  width: 18px;
  height: 18px;
  mask-size: 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image: var(--heart-outlined-icon);
  background-color: var(--secondary, #a1a0a9);
}

.icon-heart-mask.filled {
  mask-image: var(--heart-filled-icon);
  background-color: var(--primary-color);
}

/* Ensure modals and backdrop appear above header/footer */
.modal {
  z-index: 1055;
}
.modal-backdrop {
  z-index: 1050;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ========== Search Modal ========== */
body.search-modal-open {
  overflow: hidden;
}

.search-modal-overlay {
  --sm-accent: var(--primary-color, #050505);
  --sm-surface: #ffffff;
  --sm-muted: #6b6b6b;
  --sm-border: #ebebeb;
  --sm-radius-lg: 20px;
  --sm-radius-md: 14px;
  --sm-radius-pill: 999px;
  --sm-shadow-panel: 0 24px 64px rgba(5, 5, 5, 0.14);
  --sm-shadow-dropdown: 0 12px 32px rgba(5, 5, 5, 0.1);
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: transparent;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0.28s ease,
    opacity 0.28s ease;
}

.search-modal-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.search-modal-overlay.is-closing {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.search-modal-overlay.is-open .search-modal-backdrop {
  opacity: 1;
}

.search-modal-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 60vh;
  max-height: 60vh;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  z-index: 2;
  background: var(--sm-surface);
  border-radius: 0 0 var(--sm-radius-lg) var(--sm-radius-lg);
  box-shadow: var(--sm-shadow-panel);
  transform: translateY(-100%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-modal-overlay.is-open .search-modal-box {
  transform: translateY(0);
}

.search-modal-inner {
  width: 100%;
  max-width: 1900px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 50px;
  box-sizing: border-box;
}

.search-modal-header {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 56px 12px;
  border-bottom: 1px solid var(--sm-border);
}

.search-modal-close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sm-border);
  background: #fafafa;
  border-radius: 50%;
  color: #050505;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.search-modal-close:hover {
  background: #f0f0f0;
  border-color: #dcdcdc;
}

.search-modal-close:active {
  transform: translateY(-50%) scale(0.96);
}

.search-modal-logo {
  text-align: center;
  line-height: 0;
}

.search-modal-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.search-modal-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 transparent;
}

.search-modal-body::-webkit-scrollbar {
  width: 6px;
}

.search-modal-body::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 999px;
}

.search-modal-input-wrap {
  position: relative;
  margin-bottom: 28px;
}

.search-modal-icon-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 16px;
  color: #8e8e93;
  pointer-events: none;
  z-index: 4;
  display: flex;
}

.search-modal-input-field {
  position: relative;
  border: 1.5px solid #e3e3e3;
  border-radius: var(--sm-radius-pill);
  background: #fafafa;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.search-modal-input-field:focus-within {
  border-color: var(--sm-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5, 5, 5, 0.06);
}

.search-modal-input {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 52px;
  padding: 14px 48px 14px 18px;
  font-size: 16px;
  line-height: 1.4;
  border: none;
  border-radius: var(--sm-radius-pill);
  background: transparent;
  color: #050505 !important;
  box-shadow: none;
}

.rtl .search-modal-input {
  padding: 14px 18px 14px 48px;
}

.search-modal-input:focus {
  outline: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.search-modal-input::placeholder {
  color: #9a9a9a;
}

.search-modal-dropdown {
  position: relative;
  z-index: 5;
}

.search-modal-trending {
  margin-top: 12px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-md);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.search-modal-trending.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
}

.search-modal-trending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-modal-trending-head .search-modal-trending-title {
  margin: 0;
}

.search-modal-clear-recent {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.search-modal-clear-recent:hover {
  color: #050505;
}

.search-modal-suggestion-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-pill);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-modal-suggestion-chip:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(5, 5, 5, 0.06);
}

.search-modal-suggestion-item--recent .search-modal-suggestion-link {
  border: none;
  border-radius: 0;
  background: transparent;
}

.search-modal-suggestion-item--recent .search-modal-suggestion-link:hover {
  background: #f5f5f5;
  color: #050505;
}

.search-modal-suggestion-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-inline-start: 1px solid var(--sm-border);
  background: transparent;
  color: #888;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.search-modal-suggestion-remove:hover {
  background: #f5f5f5;
  color: #050505;
}

.search-modal-trending-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--sm-muted);
}

.search-modal-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-modal-suggestion-item {
  margin: 0;
  padding: 0;
}

.search-modal-suggestion-item--empty {
  color: var(--sm-muted);
  font-size: 14px;
  line-height: 1.5;
}

.search-modal-suggestion-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: #050505;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-pill);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.search-modal-suggestion-link:hover {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.search-modal-autocomplete {
  margin-top: 10px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-md);
  box-shadow: var(--sm-shadow-dropdown);
  display: none;
  scrollbar-width: thin;
}

.search-modal-autocomplete:not(:empty),
.search-modal-autocomplete.has-results {
  display: block;
}

.search-modal-autocomplete .search-modal-result {
  border-bottom: 1px solid #f2f2f2;
}

.search-modal-autocomplete .search-modal-result:last-of-type {
  border-bottom: none;
}

.search-modal-autocomplete .search-modal-result-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}

.search-modal-autocomplete .search-modal-result-link:hover {
  background: #f7f7f7;
}

.search-modal-autocomplete .search-modal-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f3f3f3;
  border: 1px solid #eee;
}

.search-modal-autocomplete .search-modal-result-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.search-modal-autocomplete .search-modal-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #050505;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-modal-autocomplete .search-modal-result-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--sm-muted);
}

.search-modal-autocomplete .search-modal-autocomplete-status {
  padding: 16px;
  font-size: 14px;
  color: var(--sm-muted);
  text-align: center;
}

.search-modal-autocomplete .search-modal-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sm-accent);
  text-decoration: none;
  border-top: 1px solid var(--sm-border);
  background: #fafafa;
  border-radius: 0 0 var(--sm-radius-md) var(--sm-radius-md);
  transition: background 0.2s ease;
}

.search-modal-autocomplete .search-modal-view-all:hover {
  background: #f0f0f0;
  color: #050505;
}

.search-modal-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.search-modal-sections.is-hidden {
  display: none !important;
}

.search-modal-overlay.is-search-active .search-modal-body {
  display: flex;
  flex-direction: column;
}

.search-modal-overlay.is-search-active .search-modal-input-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.search-modal-overlay.is-search-active .search-modal-dropdown {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.search-modal-overlay.is-search-active .search-modal-trending:not(.is-hidden) {
  flex: 1;
  min-height: 0;
  margin-top: 16px;
  overflow-y: auto;
}

.search-modal-overlay.is-search-active .search-modal-autocomplete:not(:empty),
.search-modal-overlay.is-search-active .search-modal-autocomplete.has-results {
  flex: 1;
  min-height: 0;
  max-height: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.search-modal-overlay.is-search-active .search-modal-autocomplete .search-modal-result,
.search-modal-overlay.is-search-active .search-modal-autocomplete .search-modal-autocomplete-status {
  flex-shrink: 0;
}

.search-modal-overlay.is-search-active .search-modal-autocomplete .search-modal-view-all {
  margin-top: auto;
  flex-shrink: 0;
}

.search-modal-section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #050505;
  line-height: 1.4;
}

.search-modal-brands-slider,
.search-modal-categories-slider {
  margin: 0 -4px;
  padding: 4px 0 8px;
}

.search-modal-brands-slider .swiper-slide,
.search-modal-categories-slider .swiper-slide {
  width: auto;
}

.search-modal-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #050505;
  min-width: 88px;
  max-width: 100px;
  transition: transform 0.2s ease;
}

.search-modal-category-item:hover {
  transform: translateY(-2px);
}

.search-modal-category-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(5, 5, 5, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.search-modal-category-item:hover .search-modal-category-icon {
  box-shadow: 0 8px 20px rgba(5, 5, 5, 0.12);
}

.search-modal-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-modal-category-label {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.35;
  color: #333;
}

.search-modal-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 68px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 12px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.search-modal-brand-item:hover {
  border-color: #d8d8d8;
  box-shadow: 0 6px 16px rgba(5, 5, 5, 0.08);
  transform: translateY(-1px);
}

.search-modal-brand-item img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.search-header-search-wrap .icon-search:before {
  display: none !important;
}

@media (min-width: 993px) {
  .search-modal-inner {
    padding: 0 50px;
  }
  .search-modal-header {
    padding: 18px 64px 14px;
  }
  .search-modal-body {
    padding: 24px 0 28px;
  }
}

@media (max-width: 992px) {
  .search-modal-inner {
    padding: 0 16px;
  }
}

/* ===== أوفكانفس العروض (من إعدادات الهيدر offers / most_searched_categories) ===== */
.offers-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.25s ease,
    opacity 0.25s ease;
}
.offers-offcanvas.is-open {
  visibility: visible;
  opacity: 1;
}
.offers-offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.offers-offcanvas-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 430px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.rtl .offers-offcanvas-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
.offers-offcanvas.is-open .offers-offcanvas-panel {
  transform: translateX(0);
}
.rtl .offers-offcanvas.is-open .offers-offcanvas-panel {
  transform: translateX(0);
}
.offers-offcanvas-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.offers-offcanvas-close:hover {
  background: rgba(0, 0, 0, 0.12);
}
.ltr .offers-offcanvas-close {
  left: auto;
  right: 16px;
}
.offers-offcanvas-title {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin: 12px 0 24px;
  padding-inline-start: 48px;
  text-align: center;
}
.rtl .offers-offcanvas-title {
  padding-inline-start: 0;
  padding-inline-end: 48px;
  text-align: start;
}
.offers-offcanvas-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: flex-start;
}
.offers-offcanvas-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: opacity 0.2s ease;
  flex: 0 0 auto;
  min-width: 100px;
}
.offers-offcanvas-card:hover {
  opacity: 0.9;
}
.offers-offcanvas-card-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e4df;
  flex-shrink: 0;
  margin-bottom: 10px;
}
.offers-offcanvas-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.offers-offcanvas-card-img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0ddd8 0%, #d0ccc6 100%);
}
.offers-offcanvas-card-title {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 1.35;
  color: #000;
}

/* حالة عدم وجود عروض - صندوق العروض فارغ */
.offers-offcanvas-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 40px;
  text-align: center;
  min-height: 280px;
}
.offers-offcanvas-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  color: #4a4a4a;
}
.loop-banner-slider-btn-icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.offers-offcanvas-empty-icon svg {
  width: 100%;
  height: 100%;
}
.offers-offcanvas-empty-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0 0 8px;
}
.offers-offcanvas-empty-text {
  font-size: 18px;
  font-weight: 400;
  color: #767676;
  margin: 0 0 24px;
  line-height: 1.4;
}
.offers-offcanvas-empty-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-color, #e83e8c);
  color: #fff !important;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
  text-decoration: none;
  border-radius: 8px;
}
/* ===== ألوان القائمة الجانبية من layout (menu_text_color / menu_background_color) ===== */
.slide-menu-theme-menu-colors.slide-menu--drawer {
  background: var(--menu-header-primary-color, #f0f0f0) !important;
  color: var(--menu-header-text-color-primary-bg, #333);
}
.slide-menu-theme-menu-colors .slide-menu-drawer-header,
.slide-menu-theme-menu-colors .slide-menu-drawer-search {
  background: var(--menu-header-primary-color, #f0f0f0);
  border-color: rgba(0, 0, 0, 0.06);
}
.slide-menu-theme-menu-colors .slide-menu-drawer-icon,
.slide-menu-theme-menu-colors .slide-menu-drawer-close {
  color: var(--menu-header-text-color-primary-bg, #333);
}
.slide-menu-theme-text,
.slide-menu-theme-text a {
  color: var(--menu-header-text-color-primary-bg, #333);
}
.slide-menu-theme-menu-colors .slide-menu-drawer-ul ul {
  background: var(--menu-header-primary-color, #f0f0f0);
}
.slide-menu-theme-menu-colors .slide-menu--drawer .slide-menu-arrow {
  color: var(--menu-header-text-color-primary-bg, #484848);
}
.section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
  color:#000;
}
.products-section-header {
  margin-bottom: 12px;
}
.outlit-product-card__category a {
  color: #4d4d4d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.footer {
  margin-top: 30px;
}

.footer-store-section {
  padding: 40px 0px;
}

.footer-companies {
  padding: 16px 0;
  background-color: var(--footer-companies-bg, var(--footer-primary-color, transparent));
  color: var(--footer-companies-text, var(--footer-text-color-primary-bg, inherit));
}

.footer-companies .footer-theme-text-for-primary-bg,
.footer-companies .tp-footer-copyright,
.footer-companies .vat-number,
.footer-companies .maroof-icon,
.footer-companies .maroof-icon span,
.footer-companies a {
  color: inherit;
}

.attribute-group {
  background-color: #fff !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  margin-bottom: 15px !important;
  overflow: hidden !important;
}
.products-filters-container .attribute-price-body .form-group::before {
  display: none !important;
}
.attribute-footer .highlight-button.btn.btn-sm {
  padding: 8px !important;
  font-size: 14px;
  line-height: normal;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  background: #eef1f3;
  width: 100% !important;
}
.products-list.products-list--with-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.search-filter-wrapper {
  display: none !important;
}
/* Filters search (global + per attribute) */
.products-filters-container .search-filter-wrapper,
.products-filters-container .attribute-search-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 12px;
  padding: 8px;
  border: 1px solid #bfbfbf; /* قريب من اللون في الصورة */
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
}

.products-filters-container .search-filter-icon,
.products-filters-container .attribute-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  background: #f9fafb;
  flex: 0 0 auto;
}

.products-filters-container .search-filter-input,
.products-filters-container .attribute-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  padding: 4px 0 4px 4px;
  min-height: 26px;
}

.products-filters-container .search-filter-input::placeholder,
.products-filters-container .attribute-search-input::placeholder {
  color: #9ca3af;
}

/* Keep wrappers aligned in RTL/LTR */
html[dir="rtl"] .products-filters-container .search-filter-wrapper,
html[dir="rtl"] .products-filters-container .attribute-search-wrapper {
  direction: rtl;
}

.products-filters-container .search-filter-wrapper:focus-within,
.products-filters-container .attribute-search-wrapper:focus-within {
  border-color: #a855f7; /* لون بنفسجي قريب من عنوان "فرز حسب" */
  box-shadow: 0 0 0 1px #a855f7;
}

/* Make sure injected inputs don't break spacing inside groups */
.products-filters-container .attribute-group .attribute-search-wrapper {
  max-width: 190px;
  margin: 10px auto;
}
.products-filters-container .attribute-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.products-filters-container .attribute-arrow svg {
  display: none !important;
}

.products-filters-container .attribute-arrow::before {
  content: "";
  display: block;
  width: 14px;
  height: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 8px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%228%22%20viewBox%3D%220%200%2014%208%22%20fill%3D%22none%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0.75%206.74995C0.75%206.74995%205.16893%200.750013%206.75005%200.75C8.33116%200.749986%2012.75%206.75%2012.75%206.75%22%20stroke%3D%22%23050505%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
}
.attribute-header {
  margin-bottom: 0px !important;
  text-align: start;
  background: #fff !important;
  padding: 10px !important;
  border: 0 !important;
}
.products-filters-container {
  font-size: 14px;
  font-weight: 500;
}
.filter-count {
  display: none;
}

/* Price attribute styling (slider + pills) */
.products-filters-container .attribute-price-body .attribute-price-slider {
  margin: 12px 4px 10px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.products-filters-container .attribute-price-body .ui-slider-range {
  background: var(--primary-color, #000000);
}

.products-filters-container .attribute-price-body .ui-slider-handle {
  width: 16px;
  height: 16px;
  top: -6px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.products-filters-container .attribute-price-body .form-row {
  margin-top: 12px;
}

.products-filters-container .attribute-price-body .form-group {
  position: relative;
}

.products-filters-container .attribute-price-body input[type="number"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(229, 231, 235, 0.6);
}

.products-filters-container
  .attribute-price-body
  input[type="number"]::placeholder {
  color: #9ca3af;
}

/* Hide default number arrows (webkit) */
.products-filters-container
  .attribute-price-body
  input[type="number"]::-webkit-outer-spin-button,
.products-filters-container
  .attribute-price-body
  input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.products-filters-container .attribute-price-body input[type="number"] {
  -moz-appearance: textfield;
}

/* Currency icon inside price pills (approximate to design) */
.products-filters-container .attribute-price-body .form-group::before {
  content: "﷼";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #9ca3af;
}

html[dir="rtl"]
  .products-filters-container
  .attribute-price-body
  .form-group::before {
  right: 18px;
}

html[dir="ltr"]
  .products-filters-container
  .attribute-price-body
  .form-group::before {
  left: 18px;
}
.products-filters-container {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.attribute {
  background-color: transparent !important;
}
.attribute-body {
  background: #fff !important;
}
.filter-content {
  background: #fff !important;
  margin-bottom: 5px !important;
}
.filtration-header {
  padding: 10px !important;
  border-radius: 10px !important;
  background: #fff !important;
  margin-bottom: 10px !important;
}
.filtration-header .d-none {
  display: block !important;
  color: rgba(78, 51, 135, 1) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.offer-card-item{
  width: auto;
}
@media (max-width: 1400px) {
  .products-list.products-list.products-list--grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px !important;
  }
}
@media (max-width: 1200px) {
  .footer-col-app .footer-app-download .apps-social-icons {
    flex-direction: column;
    width: 100%;
    height: 100%;
}
  .grid-offers-section .grid-offers-container .partion .partion-title {
    font-size: 16px !important;
  }
  .grid-offers-section .grid-offers-container .grid-offers-container-categories .category-item .category-title p {
    font-size: 16px !important;
}
  .grid-offers-section .grid-offers-container .partion {
    padding: 10px !important;
}
  .grid-offers-section .grid-offers-container .grid-offers-container-offers .offer-item .offer-item-inner .offer-title p {
    font-size: 16px !important;
}
  .products-list.products-list.products-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .prod-col {
    padding: 5px !important;
  }
  .container-fluid {
    padding-right: 25px;
    padding-left: 25px;
  }
  .search-modal-box {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .icons.social-apps-icons img {
    max-width: 170px !important;
}
  .categories-section {
    gap: 10px;
}
.mrg {
    margin-bottom: 20px !important;
}
  .header-mobile-bottom-inner {
    height: 70px;
}
  .product-attributes {
    min-width: 200px !important;
    width: 200px !important;
    padding-inline-end: 15px !important;
  }
  .products-list.products-list.products-list--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1px !important;
  }
  
  .footer-logo {
    width: 90px !important;
    height: 90px !important;
  }
  .footer-links-collapse-title,
  .footer-contact-social h2,
  .footer-app-download h2 {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
  }
  .store-section p {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-bottom: 5px !important;
  }
  .footer-contact-email a {
    justify-content: center;
}
  .social-icons.social-icons-mobile {
    display: flex !important;
    justify-content: center !important;
    margin-top: 5px;
  }
  .copyrights_icons {
    grid-template-columns: 1fr !important;
  }
  .footer-companies-content {
    grid-template-columns: 1fr !important;
  }
  .loop-banner-slider-btn-icon svg {
    width: 10px !important;
    height: 10px !important;
  }
  .loop-banner-slider-btn {
    width: 20px !important;
    height: 20px !important;
  }
  .outlit-product-card__price-row {
    gap: 4px;
  }
  .outlit-product-card__price--current {
    font-size: 16px;
    font-weight: 500;
  }
  .home-products-section .products-section-view-all {
    font-size: 12px !important;
  }
  .section-title {
    font-size: 16px;
    font-weight: 500;
  }
  .outlit-product-card {
    padding: 8px;
  }
  .banner-slider-btn {
    width: 20px !important;
    height: 20px !important;
  }
  .header-mobile-logo .image-logo {
    max-height: 50px !important;
  }
  .offers-offcanvas-empty-title {
    font-size: 16px !important;
    font-weight: 500 !important;
  }
  .offers-offcanvas-empty-text {
    font-size: 14px !important;
  }
  .offers-offcanvas-empty-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  .offers-offcanvas-title {
    font-size: 16px;
    font-weight: 400;
  }
  .brands-carousel-link {
    padding: 5px !important;
  }
}
@media (max-width: 768px) {

  .view-all-header {
    a {
        font-size: 14px;
          }
}
  .category-item a, .category-item img, .card-item a, .card-item img {
    border-radius: 10px;
}
  .grid-offers-section .grid-offers-container .grid-offers-container-offers .offer-item .offer-item-inner .offer-title p{
    margin-bottom: 0 !important;
  }
  .store-feature-main-title {
    font-size: 16px !important;
    font-weight: 500 !important;
}
  .mrg {
    margin-bottom: 16px !important;
}
  .grid-offers-section .grid-offers-container .grid-offers-container-categories .category-item {
    height: 100% !important;
    width: 100% !important;
}
  .grid-offers-section .grid-offers-container .grid-offers-container-categories .category-item .category-img .img {
    aspect-ratio: 145 / 140 !important;
}
  .categories-section {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}
.outlit-product-card__add-cart-btn {
  width: 35px !important;
  height: 35px !important;
}
  .attribute-group {
    border: 0;
    border-bottom: 1px solid #eceaea !important;
    border-radius: 0 !important ;
  }
  .products-filters-container .attribute-price-body .form-row {
    align-items: center !important;
  }
  .products-filters-container .attribute-price-body .form-group {
    position: relative;
    max-width: 50% !important;
    text-align: start !important;
  }

  .products-filters-attribute-form {
    margin-top: 2rem !important;
    padding-bottom: 30px !important;
  }
  .product-attributes-show-mobile {
    left: auto !important;
    right: 0 !important;
  }
  .filtration-header {
    width: 100% !important;
  }
  .filtration-header {
    z-index: 999999999 !important;
    padding: 5px !important;
  }
  .products-filters-container .attribute-group .attribute-search-wrapper {
    width: 100%;
    max-width: 96%;
  }
  .loop-banner-slider-dot {
    width: 7px !important;
    height: 7px !important;
  }
  .blog-cards-card-title {
    font-size: 14px !important;
  }
  .blog-cards-card {
    margin: 0px 3px !important;
  }
  .prod-col {
    padding: 5px;
  }
  .banner-slider-dot.is-active {
    width: 10px !important;
  }
  .banner-slider-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .banner-slider-dots {
    bottom: 5px !important;
  }
  .banner-slide-group--mobile {
    gap: 10px !important;
  }
  .banner-slider-btn-icon svg {
    width: 10px !important;
    height: 10px !important;
  }
  .category-circles-link {
    width: 100% !important;
    height: 100% !important;
    padding: 3px !important;
  }
  .category-circles-slider.slick-initialized .slick-slide {
    margin: 0 calc(var(--pp-gap) / 2) !important;
  }
  .category-circles-mobile {
    font-size: var(--pp-gap) !important;
  }
  .search-modal-sections {
    gap: 20px;
  }
  .search-modal-header {
    min-height: 56px;
    padding: 12px 48px 10px;
  }
  .search-modal-body {
    padding: 16px 0 20px;
  }
  .search-modal-inner {
    padding: 0 16px;
  }
  .search-modal-box {
    height: 60vh;
    max-height: 60vh;
    min-height: 60vh;
    border-radius: 0 0 16px 16px;
    transform: translateY(-100%);
  }
  .search-modal-overlay.is-open .search-modal-box {
    transform: translateY(0);
  }
  .search-modal-category-item {
    min-width: 92px;
  }
  .search-modal-category-icon {
    width: 68px;
    height: 68px;
  }
  .search-modal-categories-slider {
    gap: 10px;
  }
  .search-modal-input {
    min-height: 48px;
    font-size: 16px;
  }
  .search-modal-input-wrap {
    margin-bottom: 20px;
  }
  .slide-menu-drawer-li > a {
    gap: 8px !important;
  }
  .slide-menu-drawer-search-inner {
    padding: 8px 6px 8px 20px !important;
  }
  .slide-menu-drawer-close {
    width: 20px !important;
    height: 20px !important;
  }
  .slide-menu-drawer-header-icons {
    gap: 4px !important;
  }
  .header-mobile-start-icons {
    gap: 7px;
  }
  .header-mobile-end-icons {
    gap: 7px;
  }
  .category-circles-slider--mobile-row2 {
    direction: rtl;
  }
  .hero-simple-slider-arrow {
    width: 20px !important;
    height: 20px !important;
  }
  .hero-simple-slider-arrow span {
    font-size: 20px !important;
  }
  .hero-simple-slider-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
  }
  .hero-simple-slider-dot.is-active {
    width: 10px !important;
  }
  .container-fluid {
    padding-right: 16px;
    padding-left: 16px;
  }
  .hero-simple-slider-dots-wrap {
    bottom: 5px !important;
  }
  .offers-offcanvas-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .outlit-product-card {
    padding: 5px;
  }
}
@media (max-width: 576px) {
  .icons.social-apps-icons img {
    max-width: 150px !important;
}
  .header-mobile-logo .image-logo {
    max-height: 40px !important;
}

  .products-list.products-list.products-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1px !important;
  }
  .block-side-cart .empty-cart-message .btn-outline-primary {
    font-size: 14px;
    font-weight: 400;
    min-height: 35px;
  }
  .countdown-category-grid__grid {
    padding: 5px 16px !important;
  }
  .search-modal-brands-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .search-modal-category-item {
    min-width: 80px !important;
  }

}
@media (max-width: 450px) {
  .header-mobile-logo .image-logo {
    max-height: 30px !important;
  }
  .offers-offcanvas-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 380px) {
  body[data-template="list_products"],
  body[data-template="category"] {
    .prod-col {
      padding-right: 0 !important;
    }
  }

  .footer-store-section[dir="rtl"] .footer-main-row .footer-footer-col {
    width: 100% !important;
    min-width: 100% !important;
  }
  .outlit-product-card__quantity-wrap {
    gap: 0px;
    padding: 0 0px;
    border-radius: 5px;
  }
}

/* ===== Products filter modal (price & offers) ===== */
.filter-modal .modal-dialog {
  max-width: 520px;
  margin: 1.75rem auto;
}

.filter-modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.filter-modal-body {
  padding: 20px 24px 24px;
  position: relative;
}

.filter-modal-header {
  margin-bottom: 16px;
}

.filter-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #050505;
}

.filter-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 20%;
  background: rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.filter-modal-close .icon-times2:before {
  font-size: 16px;
}

.filter-modal-body-content {
  margin-top: 4px;
}

/* Form inside filter modal */
.form-products-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-products-filter .filter-block-width {
  width: 100%;
}

.form-products-filter label {
  font-size: 13px;
  font-weight: 500;
  color: #666666;
  margin-bottom: 4px;
}

.form-products-filter .form-control {
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  font-size: 14px;
  padding: 8px 10px;
}

.form-products-filter .form-control:focus {
  border-color: var(--primary-color, #e91e63);
  box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.18);
}

.form-products-filter .row {
  margin-left: -6px;
  margin-right: -6px;
}

.form-products-filter .row > [class*="col"] {
  padding-left: 6px;
  padding-right: 6px;
}

.btn-sale-price {
  border-radius: 10px;
  border: 1px solid #f0c4d4;
  background: #fff7fb;
  color: #c2185b;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-sale-price .custom-checkmark {
  border-radius: 6px;
}

.btn-sale-price .custom-checkbox-label {
  font-size: 14px;
  font-weight: 500;
}

.form-products-filter .ui-widget-bar {
  height: 0px;
  border-radius: 999px;
  background: #e5e7eb;
}

.form-products-filter .ui-slider-range {
  background: var(--primary-color, #000000);
}

.form-products-filter .ui-slider-handle {
  width: 16px;
  height: 16px;
  top: -6px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.form-products-filter .form-group {
  margin-bottom: 0;
}

/* Make header/modal price inputs match attribute price pills */
.form-products-filter .products-filter-price-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(229, 231, 235, 0.6);
}

.form-products-filter .products-filter-price-input::placeholder {
  color: #9ca3af;
}

.form-products-filter .products-filter-price-input::-webkit-outer-spin-button,
.form-products-filter .products-filter-price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-products-filter .products-filter-price-input {
  -moz-appearance: textfield;
}

.form-products-filter .col {
  position: relative;
}

.form-products-filter .form-group .btn {
  min-width: 110px;
  background-color: #000 !important;
  color: #fff !important;
  border: unset;
  font-size: 14px !important;
  font-weight: 400 !important;
  border-radius: 10px !important;
}
.form-products-filter .form-group #products-list-filter-form-clear {
  background-color: #ce0000 !important;
}

@media (max-width: 575.98px) {
  .filter-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
  }

  .filter-modal .modal-content {
    border-radius: 20px 20px 0 0;
    margin: 0;
  }

  .filter-modal-body {
    padding: 16px 16px 20px;
  }

  .filter-modal-title {
    font-size: 16px;
  }

  .form-products-filter .form-group {
    justify-content: space-between;
    gap: 8px;
  }

  .form-products-filter .form-group .btn {
    flex: 1 1 0;
  }
}

/* Price range slider (sidebar filters + header/modal filters) */
.products-filters-attribute-form .attribute-price-body {
  padding: 12px 8px 16px;
}

.products-filters-attribute-form .price-range-label,
.form-products-filter .price-range-label {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-align: start !important;
}

.products-filters-attribute-form .price-range-slider-wrapper,
.form-products-filter .price-range-slider-wrapper {
  position: relative;
  width: 100%;
  padding-top: 16px; /* مساحة للـ thumbs */
  height: 32px;
}

.products-filters-attribute-form .price-range-track,
.form-products-filter .price-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background-color: #dcdcdc;
  z-index: 1;
}

.products-filters-attribute-form .price-range-input,
.form-products-filter .price-range-input {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.products-filters-attribute-form
  .price-range-input::-webkit-slider-runnable-track,
.form-products-filter .price-range-input::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}

.products-filters-attribute-form .price-range-input::-moz-range-track,
.form-products-filter .price-range-input::-moz-range-track {
  height: 2px;
  background: transparent;
}

.products-filters-attribute-form .price-range-input::-webkit-slider-thumb,
.form-products-filter .price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
  margin-top: -6px;
}

.products-filters-attribute-form .price-range-input::-moz-range-thumb,
.form-products-filter .price-range-input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
}

.products-filters-attribute-form .attribute-price-body .form-row {
  margin-top: 18px;
  align-items: center !important;
}

.products-filters-attribute-form .price-range-input-min,
.form-products-filter .price-range-input-min {
  z-index: 3;
}

.products-filters-attribute-form .price-range-input-max,
.form-products-filter .price-range-input-max {
  z-index: 4;
}

/* NEW */
button {
  outline: none !important;
}

.hero-section {
  position: relative;
  overflow: unset;
  margin-bottom: 12px;
  padding-bottom: 25px;
  overflow-x: hidden;
  webkit-overflow-scrolling: none;
  ms-overflow-style: none;
}

.hero-section::-webkit-scrollbar {
  display: none;
}
.hero-section::-ms-overflow-style {
  display: none;
}

.hero-slider {
  width: 100%;
  position: relative;
  background: #f6f6f6;
  overflow: unset !important;
}

.hero-slider .swiper-slide {
  width: 100%;
}

.hero-slider .hero-slider-link {
  display: block;
}

.hero-slider .hero-slider-image {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-slider .hero-slider-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  color: #000;
  top: 59%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.hero-slider .swiper-button-prev.hero-slider-nav {
  left: 12px;
}

.hero-slider .swiper-button-next.hero-slider-nav {
  left: 12px;
}

.hero-slider .hero-slider-nav:hover {
  background-color: #e2778b;
}

.hero-slider .hero-slider-nav::after {
  font-size: 13px;
  font-weight: 700;
}

.hero-slider .hero-slider-pagination {
  position: absolute;
  bottom: -50px !important;
}

.hero-slider .hero-slider-pagination .swiper-pagination-bullet {
  width: 13px;
  height: 3px;
  border-radius: 10px;
  background: #888;
  opacity: 1;
  margin: 0 2px !important;
  transition: all 0.3s ease;
}

.hero-slider .hero-slider-pagination .swiper-pagination-bullet-active {
  background: #d61e42;
  width: 20px;
}

.banar-groub-slider .hero-slider-pagination {
  position: sticky;
  bottom: 0px !important;
  margin: 12px 0;
  margin-bottom: 0 !important;
}
.banar-groub-slider .hero-slider-pagination .swiper-pagination-bullet {
  width: 13px;
  height: 3px;
  border-radius: 10px;
  background: #aeb4bc;
  opacity: 1;
  margin: 0 2px !important;
  transition: all 0.3s ease;
}

.banar-groub-slider .hero-slider-pagination .swiper-pagination-bullet-active {
  width: 20px;
  background: #d61e42;
}

/* صفحة جميع المنتجات — ترقيم السلايدر: كبسولات أفقية رمادية قصيرة، النشط أحمر وأعرض */
.products_bannrs .swiper-pagination.products-bannrs-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 8px 0 0;
}
.products_bannrs .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: #aeb4bc;
  opacity: 1 !important;
  margin: 0 !important;
  transition: width 0.35s ease, background 0.35s ease;
}
.products_bannrs .swiper-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background: #d61e42 !important;
  opacity: 1 !important;
}

.mrg{
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .store-features-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
  .banner-products-hero__img {
    width: 100%;
    height: 100%;
}
  .banner-products-hero {
    width: 100%;
    height: 100%;
}
  .banner-products-layout {
    gap: 10px;
    grid-template-columns: 100%;
}
 
  .hero-slider .hero-slider-nav {
    width: 30px;
    height: 30px;
  }

  /* .hero-slider .swiper-button-prev.hero-slider-nav {
    left: 8px;
  }

  .hero-slider .swiper-button-next.hero-slider-nav {
    right: 8px;
  } */

  .hero-slider .hero-slider-nav::after {
    font-size: 11px;
  }

  .hero-slider .hero-slider-pagination .swiper-pagination-bullet {
    width: 10px;
  }
}

.tp-bar.stop-move .tp-marquee {
  animation: unset;
  -webkit-animation: unset;
  justify-content: center;
}

.animated-brands--marquee:hover .marquee__group,
.tp-bar:hover .tp-marquee {
  animation-play-state: paused;
}

.tp-bar.stop-move .tp-mask {
  mask-image: none;
}

.tp-bar {
  padding: 5px 10px;
  overflow: hidden;
  white-space: nowrap;
  height: 40px;
}

.tp-mask {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  height: 100%;
  --gap: 1rem;
  display: flex;
  direction: ltr !important; /* Forces the next copy to be on the right, even in RTL sites */
  overflow: visible; /* Avoid clipping individual blocks early */
  -moz-user-select: none;
  user-select: none;
  gap: 1rem;
  gap: var(--gap);
}

.tp-bar .tp-marquee {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: 30s linear infinite move;
  -webkit-animation: 30s linear infinite move;
}

@keyframes move {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-100% - var(--gap)), 0, 0);
  }
}

.tp-bar a {
  color: var(--tp-white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  direction: rtl;
  font-size: 16px;
}

.tp-bar a img {
  height: 16px;
  width: auto;
  max-width: 40px;
}

.tp-home:has(.tp-bar + .tp-product-background) .tp-product-background {
  padding-top: 0;
}

.tp-home section:first-child {
  padding-top: 0;
}

.tp-feature-area .tp-feature-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  gap: 32px;

  @media screen and (max-width: 576px) {
    gap: 12px !important;
  }
}

.tp-banners .tp-items,
.tp-offers-box:not(:has(img)) {
  grid-template-columns: 1fr;
}

.categories-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  @media screen and (max-width: 576px) {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-item {
    position: relative;
    width: 100%;
    height: 100%;

  }
}

.shop-by-category-section {
  display: flex;
  flex-direction: column;
  gap: 24px;

  .section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 36px;
  }

  .shop-by-category-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

    &.swiper {
      padding-bottom: 0px;

      @media screen and (max-width: 767px) {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        overflow: visible;
      }

      .swiper-wrapper {
        @media screen and (max-width: 767px) {
          display: flex;
          flex-wrap: nowrap;
        }
      }

      .swiper-slide {
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
      }
    }

    .shop-by-category-item {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: center;
      text-decoration: none;
      color:#000;

      .shop-by-category-image {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 1%;
        overflow: hidden;
        padding: 0px;
        transition: transform 0.3s ease;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }
      }

      

      h6 {
        font-size: 16px;
        font-weight: 500;
        color:#000;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
      }
    }
  }
}

.s_block {
  padding: 40px 0 0;
}

.view-all-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;

  a {
    font-size: 16px;
    font-weight: 500;
    color:#000;
    text-decoration: underline;
  }
}

.swiper-slide {
  height: auto;
}

.outlit-product-card {
  height: 100%;
}

.main-categories-sale {
  width: 100%;
  overflow: hidden;
}

.sale-grid {
  display: flex;
  min-height: 500px;
  width: 100%;
}

.category-item {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.category-wrapper {
  display: block;
  height: 100%;
  text-decoration: none !important;
}

.category-image {
  height: 100%;
  width: 100%;
  padding: 0;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  text-align: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.category-label span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #300b1c; /* Burgundy from image */
}

/* Light background for labels on light images if needed */
.second-category .category-label {
  background-color: rgba(255, 255, 255, 0.4);
}

.sale-center-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #dedede; /* Light gray from image */
}

.sale-inner-wrapper {
  text-align: center;
  max-width: 400px;
}

.sale-titles h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sale-subtitle {
  margin-top: 25px;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .sale-grid {
    min-height: 400px;
  }
  .sale-titles h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .sale-grid {
    flex-direction: column;
    min-height: auto;
  }
  .category-item {
    height: 350px;
    width: 100%;
  }
  .sale-center-content {
    order: 0;
    padding: 60px 20px;
    width: 100%;
  }
  .first-category {
    order: -1;
  }
  .second-category {
    order: 1;
  }
  .sale-titles h2 {
    font-size: 2.2rem;
  }
}


.view-all-link {
  font-size: 16px;
  color: var(--primary-color);
  text-decoration: underline;
}
.month-brands-slider {
  overflow: hidden;
}
.brand-card {
  display: block;
  text-decoration: none;
  border-radius: 0; /* Match design square look */
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}

.brand-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}
.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-top: none;
}
.brand-name {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: right;
}
.brand-arrow {
  color: #141b34;
  display: flex;
  align-items: center;
}
/* Swiper Pagination Styles */
.month-brands .swiper-pagination-bullet {
  width: 8px;
  height: 3px;
  border-radius: 0;
  background: #ccc;
  opacity: 1;
}
.month-brands .swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 30px;
}

.swiper-pagination {
  position: static;
  margin: 24px 0;
}

.brands-slider {
  overflow: hidden;
  padding-bottom: 20px;
}

.brands-grid {
  display: none;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 16px;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 992px) {
  .brands-grid {
    display: flex;
  }
}

.brands-slider--mobile {
  padding-bottom: 8px;
}

.brands-slider--mobile .swiper-slide {
  height: auto;
}

.brands-slider--mobile .swiper-slide {
  width: fit-content;
}

.brands-slider--mobile .brand-item {
  height: 70px;
  max-width: 120px;
}

.brands-section .swiper-free-mode > .swiper-wrapper {
  transition-timing-function: linear;
}

.brand-item {
  height: 100px;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banar-groub-image{
  width: 100%;
  height: auto;
  object-fit: cover;
}
.banar-groub-item{
  width: 100%;
  height: 100%;
  display: block;
}
.banar-groub-item a{
  width: 100%;
  height: 100%;
  display: block;
}

.brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}




/* Common Swiper Pagination Styles */
.custom-swiper-pagination {
  bottom: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 25px;
  position: relative !important;
}
.custom-swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 3px;
  border-radius: 0;
  background: #ccc;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s ease;
}
.custom-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 30px;
}

.offer-card {
  height: 100%;
}

.offer-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.offer-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.offer-footer {
  padding-top: 10px;
  text-align: center;
}

.offer-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

/* Fix for swiper buttons appearing correctly */
.offers-coupons-slider .swiper-button-prev,
.offers-coupons-slider .swiper-button-next {
  color: var(--primary-color) !important;
}

.loader-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999999999;
  background: #fff;
  background: var(--loader_background_color);
}

.loader-container .loader-box img {
  min-height: 100px;
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
  animation: 2s ease-in-out infinite fadeInOut;
  -webkit-animation: 2s ease-in-out infinite fadeInOut;
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
  }
}

.logo-lodaer-box {
  width: 145px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: 2s ease-in-out infinite fadeInOut;
  -webkit-animation: 2s ease-in-out infinite fadeInOut;
}

.load-row {
  width: 100px;
  height: 24px;
  line-height: 30px;
}

.load-row span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50px;
  animation: 0.4s ease-in infinite alternate up-down6;
  -webkit-animation: 0.4s ease-in infinite alternate up-down6;
}

body:not(:has(.tp-home)) .header-nav .menu-style-2,
body:not(:has(.tp-home)) .header-nav .tp-menu-list {
  background: var(--background_color_catg_menu);
  color: var(--text_color_catg_menu);
}

.load-row span:nth-child(2) {
  background: var(--primary-color);
  opacity: 0.8;
  animation-delay: 0.16s;
}

.load-row span:nth-child(3) {
  background: var(--primary-color);
  opacity: 0.6;
  animation-delay: 0.32s;
}

.load-row span:nth-child(4) {
  background: var(--primary-color);
  opacity: 0.4;
  animation-delay: 0.48s;
}

@keyframes up-down6 {
  0% {
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
  }

  100% {
    transform: translateY(3px);
    -webkit-transform: translateY(3px);
    -moz-transform: translateY(3px);
    -ms-transform: translateY(3px);
    -o-transform: translateY(3px);
  }
}

.css-fh1hs4 {
  background: #00000063;
  backdrop-filter: blur(1px);
}

.product-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 12px;
  border-radius: 16px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  background: #fff;
}

.product-accordion-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-accordion-header {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(33, 37, 41, 1);
  outline: none !important;
  text-align: inherit;
  transition: background-color 0.2s ease;
}

.product-accordion-header[aria-expanded="true"] {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.accordion-title {
  flex-grow: 1;
}

.accordion-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 2rem;
  color: #000;
  transition: transform 0.3s ease;
}

.accordion-icon-wrap::before {
  content: "+";
  line-height: 1;
}

.product-accordion-header[aria-expanded="true"] .accordion-icon-wrap::before {
  content: "\2212";
}

.product-accordion-content {
  background: #ffffff;
}

.product-accordion-content .product-tab-section {
  padding: 24px;
  color: #374151;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .product-accordion-header {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .product-accordion-wrapper {
    gap: 12px;
  }
}

.product-accordion-wrapper .collapse:not(.show) {
  display: none;
}

.product-rating-share-row .product-card-rating span {
  margin-right: 2.5px !important;
}

.review-details .product-card-rating span {
  margin-right: 2.5px !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 32px;
  height: 32px;
  background: white;
  color: #222;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  top: 45%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
  font-weight: bold;
}
