/* Variables */
:root {
    --primary-color: #28AAE0;
    --secondary-color: #26225F;
    --text-color: #eee;
    --background-color: rgba(38, 34, 95, 0.7);
}

/* Global Styles */
.swiper-wrapper{
     margin-top: 2em !important;
}
.sicon-store:before {
    color: #fff !important;
}
body {
    line-height: 1.6;
}

/* Header Styles */
.top-navbar {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 15px 5px;
}

.top-navbar > div {
    background-color: transparent;
}

.header-search input {
    background-color: var(--text-color);
}

.header-search input::placeholder {
    color: var(--secondary-color);
}

/* Navigation Styles */
#mainnav > div > div {
    padding: 0 clamp(10px, 3vw, 50px);
}

.navbar-brand img {
    max-height: clamp(2rem, 5vw, 4rem);
    animation: heartbeat 1.5s ease-in-out infinite both;
}

@keyframes heartbeat {
    0%, 28%, 70% { transform: scale(1); }
    14%, 42% { transform: scale(1.3); }
}

.container a span {
    font-size: clamp(16px, 1.2vw, 23px);
    position: relative;
    transition: color 0.3s ease;
}

.container a:hover span {
    color: var(--primary-color);
}

.container a span::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -13px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.container a:hover span::before {
    width: 100%;
}

#mainnav .flex.items-center.justify-end button > i,
#s-cart-icon > i {
    background-color: var(--primary-color);
}

#mainnav salla-cart-summary a > span {
    position: absolute;
    color: var(--text-color);
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 18px);
}

#mainnav salla-cart-summary a > p > b {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
}

/* Banner Styles */
.s-block--fixed-banner.wide-placeholder > div,
div.swiper-slide.swiper-slide-next {
    max-width: 100vw;
}

.banner--fixed img,
div.swiper-slide.swiper-slide-next > a > img { 
    width: 100%;
    height: auto;
}

/* Slider Styles */
.s-slider-swiper-wrapper,
.swiper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swiper-wrapper {
    padding-bottom: clamp(20px, 4vw, 40px);
    gap: clamp(20px, 4vw, 70px);
}

a.slide--cat-entry {
    border: none;
    background-color: inherit;
    transition:  0.7s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.slide--cat-entry:hover {
    transform: scale(1.1);
    box-shadow: inherit;
    bacground-color: inherit;
}

.swiper-wrapper div a i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(60px, 15vw, 200px);
    height: clamp(60px, 15vw, 200px);
    background-color: var(--primary-color);
    border-radius: 50%;
    font-size: clamp(2rem, 6vw, 8rem);
    transition: all 0.3s ease;
}

.swiper-wrapper div a h2 {
    font-size: clamp(1rem, 3vw, 2rem);
    margin-top: clamp(0.5rem, 2vw, 1rem);
    text-align: center;
    line-height: 1.2;
    max-width: 150px;
    overflow-wrap: break-word;
}

#main-links-2 .swiper {
    overflow: visible;
}

/* Title Styles */
.s-slider-block__title-right h2,
#main-links-2 .s-slider-block__title-right h2,
div.app-inner.flex.flex-col.min-h-full > section.s-block.container > div > div > h2 {
    position: relative;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-right: 30px;
}

.s-slider-block__title-right h2::before,
#main-links-2 .s-slider-block__title-right h2::before,
div.app-inner.flex.flex-col.min-h-full > section.s-block.container > div > div > h2::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 5px;
    background: var(--primary-color);
    border-radius: 4px;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
}

