:root {
    --logo: url();
    --bg: #fff;
    --bg-img: url();
    --header-bg: #fff;
    --header-color: #000;
    --feat-bg: #fff;
    --feat-color: #000;
    --footer-bg: #1E1210;
}

body {
    background-color: var(--bg) !important;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}

.app-inner {
  background-image: var(--bg-img) !important;
  background-size: cover !important;   
  background-repeat: no-repeat !important;
  background-position: center bottom;
}
.topnav-is-dark .top-navbar {
    background-color: var(--color-primary);
}

/* Floating Navbar */
.header-search{padding:12px;order:-1;display:flex;align-items:center;width:100%}
salla-search{width:100%}
.main-nav-container .inner .container>div:first-child{flex-wrap:wrap!important}
.main-nav-container .inner .container>div:first-child>div:first-child{order:-1}
@media(max-width:768px){.header-search{order:2!important}}
.navbar-brand img {
    max-height: 5rem;
    max-width: 100px;
}

.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 70px;
}
/* Carousel */


.s-block:nth-of-type(1) {
    margin-top: 0 !important;
}

.s-block--photos-slider .s-slider-block__title-nav {
    display: none !important;
}

.s-block--photos-slider * {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.s-block--photos-slider .swiper-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}


/* Categories */

.s-block--banners .grid {
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}
.s-block--banners .lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
}
.s-block--banners .banner-entry {
    height: 300px;
}
@media (max-width: 992px) {
    .s-block--banners .banner-entry {
        height: 200px;
    }
}
@media (max-width: 480px) {
    .s-block--banners .banner-entry {
        height: 100px;
    }
}
@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-row: span 1 / span 1;
    }
}

@media (min-width: 768px) {
    .square-photos-grid--featured-3, .square-photos-grid--featured-5 {
        grid-auto-rows: unset;
    }
   .square-photos-grid--featured-3>.banner-entry:first-child, .square-photos-grid--featured-5>.banner-entry:first-child {
        grid-row: unset;
    }
}

.s-block--categories .swiper-slide a{border:none!important}
.s-block--categories .swiper-slide img{width:13rem;height:13rem}
.s-block--categories .swiper-wrapper{padding:3rem;justify-content:center}
.banner-entry.square-photos{background:transparent!important}
@media (max-width: 767px) {
    .s-block--categories .swiper-wrapper {
        justify-content: right; 
    }
}

/* Transparent Banner */
.banner-entry,
.banner--fixed img {
    background-color: transparent !important;
}

/* Products */
@media (min-width: 640px) {
    .s-product-card-content {
        padding: 1.25rem 0.5rem;
    }
}

