:root {
  --jt4-gold: #C4A96A;
  --jt4-gold-light: #E5D1A0;
  --jt4-dark: #2F3338;
}

/* خلفية الموقع */
body,
.theme-raed {
  background: #ffffff !important;
}

/* الهيدر */
.store-header {
  background: #fff !important;
  border-bottom: 2px solid rgba(196, 169, 106, .25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

/* الشعار */
.navbar-brand img {
  max-height: 60px;
  width: auto;
}

/* القائمة العلوية */
.top-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(196, 169, 106, .15);
}

/* حقل البحث */
.s-search-input {
  border: 1.5px solid rgba(196, 169, 106, .35) !important;
  border-radius: 18px !important;
  color: var(--jt4-dark) !important;
}
.s-search-input:focus {
  border-color: var(--jt4-gold) !important;
  outline: none;
}
.s-search-icon {
  color: var(--jt4-gold);
}

/* بطاقات المنتجات */
.s-product-card-entry {
  background: #fff !important;
  border: 1px solid rgba(196, 169, 106, .20) !important;
  border-radius: 18px !important;
  overflow: hidden;
  position: relative;
  transition: .3s;
}
.s-product-card-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--jt4-gold);
  border-radius: 18px;
  opacity: .7;
  pointer-events: none;
  z-index: 1;
}
.s-product-card-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(196, 169, 106, .18);
}

/* اسم المنتج */
.s-product-card-content-title,
.s-product-card-content-title a {
  font-weight: 700;
  color: var(--jt4-dark) !important;
  text-decoration: none;
}
.s-product-card-content-title a:hover {
  color: var(--jt4-gold) !important;
}

/* السعر */
.s-product-card-sale-price h4 {
  color: var(--jt4-gold) !important;
  font-weight: 800;
  font-size: 18px;
}
.s-product-card-sale-price span {
  color: #aaa !important;
  text-decoration: line-through;
  font-size: 14px;
}

/* زر السلة - outline */
.s-button-primary-outline {
  background: transparent !important;
  border: 2px solid var(--jt4-gold) !important;
  color: var(--jt4-gold) !important;
  border-radius: 12px !important;
  font-weight: 700;
  transition: .25s;
}
.s-button-primary-outline:hover {
  background: var(--jt4-gold) !important;
  color: #fff !important;
}

/* زر السلة - solid */
.s-button-btn {
  background: var(--jt4-gold) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 700;
  transition: .25s;
}
.s-button-btn:hover {
  background: #b8963a !important;
}

/* أيقونة القلب */
.s-product-card-wishlist-btn {
  border-color: rgba(196, 169, 106, .4) !important;
  color: var(--jt4-gold) !important;
  border-radius: 50% !important;
  transition: .25s;
}
.s-product-card-wishlist-btn:hover {
  background: var(--jt4-gold) !important;
  color: #fff !important;
  border-color: var(--jt4-gold) !important;
}

/* عنوان القسم */
.s-block__title h2 {
  color: var(--jt4-dark);
  font-weight: 900;
  position: relative;
  display: inline-block;
}
.s-block__title h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background: var(--jt4-gold);
  border-radius: 2px;
  margin-top: 6px;
}

/* قسم الأسئلة الشائعة */
.s-block-trust-faq {
  background: linear-gradient(135deg, #ffffff, #fdfbf7);
  padding: 50px 20px;
  border-radius: 30px;
}
.s-block-trust-faq-title {
  color: var(--jt4-gold) !important;
  font-weight: 900 !important;
  text-align: center;
}
.s-block-trust-faq-item {
  background: #fff;
  border: 1px solid rgba(196, 169, 106, .25) !important;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
  transition: .3s;
}
.s-block-trust-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196, 169, 106, .15);
}
.s-block-trust-faq-question {
  font-weight: 700;
  color: var(--jt4-dark);
  padding: 18px 22px;
  cursor: pointer;
}
.s-block-trust-faq-answer {
  background: #faf8f3;
  border-top: 1px solid rgba(196, 169, 106, .15);
}
.s-block-trust-faq-answer-content {
  padding: 16px 22px;
  color: #666;
  line-height: 1.9;
}

/* سلة التسوق */
.s-cart-summary-wrapper {
  color: var(--jt4-dark) !important;
  text-decoration: none;
  transition: .25s;
}
.s-cart-summary-wrapper:hover {
  color: var(--jt4-gold) !important;
}
.s-cart-summary-count {
  background: var(--jt4-gold) !important;
  color: #fff !important;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.s-cart-summary-total {
  color: var(--jt4-gold) !important;
  font-weight: 800;
}

