@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..700&display=swap');
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 12px;
  margin-top: 60px;
  align-items: stretch;
}

.category-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: 50%;
  color: white;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

.category-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.category-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.category-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(239, 97, 45, 0.4);
}
.subcategories-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}

.subcategory-card {
  background: #ffffff;
  width: 300px;
  min-width: 300px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 3px solid #e2e8f0;
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}

.subcategory-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #ef612d;
  background: linear-gradient(135deg, #ef612d 0%, #c93b07 100%);
  color: white;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  text-align: center;
  padding: 20px;
  transition: color 0.4s ease;
}

.subcategory-card:hover .card-title {
  color: white;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 2.5rem;
  }

  .banner-subtitle {
    font-size: 1.1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-card {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .subcategories-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 300px;
  }

  .subcategory-card {
    width: 250px;
    height: 250px;
  }

  .card-title {
    font-size: 1.1rem;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .subcategory-card {
    width: 220px;
    height: 220px;
  }

  .card-title {
    font-size: 1rem;
    padding: 12px;
  }
}

body.bg-gray-50 {
  background-color: #fff7f5;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: #fffffb;
}

.text-ta {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
  font-size: 20px;
  text-align: center;
}

body::-webkit-scrollbar {
  width: 10px;
  background: #ede6e6;
}

body::-webkit-scrollbar-thumb {
  background: var(--main-color-dark);
}

.full-banner-entry::before,
.full-banner-entry::after {
  display: none;
}

.top-navbar .s-search-input {
  background: #fff;
}

.full-banner-entry:hover {
  opacity: 1;
}

.s-block--best-offers .swiper-android .swiper-slide,
.s-block--best-offers .swiper-wrapper {
  transform: unset !important;
  justify-content: center;
}

.s-block--best-offers {
  margin-top: 0 !important;
  position: relative;
}
.s-block--best-offers .s-slider-block__title {
  display: none;
}
.s-block--best-offers h2 {
  display: none;
}

.s-block--best-offers.container {
  width: 100%;
  max-width: 100%;
}

.s-block--best-offers .s-products-slider-card {
  padding: 0 5px;
  padding-bottom: 1rem;
}

.md\:grid-cols-2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 5rem;
}

.s-product-card-entry {
  box-shadow: 0 0px 12px 2px #00000014;
}

.s-product-card-entry:hover {
  box-shadow: 0 0px 18px 2px #00000014;
}

.s-block--best-offers::before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  left: 0;
  background: #01122c;
  height: 55%;
}

.s-product-card-content {
  padding: 0.8rem;
}

.s-products-slider-card {
  margin: 0 0.5rem;
}

.s-button-primary-outline:hover {
  color: #fff;
}

.s-block--banners .lazy__bg {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top;
}

.has-overlay.with-hover::after {
  display: none;
}

.banner-entry h3.text-with-border,
.two-row .banner-entry:first-child h3 {
  opacity: 1 !important;
  font-size: 17px;
  color: #000;
  padding: 0 !important;
  top: 1.5rem;
  border: 0;
  line-height: normal;
}

.s-block__title {
  justify-content: center;
  position: relative;
}

.s-block__title h2 {
  font-size: 21px;
  margin-bottom: 2rem;
  background: #fffffb;
  padding: 0 3rem;
}

.s-block__title::before {
  position: absolute;
  content: '';
  top: 15px;
  right: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
}

@media (max-width: 768px) {
  .s-block--banners .banner-entry {
    width: 150px !important;
    height: 150px !important;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }

  .banner-entry h3.text-with-border {
    font-size: 14px;
    top: 2rem;
  }
  .banner-entry h3.text-with-border,
  .two-row .banner-entry:first-child h3 {
    top: 1rem !important;
    font-size: 14px;
  }
}
.s-block--best-offers.container .swiper-wrapper {
  max-width: calc(100% / 3);
  margin: auto;
}
.s-block--best-offers .carousel-slider .swiper-wrapper > div {
  width: 100%;
}
@media (max-width: 769px) {
  .s-product-card-sale-price {
    display: flex;
    flex-wrap: wrap;
  }
  [dir='rtl'] .carousel-slider .swiper {
    padding-left: 0rem;
  }

  .s-products-slider-card {
    max-width: 100%;
    padding: 5px !important;
    margin: 0 !important;
  }
}

@media (max-width: 520px) {
  .s-product-card-content {
    padding: 0.8rem 0.2rem;
    text-align: center;
  }
}
@media (max-width: 450px) {
  .full-banner-entry {
    background-size: 187% 90%;
  }
  .s-product-card-sale-price {
    flex-direction: column;
  }
  .s-product-card-promotion-title {
    padding: 7px 4px 7px 4px !important;
    width: 300px !important;
    min-width: fit-content;
    font-size: 10px !important;
  }
  .s-product-card-vertical .s-product-card-wishlist-btn {
    top: 6px !important;
    left: 2px !important;
  }
  .s-button-btn {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .s-product-card-content-title a {
    font-size: 16px !important;
  }
}

.s-block--banners .banner-entry {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #f9bd94, #f9bd9475, #fff);
  margin: auto;
}

.footer-is-light .store-footer .store-footer__inner {
  background: linear-gradient(to top, #f9bd94, #f9bd9475, #fff);
}

.footer-is-light .store-footer .container.text-center {
  background-color: #01122c;
  max-width: 100%;
  padding-right: 2rem;
  padding-left: 2rem;
}

.footer-is-light .store-footer .container.text-center .text-gray-400 {
  color: #fff;
}

.store-footer__inner .container > div:nth-child(2) {
  display: none;
}
.two-row .banner-entry:first-child {
  grid-column: auto !important;
  grid-row: auto !important;
}

.whatsapp-button {
  position: fixed;
  bottom: 73px;
  right: 20px;
  z-index: 999999;
  background: #fff;
  box-shadow: 0 2px 6px 0 #2f17174a;
  border-radius: 30px;
  padding: 10px;
  animation: pulse 3s infinite;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.whatsapp-button:hover {
  animation: none;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(15, 203, 59, 0.4);
  }
  70%,
  100% {
    -webkit-box-shadow: 0 0 0 1px rgba(204, 169, 44, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(15, 203, 59, 0.4);
    box-shadow: 0 0 0 0 rgba(15, 203, 59, 0.4);
  }
  70%,
  100% {
    -moz-box-shadow: 0 0 0 1px rgba(204, 169, 44, 0);
    box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
  }
}