@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;600;700&display=swap');
:root {
  --primary-font: 'Cairo', sans-serif;
  --primary-color: #825e47;      /* البني الأساسي الجديد */
  --secondary-color: #e8dac8;    /* البيج الدافئ */
  --accent-color: #715c49;       /* البني الداكن */
  --text-color: #2c2c2c;         /* لون النص الأساسي */
  --text-light: #7b7b7b;         /* لون النص الثانوي */
  --light-bg: #f1efe7;           /* الخلفية الفاتحة */
  --white: #ffffff;
  --border-radius: 10px;
  --transition: all 0.3s ease;
  --soft-gradient: radial-gradient(circle at 50% 50%, #f1efe7 0%, #e8dac8 55%, #e8dac8 100%);
}

/* ============================================ */
/* تباعدات متناسقة */
.section-content {
    margin-bottom: 4rem;
}

/* عناوين الأقسام */
.widget-header h2,
.widget-title,
.product_title {
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 1.8rem;
}

/* تحسينات عامة */
body {
  font-family: var(--primary-font) !important;
  color: var(--text-color);
  line-height: 1.6;
}

/* ... باقي الكود كما هو ... */

/* تباعدات متناسقة */
.section-content {
    margin-bottom: 4rem;
}

/* عناوين الأقسام */
.widget-header h2,
.widget-title,
.product_title {
    font-weight: 700;
    letter-spacing: -0.02em;
    position: relative;
    margin-bottom: 1.8rem;
}


/* تحسينات عامة */
body {
  font-family: var(--primary-font) !important;
  color: var(--text-color);
  line-height: 1.6;
}

/* تحسين التنقل والقوائم */
.menu--product-categories {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.menu--product-categories .menu__toggle .menu__toggle-title,
.menu--product-categories .menu__toggle .svg-icon {
  color: var(--white);
}

.menu > li.current-menu-item a {
  color: var(--text-color);
  font-weight: 600;
}

.menu > li > a {
  padding: 0.9rem 0.5rem;
  transition: var(--transition);
}

.menu > li > a:hover {
  color: var(--secondary-color);
}

.sub-menu > li > a {
  text-align: right;
}

/* تحسين الهيدر */
.header .header-item-counter {
  color: var(--white);
  background-color: var(--secondary-color);
}

.header .header-middle .header__left .logo a img {
  width: 185px;
  height: auto;
  max-height: 83px;
}

.header .header-middle .header-wrapper {
  padding: 31px 0;
  background: linear-gradient(180deg, rgba(241,239,231,0.55) 0%, rgba(255,255,255,0) 100%);
}

/* تحسين الفوتر */
#footer {
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

#footer .subscribe-form .input-group .input-group-text {
  background-color: var(--white);
}

#footer .subscribe-form button {
  color: var(--white);
}

.footer-socials p {
  color: var(--white);
}

.footer-socials-container ul li a {
  background: rgba(45, 45, 45, 0.8);
  transition: var(--transition);
}

.footer-socials-container ul li a:hover {
  background: var(--secondary-color);
}

/* تحسين المنتجات */
.product-inner .product__title a {
  color: var(--text-color);
  transition: var(--transition);
}

.product-inner .product__title a:hover {
  color: var(--secondary-color);
}

.product-price {
  color: var(--primary-color);
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
}

.product-price del {
  color: var(--text-light);
  font-size: 12px;
}

