/* Add custom CSS styles below */ 

/* =========================
   Footer 3 Columns Clean
========================= */

.store-footer__inner .container{
  display:grid !important;
  grid-template-columns:1fr 1fr 1fr !important;
  gap:40px !important;
  align-items:flex-start !important;
  text-align:center !important;
}

/* إزالة النقاط */
.store-footer ul,
.store-footer li{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}

/* ترتيب الأعمدة */
.store-footer__inner .container > div{
  width:100% !important;
}

/* عمود الوصف والسجل */
.store-footer__inner .lg\:col-\[2\]{
  grid-column:3 !important;
  text-align:right !important;
  align-self:flex-start !important;
}

/* روابط مهمة */
.store-footer__inner .text-center.order-1{
  grid-column:1 !important;
  text-align:left !important;
  align-self:flex-start !important;
}

/* العمود الأوسط */
.store-footer__inner .container > div:last-child{
  grid-column:2 !important;
}

/* روابط الفوتر */
.store-footer .footer-list a{
  margin-bottom:14px !important;
  display:block !important;
  text-decoration:none !important;
}

/* وصف الفوتر */
.store-footer .footer-description,
.store-footer .footer-description p{
  text-align:right !important;
  line-height:2 !important;
}

/* البادجات */
.store-footer .footer-badges{
  justify-content:flex-start !important;
  margin-top:18px !important;
}

/* صف التواصل */
.store-footer__contacts-row{
  width:100% !important;
  max-width:1200px !important;
  margin:18px auto 0 !important;
  padding:0 15px !important;
  display:flex !important;
  justify-content:flex-end !important;
  text-align:right !important;
}

/* إزالة الخطوط */
.store-footer__contacts-row,
.footer-bottom{
  border-top:none !important;
  border-bottom:none !important;
}

.store-footer__contacts-row::before,
.store-footer__contacts-row::after,
.footer-bottom::before,
.footer-bottom::after{
  display:none !important;
  border:0 !important;
}

.store-footer *{
  border-style:none !important;
}

/* =========================
   Language Switch
========================= */

.custom-lang-switch{
  position:relative;
  width:68px;
  height:30px;
  border-radius:100px;
  background:#fffced;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8px;
  margin-inline-start:8px;
  cursor:pointer;
  flex-shrink:0;
  border:none;

  box-shadow:
    inset 1px 1px 4px rgba(0,0,0,.05),
    inset -1px -1px 4px rgba(255,255,255,.9);
}

.custom-lang-switch span{
  font-size:10px;
  font-weight:700;
  color:#3e0412;
  z-index:2;
  transition:.3s;
  line-height:1;
  user-select:none;
}

.custom-lang-switch.active-ar .ar,
.custom-lang-switch.active-en .en{
  color:#4d537d;
}

.custom-lang-switch .switch-ball{
  position:absolute;
  top:3px;
  left:3px;
  width:24px;
  height:24px;
  border-radius:50%;
  overflow:hidden;
  transition:.35s ease;
  background:#fff;

  box-shadow:0 2px 6px rgba(0,0,0,.16);
}

.custom-lang-switch.active-ar .switch-ball{
  left:41px;
}

.custom-lang-switch img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  pointer-events:none;
}

/* إخفاء زر اللغة الأصلي */
footer button[aria-label="Change Language"],
.store-header button[aria-label="Change Language"]:not(.custom-lang-switch){
  display:none !important;
}

/* ترتيب الهيدر */
.store-header .justify-start,
.store-header .justify-end{
  gap:0px;
  align-items:center;
}

/* =========================
   About Section
========================= */

#about-3 .w-full.md\:w-2\/3{
  position:relative;
  overflow:hidden;
  isolation:isolate;

  background:#3e0412 !important;

  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;

  padding:32px 24px;
  margin:40px auto !important;

  box-shadow:0 14px 35px rgba(0,0,0,.18);
}

