/* Add custom CSS styles below */ 
:root {
    --fontColor: #000;
    --bodyColor: #f4f4f4;
    /* --bodyColor: linear-gradient(to right, #0e3f83, #001864); */
    /* --navBgColor: linear-gradient(to right, #6cceff, #0b344b); */
    --navBgColor: #872b87;
    --navFontColor: #fff;
    --btnHoverColor: #FFF;
    --btnHoverFontColor: #000;
    /* --cartBg: linear-gradient(to right, #4f8ac4, #305477); */
    /* --cardfontColor: linear-gradient(to right, #612d3e, #662e40); */
    --searchInputBg: #ddd;
    --searchInputColor: #000;
}

.main-nav-container {
    min-height: 100%;
}

body {
    background: var(--bodyColor);
    /* background-image: url("https://cdn.salla.sa/form-builder/NvqWIH3iHGpjlvev27T1fBkZGty3gtDQXF6NKMzx.png"); */
}

body:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background: linear-gradient(353deg, rgba(210, 0, 98, 1) 10%, rgba(199, 230, 253, 1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background:
        url(https://cdn.salla.sa/PdwYoz/KWh5muLwXnB7RT04iEbparFPZZvUOPtipAUqvhQN.png);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 360px;
    animation-name: fade-in;
    animation-duration: 0.6s;
    transform: scale(0);
    border: none;
}

@keyframes fade-in {
    0% {
        opacity: 1;
        transform: scale(1)
    }

    75% {
        opacity: 1;
        transform: scale(1)
    }

    85% {
        opacity: .5;
        transform: scale(1)
    }

    99% {
        opacity: .1;
        transform: scale(1)
    }

    100% {
        opacity: 0;
        transform: scale(.1)
    }
}

header {
    position: relative;
    z-index: 1000;
}

/* nav bar    */
#mainnav .inner {
    background: var(--navBgColor);
    color: var(--navFontColor);
    border-top: 1px solid var(--cardfontColor);
    box-shadow: 0 10px 20px #000 !important;
    /* Amazing bottom shadow */
}

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

/* @media only screen and (max-width: 1024px) {
    #mobile-menu {
        color: #fff;
        background: #000;
    }
} */


/* 
.navbar-brand img{
    border-radius: 50%;
    background-color: var(--btnHoverColor);
  } */


/* تحريك اللوجو  */
#mainnav .navbar-brand {
    position: relative;
background: var(--navFontColor);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
padding: 20px;
    animation: bounce 3.5s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.navbar-brand:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    /* Glowing effect */
}

@keyframes bounce {

    0%,
    50%,
    100% {
        transform: translate(0) scale(.8);
    }

    25% {
        transform: translate(-10px, -10px) scale(1);
    }

    75% {
        transform: translate(10px, -10px) scale(1);
    }

}

.header-btn__icon {
    color: var(--navFontColor)
}

/* 
.main-menu {
    padding-top: 0;
}

@media only screen and (min-width: 1024px) {
    .main-menu {
        padding-top: 0;
    }

    .main-menu li.root-level>a {
        padding-top: 25px;
        padding-bottom: 25px;
        min-width: 90px !important;
        text-align: center;
        display: inline-block;
        transition: all .2s ease-in-out;
    }

    .main-menu li>a:hover {
        border-radius: 35px 2px;
        background-color: var(--btnHoverColor);
        color: var(--btnHoverFontColor);
    }

    .main-nav-container {
        min-height: fit-content !important;
    }
}

.main-nav-container {
    min-height: fit-content !important;
} */

/* search input */
.top-navbar .s-search-input {

    border-style: none;
    border: 2px solid #000;
    color: #000 !important;
    background: #ddd;
}


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

/* first section   */

/* all sectiopn container has panner child  */

/* only first section  */
header+section .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

header+section {
    margin-top: 0 !important;
}

@media (min-width: 640px) {
    header+section {
        margin-top: 0 !important;
    }
}

@media only screen and (min-width: 1024px) {
    section>.container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* تواصل معنا اخفائها  */
.top-navbar .s-contacts {
    visibility: hidden;
}

/* كارت المنتجات طول الاسم  */
.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* -------------------------------------- */
/* خلفية الكروت 
.s-product-card-entry {
    background: var(--cartBg);
    color: var(--cardfontColor)
}

.s-product-card-content-title a {
    color: var(--cardfontColor)
}

/* button in cart  */
/* .s-product-card-content-footer .s-button-element {
    background-color: #fff5f5;
    color: #000
}

.s-product-card-content-footer .s-button-element:hover {
    color: var(--btnHoverFontColor);
    background-color: var(--btnHoverColor);
} */
*/

/* ------------------------------------------------- */
.banner img {
    background-color: transparent !important;
}

@media only screen and (min-width: 1024px) {
    .banner-entry {
        min-height: 250px !important;
    }
}

/* ------------------------------ */
/* // بانر متحرك */
/* Ticker Wrapper */
.ticker-wrapper {
    width: 100%;
    background-color: var(--navBgColor);
    color: var(--navFontColor);
    overflow: hidden;
    padding: 10px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    /* Ensure it appears above other elements */
    position: relative;
}

/* Ticker */
.ticker {
    display: flex;
    width: 100%;
    animation: tickerScroll 25s linear ;
    animation-fill-mode: forwards;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 30px;
    font-size: 1.2em;
    font-family: Arial, sans-serif;
}

/* Adjust font size for smaller screens */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 1em;
        padding: 0 20px;
    }
}

