/* Add custom CSS styles below */ 
body {
  background-color: #f5f1ec !important;
}
section.s-block--fixed-banner.wide-placeholder .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

section.s-block--fixed-banner.wide-placeholder {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.s-block--fixed-banner{
  margin-top:0px !important; 
}
/* Center the title row */
section.s-block.container .s-block__title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* Align text and image, ensuring image is second (on the right) */
section.s-block.container .s-block__title h2 {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important; /* Image on the right of text */
    gap: 15px;
}

/* Style for the image on the right */
section.s-block.container .s-block__title h2::after {
    content: "";
    display: inline-block;
    width: 100px; /* Adjust width as needed */
    height: 10px;
    background-image: url('https://i.ibb.co/QvxTQx5V/Line-8.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Remove image from the left if it was added previously */
section.s-block.container .s-block__title h2::before {
    content: none !important;
}
/* Hide the 'Show All' (عرض الكل) link */
section.s-block.container .s-block__display-all {
    display: none !important;
}
/* Final Button Override */
section.s-block.container custom-salla-product-card .s-button-element {
    background: #878364 !important;
    background-color: #878364 !important;
    color: #ffffff !important;
    border-color: #878364 !important;
    border-radius: 9999px !important;
    
    /* Overriding Salla Theme Variables */
    --s-button-bg: #878364 !important;
    --s-button-text-color: #ffffff !important;
}

section.s-block.container custom-salla-product-card .s-button-element .s-button-text {
    color: #ffffff !important;
}
/* Transparent Cards with Curved Border #878364 (Homepage) */
.index custom-salla-product-card {
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #878364 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

/* Ensure inner content parts are transparent */
.index custom-salla-product-card .s-product-card-content,
.index custom-salla-product-card .s-product-card-image {
    background: transparent !important;
}
/* Fix for image overriding card corners */
.index custom-salla-product-card {
    overflow: hidden !important; /* Clips the image to the card's shape */
    border-radius: 20px !important;
}

.index custom-salla-product-card .s-product-card-image,
.index custom-salla-product-card .s-product-card-image img {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}
/* Footer Background #878364 and White Content */
footer.store-footer,
footer.store-footer .store-footer__inner {
    background-color: #878364 !important;
}

/* Force all text, icons, and SVG paths to white */
footer.store-footer,
footer.store-footer *,
footer.store-footer i,
footer.store-footer svg path {
    color: #ffffff !important;
    fill: #ffffff !important;
    border-color: #ffffff !important;
}

/* Specific fix for footer links */
footer.store-footer a {
    color: #ffffff !important;
}
/* Desktop Only Styles for Homepage */
@media (min-width: 1024px) {
    /* 1. Background for Home Page Body and Nav */
    body.index, 
    body.index #mainnav, 
    body.index #mainnav .inner {
        background-color: #f5f1ec !important;
    }

    /* 2. Center the Navigation Menu */
    body.index #mainnav .inner {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    body.index #mainnav ul.main-menu {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    /* 3. Menu Item Text Color */
    body.index #mainnav ul.main-menu li a {
        color: #808080 !important;
    }
  /* Centering Main Menu via CSS */
.index.store-header .flex.items-center:has(custom-main-menu) {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
}

.index custom-main-menu {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: max-content !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 50;
}
}
/* 1. Remove padding and margin from the slide container */
.swiper-slide {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* 2. Make the link container block-level to fill width */
.swiper-slide a {
  display: block;
  width: 100%;
}

/* 3. Force the image to cover the full area */
img.w-full.object-contain.rounded-md {
  width: 100% !important;
  max-width: none !important;
  object-fit: cover !important; /* Use 'cover' to fill without gaps, or 'fill' if you don't mind stretching */
}

/* 4. Remove padding from the main swiper container if necessary */
.swiper.s-slider-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Optional: Mobile specific adjustment if 600px is too tall for small screens */
@media (max-width: 768px) {
    .swiper-slide img.w-full.object-contain.rounded-md {
        height: auto !important;
 object-fit: cover !important;    }
}}
.s-product-card-wishlist-added i{
      color: rgb(255 255 255) !important;
}