/* طبقة تغميق الفيديو */
#about-3 .w-full.md\:w-2\/3::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background:
  linear-gradient(
    rgba(62,4,18,.72),
    rgba(62,4,18,.72)
  );
}

/* النصوص */
#about-3 h2,
#about-3 h3,
#about-3 p{
  position:relative;
  z-index:3;
}

#about-3 h2,
#about-3 p{
  color:#fffced !important;
}

/* عنوان من نحن */
#about-3 h3{
  background:#fffced;
  color:#3e0412 !important;

  padding:6px 16px;

  border-radius:999px;

  width:fit-content;

  margin-inline:auto;
  margin-bottom:18px;

  opacity:1 !important;
}

/* فيديو الخلفية */
.about-bg-video{
  position:absolute;
  top:50%;
  left:50%;

  width:140%;
  height:140%;

  transform:translate(-50%,-50%);

  border:0;

  pointer-events:none;

  opacity:.22;

  z-index:1;

  mix-blend-mode:screen;
}

/* =========================
   Mobile
========================= */

@media(max-width:768px){

  /* الفوتر */
  .store-footer__inner .container{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:28px !important;
    text-align:center !important;
  }

  .store-footer__inner .lg\:col-\[2\],
  .store-footer__inner .text-center.order-1,
  .store-footer__inner .container > div:last-child{
    grid-column:auto !important;
    display:block !important;
    text-align:center !important;
  }

  .store-footer .footer-description,
  .store-footer .footer-description p{
    text-align:center !important;
    line-height:1.9 !important;
    font-size:14px !important;
  }

  .store-footer .footer-badges{
    justify-content:center !important;
    margin-top:14px !important;
  }

  .store-footer__contacts-row{
    margin:20px auto 0 !important;
    padding:0 15px !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    text-align:center !important;
  }

  .store-footer__contacts-row a,
  .store-footer__contacts-row .contacts-item{
    justify-content:center !important;
    text-align:center !important;
    direction:ltr !important;
    font-size:14px !important;
  }

  .store-footer .footer-list a{
    text-align:center !important;
  }

  /* زر اللغة */
  .custom-lang-switch{
    width:64px;
    height:28px;
    padding:0 7px;
    margin-inline-start:6px;
  }

  .custom-lang-switch span{
    font-size:9px;
  }

  .custom-lang-switch .switch-ball{
    width:22px;
    height:22px;
  }

  .custom-lang-switch.active-ar .switch-ball{
    left:39px;
  }

  /* من نحن */
  #about-3 .w-full.md\:w-2\/3{
    border-radius:20px;
    padding:26px 18px;
    margin:24px 12px !important;
  }

  .about-bg-video{
    width:220%;
    height:140%;
  }
}

/* إخفاء البحث من الهيدر */
.store-header button[aria-label="Search"]{
    display:none !important;
}

.mobile-menu-search-box{
    padding:14px 18px;
    border-bottom:1px solid rgba(62,4,18,.10);
}

.mobile-menu-search-box form{
    position:relative;
}

.mobile-menu-search-box input{
    width:100%;
    height:44px;
    border:1px solid rgba(62,4,18,.18);
    border-radius:12px;
    background:#330713;
    color:#fffced;
    padding:0 42px 0 14px;
    font-size:14px;
    outline:none;
}

.mobile-menu-search-box button{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    color:#3e0412;
    font-size:18px;
}

/* لون النص التوضيحي */
.mobile-menu-search-box input::placeholder{
    color:#fffced !important;
    opacity:.75;
}

/* لون أيقونة البحث */
.mobile-menu-search-box button,
.mobile-menu-search-box .sicon-search{
    color:#fffced !important;
}

/* =========================
   Desktop Menu Under Header
========================= */

