/* Add custom CSS styles below */ 
:root {
    --main-color: #6d4444;
    --alt-main-color: #4e3131;
    --white-color: white;
}
div.app-inner > header > div.top-navbar   {
color: var(--white-color) !important;
}
#mainnav{
    background: var(--main-color);
  color: var(--white-color) !important;

}
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 50px;
    transform: translateX(-20%);
}

/********************* header ************************/
.top-navbar {
    background: var(--main-color);

}

.top-navbar .s-search-input {
    background-color: var(--white-color) !important;
}

@media (min-width: 1024px) {

    ul.main-menu,
    .main-menu li.root-level>a {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}
custom-main-menu {
   
    transform: translatex(-70%);
}

.main-menu li.root-level>a {
    position: relative;
}

.main-menu li.root-level>a::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0px;
    height: 2px;
    bottom: 0;
    background: var(--main-color);
    transition: 0.3s;
}

.main-menu li.root-level>a:hover {
    transform: translateY(-3px);
    background-color: #eeeeee;
}

.main-menu li.root-level>a:hover::before {
    width: 100%;
}

i.header-btn__icon.sicon-user-circle,
i.header-btn__icon.icon.sicon-shopping-bag,
i.sicon-menu {
    background: var(--main-color) !important;
    color: var(--white-color) !important;
    border: 0px !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: 0.3s;
}

i.sicon-menu {
    padding: 8px;
    border-radius: 50%;
}

i.header-btn__icon.sicon-user-circle:hover,
i.header-btn__icon.icon.sicon-shopping-bag:hover {
    background: var(--white-color) !important;
    color: var(--main-color) !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transform: translateY(-3px);
    transition: 0.3s;
}

@media (max-width: 480px) {
    div#mainnav {
        padding-top: 0.8rem !important;
    }
}
.s-cart-summary-total {
   
    color: var(--white-color) !important;
}


/**********Sections***************/
section.s-block.s-block--photos-slider {
    margin-top: 0 !important;
}
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide{
    padding:0 !important;
    margin:0 !important;
    width:100% !important;
    border-radius:0 !important;
}
[dir=rtl] section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper{
    padding:0 !important;
}

img.w-full{
    border-radius: 0px;
}

button.s-slider-next.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock , button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled.swiper-button-lock {
    display:none;
}
div.app-inner> section:nth-child(5) > div.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-gap:0 ;
}

div.app-inner> section:nth-child(5) > div.grid > a {
    height: 250px !important;
}

@media (max-width: 767px) {
 .navbar-brand img {
    transform: translateX(-60%) !important;
    margin-bottom: 10px;
}
    div.app-inner> section:nth-child(5) > div.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

    div.app-inner>section>div.grid a.banner-entry {
        height: 120px !important;
    }
}

body.index>div.app-inner>section.s-block.s-block--banners .banner-entry:first-child {
    grid-area: 1/1/1/1 !important;
}

div.app-inner> section:nth-child(5) > div.grid > a {
    background: transparent !important;
}
div.app-inner > section:nth-child(5) > div.s-block__title > div > h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--alt-main-color);
    text-align: center;
    position: relative;
    display: inline-block;
}

div.app-inner > section:nth-child(5) > div.s-block__title > div > h2:before {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--alt-main-color);
    top: 50%;
    transform: translateY(-50%);
    left: -60px;
}

div.app-inner > section:nth-child(5) > div.s-block__title > div > h2:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--alt-main-color);
    top: 50%;
    transform: translateY(-50%);
    right: -60px;
}


div.app-inner> section:nth-child(5) > div.grid > a >div {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}
div.app-inner> section:nth-child(5) > div.grid > a{
    position:relative;
    overflow:visible !important;
}
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(3)::after{
    position:absolute;
    content:"بيجامات نسائية";
     color: var(--alt-main-color);
    left: 50%;
    bottom: -20px;
    font-size: 1.5rem;
    font-weight: bold;
    transform: translateX(-50%);
    width: 100% !important;
    
    
}
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(2)::after {
    position: absolute;
    content: "قمصان نوم نسائية ";
    color: var(--alt-main-color);
    left: 50%;
    bottom: -20px;
    font-size: 1.5rem;
    font-weight: bold;
    transform: translateX(-50%);
    width: 100% !important;
}
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(1)::after {
    position: absolute;
    content: "ملابس داخلية نسائية";
    color: var(--alt-main-color);
    left: 50%;
    bottom: -20px;
    font-size: 1.5rem;
    font-weight: bold;
    transform: translateX(-50%);
    width: 100% !important;
}
@media (max-width: 767px){
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(1)::after,
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(2)::after,
div.app-inner> section:nth-child(5) > div.grid > a:nth-child(3)::after{
font-size: 12px ;
}
}

