/* ========================================
   إخفاء الشير + المفضلة
======================================== */

/* إخفاء الشير */
salla-social-share {
    display: none !important;
}

/* إخفاء أيقونة المفضلة */
salla-button.btn--wishlist,
salla-button[data-testid="store-product-wishlist-btn"] {
    display: none !important;
}


/* ========================================
   اسم المنتج + سعر القطعة
======================================== */

/* اسم المنتج */
.main-content h1[data-testid="store-product-title"] {
    display: inline-block !important;
    margin: 0 15px 0 0 !important;
    vertical-align: middle;
    font-size: 1.25rem !important;
    line-height: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* حاوية السعر */
.main-content div[data-testid="store-product-price"] {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle;
    gap: 6px !important;
    white-space: nowrap;
}

/* كلمة سعر القطعة */
.main-content div[data-testid="store-product-price"]::before {
    content: "سعر الحبه:";
    font-size: 1.25rem !important;
    line-height: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* السعر */
.main-content div[data-testid="store-product-price"] p {
    margin: 0 !important;
    font-size: 1.25rem !important;
    line-height: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

/* إخفاء السعر القديم */
.main-content div[data-testid="store-product-price"] > div.hidden {
    display: none !important;
}


/* ========================================
   الموبايل
======================================== */

@media (max-width: 767px) {

    .main-content h1[data-testid="store-product-title"] {
        font-size: 1.125rem !important;
        line-height: 2rem !important;
        margin-right: 10px !important;
    }

    .main-content div[data-testid="store-product-price"]::before {
        font-size: 1.125rem !important;
        line-height: 2rem !important;
    }

    .main-content div[data-testid="store-product-price"] p {
        font-size: 1.125rem !important;
        line-height: 2rem !important;
    }
}


/* =========================================
   ROOT COLORS
========================================= */

:root {
    --main-color: #173E43;
    --second-color: #000;
    --third-color: #fff;
}


/* =========================================
   GENERAL
========================================= */

.header-btn__icon,
body:after {
    border: none;
}


/* =========================================
   MAIN NAVIGATION
========================================= */

#mainnav,
.s-block--categories .swiper-wrapper a {
    background-color: var(--third-color);
}

.main-menu,
.header-btn__icon,
.s-button-primary-outline,
.s-cart-summary-total,
.s-slider-block__title,
.slide--cat-entry i,
.store-footer h3 {
    color: var(--main-color);
}

.main-menu li a:hover,
.sicon-user-circle:hover::before,
.slide--cat-entry h4 {
    color: var(--second-color);
}


/* =========================================
   PAGE LOADER
========================================= */

body:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 999999;
    background: url("https://cdn.files.salla.network/homepage/2078138943/214c53c2-c25a-468f-bef3-5afea25633a4-original.webp")
        center / 160px no-repeat #fff;
    animation-name: fade-in;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    0%,
    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}


/* =========================================
   BANNERS
========================================= */

.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1;
    grid-row: span 1;
}

.banner-entry {
    background-color: transparent;
}

.banner--fixed img,
.store-footer__inner {
    background-color: transparent !important;
}


/* =========================================
   SECTION TITLES
========================================= */

.s-block__title,
.s-products-slider-slider .s-slider-block__title {
    color: #000 !important;
    border-right: 11px solid var(--main-color);
    border-radius: 9px;
    padding-right: 15px;
    padding-top: 7px;
    padding-bottom: 9px;
    margin-right: 12px;
}


/* =========================================
   MOBILE MENU
========================================= */

@media only screen and (max-width: 1024px) {
    .mm-spn.mm-spn--light {
        color: var(--main-color);
        background: var(--third-color);
    }
}


/* =========================================
   SLIDER
========================================= */

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-right: 0;
    }
}

.s-block--photos-slider {
    margin-top: 0 !important;
}

.swiper {
    padding-left: 0 !important;
}

salla-slider.photos-slider .swiper-slide {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

.flex.items-center.m-0,
.swiper-pagination {
    display: none;
}


/* =========================================
   CONTACT & SOCIAL ICONS
========================================= */

.s-contacts-icon,
.s-social-link a,
.store-footer i {
    color: var(--main-color);
    border-color: var(--main-color);
}

.slide--cat-entry i {
    content: "\ec0b";
}

.s-contacts-item {
    justify-content: center;
}


/* =========================================
   PRODUCT CARDS
========================================= */

.s-product-card-entry {
    border: 2px solid var(--main-color);
    padding: 7px;
    border-radius: 17px;
    box-shadow: 0 0 10px #ddd;
}

.s-block--features__item h4,
.s-product-card-price {
    color: var(--main-color);
}

.s-product-card-content-footer .s-button-btn {
    border-radius: 30px !important;
    font-size: 13px;
    background: var(--main-color);
    box-shadow: 0 0 10px #ddd;
    color: #fff;
}


/* =========================================
   FEATURES & FOOTER TEXT
========================================= */

.footer-list,
.s-block--features__item p,
.store-footer a,
.store-footer h3:hover,
.store-footer__inner .max-w-sm {
    color: var(--second-color);
}


/* =========================================
   GRID
========================================= */

.grid-flow-row {
    grid-auto-flow: column;
}

@media only screen and (min-width: 600px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 1 / span 1;
    }
}