@media(min-width:1024px){

    /* تكبير الهيدر */
    .store-centered_logo #mainnav{
        height:auto !important;
        padding-bottom:22px;
    }

    /* الحاوية */
    .store-centered_logo #mainnav > .inner > .container{
        position:relative;
    }

    /* الشعار */
    .store-centered_logo .justify-center{
        width:100%;
        display:flex;
        justify-content:center;
    }

    /* القائمة الرئيسية */
    .store-centered_logo nav#mobile-menu{
        position:absolute;

        bottom:-38px;

        left:50%;
        transform:translateX(-50%);

        width:100%;

        display:flex !important;
        justify-content:center !important;
    }

    /* القائمة نفسها */
    .store-centered_logo nav#mobile-menu .main-menu{
        display:flex !important;
        flex-direction:row !important;

        align-items:center;
        justify-content:center;

        gap:34px;

        background:transparent !important;

        padding:0 !important;

        margin:0 !important;
    }

    /* عناصر القائمة */
    .store-centered_logo nav#mobile-menu .main-menu > li{
        width:auto !important;
        border:none !important;
    }

    /* الروابط */
    .store-centered_logo nav#mobile-menu .main-menu a{
        color:#fffced !important;
        font-size:16px;
        font-weight:600;
        padding:0 !important;
    }

    /* مربع البحث */
    .mobile-menu-search-box{
        padding:0 !important;
        border:none !important;
    }

    .mobile-menu-search-box form{
        width:220px;
    }

    .mobile-menu-search-box input{
        height:42px;
        border:none !important;
        background:rgba(0,0,0,.12) !important;
        color:#fffced !important;
    }

    .mobile-menu-search-box input::placeholder{
        color:#fffced !important;
        opacity:.7;
    }

    .mobile-menu-search-box button,
    .mobile-menu-search-box .sicon-search{
        color:#fffced !important;
    }

    /* إخفاء زر إغلاق القائمة */
    .store-centered_logo .btn-close-mm{
        display:none !important;
    }
}

/* =========================
   Desktop Menu Full Row Under Header
========================= */

@media(min-width:1024px){

  /* تكبير مساحة الهيدر */
  .store-header #mainnav{
    height:auto !important;
  }

  .store-header #mainnav > .inner > .container{
    position:relative !important;
    padding-bottom:95px !important;
  }

  /* صف التصنيفات تحت الهيدر */
  .store-header nav#mobile-menu{
    position:absolute !important;

    left:0 !important;
    right:0 !important;

    bottom:-70px !important;

    width:100% !important;
    height:auto !important;

    transform:none !important;

    background:transparent !important;

    display:block !important;

    padding:0 !important;
    margin:0 !important;

    overflow:visible !important;
  }

  /* القائمة */
  .store-header nav#mobile-menu .main-menu{
    display:flex !important;

    flex-direction:row !important;
    flex-wrap:nowrap !important;

    align-items:center !important;
    justify-content:center !important;

    gap:34px !important;

    width:100% !important;

    padding:0 !important;
    margin:0 !important;

    background:transparent !important;
  }

  /* إخفاء العناصر المكررة */
  .store-header nav#mobile-menu .main-menu > li.lg\:hidden{
    display:none !important;
  }

  /* العناصر الأساسية */
  .store-header nav#mobile-menu .main-menu > li.root-level,
  .store-header nav#mobile-menu .main-menu > li.mobile-menu-search-box{
    display:flex !important;

    width:auto !important;

    border:0 !important;
  }

  /* الروابط */
  .store-header nav#mobile-menu .main-menu a{
    color:#fffced !important;

    font-size:15px !important;
    font-weight:600 !important;

    padding:0 !important;
    margin:0 !important;

    white-space:nowrap !important;
  }

  /* مربع البحث */
  .mobile-menu-search-box{
    order:-1 !important;

    padding:0 !important;

    border:0 !important;
  }

  .mobile-menu-search-box form{
    width:220px !important;
  }

  .mobile-menu-search-box input{
    height:42px !important;

    background:rgba(0,0,0,.16) !important;

    color:#fffced !important;

    border:0 !important;

    border-radius:12px !important;
  }

  .mobile-menu-search-box input::placeholder{
    color:#fffced !important;
    opacity:.75 !important;
  }

  .mobile-menu-search-box button,
  .mobile-menu-search-box .sicon-search{
    color:#fffced !important;
  }

  /* إخفاء زر الإغلاق */
  .store-header .close-mobile-menu{
    display:none !important;
  }
}

