/* =========================
   ux premium full css
========================= */

:root {
  --main-color: #02343a;
  --nav-color: #0f2d52;
  --gold-color: #d4af37;
  --soft-bg: #f7faf9;
  --white: #ffffff;
  --text-color: #102f34;
}

/* base */
body {
  background: var(--soft-bg) !important;
  color: var(--text-color) !important;
  font-smooth: always;
}

html {
  scroll-behavior: smooth;
}

/* headings seo + readability */
h1, h2, h3, h4 {
  color: var(--main-color) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

h1 { font-size: 32px !important; margin-bottom: 18px !important; }
h2 { font-size: 26px !important; margin-bottom: 16px !important; }
h3 { font-size: 22px !important; margin-bottom: 14px !important; }
h4 { font-size: 18px !important; margin-bottom: 12px !important; }

/* header */
#mainnav {
  background: linear-gradient(90deg, #02343a, #0f2d52) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.12) !important;
}

#mainnav .main-menu li a,
#mainnav .main-menu li span {
  color: #fff !important;
  font-weight: 600 !important;
}

#mainnav .main-menu li a:hover,
#mainnav .main-menu li span:hover {
  color: var(--gold-color) !important;
}

/* logo */
.s-navbar-logo,
.navbar-brand,
.logo {
  background: transparent !important;
}

.s-navbar-logo img,
.navbar-brand img,
.logo img {
  max-height: 70px !important;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* header icons + cart */
.header-btn__icon,
.s-header-icons a {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#mainnav i,
#mainnav svg {
  color: #fff !important;
  fill: #fff !important;
}

.header-btn:hover .header-btn__icon,
.s-header-icons a:hover {
  background: rgba(212,175,55,.18) !important;
  border-color: var(--gold-color) !important;
}

.s-cart-summary-total,
.header-btn *,
.s-cart-summary-wrapper * {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-weight: 800 !important;
}

.s-cart-summary-count {
  background: #e11d48 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

/* search */
.header-search,
.s-search,
.s-search-input-wrapper {
  display: flex !important;
  justify-content: center !important;
}

.s-search input,
.header-search input,
input[type="search"] {
  width: 58% !important;
  max-width: 520px !important;
  min-width: 250px !important;
  margin: 0 auto !important;
  border-radius: 28px !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  border: 1px solid rgba(2,52,58,.15) !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.06) !important;
}

.s-search input:focus,
.header-search input:focus,
input[type="search"]:focus {
  border-color: var(--gold-color) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.18) !important;
}

/* banners */
.s-block--fixed-banner,
.s-block--banners,
.banner-entry {
  padding: 0 !important;
  margin: 22px auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.s-block--fixed-banner img,
.s-block--banners img,
.banner-entry img,
.s-slider-block img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* product cards */
.s-product-card-entry {
  border-radius: 18px !important;
  border: 1px solid rgba(2,52,58,.10) !important;
  box-shadow: 0 6px 16px rgba(2,52,58,.08) !important;
  overflow: hidden !important;
  transition: .25s ease !important;
  background: #fff !important;
}

.s-product-card-entry:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 30px rgba(2,52,58,.18) !important;
}

.s-product-card-image img {
  transition: .35s ease !important;
}

.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.04) !important;
}

.s-product-card-content-title a {
  color: var(--main-color) !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
}

.s-product-card-price,
.s-product-card-sale-price {
  color: var(--main-color) !important;
  font-weight: 800 !important;
}

/* buttons */
.s-button-element,
button,
.btn {
  background: var(--main-color) !important;
  color: #fff !important;
  border-radius: 14px !important;
  border: none !important;
  transition: .25s ease !important;
}

.s-button-element:hover,
button:hover,
.btn:hover {
  background: var(--nav-color) !important;
  transform: translateY(-2px) !important;
}

/* sections */
.s-slider-block__title-right h2,
.right-side h2 {
  color: var(--main-color) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* features */
.s-block--features__item {
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(2,52,58,.10) !important;
  box-shadow: 0 6px 16px rgba(2,52,58,.07) !important;
}

.s-block--features__item .feature-icon {
  background: var(--main-color) !important;
  color: #fff !important;
}

.s-block--features__item .feature-icon i {
  color: #fff !important;
}

/* premium footer */
.store-footer {
  background: radial-gradient(circle at top, #0f2d52, #02343a 75%) !important;
  color: #fff !important;
  padding: 60px 30px 30px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25) !important;
  border-radius: 0 !important;
  text-align: center !important;
}

.store-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.store-footer::after {
  display: none !important;
}

.store-footer h1,
.store-footer h2,
.store-footer h3,
.store-footer h4 {
  color: var(--gold-color) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-weight: 800 !important;
}

.store-footer h3 {
  font-size: 22px !important;
  margin-bottom: 18px !important;
}

.store-footer h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--gold-color);
  margin: 10px auto 0;
}

.store-footer,
.store-footer p,
.store-footer span,
.footer-list {
  color: #e8e8e8 !important;
  line-height: 1.9 !important;
}

.store-footer a {
  color: #fff !important;
  text-decoration: none !important;
  opacity: .9 !important;
  transition: .25s ease !important;
}

.store-footer a:hover {
  color: var(--gold-color) !important;
  opacity: 1 !important;
}

.store-footer__inner,
.footer-is-light .store-footer .store-footer__inner {
  background: transparent !important;
  text-align: center !important;
}

.store-footer__inner .flex {
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 35px !important;
  flex-wrap: wrap !important;
}

/* cr / vat */
.store-footer .flex.items-center,
.store-footer .flex.justify-center {
  flex-wrap: wrap !important;
  gap: 18px !important;
  align-items: center !important;
  justify-content: center !important;
}

