/* --- Preorder --- */
/* - Home Page - */
.s-product-card-content-footer salla-button span > span{
    position: relative;
    color: transparent;
}

.s-product-card-content-footer salla-button span > span::after{
    content: "طلب مسبق";
    position: absolute;
    inset: 0;
    color: var(--color-primary-reverse);
    margin-top: 2px;
}

/* - Product Page - */
.s-add-product-button-mini-checkout-content{
    position: relative;
    color: transparent;
}

.s-add-product-button-mini-checkout-content svg{
    color: var(--color-primary);
}

.s-add-product-button-mini-checkout-content::after{
    content: "طلب مسبق";
    position: absolute;
    left: -5px;
    color: var(--color-primary);
}
/* ------------------------------------------------- */

/* --- Design --- */
.s-comments,
body {
    background: #010318 !important;
    color: #ffffff;
}

/**********header & hero*****************/
.top-navbar, .main-nav-container {
    background: rgba(1, 3, 24, 0.15) !important;
    box-shadow: none !important;
}

/* Target cart and profile buttons */
.header-btn__icon,
.top-navbar salla-user-menu,
.top-navbar a[href*="profile"],
.top-navbar a[href*="login"] {
    border: none;
    border-radius: 7px;
    color: var(--color-primary-reverse) !important;
    background: var(--color-primary) !important;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Force icon color for both */
.header-btn__icon svg,
.header-btn__icon i,
.top-navbar salla-user-menu svg,
.top-navbar salla-user-menu i,
.top-navbar a[href*="profile"] svg,
.top-navbar a[href*="login"] svg {
    color: var(--color-primary-reverse) !important;
    fill: var(--color-primary-reverse) !important;
}

/* Hide the search bar */
.top-navbar .s-search-input,
.top-navbar .search-container,
.top-navbar form {
    display: none !important;
}

/* Force language switcher positioning */
.top-navbar .language-switcher {
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 99;
}

/* Remove banner edge padding completely */
.s-block--fixed-banner .container {
    padding-right: 0px !important;
    padding-left: 0px !important;
    max-width: 100% !important;
    width: 100% !important;
}

.s-block--fixed-banner {
    padding: 0 !important;
    margin: 0 !important;
}

.banner--fixed img{
  border-radius:0px !important;
  width: 100%;
}

/**********product******************/
.s-product-card-horizontal{
    box-shadow: 0px 5px 15px 0px rgba(45,22,1,0.2);
    border: 2px solid transparent;
    transition: 0.3s ease;
}

.s-product-card-horizontal:hover{
    border: 2px solid #aaaaaa;
}

.s-product-card-promotion-title{
    background: rgba(43,45,52,0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.s-button-btn{
    color: var(--color-primary-reverse);
    background: var(--color-primary);
    border:none;
    border-radius: 7px;
}

.s-block__title h2 {
    padding: 5px 12px;
    border-right: 7px solid var(--color-primary);
    color: var(--color-primary);
}

/***************items feature**********/
.s-block--features__item .feature-icon {
    width: auto;
    height: auto;
    padding: 20px;
    aspect-ratio: 1;
    border-radius: 15px;
    transition:0.3s ease;
}

.s-block--features__item:hover .feature-icon{
    box-shadow: 0px 5px 25px 0px rgba(45,22,1,0.3);
}

.s-block--features__item h2 {
    font-size: 18px;
    margin-top: 10px;
}

.s-block--features__item{
    border-radius: 9px;
}

/************start footer************/
.store-footer {
    background: #010318 !important;
}

.store-footer .store-footer__inner {
    background: #010318 !important;
}

.store-footer h3 {
    margin-bottom: 1.25rem;
    padding: 4px 20px;
    background: var(--color-primary); 
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
}

.store-footer *,
.store-footer .md\:flex p,
.store-footer .md\:flex a {
  color: #ffffff !important;
}

/**********media query************/
@media(max-width:768px){
    .store-footer h3{
        width:100% !important;
    }
    
    .s-block--fixed-banner{
        margin-top: 0;
    }
    
    .top-navbar .language-switcher {
        top: 10px;
    }
}