/* ==========================================================================
   1. الإعدادات العامة والمتغيرات (Root & General)
   ========================================================================== */
:root {
    --product-border-color: #808080;
    --product-image-height: 15rem;
}

.categeory_square img {
    object-fit: contain;
}

.navbar-brand img {
    /* max-height: 120px; */
    max-width: 168px;
    /* min-width: 48px; */
    width: auto;
}

/* تنسيق العناوين في الصفحة الرئيسية */
.home-block-title.lg\:mx-0.mb-4.text-center {
    margin-top: 50px !important;
    font-size: 1.5rem !important;
}


/* ==========================================================================
(Navbar & Header)
   ========================================================================== */

/*
   تعديل قسري لإظهار النافبار (Forced Navbar Fix)
*/
@media (max-width: 767px) {

    /* إجبار الهيدر على البقاء في قمة الشاشة مهما حدث */
    body.trans_header .store-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        /* width: 95% !important; */
        /* margin: 10px !important; */
        z-index: 25 !important;
        /* background: rgba(255, 255, 255, 0.9) !important; */
        backdrop-filter: blur(20px) !important;
        /* -webkit-backdrop-filter: blur(40px) !important; */
        border-radius: none;
        box-shadow: 0px rgba(0, 0, 0, 0.1);
    }
}

/* تعويض المساحة الفارغة التي يتركها التموضع الثابت */
body.trans_header {
    /* padding-top: 70px !important;  */
}

/* تأكيد ظهور المحتوى الداخلي */
.main-nav-container,
.main-nav-container .inner {
    /* background: transparent !important; */
    /* backdrop-filter: none !important; */
}


/* إصلاح التثبيت لنسخة الكمبيوتر */
.main-nav-container.fixed-pinned {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 25 !important;
}

/* تنسيقات الناف بار الخاصة بالجوال */
@media (max-width: 767px) {

    /* تنسيق الهيدر الشفاف */
    .store-header {
        margin: 0 0 !important;
    }

    body.trans_header .store-header {
        width: auto;
        /* background: rgba(255, 255, 255, 0.5); */
        backdrop-filter: blur(20px);
        /* margin: 10px; */
        border-radius: 1rem;
        left: 0;
        right: 0;
    }

    /* لوجو المتجر */
    .navbar-brand img {
        height: 24px !important;
        background-color: transparent;
        backdrop-filter: none;
        max-height: 27px;
    }

    /* حاوية القائمة الرئيسية */
    .main-nav-container {
        align-content: center;
        background-color: transparent;
        background: rgba(255, 255, 255, 20%);
        backdrop-filter: blur(40px);
    }

    /* الحشوة الداخلية للناف بار */
    .inner.bg-inherit.w-full {
        padding: 10px 16px;
        height: 100%;
    }

    /* أيقونات الناف بار */
    .main-nav-container [class^=sicon-],
    [class*=" sicon-"] {
        font-size: 1.3rem;
    }

    /* إخفاء عناصر معينة في الجوال (مثل السلة أو أزرار محددة) */
    #mainnav salla-cart-summary.ml-4.rtl\:ml-\[unset\].rtl\:mr-4.hydrated,
    #mainnav header-btn block {
        display: none !important;
    }
}


/* ==========================================================================
(Product Cards)
   ========================================================================== */

/* تنسيق صور المنتجات */
.product-card__image img {
    object-fit: cover !important;
}

/* ارتفاع بطاقة المنتج */
.product-card--fit-height .product-card__image {
    height: 19rem;
    max-height: 19rem;
}

/* استعلامات الوسائط للمنتجات (شاشات متوسطة) */
@media (max-width: 991px) {

    .free-images-height .simplified-products .s-products-slider-card .product-card--simplified .product-card__image,
    .free-images-height salla-products-list .product-card--vertical.product-card--simplified:not(.product-card--fit-height):not(.product-card--special) .product-card__image {
        height: 15rem;
    }
}