/* Keyframes */
@keyframes tickerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}



/* كروت التصنيفات  */
@media (max-width: 768px) {
    section .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        align-items: center;
    }

    .lazy__bg {
        background-size: contain !important;
        background-repeat: no-repeat;
    }
}

.lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
}

@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-column: span 1 / span 1;
        grid-row: span 1 / span 1;
    }

    section .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        align-items: center;
    }
}


#welcomePopup img {
    margin: 0 !important;
}

.banner img {
    background: transparent;
}

/* // ازالة خلفية كروت التصنيفات */
section .grid a {
    background-color: transparent !important;
    ;
}

/* ---------- */
.store-footer {
    margin-top: 0;
}

/* عشان لو اسم المنتج طويل نقصو */
.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.swiper-wrapper {
    padding-bottom: 30px;
}

/* مميزات المتجر  سكشن */
.app-inner section:nth-last-of-type(2) .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

}

.app-inner section:nth-last-of-type(2) .grid .s-block--features__item:first-child {
    grid-column: span 1 / span 1 !important;
}


.s-product-card-entry {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: .1s ease-in-out;
    margin: 10px 0;
    border: 2px solid #d4b278;
}

@media (max-width: 992px) {
    .s-product-card-entry {
        height: 380px;
    }
}

.s-button-element {
    background-color: var(--navBgColor);
    color: var(--navFontColor);
}

/* footer (برمجة وتطوير أدفاذ) */



.store-footer__inner {
    position: relative;
    padding: 80px 0 0;
}

.store-footer__inner::before {
    content: "";
    background-image: url("https://cdn.salla.sa/PdwYoz/KWh5muLwXnB7RT04iEbparFPZZvUOPtipAUqvhQN.png");
    background-size: contain;
    background-repeat: no-repeat;
    top: 20px;
    position: absolute;
    left: calc(100% - 110px);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

.store-footer__inner>.container>div:first-child>a {

    visibility: hidden;
}

@media only screen and (max-width: 1024px) {
    .store-footer__inner::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .store-footer__inner {
        text-align: center;
    }

    .store-footer__inner .s-contacts-item {
        display: flex;
        justify-content: center;
    }
}


.text-center::before {
    content: "برمجه وتطوير ADFAZ";
    display: block;
    text-align: center;
    padding: 10px;
    color: #5a2a94;
    font-size: 1.2rem;
}

.s-menu-topnav-list {
    color: #000;
}

.s-product-card-wishlist-btn .s-button-text {
    color: tomato;
}

.s-product-card-wishlist-btn:hover {
    background: tomato;
}

.s-product-card-wishlist-btn:hover .s-button-text {
    color: #fff;
}


/* الاضافة الى السلة فى صفحة المنتج  */
@media (max-width: 640px) {
    .is-sticky-product-bar .sticky-product-bar {
        position: relative;
        bottom: 0px;
        left: 0px;
    }
}

/* if the body bg is dark  */
/* .s-cart-summary-total ,.s-slider-block__title , #page-main-title,.s-breadcrumb-wrapper,.main-content,.main-content h1{
    color: #fff !important;
  } */
/* ---------------- */


/* delete phone number not whatsapp */
.s-contacts-list #contact-slot:last-child {
    display: none;
}
main-menu li::after {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--navFontColor);
    /* اللون الأساسي للخط */
}

.main-nav-container.fixed-pinned .main-menu>li>a {
    padding-top: 20px;
    padding-bottom: 20px;
    background: transparent;
}

.main-menu li {
    position: relative;
}

/* البليه اللى تحت فى الهوفر */
.main-menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* يبدأ من اليمين */
    width: 10px;
    /* حجم الضوء الدائري */
    height: 10px;
    background: var(--navFontColor);
    /* لون الضوء */
    border-radius: 50%;
    /* يجعل الضوء دائريًا */
    box-shadow: 0 0 15px var(--btnHoverColor), 0 0 30px var(--btnHoverColor);
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.1s ease;
    /* تقليل الزمن لجعل الشفافية أسرع */
}

.main-menu li:hover::before {
    opacity: 1;
    animation: move-light-left 0.4s linear forwards;
    right: auto
}

.main-menu li:hover a span {
    text-shadow: 3px 3px 5px #AE445A;
}


@keyframes move-light-left {
    0% {
        transform: translate(-50%, -50%);
        left: 0%
    }

    100% {
        transform: translate(-50%, -50%);
        left: 50%
    }
}


.main-menu {
    position: relative;
    padding-bottom: 10px;
}

/*الخط اللى تحت */
.main-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--navFontColor);
    /* اللون الأساسي للخط */
}

.main-menu::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    /* يبدأ من اليمين */
    width: 10px;
    /* حجم الضوء الدائري */
    height: 10px;
    background: green;
    /* لون الضوء */
    border-radius: 50%;
    /* يجعل الضوء دائريًا */
    box-shadow: 0 0 15px green, 0 0 30px green;
    opacity: 0;
    transform: translateX(0);
    transition: opacity .1s ease;
    /* تقليل الزمن لجعل الشفافية أسرع */
}