/* =========================
   Footer Contact Icons Final
========================= */

.store-footer__contacts-row{
  width:100% !important;
  max-width:100% !important;

  margin:35px auto 18px !important;
  padding:0 !important;

  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;

  align-items:center !important;
  justify-content:center !important;

  gap:14px !important;
  direction:ltr !important;
  text-align:center !important;
}

/* جعل الواتساب والايميل والانستقرام بنفس الصف */
.store-footer__contacts-row selia-contacts,
.store-footer__contacts-row salla-social{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;

  align-items:center !important;
  justify-content:center !important;

  gap:14px !important;

  margin:0 !important;
  padding:0 !important;
}

/* إلغاء margin الانستقرام */
.store-footer__contacts-row salla-social{
  margin-top:0 !important;
}

/* شكل الأيقونات بدون دائرة بيضاء */
.store-footer__contacts-row a,
.store-footer__contacts-row button,
.store-footer__contacts-row .contacts-item,
.store-footer__contacts-row salla-social a{
  width:auto !important;
  height:auto !important;
  min-width:auto !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:0 !important;

  background:transparent !important;
  color:#fffced !important;

  border:0 !important;
  box-shadow:none !important;

  text-decoration:none !important;
  overflow:visible !important;
}

/* إخفاء النصوص */
.store-footer__contacts-row span:not([class*="sicon"]),
.store-footer__contacts-row small,
.store-footer__contacts-row p{
  display:none !important;
}