@media only screen and (max-width: 600px) {
    .s-product-card-content-footer .s-button-btn {
        font-size: 10px;
    }
}


/* =========================================
   FOOTER
========================================= */

.store-footer {
    padding: 30px;
    font-size: 14px;
    border-top-left-radius: 125px;
    border-top-right-radius: 125px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.footer-is-light .store-footer .store-footer__inner {
    background-color: transparent;
}

.store-footer__inner {
    text-align: center;
}

.store-footer__inner .flex {
    justify-content: center;
}

.store-footer__inner .max-w-sm {
    margin: auto;
}

.store-footer h3 {
    font-size: 1.3rem;
}

.store-footer h3:hover {
    opacity: 1;
    cursor: pointer;
}

/* =========================================
   FOOTER LOGO
========================================= */


/* =========================================
   REVIEWS
========================================= */

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-align: center;
}

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial__avatar:where([dir="rtl"], [dir="rtl"] *) {
    margin-left: 0;
}

.s-reviews-testimonial__name_wrapper {
    flex-direction: column;
    justify-content: space-between;
}

.s-reviews-testimonial__rating {
    margin-left: 0;
    margin-top: 15px;
}

.s-reviews-testimonial__text {
    flex: 1 1 0%;
    flex-direction: column-reverse;
    display: flex;
}

.s-reviews-container
.swiper-slide-active
.s-reviews-testimonial:where([dir="rtl"], [dir="rtl"] *) {
    background-color: transparent;
}


/* لون خلفية الهيدر */
#mainnav {
    background-color: #173E43 !important;
}

/* لون روابط القائمة */
#mainnav .main-menu > li > a,
#mainnav .main-menu > li > a span {
    color: #fff !important;
}

/* لون الأيقونات */
#mainnav .sicon-menu,
#mainnav .s-user-menu-login-btn,
#mainnav .header-btn__icon,
#mainnav .sicon-shopping-bag {
    color: #fff !important;
    fill: #fff !important;
}

/* أي SVG داخل الهيدر */
#mainnav svg {
    fill: #fff !important;
}

/* زر القائمة في الموبايل */
#mainnav .mburger i {
    color: #fff !important;
}

/* لون رقم السلة والنص */
#mainnav .s-cart-summary-count,
#mainnav .s-cart-summary-total,
#mainnav .s-cart-summary-content {
    color: #fff !important;
}

/* لون أي عناصر نصية داخل الهيدر */
#mainnav a {
    color: #fff;
}



salla-slider.photos-slider .swiper {
  padding-bottom: 0rem; 
}

section[data-testid="store-home-photos-slider"]:nth-of-type(3) {
  position: relative !important;
  top: 1.3rem !important;
  margin-bottom: 1.5rem !important;
}

section[data-testid="store-home-photos-slider"]:nth-of-type(5) {
  position: relative !important;
  top: 1.8rem !important;
  margin-bottom: 1.5rem !important;
}


.s-product-card-image{
  background:#fff!important;
}
.s-product-card-content-title,
.s-product-card-price{
  text-align:center!important;
}

.s-product-card-content-sub {
    justify-content: center;
}

.s-product-card-content-title a,.s-product-card-price {
    font-size: 1rem;
}

@media (max-width: 767px){
  #best-offers-3-slider{
    padding-top:.5rem!important;
  }

  #best-offers-5-slider{
    padding-top:.5rem!important;
  }
}


@media (max-width: 767px) {
    .main-content h1[data-testid="store-product-title"] {
        margin-right: 0px !important;
    }
}


.store-footer,
.store-footer__inner{
  background-color:#173E43!important;
}

.store-footer,
.store-footer h3,
.store-footer p,
.store-footer a,
.store-footer .unicode,
.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number{
  color:#fff!important;
}

.store-footer svg{
  fill:#fff!important;
}

.store-footer .s-social-icon,
.store-footer .s-contacts-icon{
  color:#fff!important;
}

.store-footer .copyright-text,
.store-footer .copyright-text a{
  color:#fff!important;
}

.store-footer__inner{
  border-radius:40px 40px 0px 0px!important;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0 {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0::before {
    content: "";
    display: block !important;

    width: 110px !important;
    height: 45px !important;
    margin: 0 auto 10px;

    background-image: url("https://cdn.files.salla.network/theme/2078138943/999da339-3c80-4f15-b01e-0d54769b2473-original.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.store-footer .grid > div:first-child > a.flex.items-center.m-0 h3 {
    display: none !important;
}

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

.top-navbar{
  background:#ffffff!important;
}

nav#mobile-menu {
    margin-top: 10px !important;
}

@media (min-width: 640px) {
    .s-block {
        margin-top: 2rem;
    }
}

.product__description article p:has(br:only-child) {
    display: none !important;
}

element.style {
    bottom: 110px;
}


.s-block--fixed-banner:first-of-type {
  margin-top: 2rem!important;
}

.s-block--fixed-banner ~ .s-block--fixed-banner {
  margin-top: 3rem !important;
}


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

@media (max-width: 767px) {
  salla-trust-badges[data-testid="store-footer-trust-badges"] {
    margin-top: 10px;
  }
}


body:not(.home) .s-before-products-list .s-block--bundle-video-content-split {
    margin-top: 0 !important;
    padding-top: 0 !important;
}