/* Add custom CSS styles below */

/* استيراد خط Alexandria */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');

/* تعيين خط الجسم العام */
body {
    font-family: 'Alexandria', sans-serif;
    font-optical-sizing: auto;
    font-weight: 300; /* يمكنك تغييره حسب الحاجة */
    font-style: normal;
}

/* دعم اللغة العربية والإنجليزية */
[lang="ar"] body,
[lang="en"] body {
    font-family: 'Alexandria', sans-serif !important;
}

/* خط للعربية فقط */
[lang="ar"] body {
    font-family: 'Alexandria', 'cairo', sans-serif !important;
}

/* خط للإنجليزية */
[lang="en"] body {
    font-family: 'Alexandria', 'cairo', sans-serif !important;
}

/* سلايدر المنتجات */
.swiper-slide.slide--one-fifth {
  width: 12.5% !important;
  flex: 0 0 12.5% !important;
  max-width: 12.5% !important;
}

/* تابلت */
@media (max-width: 991px) {
  .swiper-slide.slide--one-fifth {
    width: 25% !important;
    max-width: 25% !important;
  }
  .s-products-list-wrapper.grid,
  .product-index .s-products-list-wrapper.grid,
  .category-page .s-products-list-wrapper.grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* جوال */
@media (max-width: 600px) {
  .swiper-slide.slide--one-fifth {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
  }
  .s-products-list-wrapper.grid,
  .product-index .s-products-list-wrapper.grid,
  .category-page .s-products-list-wrapper.grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}


/* للكمبيوتر: إظهار 8 منتجات في الصف */
.s-products-list-wrapper.grid,
.product-index .s-products-list-wrapper.grid,
.category-page .s-products-list-wrapper.grid,
.collection-products .s-products-list-wrapper.grid,
.s-products-list-wrapper.s-products-list-filters-results {
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 20px !important;
}

/* للجوال: إظهار 3 منتجات في الصف */
@media (max-width: 600px) {
  .s-products-list-wrapper.grid,
  .product-index .s-products-list-wrapper.grid,
  .category-page .s-products-list-wrapper.grid,
  .collection-products .s-products-list-wrapper.grid,
  .s-products-list-wrapper.s-products-list-filters-results {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* إذا كان هناك قائمة بمنتجات داخل كلاس آخر استخدمه بنفس الطريقة */



/* إخفاء أي عنصر داخلي غير زر السلة داخل الحاوية */
.add-to-cart-conatiner > *:not(.btn--add-to-cart):not(.salla-add-product-button):not([class*="btn--add-to-cart"]):not([class*="salla-add-product-button"]) {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* زر السلة فقط يبقى ظاهر بشكل عائم */
.add-to-cart-conatiner .btn--add-to-cart,
.add-to-cart-conatiner .salla-add-product-button {
  background: transparent !important;       /* شفافية للخلفية/dome فقط */
  box-shadow: none !important;
  border: none !important;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  position: absolute !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4;
}

/* إخفاء/تعطيل أي مؤثرات Pseudo-element نهائياً */
.add-to-cart-conatiner .btn--add-to-cart:before,
.add-to-cart-conatiner .btn--add-to-cart:after,
.add-to-cart-conatiner .salla-add-product-button:before,
.add-to-cart-conatiner .salla-add-product-button:after {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  content: none !important;
  opacity: 0 !important;
}



/*------------------------BODY------------------------*/
/*------------------CATEGORIES PAGE-------------------*/

/*HEADER: LOGO*/
.navbar-brand img {
    max-height: 48px !important;
}


/*PRODUCT CARD: MAIN TITLE*/
.product-entry__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-height: 1.5rem;
    max-width: 99% !important;
}


/*TABWIBAT M3 BANNARAT: PIC */
.s-block--featrues-products [class="tab-banner relative flex-center rounded bg-no-repeat bg-top bg-cover min-h-[280px] lg:min-h-[360px] "] {
    background-size: contain !important;
}


/*MA3RD MONTGAT M3 MSA7A SABTA: MAIN CONTAINER*/
.s-block--products-slider-and-fixedarea [class="container"] {
    overflow: hidden !important;
}


/*MA3RD MONTGAT M3 MSA7A SABTA: PIC
.s-block--products-slider-and-fixedarea [class="bg-area lazy absolute w-screen lg:w-[50vw] h-full top-0 z-0 bg-no-repeat rtl:bg-left rtl:left-0 ltr:bg-right ltr:right-0 bg-cover entered loaded"] {
    background-size: contain !important;
}
*/


/*MOVING PRODUCTS: ICON DIV*/
.s-block--enhanced-features [class="rounded-full w-16 h-16 shrink-0 bg-orange-400 text-white flex items-center"] {
    justify-content: center !important;
}


/*MOVING PRODUCTS: MAIN TITLE + SHOW MORE*/
.s-block--products-slider .s-block__title {
    flex-direction: row !important;
    justify-content: space-between !important;
}


/*MOVING PRODUCTS: MAIN TITLE + SHOW MORE*/
.s-block__title [class="left-side flex items-center gap-5"] {
    margin-top: -11px !important;
}


/*BRANDS SECTION: SINGLE LOGO*/
.s-block--brands [class="w-full inline-flex flex-nowrap overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-200px),transparent_100%)]"] ul li {
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
}


/*BRANDS SECTION: SINGLE LOGO IMAGE*/
.s-block--brands [class="w-full inline-flex flex-nowrap overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-200px),transparent_100%)]"] ul li img {
    max-height: 5rem !important;
}


/* استهداف قسم تصفح أقسام المنتجات العضوية داخل anime-grid-container */
.anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5.gap-4 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  display: grid !important;
  gap: 16px !important;
}





/*------------------------BODY------------------------*/
/*------------------CATEGORIES PAGE-------------------*/


/* للتابلت: ٤ أعمدة */
@media (min-width: 768px) and (max-width: 1023px) {
  .anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5.gap-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* للجوال: ٣ أعمدة */
@media (max-width: 767px) {
  .anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-5.gap-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-inline: 4px !important;
  }
}



/*------------------------BODY------------------------*/
/*------------------CATEGORIES PAGE-------------------*/


/* استهداف شبكة البنرات داخل anime-grid-container والتي تحتوي على grid-cols-6 */
.anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-6.gap-4 {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  display: grid !important;
  gap: 16px !important;
}

/* تابلت: 4 أعمدة */
@media (min-width: 768px) and (max-width: 1023px) {
  .anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-6.gap-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* جوال: 3 أعمدة */
@media (max-width: 767px) {
  .anime-grid-container > .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-4.xl\:grid-cols-6.gap-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding-inline: 4px !important;
  }
}


/*------------------------BODY------------------------*/
/*------------------CATEGORIES PAGE-------------------*/

/*CATEGORIES PAGE: HEADER CONTAINER
.product-index .product-index-page-header {
    transform: scaleX(-1) !important;
    /*TO CHANGE THE DIRECTION OF HEADER CONTAINER
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV
.product-index .product-index-page-header [class="container flex items-center justify-start"] {
    transform: scaleX(-1) !important;
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV: TITLE
.product-index .product-index-page-header [class="container flex items-center justify-start"] h2 {
    display: none !important;
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV: PARAGRAPH
.product-index .product-index-page-header [class="container flex items-center justify-start"] p {
    font-size: 1.1rem !important;
    margin-top: -1rem !important;
    margin-bottom: 1rem !important;
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: IMG DIV
.product-index .product-index-page-header .bg-cover {
    background-size: contain !important;
    background-color: transparent !important;
}
*/

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINER: IMAGE MAIN DIV
.product-index [class="s-block--categories mb-8 lg:mb-16 align-below"] [class="slide--cat-entry has-image has-zoom-transition"] {
    width: 8rem !important;
}
*/

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINER: IMAGE DIV*/
.product-index [class="s-block--categories mb-8 lg:mb-16 align-below"] [class="image--aspect-ratio bg-gray-100 dark:bg-white/10 overflow-hidden"] {
    border-radius: 100% !important;
    height: 10rem !important;
    width: 10rem !important;
    background: transparent !important;
}

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINERS*/
.product-index .slide--one-sixth .slide--cat-entry {
    height: 12rem !important;
    width: 6rem !important;
}

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINER: IMAGE*/
.product-index [class="s-block--categories mb-8 lg:mb-16 align-below"] img {
    object-fit: contain !important;
    padding: 1rem !important;
}

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINER: TITLES*/
.product-index [class="s-block--categories mb-8 lg:mb-16 align-below"] h2 {
    font-size: 0.8rem !important;
}


/*------------------CATEGORIES PAGE-------------------*/
/*--------------------BRANDS PAGE---------------------*/

/*BRANDS PAGE: MAIN BANNER CONTAINER*/
.brands-single .page-header {
    background-color: transparent !important;
}

/*BRANDS PAGE: MAIN BANNER*/
.brands-single .page-header .page-header__bg {
    background-size: contain !important;
}

/*--------------------BRANDS PAGE---------------------*/
/*--------------------MEDIA QUERY---------------------*/

/*HEADER: MAIN NAV-BAR*/
@media (max-width: 500px) {
    #main-nav {
        min-height: 60px !important;
    }
}

/*MOVING PRODUCTS SECTION: SINGLE PRODUCT*/
@media (max-width: 500px) {
    [class="s-block s-block--products-slider container"] .slide--one-fifth {
        max-width: 45% !important;
        padding-right: 0.7rem !important;
        padding-left: 0.7rem !important;
    }
}

/*FEATURED PRODUCTS SECTION: SINGLE PRODUCT*/
@media (max-width: 500px) {
    [class="s-block s-block--tabs s-block--tabs-produtcs ajax-products-loader as-slider"] .slide--one-fifth {
        max-width: 45% !important;
        padding-right: 0.7rem !important;
        padding-left: 0.7rem !important;
    }
}

/*FIXED PRODUCTS SECTION: SINGLE PRODUCT*/
@media (max-width: 500px) {
    [class="s-block s-block--fixed-products container"] [class="s-products-list-wrapper s-products-list-vertical-cards"] {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}

/*CATEGORIES PAGE: MAIN PRODUCT CONTAINER*/
@media (max-width: 500px) {
    .product-index .s-products-list-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}

/*CATEGORIES PAGE: HEADER CONTAINER
@media (max-width: 500px) {
    .product-index .product-index-page-header {
        height: 300px !important;
        margin-bottom: -6rem !important;
    }
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT
@media (max-width: 500px) {
    .product-index .product-index-page-header [class="relative flex flex-col justify-center text-start gap-5 max-w-lg"] {
        text-align: center !important;
    }
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV
@media (max-width: 500px) {
    .product-index [class="container flex items-center justify-start"] {
        justify-content: center !important;
    }
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV: MAP
@media (max-width: 500px) {
    .product-index .product-index-page-header [class="flex items-center flex-wrap text-xs"] {
        justify-content: center !important;
    }
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV: TITLE
@media (max-width: 500px) {
    .product-index .product-index-page-header [class="container flex items-center justify-start"] h2 {
        font-size: 1.4rem !important;
    }
}
*/

/*CATEGORIES PAGE: HEADER CONTAINER: TEXT DIV: PARAGRAPH
@media (max-width: 500px) {
    .product-index .product-index-page-header [class="container flex items-center justify-start"] p {
        font-size: 0.9rem !important;
    }
}
*/

/*CATEGORIES PAGE: SUB-CATEGORIES MAIN CONTAINER*/
@media (max-width: 500px) {
    .product-index .slide--one-sixth {
        width: 30% !important;
    }
}

/*CATEGORIES PAGE: SUB-CATEGORIES CONTAINERS*/
@media (max-width: 500px) {
    .product-index .slide--one-sixth .slide--cat-entry {
        height: 12rem !important;
        width: 5rem !important;
    }
}

/*MOMIZAT ELMATJAR SECTION: MAIN CONTAINER*/
@media (max-width: 500px) {
    .s-block--enhanced-features [class="flex gap-2.5 sm:gap-5"] {
        flex-direction: column !important;
    }
}

/*BRANDS SECTION: SINGLE LOGO IMG*/
@media (max-width: 500px) {
    .s-block--brands [class="w-full inline-flex flex-nowrap overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-200px),transparent_100%)]"] ul li img {
        max-height: 3rem !important;
    }
}

/*BRANDS PAGE: MAIN BANNER CONTAINER*/
@media (max-width: 500px) {
    .brands-single .page-header {
        height: 6rem !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS*/
@media (max-width: 500px) {
    .product-single .product-static-info {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 25rem !important;
        border: none !important;
        padding: 0 !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO*/
@media (max-width: 500px) {
    .product-single .product-static-info__item {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        border: 1px #dddddd solid !important;
        padding: 0.5rem !important;
        border-radius: 5px !important;
        transition: 0.5s !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO*/
@media (max-width: 500px) {
    .product-single .product-static-info__item:hover {
        transform: scale(0.9);
        box-shadow: -2px 2px 0px 0px rgb(0 0 0 / 6%);
        border: none;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO: TEXT*/
@media (max-width: 500px) {
    .product-single .product-static-info__item span {
        font-size: 0.6rem !important;
        padding-top: 0.15rem !important;
    }
}

/*VAT CONTAINER: IMAGE*/
@media (max-width: 500px) {
    footer [class="lazy h-[40px] rounded-sm hover:opacity-80 transition-opacity loaded"] {
        display: none !important;
    }
}


/*----------------------------------------------------*/

/*HEADER: MAIN NAV-BAR*/
@media (min-width: 900px) {
    #main-nav {
        min-height: 60px !important;
    }
}

/*HEADER: MAIN NAV-BAR*/
@media (min-width: 900px) {
    header [class="inner bg-inherit"] {
        padding: 0 !important;
    }
}

/*HEADER: MAIN NAV-BAR*/
@media (min-width: 900px) {
    [class="short-menu-items hidden lg:flex flex-wrap items-center gap-x-5 pt-[22px] pb-[6px] rtl:pl-4 ltr:pr-4 whitespace-nowrap"] {
        padding-bottom: 0 !important;
        padding-top: 7px !important;
    }
}

/*HEADER: MAIN NAV-BAR*/
@media (min-width: 900px) {
    [class="quicklinks-item"] {
        padding-bottom: 12px !important;
    }
}

/*MOVING PRODUCTS SECTION: SINGLE PRODUCT*/
@media (min-width: 900px) {
    [class="s-block s-block--products-slider container"] .slide--one-fifth {
        max-width: 17% !important;
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

/*FEATURED PRODUCTS SECTION: SINGLE PRODUCT*/
@media (min-width: 900px) {
    [class="s-block s-block--tabs s-block--tabs-produtcs ajax-products-loader as-slider"] .slide--one-fifth {
        max-width: 17% !important;
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

/*FIXED PRODUCTS SECTION: SINGLE PRODUCT*/
@media (min-width: 900px) {
    [class="s-block s-block--fixed-products container"] [class="s-products-list-wrapper s-products-list-vertical-cards"] {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}

/*MA3RD MONTGAT M3 MSA7A SABTA SECTION: PIC*/
@media (min-width: 900px) {
    .s-block--products-slider-and-fixedarea [class="bg-area lazy absolute w-screen lg:w-[50vw] h-full top-0 z-0 bg-no-repeat rtl:bg-left rtl:left-0 ltr:bg-right ltr:right-0 bg-cover entered loaded"] {
        background-size: contain !important;
        width: 83% !important;
    }
}

/*CATEGORIES PAGE: HEADER: MAP
@media (min-width: 900px) {
    .product-index [class="container flex items-center justify-start"] {
        margin-top: 25rem !important;
    }
}

/*CATEGORIES PAGE: SUB-CATEGORIES MAIN CONTAINER*/
@media (min-width: 900px) {
    .product-index .slide--one-sixth {
        width: 10% !important;
    }
}

/*BRANDS PAGE: MAIN BANNER CONTAINER*/
@media (min-width: 900px) {
    .brands-single .page-header {
        height: 22rem !important;
    }
}

/*BRANDS PAGE: MAIN PRODUCTS SLIDER*/
@media (min-width: 900px) {
    .brands-single .s-products-list-wrapper {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }
}

/*BRANDS SECTION: MAIN LOGO SLIDER*/
@media (min-width: 900px) {
    .s-block--brands .animate-infinite-scroll {
        animation: infinite-scroll 80s linear infinite !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS*/
@media (min-width: 900px) {
    .product-single .product-static-info {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 27.5rem !important;
        border: none !important;
        padding: 0 !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO*/
@media (min-width: 900px) {
    .product-single .product-static-info__item {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        border: 1px #dddddd solid !important;
        padding: 0.7rem !important;
        border-radius: 5px !important;
        transition: 0.5s !important;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO*/
@media (min-width: 900px) {
    .product-single .product-static-info__item:hover {
        transform: scale(0.9);
        box-shadow: -2px 2px 0px 0px rgb(0 0 0 / 6%);
        border: none;
    }
}

/*PRODUCT PAGE: EXTRA INFO WITH LOGOS: SINGLE INFO: TEXT*/
@media (min-width: 900px) {
    .product-single .product-static-info__item span {
        font-size: 0.7rem !important;
        padding-top: 0.15rem !important;
    }
}

/*PRODUCT PAGE: PRODUCTS MAYBE YOU LOVE*/
@media (min-width: 900px) {
    .product-single #similar-slider .slide--one-fifth {
        width: 17% !important;
    }
}

/*PRODUCT PAGE: PRICE*/
@media (min-width: 900px) {
    .product-single .regular-or-normal-price {
        font-size: 1.5rem !important;
    }
}

/*--------------------MEDIA QUERY---------------------*/
.product-single .product-details-col [class="flex whitespace-nowrap gap-2.5 items-center mb-5"] {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.product-single .product-details-col [class="flex whitespace-nowrap gap-2.5 items-center mb-5"] h4 {
    font-size: 1.5rem !important;
}

.product-single .product-details-col [class="flex whitespace-nowrap gap-2.5 items-center mb-5"] span {
    font-size: 1rem !important;
    
    
/*----------------------------------------------------*/