/* Add custom CSS styles below */ 
/* elegance css*/
/* Add custom CSS styles below */ 


@import url(https://site-assets.fontawesome.com/releases/v6.4.2/css/all.css);

 

:root {
 --brown-color: #fdf3ee;
 --main-color: #ba5427;
 --second-color: #fdf3ee;
 --third-color: #e6d4b2;
 --white-color: #fff;
 --black-color: #000;
 --back-color: #00574c;
 --icon-color: #1e9631;
 --ford-back:#fffcfa;
 --gr-light: #d2d2d2;
 --gr-dark: #00574c;
 --icon-back: #989898;
}

/* intro */
@keyframes pupup {
0% {
transform: scale(1)
}

18% {
transform: scale(1)
}

80% {
transform: scale(1)
}

100% {
transform: scale(0)
}
}

@keyframes pupup_logo {
0% {
transform: scale(0.9)rotate(0deg)
}

40% {
transform: scale(1)rotate(0deg)
}

80% {
transform: scale(0.9)rotate(0deg)
}

100% {
transform: scale(0)rotate(0deg)
}
}



body.index:before {
content: "";
width: 100%;
height: 100%;
background: #fcfcfc;
position: fixed;
z-index: 99999;
transform: scale(0);
animation-name: pupup;
animation-duration: 2s;
background-size: 95px;
background-repeat: no-repeat;
background-position: center 3rem
}

body.index:after {
content: "";
width: 100%;
height: 100%;
top: 0;
position: fixed;
z-index: 999999999999999;
background:url("https://cdn.salla.sa/form-builder/NWtqTpFjan5XZuHDTfQZC9NdLfe9a5tVKZLVUH5u.png");
left: 0;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
animation-name: pupup_logo;
animation-duration: 2s;
transform: scale(0)rotate(0deg)
}

@media (min-width: 480px){
body.index:after {
background-size: 10%;
}}







.index .store-header {
margin-bottom: 0 !important;
z-index: 9999;

}

.bg-inherit,
[dir=rtl] .s-cart-summary-count {
   background: #ffffff;
}

.top-navbar {

    background-image: radial-gradient(circle, #ffffff, #fff);
}




.leading-\[1\.2\],

.mm-spn li a span,
.s-block__title h2,
[dir=rtl] .s-slider-block__title h2,
h1.font-bold.text-xl.rtl\:pl-3.ltr\:pr-3, .s-slider-block__title h2:where([dir=ltr],[dir=ltr] *) {
color: var(--main-color);
   display: inline-block;
font-size: 1.6rem;
}
 .main-menu li.root-level > a span{
color: var(--main-color);
font-weight:700;

}

@keyframes textclip {
    to {
        background-position: 200% center
    }
}

i.header-btn__icon {
    background-color: var(--ford-color);
    color: var(--main-color);
    border: 2px solid var(--third-color);
    box-shadow: 0 14px 28px rgb(0 0 0 / 0%), 0 10px 10px rgba(0, 0, 0, .22);
}


.s-cart-summary-total {
    color: var(--third-color);
    font-weight: 800
}







.index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(3) {
    
}

.leading-\[1\.2\],
.s-block__title h2,
[dir=rtl] .s-slider-block__title h2 {
color: var(--main-color);
font-size: 1.3rem;
line-height: 1.5em;
}




    justify-content: center;
    display: flex;
    align-items: center
}




.s-product-card-content-title a,
.s-product-card-sale-price span,
.s-product-card-wishlist-btn .s-button-text {
    color: #000 !important;
}


element.style {
}
.s-product-card-price {
    font-size: 1.2rem;
    color: var(--main-color);
}

.s-product-card-content-title a {
    white-space: nowrap;
    color: #000 !important;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis
}

.s-product-card-content-subtitle {
    display: ;
    text-align: center;
}

.s-product-card-rating {
    color: #ff9300 !important
}

.s-block--features__item {
    background: 0 0
}

.s-block--features__item p {
    display: none
}

.sicon-check-circle2:before {
    background: url("https://i.ibb.co/0KVQ65C/wired-outline-237-star-rating-morph11.gif") 0 0/contain;
    width: 50px;
    height: 50px;
    display: block;
    content: ""
}

.footer-is-light .store-footer .social-link {
    animation: 2s ease-in-out infinite both heartbeat
}


.store-footer a,
.store-footer h3,
.store-footer p.max-w-sm.leading-6.mb-6 {
    color: var(--main-color);
    text-align: center !important
}

.store-footer a.flex.items-center.m-0,
.store-footer a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none {
    justify-content: center;
    color: var(--main-color);
}

.store-footer .contact-social ul,
.store-footer__inner .flex {
    justify-content: center
}




@media(max-width:992px) {
    .mm-spn.mm-spn--navbar ul {
        background: #fffefd;
    }
    .mm-ocd--open .mm-ocd__content {
        background: var(--second-color)
    }
    .mm-ocd--open .mm-ocd__content::before {background: #fbf8f5 url(https://cdn.salla.sa/form-builder/NWtqTpFjan5XZuHDTfQZC9NdLfe9a5tVKZLVUH5u.png);border-radius:0;font-size: 18px;content: "";width: 100%;background-repeat: no-repeat;background-size: 30%;background-position: center;margin: auto;height: 30%;justify-content: center;display: flex}
    :is([dir=rtl] .mm-spn.mm-spn--navbar.mm-spn--main):after {
        border: none !important;
        background: var(--second-color);
        color: var(--main-color);
        text-align: right
    }
   .mm-spn li {
background: #fffefd !important;
}
    }
    .mm-spn li a,
    .mm-spn li span,  {
        color: var(--white-color) !important
    }
    /*
    .mm-spn li span:before {
        background: url("https://i.ibb.co/tpPYkHB/wired-lineal-2239-star-of-bethlehem.gif") 0 0/contain;
        width: 35px;
        height: 35px;
        display: inline-block;
        content: "";
        margin-left: 5px
    }*/
    .sicon-menu:before {
        content: "\ed7f";
        border-radius: 50%;
        padding: 7px;
        color: var(--main-color);
        border: 2px solid var(--third-color)
    }
    .mm-spn.mm-spn--navbar:after {
        opacity: 1
    }
    .mm-spn ul.main-menu li:before {
        color: var(--third-color) !important
    }
    .main-menu li.root-level>a span,
    .mm-spn li a span {
        display: flex !important;
        justify-content: center;
        align-items: center
    }
    .footer-is-light .store-footer .store-footer__inner .lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 {
        
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center
    }
    .footer-list.store-links-items {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto !important
    }
}

footer.store-footer {
    background-color: var(--brown-color) !important
}

.product-index h1.font-bold.text-xl.rtl\:pl-3.ltr\:pr-3 {
}




.navbar-brand img{animation: wiggle 2.5s infinite;transform-origin: 50% 5em;max-height: 3.6rem!important;}

.undefined{

}

@keyframes signal {
0% {
box-shadow: 0 0 0 0 #83e0af
}

100% {
box-shadow: 0 0 0 10px #fff

}
}
@keyframes wiggle {
0%, 7% {
transform: rotateZ(0);
}
15% {
transform: rotateZ(-10deg);
}
20% {
transform: rotateZ(5deg);
}
25% {
transform: rotateZ(-5deg);
}
30% {
transform: rotateZ(6deg);
}
35% {
transform: rotateZ(-4deg);
}
40%, 100% {
transform: rotateZ(0);
}}



{

}
.s-product-card-content-title a{
text-align: center;
}


.s-product-card-content-sub {

justify-content: center;
}

/* ØµÙˆØ±Ø© Ø§Ù„Ù…Ù†ØªØ¬ */
.s-product-card-fit-height .s-product-card-image {height: 10rem;max-height: 21rem;}

.s-product-card-vertical .s-product-card-image {
border-radius: 1.875rem!important;
}

Ù„ÙˆÙ† Ø§Ù„Ø®Ù„ÙÙŠØ© 

body {
background-color: white;
}


/* Ø§Ù„Ø´Ø¹Ø§Ø± */
.justify-between {
padding-top: 3px;
}
.navbar-brand img {max-width: 175px;}

.navbar-brand img{}


.navbar-brand{margin-top: 0;margin-bottom: 0.2rem;}

@media (min-width: 480px){
.navbar-brand img {
max-width: 170px;
}}

/* Ø§Ù„ÙÙˆØªØ± */
.store-footer a, .store-footer h3, .store-footer p.max-w-sm.leading-6.mb-6 {
color: var(--main-color);
text-align: center !important;
}

.footer-is-light .store-footer .store-footer__inner .text-sm {
color: var(--brown-color);
}

/* Ø§Ù„Ø±Ø£Ø³ÙŠØ© */

@media (max-width: 992px){
.sicon-menu:before {

background-color: var(--ford-color);
}}

i.header-btn__icon{
background-color: var(--ford-color);
}

.s-product-card-fit-height.s-product-card-vertical .s-product-card-image{
background: white;
border:;

}


/* Ø§Ù„Ø£Ù‚Ø³Ø§Ù… Ø¬Ø¯ÙŠØ¯Ø©*/

.lazy__bg.loaded{
background-size: contain;
background-repeat: no-repeat;
}

.md\:grid-cols-2{
display:flex;
gap: 6rem;
justify-content:center;
}
.banner-entry{
background-color:#ffffff00!important;
width: 452px;
}

@media (max-width: 800px)
{
.md\:grid-cols-2{
gap: 1rem;
flex-direction: row;
flex-wrap: wrap;
}
.banner-entry{
min-height: 150px;
width: 32%;
}

}
@media (min-width: 1024px){
.banner-entry {
height: 377px;
}
}

/* Ø²Ø± Ø§Ù„Ø³Ù„Ù„Ø© */

.s-button-btn {
padding-left: 1.1rem;
padding-right: 1.2rem;
padding-bottom: .4rem;
padding-top: .4rem;
}

.store-footer {
background-color:var(--main-color);}

.banner--fixed img {
border-radius: 0;
margin-top: 0;
background: none;
}
.index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(3){
background:#f9ecd700;
}
.s-product-card-image img.loaded {

background: white;
}
body, section.section {
background-color: #fcfcfc;
}

@media only screen and (max-width: 1024px){
.main-menu .has-children.root-level>a:after {
color: white;
opacity: 1;
}

}





body, section.section {

 background-image: url(https://cdn.salla.sa/form-builder/GBJWoFAZBYt005Yo4IeCA5Q8DNhSLc4F8UUDRWa3.png) !important;

    background-size: 60%;
    
}

@media only screen and (max-width: 1024px){
.main-menu .has-children.root-level>a:after {
    color: white;
    opacity: 1;
}

body, section.section {

 background-image: url(https://cdn.salla.sa/form-builder/7PYmr6bAXCntbmQ4bUiUn0vkdJr6AAVY7IWBMKbz.png) !important;

    background-size: 120%!important;
    
}
}



/*ØªØ®ØµÙŠØµØ§Øª Ø¬Ø¯ÙŠØ¯Ø©*/


.topnav-is-dark .top-navbar{
}



/* Ø­Ø¬Ù… Ø§Ù„Ù…Ù†ØªØ¬Ø§Øª*/
@media (max-width: 992px){
.carousel-slider .swiper-wrapper> div {/* height: 27rem!important; */}
}





.swiper-wrapper{
margin-bottom: 10px;

}
.section-products .container {
background: #ffffff7a!important;
border: 1px solid #fff!important;
}    

#best-offers-1-slider, #best-offers-2-slider, #best-offers-3-slider, #best-offers-4-slider, #best-offers-5-slider, #best-offers-6-slider,#best-offers-7-slider, #best-offers-8-slider, #best-offers-9-slider, #best-offers-10-slider, #best-offers-11-slider, #best-offers-12-slider, #best-offers-13-slider, #best-offers-14-slider{
background:whtite !important;

padding-top: 1rem;
border-radius: 10px;
padding-bottom: 18px;
}
@media (min-width: 1280px){
.container {
max-width: ;
} }

.header-btn__icon{
font-size: 1rem;
}


i.header-btn__icon{
border:0px;
background-color: var(--ford-back);

}

.s-cart-summary-total {
display: none;
}

@media (max-width: 992px){
.sicon-menu:before {
background-color: var(--ford-back);
border:none;
}}
/*end of cart and header icons*/







/* Ø§Ù„Ø£Ù‚Ø³Ø§Ù… Ø¬Ø¯ÙŠØ¯Ø©*/

.lazy__bg.loaded{
background-size: contain;
background-repeat: no-repeat;
}

.md\:grid-cols-3{
display:flex;
gap: 2rem;
justify-content:center;
flex-wrap: wrap;
}
.banner-entry{
width: 70px;
height: 150px;
}


@media (max-width: 767px)
{
.md\:grid-cols-3{gap: 1.3rem;flex-direction: row;flex-wrap: wrap;row-gap: 0rem;}

.banner-entry{
min-height: 43px;
width: 27%;
}

}
@media (min-width: 1024px){
.banner-entry {height: 310px !important;width: 330px;margin-bottom: 20px;}
}

.s-block--banners+.s-block--banners {
margin-top: 0em;
}




/* Feachure items*/
.s-block--features__item:first-child {
grid-column: 1;
}

.s-block--features__item p {
display: block;
}

@media (max-width: 744px){
.grid-cols-\[repeat\(2\2c minmax\(0\2c 1fr\)\)\] {
grid-template-columns: repeat(1,minmax(0,1fr));
}

}
  
  .s-block--features__item {
        padding-left: 2rem;
        padding-right: 2rem;
        border: 1px solid #ef939b;
        box-shadow: 0px 0px 13px 0px #0000001c;
        background: #fffbfa;
    }


.s-block--features__item .feature-icon{
background-color: #c6602d;
}
/* icons movement */


.s-block--features__item:hover .feature-icon i{
animation: none;
}
.feature-icon i{
animation: float 3s ease-in-out infinite!important;
}

@keyframes float {
0% {
transform: translatey(0px);
}

50% {
transform: translatey(18px);
}

100% {
transform: translatey(0px);
}
}










/* footer */
@media (min-width: 1024px){
.lg\:gap-6 {
gap: 1.5rem;
display: flex;
flex-direction: row;
justify-content: center;
justify-content: space-around;
}

.rtl\:lg\:pl-20:where([dir=rtl],[dir=rtl] *) {
padding-left: 0;
}

.store-footer a.flex.items-center.m-0, .store-footer a.mb-4.last\:mb-0.flex.items-center.text-sm.leading-none {
justify-content: right;
}

.rtl\:lg\:pl-20 a h3 {
padding-right: ;
}

}

.main-menu li.root-level>a span, .mm-spn li a span,  .mm-spn li span {font-size: 1.3em;color: #383838;}

.store-footer__inner{

background: var(--main-color);
}

.main-menu .has-children.root-level>a:after{
color: var(--icon-back);
}

.store-footer__inner{
padding-top: 4rem;
}

.s-slider-block__display-all {
color: var(--main-color);
background: var(--second-color);
padding: 7px;
border-radius: 20px;
}


[dir=rtl] .s-product-card-vertical .s-product-card-wishlist-btn{
display:none;
}

.copyright-text p {

color:rgb(156 156 156);
}

.s-block--features__item .feature-icon i {
}
/* Ø§Ù„ÙÙˆØªØ±
.store-footer__inner {
background-image: url(https://cdn.salla.sa/form-builder/d542RekOBdXr5iwH70x7YEKnu0kIF9OwjPe6bC2D.jpg); 
background-size: cover;
}
*/

.footer-is-light .store-footer .store-footer__inner{
background: var(--brown-color);

}
@media (max-width: 1024px){

.s-contacts-list-vertical {
padding-right: 5em;
}}

.s-social-list {
justify-content: center;
}

.footer-is-light .store-footer{
background: white;
}

.s-product-card-promotion-title{background-color: #e77a43;display: none;}

.s-block--fixed-banner .container {



}

.store-footer{
}


/* whatsapp */
#whatsapp-button {
position: fixed;
bottom: 20px;
right: 20px;
border-radius: 50%;
background-color: rgb(48, 191, 57);
color: white;
text-align: center;
line-height: 52px;
font-size: 20px;
cursor: pointer;
width: 50px;
height: 50px;
border-radius: 32.5px;
font-size: 32px;
box-shadow: #0000006b 2px 2px 8px;
transform: rotate(360);
transition: all .2s ease-in-out;
z-index: 9999;

}


.two-row .banner-entry:first-child h3, .two-row .banner-entry h3 {
font-size: 1.1rem;
line-height: 1.5rem;
}




/* theme New */

@media (min-width: 640px) {
.s-block--categories salla-slider .slide--one-sixth {
/* width: 12em; */
}
}

.has-overlay.with-hover:after {
opacity:1;
}


.banner-entry h3,.banner-entry p{
opacity: 1
}

.has-overlay:after{

}

.two-row .banner-entry:first-child h3, .two-row .banner-entry h3, .banner-entry h3.text-with-border {
padding: 0!important;
font-size: 1rem;
line-height: 1.3rem;
margin-top: 50%;
font-weight: 500;
color: black;
}


@media(min-width: 480px) {
.banner-entry h3.text-with-border {
border-width:0px;
}

.two-row .banner-entry:first-child h3, .two-row .banner-entry h3, .banner-entry h3.text-with-border {
margin-top: 50%!important;
line-height: 1.9rem;
font-size: 1.7rem;
}
}


section.s-block.s-block--fixed-banner.wide-placeholder .container {/* width: 100%; *//* max-width: 100%; */padding: 0;}

/* Ø§Ù„Ø£Ù‚Ø³Ø§Ù… */
.index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(4), .index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(5) {margin-top: 0px;/* margin-bottom:-40px ; */}

 .index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(4) .container { width:100%; max-width:100%; padding-top:1px}
 .index>div.app-inner.flex.flex-col.min-h-full>section:nth-child(6) .container { width:100%; max-width:100%; padding-top:1px}

@media only screen and (min-width: 1024px) {
.main-menu {

padding-top: 1rem;
}
}

@media only screen and (min-width: 1024px) {
.main-menu li.root-level>a {
padding-top: 0;
padding-bottom: 10px;
font-weight: 500;
}

.main-nav-container.fixed-header .inner {


}
}
@media (max-width: 480px) {
.main-nav-container {
background: #f1e7d3;
height: 73px!important;

}
}

.main-nav-container {
border-bottom-right-radius: 2rem;
border-bottom-left-radius: 2rem;
background: #f1e7d3;
}


.s-product-card-image-cover{
object-fit: cover;
}

.s-contacts-icon:where([dir="rtl"], [dir="rtl"] *), .s-social-link a {

background: #ffdfcf;
}

.copyright-text p {
color: rgb(137, 134, 132);
}



@media only screen and (min-width: 1024px) {
.main-menu li>a {
font-size: .775rem;
}}


.bg-inherit {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}


.s-product-card-price {
font-size: 1rem;
}

@media(max-width: 480px) {
img[src='https://cdn.salla.sa/GYABpW/hRDaXPBc9NA9ZailHExx0Z1znzJyz1Z5Iwv4IJVM.jpg'] {
content:url(https://cdn.salla.sa/form-builder/udiYQaUVL3qR2R9HWBRzoGTcSIJkOtmlqssicr8m.png)
}       

}


/* Ø²Ø± Ø§Ù„Ø³Ù„Ù„Ø© */




.s-slider-swiper-wrapper{
transform: translate3d(0px, 0px, 0px);
}

.s-cart-summary-count {
background: #c6602d!important;
}


.s-menu-footer-item {
font-size: 1rem!important;
}




img[src='https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/GYABpW/hRDaXPBc9NA9ZailHExx0Z1znzJyz1Z5Iwv4IJVM.jpg'] {
content:url(https://cdn.salla.sa/form-builder/NWtqTpFjan5XZuHDTfQZC9NdLfe9a5tVKZLVUH5u.png)
}




@media (min-width: 480px) {
img[src='https://cdn.salla.sa/form-builder/1PwGYZ6SSgSZuQTiG0Icr2cuYOQsCmoi11dPobU8.png'] {
content:url(https://cdn.salla.sa/form-builder/9j2giVRgd3VLE5nSmLnzKdfk4t51mUu4Pzcc9fcb.png)
}

img[src='https://cdn.salla.sa/form-builder/EgG2HGlRrY5OYrW8i5vH85rw7GpKmoU5DX9S5Whv.png'] {
content:url(https://cdn.salla.sa/form-builder/uriOZMdP9ScpeSfvDEvY7duOfWai0k4aqIiWLW6U.png)
}

.ltr img[src='https://cdn.salla.sa/form-builder/gaYnkAlT4sPaOW5uRRGy21By2RzpEyKrL7Gzpazn.png'] {
content:url(https://cdn.salla.sa/form-builder/82aEl5skEo0CapU2vpCzS8OoDDZRW0TL1g94BGKo.png)
}

}
/* =========================================================
   COZY SOFA — HOME PAGE V3 FINAL
   SALLA / TWILIGHT FORCE OVERRIDES
   ضع هذا البلوك كاملاً في نهاية CSS
   ========================================================= */


/* =========================================================
   0. GLOBAL HOME FIXES
   ========================================================= */

html,
body,
body.index,
.index #main-content {
    overflow-x: hidden !important;
}

.index #main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.index .store-header {
    margin-bottom: 0 !important;
}

/* إزالة الانحناء أسفل النافبار لكي يلتصق الهيرو به */
.index .main-nav-container {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
}

/* أول سكشن بعد الهيدر يبدأ فوراً */
.index #main-content > section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   1. HERO SLIDER
   Full width + directly attached to Navbar
   ========================================================= */

.index section[data-testid="store-home-photos-slider"],
.index .s-block--photos-slider {
    width: 100vw !important;
    max-width: 100vw !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;

    overflow: hidden !important;
}


/* منع ظهور أي Title وهمي فوق الهيرو
   وهو سبب الخط المزخرف الذي ظهر بين Navbar و Hero */
.index section[data-testid="store-home-photos-slider"]
.s-slider-block__title,

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


/* إلغاء Margin قديم موجود على كل Swiper */
.index section[data-testid="store-home-photos-slider"]
.swiper-wrapper,

.index .s-block--photos-slider
.swiper-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}


/* Salla Slider */
.index section[data-testid="store-home-photos-slider"] salla-slider,
.index .s-block--photos-slider salla-slider,
.index salla-slider.home-slider,
.index salla-slider.photos-slider {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* كل Slide يأخذ الشاشة كاملة */
.index section[data-testid="store-home-photos-slider"] .swiper-slide,
.index .s-block--photos-slider .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;

    flex: 0 0 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* رابط الصورة */
.index section[data-testid="store-home-photos-slider"]
.swiper-slide > a,

.index .s-block--photos-slider
.swiper-slide > a {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* صورة الهيرو */
.index section[data-testid="store-home-photos-slider"]
.swiper-slide img,

.index .s-block--photos-slider
.swiper-slide img,

.index .home-slider img,
.index .photos-slider img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
}


/* لو Salla وضعت Container داخلي */
.index section[data-testid="store-home-photos-slider"] .container,
.index .s-block--photos-slider .container {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   2. FIXED WIDE BANNERS
   Full browser width
   ========================================================= */

.index section[data-testid="store-home-fixed-banner"],
.index section.s-block--fixed-banner.wide-placeholder {
    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    overflow: hidden !important;
}


.index section[data-testid="store-home-fixed-banner"] > .container,
.index section.s-block--fixed-banner.wide-placeholder > .container {
    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


.index section[data-testid="store-home-fixed-banner"] .banner--fixed,
.index section.s-block--fixed-banner.wide-placeholder .banner--fixed {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;

    overflow: hidden !important;
}


.index section[data-testid="store-home-fixed-banner"] picture,
.index section.s-block--fixed-banner.wide-placeholder picture {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
}


.index section[data-testid="store-home-fixed-banner"] img,
.index section.s-block--fixed-banner.wide-placeholder img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 0 !important;
}


/* =========================================================
   3. CATEGORY SECTION
   Desktop = 3 items
   Mobile = 2 items
   Last incomplete row automatically centered
   ========================================================= */

.index section[data-testid="store-home-square-photos"] {
    width: 100% !important;
    max-width: 1000px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* تحويل Grid سلة إلى Flex */
.index section[data-testid="store-home-square-photos"]
.square-photos-grid {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;

    justify-content: center !important;
    align-items: flex-start !important;

    gap: 26px !important;

    width: 100% !important;

    margin: 0 auto !important;
}


/* Desktop: 3 */
.index section[data-testid="store-home-square-photos"]
.banner-entry.square-photos {
    display: block !important;

    position: relative !important;

    flex: 0 0 270px !important;

    width: 270px !important;
    max-width: 270px !important;

    height: 270px !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    overflow: visible !important;
}


/* صورة القسم */
.index section[data-testid="store-home-square-photos"]
.banner-entry.square-photos .lazy__bg {
    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* =========================================================
   4. SECTION TITLES
   Product Slider + Fixed Products + Reviews
   ========================================================= */


/* ---------------------------------------------------------
   PRODUCT SLIDERS
   --------------------------------------------------------- */

.index section[data-testid="store-home-products-slider"]
.s-slider-block__title {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    min-height: 100px !important;

    margin: 0 0 24px !important;
    padding: 0 0 38px !important;

    text-align: center !important;
}


/* العنوان نفسه مستقل عن الأسهم */
.index section[data-testid="store-home-products-slider"]
.s-slider-block__title h2 {
    position: absolute !important;

    top: 0 !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    display: block !important;

    width: max-content !important;
    max-width: 70% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #383838 !important;

    font-size: 2rem !important;
    line-height: 1.5 !important;

    font-weight: 700 !important;

    text-align: center !important;

    white-space: normal !important;
}


/* ---------------------------------------------------------
   FIXED PRODUCTS
   --------------------------------------------------------- */

.index section[data-testid="store-home-fixed-products"]
.s-block__title {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    min-height: 100px !important;

    margin: 0 0 24px !important;
    padding: 0 0 38px !important;

    text-align: center !important;
}


.index section[data-testid="store-home-fixed-products"]
.s-block__title h2 {
    position: absolute !important;

    top: 0 !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    display: block !important;

    width: max-content !important;
    max-width: 70% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #383838 !important;

    font-size: 2rem !important;
    line-height: 1.5 !important;

    font-weight: 700 !important;

    text-align: center !important;

    white-space: normal !important;
}


/* ---------------------------------------------------------
   REVIEWS / TESTIMONIALS
   --------------------------------------------------------- */

.index section[data-testid="store-home-testimonials"] {
    position: relative !important;

    width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Host Component */
.index section[data-testid="store-home-testimonials"]
salla-reviews {
    display: block !important;

    width: 100% !important;

    text-align: center !important;
}


/* عنوان آراء العملاء */
.index section[data-testid="store-home-testimonials"]
.s-slider-block__title {
    position: relative !important;

    display: block !important;

    width: 100% !important;

    min-height: 100px !important;

    margin: 0 0 24px !important;
    padding: 0 0 38px !important;

    text-align: center !important;
}


/* مهما كان ترتيب العناصر داخل Reviews */
.index section[data-testid="store-home-testimonials"]
.s-slider-block__title h2,

.index section[data-testid="store-home-testimonials"]
salla-reviews h2 {
    position: absolute !important;

    top: 0 !important;
    left: 50% !important;
    right: auto !important;

    transform: translateX(-50%) !important;

    display: block !important;

    width: max-content !important;
    max-width: 75% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #383838 !important;

    font-size: 2rem !important;
    line-height: 1.5 !important;

    font-weight: 700 !important;

    text-align: center !important;

    white-space: normal !important;
}


/* احتياطي لو نسخة Salla تستخدم Title مختلف */
.index section[data-testid="store-home-testimonials"]
.s-reviews-title,

.index section[data-testid="store-home-testimonials"]
.s-reviews-header {
    width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    justify-content: center !important;

    text-align: center !important;
}


/* =========================================================
   5. DECORATIVE LINE
   ONLY real section headings — NOT HERO
   ========================================================= */

.index section[data-testid="store-home-products-slider"]
.s-slider-block__title::after,

.index section[data-testid="store-home-fixed-products"]
.s-block__title::after,

.index section[data-testid="store-home-testimonials"]
.s-slider-block__title::after {
    content: "" !important;

    display: block !important;

    position: absolute !important;

    left: 50% !important;
    bottom: 6px !important;

    transform: translateX(-50%) !important;

    width: 245px !important;
    max-width: 55vw !important;

    height: 18px !important;

    background:

        radial-gradient(
            circle at center,
            #ffffff 0 5px,
            #c35004 6px 7px,
            transparent 8px
        )
        center center / 18px 18px no-repeat,

        linear-gradient(
            #c35004,
            #c35004
        )
        left center / calc(50% - 15px) 2px no-repeat,

        linear-gradient(
            #c35004,
            #c35004
        )
        right center / calc(50% - 15px) 2px no-repeat !important;
}


/* تأكيد نهائي:
   لا Decorative Line في الهيرو إطلاقاً */
.index section[data-testid="store-home-photos-slider"]
.s-slider-block__title::after,

.index .s-block--photos-slider
.s-slider-block__title::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   6. VIEW ALL BUTTON
   ========================================================= */

.index section[data-testid="store-home-fixed-products"]
.s-block__display-all,

.index section[data-testid="store-home-products-slider"]
.s-slider-block__display-all {
    position: absolute !important;

    top: 10px !important;
    left: 0 !important;
    right: auto !important;

    z-index: 5 !important;

    margin: 0 !important;
}


/* =========================================================
   7. PRODUCT CARD BORDER
   subtle + clean
   ========================================================= */

.index section[data-testid="store-home-products-slider"]
.s-product-card-entry,

.index section[data-testid="store-home-fixed-products"]
.s-product-card-entry {
    border: 1px solid rgba(195, 80, 4, 0.16) !important;

    border-radius: 18px !important;

    background: rgba(255, 255, 255, 0.92) !important;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.035) !important;

    overflow: hidden !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}


/* احتياطي لبعض إصدارات Salla */
.index section[data-testid="store-home-products-slider"]
.s-product-card-vertical,

.index section[data-testid="store-home-fixed-products"]
.s-product-card-vertical {
    border-color: rgba(195, 80, 4, 0.16) !important;
}


/* Hover Desktop */
@media (hover:hover) {

    .index section[data-testid="store-home-products-slider"]
    .s-product-card-entry:hover,

    .index section[data-testid="store-home-fixed-products"]
    .s-product-card-entry:hover {
        border-color: rgba(195, 80, 4, 0.34) !important;

        box-shadow:
            0 7px 20px rgba(0, 0, 0, 0.07) !important;

        transform: translateY(-2px) !important;
    }
}


/* =========================================================
   8. TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    /* Categories */
    .index section[data-testid="store-home-square-photos"]
    .banner-entry.square-photos {
        flex: 0 0 230px !important;

        width: 230px !important;
        max-width: 230px !important;

        height: 230px !important;
    }


    /* Titles */
    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    salla-reviews h2 {
        font-size: 1.65rem !important;

        max-width: 72% !important;
    }
}


/* =========================================================
   9. MOBILE
   ========================================================= */

@media (max-width: 767px) {


    /* =====================================================
       HERO MOBILE
       نفس الصورة لأن Slider لا يدعم Mobile Image منفصلة
       ===================================================== */

    .index section[data-testid="store-home-photos-slider"],
    .index .s-block--photos-slider {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-top: 0 !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 0 !important;
    }


    .index section[data-testid="store-home-photos-slider"]
    .swiper-wrapper {
        margin: 0 !important;
    }


    .index section[data-testid="store-home-photos-slider"]
    .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;

        flex: 0 0 100% !important;

        margin: 0 !important;
    }


    .index section[data-testid="store-home-photos-slider"]
    .swiper-slide img {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        height: auto !important;

        object-fit: contain !important;
        object-position: center center !important;

        margin: 0 !important;

        border-radius: 0 !important;
    }


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

    .index section[data-testid="store-home-fixed-banner"],
    .index section.s-block--fixed-banner.wide-placeholder {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    /* =====================================================
       CATEGORIES — smaller
       2 per row + centered last item
       ===================================================== */

    .index section[data-testid="store-home-square-photos"] {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    .index section[data-testid="store-home-square-photos"]
    .square-photos-grid {
        display: flex !important;

        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: flex-start !important;

        column-gap: 14px !important;
        row-gap: 10px !important;

        width: 100% !important;
    }


    .index section[data-testid="store-home-square-photos"]
    .banner-entry.square-photos {
        flex: 0 0 42% !important;

        width: 42% !important;
        max-width: 42% !important;

        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: 1 / 1 !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /*
       Flex + justify-content:center
       يجعل:
       3 عناصر = 2 + 1 في المنتصف
       5 عناصر = 2 + 2 + 1 في المنتصف
    */


    /* =====================================================
       TITLES MOBILE
       ===================================================== */

    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title {
        min-height: 112px !important;

        margin-bottom: 16px !important;

        padding-bottom: 46px !important;

        text-align: center !important;
    }


    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    salla-reviews h2 {
        top: 0 !important;

        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        width: 82% !important;
        max-width: 82% !important;

        font-size: 1.35rem !important;
        line-height: 1.55 !important;

        text-align: center !important;

        white-space: normal !important;
    }


    /* Decorative line mobile */
    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title::after,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title::after,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title::after {
        width: 180px !important;
        max-width: 54vw !important;

        bottom: 29px !important;
    }


    /* =====================================================
       VIEW ALL MOBILE
       ===================================================== */

    .index section[data-testid="store-home-fixed-products"]
    .s-block__display-all,

    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__display-all {
        top: auto !important;

        bottom: 0 !important;

        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        margin: 0 !important;

        padding: 5px 12px !important;

        white-space: nowrap !important;

        font-size: .84rem !important;

        z-index: 5 !important;
    }


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

    .index section[data-testid="store-home-products-slider"]
    .s-product-card-entry,

    .index section[data-testid="store-home-fixed-products"]
    .s-product-card-entry {
        border: 1px solid rgba(195, 80, 4, 0.18) !important;

        border-radius: 14px !important;

        box-shadow:
            0 2px 7px rgba(0, 0, 0, 0.035) !important;
    }

}


/* =========================================================
   10. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    /* Categories أصغر قليلاً */
    .index section[data-testid="store-home-square-photos"]
    .banner-entry.square-photos {
        flex-basis: 41% !important;

        width: 41% !important;
        max-width: 41% !important;
    }


    /* Titles */
    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title h2,

    .index section[data-testid="store-home-testimonials"]
    salla-reviews h2 {
        width: 84% !important;
        max-width: 84% !important;

        font-size: 1.2rem !important;
    }


    .index section[data-testid="store-home-products-slider"]
    .s-slider-block__title::after,

    .index section[data-testid="store-home-fixed-products"]
    .s-block__title::after,

    .index section[data-testid="store-home-testimonials"]
    .s-slider-block__title::after {
        width: 165px !important;
    }
}
/* =========================================================
   COZY SOFA — MOBILE HERO FINAL FIX
   يمنع ظهور السلايد المجاور + يكبر الهيرو باعتدال
   ========================================================= */

@media (max-width: 767px) {

    /* السكشن نفسه */
    .index section[data-testid="store-home-photos-slider"],
    .index .s-block--photos-slider {
        width: 100vw !important;
        max-width: 100vw !important;

        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;

        padding: 0 !important;

        overflow: hidden !important;
    }


    /* Slider */
    .index section[data-testid="store-home-photos-slider"] salla-slider,
    .index .s-block--photos-slider salla-slider,
    .index salla-slider.home-slider,
    .index salla-slider.photos-slider {
        width: 100vw !important;
        max-width: 100vw !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }


    /* Wrapper */
    .index section[data-testid="store-home-photos-slider"] .swiper-wrapper,
    .index .s-block--photos-slider .swiper-wrapper {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }


    /* كل Slide */
    .index section[data-testid="store-home-photos-slider"] .swiper-slide,
    .index .s-block--photos-slider .swiper-slide {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 0 !important;

        overflow: hidden !important;
    }


    /* رابط السلايد */
    .index section[data-testid="store-home-photos-slider"] .swiper-slide > a,
    .index .s-block--photos-slider .swiper-slide > a {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }


    /* الصورة:
       تكبير خفيف 12% فقط بدل Cover كامل */
    .index section[data-testid="store-home-photos-slider"] .swiper-slide img,
    .index .s-block--photos-slider .swiper-slide img,
    .index .home-slider .swiper-slide img,
    .index .photos-slider .swiper-slide img {
        display: block !important;

        width: 116% !important;
        max-width: none !important;

        height: auto !important;

        margin-left: -6% !important;
        margin-right: -6% !important;

        object-fit: contain !important;
        object-position: center center !important;

        border-radius: 0 !important;
    }


    /* منع أي مساحة أو قص بصري خارجي */
    .index section[data-testid="store-home-photos-slider"] .swiper,
    .index .s-block--photos-slider .swiper {
        width: 100% !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        overflow: hidden !important;
    }

}


/* شاشات صغيرة جدًا:
   نقلل التكبير قليلاً حتى لا نفقد أطراف المحتوى */
@media (max-width: 390px) {

    .index section[data-testid="store-home-photos-slider"] .swiper-slide img,
    .index .s-block--photos-slider .swiper-slide img {
        width: 108% !important;

        margin-left: -4% !important;
        margin-right: -4% !important;
    }

}