/* حجم الأيقونات */
.store-footer__contacts-row i,
.store-footer__contacts-row svg,
.store-footer__contacts-row [class*="sicon-"]{
  font-size:26px !important;
  width:26px !important;
  height:26px !important;

  color:#fffced !important;
  fill:#fffced !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* hover */
.store-footer__contacts-row a:hover,
.store-footer__contacts-row button:hover,
.store-footer__contacts-row .contacts-item:hover,
.store-footer__contacts-row salla-social a:hover{
  background:transparent !important;
  transform:translateY(-3px) !important;
}

/* ضبط الحقوق تحت الأيقونات */
.footer-bottom{
  padding-top:0 !important;
  margin-top:0 !important;
}

.footer-bottom .container{
  justify-content:center !important;
  flex-direction:column !important;
  gap:10px !important;
}

.footer-rights,
.footer-rights p{
  margin:0 !important;
  text-align:center !important;
  color:#fffced !important;
}

/* إبعاد زر الرجوع للأعلى عن الأيقونات */
.scroll-to-top{
  left:22px !important;
  bottom:64px !important;
  z-index:20 !important;
}

/* الجوال */
@media(max-width:768px){

  .store-footer__contacts-row{
    margin:32px auto 14px !important;
    gap:12px !important;
  }

  .store-footer__contacts-row selia-contacts,
  .store-footer__contacts-row salla-social{
    gap:12px !important;
  }

  .store-footer__contacts-row a,
  .store-footer__contacts-row button,
  .store-footer__contacts-row .contacts-item,
  .store-footer__contacts-row salla-social a{
    width:auto !important;
    height:auto !important;
    min-width:auto !important;
  }

  .store-footer__contacts-row i,
  .store-footer__contacts-row svg,
  .store-footer__contacts-row [class*="sicon-"]{
    font-size:25px !important;
    width:25px !important;
    height:25px !important;
  }

  .scroll-to-top{
    left:20px !important;
    bottom:70px !important;
  }
}

/* إظهار أيقونة الانستقرام داخل الفوتر */
.store-footer__contacts-row salla-social a[href*="instagram"],
.store-footer__contacts-row salla-social a[aria-label*="instagram"],
.store-footer__contacts-row salla-social a[aria-label*="Instagram"]{
  position:relative !important;
  background:transparent !important;
  color:#fffced !important;
}

/* إخفاء أي أيقونة داخلية غير ظاهرة */
.store-footer__contacts-row salla-social a[href*="instagram"] i,
.store-footer__contacts-row salla-social a[href*="instagram"] svg,
.store-footer__contacts-row salla-social a[href*="instagram"] span{
  display:none !important;
}

/* رسم أيقونة انستقرام واضحة */
.store-footer__contacts-row salla-social a[href*="instagram"]::before{
  content:"" !important;

  width:22px !important;
  height:22px !important;

  display:block !important;

  background:#fffced !important;

  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 4.5A3.5 3.5 0 1 1 12 15.5 3.5 3.5 0 0 1 12 8.5zm0 2A1.5 1.5 0 1 0 13.5 12 1.5 1.5 0 0 0 12 10.5zM17.5 6.7a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8z'/%3E%3C/svg%3E") center / contain no-repeat !important;

  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7zm5 4.5A3.5 3.5 0 1 1 12 15.5 3.5 3.5 0 0 1 12 8.5zm0 2A1.5 1.5 0 1 0 13.5 12 1.5 1.5 0 0 0 12 10.5zM17.5 6.7a.8.8 0 1 1-.8.8.8.8 0 0 1 .8-.8z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* لون الانستقرام عند المرور */
.store-footer__contacts-row salla-social a[href*="instagram"]:hover::before{
  background:#fffced !important;
}

.store-footer__contacts-row i,
.store-footer__contacts-row svg,
.store-footer__contacts-row [class*="sicon-"]{
  color:#fffced !important;
  fill:#fffced !important;
}

.sicon-whatsapp2:before {
    content: "\e917";
    color: #fffced;
}
/* نص يمين أيقونات التواصل في الفوتر */
.store-footer__contacts-row::before{
  content:none !important;
  display:none !important;
}

.store-footer__contacts-row::after{
  content:"يسرنا التواصل على";
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  color:#fffced !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;

  margin-right:8px !important;
  white-space:nowrap !important;
  direction:rtl !important;
}

@media(max-width:768px){
  .store-footer__contacts-row::after{
    font-size:13px !important;
    margin-right:6px !important;
  }
}
/* ================================
   NO END EVENT - Product Booking UI
   ================================ */

body.product-single {
  background: #fffced !important;
}

body.product-single main {
  background:
    radial-gradient(circle at 80% 10%, rgba(64, 6, 21, 0.05), transparent 28%),
    linear-gradient(180deg, #fffced 0%, #fff8e8 100%) !important;
}

/* عرض الصفحة */
body.product-single main > .container {
  max-width: 1380px !important;
  padding-top: 20px !important;
}

/* ترتيب صورة المنتج يمين والفورم يسار */
body.product-single .product-single .product-single__inner > .flex {
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(480px, 0.95fr) !important;
  gap: 34px !important;
  align-items: start !important;
  direction: ltr !important;
}

body.product-single .product-single__slider {
  order: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  direction: rtl !important;
}

body.product-single .product-single__info {
  order: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  direction: rtl !important;
}

/* كرت معلومات المنتج */
body.product-single .product-single__info {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(64, 6, 21, 0.12) !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 18px 55px rgba(64, 6, 21, 0.08) !important;
  backdrop-filter: blur(10px);
}

/* العنوان والسعر */
body.product-single .product-single__info h1 {
  font-size: 30px !important;
  line-height: 1.35 !important;
  color: #400615 !important;
  margin-bottom: 8px !important;
  font-weight: 800 !important;
}

body.product-single .product-price-top .total-price,
body.product-single .product-price-bottom .total-price {
  color: #400615 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

body.product-single #variant-inventory {
  color: #0f8a45 !important;
  font-weight: 700 !important;
  background: #eefbf3 !important;
  border: 1px solid rgba(15, 138, 69, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
}

/* صورة المنتج */
body.product-single .product-single__main-media {
  height: auto !important;
  min-height: auto !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid rgba(64, 6, 21, 0.10) !important;
  box-shadow: 0 18px 55px rgba(64, 6, 21, 0.08) !important;
}

body.product-single .product-single__main-media img {
  border-radius: 22px !important;
  object-fit: cover !important;
}

/* إخفاء فراغات مزعجة */
body.product-single salla-installment {
  display: none !important;
}

/* إشعار الحجز */
#noend-booking-notice {
  position: relative !important;
  margin: 18px 0 14px !important;
  padding: 17px 18px 17px 58px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(64, 6, 21, 0.12) !important;
  background: linear-gradient(135deg, #fff7e9, #fff1dc) !important;
  color: #400615 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  font-weight: 700 !important;
  text-align: right !important;
  box-shadow: 0 10px 28px rgba(64, 6, 21, 0.05) !important;
}

#noend-booking-notice::before {
  content: "⏱";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #400615;
  color: #fffced;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

/* صندوق الخطأ */
#noend-booking-error {
  display: none;
  position: relative !important;
  width: 100% !important;
  margin: 12px 0 14px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(180,35,24,.28) !important;
  background: #fff0ed !important;
  color: #8a170f !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  clear: both !important;
  z-index: 5 !important;
  animation: noendErrorPop 0.22s ease-out;
}

@keyframes noendErrorPop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* خيارات المنتج */
body.product-single salla-product-options {
  display: block !important;
  margin-top: 12px !important;
}

body.product-single salla-product-options label,
body.product-single .product-form label,
body.product-single .s-form-control-label,
body.product-single .form-label {
  color: #400615 !important;
  font-weight: 800 !important;
}

/* حقول التاريخ والوقت */
body.product-single #product-form input,
body.product-single #product-form select,
body.product-single #product-form textarea {
  background: #fff !important;
  border: 1px solid rgba(64, 6, 21, 0.16) !important;
  color: #400615 !important;
  min-height: 52px !important;
  border-radius: 13px !important;
  font-weight: 700 !important;
  padding: 0 14px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: 0.2s ease !important;
}

body.product-single #product-form input:focus,
body.product-single #product-form select:focus,
body.product-single #product-form textarea:focus {
  border-color: #400615 !important;
  box-shadow: 0 0 0 4px rgba(64, 6, 21, 0.08) !important;
}

/* تحسين ترتيب خيارات الوقت والتاريخ */
body.product-single .noend-options-ready salla-product-options {
  background: #fff !important;
  border: 1px solid rgba(64, 6, 21, 0.10) !important;
  border-radius: 18px !important;
  padding: 16px !important;
}

/* السعر السفلي */
body.product-single .product-price-bottom {
  background: transparent !important;
  padding: 18px 0 8px !important;
  border-radius: 0 !important;
}

/* الكمية */
body.product-single .sticky-product-bar {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

body.product-single .sticky-product-bar__quantity {
  margin: 10px 0 18px !important;
}

body.product-single salla-quantity-input {
  border-radius: 12px !important;
}

/* الأزرار - تم تضييق الاستهداف حتى لا يتشوه زر الشراء */
body.product-single salla-add-product-button,
body.product-single .sticky-product-bar__btn {
  --btn-height: 54px;
}

body.product-single .sticky-product-bar salla-add-product-button::part(button),
body.product-single .sticky-product-bar__btn::part(button),
body.product-single .sticky-product-bar .s-button-element:not(.s-button-outline) {
  min-height: 54px !important;
  border-radius: 13px !important;
  background: #400615 !important;
  border-color: #400615 !important;
  color: #fffced !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.product-single .sticky-product-bar salla-add-product-button:hover::part(button),
body.product-single .sticky-product-bar__btn:hover::part(button),
body.product-single .sticky-product-bar .s-button-element:not(.s-button-outline):hover {
  background: #270000 !important;
  border-color: #270000 !important;
}

/* زر الشراء الآن */
body.product-single .sticky-product-bar .s-button-outline,
body.product-single .sticky-product-bar .s-button-element.s-button-outline {
  background: #fffced !important;
  color: #400615 !important;
  border: 1px solid #400615 !important;
}

/* إخفاء المميزات التي تمت إزالتها */
#noend-benefits,
#noend-wide-benefits {
  display: none !important;
}

/* شريط المميزات أسفل الفورم - متروك بدون ظهور */
#noend-benefits {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 16px;
  background: #fff7f1;
  border: 1px solid rgba(64, 6, 21, 0.08);
}

#noend-benefits .noend-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #400615;
  font-weight: 800;
  text-align: center;
}

