/* استيراد خط تاجوال */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;500;700&display=swap');

/* ====== المتغيرات ====== */
:root {
  --primary-color:#56597a;
  --primary-gold: #98a1bc;
  --color-secondary: #ffffff;
  --font-main: 'Tajawal', sans-serif;
  --footer-text: #fff;
}

/* تعميم الخط */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, button {
  font-family: var(--font-main) !important;
}

/* ====== الفوتر ====== */
.store-footer {
  background-color: var(--primary-gold);
  padding: 2rem 0;
  color: #ffffff;
  text-align: right !important;
}
.store-footer__inner {
  color: #ffffff;
  padding: 1rem;
  text-align: right !important;
}
.store-footer__inner.da-bgm {
  background-color: #56597a;
}
.footer-is-light .store-footer {
  background-color: var(--primary-color);
}
.footer-is-light .store-footer .store-footer__inner {
  background: linear-gradient(0deg, var(--primary-color), #8c6e5a);
  color: #ffffff;
}
.footer-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  text-align: right !important;
}
.store-footer h3 {
  background: linear-gradient(90deg, #ffcc00, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  margin: 0;
  padding: 0.5rem 0;
}
.store-footer p,
.store-footer a,
.footer-is-light .store-footer p,
.footer-is-light .store-footer a {
  color: #ffffff;
  text-align: right !important;
}
.footer-gray-text {
  color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: fit-content;
  padding: 1rem;
}
.footer-images img {
  height: 7.5rem;
}

/* ====== أزرار عامة ====== */
button,
button.button,
input[type="submit"],
a.button,
.s-button,
.s-button-primary,
.salla-btn,
.cart .btn,
.checkout .btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
  border-radius: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  text-align: center;
}
button:hover,
button.button:hover,
input[type="submit"]:hover,
a.button:hover,
.s-button:hover,
.s-button-primary:hover,
.salla-btn:hover,
.cart .btn:hover,
.checkout .btn:hover {
  background-color: var(--primary-gold);
  color: var(--primary-color);
  border-color: var(--primary-gold);
}

/* ====== أزرار الفوتر ====== */
.s-button-primary-outline {
  background: #6e4b41;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: 0.3s ease;
}
.s-button-primary-outline:hover {
  background: #5b3d37;
  color: var(--primary-gold);
}

/* ====== أزرار التبويبات ====== */
.s-button-outline.s-button-primary-outline:not(.inactive),
.s-button-element.s-button-outline.s-button-primary-outline:not(.inactive) {
  background-color: var(--primary-gold);
  color: var(--primary-color) !important;
  border-color: var(--primary-gold);
}
.s-button-outline.s-button-primary-outline.inactive,
.s-button-element.s-button-outline.s-button-primary-outline.inactive {
  background-color: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}
.s-button-outline.s-button-primary-outline.inactive:hover,
.s-button-element.s-button-outline.s-button-primary-outline.inactive:hover {
  background-color: var(--primary-gold);
  color: var(--primary-color) !important;
  border-color: var(--primary-gold);
}

/* ====== تصميم المنتجات ====== */
.product-title,
.product-name,
.product-price {
  color: var(--primary-color);
  font-weight: bold;
  transition: color 0.3s ease;
}
.product-title:hover,
.product-name:hover,
.s-product-card-entry:hover .product-price,
.s-product-card-entry:hover .s-product-card-content-title a {
  color: var(--primary-gold);
  cursor: pointer;
}
.s-product-card-entry {
  position: relative;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: 0.3s ease;
  cursor: pointer;
}
.s-product-card-entry:hover {
  border-color: var(--primary-gold);
  animation: pulse-shadow 0.6s ease-in-out;
}
@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 rgba(212, 171, 66, 0); }
  50% { box-shadow: 0 8px 18px rgba(212, 171, 66, 0.3); }
  100% { box-shadow: 0 4px 10px rgba(212, 171, 66, 0.3); }
}
.s-product-card-entry::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  z-index: 2;
}
.s-product-card-entry:hover::before {
  animation: shimmer 1s ease forwards;
}
@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}
.s-product-card-content {
  padding: 15px;
  background-color: transparent;
  box-shadow: none;
}
.s-product-card-image img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
}
.s-product-card-content-title a {
  color: var(--primary-color);
  transition: color 0.3s ease;
  text-decoration: none;
}
.s-product-card-content-title a:hover {
  color: var(--primary-gold);
  text-decoration: underline;
}
.s-product-card-entry .s-button-primary-outline,
.s-product-card-entry .s-button {
  background-color: var(--primary-color);
  color: #ffffff;
  border: 1px solid var(--primary-color);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: 0.3s ease;
}
.s-product-card-entry:hover .s-button-primary-outline,
.s-product-card-entry:hover .s-button {
  background-color: var(--primary-gold);
  color: var(--primary-color);
  border-color: var(--primary-gold);
}

/* ====== القائمة ====== */
button.toggle-menu,
button.toggle-menu svg,
button.toggle-menu path,
i.sicon-menu {
  color: var(--primary-color) !important;
  fill: var(--primary-color) !important;
  stroke: var(--primary-color) !important;
}

/* ====== المستخدم ====== */
button.header-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: 2px solid transparent;
  transition: opacity 150ms ease;
}
button.header-btn .header-btn__icon.sicon-user-circle {
  color: var(--primary-color) !important;
  transition: none !important;
}

/* ====== النصوص والعناوين ====== */
h1, h2, h3, h4 {
  color: var(--primary-color);
}

/* ====== أقسام إضافية ====== */
.slide--cat-entry {
  border-color: var(--primary-color);
  background-color: #f4f4f4;
}
.another-button:hover {
  color: var(--primary-gold);
}
.store-footer a:hover {
  color: var(--primary-gold);
}

/* ====== شريط علوي + بحث ====== */
.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--footer-text);
}
.s-search-icon svg {
  height: 1rem;
  width: 1rem;
  fill: #ffffff;
}
.s-search-input {
  background-color: #333;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 18px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}


/* ====== تخصيصات إضافية ====== */
.price.my-1:after {
  content: "السعر شامل الضريبه";
  background-color: #56597a;
 color: white;
}
.s-block--features__item .feature-icon i {
  color: white;
  font-size: 2.5rem;
}
#featured-products-style2-10 {
  margin-top: -20px;
}
.tabs-wrapper {
  margin-top: -10px;
}
.s-block.s-block--slider-with-bg + * {
  margin-top: -20px;
}
.s-block--features__item .feature-icon {
  background-color: #8B1E2B !important; /* بني غامق */
  color: #ffffff; /* الأيقونة تبقى بيضاء */
  border-radius: 50%; /* لتأكيد أنها دائرة */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* حجم الأيقونة داخل الدائرة */
  margin: 0 auto 1rem; /* محاذاة وسط ومسافة أسفل */
}

.flex.items-center a:hover,
.flex.items-center i:hover {
  color: var(--primary-gold) !important;
}
.s-search-product-price {
  color: var(--primary-color) !important;
  font-weight: bold;
}/* Add custom CSS styles below */

.product-title {
  color: var(--primary-color);
}