/* Add custom CSS styles below */
/* Add custom CSS styles below */
/* ============================= RTL Fix ============================== */
:root {
  --font-main: "Cairo";
  --color-primary: #583209;
  --color-primary-dark: #583209;
  --color-primary-light: #583209;
  --color-primary-reverse: #ffffff;
}

.s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *) {
  display: none;
}

/* ============================= General ============================== */
body {
  background-color: #fff;
}

/* ============================= Navbar ============================== */
.navbar-brand img {
  max-height: 4rem;
  width: auto;
  max-width: 100px;
}

.main-nav-container {
  min-height: 84px;
  background: #ffffff;
  color: #000000;
}

.main-nav-container.fixed-pinned .navbar-brand img {
  max-height: 55px;
}

.top-navbar {
  background: #583209;
  color: white;
}

.top-navbar .s-search-input {
  border-style: none;
  background-color: #fff;
}

/* ============================= Slider - Photos ============================== */
section.s-block.s-block--photos-slider
  salla-slider.photos-slider
  .swiper-slide {
  width: 100%;
}

section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div {
  padding: 0 !important;
}

section:first-of-type.s-block.s-block--photos-slider {
  margin-top: 0;
}

[dir="rtl"] salla-slider.photos-slider .swiper {
  padding: 0;
}

section.s-block.s-block--photos-slider .s-slider-block__title-nav {
  display: none !important;
}

/* ============================= Header Buttons ============================== */
.header-btn__icon {
  background-color: #583209;
  color: #ffffff !important;
}

.s-cart-summary-total {
  color: #c77fa3;
}

/* ============================= Categories ============================== */
.slide--cat-entry {
  background-color: transparent;
  border-color: transparent;
  height: 17rem;
  padding: 0;
}
@media (max-width: 768px) {
  .slide--cat-entry {
    height: 12rem;
  }
}

.rounded-full {
  border-radius: 0;
}

.w-16 {
  width: 32rem;
}

.h-16 {
  height: 250px;
}
@media (max-width: 768px) {
  .w-16 {
    width: 16rem;
  }
  .h-16 {
    height: 120px;
  }
}

.sm\:py-16 {
  background: #fff;
}

/* ============================= Responsive ============================== */
@media (min-width: 1024px) {
  salla-slider .slide--one-sixth {
    width: 29.666667%;
  }
  .lg\:grid-cols-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================= Swiper ============================== */
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: space-evenly;
  box-sizing: content-box;
}

.s-slider-block__title {
  display: flex;
  justify-content: center;
}

.s-slider-v-centered .s-slider-block__title-nav button {
  display: none;
}

/* ============================= Buttons ============================== */
button.tab-trigger.is-active.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline.s-button-loader-after {
  background: #583209;
  color: #ffffff;
  font-weight: var(--fw-medium);
  border-radius: 12px;
  border: solid 2px #c77fa3;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
  background: linear-gradient(3deg, #583209, #583209);
  color: #fff;
  font-weight: var(--fw-bold);
}

/* ============================= Product Cards ============================== */
.s-product-card-vertical {
  flex-direction: column;
  border: 1.5px solid #583209;
  border-radius: 8px;
}

.s-product-card-content-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* عدد السطور */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  min-height: calc(1.4em * 2);
  display: flex;
  justify-content: center;
  font-weight: var(--fw-medium);
  font-size: 14px;
}

.s-product-card-price,
.s-product-card-starting-price h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25rem;
}

/* ============================= Features ============================== */
.s-block--features__item .feature-icon {
  border-radius: 999px;
  background: #583209;
}

.s-block--features__item .feature-icon i {
  font-size: 24px;
  color: #fff;
  border-radius: 20px;
}

/* ============================= Footer ============================== */
.footer-is-light .store-footer .store-footer__inner {
  background: #583209;
  border-radius: 0px !important;
  color: #fff;
}

.store-footer__inner {
  padding: 5rem;
}

.footer-is-light .store-footer {
  border-radius: 0px;
  background: #583209;
}

.copyright-text p {
  color: #fff;
}

.s-slider-block__title-right {
  padding: 0 !important;
}

footer .flex.items-center.m-0 {
  position: relative;
}

.carousel-slider .swiper-wrapper > div {
  padding: 0.625rem;
}

.s-slider-block__title-left {
  display: none;
}

.s-product-card-content-sub {
  justify-content: center;
  gap: 0.75rem;
  display: flex;
}

.s-reviews-testimonial {
  box-shadow: 0px 0px 4px 0px #583209 !important;
  padding: 3rem;
  border-radius: 14px;
}

.s-reviews-container .swiper-slide {
  padding: 15px;
}

.hover\:text-primary:hover {
  color: #583209;
}

@media (max-width: 767px) {
  salla-slider .slide--one-sixth {
    width: 60%;
  }
}

.s-button-btn,
.s-price-range-number-input {
  border-radius: 0.75rem;
}

.store-footer a h3:nth-child(1) {
  display: none;
}

.s-reviews-header {
  margin-right: auto;
  margin-left: auto;
}

a.flex.items-center.m-0:after {
  content: "";
  display: flex;
  justify-content: center;
  background-repeat: no-repeat;
  padding: 0;
  background-image: url(https://cdn.files.salla.network/homepage/1678729907/3f922555-9859-4d6b-b520-94b586c1e6f6.webp);
  background-position: center;
  background-size: contain;
  width: 340px;
  height: 120px;
  align-items: center;
  border-radius: 6px;
}

.s-social-list {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
}

footer .flex.items-center.m-0 {
  position: relative;
  display: flex;
  justify-content: right;
}

/* انتقال ناعم */
.h-16 {
  display: inline-block; /* أو block حسب العنصر */
  transition: transform 0.3s ease;
  transform-origin: center;
  will-change: transform;
}

/* الزوم عند الهوفر */
.h-16:hover {
  transform: scale(1.06);
}

.slide--cat-entry:hover {
  background: unset;
  box-shadow: unset;
}

.slide--cat-entry h2 {
  display: none;
}

.s-block--features__item {
  padding-left: 2rem;
  padding-right: 2rem;
  background: unset !important;
  border: solid 2px #583209;
  border-radius: 16px;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0rem !important;
  color: #583209;
  font-size: 26px;
}

.store-footer__inner {
  padding: 5rem;
  background: #583209;
  color: #000;
}

.store-footer {
  background: #583209;
}

.topnav-is-dark .top-navbar {
  background-color: #583209;
  color: #000;
}

/* ============================= Fixed Media Queries ============================== */
@media only screen and (min-width: 1024px) {
  .main-menu li > a {
    font-size: 16px;
  }
}

/* اختفاء رابط التخفيضات على أي جهاز */
a[href*="offers"],
#offers > a,
.main-menu > li > a[href*="offer"] {
  display: none !important;
}

@media (max-width: 769px) {
  footer * {
    justify-content: center;
    margin: auto;
    text-align: center;
  }
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
  content: "";
  position: absolute;
  top: 85%; /* المسافة من النص */
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 29px;
  background: url("https://cdn.files.salla.network/homepage/1678729907/b2c6ede4-e342-42b4-8891-08519c5edf96.webp")
    no-repeat center/contain;
}