/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
.top-navbar .s-search-input {
  border-style: none;
  background-color: var(--bg);
  color: var(--color-primary);
  width: 50px;
  transition: width 0.4s ease-in-out; /* Smoothly increase width */
  
}
.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus {
  width: 50%;
}
.s-search-input-wrapper {
  position: relative;
  display: flex;
  flex-grow: 1;
  align-items: center;
  margin-right: 500px;
}

#mainnav .flex{
  display: block;
}
@media (max-width: 768px){
  #mainnav .flex{
  display: flex;
  }
}
#mainnav {
    position: fixed;
    top: 0;
    left: -700px; /* Off-screen initially */
    width: 700px;
    height: 300px;
    background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent */
    backdrop-filter: blur(8px);
    color: white;
    padding-top: 50px;
    transition: left 0.4s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Show menu when active */
#mainnav.active {
    left: 450px; /* Slide in */
}
@media (max-width: 768px){
   #mainnav.active {
    left: 0; /* Slide in */
    right: 0;
     height: auto;
     width: auto;
   }
}
@media (max-width: 768px){
 .s-search-input-wrapper {
  position: relative;
  display: flex;
  flex-grow: 1;
  align-items: center;
  margin-right: 0px;
 }
}
/* Floating Rectangular Button */
.toggle-btn {
    position: fixed;
    left:50%;
    transform: translatex(-50%);
    top: 30px;
    width: 200px;
    height: 60px;
    background: var(--color-primary-reverse);
    border-radius:50px;/* Rounded rectangle */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary-light);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
    z-index: 1100;

}

@media (max-width: 768px){
   .toggle-btn {
   left:7%;
    transform: translatex(-10%);
   top: 7px;
   }
}


/* Button Hover Effect */
.toggle-btn:hover {
    box-shadow:1px 2px 15px var(--color-primary);
}

/* Hide open button when menu is active */
#mainnav.active ~ .toggle-btn {
    display: none;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: red;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.close-btn:hover {
    transform: scale(1.1);
}
.navbar-brand img {
    max-height: 5rem;
    width: auto;
    max-width: 120px;
    margin-right: 250px;
}
@media (max-width: 768px){
  .navbar-brand img{
   margin-right: 0;
  }
}
.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 80px;
}

/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
:root { --color-primary: #5b122f; --color-primary-dark: #ffd0c8; --color-primary-light: #973d68; --color-primary-reverse: #f1e7e6; --bg: #f7f7f7e6; --5:#f7f7f7; }
.top-navbar .s-search-input {
  border-style: none;
  background-color: var(--bg);
   color:var(--color-primary);

}
.top-navbar {
    background-color: var(--color-primary);
    color: var(--color-primary-reverse);
}
.top-navbar a {
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background for text */
    padding: 0.2rem 0.5rem; /* Add padding around the text */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow effect */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
}

.top-navbar a:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Slightly change background on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}


/* Base styles for mobile view */
.s-block.s-block--banners > .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; /* Adjust the gap between banners */
}

.s-block.s-block--banners > .grid .banner-entry {
    flex: 1 1 calc(50% - 1rem); /* Two banners side by side */
    height: 5rem; /* Adjust the height as needed for mobile */
    background: none;
}

.s-block.s-block--banners > .grid .banner-entry.large {
    flex: 1 1 100%; /* Full width for the large banner */
    height: 10rem; /* Adjust the height as needed */
    background: none;
}

/* Styles for laptop/desktop view */
@media (min-width: 768px) {
    .s-block.s-block--banners > .grid .banner-entry {
        height: 10rem; /* Adjust the height as needed for desktop */
    }

    .s-block.s-block--banners > .grid .banner-entry.large {
        height: 20rem; /* Adjust the height as needed for the large banner */
    }
}

/* Flexbox adjustment to center the large banner */
.s-block.s-block--banners > .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Adjust the gap between banners */
}