/* Product Card Styles */
.s-product-card-entry {
    transition: all 0.3s;
}
.s-product-card-entry.s-product-card-horizontal,
.s-product-card-content-sub {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

custom-salla-product-card {
    width: 100%;
    max-width: 300px;
    box-shadow: 5px 5px 7px rgba(113 213 255 / 18%);
    border: 1px solid var(--primary-color);
    position: relative;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

custom-salla-product-card:hover {
    transform: translateY(-5px);
}

.s-product-card-content {
  position: static;
}

salla-button.s-product-card-wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.s-product-card-content-title a {
    font-size: clamp(14px, 1.5vw, 18px);
    padding: 5px;
    color: var(--primary-color);
    border-top: 1px solid var(--primary-color);
    padding-top: 15px;
    display: block;
    transition: color 0.3s ease;
}

.s-product-card-content-title a:hover {
    color: var(--secondary-color);
}

.s-products-list-wrapper.s-products-list-horizontal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 50px;
    justify-items: center;
}

div.s-product-card-content div.s-product-card-content-footer.gap-2 salla-add-product-button div  salla-button  button {
    background-color: #8adeff;
    font-size: 16px;
    font-wieght: normal !important;
    }
    
div.s-product-card-content div.s-product-card-content-footer.gap-2 salla-add-product-button div  salla-button  button:hover {
    background-color: #2AA9E3;
    color: #fff;

}

div.s-product-card-content div.s-product-card-content-sub h4 {
  font-size: 18px;
}

@keyframes borderSignal {
    0% {
        border-color: #28AAE0;
    }
    50% {
        border-color: #ff6f61;
    }
    100% {
        border-color: #28AAE0;
    }
}

.s-block__display-all {
    padding: 5px;
    color: #c22735;
    border: 2px solid #28AAE0;
    border-radius: 0 15px;
    animation: 1.2s linear infinite borderSignal;
}



/* Media Queries */
@media (max-width: 1200px) {
    .s-products-list-wrapper.s-products-list-horizontal-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    #main-links-2 > div.swiper.s-slider-container {
        padding-left: 0;
    }
    
    .swiper-wrapper {
        gap: 10px;
    }

    .swiper-wrapper div a i {
        width: clamp(60px, 18vw, 150px);
        height: clamp(60px, 18vw, 150px);
        font-size: 6rem;
        padding: 15px;
    }
    
    .swiper-wrapper div a {
        padding: 0;
    }
    
    .swiper-wrapper div {
        padding: 0;
        width: fit-content;
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        padding: 0 20px;
    }

    custom-salla-product-card {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .swiper-wrapper div a i {
        width: clamp(60px, 25vw, 120px);
        height: clamp(60px, 25vw, 120px);
    }
    
    .swiper-wrapper div a h2 {
        font-size: clamp(0.8rem, 4vw, 1.2rem);
    }

    .s-products-list-wrapper.s-products-list-horizontal-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 0 10px;
    }

    custom-salla-product-card {
        max-width: 180px;
    }
}
@media (max-width: 991px){
body .sicon-store:before {
    font-size: 30px !important;
}
}
/* abdo css */
.sicon-store:before {
    font-size: 60px !important;
}
.sicon-store:hover:before {
    color: #fff !important; 
}
.swiper-wrapper div a i{
   width: clamp(60px, 8vw, 200px)!important;
    height: clamp(60px, 8vw, 200px)!important;
}
.swiper-wrapper div a h2 {
font-size: clamp(1rem, 1.5vw, 2rem)!important;
}
/* Styling for the custom card */
custom-salla-product-card {
    position: relative;
    display: block;
    transition: transform 0.3s ease;
    border: 0px solid !important;
    border-radius: .75rem;
}

/* Smooth hover effect to lift the card slightly */
custom-salla-product-card:hover {
    transform: translateY(-5px);
}

/* Adding the border effect using a pseudo-element */
custom-salla-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: all 1s ease;
    pointer-events: none;
}

/* On hover, the border wraps smoothly around the card */
custom-salla-product-card:hover::before {
    border-color: #28aae0; /* Change this to your preferred color */
    animation: wrap-border 1s forwards;
    border-radius: .75rem;
}

/* Keyframe animation to create a wrapping effect */
@keyframes wrap-border {
    0% {
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
    25% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    }
    75% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
/* Base styling for the ::before pseudo-element */
div.app-inner.flex.flex-col.min-h-full > section.s-block.container > div > div > h2::before {
    transition: all 0.5s ease !important;
    padding:0.8em 0em;
}

/* Hover effect: Expand the width and change title color */
div.app-inner.flex.flex-col.min-h-full > section.s-block.container > div > div > h2:hover::before {
    width: 110%; /* Make the width 110% on hover */
    z-index: -1;
}

div.app-inner.flex.flex-col.min-h-full > section.s-block.container > div > div > h2:hover {
    color: #fff; /* Change the title color to white on hover */
}
.s-block--fixed-banner.wide-placeholder > div, div.swiper-slide.swiper-slide-next {
    max-width: 100%;
    padding: 0;
    border-radius: 0px !important;
}
.s-block {
    margin-top: 0rem !important;
    margin-bottom:2rem; 

}
.s-button-icon{
    float: inline-end;
}
.top-navbar {
  background-color: #71d5ff !important;
}
.main-menu>li>a[href*=offer]{
color:#292461 !important;
}
a.banner-entry.lazy.has-overlay.h-banner.entered.loaded {
    background-size: contain !important;
    background-color: #fff !important;
}