/* تنسيق صفحة اتصل بنا */
#altmez-contact-form {
  width: 100% !important;
  direction: rtl !important;
}

/* صندوق النموذج كامل */
.altmez-js-contact {
  max-width: 980px !important;
  margin: 40px auto !important;
  padding: 34px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 35px rgba(17, 24, 39, 0.08) !important;
  direction: rtl !important;
  text-align: right !important;
  font-family: inherit !important;
}

/* العناوين الرئيسية */
.altmez-js-contact h2 {
  position: relative !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 10px !important;
  color: #111827 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
}

.altmez-js-contact h2::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 52px !important;
  height: 4px !important;
  background: #c8a45d !important;
  border-radius: 50px !important;
}

/* عناوين الأسئلة */
.altmez-js-contact h3 {
  margin: 22px 0 8px 0 !important;
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
}

/* النصوص */
.altmez-js-contact p {
  margin: 0 0 16px 0 !important;
  color: #374151 !important;
  font-size: 15px !important;
  line-height: 2 !important;
}

/* روابط الهاتف والواتساب والبريد */
.altmez-js-contact a {
  color: #111827 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

.altmez-js-contact a:hover {
  color: #b8892e !important;
  text-decoration: underline !important;
}

/* القسم العلوي */
.altmez-contact-top-text {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px 34px !important;
  align-items: start !important;
}

/* كل بلوك نصي يظهر بشكل مرتب */
.altmez-contact-top-text h2,
.altmez-contact-top-text h3,
.altmez-contact-top-text p {
  grid-column: auto !important;
}

/* جعل الأسئلة تأخذ العرض كامل */
.altmez-contact-top-text h2:nth-of-type(4),
.altmez-contact-top-text h2:nth-of-type(4) ~ h3,
.altmez-contact-top-text h2:nth-of-type(4) ~ p {
  grid-column: 1 / -1 !important;
}

/* فاصل قبل النموذج */
.altmez-form-divider {
  height: 1px !important;
  margin: 34px 0 !important;
  background: linear-gradient(to left, transparent, #d1d5db, transparent) !important;
}

/* الحقول */
.altmez-js-field {
  margin-bottom: 18px !important;
}

.altmez-js-field label {
  display: block !important;
  margin-bottom: 8px !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

/* المدخلات */
.altmez-js-field input,
.altmez-js-field textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  background: #fafafa !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  font-family: inherit !important;
  direction: rtl !important;
  text-align: right !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.altmez-js-field textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

.altmez-js-field input:focus,
.altmez-js-field textarea:focus {
  background: #ffffff !important;
  border-color: #c8a45d !important;
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.16) !important;
}

/* زر الإرسال */
#altmez_send_btn {
  width: auto !important;
  min-width: 190px !important;
  min-height: 52px !important;
  padding: 14px 34px !important;
  background: #111827 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18) !important;
  transition: all 0.2s ease !important;
}

#altmez_send_btn:hover {
  background: #c8a45d !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

#altmez_send_btn:disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* رسالة الحالة */
#altmez_status {
  margin-top: 16px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #f9fafb !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.8 !important;
}

/* تحسين شكل النصوص الطويلة */
.altmez-js-contact strong {
  font-weight: 900 !important;
}

/* الجوال */
@media (max-width: 768px) {
  .altmez-js-contact {
    margin: 24px auto !important;
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .altmez-contact-top-text {
    display: block !important;
  }

  .altmez-js-contact h2 {
    font-size: 21px !important;
    margin-top: 22px !important;
  }

  .altmez-js-contact h3 {
    font-size: 16px !important;
  }

  .altmez-js-contact p {
    font-size: 14px !important;
  }

  #altmez_send_btn {
    width: 100% !important;
  }
}





















/* =====================================================
   Altmez Plus Custom Identity
   تغيير بنية الموقع بصريًا ليظهر فريد وغير مكرر
===================================================== */