section.PC-banner {
    margin-top: 50px;
}
#app > div.app-inner.flex.flex-col.min-h-full > section.s-block.s-block--photos-slider)>div  {
     max-width: 100% !important;
    padding: 0 !important;
    
}
div.app-inner> section:nth-child(4) > div > a > img {
    border-radius:0 !important;
}
div.app-inner> section:nth-child(4){
    margin-top: 0 !important;
}
div.app-inner> section:nth-child(9) div ,
div.app-inner> section:nth-child(7) div {
     max-width: 100% !important;
    padding: 0 !important;
}
div.app-inner> section:nth-child(9) div > a > img,
div.app-inner> section:nth-child(7) div > a > img{
    border-radius:0 !important;
}




@media (max-width: 767px){

}
 div.app-inner > section:nth-child(5) > div.s-block__title {
  display:flex;
  justify-content:center;
    
}

 div.s-slider-block__title > div.s-slider-block__title-left > div {
    display:none; 
}
 div.app-inner > section:nth-child(5) > div.s-block__title h2,
 div.s-slider-block__title h2 {
     color: var(--alt-main-color);
     font-weight:bold ;
     font-size: 1.5rem ;
 }
  div.s-product-card-content > div.s-product-card-content-footer.gap-2 > salla-add-product-button > div > salla-button > button {
     background-color: var(--alt-main-color);
     color: white;
 }
  div.s-slider-block__title > div.s-slider-block__title-right > h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--alt-main-color);
    text-align: right;  
    padding: 5px 10px;
    border: 2px solid var(--alt-main-color);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

 div.s-slider-block__title > div.s-slider-block__title-right > h2:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
         background-color: var(--main-color);

    z-index: -1;
    transition: left 0.5s ease;
}
 div.s-slider-block__title > div.s-slider-block__title-right > h2:hover:before {
    left: 0;
}

 div.s-slider-block__title > div.s-slider-block__title-right > h2:hover {
    color: #fff !important;
}

 div.s-slider-block__title > div.s-slider-block__title-right > h2 span {
    position: relative;
    z-index: 1;
}
 div.s-slider-block__title{
     display:flex;
     align-items:center;
     justify-content:center;
 }
#best-offers-6-slider{
    background: #4c2b2a !important;
    max-width: 100%; 
    margin-top:0 !important;
    padding:20px
}
#slider-with-bg-6 > div.s-slider-block__title > div.s-slider-block__title-right > h2 {
    color:white !important;
    border: 1px solid var(--white-color) !important;
}




/************ footer **************/
.footer-is-light .store-footer {
    background-color: var(--white-color); /* لون خلفية الفوتر */
    position: relative; /* لجعل الموجة تعمل بشكل نسبي */
    overflow: hidden; /* لإخفاء أي جزء زائد من الموجة */
    z-index: 1;
}

.footer-is-light .store-footer::before {
    content: ""; /* عنصر افتراضي لإنشاء الموجة */
    position: absolute;
    top: -30px; /* مكان الموجة */
    left: 0;
    width: 100%; /* تغطي عرض الفوتر */
    height: 100px; /* ارتفاع الموجة */
    background-color: var(--main-color); /* لون الموجة */
    z-index: -1; /* خلف محتوى الفوتر */
    clip-path: path("M0,128L48,154.7C96,181,192,235,288,218.7C384,203,480,117,576,90.7C672,64,768,96,864,106.7C960,117,1056,107,1152,112C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z");
}

/* تحسين مظهر الفوتر وعناصره */
.footer-is-light .store-footer .store-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    color: #000; /* لون النص */
}

span.s-contacts-icon {
    background: var(--main-color); /* لون الخلفية للأيقونات */
    border: none;
    transition: 0.3s ease; /* تأثير عند التحريك */
}

span.s-contacts-icon:hover {
    transform: translateY(-6px); /* تأثير الرفع عند التمرير */
}

div.app-inner > footer > div.store-footer__inner > div > div > div > salla-social > li > a {
    border: none;
    transition: 0.3s ease;
    border-radius: 50%; /* لتصبح دائرية */
}

div.app-inner > footer > div.store-footer__inner > div > div > div > salla-social > li:nth-child(1) > a {
    background: linear-gradient(45deg, #F58529, #D62C5A, #8A3FFC); /* انستغرام */
}

div.app-inner > footer > div.store-footer__inner > div > div > div > salla-social > li:nth-child(2) > a {
    background: linear-gradient(45deg, #000000, #3a585a, #EE1D52); /* تيك توك */
}

div.app-inner > footer > div.store-footer__inner > div > div > div > salla-social > li > a:hover {
    transform: translateY(-6px);
}

/* تحسين النصوص */
div.app-inner > footer > div.md\:flex.items-center.justify-between.py-4.container.text-center > span > p {
    color: #000;
}

/* تحسين التنسيق للشاشات الصغيرة */
@media (max-width: 768px) {
    div.app-inner > footer > div.store-footer__inner > div {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
    display:flex ;
    flex-direction:column;
    align-items: center
}
}

nav#mobile-menu a.offers-link {color: #ffffff !important;}