/* Additional classes from your initial code */
.lazy__bg {
    background-size: 100% 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.gap-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Ensuring responsive height adjustment */
@media only screen and (max-width: 600px) {
    .banner-entry {
        height: auto;
    }
}

@media (min-width: 768px) {
    .two-row .banner-entry:first-child {
        height: auto !important;
    }
}



body:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background: var(--bg) url(https://cdn.salla.sa/form-builder/Rh8kKOfpmvdXlUwqaiJOEZumiY46W2FNXBNeIBaW.png);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 160px;
    animation-name: fade-in;
    animation-duration: 1.5s;
    transform: scale(0);
    border: none;
    background-color:; 
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fade-in {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    75% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(.1);
    }
}

.s-slider-block__display-all {
    display: inline-block;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #000000;
    color: var(--color-primary);
}
.s-comments-product {
    margin-bottom: 0rem;
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
    padding-top:0rem;
    padding-bottom: 0rem;
}

.s-cart-summary-total {
  font-weight: 600;
  --tw-text-opacity: 1;
 color:var(--color-primary);
}
@media (max-width: 600px) {
    .s-block.s-block--banners > .grid .banner-entry {
        height: 110px;
        background:none;
    }
}
.s-block.s-block--banners>.grid .banner-entry {
    height: 170px;
     background:none;
}
/*مميزات المتجر*/
.s-block--features__item .feature-icon {
background-color :var(--color-primary-reverse);
}
.s-block--features__item .feature-icon i{
 color : var(--color-primary);
 background-color :var(--color-primary-reverse);
 }
 .s-block--features__item{
 background: none;
 }
.s-block--features__item {
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s cubic-bezier(.4,0,.2,1);
}

.s-block--features__item:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, .2) 0 8px 20px;
}
 .s-block--features__item p {
  color: var(--color-primary)!important;
}
.s-block--features__item h2 {
  color: var(--color-primary-light)!important;
}
.font-bold {
  font-weight: 700;
 
}
body{
   background: var(--5) url(https://cdn.salla.sa/form-builder/B2vH40erXy1V5jIZLHtNpuXwMoYDZ2Gn96La2xPh.png);
  background-attachment: fixed;
  background-size: cover;
  
}
 @media (min-width:640px) .navbar-brand img{max-height:7rem;}.main-nav-container.fixed-pinned .navbar-brand img{max-height:59px;}.main-nav-container.fixed-pinned .navbar-brand img{max-height:75px;padding:5px;}.s-block__title h2{font-size:1.45rem;}[dir=rtl] .s-block__title .right-side{padding-left:0rem;background:linear-gradient(307deg,var(--color-primary),transparent);}.s-slider-block__title h2{font-size:1.45rem;}.px-2\.5{padding-left:0.25rem;padding-right:0.25rem;}.text-xs{line-height:0.25rem;}.product-entry{border:0.2px solid #ddb34b38;}.dmopMx{display:none;}


 .main-nav-container.fixed-header .inner{background-color:var(--color-primary-dark);backdrop-filter:blur(9px);}.banner-entry{border-radius:1.375rem;}.grid-flow-row{grid-template-columns:auto auto auto auto;}.banner-entry h3{display:none;}.has-overlay:after{display:none;}.banner-entry h3{line-height:1.5rem;font-size:24px;color:var(--color-primary);}@media only screen and (max-width:768px){.banner-entry h3{display:none;}.has-overlay:after{display:none;}.grid-flow-row{grid-template-columns:auto auto auto auto;}.banner-entry{max-height:110px;}.gap-3{gap:0.5rem;}} .grid-flow-row{display:grid;} .topnav-is-dark .top-navbar{--tw-bg-opacity:0;} 
 
  .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;}.banner-entry{border-radius:.375rem;} [dir=rtl] .s-slider-block__title-right{padding-left:0rem;background:linear-gradient(307deg,var(--color-primary) -67%,transparent 75%);} .bg-inherit{border-bottom:1px solid var(--color-primary);} .main-nav-container.fixed-pinned .inner{box-shadow:0 0 5px var(--color-primary);} .s-block--slider-with-bg .s-slider-block__title-left{margin-bottom:20px;} .s-button-primary-outline{fill:var(--color-primary-reverse);color:var(--color-primary);border-radius:50px;} .s-button-primary-outline:hover{background-color:var(--color-primary);fill:#fff;color:#fff;} .s-button-primary{border-color:var(--color-primary-reverse);background-color:var(--color-primary);color:var(--color-primary-reverse);}
  
.s-button-primary:hover{color:var(--color-primary);} 
 
.s-button-primary:hover{background-color:var(--color-primary-reverse);border-color:var(--color-primary);} .s-product-card-vertical{border:1px solid gray;} .s-button-primary-outline{color:var(--color-primary);background:var(--color-primary-reverse);border:2px solid var(--color-primary);} .footer-is-light .store-footer .store-footer__inner{background:var(--color-primary);color:white;border-radius:18px;} 
  
div#mainnav{background:var(--bg);color:var(--color-primary);} .sicon-shopping-bag:before,.sicon-user-circle:before{color:var(--color-primary-light)}; [dir=rtl] .carousel-slider .swiper{padding-left:0rem!important;}/*==statrt categories==*/
s-block.s-block--banners > .grid {
    grid-template-columns: 1fr 1fr;
}

.s-block.s-block--banners > .grid .banner-entry {
    padding-top: 0%;
}

.two-row .banner-entry:first-child {
    grid-column: auto;
    grid-row: auto;
    
}

.s-block.s-block--banners:nth-of-type(19) {
    margin-bottom: 1rem;
}

.s-block.s-block--banners > .grid .banner-entry {
    height: 170px;
}

@media (max-width: 2001px) {
    .s-block.s-block--banners > .grid {
        grid-template-columns: 1fr 1fr 1fr !important ;
    }

    .s-block.s-block--banners:nth-of-type(19) > .grid .banner-entry:last-child, .s-block.s-block--banners:nth-of-type(21) > .grid .banner-entry:last-child, .s-block.s-block--banners:nth-of-type(22) > .grid .banner-entry:last-child {
        grid-column: 1 ;
    }
}

/*categories responsive*/
/*phones screen*/
@media (max-width: 600px) {
    .s-block.s-block--banners > .grid .banner-entry {
        height: 110px;
    }
}

/*ipad air, ipad mini screen*/
@media screen and (max-width: 900px) and (min-width:600px) {
    .s-block.s-block--banners > .grid .banner-entry {
        height: 210px;
    }
}

/*ipad pro and laptop screen*/
@media screen and (min-width: 900px) {
    .s-block.s-block--banners > .grid .banner-entry {
        height: 280px;
    }
}

section:nth-of-type(1).s-block.s-block--fixed-banner.wide-placeholder .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
}

/*
section.s-block.s-block--fixed-banner.wide-placeholder .container:hover,.lazy__bg.lazy.entered.loaded:hover {
    transform: translateY(-8px);
}*/
section.s-block.s-block--fixed-banner.wide-placeholder .container,:hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (max-width: 991px) {
    section.s-block.s-block--fixed-banner.wide-placeholder .container {
        padding: 0;
    }
}

/*توسيط عنوان اقسام المتجر*/
.s-block.s-block--banners.container .s-block__title {
    justify-content: center !important;
}

@keyframes highlightFlow {
    0% {
        background: linear-gradient(to right, #C0EBA6 0%, #ECFFE6 50%, #C0EBA6 100%);
        background-size: 200% 100%;
        background-position: 200% 0%;
        
    }
    100% {
        background-position: -200% 0%;
    }
}

.s-contacts-list > div:nth-child(1) > a:nth-child(1) > span:nth-child(1) {
    background: linear-gradient(to right, #C0EBA6, #ECFFE6, #C0EBA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightFlow 2s infinite linear;
}
.s-contacts-list > div:nth-child(2) > a:nth-child(1) > span:nth-child(1) {
    background: linear-gradient(to right, #C0EBA6, #ECFFE6, #C0EBA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightFlow 2s infinite linear;
    
}
.s-contacts-list > div:nth-child(3) > a:nth-child(1) > span:nth-child(1) {
    background: linear-gradient(to right, #C0EBA6, #ECFFE6, #C0EBA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightFlow 2s infinite linear;
}
.s-contacts-list > div:nth-child(4) > a:nth-child(1) > span:nth-child(1) {
    background: linear-gradient(to right, #C0EBA6, #ECFFE6, #C0EBA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightFlow 2s infinite linear;
}
.s-contacts-list > div:nth-child(5) > a:nth-child(1) > span:nth-child(1) {
    background: linear-gradient(to right, #C0EBA6, #ECFFE6, #C0EBA6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: highlightFlow 2s infinite linear;
}

.store-footer__inner::before{content:"";background:linear-gradient(180deg,transparent 38%,var(--color-primary-dark)
94%),url(https://cdn.salla.sa/form-builder/0J24F5WF5rEFSSL60a6s2OFJBFV9xAEgQLQoCm53.png);background-size:418%;display:block;background-repeat:round;transform:rotate(180deg);height:104px;margin:-65px -32px 1px 1px}.footer-is-light .store-footer{background-color:var(--color-primary-reverse)!important;padding-right:10px}.footer-is-light .store-footer .store-footer__inner{background-color:var(--color-primary-reverse)!important;color:var(--color-primary)}.store-footer h3{color:var(--color-primary)}.footer-is-light .store-footer .social-link{line-height:32px!important;display:block;width:36px;height:36px;font-size:18px;transition:all .2s ease-out;color:rgb(255,255,255);border-radius:25% / 50%;border:1px solid var(--color-primary)}

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


.s-block {
    margin-top: 2rem;
    background:none;
}

.store-footer::after {
    content: "برمجةوتطويرADFAZ";
    top: 0;
    color: transparent; /* Make the text color transparent for gradient */
    font-size: 20px; /* Adjust font size */
    font-family: 'Arial', cursive; /* Changed to 'Pacifico' font */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.9; /* Adjust opacity for visibility */
    text-align: center;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark)); /* Gradient color */
    -webkit-background-clip: text; /* Clips the background to the text */
    -webkit-text-fill-color: transparent; /* Makes text transparent so the gradient shows */
    color: linear-gradient(to left, var(--color-primary), var(--color-primary-dark));
    padding: 12px 25px; /* Padding around the text */
    width: auto; /* Makes the width auto to fit content */
    border-radius: 8px; /* Optional: rounded corners for the background */
    margin-top: 10px; /* Adds some space at the top */
}

[dir=rtl] .s-slider-block__title-right {
    padding-left: 0rem;
    background: linear-gradient(307deg, var(--color-primary) -67%, transparent 75%);
}
[dir=rtl] .s-block__title .right-side {
    padding-left: 0rem;
    background: linear-gradient(307deg, var(--color-primary), transparent);
}
.s-block__title h2 {
    font-size: 1.45rem;
     background: linear-gradient(307deg, var(--color-primary), transparent);
}
/*هوفر الناف*/
.main-menu > .has-children:hover > a,
.main-menu li > a:hover {
    color:var(--color-primary-light);
    transform: translateY(-2px);
    border-bottom: 2px solid var(--color-primary); /* Adds an underline effect */
    transition: color 0.3s ease, transform 0.3s ease, border-bottom 0.3s ease; /* Smooth transition for border */
}
/*اخفاء رقم التواصل*/
.unicode {
    unicode-bidi: plaintext;
    display:none;
}
.s-contacts-list-vertical{flex-direction:column;
padding-right:0px;
}
.unicode {
    unicode-bidi: plaintext;
    display: none;
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for color and movement */
}

.unicode:hover {
    transform: translateY(-5px); /* Slightly move up when hovered */
    color: #ff6347; /* Change color to tomato on hover */
}

/*منتجات*/
[dir="rtl"] .carousel-slider .swiper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    border: none;
    background:none;
    box-shadow: none;
}

[dir="rtl"] .carousel-slider .swiper.animate-card {
    opacity: 1;
    transform: translateY(0);

}


body.dark-mode *,.dark-mode div * {
    color: #a5bfcc!important;
    border-color: rgb(42 42 42);
}

body.dark-mode .bg-white,.dark-mode .s-comments-product,.dark-mode .tamara-product-widget, .dark-mode .spotii-wrapper,
.dark-mode #tabbyPromoWrapper {
    border-color: rgb(42 42 42)  !important;  background-color: #000000  !important;
}

.dark-mode .s-filters-widget-container,body.dark-mode .slide--cat-entry, body.dark-mode .s-product-card-entry, body.dark-mode .s-block--features__item, .dark-mode .brand-item , .dark-mode .s-reviews-testimonial, .dark-mode .store-footer {
    color: #fff !important;
    background-color: none
}

.dark-mode .form-input,.dark-mode .s-price-range-number-input,.dark-mode .bg-gray-100,.dark-mode .s-modal-body {
    color: #fff !important;
    border-color: #000000;
    background-color: none;
}

.dark-mode .s-button-primary-outline {
    background-color: #000000
}

.dark-mode .store-footer__inner, .dark-mode .s-button-light-outline,.dark-mode .s-login-modal-input {
    background-color: #000000 !important;
    color: #fff;
}

.dark-mode .s-modal-close {
    background-color: transparent !important;
}

@media only screen and (min-width: 1024px) {
    .dark-mode .main-menu li>a {
        background-color: #000000
    }

    .dark-mode .main-menu .has-children li a:hover, .dark-mode .main-menu .has-children .has-children:hover>a {
        color: #f7eeff;
        color: var(--color-primary);
        background-color: #000000;
    }
}

.dark-mode .s-modal-body * {
    color: #f7eeff !important;
}
.dark-mode p.text-gray-400.mb-2\.5.md\:mb-0 {
    color: #fff !important;
    font-weight: 800;
    padding-bottom: 10px;
}
@media (min-width: 480px) {
  .dark-mode .btn--collapse:where([dir="rtl"], 
  [dir="rtl"] *) {
        padding-right: 1.75rem;
        padding-left: 1.25rem;
        background: #000000;
    }
}

.dark-mode .s-product-options-wrapper {
    margin-bottom: 1.25rem;
    display: block;
    border-radius: 0.375rem;
    --tw-bg-opacity: 1;
    background-color:var(--color-primary);
    
    padding: 1.25rem;
}

.dark-mode .s-quantity-input-input {
    width: 3rem;
    border-width: 1px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    background: #000000;
    --tw-border-opacity: 1;
    border-color: rgba(229, 231, 235, 1);
    border-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
    font-weight: 700;
    --tw-shadow: 0 0 rgba(0, 0, 0, 0);
    --tw-shadow-colored: 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
}

.dark-mode .store-footer::after {
    content: "برمجةوتطويرADFAZ";
    top: 0;
    color: transparent; /* Make the text color transparent for gradient */
    font-size: 20px; /* Adjust font size */
    font-family: 'Arial', cursive; /* Changed to 'Pacifico' font */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.9; /* Adjust opacity for visibility */
    text-align: center;
    background:#fff;
    -webkit-background-clip: text; /* Clips the background to the text */
    -webkit-text-fill-color: transparent; /* Makes text transparent so the gradient shows */
    
    color: #fff;

    padding: 12px 25px; /* Padding around the text */
    width: auto; /* Makes the width auto to fit content */
    border-radius: 8px; /* Optional: rounded corners for the background */
    margin-top: 10px; /* Adds some space at the top */
    
}
.dark-mode {
    --color-primary: #000000;
    --color-primary-dark: #000000;
    --color-primary-light: #000000;
    --color-primary-reverse: #000000;
    --5: #3C3D37;
    --bg: #000000;
    
}

.flex.mb-6,
.md\:flex,
.s-product-card-content-sub,
.store-footer a,
.s-product-card-content-title a,
.store-footer .contact-social ul,
.footer-is-light .store-footer .store-footer__inner {
    text-align: center !important;
    justify-content: center !important;
}
@keyframes slideDown {
    0% {
        transform: translateY(-50px); /* Start above */
        opacity: 0; /* Fully transparent */
    }
    100% {
        transform: translateY(0); /* Normal position */
        opacity: 1; /* Fully visible */
    }
}

.banner--fixed img{
    opacity: 0; /* Hidden initially */
    transform: translateY(-50px); /* Initial position */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.banner--fixed img.visible {
    animation: slideDown 1s ease-out;
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Reset to normal position */
}
/* Keyframes for ripple effect */
@keyframes rippleEffect {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}
.banner--fixed img {
  background: none;
  transition: transform 0.5s ease-in-out; /* Transition effect for smooth movement */
}

.banner--fixed img:hover {
  transform: translateY(-10px); /* Move image up by 10 pixels on hover */
}
@keyframes flipIn {
    0% {
        transform: rotateY(-180deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.banner-entry {
    opacity: 0; /* Hidden initially */
    transform: rotateY(-180deg); /* Initial position */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.banner-entry.visible {
    animation: flipIn 1.5s ease-out;
    opacity: 1;
    transform: rotateY(0deg); /* Reset to normal position */
}
.s-block.s-block--banners > .grid .banner-entry:hover {
    transform: scale(1.08) rotate(1deg); /* Slight rotation */
    box-shadow: 0 8px 15px var(--color-primary); /* More pronounced shadow */
    background-color: none; /* Slightly stronger background color */
    filter: brightness(1.1); /* Slightly brighter effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
}

.s-block.s-block--banners > .grid .banner-entry:active {
    transform: scale(0.95); /* Shrink effect on click */
    box-shadow: 0 3px 8px var(--color-primary); /* Adjust shadow on click */
    background-color: none; /* Even stronger color on click */
    filter: brightness(1.2); /* Slightly more brightness */
}

.s-product-card-fit-height {
    position: relative;
    width: 15rem;
    height: 15rem; /* Perfect circle */
    border-radius: 10%; /* Circular shape */
    overflow: hidden; /* Ensure the image stays within the circle */
    transition: all 0.4s ease;
}

/* Make sure the image fully fills the circular card */
.s-product-card-fit-height .s-product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fully covers the circle */
    border-radius: 10%;
    transition: box-shadow 0.4s ease;
}
@media (max-width: 768px) {
    .s-product-card-fit-height {
        height: auto; /* Adjust height for mobile screens */
        width: auto;
    }

    .s-product-card-fit-height .s-product-card-image {
        height: auto;
        width: auto; /* Smaller size for mobile */
    }
}

/* Hide all content initially */
.s-product-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.2); /* Dark overlay on hover */
    color:  var(--color-primary-reverse);
    opacity: 0;
    visibility: hidden;
    border-radius: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: opacity 0.4s ease, visibility .4s ease;
}
.s-product-card-content-title a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: var(--color-primary-reverse);
}
/* Updated Button Styling */
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    position: absolute;
    bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, left 0.4s ease;
    background-color: var(--color-primary);
    color: var(--color-primary-reverse);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 1rem;
    transform: translateX(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
/* On hover: Reveal content and slide in the button */
.s-product-card-fit-height:hover .s-product-card-content {
    opacity: 1;
    visibility: visible;
    top:130px;
}
.s-product-card-fit-height:hover button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    opacity: 1;
    visibility: visible;
    left: 1px; /* Move to visible position */
    transform: translateX(0);
}