/* Add custom CSS styles below */ 
body.index {
    background: #161831 !important;
}

:root {
    /* ✅ Gradient Blue (مثل الصورة) */
    --main-color: linear-gradient(
        135deg,
        #05070c 0%,
        #071826 35%,
        #0b3a4f 65%,
        #2bb4e6 100%
    );

    --white-color: #fff;
    --second-color: #05070c; /* ✅ مضاف لتفادي خطأ المتغير */
    --normal-box-shadow: rgb(0,0,0,0.3) 1px 2px 3px;
}

div#mainnav, .inner.bg-inherit {
    background: #fff;
    box-shadow: none;
}

.main-menu li.root-level>a {
    font-size: 15px;
}

i.sicon-menu {
    padding: 8px;
    border-radius: 50px;
}

i.header-btn__icon.sicon-user-circle, i.header-btn__icon.icon.sicon-shopping-bag, i.sicon-menu {
    color: var(--white-color) !important;
    background: var(--main-color) !important;
    border: 0;
}

.top-navbar {
    background: var(--main-color) !important;
    color: var(--white-color);
}

.top-navbar .s-search-input {
    border: 1px solid var(--white-color);
}

section.s-block.s-block--fixed-banner.wide-placeholder {
    margin-top: 0;
}

section.s-block.s-block--fixed-banner.wide-placeholder > .container {
    padding: 0px !important;
    width: 100% !important;
    max-width: unset;
}

.banner--fixed img {
    background: transparent;
    border-radius: 0px !important;
}

.s-product-card-entry * {
    text-align: center;
    justify-content: center;
}