/* أساس الموقع */
body {
  background:
    radial-gradient(circle at top right, rgba(200,164,93,0.14), transparent 32%),
    linear-gradient(180deg, #faf8f3 0%, #f4f1ea 100%) !important;
  color: #111827 !important;
  font-family: Tahoma, Arial, sans-serif !important;
  line-height: 1.9 !important;
}

/* عرض الحاويات */
.container,
.s-container {
  max-width: 1220px !important;
}

/* الهيدر */
header,
.store-header,
#site-header-outer,
.site-header {
  background: rgba(255,255,255,0.96) !important;
  border-bottom: 1px solid rgba(17,24,39,0.08) !important;
  box-shadow: 0 10px 30px rgba(17,24,39,0.07) !important;
}

/* الشعار */
.navbar-brand img,
.theme-logo img,
.store-logo img {
  max-height: 62px !important;
  border-radius: 16px !important;
  padding: 4px !important;
  background: #ffffff !important;
}

/* القائمة */
header a,
.site-header a,
.main-nav a,
.nav-desktop a,
.navbar a {
  color: #111827 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

header a:hover,
.site-header a:hover,
.main-nav a:hover,
.nav-desktop a:hover {
  color: #b8892e !important;
}

/* شريط التصنيفات / القائمة الأفقية */
.header-block,
.header-block--nav-wrapper,
.hero {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 20px rgba(17,24,39,0.04) !important;
}

/* البحث */
salla-search,
.form--search,
.header-search {
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* صفحة المنتج */
.page--product-details,
.product-single,
.product-details,
.s-product {
  background: transparent !important;
}

/* صندوق تفاصيل المنتج */
.product-details__info,
.main-content,
.product-details,
.product-single .container > .row,
.container--product-details {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 28px !important;
  padding: 26px !important;
  box-shadow: 0 16px 38px rgba(17,24,39,0.08) !important;
}

/* صورة المنتج */
.product-details__slider,
.details-slider,
.image-slider,
.splide-images-wrapper,
.splide--images,
.swiper-slide,
.homeslider__slide {
  background: #f5f2eb !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(200,164,93,0.22) !important;
  box-shadow: 0 16px 38px rgba(17,24,39,0.08) !important;
}

.product-details__slider img,
.details-slider img,
.homeslider__slide img,
.product-details img {
  border-radius: 24px !important;
  object-fit: contain !important;
}

/* عنوان المنتج */
.product-details__title .title,
.product-main-title,
h1,
h2.title {
  color: #111827 !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
  letter-spacing: -0.2px !important;
}

/* خط ذهبي تحت عنوان المنتج */
.product-details__title .title::after,
.product-main-title::after,
.product-details__info h2.title::after {
  content: "" !important;
  display: block !important;
  width: 70px !important;
  height: 4px !important;
  margin-top: 12px !important;
  background: #c8a45d !important;
  border-radius: 50px !important;
}

/* السعر */
.price-wrapper-info,
.price-wrapper,
.product-main-price {
  background: #faf7ef !important;
  border: 1px solid rgba(200,164,93,0.28) !important;
  border-radius: 18px !important;
  padding: 12px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.price-wrapper-info span,
.price-wrapper span,
.product-main-price span,
.total-price {
  color: #b8892e !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

/* المتبقي */
.purchase-hot-wrapper,
.sold-q-or-remained_wrapper,
.bg-grey {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 20px rgba(17,24,39,0.04) !important;
}

.purchase-hot,
.remained-q-wrapper,
.purchase-hot span,
.remained-q-wrapper span {
  color: #111827 !important;
  font-weight: 800 !important;
}

/* وصف المنتج */
.article--product-details,
.product__description,
.product-description,
.article--main {
  background: #fbfaf7 !important;
  border: 1px solid rgba(200,164,93,0.25) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  color: #374151 !important;
  line-height: 2.1 !important;
}

/* أقسام السعر والخيارات */
.product-section,
.product-section--totals,
.product-actions,
.sticky-product-bar {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 20px !important;
  padding: 18px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 8px 22px rgba(17,24,39,0.05) !important;
}

/* حقول الكمية */
salla-quantity-input,
.qty-wrapper {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* زر إضافة للسلة */
salla-add-product-button,
.s-add-product-button-main,
button[type="submit"],
.btn--add-to-cart {
  background: #111827 !important;
  color: #ffffff !important;
  border-radius: 18px !important;
  font-weight: 900 !important;
  border: none !important;
  box-shadow: 0 12px 26px rgba(17,24,39,0.20) !important;
  transition: all 0.2s ease !important;
}

salla-add-product-button:hover,
button[type="submit"]:hover,
.btn--add-to-cart:hover {
  background: #c8a45d !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* بطاقات المنتجات في الرئيسية والتصنيفات */
.s-product-card-entry,
.product-entry,
.product-card,
.custom-salla-product-card,
salla-product-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 28px rgba(17,24,39,0.07) !important;
  transition: all 0.25s ease !important;
}

.s-product-card-entry:hover,
.product-entry:hover,
.product-card:hover,
salla-product-card:hover {
  transform: translateY(-6px) !important;
  border-color: #c8a45d !important;
  box-shadow: 0 20px 42px rgba(17,24,39,0.12) !important;
}

/* صور البطاقات */
.s-product-card-image,
.product-card__image,
.product-entry__image {
  background: #f4f1ea !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

/* أسماء المنتجات */
.s-product-card-content-title,
.product-title,
.product-entry__title {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.8 !important;
}

/* أسعار البطاقات */
.s-product-card-price,
.product-price,
.price {
  color: #b8892e !important;
  font-weight: 900 !important;
}

/* عناوين الأقسام */
.s-block__title,
.section-title,
.products-section-title,
.title--primary,
footer .title {
  color: #111827 !important;
  font-weight: 900 !important;
}

.s-block__title::after,
.section-title::after,
.title--primary::after {
  content: "" !important;
  display: block !important;
  width: 58px !important;
  height: 4px !important;
  background: #c8a45d !important;
  border-radius: 50px !important;
  margin-top: 10px !important;
}

/* الفوتر */
footer,
.footer,
.store-footer {
  background: #f1f1ef !important;
  color: #111827 !important;
  border-top: 1px solid #e5e7eb !important;
  padding-top: 45px !important;
}

footer h3,
footer h4,
footer .title,
.store-footer h3,
.store-footer h4 {
  color: #111827 !important;
  font-weight: 900 !important;
}

footer p,
footer span,
footer li,
footer a,
.store-footer p,
.store-footer span,
.store-footer li,
.store-footer a {
  color: #111827 !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.9 !important;
}

footer a:hover,
.store-footer a:hover {
  color: #b8892e !important;
}

/* وسائل الدفع */
.footer-list--payment-methods li,
.payments-wrapper li {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 4px 8px !important;
  margin: 4px !important;
}

/* إخفاء محفظة العميل ومحفظة محلي فقط */
footer li:has(img[alt="customer_wallet"]),
footer li:has(img[alt="mahally_customer_wallet"]) {
  display: none !important;
}

/* النماذج */
input,
textarea,
select {
  background: #ffffff !important;
  color: #111827 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #c8a45d !important;
  box-shadow: 0 0 0 4px rgba(200,164,93,0.16) !important;
  outline: none !important;
}

/* صفحة اتصل بنا */
.altmez-js-contact {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 26px !important;
  padding: 34px !important;
  box-shadow: 0 16px 38px rgba(17,24,39,0.08) !important;
}

/* الجوال */
@media (max-width: 768px) {
  body {
    background: #faf8f3 !important;
  }

  .container,
  .s-container {
    width: 94% !important;
  }

  .product-details__info,
  .main-content,
  .product-details,
  .container--product-details {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .product-details__slider,
  .details-slider,
  .image-slider,
  .splide-images-wrapper {
    border-radius: 22px !important;
  }

  .price-wrapper-info span,
  .price-wrapper span,
  .product-main-price span,
  .total-price {
    font-size: 19px !important;
  }

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

  .footer-list,
  footer ul {
    padding: 0 !important;
    text-align: center !important;
  }

  .altmez-js-contact {
    padding: 20px !important;
    border-radius: 20px !important;
  }
}