/* إعدادات الخط الأساسية */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;600;700;800;900&display=swap');

/* متغيرات الألوان */
:root {
    --primary: #D0489C;
    --primary-light: #F6D0E7;
    --primary-dark: #A53079;
    --secondary: #0065B8;
    --secondary-light: #D0E6F6;
    --secondary-dark: #004A85;
    --neutral-50: #FAFBFF;
    --neutral-100: #F2F5FC;
    --neutral-200: #E8ECF6;
    --neutral-300: #D1D9E8;
    --neutral-400: #A9B6CF;
    --neutral-500: #7D8CAF;
    --neutral-600: #5A6A8E;
    --neutral-700: #3F4C67;
    --neutral-800: #2A3347;
    --neutral-900: #1A1A2E;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* إعدادات عامة للخط */
* {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
}

/* تحسين النصوص */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--neutral-900);
}

p,
span,
div,
label,
input,
textarea,
button {
    font-family: 'Tajawal', sans-serif;
}

/* تحسين الخط العربي */
.da-tm {
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
}

.da-ts {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
}

.da-cp {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

.tabs__product .tab-trigger{
background : var(--gradient-secondary) !important;
color: #ffffff !important;
}
.tabs .tab-trigger.is-active{
background : #d0489c !important;
color: #ffffff !important;
}

.s-fast-checkout-button.outline {
    background-color: transparent;
    border: none !important;
    color: var(--color-primary);
    display: none !important;
}

.main-content h1 {
    font-size: 2.5rem !important;
    font-weight: bold !important;
    line-height: 1.4;
    color: #d0489c !important;
    margin-bottom: 1rem;
}

/* ========== HEADER STYLES ========== */
.store-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.underline {
    text-decoration-line: underline;
    background: #ffe0ff;
    padding: 6px 30px;
    text-decoration: none;
    color: #D0489C;
    font-size: 16px;
    border-radius: 9px;
    font-weight: bold !important;
    margin-top: -4px;
}
.store-footer{
display: none !important;
}

.main-nav-container {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(250, 251, 255, 0.96) 100%);
    box-shadow:
        0 8px 32px rgba(208, 72, 156, 0.06),
        0 4px 16px rgba(0, 101, 184, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.02);
    border-radius: 0 0 24px 24px;
    border: 1px solid rgba(208, 72, 156, 0.08);
    margin: 0 8px;
}

