/* Add custom CSS styles below */
/* =========================================================
      FONT
   ========================================================= */
/* rb font */
@font-face {
    font-family: rb-font;
    src: url(https://saninternational.github.io/san/elvvi/ElMessiri-Medium.ttf);
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #000;
    --color-primary-reverse: #fff;
    --font-main: rb-font;
    --swal2-border-radius: 0;

}

.text-red-600 {
    color: #B35457;
}

/* =========================================================      
        GENERAL PADDING & MARGIN
   ========================================================= */
.s-block,
.s-block--special-products-slider {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.s-block--special-products-slider .slider-wrap,
.fixed-products .s-products-list-wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important
}

.advanced-slider {
    margin-bottom: 0rem !important;
}

/* offer banner */
.dynamic-banner--1 {
    margin: 3rem 0 !important;
}

.fixed-banner--7 {
    margin-bottom: 0.5rem !important;
}

.s-block--special-products-slider--6 .slider-wrap,
.square-links-10 ul {
    margin-top: 0.5rem !important;
}

@media (min-width: 768px) {
    .app-inner>section:not(.dynamic-banner--0) {
        padding-left: clamp(42px, 10vw, 124px);
        padding-right: clamp(42px, 10vw, 124px);
    }
}

@media (max-width: 767px) {
    .app-inner>section:not(.advanced-slider) {
        padding-left: 10px;
        padding-right: 10px;
    }

}

.s-block--fixed-banner .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/** remove border radius **/
.s-block--fixed-banner img,
.s-button-btn {
    border-radius: 0 !important;
}

/* =========================================================      
        MAIN NAV
   ========================================================= */
/* ================================================= */
/* NON-sticky header → EN WHITE logo (EN + AR)       */
/* ================================================= */

.index .store-header:not(.navbar-sticky) .navbar-brand {
    display: block;
    width: 180px;
    height: 24px;

    background-image: url("https://sanint.sirv.com/Salla%20Sites/Logo%20icons/Elvvi-english-Black.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Hide <img> when NON-sticky (EN + AR) */
.index .store-header:not(.navbar-sticky) .navbar-brand img {
    opacity: 0;
}

.index .store-header.navbar-sticky .navbar-brand {
    display: block;
    width: 180px;
    height: 24px;

    background-image: url("https://cdn.files.salla.network/homepage/832977478/46bdbebd-b60c-4666-aba2-1bb8c3f40128.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Hide <img> when NON-sticky (EN + AR) */
.index .store-header.navbar-sticky .navbar-brand img {
    opacity: 100;
}

/* hide main menu text title when opened*/
#mobile-menu>button:after {
    content: "";
    color: red !important;
}

/* ======================================= */
/* Sticky header → EN → BLACK logo          */
/* ======================================= */

html:lang(en) .index .store-header.navbar-sticky .navbar-brand {
    background-image: url("https://sanint.sirv.com/Salla%20Sites/Logo%20icons/Elvvi-english-Black.webp");
}

/* Hide <img> ONLY for EN sticky */
html:lang(en) .index .store-header.navbar-sticky .navbar-brand img {
    opacity: 0;
}

/* ======================================= */
/* Sticky header → AR → AR logo (NO change) */
/* ======================================= */

html:lang(ar) .index .store-header.navbar-sticky .navbar-brand {
    background-image: none;
    /* let <img> show */
}

/* Ensure AR sticky image is visible */
html:lang(ar) .index .store-header.navbar-sticky .navbar-brand img {
    opacity: 1;
}

/* ======================================= */
/* Sticky header → EN → BLACK logo (smaller) */
/* ======================================= */
.index .store-header.navbar-sticky .navbar-brand {
    height: 42.56px;
}

html:lang(en) .index .store-header.navbar-sticky .navbar-brand {
    width: 150px;
    /* ↓ smaller */
    background-image: url("https://sanint.sirv.com/Salla%20Sites/Logo%20icons/Elvvi-english-Black.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* menu icons  */
#mobile-menu img {
    width: 20px !important;
    height: 20px !important;
}

/* =========================================================      
        NAVBAR LINKS
   ========================================================= */
li#\"1603772014\",

#\31 603772014 {

    color: rgb(249, 107, 113) !important;

}

/* Elvvi offers */
li#\"120380328\",
#\31 20380328,
/* Elvvi landing pages */
li#\"1674764977\",
#\31 674764977 {
    display: none !important;
}

/* =========================================================      
        MAIN BANNER
   ========================================================= */

/**** main banne ****/
/** hide img on mobile & vid on desktop **/
/* @media (max-width: 767px) {
  .dynamic-banner--0 {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .advanced-slider--1 {
    display: none !important;
  }
} */
/** place the btn down **/
.advanced-slider .advanced-slider__caption .container {
    position: relative;
    top: 30%;
}

/**** 1st fixed producs ****/
.fixed-products--2 .home-block-title,
.fixed-products--8 .home-block-title {
    display: none !important;
}

/* =========================================================      
          SQUARE LINKS (CATEGORIES & JEWELS)
   ========================================================= */

/**** square links ****/
.square-links-2 h2 {
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.square-links-2 p,
.square-links-2 span {
    display: none !important;
}

.square-links-2 div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.square-links-2 ul.auto-fit-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    row-gap: 1rem !important;
    column-gap: 1rem !important;


}

.square-links-2 ul li h3 {
    position: relative;
    margin-top: -25%;
    border: 2px solid #fff;
    border-radius: 10pc;
    padding: 0;
    padding-left: 0 !important;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    background-color: rgba(0, 0, 0, 0.4) !important;
    color: #fff;
    margin-bottom: 10%;
}

/* =========================================================      
        PRODUCTS TABS
   ========================================================= */
/**** products tabs ****/
/** remove border **/
.s-block--product-tabs .enhanced-title-border {
    display: none !important;
}

/** remove border radius (square look) **/
.s-block--product-tabs .product-tab {
    border-radius: 0 !important;
}

/** color active/inactive tab **/
.s-block--product-tabs .product-tab:not(.active) {
    color: #000;
    background-color: #fff;
}

.s-block--product-tabs .product-tab.active {
    background-color: #000;
    color: #fff;
}

/* =========================================================      
          SQUARE LINKS (JEWELS)
   ========================================================= */

/**** square links ****/
.square-links-4 h2 {
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 24px;
}

.square-links-4 p,
.square-links-4 span {
    display: none !important;
}

.square-links-4 div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.square-links-4 ul.auto-fit-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    row-gap: 1rem !important;
    column-gap: 1rem !important;


}

.square-links-4 ul li h3 {
    position: relative;
    margin-top: -25%;
    border: 2px solid #fff;
    border-radius: 10pc;
    padding: 0;
    padding-left: 0 !important;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    background-color: rgba(0, 0, 0, 0.4) !important;
    color: #fff;
    margin-bottom: 10%;
}

/* =========================================================      
        PRODUCT CARD
   ========================================================= */
.product-card:hover {
    transform: none !important;
}

/*unify product card margin*/
.product-card {
    margin-bottom: 10px;
    height: auto !important;
}

:lang(ar) .product-card .product-card__content-wrapper {
    text-align: right !important;
}

:lang(ar) .product-card .product-card__price {
    justify-content: right !important;
}

:lang(en) .product-card .product-card__content-wrapper {
    text-align: left !important;

}

:lang(en) .product-card .product-card__price {
    justify-content: left !important;
}

.product-card.out-of-stock {
    display: none
}

@media only screen and (max-width: 767px) {

    /* add to cart */
    .product-card .product-card__content .product-card__enhanced-mini-cart-divider {
        border-top: 1px solid #fff;
    }

}

@media only screen and (min-width: 768px) {

    /* allow add to card to take full width and fill bottom card*/
    .product-card .product-card__content {
        padding: 0 !important;
    }

    .product-card .product-card__content-wrapper {
        padding: 12px 14px !important;
    }

    /* add to cart */
    salla-add-product-button div salla-button button {
        font-size: 16px !important;
    }
}

/* hide the shopping icon */
.product-card .sicon-shopping {
    display: none;
}

/* Add to cart (desktop) */
.product-card .product-card__normal-cart__btn .s-button-btn {
    background-color: #000;
    color: #fff !important;
}

.product-card .product-card__normal-cart__btn .s-button-btn i::before {
    background-color: transparent !important;
    color: #fff !important;
}

.product-card .product-card__normal-cart__btn .s-button-btn:hover {
    border: 1px #000 solid !important;
    background-color: #fff;
    color: #000 !important;
}

.product-card .product-card__normal-cart__btn .s-button-btn:hover i::before {
    color: #000 !important;
}

/*** place add to cart to the bottom ***/
custom-salla-product-card {
    height: 100%;
    display: block;
}

custom-salla-product-card .product-card,
custom-salla-product-card form.product-form {
    height: 100%;
}

custom-salla-product-card .product-card__content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

custom-salla-product-card .product-card__content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

custom-salla-product-card .product-card__normal-cart,
custom-salla-product-card .product-card__enhanced-mini-cart {
    margin-top: auto;
}

/******hide preview & wishlist btns*******/
.btn--wishlist {
    display: none;
}

/* style it via CSS */
.quickview-btn {
    display: none;
}

/*hide add to cart icons*/
.product-card .sicon-add,
.product-card .sicon-shopping {
    display: none !important;
}

:lang(ar) .product-card .enhanced-label {
    margin-right: 0;
}

:lang(en) .product-card .enhanced-label {
    margin-left: 0;
}

.product-card__enhanced-mini-cart-divider {
    margin: 0px -6px 0;
}

/* show product options in a row in mobile */
@media(max-width:767px) {
    .product-card .s-product-options-thumbnails-wrapper {
        display: grid;
    }
}

/* ************************************************* */
/* ------------------ STORE FEATUREs ----------------- */
.s-block--enhanced-features .s-block--enhanced-features__item {
    border: unset;
}

.s-block--enhanced-features {
    pointer-events: none !important;
    cursor: default !important;
}

/* ************************************************* */
/* ------------------ BRANCHES ----------------- */
/* ************************************************* */
.s-block--store-branches .store-branches-multiple-countries .flex.flex-col.gap-6 {
    flex-direction: row !important;
}

.s-block--store-branches .store-branches-multiple-countries .flex-shrink-0 {
    flex-direction: row !important;
}

.s-block--store-branches .store-branches-multiple-countries .btn-tabs-vertical {
    max-height: 20rem !important;
    overflow-y: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
}

/*hide title border*/
.enhanced-title-border {
    display: none !important;
}

@media(max-width:767px) {
    .s-block--store-branches .country-content.active div div {
        max-height: 190px;
    }
}
/* ************************************************* */
/* ------------------ PRODUCT PAGE ----------------- */
/* ************************************************* */
/* Accordion mobile color*/
@media (max-width: 991px) {
    .product-more-info .more-tab-container .more-info-tabs__nav-link.active{
      color: --var(--color-primary) !important;
    }

    .product-more-info .more-tab-container .more-info-tabs__nav-link {
        
        background: var(--color-primary-reverse) !important;
        color: var(--color-primary) !important;
        border-bottom: 1px solid var(--color-primary) !important;
        border-top:  1px solid var(--color-primary) !important;
    }
}

/* ******************************************* */

/* -------------- CATEGORY PAGE -------------- */

/* ******************************************* */

/* sub-category images */

.products-index [id*=sub-cats-slider-] .swiper-slide div:has(i) {

    display: none;

}


/* sub-category text */

.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a {

    border: 1px #000 solid;

    border-radius: 2px;

}


.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a:hover {

    background-color: #000;

}


.products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a:hover span {

    color: #ffffff;

}


@media only screen and (max-width: 768px) {


    /* product card image */

    .products-index .main-content .product-card .product-card__image {

        height: auto !important;

        max-height: none;

    }


    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide {

        margin: auto 4px;

        width: 20% !important;

    }


    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a span {

        margin-bottom: 0.5rem;

        font-size: 0.5rem;

        line-height: 0.5rem;

    }

}



@media only screen and (min-width: 769px) {


    /* sub-category text */

    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper {

        justify-content: center;

        font-weight: 900;

        margin: auto 32px;

    }


    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide {

        margin: auto 10px;

    }


    .products-index [id*=sub-cats-slider-] .s-slider-swiper-wrapper .swiper-slide a span {

        margin-bottom: 0.5rem;

    }

}


/* =========================================================      
                      Checkout page
   ========================================================= */
#bank-offers>div {
    border: none !important;
}

/* ******************************************* */
/* ---------------- CART PAGE ---------------- */
/* ******************************************* */

/* coupon input */
/* .cart div:has(> input#coupon-input)::after {
        content: '* الأكواد لا تشمل عرض 1+1 مجاناً';
        font-size: 10px;
        color: grey;
        font-weight: 400;
    }
     */
/*cart overlap issue solution*/
/* Mobile: shrink all labels */
@media(max-width:767px) {
    .cart .s-conditional-offer-checkpoint-label.first-checkpoint {
        width: fit-content;
        line-height: 1.25;
    }

    .cart .s-conditional-offer-checkpoint-label {
        font-size: 12px;

    }
}

/* cart offer coloring */
.s-conditional-offer-container .s-conditional-offer-item-avatar-content {
    color: rgba(248, 113, 113, var(--tw-border-opacity, 1));
}

.s-conditional-offer-container .s-conditional-offer-progress-line-inactive {
    background-color: #e5e5e5;
}

.s-conditional-offer-container .s-conditional-offer-checkpoint {
    background-color: transparent !important;
}

/* *********************************************/
/* ---------------- ORDER PAGE --------------- */
/* *********************************************/

.s-rating-modal-thanks-title {
    font-size: 0;
}

.s-rating-modal-thanks-title:after {
    content: 'شكرًا لوقتك';
    font-size: 1rem;
}

.s-rating-modal-thanks-msg h3 {
    font-size: 1rem;
    color: #2b2d34;
    line-height: unset;
}

/*product page*/
.product-brand,
.remained-quantity {
    display: none !important;
}

/* ================================================== */
/*                    MOBILE ≤768px                   */
/* ================================================== */

@media only screen and (max-width: 768px) {

    /* Margins — mobile */
    .index .s-block--fixed-banner {
        margin-bottom: 0.65rem !important;
    }

    section.s-block.s-block--product-tabs.s-block--product-tabs--buttons {
        margin-bottom: 1.875rem !important;
    }

    section.s-block.s-block--fixed-banner.s-block--dynamic-banner.wide-placeholder.dynamic-banner--5 {
        margin-bottom: 0.65rem !important;
    }

    .index .s-block--product-tabs .s-products-list-wrapper {
        margin-bottom: 0.65rem !important;
    }

    .index section.s-block--fixed-banner.s-block--dynamic-banner.wide-placeholder.dynamic-banner--13 {
        margin-bottom: 0 !important;
    }

    /* Special product — mobile */
    section.special-product.mini.hide_remaining.special-product--9.s-block {
        margin-bottom: 2rem;
    }

    section.special-product.mini.hide_remaining.special-product--9.s-block .product-card__normal-cart {
        margin-top: 0px;
    }

    section.special-product.mini.hide_remaining.special-product--9.s-block .product-card .product-card__content .product-card__title {
        margin: 0 0 10px;
    }


    .product-card .product-card__content .product-card__discount {
        margin-bottom: 10px;
    }

    /* Testimonials block */
    .s-block--testimonials .review .bg-store-bg-secondary .flex.items-center.mt-6.-mx-2 {
        margin-top: 0.5rem;
    }

}

/* ================================================== */
/*                   DESKTOP ≥769px                   */
/* ================================================== */
@media (min-width: 769px) {

    /* Margins — desktop */
    .index .s-block--fixed-banner {
        margin-bottom: 1.875rem !important;
    }

    .index .s-block--best-offers .s-slider-block__title-right,
    salla-products-slider .s-slider-block__title-right {
        margin-bottom: 0.75rem !important;
    }

    section.s-block.s-block--product-tabs.s-block--product-tabs--buttons {
        margin-bottom: 4rem !important;
    }

    section.s-block.s-block--fixed-banner.s-block--dynamic-banner.wide-placeholder.dynamic-banner--5 {
        margin-bottom: 1.875rem !important;
    }

    .index .s-block--product-tabs .s-products-list-wrapper {
        margin-bottom: 1.875rem !important;
    }

}


.product-card--vertical:not(.product-card--fit-height) .product-card__image {
    flex: 335%;
}