/* === Popup Container === */
.national-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
}

/* === Popup Box === */
.national-popup .popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  width: 90%;
  max-width: 420px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  border: 4px solid #008445; /* أخضر اليوم الوطني */
  animation: popIn .6s ease;
}

/* Close button */
.national-popup .close-btn {
  position: absolute;
  top: 10px; left: 10px;
  background: #008445;
  color: #fff;
  border: none;
  font-size: 18px;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  transition: 0.3s;
}
.national-popup .close-btn:hover { background:#FFAD14; }

/* Title */
.national-popup h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #008445;
  font-weight: 800;
}

/* Offer list */
.national-popup ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  text-align: right;
}
.national-popup ul li {
  margin: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: #004472;
  position: relative;
  padding-right: 20px;
}
.national-popup ul li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: #FFAD14;
}

/* Footer note */
.national-popup p {
  font-size: 14px;
  font-weight: 600;
  color: #008445;
  margin-top: 10px;
}

/* Animation */
@keyframes popIn {
  0% { transform: scale(0.8); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}


/* إخفاء الصورة القديمة إن وُجدت */
.flex.justify-center.items-start img {
  display: none !important;
}

/* تنسيق حاوية السلة الفارغة */
.flex.justify-center.items-start {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: #fff9f5;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

/* أيقونة السلة */
.flex.justify-center.items-start::before {
  content: "";
  font-size: 60px;
  display: block;
  margin-bottom: 15px;
}

/* النص باللهجة السعودية */


.flex.justify-center.items-start::after {
  content: "السلة لا تزال فاضية، تقدر تتصفح المتجر وتضيف اللي يعجبك 😉";
  display: block;
  font-size: 20px;
  font-family: 'Tajawal', sans-serif;
  color: #6d4c41;
  margin-bottom: 20px;
  max-width: 320px;
  line-height: 1.8;
}

.custom-cart-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #5d4037; /* بني */
  color: #fff;
  font-size: 16px;
  font-family: 'Tajawal', sans-serif;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 20px;
  text-decoration: none;
}

.custom-cart-button:hover {
  background-color: #3e2723;
  color: #fff;
}


/* تأثير Hover */
.flex.justify-center.items-start:hover::before {
  background-color: #3e2723;
}



.app-inner {
  background-color: #F2F2F2;
}
/* Header */
body.index #mainnav:not(#mainnav.fixed-header) * {
  color: #000 !important;
}
body.index #mainnav:not(#mainnav.fixed-header) .sub-menu * {
  color: var(--color-primary) !important;
}
.navbar-brand img {
    max-height: 6rem;
}


/* Landing-page */
.landing-page-0 h1 {
    margin: 0;
}
.landing-page-0 .text-center {
    margin-top: 5%;
    padding: 2.5rem 0;
    border-radius: 20px;
    text-align: right;
}
.landing-page-0 .text-center button {
  color: #fff;
}
.landing-page-0 > div > div > div {
  margin: -5% 5% 0px auto;
}
.landing-page-0 .text-center button:hover span, .landing-page-0 .text-center button:hover i {
    color: #000;
}
.landing-page-0 p {
    opacity: 1;
    font-weight: 400;
    margin-right: 0 !important;
    max-width: 100%;
}
@media (min-width: 992px) {
  .landing-page-0 h1 {
    font-size: 52px !important;
    line-height: 3.8rem;
  }
  .landing-page-0 p {
    font-size: 36px !important;
    line-height: 4.0rem;
    margin: 2% auto;
  }
  .landing-page-0 > div.head_img {
    height: 100vh !important;
  }
    .landing-page-0 .text-center button {
        width: 55%;
        height: 3.6rem;
    }
    
}
@media (max-width: 992px) {
    .landing-page-0 > div > div > div {
        max-width: 100%;
        margin: auto;
        margin-top: 0%;
    }
    .landing-page-0 .text-center {
        margin-top: 45%;
        text-align: center;
        background-color: #ffffff99;
        width: fit-content;
        padding: 3rem 4rem;
    }
    .landing-page-0 h1 {
        font-size: 46px !important;
    }
    .landing-page-0 p {
        font-size: 32px !important;
        margin: 5% 0;
    }
}
@media (max-width: 768px) {
    .landing-page-0 .text-center {
        margin-top: 35%;
    }
}
@media (max-width: 576px) {
    .landing-page-0 .text-center {
        position: absolute;
        bottom: 0;
        padding: 3rem 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100% !important;
    }
    .landing-page-0 h1 {
        font-size: 36px !important;
    }
    .landing-page-0 p {
        font-size: 20px !important;
        max-width: 95%;
    }
}


/* CATS */
.categories ul {
    justify-content: center;
    gap: 7%;
}
.categories ul li:first-child img {
    max-width: 95%;
}
.categories ul li {
    margin-top: 5%;
}
.categories a {
    text-wrap: nowrap;
}



/* products */
.s-block--best-offers {
    margin-bottom: 4%;
}
@media (max-width: 992px) {
    .s-block--best-offers {
        margin-bottom: 10%;
    }
}