.header-inner {
    padding: 0 2rem;
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* زر القائمة */
.mburger {
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(208, 72, 156, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(208, 72, 156, 0.12);
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 12px;
}

/* نافذة تسجيل الدخول */
.s-modal-body {
  background-color: #fff !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  padding: 2rem !important;
  font-family: 'Tajawal', sans-serif !important;
  animation: fadeInUp 0.5s ease-out !important;
}

.s-modal-header {
  display: flex !important;
  justify-content: flex-end !important;
  margin-bottom: 1rem !important;
}

.s-modal-close {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

.s-modal-close:hover {
  transform: rotate(90deg) scale(1.1) !important;
}

.s-modal-close svg {
  fill: var(--primary) !important;
  transition: fill 0.3s ease !important;
}

.s-modal-close:hover svg {
  fill: var(--primary-light) !important;
}


iframe {
  border-radius: 1rem !important;
  border: 2px solid var(--primary-light) !important;
  transition: box-shadow 0.3s ease !important;
}

iframe:hover {
  box-shadow: 0 0 0 4px rgba(0, 101, 184, 0.2) !important;
}

/* حركة دخول ناعمة */
@keyframes fadeInUp {
  from {
    opacity: 0 !important;
    transform: translateY(30px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}


.mburger i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mburger .da-tm {
    color: var(--primary);
    font-weight: 600;
    margin-right: 8px;
}

/* زر البحث */
.search-btn {
    padding: 12px;
    border-radius: 50%;
    background: rgba(0, 101, 184, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 101, 184, 0.12);
    cursor: pointer;
    margin-right: 8px;
}

.search-btn i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* الشعار */
.navbar-brand {
    border-radius: 20px;
    padding: 8px;
    display: inline-block;
}

/* الحاوية الرئيسية */
.s-login-modal-wrapper {
  background-color: #ffffff !important;
  border-radius: 1.5rem !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  font-family: 'Tajawal', sans-serif !important;
  max-width: 420px !important;
  margin: auto !important;
}

/* رأس النافذة */
.s-login-modal-header-inner {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.s-login-modal-header-icon svg {
  fill: var(--primary) !important;
  width: 36px !important;
  height: 36px !important;
  transition: fill 0.3s ease !important;
}

.s-login-modal-title {
  font-weight: 700 !important;
  font-size: 1.6rem !important;
  color: #333 !important;
}

/* الليبلات */
.s-login-modal-label {
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: #555 !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

/* حقول الإدخال */
.s-login-modal-input,
.s-tel-input-control {
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  border: 2px solid var(--primary-light) !important;
  border-radius: 0.8rem !important;
  font-size: 1rem !important;
  color: #222 !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.s-login-modal-input:focus,
.s-tel-input-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 8px var(--primary-light) !important;
}

/* زر الدخول والتسجيل */
.btn--primary {
  background-color: var(--primary) !important;
  border: none !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 0.85rem 0 !important;
  border-radius: 1rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  margin-top: 1.5rem !important;
  user-select: none !important;
}

.btn--primary:hover {
  background-color: var(--primary-light) !important;
}

/* روابط التبديل بين طرق الدخول */
.s-login-modal-link {
  display: block !important;
  text-align: center !important;
  color: var(--primary) !important;
  margin-top: 1rem !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  user-select: none !important;
}

/* رسائل الخطأ */
.s-tel-input-error-msg,
.s-login-modal-error-message {
  color: #e63946 !important;
  font-size: 0.875rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
}

/* التنسيق الخاص بحقل رقم الجوال مع العلم بأن هناك علم ورمز دولي */
.s-tel-input {
  position: relative !important;
}

.iti {
  width: 100% !important;
}

.iti__flag-container {
  position: absolute !important;
  top: 50% !important;
  left: 1rem !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.cart-similar-products {
  display: none !important;
}

.s-tel-input-control {
  padding-left: 6rem !important; /* مساحة كافية لرمز الدولة والعلم */
}

/* === تصميم قسم الطلب بالكامل === */

.cart-item {
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.cart-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: scale(1.01);
}

/* ============================== */
/*  قسم عرض المنتجات – تصميم فاخر وعصري  */
/* ============================== */

/* الحاوية العامة */
.container.px-2.5 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem !important;
  font-family: 'Tajawal', sans-serif;
  color: var(--neutral-800);
}

/* ترتيب وتصفيّة المنتجات */
.prdoucts-list-filters {
  background: linear-gradient(135deg, var(--secondary-light) 0%, rgba(255,255,255,0.8) 100%);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 101, 184, 0.15);
  margin-bottom: 2rem;
  align-items: center;
  transition: box-shadow 0.3s ease;
  border: none; /* إزالة البوردر */
}
.prdoucts-list-filters:hover {
  box-shadow: 0 12px 40px rgba(0, 101, 184, 0.25);
}

.prdoucts-list-filters .prod-filter label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 0.75rem;
  color: var(--neutral-700);
}

.prdoucts-list-filters .prod-filter select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background: white;
  border: 2px solid var(--secondary);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%230065B8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.prdoucts-list-filters .prod-filter select.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(208,72,156,0.2);
  outline: none;
}

/* شبكة عرض المنتجات */
.s-products-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

/* ============================= */
/*  بطاقات المنتجات – تصميم الفخامة  */
/* ============================= */
.s-product-card-entry {
  background: white;
  border-radius: 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(208, 72, 156, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: none; /* إزالة البوردر */
}
.s-product-card-entry:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(208, 72, 156, 0.35), 0 8px 20px rgba(0, 0, 0, 0.15);
  border: none;
}

/* جزء الصورة */
.s-product-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f9f9f9;
  border-radius: 1.25rem 1.25rem 0 0;
}
.s-product-card-image img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.1);
}

/* شريط الخصم */
.s-product-card-discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0.75rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 4px 12px rgba(208,72,156,0.3);
}