.product-inner .product-button .add-to-cart-button {
  background: linear-gradient(135deg, #825e47, #bb885b);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 15px;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(130, 94, 71, 0.25);
}

.product-inner .product-button .add-to-cart-button:hover {
  background: linear-gradient(135deg, #715c49, #825e47);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(130, 94, 71, 0.35);
}

/* تحسين الأزرار */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* تحسين العروض والتخفيضات */
.ribbons .ribbon,
.countdown-wrapper .header-countdown {
  background-color: var(--accent-color);  /* بني داكن #715c49 */
  color: var(--white);
}
/* ============================================
   Product Labels - ألوان مميزة وجذابة
   ============================================ */

/* شارة "تخفيض / Sale" */
.ribbons .ribbon.sale,
.ribbons .ribbon.onsale {
  background-color: #e83f3f !important;  /* أحمر جذاب */
  color: #ffffff !important;
}

/* شارة "جديد / New" */
.ribbons .ribbon.new {
  background-color: #8fae6b !important;  /* أخضر زيتي منعش */
  color: #ffffff !important;
}

/* شارة "مميز / Featured" */
.ribbons .ribbon.featured {
  background-color: #d4a76a !important;  /* برتقالي/ذهبي دافئ */
  color: #ffffff !important;
}

/* شارة "عرض محدود / Limited Offer" */
.ribbons .ribbon.limited {
  background-color: #c17a7a !important;  /* أحمر ترابي */
  color: #ffffff !important;
}

/* شارة "الأكثر مبيعاً / Best Seller" */
.ribbons .ribbon.bestseller {
  background-color: #4a90e2 !important;  /* أزرق جذاب */
  color: #ffffff !important;
}

/* شارة "نفذت الكمية / Out of Stock" */
.ribbons .ribbon.outofstock,
.stock.out-of-stock {
  background-color: #9e9e9e !important;  /* رمادي */
  color: #ffffff !important;
}

/* لأي شارة أخرى غير محددة - لون افتراضي مميز */
.ribbons .ribbon {
  background: linear-gradient(135deg, #e8dac8, #d4a76a) !important;
  color: #2c2c2c !important;
  font-weight: 600;
}

.ribbons .ribbon.featured {
  background-color: var(--primary-color);  /* بني أساسي #825e47 */
}

/* تحسين شرائح العرض */
.arrows-wrapper .slick-arrow {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 38px;
  font-size: 20px;
  transition: var(--transition);
}

.arrows-wrapper .slick-arrow:hover {
  background: var(--secondary-color) !important;
}

/* تحسين التصنيفات */
.widget-product-categories .product-categories-body .product-category-item .category-item-body {
  background-color: var(--white);
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.widget-product-categories .product-categories-body .product-category-item .category-item-body:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* تحسين الصور */
.img-fluid-eq .img-fluid-eq__wrap img {
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.img-fluid-eq .img-fluid-eq__wrap img:hover {
  opacity: 0.9;
}

.brand-item-body .img-fluid-eq__wrap img {
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
}

/* تحسين التنبيهات */
.toast.toast--success {
  background: linear-gradient(90deg, #e8dac8 0%, #825e47 100%);
  color: var(--white);
  border: 7px solid var(--white);
  font-size: 18px;
  border-radius: var(--border-radius);
}

.alert-warning {
  background: #f9eddc;
  border: 1px solid #dbd4c7;
  color: var(--text-color);
  border-radius: var(--border-radius);
}

/* تحسين صفحة المنتج */
.product_title {
  line-height: 2.3rem;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: var(--text-color);
}

.product-detail-container .product-details .product-entry-meta a,
.product-detail-container .meta-categories a {
  color: var(--accent-color);
  transition: var(--transition);
}

.product-detail-container .product-details .product-entry-meta a:hover,
.product-detail-container .meta-categories a:hover {
  color: var(--primary-color);
}

/* تحسين صفحة الدفع */
.payment-checkout-btn, 
.payment-checkout-btn-step,
.checkout__coupon-item-code button {
  background-color: var(--accent-color) !important;
  transition: var(--transition);
}

.payment-checkout-btn:hover {
  background-color: var(--primary-color) !important;
}

.checkout__coupon-list,
.address-item.is-default {
  border: 1px dashed var(--primary-color);
  border-radius: var(--border-radius);
}

.checkout__coupon-item-title h4,
.checkout__coupon-heading,
.address-item.is-default .default {
  color: var(--primary-color);
}

/* تحسين التصفية والترتيب */
.catalog-header__right .catalog-toolbar__ordering .dropdown .dropdown-toggle {
  text-align: right;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0 15px 0 35px;
}

/* تحسين الاستمارات */
.form-control {
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(187, 136, 91, 0.25);
}

/* تحسين التصفح على الجوال */
@media (max-width: 1199px) {
  .panel__header .close-toggle--sidebar,
  .panel__header h3,
  .header .header-middle .header__right .header__extra .svg-icon {
    color: var(--white);
  }
}

@media (max-width: 767px) {
  .product-categories-box .img-fluid-eq .img-fluid-eq__wrap img {
    width: 29vw;
  }
  
  .widget-product-categories .category__thumb .img-fluid-eq__dummy {
    margin-top: 45%;
  }
  
  .footer-mobile {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }
  
  .footer-mobile .menu--footer li a span {
    font-size: 13px;
    font-weight: 600;
    padding-top: 6px;
  }
}

/* تحسينات إضافية للتصفح على الشاشات الكبيرة */
@media (min-width: 1280px) {
  .container-xxxl {
    padding: 0 95px;
  }
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1415px;
  }
}

/* تحسينات للوصولية */
a:focus,
button:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* تحسينات للأداء */
.img-fluid-eq .img-fluid-eq__wrap img {
  transition: opacity 0.3s ease;
}

/* تحسينات للشريط الجانبي */
.panel__header {
  flex-direction: row-reverse;
}

/* تحسينات للعربة المصغرة */
.cart--mini .mini-cart-content .product-content .product-name a:hover {
  color: var(--primary-color);
}

/* تحسينات للبحث */
.bb-form-quick-search .bb-quick-search-item-info {
  flex: 1 1 auto;
  width: 60%;
}

/* تحسينات للأسعار الخاصة */
.text-green {
  color: var(--primary-color) !important;
}

.text-primary {
  color: var(--secondary-color) !important;
}

/* تحسينات للتذييل المتنقل */
.footer-mobile .menu--footer {
  padding: 5px 0;
}

/* تحسينات للشريط العلوي */
.header .header-top .header-info > ul > li a {
  font-size: 14px;
  transition: var(--transition);
}

.header .header-top .header-info > ul > li a:hover {
  color: var(--secondary-color);
}

/* تحسينات للشعار عند التمرير */
.header.header--sticky .header-middle .header__left .logo a img {
  width: 134px;
}

/* تحسينات للعناصر التفاعلية */
:not(.btn-check) + .btn:active {
  background-color: var(--primary-color);
}

/* تحسينات للروابط */
a {
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* تحسينات للعناصر النشطة */
.magic-radio:checked + label:before {
  border: 1px solid var(--accent-color) !important;
}

.magic-radio + label:after {
  background: var(--accent-color) !important;
}

/* تحسينات للكميات */
input[type=number] {
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 0.375rem 0.75rem;
}

/* تحسينات للعناوين */
.widget-title {
  margin-bottom: 10px !important;
  color: var(--text-color);
  font-weight: 700;
}

.site-info__item .site-info__title {
  letter-spacing: 0;
  color: var(--text-color);
  font-weight: 600;
}

.site-info__desc {
  color: var(--text-light);
}

/* تحسينات للشريط الجانبي للتسوق */
.catalog-filter-sidebar-content .widget-product-categories .widget-layered-nav-list ul .category-filter:last-child {
  padding-bottom: 20px;
}

/* تحسينات للزر العائم للواتساب */
.floating-wpp {
  z-index: 9999;
}

.floating-wpp .floating-wpp-button {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
}

/* تحسينات للشريط العلوي مع شريط الأدمن */
body.show-admin-bar:has(.section-content.section-content__slider) {
  background-color: #e3e6e6;
}

/* تحسينات للهوامش والمسافات */
.widget-header h2 {
  letter-spacing: -0.2px !important;
  margin-bottom: 1.5rem;
}

/* تحسينات للحدود */
.slick-slides-carousel .product-inner,
.product-inner:hover .product-bottom-box {
  border-color: transparent;
  background: transparent;
}

.product-inner:hover {
  border-color: transparent;
}

/* تحسينات للزر العودة للأعلى */
#back2top {
  display: none !important;
}

/* تحسينات للشريط الجانبي على الجوال */
@media (max-width: 1199px) {
  #menu-mobile.panel--sidebar.active .menu--mobile .sub-toggle .svg-icon {
    transform: rotate(90deg);
  }
}

/* تحسينات للبحث على الجوال */
@media (max-width: 1199px) {
  #search-mobile .search-inner-content .close-search-panel {
    color: var(--white);
    display: flex;
    font-size: 18px;
    line-height: 1;
    margin-left: 20px;
  }
}

/* تحسينات للصور في المعرض */
#product-quick-view-modal .product-gallery__wrapper .product-gallery__image .img-fluid-eq .img-fluid-eq__dummy {
  margin-top: 100%;
}

/* تحسينات للجدول في لوحة التحكم */
.customer-page .customer-dashboard-content tr td:nth-child(2) {
  direction: ltr;
}

/* تحسينات للزر في لوحة التحكم */
.customer-dashboard-content .btn.btn-primary {
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
}

/* تحسينات للروابط في الهيدر */
.header-top .header-info a[href*='https://elnomrosy.com/customer/overview'] {
  background: var(--secondary-color);
  padding: 7px 10px 8px;
  border-radius: 6px;
  margin: 0 5px;
  color: var(--white) !important;
  font-weight: bold;
  transition: var(--transition);
}

.header-top .header-info a[href*='https://elnomrosy.com/customer/overview']:hover {
  background-color: var(--primary-color);
}

/* تحسينات للعناصر المعطلة */
.btn-primary.disabled {
  background-color: #b6b6b6;
  border-color: #b6b6b6;
}

.btn-primary.btn-black.disabled {
  background-color: #000;
  color: var(--white);
}

/* تحسينات للخطوط */
.widget-description {
  font-size: 15px;
  padding-left: 30px;
  text-align: justify;
  font-weight: 300;
  line-height: 1.7;
}

/* تحسينات للهوامش الداخلية */
.form-checkout .list-group-item {
  padding: 15px;
  border-radius: var(--border-radius);
}

/* تحسينات للحدود الدائرية */
.product-categories-box .img-fluid-eq .img-fluid-eq__wrap img {
  object-fit: cover;
  border-radius: 50%;
  height: auto;
  width: 85%;
  transition: var(--transition);
}

.product-categories-box .img-fluid-eq .img-fluid-eq__wrap img:hover {
  transform: scale(1.05);
}

/* تحسينات للعناصر المنزلقة */
.slick-slide {
  outline: none;
}

/* تحسينات للظلال */
.product-inner,
.widget-product-categories .product-categories-body .product-category-item .category-item-body,
.auth-card {
  box-shadow: var(--soft-shadow);
  transition: var(--transition);
  border: 1px solid var(--soft-border);
}

.product-inner:hover,
.widget-product-categories .product-categories-body .product-category-item .category-item-body:hover,
.auth-card:hover {
  box-shadow: 0 12px 28px rgba(113, 92, 73, 0.14);
}

/* تحسينات للشريط الجانبي للتصفية */
.catalog-filter-sidebar-content {
  background: linear-gradient(180deg, rgba(241,239,231,0.55) 0%, var(--white) 100%);
  border-radius: var(--border-radius);
  padding: 20px;
  border: 1px solid var(--soft-border);
}

/* تحسينات للأيقونات */
.svg-icon {
  transition: var(--transition);
}

/* تحسينات للزر العائم للواتساب */
.floating-wpp .floating-wpp-button {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-wpp .floating-wpp-button:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

/* تحسينات للشعار */
.header .header-middle .header__left .logo a img {
  transition: var(--transition);
}

.header .header-middle .header__left .logo a img:hover {
  opacity: 0.9;
}

/* تحسينات للحدود الدائرية للأزرار */
.header .header-middle .header__center .form--quick-search .form-group--icon .product-category-label {
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.header .header-middle .header__center .form--quick-search button {
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

/* تحسينات للعناصر النشطة في القوائم */
.menu--dropdown > li:hover > a > .sub-toggle .svg-icon {
  transform: translateY(50%) rotate(270deg);
}

/* تحسينات للزر إغلاق الشريط الجانبي */
.panel__header .close-toggle--sidebar {
  transform: rotateY(180deg);
}

.mini-cart-content .panel__header .close-toggle--sidebar svg,
.panel--sidebar .panel__header .close-toggle--sidebar svg {
  transform: rotateY(0deg);
}

/* تحسينات للزر إضافة إلى السلة في العرض السريع */
#product-quick-view-modal .product-button .add-to-cart-button {
  width: 100%;
}

/* تحسينات للزر العودة إلى الأعلى */
#back2top.active {
  bottom: 85px;
}

#back2top {
  left: 12px;
}

/* تحسينات للعناوين في صفحة الشكر */
.thank-you i {
  color: var(--primary-color);
  padding-left: 10px;
  padding-right: 0;
}

/* تحسينات للزر في نموذج الإلغاء */
.customer-dashboard-content #modal-cancel-order .btn.btn-primary {
  padding: .5rem 1rem;
  margin-bottom: 0;
  border-radius: var(--border-radius);
}

/* تحسينات للجداول في صفحة السلة */
.cart_totals-table .text-green .price-current {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* تحسينات للزر في صفحة الدفع */
#checkout-form #main-checkout-product-info .btn.payment-checkout-btn.payment-checkout-btn-step {
  font-size: 18px;
  font-weight: bold;
  padding: 9px 33px 10px;
  border-radius: var(--border-radius);
}

/* تحسينات للروابط في لوحة التحكم */
.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/orders'],
.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/address'],
.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/edit-account'] {
  padding: 4px 10px 6px;
  margin: 5px;
  color: var(--white) !important;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  white-space: nowrap;
  transition: var(--transition);
}

