/* =====================================================
   NDC / NAVITA — Salla Custom Theme CSS
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --brand:        #2BB6B6;
  --brand-dark:   #00838F;
  --brand-light:  #E0F7FA;
  --navita:       #0288D1;
  --mosque:       #229f56;
  --mosque-dark:  #1b7f45;
  --sub:          #9C27B0;
  --bg-page:      #F5F9FA;
  --radius-card:  20px;
}

/* ── Global Font ── */
body, body * {
  font-family: 'Tajawal', sans-serif !important;
}
body {
  background-color: var(--bg-page) !important;
}

/* ── Header ── */
.s-header, header.site-header, #header {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 16px rgba(0,0,0,0.07) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
}

/* ── Search ── */
.s-search input, input[type="search"], .search-form input {
  border-radius: 50px !important;
  border: 1.5px solid #e5e7eb !important;
  background: #f9fafb !important;
  padding: 10px 20px !important;
  transition: all .25s !important;
}
.s-search input:focus, .search-form input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(43,182,182,.15) !important;
  outline: none !important;
}

/* ── Primary Buttons ── */
.btn-primary, .s-btn-primary, .salla-button--primary,
button[class*="primary"] {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: all .2s !important;
}
.btn-primary:hover, .salla-button--primary:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px) !important;
}

/* ── Product Cards ── */
.s-product-card, .product-card, .salla-product-card,
[class*="product-item"] {
  border-radius: var(--radius-card) !important;
  border: 1.5px solid #f0f0f0 !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  transition: all .3s ease !important;
  overflow: hidden !important;
}
.s-product-card:hover, .product-card:hover,
.salla-product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
  transform: translateY(-4px) !important;
  border-color: rgba(43,182,182,.3) !important;
}
.s-product-card img, .product-card img {
  border-radius: 12px !important;
  transition: transform .5s ease !important;
}
.s-product-card:hover img {
  transform: scale(1.05) !important;
}

/* ── Product Price ── */
.s-product-card .price, .product-price,
.s-product-card__price, .price-amount {
  color: var(--brand) !important;
  font-weight: 900 !important;
  font-size: 20px !important;
}

/* ── Product Title ── */
.s-product-card .product-name, .product-title,
.s-product-card__title {
  font-weight: 700 !important;
  color: #1f2937 !important;
  font-size: 16px !important;
}

/* ── Add to Cart ── */
.s-product-card .add-to-cart, .btn-add-to-cart,
.salla-add-to-cart-button {
  background: var(--brand) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all .2s !important;
}
.btn-add-to-cart:hover, .salla-add-to-cart-button:hover {
  background: var(--brand-dark) !important;
  transform: scale(1.03) !important;
}

/* ── Section Titles ── */
.s-section-title, .section-title, h2.title {
  font-weight: 800 !important;
  color: #111 !important;
  font-size: 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.s-section-title::before, .section-title::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 26px !important;
  background: var(--brand) !important;
  border-radius: 4px !important;
  margin-left: 8px !important;
}

/* ── Hero/Slider ── */
.s-slider, .main-slider, .hero-section {
  border-radius: 24px !important;
  overflow: hidden !important;
}

/* ── Footer ── */
.s-footer, footer, #footer {
  background: #111 !important;
  color: #9ca3af !important;
  border-top: 2px solid rgba(43,182,182,.2) !important;
  padding-top: 48px !important;
}
.s-footer a, footer a {
  color: #9ca3af !important;
  transition: color .2s !important;
}
.s-footer a:hover, footer a:hover {
  color: var(--brand) !important;
}

/* ── Subscription Badge ── */
.subscription-badge, [class*="subscription"],
.s-subscription-label {
  background: #F3E5F5 !important;
  color: var(--sub) !important;
  border-radius: 50px !important;
  padding: 2px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* ── Sale/New Badges ── */
.badge-sale, .product-label-sale, [class*="sale-badge"] {
  background: #ef4444 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}
.badge-new, .product-label-new, [class*="new-badge"] {
  background: var(--brand) !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

/* ── Mosque / Donate ── */
a[href*="mosque"], a[href*="masjid"], .donate-btn {
  background: var(--mosque) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  transition: background .2s !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .s-product-card:hover { transform: none !important; }
  .s-section-title, .section-title { font-size: 18px !important; }
  .s-slider, .main-slider { border-radius: 16px !important; }
}/* Add custom CSS styles below */