/* Add custom CSS styles below */ 
/* ============================= RTL Fix ============================== */

:root {
    --font-main: 'cairo' !important ;
    --color-primary: #193C87;
    --color-primary-dark: #193C87;
    --color-primary-light: #193C87;
    --color-primary-reverse: #ffffff;
}

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



/* ============================= 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: 55px;
}

.top-navbar {
    background: linear-gradient(45deg, #193C87, #3B85A7);
    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: #193C87!important;
    border: 1;
}

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

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



.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: linear-gradient(45deg, #193C87, #3B85A7);
    color: #ffffff;
    font-weight: var(--fw-medium);
    border-radius: 30px;
    border: solid 2px #193C87;
}

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(45deg, #193C87, #3B85A7);
    color: #ffffff;
    border-color: #193C87;
    border-radius: 55px;
    font-weight: var(--fw-bold);
}

/* ============================= Product Cards ============================== */
.s-product-card-vertical {
    flex-direction: column;
    border: 1px solid #193C87;
    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 0 8px #193C87;
}

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

/* ============================= Footer ============================== */
.footer-is-light .store-footer .store-footer__inner {
    background: linear-gradient(45deg, #193C87, #3B85A7);
    border-radius: 0px 0px 0px 0px !important;
    color: #fff;
}

.store-footer__inner {
    padding: 5rem;
}

.footer-is-light .store-footer {
    background: linear-gradient(45deg, #193C87, #3B85A7);
     border-radius: 0px 0px 0px 0px;
}

.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 #193C87!important;
        padding: 3rem;
        border-radius: 14px;
    }
    
    .s-reviews-container .swiper-slide {
        padding: 15px;
    }
    .hover\:text-primary:hover{
      color: #012b6f;
}
@media (max-width: 767px) {
  salla-slider .slide--one-sixth {
    width: 60%;
  }
}
.s-button-btn, .s-price-range-number-input {
    border-radius: 1.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.salla.sa/form-builder/Vk9eM0JfJocOVZhLnEwCVEEs7MneU2AIiCnRHsUA.png);
    background-position: center;
    background-size: contain;
    width: 160px;
    height: 80px;
    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: center;
}
p {
    display: flex
;
    justify-content: flex-start;
}

/* انتقال ناعم */
.h-16 {
  display: inline-block;           /* أو block حسب العنصر */
  transition: transform .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;
}