/* =====================================================
   متجر فهد للعدد اليدوية
   صنع من المطور: Turki Mshaji
   رقم التواصل لطلب التصميم: 0543840340
===================================================== */


/* =====================================================
   01) الهيرو المخصص - يعمل فقط إذا عندك قسم fahd-hero
===================================================== */

.fahd-hero {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1500px;
  height: 430px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 38px;
  direction: rtl;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #075f89 0%, #158fa0 45%, #35b89d 100%);
  box-shadow: 0 18px 38px rgba(0,0,0,.16);
}

.fahd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.16), transparent 50%),
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.16), transparent 35%);
}

.fahd-hero__product {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 36%;
  height: 92%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fahd-hero__product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 25px rgba(0,0,0,.35));
  animation: fahdFloat 4s ease-in-out infinite;
}

.fahd-hero__content {
  position: absolute;
  right: 7%;
  top: 23%;
  width: 52%;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.fahd-hero__content h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 5px 12px rgba(0,0,0,.18);
}

.fahd-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72%;
  height: 74px;
  border-radius: 999px;
  background: #fff;
  color: #138f91 !important;
  text-decoration: none !important;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  box-shadow: inset 0 -8px 18px rgba(0,0,0,.06), 0 12px 22px rgba(0,0,0,.14);
}

.fahd-hero__features {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fahd-hero__features div {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 0 18px;
}

.fahd-hero__features div:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: rgba(255,255,255,.55);
}

.fahd-hero__features span {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
}

.fahd-hero__features p {
  margin: 0;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

@keyframes fahdFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* =====================================================
   02) شبكة الأقسام المخصصة
===================================================== */

.fahd-categories-grid {
  display: grid;
  gap: 18px;
  margin: 25px 0;
  padding: 0 10px;
}

.fahd-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #1d1d1d;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  transition: all .35s ease;
}

.fahd-category-card img {
  width: 100%;
  display: block;
  border-radius: 28px;
  transition: transform .4s ease;
}

.fahd-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(195,91,0,.35);
}

.fahd-category-card:hover img {
  transform: scale(1.03);
}


/* =====================================================
   03) شريط الماركات
===================================================== */

section:has(.brand-item) {
  overflow: hidden !important;
  background: #fff !important;
  padding: 35px 0 !important;
}

section:has(.brand-item) .container {
  max-width: 100% !important;
  overflow: hidden !important;
}

section:has(.brand-item) .grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  width: max-content !important;
  animation: fahdBrandsMove 35s linear infinite !important;
}

section:has(.brand-item) .brand-item {
  flex: 0 0 240px !important;
  width: 240px !important;
  height: 145px !important;
  border-radius: 24px !important;
  background: #fff !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 30px rgba(120,55,0,.14) !important;
  transition: .35s ease !important;
}

section:has(.brand-item) .brand-item img {
  width: 75% !important;
  height: 75% !important;
  object-fit: contain !important;
}

section:has(.brand-item) .brand-item:hover {
  transform: translateY(-5px) scale(1.03) !important;
}

@keyframes fahdBrandsMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(50%);
  }
}


/* =====================================================
   04) مميزات المتجر
===================================================== */

.s-block--features {
  padding: 24px 10px !important;
  background: transparent !important;
}

.s-block--features .container {
  width: 100% !important;
  max-width: 1180px !important;
  padding: 0 10px !important;
}

.s-block--features .grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 14px !important;
}

.s-block--features .feature-item {
  width: 33.333% !important;
  flex: 0 0 calc(33.333% - 10px) !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(196,85,0,.14) !important;
  border-radius: 18px !important;
  padding: 18px 10px !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(120,55,0,.08) !important;
}

.s-block--features .feature-item .icon,
.s-block--features .feature-item i,
.s-block--features .feature-item svg {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  margin: 0 auto 10px !important;
  background: #c45500 !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
}

.s-block--features .feature-item h3 {
  margin: 0 0 5px !important;
  color: #1f1f1f !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

.s-block--features .feature-item p {
  margin: 0 !important;
  color: #777 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}


/* =====================================================
   05) آراء العملاء - إصلاح بدون تخريب
===================================================== */

.s-block--testimonials {
  padding: 35px 0 !important;
  background: #fff !important;
}

.s-block--testimonials .container {
  max-width: 1180px !important;
}

.s-block--testimonials .s-block__title h2 {
  color: #2b160b !important;
  font-size: 28px !important;
  font-weight: 900 !important;
}

.s-block--testimonials .swiper-wrapper {
  align-items: stretch !important;
}

.s-block--testimonials .testimonial-item {
  height: auto !important;
  min-height: 210px !important;
  background: #fff !important;
  border: 1px solid rgba(196,85,0,.14) !important;
  border-radius: 22px !important;
  padding: 22px 18px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.06) !important;
}

.s-block--testimonials .swiper-slide {
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

.s-block--testimonials img {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid rgba(196,85,0,.18) !important;
}

.s-block--testimonials p {
  color: #555 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.s-block--testimonials h3,
.s-block--testimonials .testimonial-name {
  color: #1f1f1f !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.s-block--testimonials .stars,
.s-block--testimonials .star-rating {
  color: #ffb400 !important;
}


/* =====================================================
   06) التصنيفات الفرعية الدائرية
   مخصص فقط لسلايدر التصنيفات
===================================================== */

.s-slider-container:has(a.swiper-slide[href*="/c"]),
.s-slider-container:has(a.swiper-slide[href*="/categories"]) {
  padding: 24px 0 18px !important;
  background: #fff !important;
  overflow: hidden !important;
}

.s-slider-container:has(a.swiper-slide[href*="/c"]) .swiper-wrapper,
.s-slider-container:has(a.swiper-slide[href*="/categories"]) .swiper-wrapper {
  align-items: flex-start !important;
  gap: 24px !important;
}

.s-slider-container a.swiper-slide[href*="/c"],
.s-slider-container a.swiper-slide[href*="/categories"] {
  width: 125px !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.s-slider-container a.swiper-slide[href*="/c"] > div,
.s-slider-container a.swiper-slide[href*="/categories"] > div {
  width: 105px !important;
  height: 105px !important;
  min-width: 105px !important;
  min-height: 105px !important;
  border-radius: 50% !important;
  border: 3px solid #c45500 !important;
  background: #fff !important;
  padding: 8px !important;
  margin: 0 auto 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 24px rgba(196,85,0,.16) !important;
}

.s-slider-container a.swiper-slide[href*="/c"] img,
.s-slider-container a.swiper-slide[href*="/categories"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background: #fff !important;
  transition: .35s ease !important;
}

.s-slider-container a.swiper-slide[href*="/c"]:hover img,
.s-slider-container a.swiper-slide[href*="/categories"]:hover img {
  transform: scale(1.06);
}

.s-slider-container a.swiper-slide[href*="/c"] p,
.s-slider-container a.swiper-slide[href*="/categories"] p {
  margin-top: 10px !important;
  color: #1f1f1f !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center !important;
  line-height: 1.5 !important;
}