@media (min-width: 992px) {
  .s-product-card-content {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .s-product-card-content-main {
    width: 100% !important;
  }

  .s-product-card-content-footer {
    width: 65% !important;
  }

  .s-product-card-content-sub {
    width: 30% !important;
    order: 3;
  }
  .s-product-card-content-sub {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .s-product-card-vertical
    .s-product-card-wishlist-btn:where([dir="rtl"], [dir="rtl"] *) {
    right: 0.5rem;
    left: auto !important;
  }
}

.s-product-card-entry {
    background-color: transparent !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(0,0,0,0.1);
}
.s-product-card-image {
    background-color: transparent !important;
}
.s-product-card-entry:hover img {
    scale: 1.2;
}
.s-product-card-entry img {
    transition: all 0.3s;
}
.slider-bannars-moving h2,
.s-product-card-content-title {
    text-align: center !important;
}
.s-product-card-content-sub {
    justify-content: center;
    flex-direction: column-reverse;
}
.s-product-card-content-title a {
    color: #000 !important;
}
body:not(body.product-single)
    .s-button-element:not(.s-product-card-wishlist-btn) {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 0.5rem;
}
.s-product-card-vertical .s-product-card-wishlist-btn button:hover {
    background-color: var(--color-primary) !important;
}
.s-product-card-vertical
    .s-product-card-wishlist-btn
    button:hover
    .sicon-heart {
    color: #fff !important;
}
@media (max-width: 600px) {
    .s-products-slider-card {
        width: 55%;
    }
}



/* Features */

.s-block--features__item .feature-icon,
.s-block--features__item {
    background-color: transparent;
}

.s-block--features__item .feature-icon i {
    color: var(--feat-color) !important;
}

.s-block--features__item .feature-icon, .s-block--features__item {
    background-color: transparent;
}

section.s-block.s-block--features.container {
    background: #F7F3EE;
}

/* Footer */

.store-footer,
.store-footer__inner {
    background-color: #423732 !important;
}

.store-footer{margin:0!important}
.store-footer,.store-footer p,.store-footer h3,.store-footer a{color:#fff !important}

footer a.flex.items-center.m-0 h3{
  font-size: 0 !important
}

footer a.flex.items-center.m-0 h3:after{
  
content: url(https://i.ibb.co/yBQR9pX0/5qkd-B3w911-Rlp7g9-Rtql-AYlk-ZIvj-Kn-CJi-STx6u-Gq-1.png)
}

@media (min-width: 1024px) {
    footer .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.copyright-text p {
    color: #fff !important;
}


@media (max-width: 769px) {
    footer * {
        margin: 0 auto;
        text-align: center;
    }
}

.s-reviews-header-wrapper {
    display: flex;
    justify-content: center;
}

/* Special Heading */
section.s-block--categories .s-slider-block__title{
  justify-content: center;
}
section.s-block--categories..s-slider-block__title h2{
  text-align: center;
}
.s-slider-block__title h2,
.s-block__title h2 {
    font-size: 28px !important;
    position: relative;
    color: var(--color-primary) !important;
}

.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}
.carousel-slider .s-slider-block__title-nav {
    display: none;
}
.s-slider-block__title {
    justify-content: right;
}

@media (max-width: 1024px) {
    .s-slider-block__title h2,
    .s-block__title h2 {
        font-size: 20
          px !important;
    }
}

/* Hover Effect */

.banner-entry > div {
    background-repeat: no-repeat;
    display: inline-block;
    transition: 0.3s;
}

.banner-entry > div:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0) 100%
    );
}

.banner-entry > div:hover:after {
    opacity: 1;
    left: 130%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}

.banner-entry > div:active:after {
    opacity: 0;
}


/* مميزات المتجر */

/* الإعدادات الأساسية للقسم */
.wa-features-section {
    font-family: 'Tajawal', 'Almarai', sans-serif; 
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
}

/* تنسيق العنوان */
.wa-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.wa-badge-title {
    display: inline-block;
    background-color: #F8F5EE;
    color: #6C5B49;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.wa-main-title {
    font-size: 28px;
    color: #4A3F35;
    font-weight: 800;
    margin: 0;
}

/* شبكة البطاقات */
.wa-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* تصميم البطاقة */
.wa-feature-card {
    background-color: #FDFCFB;
    border: 1px solid #EAE3D9;
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* تمييز البطاقة الثانية */
.wa-feature-card.wa-highlighted {
    border: 2px solid #D6C2A9;
    background-color: #FCFAED; 
}

/* الهيدر داخل البطاقة (أصبح يحتوي على التاج والأيقونة) */
.wa-card-header {
    display: flex;
    justify-content: space-between; /* توزيع المسافة بين التاج والأيقونة */
    align-items: center;
    margin-bottom: 20px;
}

.wa-tag {
    background-color: #ffffff;
    border: 1px solid #EAE3D9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #8C7B68;
}

/* تنسيق حاوية الأيقونة */
.wa-icon {
    width: 42px;
    height: 42px;
    background-color: #EFE9E0; /* لون الدائرة الخلفية الفاتحة */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4A3F35; /* لون أيقونة الـ SVG */
}

/* تنسيق حاوية الأيقونة المميزة (الداكنة) */
.wa-highlighted .wa-icon.dark-icon {
    background-color: #4A3F35; /* الخلفية الداكنة */
    color: #ffffff; /* الأيقونة بيضاء */
}

/* النصوص داخل البطاقة */
.wa-card-title {
    font-size: 18px;
    color: #2D241C;
    margin-bottom: 12px;
    font-weight: 700;
}

.wa-card-desc {
    font-size: 13px;
    color: #6C5B49;
    line-height: 1.6;
    flex-grow: 1; 
}

/* الفوتر (العلامات السفلية ووسائل الدفع) */
.wa-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #EAE3D9;
    font-size: 12px;
    color: #8C7B68;
    text-align: right;
}

.wa-payments {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.payment-badge {
    border: 1px solid #EAE3D9;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    background-color: #ffffff;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 1024px) {
    .wa-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wa-features-grid {
        grid-template-columns: 1fr;
    }
    .wa-main-title {
        font-size: 22px;
    }
}

/* الإعدادات الأساسية للقسم بعد تعديل العرض */
.wa-features-section {
    font-family: 'Tajawal', 'Almarai', sans-serif; 
    max-width: 80%; /* تم التعديل هنا ليتمدد بالكامل مع قالب المتجر */
    width: 80%;
    margin: 40px auto;
    padding: 20px 0; /* إزالة الحواف الجانبية الداخلية ليتساوى مع المنتجات */
    background-color: transparent; 
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}




/* تصميم البطاقة الافتراضي */
.wa-feature-card {
    background-color: #FDFCFB;
    border: 2px solid #EAE3D9; /* تم تعديل السُمك لـ 2px لتجنب الاهتزاز عند الـ Hover */
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease; /* تطبيق انتقال ناعم على جميع الخصائص */
}

/* تأثير الـ Hover على البطاقة بالكامل  */
.wa-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #D6C2A9; /* تغيير لون الإطار */
    background-color: #FCFAED; /* تغيير لون الخلفية للون الدافئ */
}

/* الهيدر داخل البطاقة */
.wa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wa-tag {
    background-color: #ffffff;
    border: 1px solid #EAE3D9;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #8C7B68;
}

/* تصميم الأيقونة الافتراضي */
.wa-icon {
    width: 42px;
    height: 42px;
    background-color: #EFE9E0; 
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4A3F35; 
    transition: all 0.3s ease; /* انتقال ناعم لتغير اللون */
}

/* تغير لون الأيقونة عند عمل Hover على البطاقة */
.wa-feature-card:hover .wa-icon {
    background-color: #4A3F35; /* تحويل الخلفية للون الداكن */
    color: #ffffff; /* تحويل الـ SVG للون الأبيض */
}

/* باقي التنسيقات (النصوص والفوتر) تبقى كما هي بدون تغيير */
.wa-card-title {
    font-size: 18px;
    color: #2D241C;
    margin-bottom: 12px;
    font-weight: 700;
}

.wa-card-desc {
    font-size: 13px;
    color: #6C5B49;
    line-height: 1.6;
    flex-grow: 1; 
}

.wa-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #EAE3D9;
    font-size: 12px;
    color: #8C7B68;
    text-align: right;
    transition: border-color 0.3s ease;
}