.store-footer .tax-number,
.store-footer .vat-number,
.store-footer [class*="tax"],
.store-footer [class*="vat"],
.store-footer [class*="commercial"],
.store-footer [class*="certificate"] {
  display: block !important;
  text-align: center !important;
  line-height: 1.8 !important;
  white-space: normal !important;
  margin: 0 8px !important;
}

.store-footer img {
  max-width: 70px !important;
  height: auto !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)) !important;
}

/* social */
salla-apps-icons,
.contact-social salla-apps-icons,
.store-footer salla-apps-icons,
.s-apps-icons-list {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.s-social-list {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 20px auto 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.s-social-list a {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(212,175,55,.45) !important;
  background: transparent !important;
  color: var(--gold-color) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.22) !important;
  transition: .25s ease !important;
}

.s-social-list a i,
.s-social-list a svg,
.s-social-list a span {
  font-size: 22px !important;
  width: 22px !important;
  height: 22px !important;
  color: var(--gold-color) !important;
  fill: var(--gold-color) !important;
  stroke: var(--gold-color) !important;
}

.s-social-list a svg + svg,
.s-social-list a i + i,
.s-social-list a span + span {
  display: none !important;
}

.s-social-list a:hover {
  background: var(--gold-color) !important;
  transform: translateY(-3px) scale(1.06) !important;
}

.s-social-list a:hover * {
  color: #000 !important;
  fill: #000 !important;
  stroke: #000 !important;
}

/* copyright */
.store-footer .text-center,
.store-footer__copyright,
.copyright {
  color: #e6e6e6 !important;
  font-size: 14px !important;
  border-top: 1px solid rgba(212,175,55,.22) !important;
  padding-top: 18px !important;
  margin-top: 28px !important;
}

/* mobile */
@media (max-width: 768px) {
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 20px !important; }
  h4 { font-size: 17px !important; }

  .s-navbar-logo img,
  .navbar-brand img,
  .logo img {
    max-height: 55px !important;
  }

  .s-search input,
  input[type="search"] {
    width: 92% !important;
    max-width: none !important;
  }

  .header-btn__icon,
  .s-header-icons a {
    width: 40px !important;
    height: 40px !important;
  }

  .store-footer {
    padding: 45px 18px 25px !important;
  }

  .store-footer__inner .flex {
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
  }

  .store-footer img {
    max-width: 64px !important;
  }

  .s-social-list a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
}
/* seo keyword highlight - appearance only */
.seo-keyword-strong {
  color: #02343a !important;
  font-weight: 800 !important;
}

.seo-keyword-medium {
  color: #0f2d52 !important;
  font-weight: 700 !important;
}

.seo-keyword-weak {
  color: #666 !important;
  font-weight: 500 !important;
}
/* إزالة الخلفية الطويلة التي تظهر خلف زر "إضافة للسلة" و "اشتري الآن" فقط */

/* الحاوية التي تحتوي الزرين */
.s-product-form .flex,
.s-product-form .grid,
.s-product-actions,
.s-product-form-buttons,
.product-form .flex,
.product-form .grid {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* إزالة أي عناصر وهمية ترسم خلفية ممتدة */
.s-product-form .flex::before,
.s-product-form .flex::after,
.s-product-form .grid::before,
.s-product-form .grid::after,
.s-product-actions::before,
.s-product-actions::after,
.s-product-form-buttons::before,
.s-product-form-buttons::after,
.product-form .flex::before,
.product-form .flex::after,
.product-form .grid::before,
.product-form .grid::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
}

/* إزالة أي ظل أو خلفية من العنصر الأب المباشر */
.s-add-product-button-main,
.s-add-product-button-main + button,
.s-add-product-button-main ~ button {
  position: relative !important;
  z-index: 2 !important;
}
/* final cart + sticky header fix */

/* الهيدر عند النزول يبقى داكن */
#mainnav,
.s-header-sticky,
.s-header-sticky #mainnav,
header.sticky,
header.fixed {
  background: #02343a !important;
}

/* إظهار السلة والسعر */
.header-btn,
.header-btn__icon,
.s-cart-summary-wrapper,
.s-cart-summary-total,
.s-cart-summary-total *,
.s-cart-summary-count {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
}

/* لون السعر والعملة */
.s-cart-summary-total,
.s-cart-summary-total *,
#mainnav .s-cart-summary-total,
#mainnav .s-cart-summary-total *,
.s-header-sticky .s-cart-summary-total,
.s-header-sticky .s-cart-summary-total * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

/* دائرة السلة */
.header-btn__icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #02343a !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  justify-content: center !important;
}

/* أيقونة السلة */
.header-btn__icon i,
.header-btn__icon svg {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* عداد السلة */
.s-cart-summary-count {
  background: #e11d48 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}
/* breadcrumb gold - salla strong selector */
salla-breadcrumb,
salla-breadcrumb *,
nav[aria-label="breadcrumb"],
nav[aria-label="breadcrumb"] *,
.breadcrumbs,
.breadcrumbs *,
.breadcrumb,
.breadcrumb *,
.s-breadcrumb,
.s-breadcrumb * {
  color: #d4af37 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

/* الروابط داخل المسار */
salla-breadcrumb a,
nav[aria-label="breadcrumb"] a,
.breadcrumbs a,
.breadcrumb a,
.s-breadcrumb a {
  color: #d4af37 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* الفواصل */
salla-breadcrumb svg,
salla-breadcrumb i,
nav[aria-label="breadcrumb"] svg,
.breadcrumbs svg,
.breadcrumb svg,
.s-breadcrumb svg {
  color: #d4af37 !important;
  fill: #d4af37 !important;
  stroke: #d4af37 !important;
}