/* Add custom CSS styles below */ 
/* ============================= RTL Fix ============================== */
.s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *) {
    display: none;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0rem !important;
}

/* ============================= Fonts ============================== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

:root {
    --font-main: 'Tajawal', sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-bold: 700;

    --color-primary: #D27442;
    --color-primary-dark: #D27442;
    --color-primary-light: #D27442;
    --color-primary-reverse: #ffffff;
}

body, p, span, a, button, input, label {
    font-family: var(--font-main) !important;
    font-weight: var(--fw-regular);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-main) !important;
    font-weight: var(--fw-bold);
}

h4, h5, h6 {
    font-family: var(--font-main) !important;
    font-weight: var(--fw-medium);
}

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

/* ============================= Navbar ============================== */
.navbar-brand img {
    max-height: 5rem;
    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: 70px;
}

.top-navbar {
    background: #D27442;
    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: unset;
    color: #D27442!important;
    border: 0;
}

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

/* ============================= Categories ============================== */
.slide--cat-entry {
    background-color: transparent;
    border-color: transparent;
    height: 17rem;
    padding: 0;
}

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

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

.w-16 {
    width: 16rem;
}

.h-16 {
    height: auto;
}

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

/* ============================= Responsive ============================== */
@media (min-width: 1024px) {
    salla-slider .slide--one-sixth {
        width: 21.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: unset;
    color: #000;
    font-weight: var(--fw-medium);
    border-radius: 30px;
    border: solid 2px #D27442;
}

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(359deg, #FFC3A3, #D35E20);
    color: #000000;
    border-color: #D27442;
    border-radius: 10px;
    font-weight: var(--fw-bold);
}

/* ============================= Product Cards ============================== */
.s-product-card-vertical {
    flex-direction: column;
    border: 1px solid #D27442;
    border-radius: 12px;
}

.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);
}

/* ============================= Features ============================== */
.s-block--features__item .feature-icon {
    background-color: #ffffff;
    box-shadow: 0px 0px 0px 8px #d27442;
}

.s-block--features__item .feature-icon i {
    font-size: 24px;
    color: #d27442;
}

/* ============================= Footer ============================== */
.footer-is-light .store-footer .store-footer__inner {
    border-radius: 0px 0px 0px 0px !important;
    color: #000;
    background: linear-gradient(184deg, #d27442, #ffffff94);
}

.store-footer__inner {
    padding: 5rem;
}

.footer-is-light .store-footer {
    background-color: #D27442;
    border-radius: 0px 0px 0px 0px;
    background: linear-gradient(326deg, #d57f52, #fdfdfd);
}

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

.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 #D27442!important;
        padding: 3rem;
        border-radius: 14px;
    }
    
    .s-reviews-container .swiper-slide {
        padding: 15px;
    }
    .hover\:text-primary:hover{
      color: #2c3315;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  position: relative;
  display: inline-block;
  padding: 0 36px; /* مسافة يمين وشمال علشان يظهر الشكل */
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::before,
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;   /* حجم الأيقونة */
  height: 29px;
  background: url("https://cdn.salla.sa/form-builder/sYaeW9vQetDXPS6HS91JMuYGSG1GX3998MGBundd.png") no-repeat center/contain;
  right: 140px;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::before {
  left: 0;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
  right: 0;
}