/* أيقونة المستخدم */
.s-user-menu-login-btn svg {
  fill: var(--jt4-dark);
  transition: .25s;
}
.s-user-menu-login-btn:hover svg {
  fill: var(--jt4-gold);
}

/* s-design-before */
.s-design-before {
  background: linear-gradient(135deg, #C4A96A, #E5D1A0) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 20px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(196, 169, 106, .35) !important;
  animation: jt4-pulse 2s infinite;
  transition: all .3s ease;
}
.s-design-before span {
  color: #fff !important;
  font-weight: 800 !important;
}
.s-design-before:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(196, 169, 106, .5) !important;
}
@keyframes jt4-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196, 169, 106, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(196, 169, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 169, 106, 0); }
}

/* ==================== الفوتر ==================== */

/* خلفية الفوتر */
.store-footer,
.store-footer--live-editor,
[aria-label="footer"],
.store-footer__inner {
  background: #faf7ef !important;
  border-top: 2px solid #C4A96A !important;
}

/* إخفاء: اسم الأكاديمية، روابط مهمة، تطبيقات، سوشيال */
.store-footer__inner .container > div:first-child > a,
.store-footer__inner .container > div:first-child > div.hidden,
.store-footer__inner .container > div:nth-child(2),
.store-footer__inner .container > salla-apps-icons {
  display: none !important;
}

/* إخفاء عنوان "تواصل معنا" */
.store-footer__inner .s-contacts-title {
  display: none !important;
}

/* توسيط كامل محتوى الفوتر */
.store-footer__inner .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.store-footer__inner .container > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px;
  width: 100%;
}

/* القسم الثالث (التواصل) يظهر */
.store-footer__inner .container > div:nth-child(3) {
  display: flex !important;
  justify-content: center !important;
}

/* السجل التجاري - توسيط */
.s-trust-badges-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  background: rgba(196, 169, 106, .08);
  border: 1px solid rgba(196, 169, 106, .25);
  border-radius: 12px;
  padding: 10px 20px;
}
.s-trust-badges-image {
  width: 36px !important;
  height: 36px !important;
}
.s-trust-badges-label {
  color: #888;
  font-size: 12px;
}
.s-trust-badges-number {
  color: var(--jt4-dark);
  font-weight: 700;
  font-size: 14px;
}

/* أرقام التواصل - توسيط وتنسيق */
.s-contacts-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  flex-wrap: wrap;
}
.s-contacts-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  color: var(--jt4-dark) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  background: rgba(196, 169, 106, .08);
  border: 1px solid rgba(196, 169, 106, .25);
  border-radius: 10px;
  padding: 8px 16px;
  transition: .25s;
}
.s-contacts-item:hover {
  background: var(--jt4-gold) !important;
  color: #fff !important;
  border-color: var(--jt4-gold) !important;
}
.s-contacts-item:hover .s-contacts-icon svg {
  fill: #fff !important;
}
.s-contacts-icon svg {
  fill: var(--jt4-gold);
  width: 18px;
  height: 18px;
}

/* Copyright */
.copyright-text {
  color: #777;
}
.copyright-text a {
  color: var(--jt4-gold) !important;
  text-decoration: none;
  font-weight: 600;
}
.copyright-text a:hover {
  color: #b8963a !important;
}

/* طرق الدفع */
.s-payments-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.s-payments-list-item img {
  opacity: .8;
  transition: .25s;
  filter: grayscale(20%);
}
.s-payments-list-item img:hover {
  opacity: 1;
  filter: none;
}

/* السلايدر */
.swiper-slide {
  border-radius: 0;
  overflow: hidden;
}

/* النافذة المنبثقة */
.s-modal-body {
  border-radius: 20px !important;
  overflow: hidden;
}
.s-modal-close {
  color: var(--jt4-dark) !important;
  transition: .25s;
}
.s-modal-close:hover {
  color: var(--jt4-gold) !important;
}

/* القائمة المتنقلة */
.mobile-menu {
  background: #fff;
}

/* Infinite scroll */
.s-infinite-scroll-error {
  color: var(--jt4-gold);
}

/* Placeholder */
.s-placeholder-title {
  color: var(--jt4-dark);
  font-weight: 700;
}
.s-placeholder-description {
  color: #888;
}