.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/orders'] {
  background: var(--secondary-color);
}

.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/address'] {
  background: var(--primary-color);
}

.customer-dashboard-content .bb-customer-profile-info a[href*='https://elnomrosy.com/customer/edit-account'] {
  background: var(--secondary-color);
}

.customer-dashboard-content .bb-customer-profile-info a:hover {
  background-color: #313130 !important;
}

/* تحسينات للحقول في نماذج العناوين */
.customer-address-payment-form .address-form-wrapper input#address_name + label,
.customer-address-payment-form .address-form-wrapper input#address_address + label {
  background: var(--white);
  font-size: 12px;
  padding: 0 5px;
  top: -7px;
  right: 10px;
  color: var(--text-light);
}

/* تحسينات للبحث السريع */
.bb-form-quick-search .bb-quick-search-item {
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.bb-form-quick-search .bb-quick-search-item:hover {
  background-color: var(--light-bg);
}

/* تحسينات للزر في نموذج القسيمة */
.coupon-wrapper .apply-coupon-code {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  background: var(--accent-color);
  transition: var(--transition);
}

.coupon-wrapper .apply-coupon-code:hover {
  background: var(--primary-color);
}

.coupon-wrapper input {
  border-bottom-right-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

/* تحسينات للزر في نموذج التسجيل */
.auth-card form .btn-auth-submit svg {
  transform: rotate(180deg);
  margin-right: 4px;
}

/* تحسينات للزر في صفحة المنتج */
.product-details .product-button .quantity + .btn.btn-primary:disabled {
  background: #e6e6e6;
  color: var(--text-color);
}

/* تحسينات للزر في صفحة المراجعات */
.product-reviews-page .alert.alert-info,
.bb-customer-profile-wrapper .alert.alert-info {
  background: #f9eddc;
  border: 1px solid #dbd4c7;
  color: var(--text-color);
  border-radius: var(--border-radius);
}

/* تحسينات للزر في صفحة 404 */
.error-404.not-found img {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
}

/* تحسينات للزر في صفحة الدفع */
.list_payment_method .payment_bank_transfer_wrap.payment_collapse_wrap a u {
  color: var(--accent-color) !important;
  text-decoration: none;
}

/* تحسينات للزر في صفحة الطلبات */
.order-customer-info .order-customer-info-meta {
  color: var(--primary-color);
  font-weight: 600;
}

/* تحسينات للزر في صفحة الملف الشخصي */
.customer-dashboard-content .bb-customer-profile-info p {
  line-height: 47px;
}

/* تحسينات للزر في صفحة السلة */
.cart--mini .mini-cart-content .quantity .price-amount del {
  color: #9b9b9b;
}

/* تحسينات للزر في صفحة الدفع */
#main-checkout-product-info .total-text {
  color: var(--primary-color) !important;
  font-weight: 700;
}

/* تحسينات للزر في صفحة الدفع على الجوال */
@media (max-width: 750px) {
  .toastify.on.pe-5.toastify-right.toastify-bottom {
    bottom: auto !important;
    top: 90px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 575px) {
  .cart_totals-table .text-green .price-current {
    font-size: 1.25rem;
  }
  
  .auth-card .auth-card__header.card-header.p-5,
  .auth-card .auth-card__body.card-body.p-5 {
    padding: 1rem !important;
  }
  
  .arrows-top-right .arrows-wrapper {
    top: -39px;
  }
  
  .widget-header {
    margin-bottom: 0 !important;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1280px) {
  .cart_totals-table .text-green .price-current {
    font-size: 1.5rem;
  }
  
  #main-content .container-xl .widget-featured-brands .container-xxxl,
  #main-content .container-xl .widget-product-deals-day .container-xxxl {
    padding: 0;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات المتوسطة */
@media (min-width: 768px) and (max-width: 992px) {
  .product-detail-container .product-details-content {
    width: 100%;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 1024px) {
  .floating-wpp {
    bottom: 95px;
  }
  
  .sticky-atc-wrap {
    bottom: 68px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة جدًا */
@media (max-width: 430px) {
  .product-price {
    font-size: 12px;
  }
  
  .product-price del {
    font-size: 12px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 570px) {
  .product-price {
    font-size: 14px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 578px) {
  #footer .border-top .row-cols-2 > * {
    width: 100%;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 767px) {
  .product-detail-container .product-button .quantity {
    margin-bottom: 10px !important;
  }
  
  #product-quick-view-modal .product-detail-container .product-button .quantity {
    margin-bottom: 10px;
  }
  
  .cart-page-content .row.row-cols-lg-6.row-cols-md-4.row-cols-3.g-0.products-with-border > * {
    width: 50%;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 768px) {
  .product-gallery .product-gallery__variants .slick-arrow.slick-prev-arrow {
    right: auto;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 991px) {
  .shop-products-listing .product-inner {
    border: transparent;
  }
  
  .shop-products-listing {
    border: transparent;
  }
  
  .product-deals-day__body .slick-track {
    direction: ltr;
  }
  
  .product-deals-day__body .slick-track .product-details {
    direction: rtl;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الصغيرة */
@media (max-width: 1199px) {
  .header-items-mobile.header-items-mobile--center {
    justify-content: center;
  }
  
  .header .header-middle .header__right .header__extra .mini-product-cart-list .remove-cart-item .svg-icon {
    color: black;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1199px) {
  .arrows-wrapper .slick-arrow.slick-prev-arrow,
  .arrows-wrapper .slick-arrow.slick-next-arrow,
  .featured-brands__body .arrows-wrapper .slick-arrow.slick-next-arrow,
  .featured-brands__body .arrows-wrapper .slick-arrow.slick-prev-arrow,
  .product-categories-body .arrows-wrapper .slick-arrow.slick-next-arrow,
  .product-categories-body .arrows-wrapper .slick-arrow.slick-prev-arrow,
  .product-deals-day__body .arrows-wrapper .slick-arrow.slick-next-arrow,
  .product-deals-day__body .arrows-wrapper .slick-arrow.slick-prev-arrow {
    font-size: 28px;
  }
  
  body:has(.section-content.section-content__slider) .widget-featured-banners .featured-banner-item {
    margin: 0 !important;
  }
  
  .arrows-top-right .arrows-wrapper {
    top: -81px;
  }
  
  body.show-admin-bar .widget-featured-brands .featured-brands__body {
    padding-right: 1.5rem !important;
    padding-left: 0 !important;
  }
  
  .widget-header h2 {
    font-size: 2rem;
    padding-right: 0;
  }
  
  body.show-admin-bar .widget-featured-banners .row .col:first-child {
    padding-right: 0;
  }
  
  body.show-admin-bar .widget-featured-banners .row .col:last-child {
    padding-left: 0;
  }
  
  body.show-admin-bar:has(.section-content.section-content__slider) .ck-content .widget-products-with-category:has(+ p) {
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
  }
  
  .navigation__center .menu > li:hover > .sub-menu {
    padding: 10px 0;
  }
  
  .cart--mini:focus .cart__content {
    opacity: unset;
    transform: unset;
    visibility: unset;
  }
  
  .cart--mini .mini-cart-content ul.mini-product-cart-list {
    max-height: 50vh;
  }
  
  .widget-product-deals-day .container-xxxl .countdown-wrapper .row.header-countdown {
    background-color: var(--secondary-color);
    border-radius: 3px;
    color: var(--white);
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة جدًا */
@media (min-width: 1460px) {
  .menu > li > a {
    font-weight: 600;
    font-size: 16px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات المتوسطة */
@media only screen and (max-width: 1430px) and (min-width: 1370px) {
  .menu > li > a {
    font-size: 13px;
  }
}

@media only screen and (max-width: 1369px) and (min-width: 1315px) {
  .menu > li > a {
    font-size: 13px;
    padding: 5px !important;
  }
}

@media only screen and (max-width: 1314px) and (min-width: 1280px) {
  .menu > li > a {
    font-size: 12px;
    padding: 5px !important;
  }
}

@media only screen and (max-width: 1279px) and (min-width: 1202px) {
  .menu > li > a {
    font-size: 13px;
  }
}

@media only screen and (max-width: 1201px) and (min-width: 1200px) {
  .menu > li > a {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1199px) and (min-width: 1024px) {
  .footer-mobile {
    display: block;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1199px) and (max-width: 1650px) {
  #main-content .section-content__slider .container-xxxl .col-md-8 {
    padding-right: 0 !important;
  }
  
  #main-content .section-content__slider .container-xxxl .col-md-4 {
    padding-left: 0 !important;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1200px) {
  .menu--dropdown > li:hover > a > .sub-toggle .svg-icon {
    transform: translateY(50%) rotate(270deg);
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 992px) {
  .product-detail-container .product-details-content {
    width: 58.333333%;
    border-left: none;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 768px) {
  .text-md-start {
    text-align: right !important;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media screen and (max-width: 1024px) {
  #footer {
    margin-bottom: 72px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1199px) {
  .header--product .ps-product--header-sticky ul li {
    margin-left: 20px;
    margin-right: 0;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1280px) {
  #main-content .page-breadcrumbs .container-xl,
  #main-content .page-title .container,
  #main-content .container-xl {
    padding: 0 95px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1199px) {
  #main-content .page-breadcrumbs .container-xl,
  #main-content .page-title .container,
  #main-content .container-xl {
    max-width: 1650px;
    margin: 0 auto;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#main-content .page-breadcrumbs .container-xl,
#main-content .page-title .container,
#main-content .container-xl {
  padding: 0 15px;
  max-width: 1650px;
  margin: 0 auto;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.header .header-middle .header__left {
  padding-right: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-inner .product-bottom-box {
  position: static;
  border: transparent;
  border-top: transparent;
  display: flex;
  padding: 0;
  margin-top: 15px;
  width: 100%;
}

.product-inner .product-bottom-box .cart-form {
  width: 100%;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category-item-body .category__name {
  font-size: 16px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-detail-container .product-detail-tabs .nav .nav-link {
  text-align: right;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .slick-track .slick-slide > div {
  padding: 0 !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#footer .border-top {
  border-top: none !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.shop-products-listing__list .product-inner .product-details {
  padding-right: 30px;
  padding-left: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-product-attribute-swatch-list.visual-swatch span {
  transform: translate(50%, -50%) !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.header__extra.header-support {
  margin-left: 15px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category-item-body:hover {
  box-shadow: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.side-left .panel__header .panel__header-title {
  color: var(--white);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-logo a img {
  height: 90px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.form-checkout .text-center.text-md-start:has(a.text-info) {
  text-align: right !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.form-checkout .checkout-payment-title {
  margin-bottom: 15px;
  margin-top: 30px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.form-checkout .text-info,
.btn-open-coupon-form {
  color: var(--accent-color) !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.customer-address-payment-form:first-of-type a {
  color: var(--accent-color) !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.menu--mobile .sub-toggle .svg-icon {
  transform: rotate(180deg);
}

.menu--mobile .mega-menu .sub-toggle .svg-icon {
  transform: rotate(0deg);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#main-content {
  min-height: 320px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.billing-address-form-wrapper .form-control.is-invalid + .invalid-feedback + label,
.billing-address-form-wrapper .form-control.is-valid + .invalid-feedback + label,
.billing-address-form-wrapper .form-control:-webkit-autofill + label,
.billing-address-form-wrapper .form-control:not(:placeholder-shown):focus + label,
.billing-address-form-wrapper .form-control:not(:placeholder-shown):valid + label,
.billing-address-form-wrapper .form-input-wrapper.select--arrow label,
.customer-address-payment-form .form-control.is-invalid + .invalid-feedback + label,
.customer-address-payment-form .form-control.is-valid + .invalid-feedback + label,
.customer-address-payment-form .form-control:-webkit-autofill + label,
.customer-address-payment-form .form-control:not(:placeholder-shown):focus + label,
.customer-address-payment-form .form-control:not(:placeholder-shown):valid + label,
.customer-address-payment-form .form-input-wrapper.select--arrow label,
.customer-tax-information-form .form-control.is-invalid + .invalid-feedback + label,
.customer-tax-information-form .form-control.is-valid + .invalid-feedback + label,
.customer-tax-information-form .form-control:-webkit-autofill + label,
.customer-tax-information-form .form-control:not(:placeholder-shown):focus + label,
.customer-tax-information-form .form-control:not(:placeholder-shown):valid + label,
.customer-tax-information-form .form-input-wrapper.select--arrow label {
  left: unset;
  right: 10px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.billing-address-form-wrapper .form-input-wrapper label,
.customer-address-payment-form .form-input-wrapper label,
.customer-tax-information-form .form-input-wrapper label {
  left: unset;
  right: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-stock label {
  margin-left: 3px;
  margin-right: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-detail-container .product-price {
  margin-bottom: 20px !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.text-warning {
  color: #20ac92 !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.toastify.on {
  background: #1f806e !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.auth-card form .auth-input-icon {
  right: 1px;
  left: auto;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.customer-address-payment-form input.form-control {
  text-align: right;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#admin_bar .admin-navbar-nav .admin-bar-dropdown-menu {
  text-align: right !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.pagination-numeric-short input[type=number] {
  margin-right: 0;
  margin-left: 8px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.pagination-numeric-short svg {
  transform: rotate(180deg);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.coupon-wrapper .remove-coupon-code {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.actions__button-wrapper .btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.auth-card .text-end {
  text-align: left !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.header.header--sticky .header-content-sticky.header-middle,
.header.header--sticky .header-content-sticky.header-top {
  box-shadow: none;
  border-bottom: 2px solid #d9d9d9;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-header h2 {
  letter-spacing: -0.2px !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-inner .product-button .quantity {
  display: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body[dir=rtl] .lg-outer {
  direction: rtl;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body .widget-product-categories,
body .widget-product-deals-day,
body .widget-featured-brands,
body .widget-products-with-category,
body .widget-featured-banners {
  padding-bottom: 0 !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.arrows-wrapper .slick-arrow.slick-prev-arrow,
.arrows-wrapper .slick-arrow.slick-next-arrow,
.featured-brands__body .arrows-wrapper .slick-arrow.slick-next-arrow,
.featured-brands__body .arrows-wrapper .slick-arrow.slick-prev-arrow,
.product-categories-body .arrows-wrapper .slick-arrow.slick-next-arrow,
.product-categories-body .arrows-wrapper .slick-arrow.slick-prev-arrow,
.product-deals-day__body .arrows-wrapper .slick-arrow.slick-next-arrow,
.product-deals-day__body .arrows-wrapper .slick-arrow.slick-prev-arrow {
  border-radius: 50%;
  background: #216d6c;
  color: #fff;
  border: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-inner .ribbons .ribbon {
  font-size: 12px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.catalog-filter-sidebar-content .widget-product-categories .widget-layered-nav-list ul .category-filter:last-child {
  padding-bottom: 20px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.header-wrapper .navigation__center .menu {
  text-align: right;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.product-inner .product-thumbnail .product-loop__buttons {
  left: 10px;
  right: auto;
  top: 10px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.cart--mini .mini-cart-content .product-content {
  padding-left: 40px;
  padding-right: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-form-quick-search .bb-quick-search-item-image {
  flex: 0 0 auto;
  width: 30%;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-form-quick-search .bb-quick-search-item-info {
  flex: 1 1 auto;
  width: 60%;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.payment_cod_wrap.payment_collapse_wrap.collapse.show {
  display: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.payment_bank_transfer_wrap .ck-content p {
  margin-bottom: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
input[type=checkbox]:checked:after {
  border-color: var(--accent-color);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
input[type=checkbox]:before {
  border-color: var(--accent-color);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.auth-card .form-control::-webkit-input-placeholder,
.auth-card .form-control::-moz-placeholder,
.auth-card .form-control::placeholder,
.auth-card .form-control::-ms-input-placeholder {
  color: transparent !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.cart-page-content .products-with-border .product-inner:last-child {
  border-color: transparent;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.auth-card form .form-control::placeholder {
  color: transparent;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-form.payment-checkout-form .price-text.shipping-price-text {
  color: hsl(28, 42%, 53%);
  text-decoration: underline;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.list_payment_method .payment_bank_transfer_wrap.payment_collapse_wrap a u {
  color: var(--accent-color) !important;
  text-decoration: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.header--product .ps-product--header-sticky .ps-product__title {
  line-height: 1.5;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-socials-container ul li a img {
  height: 19px;
  width: 19px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.catalog-header__right .catalog-toolbar__ordering .dropdown .dropdown-toggle:after {
  right: auto;
  left: 12px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-form-quick-search .bb-quick-search-content {
  overflow-x: hidden;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-content-wrap select.form-control:not([size]):not([multiple]) + svg {
  left: 10px;
  right: auto;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-content-wrap select.form-control:not([size]):not([multiple]) {
  padding: 0 15px 0 30px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-page #toast-container .toast {
  padding: 15px 26px 15px 50px;
  box-shadow: none;
  border: 1px solid #51a351;
  border-radius: 5px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.checkout-page #toast-container .toast .toast-close-button {
  right: -13px;
  font-size: 17px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.address-form-wrapper .form-control.is-invalid {
  background-position: left calc(.375em + .1875rem) center;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#main-checkout-product-info .customer-address-payment-form .col-sm-6.col-12 svg {
  left: 10px;
  right: auto;
  top: 24px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.cart-page-content .form--shopping-cart.cart-form + .widget-header {
  display: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.auth-card form .btn-auth-submit svg {
  transform: rotate(180deg);
  margin-right: 4px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.d-none {
  display: none;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-products-with-category .row.align-items-center.mb-2.widget-header a {
  padding: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-products-with-category .row.align-items-center.mb-2.widget-header a .row.align-items-center.mb-2.widget-header {
  padding: 0;
  margin: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#product-quick-view-modal .slick-list {
  height: 100% !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body[dir=rtl] .lg-outer.lg-thumb-open .lg-thumb-outer {
  direction: ltr;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body[dir=rtl].modal-open:has(#product-quick-view-modal) .lg-outer.lg-thumb-open .lg-thumb-outer {
  direction: ltr;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body[dir=rtl].modal-open:has(#product-quick-view-modal) .lg-outer {
  direction: ltr;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (max-width: 1199px) {
  #menu-mobile.panel--sidebar.active .menu--mobile .menu-item-has-children.active > a > .sub-toggle .svg-icon {
    transform: translateY(-50%) rotate(0deg);
  }
  
  #navigation-mobile.panel--sidebar.active .menu--mobile > li.menu-item-has-children .mega-menu__column {
    padding: 10px 0;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
body .bb-quick-search-content .bb-quick-search-list {
  overflow-y: visible;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (max-width: 1199px) {
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-image {
    width: 80px !important;
    padding: 0 !important;
    height: 80px !important;
  }
  
  .bb-form-quick-search .bb-quick-search-item {
    padding: 0 !important;
    width: auto;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-info .bb-quick-search-item-name {
    font-size: 12px !important;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-info .mb-3 {
    margin-bottom: 0 !important;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper {
    gap: 10px;
    align-items: center;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (min-width: 1199px) {
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-image {
    width: 80px !important;
    padding: 0 !important;
    height: 80px !important;
  }
  
  .bb-form-quick-search .bb-quick-search-item {
    padding: 0 !important;
    width: auto;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-info .bb-quick-search-item-name {
    font-size: 16px !important;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper .bb-quick-search-item-info .mb-3 {
    margin-bottom: 0 !important;
  }
  
  body .bb-quick-search-content .bb-quick-search-list .bb-quick-search-item-wrapper {
    gap: 10px;
    align-items: center;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (max-width: 767px) {
  .product-gallery .product-gallery__variants .slick-slide {
    float: left;
  }
  
  .product-gallery .product-gallery__variants .slick-track {
    float: left;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
@media (max-width: 767px) {
  .product-gallery .product-gallery__variants .slick-slide {
    max-width: 115px;
  }
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-product-attribute-swatch-list.color-swatch span {
  transform: translate(50%, -50%);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-item.active span,
.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-item:hover span {
  transform: translate(50%, -50%) scale(.8);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.bb-product-attribute-swatch-list.visual-swatch .bb-product-attribute-swatch-item:hover .bb-product-attribute-swatch-item-tooltip {
  transform: translate(50%) translateY(-10px);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.featured-brand-item .brand__text {
  text-align: center;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.section-banner-wrapper .banner-medium .banner-item__image div {
  height: 100%;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category__thumb.mb-3 {
  margin-bottom: 0 !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category-item-body .category__text {
  margin-top: 30px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category-item-body .category__name {
  font-size: 14px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.widget-product-categories .product-categories-body .product-category-item .category__thumb.mb-3 {
  margin-bottom: 5px !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-socials-container ul li a {
  padding: 0px 4px 2px 4px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.floating-wpp .floating-wpp-button {
  width: 50px !important;
  height: 50px !important;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-mobile .menu--footer li a {
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-mobile .menu--footer li a .icon-cart .cart-counter {
  left: 25px;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-info {
  background: #ddd;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.breadcrumb li.breadcrumb-item a {
  color: var(--secondary-color);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
:root {
  --bb-btn-hover-bg: #937752c4;
  --bs-light-rgb: white;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
#footer .subscribe-form .input-group .input-group-text {
  border-left: 2px solid var(--footer-border-color);
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.footer-mobile .menu--footer li a i {
  font-size: 22px;
}

a:focus, button:focus {
  outline: 0 solid var(--secondary-color);
  outline-offset: 0;
}

/* تحسينات للزر في صفحة الدفع على الشاشات الكبيرة */
.ribbons .ribbon {
  background-color: var(--secondary-color) !important;
}

/* ===== تحديثات الهوية البصرية الناعمة ===== */
body {
  background-color: #fcfbf8;
}

.header.header--sticky .header-content-sticky.header-middle,
.header.header--sticky .header-content-sticky.header-top {
  box-shadow: 0 10px 24px rgba(113, 92, 73, 0.08);
  border-bottom: 1px solid rgba(130, 94, 71, 0.10);
}

.widget-header h2,
.widget-title,
.product_title {
  letter-spacing: -0.15px;
}

.btn-primary,
.payment-checkout-btn,
.payment-checkout-btn-step,
.checkout__coupon-item-code button,
.product-inner .product-button .add-to-cart-button {
  box-shadow: 0 8px 18px rgba(130, 94, 71, 0.14);
}

.btn-primary:hover,
.payment-checkout-btn:hover,
.payment-checkout-btn-step:hover,
.checkout__coupon-item-code button:hover,
.product-inner .product-button .add-to-cart-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(113, 92, 73, 0.18);
}

.product-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,239,231,0.25) 100%);
}

.product-inner .product-thumbnail img,
.product-gallery__image img,
.brand-item-body .img-fluid-eq__wrap img {
  background: var(--soft-gradient);
}

.form-control,
input[type=number],
.catalog-header__right .catalog-toolbar__ordering .dropdown .dropdown-toggle {
  background-color: #fffdfa;
}

.form-control:focus,
input[type=number]:focus {
  background-color: #ffffff;
}

.breadcrumb li.breadcrumb-item a,
.product-detail-container .product-details .product-entry-meta a,
.product-detail-container .meta-categories a,
.form-checkout .text-info,
.btn-open-coupon-form {
  font-weight: 600;
}

.footer-socials-container ul li a,
.floating-wpp .floating-wpp-button,
.arrows-wrapper .slick-arrow {
  box-shadow: 0 6px 16px rgba(113, 92, 73, 0.15);
}

::selection {
  background: #e8dac8;
  color: #3a2d24;
}


/* تحسين إبراز أزرار الشراء */
.product-inner:hover .add-to-cart-button {
  transform: translateY(-1px) scale(1.03);
}

.product-inner .product-button .add-to-cart-button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(130, 94, 71, 0.22), 0 6px 18px rgba(130, 94, 71, 0.28);
}



/* تحسين الخلفيات بما يتماشى مع الهوية الجديدة */
body.show-admin-bar:has(.section-content.section-content__slider) {
  background: var(--soft-gradient);
}

#footer,
.menu--product-categories {
  background: linear-gradient(135deg, #715c49, #825e47);
}

.widget-product-categories .product-categories-body .product-category-item .category-item-body,
.product-inner,
.auth-card,
.catalog-filter-sidebar-content {
  background-color: #fffdfa;
}

.product-inner {
  border-radius: 12px;
}

.product-inner .product-thumbnail img {
  border-radius: 12px;
}



/* تحسينات للعناوين والأسعار مع الهوية الجديدة */
.product-price {
  color: var(--primary-color);
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.product-price del {
  color: var(--text-light);
  font-size: 13px;
  opacity: 0.75;
}

.widget-header h2,
.product_title,
.widget-title {
  color: var(--accent-color);
}

#footer .widget-header h2,
#footer .widget-title,
#footer .product_title {
  color: #ffffff !important;
}

.btn-primary,
.payment-checkout-btn, 
.payment-checkout-btn-step,
.checkout__coupon-item-code button,
.cta-primary {
  background: linear-gradient(135deg, #825e47, #bb885b) !important;
  border-color: #825e47 !important;
  color: #fff !important;
}

.btn-primary:hover,
.payment-checkout-btn:hover,
.payment-checkout-btn-step:hover,
.checkout__coupon-item-code button:hover,
.cta-primary:hover {
  background: linear-gradient(135deg, #715c49, #825e47) !important;
  border-color: #715c49 !important;
}

/* ============================================
   📱 تحسينات الموبايل - "تسوق بالأقسام" ومنع التصاق النص
   ============================================ */

@media (max-width: 767px) {
    
    /* تحسين بطاقات الأقسام (التصنيفات) */
    .product-categories-box .img-fluid-eq .img-fluid-eq__wrap {
        position: relative;
        margin-bottom: 15px;
    }
    
    /* تحسين الصورة */
    .product-categories-box .img-fluid-eq .img-fluid-eq__wrap img {
        width: 100% !important;
        max-width: 100px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* تحسين النص تحت الصورة - منع التصاقه */
    .category__text {
        text-align: center;
        margin-top: 12px !important;
        padding-top: 5px;
    }
    
    /* تحسين اسم القسم */
    .category__name {
        font-size: 14px !important;
        font-weight: 600;
        display: block;
        margin-top: 8px;
        word-break: break-word;
    }
    
    /* تحسين عدد المنتجات */
    .category__count {
        font-size: 11px;
        display: block;
        color: var(--text-light);
    }
    
    /* تحسين البطاقة كاملة */
    .product-category-item .category-item-body {
        padding: 15px 10px !important;
        text-align: center;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 160px;
    }
    
    /* فصل الصورة عن النص */
    .category__thumb {
        margin-bottom: 10px !important;
    }
    
    .category__thumb img {
        margin-bottom: 5px;
    }
    
    /* ضمان عدم التصاق النص بالصورة */
    .category-item-body .category__text {
        padding-top: 8px;
        clear: both;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .product-categories-box .img-fluid-eq .img-fluid-eq__wrap img {
        max-width: 80px;
    }
    
    .category__name {
        font-size: 12px !important;
    }
    
    .product-category-item .category-item-body {
        padding: 10px 8px !important;
        min-height: 140px;
    }
    
    .category__text {
        margin-top: 8px !important;
    }
}

/* ============================================================
   بطاقة منتج محسّنة تسويقيًا - النمرسي
   نفس الهوية البصرية (بني/بيج) بس بتحسينات لزيادة التحويل
   ضيفي هذا الملف بعد الـ CSS الحالي عندك (مش بديل له)
   ============================================================ */

/* --- إطار البطاقة --- */
.product-inner {
  position: relative;
  overflow: hidden;
  border-radius: 14px !important;
  border: 1px solid rgba(130, 94, 71, 0.12) !important;
  background: #ffffff !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.product-inner:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 32px rgba(113, 92, 73, 0.20) !important;
  border-color: rgba(130, 94, 71, 0.25) !important;
}

/* --- صورة المنتج --- */
.product-inner .product-thumbnail {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: var(--soft-gradient);
}

.product-inner .product-thumbnail img {
  transition: transform 0.6s ease !important;
}

.product-inner:hover .product-thumbnail img {
  transform: scale(1.08) !important;
}

/* --- شارة الخصم: نسبة مئوية واضحة بدل كلمة "تخفيض" فقط --- */
.product-inner .ribbons {
  z-index: 3;
}
.product-inner .ribbons .ribbon {
    min-width: 48px;
    height: 24px;
    line-height: 24px;

    padding: 0 10px !important;
    border-radius: 20px !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0;

    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.product-inner .ribbons .ribbon.sale,
.product-inner .ribbons .ribbon.onsale {
  background: linear-gradient(135deg, #e83f3f, #c62828) !important;
  color: #fff !important;
}

.product-inner .ribbons .ribbon.new {
  background: linear-gradient(135deg, #8fae6b, #6f9150) !important;
  color: #fff !important;
}
.product-inner .ribbons .ribbon.featured {
  background: linear-gradient(135deg, #825e47, #bb885b) !important;
  color: #fff !important;
}

/* --- تفاصيل المنتج --- */
.product-inner .product-details {
  padding: 14px 12px 16px !important;
}

.product-inner .product__title {
  margin-bottom: 8px !important;
}

.product-inner .product__title a {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

/* --- تقييم النجوم: إبراز أكبر شوية --- */
.product-inner .product-rating,
.product-inner .star-rating {
  margin-bottom: 6px !important;
}

/* --- السعر: تمييز واضح بين القديم والجديد --- */
.product-inner .product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

.product-inner .product-price ins {
  text-decoration: none;
  color: var(--primary-color) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.product-inner .product-price del {
  color: #b3aca3 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* --- نسبة التوفير كنص صغير بجانب السعر (اختياري، محتاج data-attribute) --- */
.product-inner .product-price::after {
  content: attr(data-save);
}

/* --- زر إضافة للسلة: أوضح وأكبر لمسة تفاعلية --- */
.product-inner .product-button .add-to-cart-button {
  width: 100%;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  font-size: 14px !important;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #825e47, #a97c53) !important;
  box-shadow: 0 6px 14px rgba(130, 94, 71, 0.22) !important;
}

.product-inner .product-button .add-to-cart-button:hover {
  background: linear-gradient(135deg, #715c49, #825e47) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(113, 92, 73, 0.30) !important;
}

/* --- أزرار المفضلة/المقارنة/النظرة السريعة: تظهر بشكل أنعم عند الهوفر --- */
.product-inner .product-loop__buttons {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-inner:hover .product-loop__buttons {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  /* على الموبايل الأزرار تفضل ظاهرة دايمًا لتفادي مشاكل اللمس */
  .product-inner .product-loop__buttons {
    opacity: 1;
    transform: none;
  }
}

/* --- شارة "الأكثر مبيعًا" اختيارية لو محتاجاها مستقبلًا --- */
.product-inner .ribbon.bestseller {
  background: linear-gradient(135deg, #4a90e2, #2f6fc4) !important;
  color: #fff !important;
}