/* استعلامات الوسائط للمنتجات (شاشات الجوال) */
@media (max-width: 767px) {
    .fit-slider-products .s-slider-swiper-wrapper .swiper-slide {
        width: 400px;
    }

    body:not(.free-images-height) .simplified-products .offer-slide .product-card--simplified .product-card__image,
    body:not(.free-images-height) .simplified-products .s-products-list-wrapper .product-card--simplified .product-card__image,
    body:not(.free-images-height) .simplified-products .s-products-slider-card .product-card--simplified .product-card__image {
        /* max-height: 12rem; */
    }

    /* ارتفاع صور المنتجات في السلايدر والقوائم */
    .simplified-products .offer-slide .product-card--simplified .product-card__image,
    .simplified-products .s-products-list-wrapper .product-card--simplified .product-card__image,
    .simplified-products .s-products-slider-card .product-card--simplified .product-card__image {
        height: 15rem;
    }

    /* تنسيق السعر في الجوال */
    custom-salla-product-card .product-card__price .total-price {
        font-size: 1rem;
        font-weight: 900 !important;
        /* color: #000; */
    }

    .simplified-products .offer-slide .product-card--simplified .product-card__mini-cart button,
    .simplified-products .s-products-list-wrapper .product-card--simplified .product-card__mini-cart button,
    .simplified-products .s-products-slider-card .product-card--simplified .product-card__mini-cart button {
        padding: 15px;
    }

}

@media (min-width: 1024px) {
    salla-slider .slide--one-sixth {
        width: 22%;
    }
}

.group:hover .group-hover\:scale-110 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
}


/*==========================================================================*/

 custom-salla-product-card salla-add-product-button button{
            background-color: var(--bg-primary);

 }

/* .product-card--primary-buttons button, .product-card--primary-buttons salla-button */
custom-salla-product-card .product-card__buttons .quickview-btn button ,
custom-salla-product-card .product-card__buttons .wishlist button, custom-salla-product-card .product-card__buttons .wishlist salla-button{
    align-items: center;
    /* background: var(--bg-primary); */
    /* background: transparent !important; */
    border: 2px solid #bababa !important;
    /* border: firebrick; */
    border-radius: 20% !important;
    /* box-shadow: 0 0 10px 2px rgba(0, 0, 0, .039); */
    display: flex;
    font-size: 0;
    height: 40px;
    justify-content: center;
    padding: 0;
    white-space: nowrap;
    width: 40px;
}
custom-salla-product-card .product-card,
custom-salla-product-card .product-card__content,
custom-salla-product-card .product-card__price {
    text-align: start;
}

/* العنوان الفرعي */
custom-salla-product-card .product-card__content-wrapper 
.product-card__subtitle {
    font-weight: 400;
  display: none;
}

custom-salla-product-card .product-card__content-wrapper {
    display: grid;
    /* flex-direction: column;
    justify-content: space-around;
    justify-items: stretch;
    align-items: stretch; */
    height: 100%;
    scroll-snap-align: start;
}

custom-salla-product-card .product-card__price {
    justify-content: start !important;
    margin: 30px 0 0 0;
    /* align-items: baseline; */
    /* align-self: baseline; */
}

custom-salla-product-card .product-card__price .price_is_on_sale {
    width: 100%;
    justify-content: space-between;
    /* flex-direction: row-reverse; */
    align-self: flex-start;
    align-items: center;
    /* margin-top: inherit; */
}

/* السعر الاجمالي - عندما يكون هناك خصم */
custom-salla-product-card .product-card__price .price_is_on_sale .total-price {
    color: var(--p-emerald-600);
}

custom-salla-product-card .product-card__price .total-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--p-cyan-950);
}

custom-salla-product-card .product-card__price .before-price {
    /* color: #006444; */
}

/*==========================================================================*/

.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 {
    border: none;
    border-bottom: 2px solid;
    border-radius: 0px;
    padding: 5px 10px;
    color: var(--p-cool-grey-600);
}

.s-slider-block__display-all:hover {
    opacity: .8;
    border-bottom: 4px solid;
}
/*==========================================================================*/

.lipstick_block_slider .s-slider-block__title {
    justify-content: center;
    margin: 20px !important;
}

.s-slider-block__title-right {}

.eveu-s-slider-swiper-wrapper {}

.eveu-s-block--slider-with-bg .s-slider-block__display-all{
    border: 2px solid !important;
    border-radius: 0px;
    padding: 5px 10px;
}
.s-block--slider-with-bg .s-slider-prev.s-slider-nav-arrow svg{
    fill: #e4e4e4;
}

/* بدل المطمطة حق البنرات  */
section.s-block--fixed-banner.wide-placeholder .container {
    padding: 0 !important
}

section.s-block--fixed-banner.wide-placeholder {
    max-height: 300px
}

.banner--fixed img {
    border-radius: 0;
}
/* تنسيق قسم "عن المتجر" */
.s-block.s-block--about .container {
    padding: 0 !important;
}





.selia-bottom-nav-icon span,.selia-bottom-nav-button span{
    font-size: 13px;
    /* opacity: 0.5; */
}