@font-face {
  font-family: "Abrar Zain";
  src: url("https://alfont.com/wp-content/fonts/persian-fonts//alfont_com_Zain-PC-VF.ttf")
       format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/*--------------------------------*/

.home-categories-section .categories-main,
.home-categories-section .categories-main * {
  box-sizing: border-box;
}

.home-categories-section .categories-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.home-categories-section .categories-slider-wrapper,
.home-categories-section .categories-slider,
.home-categories-section .slick-list {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-categories-section .slick-list {
  overflow: hidden !important;
}

.home-categories-section .slick-track,
.home-categories-section .categories-slider:not(.slick-initialized) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  direction: rtl;
}

.home-categories-section .slick-track::before,
.home-categories-section .slick-track::after,
.home-categories-section .categories-slider::before,
.home-categories-section .categories-slider::after {
  display: none !important;
  content: none !important;
}

.home-categories-section .cat-col {
  display: block !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-categories-section .category-item {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.home-categories-section .category-item > a {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.home-categories-section .category-item img.category-img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: fill !important;
  object-position: center !important;
  border-radius: 0 !important;
  transform: none !important;
}

.home-categories-section .slick-cloned,
.home-categories-section .slick-arrow,
.home-categories-section .slick-dots {
  display: none !important;
}

@media (max-width: 767px) {
  .home-categories-section .categories-main {
    padding: 0 16px !important;
  }

  .home-categories-section .slick-track,
  .home-categories-section .categories-slider:not(.slick-initialized) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}


/*--------------------------------*/

.ab-products {
  --ab-accent: #ac91ed;
  --ab-gap: 20px;
  width: 100% !important;
  max-width: none !important;
  padding: 40px 30px !important;
  color: #111;
}
.ab-products, .ab-products * { box-sizing: border-box; }
.ab-products > .d-flex.justify-content-between {
  align-items: flex-start !important;
  gap: 20px;
  margin-bottom: 44px !important;
}
.ab-products .heading { padding: 0 !important; text-align: start !important; }
.ab-products .heading h2 {
  color: #000 !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  line-height: 1.5;
  font-weight: 800 !important;
}
.ab-products .section-description {
  color: #777 !important;
  font-size: 17px !important;
  line-height: 1.8;
  margin: 12px 0 0 !important;
}
.ab-products .more-button {
  display: inline-block !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}
.ab-products > .more-button { display: none !important; }
.ab-products .products-slider { margin: 0 calc(var(--ab-gap) / -2) !important; }
.ab-products .products-slider .prod-col { padding: 0 calc(var(--ab-gap) / 2) !important; }
.ab-products .prod-col-inner,
.ab-products .product-item {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.ab-products .product-item { position: relative !important; }
.ab-products .product-item > a { color: #111 !important; text-decoration: none !important; }
.ab-products .add-to-wishlist { display: none !important; }
.ab-products .product-box-1-1 {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #f3f5f5;
}
.ab-products .product-box-1-1::before { display: none !important; content: none !important; }
.ab-products .product-box-1-1 > .content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
.ab-products .product-box-1-1 .content > div {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
}
.ab-products .product-box-1-1 img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
}
.ab-products .product-title {
  text-align: center !important;
  color: #111 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}
.ab-products .product-crd-spec {
  text-align: center !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}
.ab-products .product-price {
  color: #111 !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.ab-products .product-price .riyal-svg { width: 18px; height: 20px; margin-inline: 4px; }
.ab-products .ab-cart-overlay {
  position: absolute !important;
  top: 0;
  inset-inline: 0;
  aspect-ratio: 2 / 3;
  pointer-events: none;
  z-index: 3;
}
.ab-products .ab-cart-overlay .btn-addtocart {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1.5px solid #111 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.65) !important;
  box-shadow: none !important;
  color: #111 !important;
  font-size: 0 !important;
  pointer-events: auto;
}
.ab-products .ab-cart-overlay .btn-addtocart > svg { display: none !important; }
.ab-products .ab-cart-overlay .btn-addtocart::before {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 21H6a2 2 0 0 1-2-2L3 7h16l-.5 6M8 9V6a4 4 0 0 1 8 0v3M18 16v6M15 19h6'/%3E%3C/svg%3E");
}
.ab-products .btn-addtocart:focus-visible,
.ab-products .ab-slider-footer button:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.ab-products .products-slider-wrapper > .slick-arrow,
.ab-products .products-slider .slick-arrow,
.ab-products .products-slider .slick-dots { display: none !important; }
.ab-products .ab-slider-footer {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 26px;
  margin-top: 46px;
}
.ab-products .ab-slider-controls { display: flex; gap: 14px; }
.ab-products .ab-slider-footer button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ab-accent);
  cursor: pointer;
}
.ab-products .ab-slider-footer button:disabled { color: #ddd; cursor: default; }
.ab-products .ab-slider-footer svg { width: 20px; height: 20px; }
.ab-products .ab-slider-progress { flex: 1; height: 3px; background: #ededed; overflow: hidden; }
.ab-products .ab-slider-progress span { display: block; height: 100%; background: var(--ab-accent); transition: transform .3s ease, width .3s ease; }
@media (max-width: 767px) {
  .ab-products { --ab-gap: 12px; padding: 28px 16px !important; }
  .ab-products > .d-flex.justify-content-between { margin-bottom: 26px !important; gap: 12px; }
  .ab-products .heading h2 { font-size: 25px !important; }
  .ab-products .section-description { font-size: 13px !important; }
  .ab-products .more-button { font-size: 12px !important; }
  .ab-products .product-title { font-size: 14px !important; margin-top: 12px !important; }
  .ab-products .product-price { font-size: 16px !important; }
  .ab-products .ab-cart-overlay .btn-addtocart { width: 36px !important; height: 36px !important; right: 8px !important; bottom: 8px !important; }
  .ab-products .ab-cart-overlay .btn-addtocart::before { width: 21px; height: 21px; }
  .ab-products .ab-slider-footer { margin-top: 28px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-products .ab-slider-progress span { transition: none; }
}

/* النصوص الأساسية */
body,
button,
input,
select,
textarea,
p,
.product-title,
.product-price,
.section-description,
.more-button,
.btn-addtocart {
  font-family: Arial, sans-serif !important;
}

/* العناوين */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.heading,
.section-title {
  font-family: "Abrar Zain", Arial, sans-serif !important;
}

/* الوصف تحت العناوين يفضل Arial */
.section-description {
  font-family: Arial, sans-serif !important;
}
.main-slider .description-text {
  font-family: "Abrar Zain", Arial, sans-serif !important;
  font-weight: 800 !important;
}

.box-feat > img {
  background: #ffffff !important;
}

/* الأعمدة التي تحتوي على عناصر المميزات فقط */
.row > div:has(> .box-feat) {
  position: relative;
}

/* الخط الفاصل */
.row > div:has(> .box-feat)::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #e9e9e9;
  pointer-events: none;
}

/* الكمبيوتر: بدون خط بعد آخر عنصر */
@media (min-width: 992px) {
  .row > div:has(> .box-feat):last-child::after {
    display: none;
  }
}

/* الموبايل والتابلت: خط بين كل خانتين */
@media (max-width: 991.98px) {
  .row > div:has(> .box-feat):nth-child(even)::after {
    display: none;
  }
}

.box-feat > p.text-gray-1 {
  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  color: #808080 !important;
  text-align: center !important;
  max-width: 290px;
  margin: 10px auto 0 !important;
}

@media (max-width: 767px) {
  .box-feat > p.text-gray-1 {
    font-size: 12px !important;
    line-height: 1.7 !important;
  }
}

/* محتوى البانر */
.main-slider .slider-content-overlay {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  max-width: 94% !important;
  justify-content: center !important;
  text-align: center !important;
}

.main-slider .slider-w {
  width: 100% !important;
  max-width: 1200px !important;
  padding: 20px !important;
  text-align: center !important;
}

/* اسم البراند */
.main-slider .slider-title {
  font-family: Arial, sans-serif !important;
  font-size: clamp(16px, 1.5vw, 28px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #fff !important;
  margin: 0 0 26px !important;
}

/* الجملة الرئيسية */
.main-slider .description-text {
  font-family: "Zain", Arial, sans-serif !important;
  font-size: clamp(36px, 5.5vw, 100px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #fff !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  text-wrap: balance;
}

/* رابط اكتشفي منتجاتنا */
.main-slider .shopBtnMainSlider {
  margin-top: 32px !important;
  text-align: center !important;
}

.main-slider .shopBtnMainSlider a.sliderbut {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 0 15px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

.main-slider .shopBtnMainSlider a.sliderbut::after {
  content: "" !important;
  position: absolute !important;
  top: auto !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 75% !important;
  height: 1px !important;
  background: #fff !important;
}

.main-slider .shopBtnMainSlider a.sliderbut:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

@media (max-width: 767px) {
  .main-slider .slider-w {
    padding: 12px !important;
  }

  .main-slider .slider-title {
    margin-bottom: 18px !important;
  }

  .main-slider .description-text {
    font-size: clamp(32px, 7.5vw, 52px) !important;
    line-height: 1.45 !important;
  }

  .main-slider .shopBtnMainSlider {
    margin-top: 24px !important;
  }

  .main-slider .shopBtnMainSlider a.sliderbut {
    font-size: 15px !important;
    padding-bottom: 12px !important;
  }
}

/* العناوين على كل الشاشات */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .heading,
body .section-title,
body .ab-products .heading h2,
body .box-feat > h3 {
  font-family: "Abrar Zain", Arial, sans-serif !important;
  font-weight: 800 !important;
}

/* الجملة العربية في البانر */
body .slider-content-overlay .slider-w p.description-text,
body .slider-content-overlay .slider-w p.description-text * {
  font-family: "Abrar Zain", Arial, sans-serif !important;
  font-weight: 800 !important;
}

/* اسم البراند الإنجليزي */
body .slider-content-overlay .slider-w h2.slider-title {
  font-family: Arial, sans-serif !important;
  font-weight: 400 !important;
}