:root{
  --sutoo-beige:#F2ECE4;
  --sutoo-paper:#FBF7F2;
  --sutoo-charcoal:#2E2926;
  --sutoo-burgundy:#6E2A2E;
  --sutoo-copper:#B5764A;
  --sutoo-line:#D8CEC3;
  --sutoo-muted:#766F69;
  --sutoo-white:#FFFDF9;
  --color-primary:#B5764A!important;
  --color-primary-dark:#9F643E!important;
  --color-primary-light:#D8B08D!important;
}

html{scroll-behavior:smooth}
body{
  background:var(--sutoo-beige)!important;
  color:var(--sutoo-charcoal)!important;
  font-family:"IBM Plex Sans Arabic","Tajawal",Tahoma,Arial,sans-serif!important;
}

/* شريط الإعلان */
.top-navbar,.top-nav,.announcement-bar,.salla-announcement{
  background:var(--sutoo-burgundy)!important;
  color:#fff8f2!important;
  border:0!important;
}
.top-navbar *,.top-nav *,.announcement-bar *,.salla-announcement *{color:#fff8f2!important}

/* الهيدر */
header,.store-header,.navbar,.main-nav,.main-header{
  background:rgba(242,236,228,.96)!important;
  border-color:rgba(46,41,38,.08)!important;
  box-shadow:none!important;
  backdrop-filter:blur(14px);
}
header .container,.main-nav .container,.navbar .container{min-height:82px}

/* الشعار بالنص */
header .container,.main-nav .container,.navbar .container{position:relative}
header .navbar-brand,.main-nav .navbar-brand,header .store-logo{
  position:absolute!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin:0!important;
}
header .navbar-brand img,header .store-logo img,.logo img{
  max-height:72px!important;width:auto!important;object-fit:contain!important
}

/* روابط القائمة */
header nav a,.main-nav a,.navbar a{color:#5e5752!important;font-weight:500;transition:.2s}
header nav a:hover,.main-nav a:hover,.navbar a:hover{color:var(--sutoo-charcoal)!important}

/* الحساب والسلة */
salla-cart-summary,salla-user-menu{--color-primary:var(--sutoo-copper)!important}
.s-user-menu-login-btn,.s-user-menu-trigger{
  width:42px!important;height:42px!important;min-width:42px!important;
  display:grid!important;place-items:center!important;border-radius:999px!important;
  background:rgba(255,253,249,.8)!important;
  border:1px solid rgba(181,118,74,.30)!important;
}
.s-user-menu-trigger-avatar,.s-user-menu-trigger-avatar-wrap,.s-user-menu-trigger img{
  width:40px!important;height:40px!important;border-radius:999px!important;object-fit:cover!important
}

/* الأزرار */
button,.btn,.s-button-element,salla-button button,a.btn{
  border-radius:12px!important;font-weight:700!important;transition:.2s!important
}
.btn-primary,.s-button-primary,salla-button[fill="solid"] button,button.bg-primary{
  background:var(--sutoo-copper)!important;border-color:var(--sutoo-copper)!important;
  color:#fff!important;box-shadow:0 10px 24px rgba(181,118,74,.18)!important
}
.btn-primary:hover,.s-button-primary:hover,salla-button[fill="solid"] button:hover{
  background:#A86C43!important;border-color:#A86C43!important;transform:translateY(-1px)
}

/* العناوين */
section h2,.home-block h2,.s-block__title h2{
  font-family:"Tajawal","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif!important;
  color:var(--sutoo-charcoal)!important;font-weight:900!important
}
.s-block__title p,.section-subtitle{color:var(--sutoo-muted)!important}

/* بطاقات المنتجات */
.s-product-card-entry,.product-entry,.product-card{
  background:var(--sutoo-white)!important;
  border:1px solid var(--sutoo-line)!important;
  border-radius:22px!important;overflow:hidden!important;
  box-shadow:0 10px 30px rgba(46,41,38,.055)!important;transition:.25s!important
}
.s-product-card-entry:hover,.product-entry:hover,.product-card:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 18px 50px rgba(46,41,38,.09)!important;
  border-color:rgba(181,118,74,.45)!important
}
.s-product-card-content-title a,.product-entry__title a,.product-card h3{
  color:var(--sutoo-charcoal)!important;font-weight:800!important
}
.s-product-card-content-sub,.s-product-card-content-description,.product-entry__description{
  color:var(--sutoo-muted)!important
}
.s-product-card-price,.product-entry__price,.product-price{
  color:var(--sutoo-burgundy)!important;font-weight:800!important
}
.s-product-card-content-footer button,.s-product-card-entry .s-button-element,.product-entry button{
  border-radius:11px!important;background:var(--sutoo-copper)!important;
  color:#fff!important;border:0!important
}

/* سلايدر المنتجات */
salla-products-slider,.s-slider-container{display:block}
salla-products-slider .swiper,.s-slider-container{padding:8px 4px 22px!important}
.swiper-button-next,.swiper-button-prev{color:var(--sutoo-copper)!important}
.swiper-pagination-bullet-active{background:var(--sutoo-copper)!important}

/* البانرات */
.banner-entry,.banner,.s-block--banners img,.home-slider img,.carousel-slider img{
  border-radius:24px!important
}

/* صفحة المنتج */
.product-title,.product-details h1,.product-page h1{
  font-family:"Tajawal","IBM Plex Sans Arabic",Tahoma,Arial,sans-serif!important;
  font-weight:900!important;color:var(--sutoo-charcoal)!important
}
.product-description,.product-details__description{
  color:#5f5853!important;line-height:1.95!important
}
.product-gallery img,.product-slider img{border-radius:22px!important}

/* خيارات المنتج */
.product-option label,.s-product-options-wrapper label{border-radius:12px!important}
input[type="radio"]:checked+label,.product-option input:checked+label{
  border-color:var(--sutoo-copper)!important;color:var(--sutoo-copper)!important
}

/* السلة */
.cart-total,.cart-summary-total{color:var(--sutoo-burgundy)!important;font-weight:800!important}

/* الأسئلة الشائعة */
.accordion,.faq,.s-accordion-item{border-color:var(--sutoo-line)!important}
.accordion button,.faq button,.s-accordion-item button{color:var(--sutoo-charcoal)!important}
.accordion p,.faq p,.s-accordion-item p{color:var(--sutoo-muted)!important}

/* الفوتر */
footer,.store-footer,.footer{
  background:#E9DFD5!important;color:var(--sutoo-charcoal)!important;
  border-color:var(--sutoo-line)!important
}
footer a,.store-footer a,.footer a{color:#6e655f!important}
footer a:hover,.store-footer a:hover{color:var(--sutoo-copper)!important}

/* الحقول */
input,select,textarea{
  border-radius:12px!important;border-color:var(--sutoo-line)!important;
  background:var(--sutoo-white)!important;color:var(--sutoo-charcoal)!important
}
input:focus,select:focus,textarea:focus{
  border-color:var(--sutoo-copper)!important;
  box-shadow:0 0 0 3px rgba(181,118,74,.10)!important;outline:none!important
}

/* الجوال */
@media(max-width:700px){
  header .container,.main-nav .container,.navbar .container{min-height:76px}
  header .navbar-brand img,header .store-logo img,.logo img{max-height:64px!important}
  .s-user-menu-login-btn,.s-user-menu-trigger{
    width:38px!important;height:38px!important;min-width:38px!important
  }
  .s-user-menu-trigger-avatar,.s-user-menu-trigger-avatar-wrap,.s-user-menu-trigger img{
    width:36px!important;height:36px!important
  }
  .s-product-card-entry,.product-entry,.product-card{border-radius:18px!important}
  .banner-entry,.banner,.s-block--banners img,.home-slider img,.carousel-slider img{
    border-radius:18px!important
  }
}


/* =========================================================
   تحسين السلة + إتمام الدفع + تسجيل الدخول والحساب
   ========================================================= */

/* خلفيات الصفحات الداخلية */
.cart-page,.cart,.checkout,.checkout-page,.account-page,.profile-page,
.customer-account,.user-profile,.auth-page,.login-page,
main:has(salla-cart),main:has(salla-checkout){
  background:linear-gradient(180deg,#F6F1EA 0%,#F2ECE4 100%)!important;
}

/* بطاقات موحدة فاخرة */
.cart-item,.cart-product,.cart-summary,.cart-total-box,.checkout-section,
.checkout-summary,.order-summary,.payment-method,.shipping-method,
.address-card,.account-card,.profile-card,.auth-card,.login-card,
.s-cart-item,.s-cart-summary,.s-checkout-section,
.s-payment-method,.s-shipping-method{
  background:rgba(255,253,249,.96)!important;
  border:1px solid rgba(216,206,195,.95)!important;
  border-radius:20px!important;
  box-shadow:0 12px 34px rgba(46,41,38,.06)!important;
}

/* ========================= السلة ========================= */
salla-cart-summary{
  position:relative!important;
}
.s-cart-summary-wrapper,.s-cart-summary-trigger{
  min-width:44px!important;
  min-height:44px!important;
  border:1px solid rgba(181,118,74,.28)!important;
  background:#FFFDF9!important;
  border-radius:999px!important;
  box-shadow:0 8px 20px rgba(46,41,38,.05)!important;
  transition:.2s ease!important;
}
.s-cart-summary-wrapper:hover,.s-cart-summary-trigger:hover{
  border-color:var(--sutoo-copper)!important;
  transform:translateY(-1px)!important;
}
.s-cart-summary-wrapper svg,.s-cart-summary-trigger svg{
  color:var(--sutoo-charcoal)!important;
}
.s-cart-summary-count,.s-cart-summary-badge,.s-cart-summary-wrapper .s-badge{
  background:var(--sutoo-burgundy)!important;
  color:#fff!important;
  border:2px solid var(--sutoo-beige)!important;
  min-width:19px!important;
  height:19px!important;
  line-height:15px!important;
  font-size:10px!important;
  font-weight:800!important;
  border-radius:999px!important;
}

/* عناصر السلة */
.cart-item,.cart-product,.s-cart-item{
  padding:18px!important;
  margin-bottom:14px!important;
}
.cart-item img,.cart-product img,.s-cart-item img{
  border-radius:14px!important;
  background:#fff!important;
}
.cart-item h3,.cart-product h3,.s-cart-item h3,
.cart-item a,.cart-product a{
  color:var(--sutoo-charcoal)!important;
  font-weight:800!important;
}
.cart-item .price,.cart-product .price,.s-cart-item .price,
.cart-total,.cart-summary-total{
  color:var(--sutoo-burgundy)!important;
  font-weight:900!important;
}

/* كمية المنتج */
.quantity-input,.qty-input,.s-quantity-input,.cart-quantity,
.s-cart-item .s-quantity-input{
  border:1px solid var(--sutoo-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.quantity-input button,.qty-input button,.s-quantity-input button,
.cart-quantity button{
  background:#FBF7F2!important;
  color:var(--sutoo-charcoal)!important;
  border:0!important;
}
.quantity-input button:hover,.qty-input button:hover,.s-quantity-input button:hover{
  background:#F0E5DA!important;
  color:var(--sutoo-copper)!important;
}

/* ملخص السلة */
.cart-summary,.cart-total-box,.order-summary,.checkout-summary{
  padding:24px!important;
  position:relative!important;
}
.cart-summary h2,.cart-total-box h2,.order-summary h2,.checkout-summary h2{
  font-family:"Tajawal"!important;
  color:var(--sutoo-charcoal)!important;
  font-weight:900!important;
}
.cart-summary hr,.cart-total-box hr,.order-summary hr,.checkout-summary hr{
  border-color:var(--sutoo-line)!important;
}

/* زر إتمام الطلب من السلة */
.cart-summary .btn-primary,
.cart-total-box .btn-primary,
.cart-summary salla-button button,
.cart-total-box salla-button button,
a[href*="/checkout"].btn,
button[class*="checkout"]{
  min-height:56px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#B97C4D 0%,#A96B42 100%)!important;
  color:#fff!important;
  font-weight:900!important;
  box-shadow:0 14px 28px rgba(181,118,74,.20)!important;
}
.cart-summary .btn-primary:hover,
.cart-total-box .btn-primary:hover,
a[href*="/checkout"].btn:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 34px rgba(181,118,74,.25)!important;
}

/* ========================= إتمام الدفع ========================= */
.checkout,.checkout-page,.s-checkout{
  color:var(--sutoo-charcoal)!important;
}
.checkout h1,.checkout h2,.checkout h3,
.checkout-page h1,.checkout-page h2,.checkout-page h3,
.s-checkout h1,.s-checkout h2,.s-checkout h3{
  font-family:"Tajawal"!important;
  color:var(--sutoo-charcoal)!important;
  font-weight:900!important;
}
.checkout-section,.s-checkout-section{
  padding:24px!important;
  margin-bottom:18px!important;
}

/* خطوات الدفع */
.checkout-steps,.s-checkout-steps,.checkout-progress{
  background:transparent!important;
}
.checkout-step,.s-checkout-step{
  color:var(--sutoo-muted)!important;
}
.checkout-step.active,.s-checkout-step.active,
.checkout-step.is-active,.s-checkout-step.is-active{
  color:var(--sutoo-copper)!important;
  font-weight:800!important;
}

/* خيارات الشحن والدفع */
.payment-method,.shipping-method,.s-payment-method,.s-shipping-method,
.checkout .radio-card,.checkout .option-card{
  padding:16px!important;
  border:1px solid var(--sutoo-line)!important;
  border-radius:16px!important;
  background:#FFFDF9!important;
  transition:.2s ease!important;
}
.payment-method:hover,.shipping-method:hover,
.s-payment-method:hover,.s-shipping-method:hover{
  border-color:rgba(181,118,74,.55)!important;
  box-shadow:0 8px 22px rgba(46,41,38,.05)!important;
}
.payment-method.active,.shipping-method.active,
.payment-method.selected,.shipping-method.selected,
.s-payment-method.selected,.s-shipping-method.selected,
.checkout input[type="radio"]:checked + label{
  border-color:var(--sutoo-copper)!important;
  background:rgba(181,118,74,.06)!important;
  box-shadow:0 0 0 2px rgba(181,118,74,.08)!important;
}

/* زر تأكيد الطلب */
.checkout .btn-primary,.checkout-page .btn-primary,
.s-checkout .s-button-primary,
.checkout salla-button button,
.checkout-page salla-button button,
button[type="submit"][class*="order"],
button[type="submit"][class*="checkout"]{
  min-height:58px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#B97C4D,#A96B42)!important;
  color:#fff!important;
  font-weight:900!important;
  font-size:16px!important;
  box-shadow:0 15px 30px rgba(181,118,74,.22)!important;
}

/* ========================= تسجيل الدخول ========================= */
salla-login-modal{
  --color-primary:var(--sutoo-copper)!important;
}
salla-login-modal .s-modal-wrapper,
.s-login-modal,.login-modal,.auth-modal,
.s-modal-wrapper:has(.s-user-menu-login-btn){
  border-radius:24px!important;
  overflow:hidden!important;
}
.s-modal-body,.login-modal .modal-body,.auth-modal .modal-body{
  background:#FFFDF9!important;
}
salla-login-modal input,
.login-modal input,.auth-modal input,.login-page input{
  min-height:50px!important;
  border:1px solid var(--sutoo-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}
salla-login-modal input:focus,
.login-modal input:focus,.auth-modal input:focus,.login-page input:focus{
  border-color:var(--sutoo-copper)!important;
  box-shadow:0 0 0 3px rgba(181,118,74,.10)!important;
}
salla-login-modal button,
.login-modal button,.auth-modal button,.login-page button{
  border-radius:12px!important;
}
salla-login-modal .s-button-primary,
.login-modal .btn-primary,.auth-modal .btn-primary,.login-page .btn-primary{
  background:var(--sutoo-copper)!important;
  color:#fff!important;
  font-weight:800!important;
}

/* ========================= الحساب ========================= */
.s-user-menu-login-btn,.s-user-menu-trigger{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  border-radius:999px!important;
  background:#FFFDF9!important;
  border:1px solid rgba(181,118,74,.30)!important;
  box-shadow:0 8px 20px rgba(46,41,38,.05)!important;
  transition:.2s ease!important;
}
.s-user-menu-login-btn:hover,.s-user-menu-trigger:hover{
  border-color:var(--sutoo-copper)!important;
  transform:translateY(-1px)!important;
}
.s-user-menu-login-btn svg,.s-user-menu-trigger svg{
  color:var(--sutoo-charcoal)!important;
}
.s-user-menu-wrapper,.s-user-menu-menu,.s-user-menu-dropdown{
  border-radius:18px!important;
  border:1px solid var(--sutoo-line)!important;
  background:#FFFDF9!important;
  box-shadow:0 18px 42px rgba(46,41,38,.12)!important;
  overflow:hidden!important;
}
.s-user-menu-wrapper a,.s-user-menu-wrapper button,
.s-user-menu-menu a,.s-user-menu-menu button,
.s-user-menu-dropdown a,.s-user-menu-dropdown button{
  color:var(--sutoo-charcoal)!important;
  border-radius:10px!important;
}
.s-user-menu-wrapper a:hover,.s-user-menu-wrapper button:hover,
.s-user-menu-menu a:hover,.s-user-menu-menu button:hover,
.s-user-menu-dropdown a:hover,.s-user-menu-dropdown button:hover{
  background:rgba(181,118,74,.08)!important;
  color:var(--sutoo-burgundy)!important;
}

/* صفحات الحساب */
.account-page,.profile-page,.customer-account,.user-profile{
  color:var(--sutoo-charcoal)!important;
}
.account-page h1,.account-page h2,.profile-page h1,.profile-page h2,
.customer-account h1,.customer-account h2{
  font-family:"Tajawal"!important;
  font-weight:900!important;
}
.account-card,.profile-card,.customer-account .card{
  padding:22px!important;
}

/* رسائل النجاح والتنبيه */
.alert-success,.s-alert-success,.success-message{
  background:#F4F1E9!important;
  border-color:#C7B78B!important;
  color:#5C543E!important;
  border-radius:14px!important;
}
.alert-danger,.s-alert-danger,.error-message{
  border-radius:14px!important;
}

/* الجوال */
@media(max-width:700px){
  .cart-item,.cart-product,.s-cart-item,
  .cart-summary,.cart-total-box,.checkout-section,.s-checkout-section,
  .account-card,.profile-card{
    border-radius:16px!important;
    padding:16px!important;
  }

  .s-user-menu-login-btn,.s-user-menu-trigger,
  .s-cart-summary-wrapper,.s-cart-summary-trigger{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }

  .checkout .btn-primary,.checkout-page .btn-primary,
  .cart-summary .btn-primary,.cart-total-box .btn-primary,
  a[href*="/checkout"].btn{
    width:100%!important;
    min-height:54px!important;
  }
}



/* =========================================================
   تحسينات إضافية بطلب المستخدم
   - تكبير ووضوح خيارات الكمية وأزرار الشراء
   - تحسين التوافق مع الجوال
   - تصغير خانة البحث بالجوال
   - إظهار الشعار بشكل أوضح وأكبر بالجوال
   ========================================================= */

/* ===== صفحة المنتج: الخيارات والكمية والأزرار ===== */
.product-form,
.product-single__info,
.s-product-form,
.s-product-info{
  gap:18px!important;
}

.product-option,
.s-product-options-wrapper,
.product-quantity,
.s-quantity-wrapper{
  margin-bottom:16px!important;
}

.product-option label,
.s-product-options-wrapper label,
.product-form label,
.s-product-form label{
  font-size:15px!important;
  font-weight:800!important;
  color:var(--sutoo-charcoal)!important;
}

.product-option select,
.s-product-options-wrapper select,
.product-form select,
.s-product-form select,
select[name*="option"],
select[name*="quantity"]{
  min-height:58px!important;
  padding:0 18px!important;
  font-size:18px!important;
  font-weight:700!important;
  border:1px solid rgba(181,118,74,.35)!important;
  border-radius:16px!important;
  background:#FFFDF9!important;
  color:var(--sutoo-charcoal)!important;
  box-shadow:0 6px 18px rgba(46,41,38,.04)!important;
}

.product-option select:focus,
.s-product-options-wrapper select:focus,
.product-form select:focus,
.s-product-form select:focus{
  border-color:var(--sutoo-copper)!important;
  box-shadow:0 0 0 4px rgba(181,118,74,.10)!important;
}

/* عداد الكمية */
.quantity-input,
.qty-input,
.s-quantity-input,
.cart-quantity,
.product-quantity .quantity-input,
.product-quantity .qty-input,
.s-product-quantity .s-quantity-input{
  min-height:62px!important;
  border:1px solid rgba(181,118,74,.34)!important;
  border-radius:18px!important;
  background:#FFFDF9!important;
  box-shadow:0 8px 22px rgba(46,41,38,.05)!important;
  overflow:hidden!important;
}

.quantity-input input,
.qty-input input,
.s-quantity-input input,
.cart-quantity input,
.product-quantity input{
  font-size:22px!important;
  font-weight:900!important;
  color:var(--sutoo-charcoal)!important;
  min-width:58px!important;
}

.quantity-input button,
.qty-input button,
.s-quantity-input button,
.cart-quantity button,
.product-quantity button{
  min-width:58px!important;
  min-height:58px!important;
  font-size:34px!important;
  font-weight:500!important;
  color:var(--sutoo-charcoal)!important;
  background:#F7F1EA!important;
  border:0!important;
  transition:.2s ease!important;
}

.quantity-input button:hover,
.qty-input button:hover,
.s-quantity-input button:hover,
.cart-quantity button:hover,
.product-quantity button:hover{
  background:#EFE4D8!important;
  color:var(--sutoo-copper)!important;
}

/* أزرار صفحة المنتج */
.product-form .btn,
.product-form .btn-primary,
.product-form .btn-secondary,
.s-product-form .btn,
.s-product-form .btn-primary,
.s-product-form .btn-secondary,
.product-page .btn,
.product-single .btn,
button[name="add"],
button[name="buy_now"],
button[data-testid*="add"],
button[data-testid*="buy"]{
  min-height:62px!important;
  border-radius:16px!important;
  font-size:24px!important;
  font-weight:900!important;
  padding:0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  box-shadow:0 12px 28px rgba(46,41,38,.06)!important;
}

.product-form .btn-primary,
.s-product-form .btn-primary,
button[name="add"],
button[data-testid*="add"]{
  background:linear-gradient(180deg,#B97C4D 0%,#A96B42 100%)!important;
  border:1px solid var(--sutoo-copper)!important;
  color:#fff!important;
}

.product-form .btn-secondary,
.s-product-form .btn-secondary,
button[name="buy_now"],
button[data-testid*="buy"]{
  background:#FFFDF9!important;
  border:1.5px solid var(--sutoo-copper)!important;
  color:var(--sutoo-copper)!important;
}

.product-form .btn:hover,
.s-product-form .btn:hover,
.product-page .btn:hover,
.product-single .btn:hover{
  transform:translateY(-1px)!important;
}

/* ===== الهيدر بالجوال ===== */
@media(max-width:700px){
  /* مساحة الهيدر */
  header .container,
  .main-nav .container,
  .navbar .container{
    min-height:82px!important;
    position:relative!important;
  }

  /* الشعار أكبر وواضح بالنص */
  header .navbar-brand,
  .main-nav .navbar-brand,
  header .store-logo,
  .logo{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    z-index:5!important;
  }

  header .navbar-brand img,
  header .store-logo img,
  .logo img{
    max-height:74px!important;
    width:auto!important;
    object-fit:contain!important;
  }

  /* لو الشعار نصي */
  .logo,
  .navbar-brand{
    max-width:150px!important;
    text-align:center!important;
  }

  /* تصغير البحث أعلى اليسار */
  .header-search,
  .search-block,
  .search-form,
  .search-container,
  input.s-search-input,
  header input[type="search"],
  header input[type="text"]{
    max-width:150px!important;
    width:150px!important;
    min-width:150px!important;
    height:42px!important;
    min-height:42px!important;
    border-radius:14px!important;
    font-size:15px!important;
    padding-inline:14px 40px!important;
  }

  .search-block svg,
  .search-form svg,
  .search-container svg{
    width:18px!important;
    height:18px!important;
  }

  /* نضمن أن البحث يبقى يسار */
  .header-search,
  .search-block,
  .search-form,
  .search-container{
    margin-left:0!important;
    margin-right:auto!important;
  }

  /* أيقونات الحساب والسلة متناسقة */
  .s-user-menu-login-btn,
  .s-user-menu-trigger,
  .s-cart-summary-wrapper,
  .s-cart-summary-trigger{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
  }

  .s-user-menu-trigger-avatar,
  .s-user-menu-trigger-avatar-wrap,
  .s-user-menu-trigger img{
    width:36px!important;
    height:36px!important;
  }

  /* أزرار المنتج بالجوال */
  .product-form .btn,
  .product-form .btn-primary,
  .product-form .btn-secondary,
  .s-product-form .btn,
  .s-product-form .btn-primary,
  .s-product-form .btn-secondary,
  .product-page .btn,
  .product-single .btn,
  button[name="add"],
  button[name="buy_now"],
  button[data-testid*="add"],
  button[data-testid*="buy"]{
    width:100%!important;
    min-height:58px!important;
    font-size:21px!important;
  }

  .quantity-input,
  .qty-input,
  .s-quantity-input,
  .cart-quantity,
  .product-quantity .quantity-input,
  .product-quantity .qty-input,
  .s-product-quantity .s-quantity-input{
    min-height:58px!important;
  }

  .quantity-input button,
  .qty-input button,
  .s-quantity-input button,
  .cart-quantity button,
  .product-quantity button{
    min-width:52px!important;
    min-height:54px!important;
    font-size:30px!important;
  }

  .quantity-input input,
  .qty-input input,
  .s-quantity-input input,
  .cart-quantity input,
  .product-quantity input{
    font-size:20px!important;
  }

  .product-option select,
  .s-product-options-wrapper select,
  .product-form select,
  .s-product-form select{
    min-height:54px!important;
    font-size:17px!important;
  }
}

/* تابلت */
@media(min-width:701px) and (max-width:1024px){
  .product-form .btn,
  .product-form .btn-primary,
  .product-form .btn-secondary,
  .s-product-form .btn,
  .s-product-form .btn-primary,
  .s-product-form .btn-secondary{
    min-height:60px!important;
    font-size:22px!important;
  }

  .product-option select,
  .s-product-options-wrapper select{
    min-height:56px!important;
    font-size:17px!important;
  }
}


/* =========================================================
   V3 MOBILE FIX
   1) نقل الحساب والسلة لليسار بعيداً عن الشعار
   2) إزالة أي نص/صورة إضافية تحت أيقونة الحساب
   3) ترتيب السجل التجاري والرقم الضريبي في الفوتر
   ========================================================= */

@media(max-width:700px){

  /* ---------- الهيدر: الشعار بالنصف ---------- */
  header .container,
  .main-nav .container,
  .navbar .container{
    position:relative!important;
    min-height:84px!important;
  }

  header .navbar-brand,
  .main-nav .navbar-brand,
  header .store-logo{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    z-index:5!important;
  }

  header .navbar-brand img,
  header .store-logo img{
    max-height:74px!important;
    width:auto!important;
    object-fit:contain!important;
  }

  /* ---------- الحساب + السلة: أقصى اليسار ---------- */
  header salla-cart-summary,
  header salla-user-menu{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:15!important;
    margin:0!important;
  }

  /* السلة أول عنصر من اليسار */
  header salla-cart-summary{
    left:14px!important;
    right:auto!important;
  }

  /* الحساب بجانب السلة */
  header salla-user-menu{
    left:62px!important;
    right:auto!important;
  }

  /* شكل الأيقونتين */
  header .s-cart-summary-wrapper,
  header .s-cart-summary-trigger,
  header .s-user-menu-login-btn,
  header .s-user-menu-trigger{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    padding:0!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#FFFDF9!important;
    border:1px solid rgba(181,118,74,.30)!important;
    box-shadow:0 6px 16px rgba(46,41,38,.05)!important;
  }

  /* إخفاء أي اسم/وصف أسفل الحساب */
  header .s-user-menu-trigger-content,
  header .s-user-menu-trigger-text,
  header .s-user-menu-title,
  header .s-user-menu-wrapper small,
  header salla-user-menu small,
  header .s-user-menu-trigger > span:not(.s-user-menu-trigger-avatar-wrap),
  header .s-user-menu-login-btn + *{
    display:none!important;
  }

  /* صورة الحساب */
  header .s-user-menu-trigger-avatar-wrap{
    width:36px!important;
    height:36px!important;
    border-radius:999px!important;
    overflow:hidden!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  header .s-user-menu-trigger-avatar,
  header .s-user-menu-trigger img{
    width:36px!important;
    height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
    border-radius:999px!important;
    object-fit:cover!important;
    margin:0!important;
    display:block!important;
  }

  /* شارة عدد السلة */
  header .s-cart-summary-count,
  header .s-cart-summary-badge,
  header .s-cart-summary-wrapper .s-badge{
    position:absolute!important;
    top:-5px!important;
    right:-4px!important;
    left:auto!important;
    z-index:3!important;
  }

  /* ---------- الفوتر: السجل التجاري والرقم الضريبي ---------- */
  footer [class*="tax"],
  footer [class*="vat"],
  footer [class*="commercial"],
  footer [class*="registration"],
  .store-footer [class*="tax"],
  .store-footer [class*="vat"],
  .store-footer [class*="commercial"],
  .store-footer [class*="registration"]{
    text-align:center!important;
  }

  /* الحاويات التي تجمع بيانات التوثيق */
  footer [class*="business"],
  footer [class*="certificate"],
  footer [class*="store-info"],
  footer [class*="tax-number"],
  .store-footer [class*="business"],
  .store-footer [class*="certificate"],
  .store-footer [class*="store-info"],
  .store-footer [class*="tax-number"]{
    max-width:100%!important;
  }

  /* الصور الرسمية مثل شهادة/أيقونة السجل */
  footer [class*="tax"] img,
  footer [class*="vat"] img,
  footer [class*="commercial"] img,
  footer [class*="registration"] img,
  footer [class*="business"] img,
  .store-footer [class*="tax"] img,
  .store-footer [class*="vat"] img,
  .store-footer [class*="commercial"] img,
  .store-footer [class*="registration"] img,
  .store-footer [class*="business"] img{
    width:auto!important;
    max-width:74px!important;
    max-height:74px!important;
    height:auto!important;
    object-fit:contain!important;
    margin:0 auto 8px!important;
    display:block!important;
  }

  /* أرقام السجل والضريبة */
  footer [class*="tax"] strong,
  footer [class*="vat"] strong,
  footer [class*="commercial"] strong,
  footer [class*="registration"] strong,
  footer [class*="tax"] b,
  footer [class*="vat"] b,
  footer [class*="commercial"] b,
  footer [class*="registration"] b,
  .store-footer [class*="tax"] strong,
  .store-footer [class*="vat"] strong,
  .store-footer [class*="commercial"] strong,
  .store-footer [class*="registration"] strong{
    display:block!important;
    direction:ltr!important;
    unicode-bidi:plaintext!important;
    text-align:center!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.5!important;
    color:var(--sutoo-charcoal)!important;
    margin-top:4px!important;
  }

  /* ترتيب بيانات الفوتر بشكل بطاقات صغيرة إن كانت داخل Flex/Grid */
  footer .store-footer__inner [class*="tax"],
  footer .store-footer__inner [class*="commercial"],
  footer .store-footer__inner [class*="registration"],
  .store-footer__inner [class*="tax"],
  .store-footer__inner [class*="commercial"],
  .store-footer__inner [class*="registration"]{
    width:100%!important;
    padding:14px!important;
    border:1px solid rgba(216,206,195,.85)!important;
    border-radius:14px!important;
    background:rgba(255,253,249,.48)!important;
    margin:8px 0!important;
  }

  /* منع التفاف الرقم بطريقة قبيحة */
  footer [class*="tax"],
  footer [class*="commercial"],
  footer [class*="registration"],
  .store-footer [class*="tax"],
  .store-footer [class*="commercial"],
  .store-footer [class*="registration"]{
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
}

/* شاشة جوال صغيرة جداً */
@media(max-width:380px){
  header salla-cart-summary{left:10px!important}
  header salla-user-menu{left:54px!important}

  header .s-cart-summary-wrapper,
  header .s-cart-summary-trigger,
  header .s-user-menu-login-btn,
  header .s-user-menu-trigger{
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
  }

  header .s-user-menu-trigger-avatar-wrap,
  header .s-user-menu-trigger-avatar,
  header .s-user-menu-trigger img{
    width:33px!important;
    height:33px!important;
  }

  header .navbar-brand img,
  header .store-logo img{
    max-height:68px!important;
  }
}

/* ===== إصلاح هيدر الصفحات الداخلية — سطوع ===== */
/* 1) شريط البحث كان يغطي شعار المتجر */
.store-header .search-bar,
#main-nav .search-bar{display:none!important;}

/* 2) تنسيق عناصر صفحة السلة كان يرسم مربعاً خلف أيقونة السلة في الهيدر */
header .cart-item,
.store-header .cart-item,
#main-nav .cart-item,
.header-btns-list .cart-item{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin-bottom:0!important;
}