/* Add custom CSS styles below */

/* أتارا: تثبيت زر الشراء أسفل الشاشة في صفحة المنتج على الجوال (30 نوفمبر 2026)
   للإلغاء: احذف هذا الجزء كاملاً ثم احفظ. */
@media (max-width: 767px) {
  body.product-single section.addtocart-bar {
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    margin: 0 !important;
    background: #fff;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -6px 18px rgba(0,0,0,.08);
    border-top: 1px solid #eee;
    border-radius: 0 !important;
    display: grid !important;
    grid-template-columns: 96px 1fr;
    gap: 6px 8px !important;
    align-items: start;
  }
  body.product-single section.addtocart-bar > .center-between { width: auto !important; height: 44px; }
  body.product-single section.addtocart-bar salla-quantity-input { height: 44px !important; width: 96px !important; min-width: 0; }
  body.product-single section.addtocart-bar salla-quantity-input input { font-size: 15px; }
  body.product-single section.addtocart-bar salla-add-product-button { width: auto !important; min-width: 0; row-gap: 6px !important; gap: 6px !important; }
  body.product-single section.addtocart-bar .s-add-product-button-main { gap: 6px; }
  body.product-single section.addtocart-bar .s-add-product-button-main salla-button,
  body.product-single section.addtocart-bar .s-add-product-button-main .s-button-btn { height: 44px !important; }
  body.product-single section.addtocart-bar .s-button-btn { padding-left: .5rem !important; padding-right: .5rem !important; font-size: 13px; }
  body.product-single section.addtocart-bar salla-quick-buy { margin-top: 0 !important; }
  body.product-single section.addtocart-bar salla-quick-buy apple-pay-button { margin-top: 0 !important; height: 40px !important; --apple-pay-button-height: 40px; }
  body.product-single { padding-bottom: 130px !important; }
  body.product-single #wa-nera-widget-send-button { bottom: 140px !important; }
  body.product-single .progress-wrap { bottom: 200px !important; }
}

/* أتارا: تثبيت زر «إتمام الطلب» أسفل الشاشة في صفحة السلة على الجوال (30 نوفمبر 2026)
   للإلغاء: احذف هذا الجزء كاملاً ثم احفظ. */
@media (max-width: 767px) {
  body.cart .cart-submit-wrap {
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    margin: 0 !important;
    background: #fff;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -6px 18px rgba(0,0,0,.08);
    border-top: 1px solid #eee;
  }
  body.cart .cart-submit-wrap #cart-submit,
  body.cart .cart-submit-wrap #cart-submit .s-button-btn { width: 100% !important; height: 48px !important; font-size: 15px; }
  body.cart { padding-bottom: 90px !important; }
  body.cart #wa-nera-widget-send-button { bottom: 100px !important; }
  body.cart .progress-wrap { display: none !important; }
  body.cart footer.store-footer-wrap { display: none !important; }
}