#noend-benefits .noend-benefit span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(64, 6, 21, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* قسم المميزات أسفل المنتج - متروك بدون ظهور */
#noend-wide-benefits {
  max-width: 1380px;
  margin: 28px auto 10px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(64, 6, 21, 0.10);
  box-shadow: 0 16px 45px rgba(64, 6, 21, 0.06);
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

#noend-wide-benefits .wide-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

#noend-wide-benefits .wide-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: #fff3ed;
  border: 1px solid rgba(64, 6, 21, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #400615;
  font-size: 24px;
}

#noend-wide-benefits h4 {
  margin: 0 0 5px !important;
  color: #400615 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

#noend-wide-benefits p {
  margin: 0 !important;
  color: #6f4d55 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* التفاصيل أسفل المنتج */
body.product-single .product-more-info {
  margin-top: 38px !important;
}

body.product-single .product-more-info__inner {
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(64, 6, 21, 0.10) !important;
  background: #fff !important;
}

/* الجوال */
@media (max-width: 991px) {
  body.product-single main > .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.product-single .product-single .product-single__inner > .flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.product-single .product-single__slider {
    order: 1 !important;
  }

  body.product-single .product-single__info {
    order: 2 !important;
    padding: 20px !important;
    border-radius: 18px !important;
  }

  body.product-single .product-single__info h1 {
    font-size: 24px !important;
  }

  #noend-benefits,
  #noend-wide-benefits {
    display: none !important;
  }
}