/* محتوى البطاقة */
.s-product-card-content {
  flex-grow: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* الفئة */
.s-product-card-category {
  font-size: 0.85rem;
  color: var(--secondary-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* العنوان */
.s-product-card-content-title a {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
  text-decoration: none;
  transition: color 0.3s ease;
}
.s-product-card-content-title a:hover {
  color: var(--primary);
}

.s-product-card-sale-price h4{
color: var(--primary) !important;
font-size: 1.4rem !important;
}

/* السعر */
.s-product-card-content-sub {
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.s-product-card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.s-product-card-price-before {
  font-size: 1rem;
  color: var(--neutral-400);
  text-decoration: line-through;
}

/* أزرار الإضافة */
.s-product-card-content-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.s-button-primary {
  flex: 1;
  background: var(--gradient-primary);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 8px 20px rgba(208, 72, 156, 0.4);
  transition: background 0.4s, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.s-button-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(208, 72, 156, 0.55);
}
.s-button-primary i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* زر القلوب */
.s-product-card-wishlist-btn button {
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--neutral-200);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--neutral-400);
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}
.s-product-card-wishlist-btn:hover button {
  color: var(--primary);
  transform: scale(1.1);
}

/* حالة لا نهاية التمرير */
.s-infinite-scroll-status p {
  font-size: 1rem;
  text-align: center;
  margin-top: 2rem;
  color: var(--neutral-600);
}


.cart-item img {
  border-radius: 1rem;
  transition: transform 0.3s ease;
}
.cart-item:hover img {
  transform: scale(1.05);
}

.cart-item h4 a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}
.cart-item h4 a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.item-price, .item-total {
  color: #555;
  font-weight: 600;
}

.s-quantity-input-container {
  background: #f8f8f8;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid #ddd;
}
.s-quantity-input-button {
  color: var(--primary);
  transition: background 0.3s;
}
.s-quantity-input-button:hover {
  background: rgba(208, 72, 156, 0.1);
}

.s-button-element.btn--wishlist,
.s-button-element.btn--delete {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.s-button-element.btn--wishlist:hover,
.s-button-element.btn--delete:hover {
  transform: scale(1.05);
}

/* === قسم ملخص الطلب === */
.sticky .shadow-default {
  border: 1px solid #eee;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-radius: 1rem;
  background: white;
}

.shadow-default h4,
.shadow-default h5 {
  color: #333;
  font-weight: 700;
}

#sub-total,
[data-cart-total] {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* === شريط الشحن المجاني === */
#free-shipping {
  border: 1px dashed var(--primary-light);
  background: rgba(0, 101, 184, 0.03);
  border-radius: 1rem;
}
#free-shipping-bar {
  background: #eee;
}
#free-shipping-bar .progress-bg {
  background: var(--primary);
  border-radius: 1rem;
  height: 0.5rem;
}

/* === زر إتمام الطلب === */
.cart-submit-wrap .s-button-element {
  font-size: 1rem;
  font-weight: bold;
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cart-submit-wrap .s-button-element:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}


/* سهم اختيار الدولة */
.iti__arrow {
  border-color: var(--primary) transparent transparent transparent !important;
  margin-left: 0.3rem !important;
}

/* زر التسجيل */
.mt-3 {
  margin-top: 1.5rem !important;
}

/* حالات الإظهار والإخفاء */
.s-login-modal-tab.s-show {
  display: block !important;
}

.s-login-modal-tab.s-hidden {
  display: none !important;
}


.logo-light {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
    display: block;
}