/* Offers */
.furnitur_offer {margin-top: 5%;}
.furnitur_offer .s-count-down-wrapper .s-count-down-list .s-count-down-item .s-count-down-item-value {
	background: unset;
	border: 1px solid var(--color-primary);
}
.furnitur_offer * {
    color: #fff !important;
    border-color: #fff !important;
}
.not-show .product-name {
    max-width: 90%;
}
@media (min-width: 1024px) {
    .swiper-slide-visible.swiper-slide-active salla-add-product-button {
        width: 50%;
        margin-top: 4%;
    }
    .swiper-slide-visible.swiper-slide-active a {
        width: 50%;
    }
}


.rooms h1 {
    color: #fff;
}



/* Edit Product Page Start */
.s-add-product-button-main {
  display: flex;
  width: 100% !important;
  gap: 0.625rem;
}
.s-add-product-button-main .s-add-product-button-mini-checkout,
.s-add-product-button-main>salla-button {
  width: 50% !important;
}
.s-add-product-button-mini-checkout-content {
  direction: rtl;
  display: flex;
}
.s-add-product-button-main .s-add-product-button-mini-checkout span svg {
  margin-right: 0;
  margin-left: .375rem;
  width: 1rem;
  position: relative;
  top: -3px;
}
salla-add-product-button salla-button.s-button-wrap.hydrated>button {
  padding: 8px;
}
.singleP salla-button button.s-button-element.s-button-btn.s-button-primary.s-button-loader-center {
    padding: 9px;
}
.s-add-product-button-main .s-add-product-button-mini-checkout path {
  stroke: #e0969f;
  fill:Â #e0969f;
}



/* Fixed Banner Img */
.fixed-banner-img .relative .absolute {
    left: 0;
    width: 100%;
    margin-top: 3%;
}
.fixed-banner-img .container > .relative > div * {
    color: #fff !important;
    border-color: #fff;
}
.fixed-banner-img {
    margin-top: 5%;
}


/* Img Banner Text */
.img-banner-text > div > div:first-child {
    justify-content: center;
}



/* Features */
.features {
    margin-top: 5%;
}


/* Media */
.media .shape * {
    color: #fff;
}
.media > div {
  background-color: var(--color-primary);
}


/* Footer */
.store-footer > .relative * {
    color: #fff !important;
}
.store-footer .email_button {
    color: var(--color-primary) !important;
}
#mc-embedded-subscribe {
    background: #fff;
    color: var(--color-primary) !important;
}
#mc-embedded-subscribe:hover {
    opacity: 0.7;
}
.footer-is-light .store-footer .store-footer__inner {
    background-color: #ECECEC !important;
}
/*
.store-footer > div:first-child {
    background-color: var(--color-primary) !important;
}
*/
.store-footer .s-contacts-list.s-contacts-list-vertical {
    align-items: center;
}
.outline-none {
    border: none;
}
.fixed-banner-img .relative .absolute {
    left: 0;
    width: 100%;
    margin-top: 3%;
    top: unset;
    bottom: 20%;
}
.s-products-slider-card.swiper-slide {
    padding: 0px !important;
}

 #discount-bar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
}
.product-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-radius: 0 0 12px 12px;
  font-family: 'Helvetica Neue', sans-serif;
  transition: background 0.3s ease;
}

.product-options:hover {
  background: #f9f9f9;
}

.product-options .wishlist-icon {
  color: #999;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.product-options .wishlist-icon:hover {
  color: #ff4d4f;
}

.product-options .action-button {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.product-options .action-button:hover {
  background-color: #333;
}
/* استهداف مباشر ودقيق للزر وأيقونة المفضلة داخل كرت المنتج */
custom-salla-product-card .s-product-card-entry .s-product-card-content-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  font-family: 'Cairo', sans-serif;
  transition: background 0.3s ease-in-out;
}

custom-salla-product-card .s-product-card-entry:hover .s-product-card-content-footer {
  background-color: #f9f9f9 !important;
}

/* المفضلة */
custom-salla-product-card .s-product-card-content-footer .s-button-icon {
  color: #aaa;
  font-size: 20px;
  transition: color 0.3s ease;
}

custom-salla-product-card .s-product-card-content-footer .s-button-icon:hover {
  color: #e60023;
}

/* زر خيارات المنتج */
custom-salla-product-card .s-product-card-content-footer .s-button:not(.s-button-icon) {
  background-color: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.3s;
  border: none;
}

custom-salla-product-card .s-product-card-content-footer .s-button:not(.s-button-icon):hover {
  background-color: #333;
}





.s-product-card-entry .s-product-card-content-footer {
  border-top: none;
  border-bottom: none;
}





a[href*="wa.me"] {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}
a[href*="wa.me"] span {
  display: none !important;
}
a[href*="wa.me"] img {
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}




.s-button-element.s-button-btn {
  background: linear-gradient(135deg, #FF7E5F, #FEB47B);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}
.s-button-element.s-button-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-45deg);
  transition: left 0.5s;
}
.s-button-element.s-button-btn:hover::before {
  left: 200%;
}
.s-button-element.s-button-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
}



.s-product-card-vertical .s-product-card-content {
 padding: 0;
}



@media (min-width: 640px) {
  .s-product-card-content {
    padding: 1.25rem;
  }
}
.custom-empty-cart-message {
  text-align: center;
  margin-top: 30px;
  color: #333;
}

.custom-empty-cart-message h2 {
  font-size: 28px;
  color: #2b3a67;
  margin-bottom: 10px;
}

.custom-empty-cart-message p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.btn-back-to-shop {
  display: inline-block;
  background: #4aa3df;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-back-to-shop:hover {
  background: #2b3a67;
}