/* START OF CSS CODE BY WAFA */

/* ====== GENERAL ====== */
.text-red-500, .text-red-400, .text-red-600, .text-red-300 {color: #ee2d64;}


@media (min-width: 640px) {
.s-block{margin-top: 2rem;}
}

/* ====== HEADER ====== */
.s-cart-summary-count {background-color: #ee2d64;}

@media only screen and (min-width: 1024px) {
.top-navbar {background-color:#fcfaf8 !important}
.main-menu-row .main-menu li.root-level>a {font-weight: 500; font-size:.95rem !important }
.topnav-link-item {border-right-color:#000}

.main-nav-container .flex.items-stretch.justify-between > div.flex.items-center:nth-child(1) {order: 2; width: fit-content;}
.main-nav-container .flex.items-stretch.justify-between > div.flex.items-center:nth-child(2) {order: 1; margin-left: auto;}
.main-nav-container .flex.items-stretch.justify-between > div.flex.items-center:nth-child(3) {order: 3; width: fit-content;}
.main-menu {justify-content: space-evenly !important;}

.main-nav-container .inner {padding-top: 15px;padding-bottom: 15px;}
}

/* ====== CATEGORIES ====== */
.s-block--circle-links {margin-top:0}
.s-block--circle-links .mx-auto.max-w-7xl {padding-left:.5rem !important; padding-right:.5rem !important}
.s-block--circle-links ul {column-gap: .25rem;  margin-top:1rem; grid-template-columns: repeat(8, 1fr); max-width:90%; margin:1rem auto}
.s-block--circle-links h3 {margin-top:10px !important; font-weight:500 !important}
.s-block--circle-links img {width:7.5rem !important; height:7.5rem !important}

@media (max-width:768px){
.s-block--circle-links ul {column-gap: .25rem; max-width:100%; margin-top:1rem; grid-template-columns: repeat(4, 1fr);max-width:100%;gap: 14px 0;}
.s-block--circle-links img {width:5.5rem !important; height:5.5rem !important}
.s-block--circle-links h3 {font-size:.9rem !important; margin-top: 4px !important;}
}

/* ====== PRODUCTS ====== */
.s-block--best-offers .s-slider-block__title-right, salla-products-slider .s-slider-block__title-right {padding-bottom:0; border-bottom:none}
.s-block--best-offers .s-slider-block__title, salla-products-slider .s-slider-block__title {border-bottom:none}
.s-slider-block__title-nav {display:none !important}
.s-block--best-offers .s-slider-block__title-left .s-slider-block__display-all, salla-products-slider .s-slider-block__title-left .s-slider-block__display-all {padding: 2px 3px;border-radius: 0;border: none;border-bottom: 1px solid;font-size:.8rem !important; font-weight:500}

.s-button-primary-outline:hover {background:none !important;}

.product-card__title a {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: .8rem;
    font-weight: 500;
}
.product-card__discount {background: #ee2d6420;
    width: fit-content;
    padding: 6px 10px;
    font-size: 11px;
    margin: auto;
    border-radius: 25pc;
    line-height: 1;}

.product-card__price .before-price {
    font-size: 15px;
    line-height: 99%;
    margin-left: 5px;
    font-weight: 900;
    margin: 10px 0;
}

salla-add-product-button.product-card__normal-cart__btn.hydrated {position: absolute;
        top: -2rem;
        left: 1rem;
        right: auto;
        border: none;
        border-radius: 100px;
        width:fit-content;
        background-color:#ffffff;
    }
    
salla-add-product-button.product-card__normal-cart__btn.hydrated:hover {background-color:#000}
salla-add-product-button.product-card__normal-cart__btn.hydrated salla-button .s-button-btn {font-size: 0;
    border: none;
    width: fit-content;
    background: transparent; padding:10px 11px; display: flex;}
.product-card__normal-cart__btn .s-button-text {gap:0}

.product-card--fit-height .product-card__image {height:13rem !important; background-color:#fff}

.product-card__promotion {background-color: #f65d9d !important; background-color:#6c4839 !important;
        padding: 5px 10px 7px;
        border-radius: 20px;
        line-height: 1; left:auto; right:1rem}

.quickview-btn {display:none}
.product-card__buttons {bottom: auto; top: 0;justify-content: flex-end;}
.product-card__buttons>div {transform: translateY(10px);}
.product-card__buttons>div button {background-color:transparent !important; box-shadow:none}
.product-card__buttons>div button i {color:#666}
.product-card__buttons>div button:hover {background-color:transparent !important}
.product-card__buttons>div button:hover i {color:#ee2d64!important}
.product-card__buttons>div:after {display:none}


@media (min-width: 640px) {
.s-products-slider-card {width: 50%;max-width: 220px;}
.carousel-slider .swiper-wrapper > div {padding-left: 0.2rem;padding-right: 0.2rem;}
}

@media (max-width: 767px) {
body:not(.free-images-height) .simplified-products .s-products-slider-card .product-card--simplified .product-card__image {height:8rem !important}
.mini_top_promotion .simplified-products .product-card.product-card--simplified .product-card__promotion {left:auto; right:10px; top:10px}

.s-product-card-rating span:not(:first-child){display:none}
.s-product-card-rating span:first-child, .s-product-card-rating .s-rating-stars-reviews {display:inline-block !important}

.s-product-card-rating {justify-content: flex-start;}
.s-product-card-rating span:first-child {display: flex !important;background: #f7f7f7;padding: 0 4px;border-radius: 20px;align-items: center;}
span.s-rating-stars-btn-star.s-rating-stars-small.s-rating-stars-selected:before {content: '5.0';display: inline-block;font-size: 12px;margin: 0 3px;}
.s-product-card-rating span svg {margin-bottom: 0;height: .9rem;width: .9rem;}
.product-card .s-rating-stars-wrapper {gap:3px}
.product-card .s-rating-stars-wrapper .s-rating-stars-reviews {flex: unset;font-size: 11px;color: #bbb;}

.product-card__content-wrapper {display: flex;flex-direction: column; align-items:center; height: 110px;justify-content: center;}
.product-card__content-wrapper .product-card__title {order: 2;}
.product-card__content-wrapper .s-product-card-rating {order: 1;}
.product-card__content-wrapper .product-options {order: 3;}
.product-card__content-wrapper .product-card__price {order: 4;}
.product-card__content-wrapper .out-of-stock {order:5}
.product-card__content-wrapper .product-card__buttons {order:6}
.product-card__content-wrapper .product-card__discount {order: 7;background-color: #ee2d6410;font-size: 11px;padding: 0 8px !important;line-height: 20px;border-radius: 20px;margin-top:4px;}
.product-card__content-wrapper .product-card__discount span {color:#ee2d64 !important;}
.product-card__price .total-price.text-red-500 {font-size: 14px;color:#ee2d64; top:0}
.product-card__price .before-price {font-size: 14px !important;}
.product-card__price .total-price {font-size:14px; color:#000}
.product-card__title a {text-align:center}
.product-card__mini-cart .s-button-text {font-size:0 !important; gap:0}
.product-card__mini-cart .s-button-text i {font-size:1.1rem !important; background-color:#f7f7f7; border-radius:50px; padding:12px}
.product-card__mini-cart {position: absolute;top: -3rem;left: .2rem;margin: 0;}
.simplified-products .s-products-slider-card .product-card--simplified .product-card__mini-cart button, .simplified-products .s-products-list-wrapper .product-card--simplified .product-card__mini-cart button {border:none}
.product-card--primary-buttons salla-button {border: none;background: none;border-radius: 50px; border:none !important;}
salla-add-product-button:hover {background:none !important}
.product-card--primary-buttons button {border:none !important; padding:0 !important; border-radius:50px}    
.product-card__content {padding:12px !important}
.product-card--vertical.product-card--simplified:not(.product-card--fit-height):not(.product-card--special) .product-card__content {justify-content: space-between !important;min-height: 100px !important;}

.s-slider-block__title h2 {font-size:1.1rem}
.s-slider-block__display-all {font-size: 0.75rem;}

.product-card--primary-buttons button:hover, .product-card--primary-buttons salla-button:hover {background:transparent}

.product-card__price .before-price {margin:2px 0}

/* images */
.simplified-products .s-products-slider-card .product-card--simplified .product-card__image {height: 9rem !important;}
.simplified-products .s-products-slider-card .product-card--simplified .product-card__image img {object-fit: contain !important}
}


/* ====== DOUBLE BANNER ====== */
.s-block--double-banner {margin-top:.5rem}
.s-block--double-banner .container {padding:0}

.s-block--rectangular-links {margin-top:.5rem}
.s-block--rectangular-links .container {padding:0}
.s-block s-block--fixed-banner.s-block--double-banner.wide-placeholder.double-banner.double-banner--5 > .container > .gap-2 {gap:.5rem !important}

/* ====== CATEGORY PAGE ====== */
.product-index .s-slider-v-centered .mx-auto.bg-primary {background-color:transparent !important}

@media (min-width: 768px) {
.s-products-list-vertical-cards {gap:.5rem}
.s-products-list-filters-results {grid-template-columns: repeat(5, 1fr); gap: .5rem;}
}

/* ====== PRODUCT PAGE ====== */
.details-slider img {background-color:#fff}
.product-single__discounted-amount {background: #ee2d6420;padding: 0 10px;font-size: 11px;border-radius: 25pc;line-height: 1;border: none;}
.product-single__discounted-amount span:nth-child(1) {border:none; background:none; padding:0}
.product-single__discounted-amount span:nth-child(2) {color:#ee2d64; background:none}