/* أزرار الهيدر */
.header-btn {
    padding: 12px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 26, 46, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.header-btn i {
    color: var(--neutral-700);
    font-size: 1.1rem;
}

/* سلة التسوق */
.s-cart-summary-wrapper {
    padding: 12px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(231, 109, 181, 0.08) 0%,
            rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(231, 109, 181, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.s-cart-summary-wrapper i {
    color: var(--primary);
    font-size: 1.2rem;
}

.s-cart-summary-count {
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    position: absolute;
    top: -6px;
    right: -6px;
    box-shadow: 0 2px 8px rgba(231, 109, 181, 0.3);
    border: 2px solid white;
}

.s-cart-summary-content {
    display: flex;
    align-items: center;
    color: var(--neutral-700);
    font-weight: 600;
}

.s-cart-summary-total {
    font-weight: 800;
    color: var(--primary);
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    background-color: var(--neutral-100);
    padding: 1rem 0;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs .text-gray-500 {
    color: var(--neutral-500);
}



/* ========== PRODUCT PAGE ========== */
.sidebar {
    width: 100%;
    padding-bottom: 1rem;
}

.main-content {
    width: 100%;
    padding-bottom: 4rem;
}

/* Product Title */
.main-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

/* Price Styles */
.price {
    margin: 0.5rem 0;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
}

.before-price {
    color: var(--neutral-400);
    text-decoration: line-through;
    font-size: 1rem;
}

/* Product Form */
.product-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
}

/* Weight Section */
.weight.details {
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.details__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.details__action {
    font-weight: 500;
    color: var(--neutral-600);
}

/* Sticky Product Bar */
.sticky-product-bar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

/* Quantity Input */
.s-quantity-input-container {
    display: flex;
    align-items: center;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    background: white;
}

.s-quantity-input-button {
    padding: 0.75rem;
    background: var(--neutral-100);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-quantity-input-input {
    border: none;
    text-align: center;
    padding: 0.75rem 1rem;
    width: 60px;
    font-weight: 600;
}

/* Add to Cart Button */
.s-button-element {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2rem !important;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.s-button-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(208, 72, 156, 0.3);
}

/* زر الشراء الآن - تحسين التصميم */
.s-add-product-button-main .s-add-product-button-mini-checkout {
    margin-right: 12px;
}

.s-fast-checkout-button.outline {
    display: none !important;
    background-color: transparent;
    color: var(--color-primary);
}

.s-fast-checkout-button {
    display: contents !important;
    align-items: center;
    justify-content: center;
    height: var(--salla-fast-checkout-button-height);
    width: var(--salla-fast-checkout-button-width);
    border-radius: var(--salla-fast-checkout-button-border-radius);
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    font-family: 'PingARLT';
    gap: 5px;
    direction: ltr;
    border-width: 1px;
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-primary-reverse);
}

.s-add-product-button-mini-checkout-content {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 101, 184, 0.3);
    min-width: 140px;
}

.s-add-product-button-mini-checkout-content svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ========== PRODUCT TABS ========== */
.s-product-tabs {
    margin-top: 2rem;
}

.tabs {
    display: flex;
    border-bottom: 2px solid var(--neutral-200);
    margin-bottom: 1rem;
}

.tab-trigger {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--neutral-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
}

.tab-trigger.is-active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tabs-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.tabs__item {
    padding: 2rem;
}

/* Comments Section */
.s-comment-form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-family: 'Tajawal', sans-serif !important;
    resize: vertical;
    min-height: 120px;
}

.s-comment-form-action {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* ========== PAYMENT METHODS ========== */
.s-block--payment {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.s-block--payment ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.s-block--payment li {
    width: 3rem;
    height: 1.75rem;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.s-block--payment img {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}
.total-price {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--primary);
    display: inline-block;
}
.s-fast-checkout-button.outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    display: ;
}
/* ========== SIMILAR PRODUCTS ========== */
.similar-products {
    margin-top: 2rem;
    display: none !important;
}

.s-quantity-input-button {
    padding: 0.75rem;
    background: #fbe3ff !important;
    border: none;
    color: #006aff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-slider-block__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.s-slider-block__title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
}

/* ========== FOOTER STYLES - تحديث للون الأبيض ========== */
.store-footer {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(250, 251, 255, 0.98) 100%);
    color: var(--neutral-800);
    margin-top: 4rem;
    border-top: 1px solid var(--neutral-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.store-footer__inner {
    padding: 3rem 0 1rem;
}

/* زر العودة للأعلى */
.to-top {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer Social Links */
.footer-social {
    text-align: center;
    margin: 2rem 0;
}

.footer-social h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

#karzoun-widget-send-button{
bottom: 120px !important;
|

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg,
            rgba(208, 72, 156, 0.1) 0%,
            rgba(0, 101, 184, 0.1) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* Footer Middle */
.footer-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.footer-profile {
    text-align: center;
}

.footer-profile .logo-light {
    height: 2.5rem;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(208, 72, 156, 0.1));
}

.footer-description {
    margin-top: 1rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 500;
}

/* عنوان خدمة العملاء */
.footer-middle h3 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 1rem;
    background: rgba(208, 72, 156, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(208, 72, 156, 0.1);
}

.contact-links i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.copyrights {
    text-align: center;
    color: var(--neutral-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.copyrights a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 700;
}

/* تحسين طرق الدفع في الفوتر */
.footer-bottom ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom li {
    width: 3rem;
    height: 1.75rem;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    padding: 0.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .main-nav-container {
        margin: 0 4px;
        border-radius: 0 0 18px 18px;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .main-content h1 {
        font-size: 1.25rem;
    }

    .total-price {
        font-size: 1.25rem;
    }

    .sticky-product-bar {
        padding: 1rem;
    }

    .footer-middle {
        text-align: center;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .sidebar {
        width: 40%;
        margin-left: 2rem;
        position: sticky;
        top: 4rem;
        padding-bottom: 4rem;
    }

    .main-content {
        width: 60%;
        padding-bottom: 4rem;
    }

    .footer-middle {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.s-product-card-sale-price h4{
color: #ffd @;
}

/* ========== UTILITY CLASSES ========== */
.text-primary {
    color: var(--primary) !important;
}

.text-gray-500 {
    color: var(--neutral-500) !important;
}

.text-black {
    color: var(--neutral-800) !important;
}

.hidden {
    display: none;
}

@media (min-width: 1024px) {
    .lg\\:block {
        display: block !important;
    }

    .lg\\:flex {
        display: flex !important;
    }
}

/* تحسين الأيقونات */
.sicon-sar::before {
    content: "ر.س";
    font-family: 'Tajawal', sans-serif !important;
    font-size: 0.8em;
    font-weight: 600;
}