* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

body {
    overflow-x: hidden !important; /* Hide horizontal overflow */
    overflow-y: auto;
    background-color: white;
}


/* top navbar styling */

header{
background: linear-gradient(90deg, rgba(179,223,219,1) 0%, rgba(222,240,240,1) 80%, rgba(222,240,240,1) 83%, rgba(222,240,240,1) 100%) !important;
padding-right: 5% ;
padding-left: 5% ;
}


#mainnav {
    background: none !important; 
    box-shadow: none;
}

.top-navbar {
padding-top: 2%;
}

/* top navbar styling end */



/* banner styling */

.s-block--fixed-banner {
    width: 100% !important;
    height: auto !important;
    background-size: cover !important; /* Ensure the image covers the entire section */
    background-position: center !important; /* Center the image within the section */
    margin-top: 0 !important;
}

.s-block.s-block--fixed-banner.wide-placeholder .banner img {
    border-radius: 0 !important; /* Ensure sharp corners */
}

.s-block.s-block--fixed-banner.wide-placeholder .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important; 
    margin-left: 0;
    margin-right: 0;
}

/* banner styling end */





/* squares section styling */

.s-block.container {
    margin-top:5% !important;
    padding-right: 2.5%;
    padding-left: 2.5%   
}

/* Apply overlay effect only on hover */
.grid .banner-entry:first-child::after {
    content: ''; /* Ensure content is empty for pseudo-element */
    display: none; /* Initially hide the pseudo-element */
    position: absolute; /* Position the pseudo-element */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust overlay color and opacity as needed */
}

/* Show overlay effect on hover */
.grid .banner-entry:first-child:hover::after {
    display: block; /* Show the pseudo-element on hover */
}


.s-block.container h3 {
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.s-block.container .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16%, 1fr)); /* Adjust the columns dynamically */
    grid-gap: 1%;
}


.s-block.container .banner-entry {
    width: auto;
    height: 20vh;
    position: relative;
}

/* Media query for phone-sized screens */
@media (max-width: 768px) {
    .s-block.container .banner-entry {
        width: auto; /* Adjust width for smaller screens */
        height: 20vw; /* Set height equal to width for square aspect ratio */
    }
/* Adjust padding for .banner-entry */
.s-block.container .banner-entry {
    width: auto; /* Set width of grid items */
    height: 20vw; /* Set height of grid items */
    position: relative;
  /*  padding: 10px;  Add padding to create space for text */
}

/* Adjust font size for h3 */
.s-block.container h3 {
    font-size: 10px !important;
    visibility: hidden; /* Hide the text by default */
    position: absolute; /* Position the text within the container */
    bottom: 0; /* Align the text to the bottom */
    left: 0; /* Align the text to the left */
    right: 0; /* Align the text to the right */
    text-align: center; /* Center-align the text */
    transition: visibility 0s, opacity 0.3s ease; /* Add transition effect */
     line-height: 1.2 !important; /* Adjust line height as needed */
}

/* Show the text on hover */
.s-block.container .banner-entry:hover h3 {
    visibility: visible; /* Show the text on hover */
}
}
/* squares section styling end */




/* Most sold section styling */

.s-block.container{
    background-color: white !important;
    }


.right-side h2 {
    font-weight: 900 !important;
    font-size: 1.5em !important;
    color: #ccac2c !important;
    }

/*.right-side {
    position: center !important;
    text-align: center !important;
    margin: 0 auto !important; 
    transform: translateX(-50%) !important; 
    white-space: nowrap !important; 
    padding: 0 !important;
    }*/

h1{
    font-weight: 900 !important;
    font-size: 1.5em !important;
    color: #ccac2c !important;
    /*display: block !important;*/ 
    text-align: center !important;
    /*margin: 0 auto !important;*/
}
/* Most sold section styling end */



/* footer styling */


.banner:not(:last-of-type) {
  margin-bottom: 0!important; /* Adjust as needed */
  padding-bottom: 0!important; /* Adjust as needed */
}


footer {
    position: relative;
    background-color: #cdac2c !important;
    color: white !important;
    margin-top: 0!important;
}

footer > * {
    background-color: #cdac2c !important;
    color: white !important;
    padding-right: 3%;
}

/*footer styling end*//* Add custom CSS styles below */













/*Trial four - not crying you are: هيلو داركنس ماي أولد فرند - محاولة إضافة ال


custom-salla-product-card {
    position: relative;
    transition: all 0.3s ease;
    display: block;
    overflow: visible;
}

/* Dark overlay on image 
custom-salla-product-card .s-product-card-image {
    position: relative;
    overflow: hidden;
}

custom-salla-product-card .s-product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

custom-salla-product-card:hover .s-product-card-image::after {
    opacity: 1;
}

/* Zoom image 
custom-salla-product-card:hover .s-product-card-image-cover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

/* Change title color 
custom-salla-product-card:hover .s-product-card-content-title a {
    color: #ccac2c !important;
}

/* Card lift 
custom-salla-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/*end of the cool dark zoom effect hover thing

.simple-hover-text {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: #ccac2c;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    border-radius: 30px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    font-weight: bold;
}

custom-salla-product-card:hover .simple-hover-text {
    opacity: 1;
}
نهاية محاولة إضافة الهوفر*/