@media (max-width: 520px) {
  body.product-single .product-single__info {
    padding: 16px !important;
  }

  #noend-booking-notice {
    padding-left: 14px !important;
    padding-top: 52px !important;
    text-align: center !important;
  }

  #noend-booking-notice::before {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  #noend-benefits,
  #noend-wide-benefits {
    display: none !important;
  }

  body.product-single .product-price-top .total-price,
  body.product-single .product-price-bottom .total-price {
    font-size: 21px !important;
  }
}

/* ================================
   NO END EVENT - Mobile Quantity Fix Final
   تم دمجه حتى يغلب على تنسيقات الكمية السابقة
   ================================ */

@media (max-width: 768px) {

  body.product-single .product-single__info,
  body.product-single #product-form,
  body.product-single .product-form {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.product-single .product-price-bottom {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 0 8px !important;
    margin: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar__quantity {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 12px 0 14px !important;
    padding: 12px !important;
    background: #fff7f1 !important;
    border: 1px solid rgba(64, 6, 21, 0.10) !important;
    border-radius: 14px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar__quantity label,
  body.product-single .sticky-product-bar__quantity .form-label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #400615 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
  }

  body.product-single .sticky-product-bar__quantity salla-quantity-input,
  body.product-single salla-quantity-input {
    position: relative !important;
    display: flex !important;
    flex-shrink: 0 !important;
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    height: 42px !important;
    min-height: 42px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(64, 6, 21, 0.12) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar .s-button-wrapper,
  body.product-single .sticky-product-bar salla-add-product-button,
  body.product-single .sticky-product-bar__btn,
  body.product-single salla-add-product-button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar__btn,
  body.product-single .sticky-product-bar salla-add-product-button {
    margin-top: 10px !important;
  }

  body.product-single .sticky-product-bar salla-add-product-button::part(button),
  body.product-single .sticky-product-bar__btn::part(button),
  body.product-single .sticky-product-bar .s-button-element {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px !important;
    border-radius: 13px !important;
    box-sizing: border-box !important;
  }

  body.product-single .sticky-product-bar,
  body.product-single .sticky-product-bar *,
  body.product-single .product-price-bottom,
  body.product-single .product-price-bottom * {
    box-sizing: border-box !important;
  }
}

/* ================================
   NO END EVENT - Fix Buy Buttons + Error Box
   هذا آخر جزء ويعالج تشوه زر الشراء وظهور الخطأ
================================ */

/* صندوق الخطأ يكون واضح دائمًا داخل صفحة المنتج */
#noend-booking-error{
  display:none;
  width:100% !important;
  margin:12px 0 14px !important;
  padding:14px 16px !important;
  border-radius:14px !important;
  border:1px solid rgba(180,35,24,.28) !important;
  background:#fff0ed !important;
  color:#8a170f !important;
  font-size:14px !important;
  line-height:1.8 !important;
  font-weight:800 !important;
  text-align:center !important;
  box-sizing:border-box !important;
  clear:both !important;
  z-index:20 !important;
}

/* إلغاء التشويه العام للأزرار */
body.product-single .s-button-element{
  box-sizing:border-box !important;
}

/* ترتيب أزرار الشراء */
body.product-single .sticky-product-bar{
  width:100% !important;
  max-width:100% !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  align-items:center !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}

/* زر إضافة للسلة وزر الشراء */
body.product-single .sticky-product-bar salla-add-product-button,
body.product-single .sticky-product-bar__btn,
body.product-single .sticky-product-bar .s-button-wrapper{
  flex:1 1 calc(50% - 5px) !important;
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
}

/* شكل زر إضافة للسلة */
body.product-single .sticky-product-bar salla-add-product-button::part(button),
body.product-single .sticky-product-bar__btn::part(button){
  width:100% !important;
  height:52px !important;
  min-height:52px !important;
  border-radius:13px !important;
  background:#400615 !important;
  border:1px solid #400615 !important;
  color:#fffced !important;
  font-size:14px !important;
  font-weight:800 !important;
}

/* زر الشراء الآن */
body.product-single .sticky-product-bar .s-button-outline,
body.product-single .sticky-product-bar .s-button-element.s-button-outline{
  width:100% !important;
  height:52px !important;
  min-height:52px !important;
  border-radius:13px !important;
  background:#fffced !important;
  border:1px solid #400615 !important;
  color:#400615 !important;
  font-size:14px !important;
  font-weight:800 !important;
}

/* منع تأثير اللون الداكن العام على زر الشراء الآن */
body.product-single .sticky-product-bar .s-button-outline *,
body.product-single .sticky-product-bar .s-button-element.s-button-outline *{
  color:#400615 !important;
}

/* الكمية لا تدخل فوق الأزرار */
body.product-single .sticky-product-bar__quantity{
  flex:0 0 100% !important;
  width:100% !important;
  max-width:100% !important;
  margin:12px 0 8px !important;
}

/* إبقاء المميزات مخفية نهائيًا */
#noend-benefits,
#noend-wide-benefits{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
}

/* الجوال */
@media(max-width:768px){

  body.product-single .sticky-product-bar{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
  }

  body.product-single .sticky-product-bar salla-add-product-button,
  body.product-single .sticky-product-bar__btn,
  body.product-single .sticky-product-bar .s-button-wrapper{
    flex:0 0 auto !important;
    width:100% !important;
  }

  body.product-single .sticky-product-bar salla-add-product-button::part(button),
  body.product-single .sticky-product-bar__btn::part(button),
  body.product-single .sticky-product-bar .s-button-outline,
  body.product-single .sticky-product-bar .s-button-element.s-button-outline{
    width:100% !important;
    max-width:100% !important;
    height:52px !important;
    min-height:52px !important;
    border-radius:13px !important;
  }
}