section.s-block.container:has(.s-product-card-entry) {
    margin: 0;
    padding: 0;
    max-width: 100%;
    background-image: url(https://i.ibb.co/v9w3Npn/2.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.s-product-card-entry {
    border: none;
    border-radius: 15px !important;
    box-shadow: var(--normal-box-shadow);
    overflow: hidden;
}

button.s-button-btn.s-button-outline.s-button-primary-outline {
    border: 0;
    border-radius: 10px;
    box-shadow: var(--normal-box-shadow);
}

button.s-button-btn.s-button-outline.s-button-primary-outline {
    background: var(--main-color);
    color: var(--white-color);
}

.s-product-card-content {
    padding: 12px;
}
body.index .s-block__title {
    justify-content: center;
    margin: 0 0 4rem 0;
}
body.index .s-block__title .right-side {
    padding: 0 !important;
}
body.index .s-block__title h2 {
    color: white;
    padding: 0 !important;
    margin-right: 0 !important;
    font-size: 23px;
}
.s-block__title h2, .main-menu li.root-level>a {
    position: relative;

}

.main-nav-container.fixed-pinned .inner {
    padding: 15px;
    border-radius: 0 0 50px 50px;
    box-shadow: var(--normal-box-shadow);
}

.s-product-card-image img {
    background: #fff;
}

footer.store-footer {
    background: var(--main-color) !important;

}

.store-footer__inner {
    border-radius: 0;
    padding-top: 3rem;
    background: var(--white-color) !important;

}
.store-footer__inner > .container > div:first-child  {
        position: relative;
}
.store-footer__inner > .container > div:first-child h3{
    opacity: 0;
}
.store-footer__inner > .container > div:first-child:before {
    position: absolute;
    content: '';
    width: 150px;
    height: 150px;
    background-image: url(https://i.ibb.co/Xvs9psF/logo-black.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: -60px;
    right:0;
}


@media (max-width: 992px) {
    .store-footer__inner * {
        text-align: center;
        justify-content: center;
    }
    body.index .s-block__title {
    margin: 0 0 1rem 0;
}

section.s-block.container:has(.s-product-card-entry) {

    background-size: cover;

}

}


.s-social-link a {
    color: var(--white-color);
    border: 0;
    transition: all .5s;
}

.s-social-link a:hover {
    transform: translateY(-10px);
    transition: all .5s;
}

a[href*="instagram"] {
    background: -o-linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

a[href*="tiktok"] {
    background: -o-linear-gradient(330deg, #69c9d0, #000, #ee1d52);
    background: linear-gradient(120deg, #69c9d0, #000, #ee1d52);
}

a[href*="facebook"] {
    background: -o-linear-gradient(45deg, #3776f2, #00b1f7);
    background: linear-gradient(45deg, #3776f2, #00b1f7);
}

a[href*="youtube"] {
    background: #c4302b;
}
a[href*="snapchat"] {
    background: yellow;
    color: black;
}
a[href="https://twitter.com/bahriatna1"] {
    background: black;
}

.s-contacts-icon {
    border: 0;
    background: var(--white-color);
    color: var(--second-color);
}  

.navbar-brand img {
    max-height: 5rem !important;
}

.copyright-text p {
    color: var(--white-color);
}

salla-mini-checkout-widget.s-add-product-button-mini-checkout.s-mini-checkout {
    background: #4caf50 ;
    border-radius: 10px;
}

salla-mini-checkout-widget.s-add-product-button-mini-checkout.s-mini-checkout * {
    color: white;
}

section.s-block.s-block--banners.container .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two-row .banner-entry:first-child {
    grid-row: span 1 / span 1 !important;
}

section.s-block.s-block--banners.container .grid a.banner-entry.square-photos {
    background: transparent !important;
    height: 350px !important;
}
section.s-block.s-block--banners.container .grid a.banner-entry.square-photos > div {
    background-size: contain !important;
    background-repeat: no-repeat;
}
@media(max-width: 992px) {
section.s-block.s-block--banners.container .grid {
    gap: 5px !important;
}
   section.s-block.s-block--banners.container .grid a.banner-entry.square-photos {
    height: 115px !important;
}
nav#mobile-menu {
    background: var(--main-color);
    color: white !important;
}

}

/***
body.index:before {
    content: "";
    width: 100%;
    height: 100%;
    background: transparent url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/aeajEl/LuZmTVsBsEuDstBUKSx6Px687BIIXkk1LLYmqS9C.png);
    position: fixed;
    backdrop-filter: blur(30px);
    z-index: 99999999999999999!important;
    transform: scale(0);
    background-size: 200px!important;
    background-repeat: no-repeat;
    background-position: center!important;
    animation-name: logobg;
    animation-duration: 2.5s
}

@keyframes logobg {
    0% {
        transform: scale(1)
    }

    20% {
        transform: scale(1)
    }

    78% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}***/

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(6) > div > div > h2 {
    opacity: 0;
}

@media(max-width: 992px) {
.store-footer__inner > .container > div:first-child:before {
    width: 110px;
    height: 97px;
    top: -46px;
    right: 50%;
    pointer-events: none;
    padding: 1rem;
    transform: translateX(50%);
}
}

section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
    margin: 0;
    padding: 0;
    width: 100%;
    border-radius: 0 !important;
}

section.s-block.s-block--photos-slider {margin-top: 0 !important;}

salla-slider.photos-slider .swiper {
    padding: 0;
}

section.s-block.s-block--photos-slider img.w-full.object-contain.rounded-md {border-radius: 0;}

@media (min-width: 1024px) {
    body.index .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: center;
}
}
body.index .s-products-list-wrapper.s-products-list-vertical-cards {
    padding-inline: 10px;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--main-color) !important;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 27px;
    cursor: pointer;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.popup-content {
    margin: 20px 0;
}

.popup-text {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-container .whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.popup-container .whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.popup-container .whatsapp-icon {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translate(-50%, -40%); opacity: 0; }
    to   { transform: translate(-50%, -50%); opacity: 1; }
}

.product-single .s-reviews-container:first-of-type {
    display: none;
}

.s-products-slider-card.swiper-slide {
    padding-block: 1rem;
}
.index .s-reviews-header {
    color: white;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  animation: pulse 1.5s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 35px;
  height: 35px;
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 109px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-button img {
    width: 30px;
    height: 30px;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
/* ============ End WhatsApp Button ============ */