/* تغيير بسيط للون خط الفوتر ليتماشى مع التظليل (اختياري) */
.wa-feature-card:hover .wa-card-footer {
    border-top-color: #D6C2A9;
}

/* الإعدادات الأساسية */
.wa-reviews-section {
    font-family: 'Tajawal', 'Almarai', sans-serif;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
}

/* الجزء العلوي (العنوان والملخص) */
.wa-reviews-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.wa-title-area {
    max-width: 60%;
}

.wa-badge {
    display: inline-block;
    background-color: #EADECB;
    color: #4A3F35;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.wa-main-title {
    font-size: 32px;
    color: #2D241C;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.wa-subtitle {
    color: #8C7B68;
    font-size: 15px;
    margin: 0;
}

/* صندوق ملخص التقييم */
.wa-rating-summary {
    display: flex;
    align-items: center;
    border: 1px solid #EAE3D9;
    border-radius: 12px;
    padding: 15px 25px;
    background-color: #ffffff;
    gap: 20px;
}

.wa-summary-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wa-summary-text strong {
    font-size: 14px;
    color: #2D241C;
}

.wa-summary-text span {
    font-size: 12px;
    color: #8C7B68;
    margin-top: 5px;
}

.wa-summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wa-score-number {
    font-size: 28px;
    font-weight: bold;
    color: #2D241C;
    line-height: 1;
}

/* لون النجوم */
.wa-stars {
    color: #D4AF37; /* لون ذهبي للنجوم */
    letter-spacing: 2px;
    font-size: 14px;
    margin-top: 5px;
}

/* شبكة البطاقات */
.wa-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* تصميم بطاقة التقييم */
.wa-review-card {
    background-color: #ffffff;
    border: 2px solid #EAE3D9;
    border-radius: 12px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease; /* انتقال ناعم لتأثير الـ Hover */
}

/* تأثير الـ Hover على البطاقة */
.wa-review-card:hover {
    transform: translateY(-8px); /* رفع البطاقة للأعلى */
    box-shadow: 0 12px 24px rgba(0,0,0,0.06); /* ظل ناعم */
    border-color: #D6C2A9; /* تغيير لون الإطار للبيج الدافئ */
    background-color: #FCFAED; /* تغيير الخلفية للون أدفأ */
}

/* الهيدر داخل البطاقة (النجوم والتاريخ) */
.wa-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wa-date {
    font-size: 12px;
    color: #A99C8D;
}

/* نص التقييم */
.wa-review-text {
    font-size: 14px;
    color: #4A3F35;
    line-height: 1.8;
    flex-grow: 1; /* يدفع الفوتر للأسفل */
    text-align: justify;
}

/* الفوتر (العلامة/التاج الخاص بالمنتج) */
.wa-card-bottom {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end; /* وضع التاج على اليسار */
}

.wa-product-tag {
    background-color: #F6F1EA;
    color: #6C5B49;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
}

/* التجاوب مع الشاشات (Responsive) */
@media (max-width: 992px) {
    .wa-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wa-reviews-header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .wa-title-area {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .wa-reviews-grid {
        grid-template-columns: 1fr;
    }
    .wa-main-title {
        font-size: 24px;
    }
    .wa-rating-summary {
        width: 100%;
        justify-content: space-between;
    }
}

/* Loading Screen */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  width: 100%;
  height: 100%;
  background: #ffffff url('https://i.ibb.co/dJgjS2f5/5qkd-B3w911-Rlp7g9-Rtql-AYlk-ZIvj-Kn-CJi-STx6u-Gq-1.png') no-repeat center / 90px !important;
  animation: logobg 3s forwards;
  pointer-events: none;
}

@keyframes logobg {
    0% {
        opacity: 1;
        visibility: visible;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        z-index: -1;
    }
}