/* ═══════════════════════════════════════════════════════
   🎨 DARK PREMIUM THEME — DAZZ Style
   ═══════════════════════════════════════════════════════ */

:root {
  --logo: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/xApmgl/Dx46f8FJrbpPb5NPPcIwXAZPh4BHJhACeBTD99kT.png);
  --main-color: #ffffff;
  --second-color: #b0b0b0;
  --third-color: #0b0b0b;
}

/* ═══════ GLOBAL ═══════ */
body {
  background-color: #0b0b0b !important;
  color: #f0f0f0;
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

.bg-inherit {
  background-color: #0b0b0b !important;
}

section {
  background: transparent !important;
}

/* ═══════ HEADER — Premium Top Bar ═══════ */
header.store-header:before {
  background-color: #0f0f0f !important;
  height: 42px;
  margin-bottom: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#mainnav {
  background: #0b0b0b !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Logo — subtle glow */
.navbar-brand > img {
  filter: brightness(1.1) !important;
  animation: none !important;
  scale: 1.1;
  transition: filter 0.3s ease;
}

.navbar-brand > img:hover {
  filter: brightness(1.3) drop-shadow(0 0 8px rgba(255,255,255,0.15)) !important;
}

/* Search bar — sleek rounded */
.top-navbar .s-search-input {
  background: #161616 !important;
  box-shadow: none !important;
  color: #e0e0e0 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 25px !important;
  padding: 8px 18px !important;
  font-size: 0.875rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.top-navbar .s-search-input:focus {
  border-color: rgba(255,255,255,0.2) !important;
  background: #1c1c1c !important;
  outline: none;
}

input.s-search-input::placeholder {
  color: #555 !important;
  font-size: 0.85rem;
}

.s-search-icon svg {
  fill: #888 !important;
  transition: fill 0.2s ease;
}

.s-search-icon:hover svg {
  fill: #fff !important;
}

/* Nav icons — clean hover */
.header-btn__icon.icon,
.header-btn__icon.icon:where([dir=rtl], [dir=rtl] *) {
  color: #ccc !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
}

.header-btn__icon.icon:hover {
  color: #fff !important;
  transform: scale(1.1) !important;
}

.sicon-user-circle,
.sicon-menu,
.sicon-shopping-bag:before,
.sicon-user-circle:before {
  color: #ccc !important;
  transition: color 0.25s ease;
}

.sicon-user-circle:hover,
.sicon-menu:hover {
  color: #fff !important;
  rotate: none !important;
}

.s-cart-summary-total {
  color: #fff !important;
  font-weight: 600;
}

/* Nav links — elegant spacing */
.main-menu li.root-level > a {
  color: #ccc !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  transition: color 0.25s ease !important;
  padding-bottom: 1.5rem !important;
}

.main-menu li.root-level > a:hover {
  color: #fff !important;
}

/* Top bar links */
.s-contacts-topnav-link,
.topnav-link-item:last-child,
.topnav-link-item:last-child:where([dir=rtl], [dir=rtl] *),
.topnav-link-item.right-side:first-child,
.topnav-link-item.right-side:first-child:where([dir=rtl], [dir=rtl] *) {
  color: #888 !important;
  transition: color 0.25s ease;
  font-size: 0.8rem;
}

.s-contacts-topnav-link:hover,
.topnav-link-item:last-child:hover,
.topnav-link-item.right-side:first-child:hover {
  color: #fff !important;
}

/* ═══════ PRODUCT CARDS — Clean & Dark ═══════ */
.s-product-card-entry {
  background-color: #111 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  scale: 1;
  padding: 0 !important;
  overflow: hidden;
  --_g: none;
  background-image: none !important;
}

.s-product-card-entry:hover {
  border-color: rgba(255,255,255,0.12) !important;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}

.s-product-card-image {
  background: #151515 !important;
  animation: none !important;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden;
}

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

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

.s-product-card-content-title a {
  color: #eee !important;
  font-weight: 500;
  font-size: 0.88rem !important;
  transition: color 0.2s ease;
}

.s-product-card-content-title a:hover {
  color: #fff !important;
}

.s-product-card-price {
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem !important;
}

.s-product-card-vertical .s-product-card-wishlist-btn {
  color: #fff !important;
  background-color: rgba(0,0,0,0.55) !important;
  backdrop-filter: blur(4px);
  border-radius: 50% !important;
  transition: background 0.25s ease;
}

.s-product-card-vertical .s-product-card-wishlist-btn:hover {
  background-color: rgba(255,255,255,0.15) !important;
}

/* ═══════ BUTTONS — Sleek White ═══════ */
.s-button-btn,
.s-block--tabs-produtcs .tab-trigger.is-active button {
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #0b0b0b !important;
  font-weight: 700;
  border-color: #fff !important;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.s-button-btn:hover,
.s-block--tabs-produtcs .tab-trigger.is-active button:hover {
  background-color: #e0e0e0 !important;
  color: #0b0b0b !important;
  border-color: #e0e0e0 !important;
  transform: translateY(-1px);
}

.s-product-card-content-footer .s-button-btn,
.s-products-slider-card .s-product-card-entry .s-button-btn {
  animation: none !important;
  background-color: #fff !important;
  color: #000 !important;
  font-size: 0.78rem !important;
}

/* ═══════ HEADINGS — Refined ═══════ */
.s-slider-block__title h2,
.s-block__title h2,
.s-reviews-header {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.s-slider-block__title h2::after,
.s-reviews-header::after,
.s-block__title h2::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
  height: 1px !important;
}

/* ═══════ FEATURES SECTION — شريط أفقي مودرن ═══════ */

/* الحاوية الأب (grid) — نحولها flex أفقي */
.s-block--features__item:first-child:last-child,
.grid.gap-4 {
  background: #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* كل عنصر مميزة — أيقونة + نص بالعرض */
.s-block--features__item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 20px !important;
  text-align: start !important;
  position: relative;
}

/* فاصل بين العناصر */
.s-block--features__item:not(:last-child)::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 25% !important;
  height: 50% !important;
  width: 1px !important;
  background: rgba(255,255,255,0.08) !important;
  border: none !important;
  box-shadow: none !important;
}

/* الأيقونة — صغيرة وبسيطة */
.s-block--features__item .feature-icon {
  background: none !important;
  animation: none !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  flex-shrink: 0 !important;
}

.s-block--features__item .feature-icon::after {
  display: none !important;
  content: none !important;
}

.s-block--features__item .feature-icon::before {
  display: none !important;
  content: none !important;
}

.s-block--features__item .feature-icon i {
  color: #fff !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

/* العنوان */
.s-block--features__item h2 {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

/* الوصف */
.s-block--features__item p {
  color: #666 !important;
  font-size: 0.75rem !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  line-height: 1.4;
}

/* ═══════ FOOTER — Minimal Dark ═══════ */
.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner {
  background: #0b0b0b !important;
  color: #777;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.store-footer h3 {
  background-color: #141414 !important;
  color: #eee !important;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-weight: 600;
}

.store-footer a {
  color: #888 !important;
  transition: color 0.2s ease;
}

.store-footer a:hover {
  color: #fff !important;
}

.copyright-text p {
  color: #444 !important;
}

.store-footer::after {
  color: #333 !important;
}

.footer-is-light .store-footer .store-footer__inner::before {
  filter: brightness(1.2);
}

/* ═══════ SIDE MENU — Dark Glass ═══════ */
.mm-spn.mm-spn--light {
  color: #fff !important;
  background-color: #0f0f0f !important;
}

ul.main-menu .mm-spn--open {
  background-color: #0f0f0f !important;
}

.mm-spn li a,
.mm-spn li > span {
  color: #ddd !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.mm-spn li a:hover,
.mm-spn li > span:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.04);
}

/* ═══════ BANNERS ═══════ */
.banner-entry {
  background-color: #0b0b0b !important;
  border-radius: 10px;
  overflow: hidden;
}

/* ═══════ REVIEWS ═══════ */
.s-reviews-container .swiper-slide-active .s-reviews-testimonial {
  background: #151515 !important;
  color: #eee;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.s-reviews-container .swiper-slide-next .s-reviews-testimonial,
.s-reviews-container .swiper-slide-prev .s-reviews-testimonial {
  background: #0f0f0f !important;
  color: #777;
}

/* ═══════ PRODUCT DETAIL PAGE ═══════ */
.md\:text-2xl,
.whitespace-nowrap {
  color: #fff !important;
}

.sm\:p-1 {
  color: #ccc !important;
}

.form-label {
  color: #888 !important;
}

.text-primary {
  color: #fff !important;
}

.s-breadcrumb-item {
  color: #555 !important;
}

.item-price {
  color: #fff !important;
}

.leading-6 {
  color: #bbb !important;
}

.shadow-default b,
.shadow-default strong,
.shadow-default.font-bold {
  color: #fff !important;
}

/* ═══════ CATEGORIES ═══════ */
a.slide--cat-entry {
  background: #141414 !important;
  color: #ddd !important;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px !important;
  transition: all 0.3s ease;
}

a.slide--cat-entry:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.15) !important;
  background: #1a1a1a !important;
  transform: translateY(-2px);
}

/* ═══════ MISC ═══════ */
.s-quantity-input-input {
  color: #fff !important;
  background: #161616 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

.s-fast-checkout-button.outline {
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.s-fast-checkout-button.outline:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.5) !important;
}

body.dark-mode {
  background: #0b0b0b !important;
}

/* Rating */
.product-rating {
  color: #FFD700 !important;
}

/* Scroll icon */
#scroll-icon .circle {
  stroke: rgba(255,255,255,0.6) !important;
}

#scroll-icon div {
  color: rgba(255,255,255,0.7) !important;
}

/* Contact icons */
.s-contacts-icon {
  background: #181818 !important;
  border: 1px solid rgba(255,255,255,0.06);
}

.s-contacts-icon::after {
  background: #141414 !important;
}

.s-contacts-icon svg {
  color: #ddd !important;
}

/* Social links */
.s-social-link a {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.s-social-link a:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}

/* Pagination */
salla-slider .swiper-pagination-bullet {
  background: rgba(255,255,255,0.2) !important;
}

salla-slider .swiper-pagination-bullet-active {
  background: #fff !important;
}

/* Swiper slides spacing */
.swiper-slide {
  margin-bottom: 10px;
}

/* ═══════ LOGIN BUTTON & CART & SHOPPING BAG — إزالة الخلفيات والحدود ═══════ */
.s-user-menu-login-btn,
.s-cart-summary,
.header-btn__icon.sicon-shopping-bag,
i.sicon-shopping-bag {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.s-user-menu-login-btn::before,
.s-user-menu-login-btn::after,
.s-cart-summary::before,
.s-cart-summary::after,
.header-btn__icon.sicon-shopping-bag::before,
.header-btn__icon.sicon-shopping-bag::after,
i.sicon-shopping-bag::before,
i.sicon-shopping-bag::after {
  color: #ffffff !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* أيقونات SVG — أبيض صريح */
.s-user-menu-login-btn svg,
.s-user-menu-login-btn svg *,
.s-cart-summary svg,
.s-cart-summary svg *,
.header-btn__icon.sicon-shopping-bag svg,
.header-btn__icon.sicon-shopping-bag svg * {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

/* العناصر الداخلية */
.s-user-menu-login-btn i,
.s-cart-summary i,
.header-btn__icon.sicon-shopping-bag {
  color: #ffffff !important;
}

.s-user-menu-login-btn span,
.s-cart-summary span {
  color: #ffffff !important;
}