:root {
  --color-primary: #4a2845;
  --color-primary-dark: #2b1028;
  --color-primary-light: #7a5874;
  --color-primary-reverse: #fffaf7;

  --hakami-bg: #faf7f2;
  --hakami-card: #ffffff;
  --hakami-card-soft: #fcf8f4;
  --hakami-border: #eadfda;
  --hakami-text: #2f2430;
  --hakami-muted: #6f6270;
  --hakami-gold: #b28b53;

  --hakami-radius: 20px;
  --hakami-radius-sm: 14px;
  --hakami-shadow: 0 12px 35px rgba(53, 28, 49, 0.08);
  --hakami-shadow-hover: 0 20px 40px rgba(53, 28, 49, 0.14);
}

/* خلفية عامة */
body#app {
  background: linear-gradient(180deg, #fffdfb 0%, var(--hakami-bg) 100%);
  color: var(--hakami-text);
}

.container {
  max-width: 1320px;
}

/* =========================
   الهيدر العلوي
========================= */
.top-navbar {
  background: linear-gradient(90deg, #3b2038 0%, #5a3554 100%);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-navbar .s-search-input {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 16px !important;
  min-height: 48px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.top-navbar .s-search-input::placeholder {
  color: rgba(255, 255, 255, 0.75) !important;
}

.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* =========================
   النافبار الرئيسي
========================= */
.main-nav-container {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hakami-border);
  box-shadow: 0 10px 30px rgba(40, 22, 37, 0.05);
}

.main-nav-container.fixed-pinned .inner {
  box-shadow: 0 12px 30px rgba(40, 22, 37, 0.10);
}

.navbar-brand img {
  max-height: 58px;
  max-width: 190px;
  width: auto;
}

.main-menu > li.root-level > a {
  font-weight: 700;
  color: var(--hakami-text);
  transition: color 0.25s ease;
}

.main-menu > li.root-level > a:hover {
  color: var(--color-primary);
}

.header-btn__icon,
.btn--circle-gray,
.btn--rounded-gray,
#nav-cart,
.s-cart-summary-wrapper {
  border-radius: 16px !important;
  border: 1px solid var(--hakami-border) !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(55, 33, 51, 0.05);
}

.header-btn__icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
}

/* =========================
   المسافات والعناوين
========================= */
.s-block {
  margin-top: 34px;
  margin-bottom: 34px;
}

.s-block__title {
  align-items: flex-end;
  margin-bottom: 20px !important;
}

.s-block__title .right-side {
  padding-left: 0 !important;
}

.s-block__title h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--hakami-text);
  letter-spacing: -0.2px;
}

.s-block__title h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--hakami-gold));
}

/* =========================
   السلايدر الرئيسي
========================= */
salla-slider.photos-slider .swiper {
  padding-bottom: 3rem !important;
}

.home-slider.photos-slider .swiper-slide {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--hakami-shadow);
}

.home-slider.photos-slider img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 460px) !important;
  object-fit: cover !important;
}

salla-slider.photos-slider .swiper-pagination-bullet {
  background: #c9b8c4;
  opacity: 1;
}

salla-slider.photos-slider .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 999px;
}

/* =========================
   قسم الأقسام / البانرات
========================= */
.s-block--banners .grid {
  gap: 18px !important;
}

.banner-entry {
  background: linear-gradient(180deg, #fff 0%, var(--hakami-card-soft) 100%) !important;
  border: 1px solid var(--hakami-border);
  border-radius: 22px !important;
  min-height: 210px;
  box-shadow: 0 10px 25px rgba(64, 35, 59, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.banner-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(64, 35, 59, 0.12);
  border-color: #d8c1b6;
}

.banner-entry .lazy__bg {
  position: absolute;
  inset: 18px;
  background-size: contain !important;
  background-position: center !important;
  transition: transform 0.25s ease;
}

.banner-entry:hover .lazy__bg {
  transform: scale(1.03);
}

/* =========================
   بطاقات المنتجات
========================= */
.vertical-products .s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px !important;
}

.vertical-products .s-product-card-entry {
  border: 1px solid var(--hakami-border) !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(57, 33, 50, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vertical-products .s-product-card-entry:hover {
  transform: translateY(-8px);
  box-shadow: var(--hakami-shadow-hover);
  border-color: #d8c1b6 !important;
}

.vertical-products .s-product-card-image {
  background: #f7f1eb;
  min-height: 280px;
}

.vertical-products .s-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 18px;
}

.vertical-products .s-product-card-content {
  padding: 16px 16px 18px !important;
}

.vertical-products .s-product-card-content-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  min-height: 58px;
  color: var(--hakami-text);
}

.vertical-products .s-product-card-content-subtitle {
  font-size: 0.88rem;
  color: var(--hakami-muted) !important;
  min-height: 24px;
}

.vertical-products .s-product-card-price,
.vertical-products .s-product-card-sale-price h4 {
  font-size: 1rem;
  color: var(--color-primary) !important;
  font-weight: 800;
}

.vertical-products .s-product-card-sale-price span {
  color: #9a8c97 !important;
}

.vertical-products .s-product-card-content-footer {
  padding-top: 10px;
  border-top: 1px solid #f1e7e2;
  margin-top: 14px;
}

.vertical-products .s-product-card-wishlist-btn button {
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* =========================
   الفوتر
========================= */
.store-footer {
  border-top: 1px solid var(--hakami-border);
  background: #f7f1eb !important;
  color: var(--hakami-text) !important;
}

.store-footer__inner,
.footer-is-light .store-footer .store-footer__inner {
  background: #fbf8f4 !important;
  border-bottom: 1px dashed #e7d9d4 !important;
}

.store-footer,
.store-footer a,
.copyright-text p {
  color: var(--hakami-text) !important;
}

.store-footer h3 {
  color: var(--hakami-text);
  font-weight: 800;
}

.store-footer h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--hakami-gold);
}

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

/* =========================
   تحسينات عامة صغيرة
========================= */
a,
button {
  transition: all 0.25s ease;
}

::selection {
  background: rgba(74, 40, 69, 0.16);
  color: var(--hakami-text);
}

/* =========================
   ريسبونسف
========================= */
@media (max-width: 991px) {
  .vertical-products .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
  }

  .banner-entry {
    min-height: 170px;
  }

  .home-slider.photos-slider img {
    height: 240px !important;
  }

  .navbar-brand img {
    max-height: 50px;
  }
}

@media (max-width: 640px) {
  .top-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .s-block {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .vertical-products .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
  }

  .vertical-products .s-product-card-image {
    min-height: 220px;
  }

  .vertical-products .s-product-card-content-title {
    min-height: auto;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .banner-entry {
    min-height: 150px;
    border-radius: 18px !important;
  }

  .home-slider.photos-slider .swiper-slide {
    border-radius: 18px;
  }
}


/* =========================================================
   HAKAMI STORE - Homepage UX/UI Polish
   مناسب لقالب سلة الحالي في الصفحة الرئيسية
========================================================= */

:root {
  --color-primary: #4a2845;
  --color-primary-dark: #2b1028;
  --color-primary-light: #7a5874;
  --color-primary-reverse: #fffaf7;

  --hakami-bg: #faf7f2;
  --hakami-card: #ffffff;
  --hakami-card-soft: #fcf8f4;
  --hakami-border: #eadfda;
  --hakami-text: #2f2430;
  --hakami-muted: #6f6270;
  --hakami-gold: #b28b53;

  --hakami-radius: 20px;
  --hakami-radius-sm: 14px;
  --hakami-shadow: 0 12px 35px rgba(53, 28, 49, 0.08);
  --hakami-shadow-hover: 0 20px 40px rgba(53, 28, 49, 0.14);
}

/* الخلفية العامة */
body#app {
  background: linear-gradient(180deg, #fffdfb 0%, var(--hakami-bg) 100%);
  color: var(--hakami-text);
}

.container {
  max-width: 1320px;
}

/* =========================
   الشريط العلوي
========================= */
.top-navbar {
  background: linear-gradient(90deg, #3b2038 0%, #5a3554 100%);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-navbar .s-search-input {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 16px !important;
  min-height: 48px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.top-navbar .s-search-input::placeholder {
  color: rgba(255,255,255,0.75) !important;
}

.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus {
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

/* =========================
   الهيدر والتنقل
========================= */
.main-nav-container {
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hakami-border);
  box-shadow: 0 10px 30px rgba(40,22,37,0.05);
}

.main-nav-container.fixed-pinned .inner {
  box-shadow: 0 12px 30px rgba(40,22,37,0.10);
}

.navbar-brand img {
  max-height: 58px;
  max-width: 190px;
  width: auto;
}

.main-menu > li.root-level > a {
  font-weight: 700;
  color: var(--hakami-text);
  transition: color 0.25s ease;
}

.main-menu > li.root-level > a:hover {
  color: var(--color-primary);
}

.header-btn__icon,
.btn--circle-gray,
.btn--rounded-gray,
#nav-cart,
.s-cart-summary-wrapper {
  border-radius: 16px !important;
  border: 1px solid var(--hakami-border) !important;
  background: #402840 !important;
  box-shadow: 0 8px 20px rgba(55,33,51,0.05);
}

.header-btn__icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
}

/* =========================
   مسافات وعناوين الأقسام
========================= */
.s-block {
  margin-top: 34px;
  margin-bottom: 34px;
}

.s-block__title {
  align-items: flex-end;
  margin-bottom: 20px !important;
}

.s-block__title .right-side {
  padding-left: 0 !important;
}

.s-block__title h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--hakami-text);
  letter-spacing: -0.2px;
}

.s-block__title h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--hakami-gold));
}

/* =========================
   البنر / السلايدر الرئيسي
========================= */
.s-block--photos-slider {
  margin-top: 18px;
}

salla-slider.photos-slider .swiper {
  padding-bottom: 3rem !important;
}

.home-slider.photos-slider .swiper-slide {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--hakami-shadow);
}

.home-slider.photos-slider img {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 460px) !important;
  object-fit: cover !important;
}

salla-slider.photos-slider .swiper-pagination-bullet {
  background: #c9b8c4;
  opacity: 1;
}

salla-slider.photos-slider .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 999px;
}

/* =========================
   شبكة الأقسام
========================= */
.s-block--banners .grid {
  gap: 18px !important;
}

.banner-entry {
  background: linear-gradient(180deg, #fff 0%, var(--hakami-card-soft) 100%) !important;
  border: 1px solid var(--hakami-border);
  border-radius: 22px !important;
  min-height: 210px;
  box-shadow: 0 10px 25px rgba(64,35,59,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.banner-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(64,35,59,0.12);
  border-color: #d8c1b6;
}

.banner-entry .lazy__bg {
  position: absolute;
  inset: 18px;
  background-size: contain !important;
  background-position: center !important;
  transition: transform 0.25s ease;
}

.banner-entry:hover .lazy__bg {
  transform: scale(1.03);
}

/* في حال ظهر عنوان داخل بطاقة القسم */
.banner-entry h3,
.banner-entry article {
  position: relative;
  z-index: 2;
}

/* =========================
   بطاقات المنتجات
========================= */
.vertical-products .s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px !important;
}

.vertical-products .s-product-card-entry {
  border: 1px solid var(--hakami-border) !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(57,33,50,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vertical-products .s-product-card-entry:hover {
  transform: translateY(-8px);
  box-shadow: var(--hakami-shadow-hover);
  border-color: #d8c1b6 !important;
}

.vertical-products .s-product-card-image {
  background: #f7f1eb;
  min-height: 280px;
}

.vertical-products .s-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 18px;
}

.vertical-products .s-product-card-content {
  padding: 16px 16px 18px !important;
}

.vertical-products .s-product-card-content-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  min-height: 58px;
  color: var(--hakami-text);
}

.vertical-products .s-product-card-content-subtitle {
  font-size: 0.88rem;
  color: var(--hakami-muted) !important;
  min-height: 24px;
}

.vertical-products .s-product-card-price,
.vertical-products .s-product-card-sale-price h4 {
  font-size: 1rem;
  color: var(--color-primary) !important;
  font-weight: 800;
}

.vertical-products .s-product-card-sale-price span {
  color: #9a8c97 !important;
}

.vertical-products .s-product-card-content-footer {
  padding-top: 10px;
  border-top: 1px solid #f1e7e2;
  margin-top: 14px;
}

.vertical-products .s-product-card-wishlist-btn button {
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* =========================
   أزرار عامة
========================= */
button,
.btn,
a.button,
.s-button-element,
salla-button button {
  border-radius: 14px !important;
}

a,
button {
  transition: all 0.25s ease;
}

/* =========================
   الفوتر
========================= */
.store-footer {
  border-top: 1px solid var(--hakami-border);
  background: #f7f1eb !important;
  color: var(--hakami-text) !important;
}

.store-footer__inner,
.footer-is-light .store-footer .store-footer__inner {
  background: #fbf8f4 !important;
  border-bottom: 1px dashed #e7d9d4 !important;
}

.store-footer,
.store-footer a,
.copyright-text p {
  color: var(--hakami-text) !important;
}

.store-footer h3 {
  color: var(--hakami-text);
  font-weight: 800;
}

.store-footer h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--hakami-gold);
}

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

/* =========================
   تأثيرات خفيفة
========================= */
::selection {
  background: rgba(74,40,69,0.16);
  color: var(--hakami-text);
}

/* =========================
   ريسبونسف
========================= */
@media (max-width: 991px) {
  .vertical-products .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
  }

  .banner-entry {
    min-height: 170px;
  }

  .home-slider.photos-slider img {
    height: 240px !important;
  }

  .navbar-brand img {
    max-height: 50px;
  }
}

@media (max-width: 640px) {
  .top-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .s-block {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .vertical-products .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px !important;
  }

  .vertical-products .s-product-card-image {
    min-height: 220px;
  }

  .vertical-products .s-product-card-content-title {
    min-height: auto;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .banner-entry {
    min-height: 150px;
    border-radius: 18px !important;
  }

  .home-slider.photos-slider .swiper-slide {
    border-radius: 18px;
  }
}



/************************************************
  HEADER THEME - Logo Color: #402840
************************************************/

/* الهيدر الرئيسي */
header,
.header,
.top-header,
.main-header,
.navbar,
.app-header,
.mobile-header {
  background-color: #402840 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #5a3a5a !important;
}

/* أي طبقات داخلية كانت تحمل خلفية بيضاء */
header > div,
header .container,
header .wrapper,
header .inner,
header .header-inner,
header .topbar,
header .top-bar,
header .nav-wrapper,
header .search-row,
header .toolbar,
.header > div,
.header .container,
.header .wrapper,
.header .inner,
.navbar .container,
.main-header .container,
.mobile-header .container {
  background-color: #402840 !important;
}

/* جميع النصوص والروابط داخل الهيدر */
header,
header a,
header span,
header p,
header strong,
header small,
header div,
.header,
.header a,
.header span,
.header p,
.main-header,
.main-header a,
.main-header span,
.navbar,
.navbar a,
.navbar span,
.mobile-header,
.mobile-header a,
.mobile-header span {
  color: #ffffff !important;
}

/* الأيقونات */
header i,
header svg,
header svg *,
header .icon,
header .menu-icon,
header .cart-icon,
header .user-icon,
header .wishlist-icon,
header .account-icon,
header .search-icon,
.header i,
.header svg,
.header svg *,
.navbar i,
.navbar svg,
.navbar svg *,
.main-header i,
.main-header svg,
.main-header svg *,
.mobile-header i,
.mobile-header svg,
.mobile-header svg * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* لو كان الشعار نصّي */
header .logo,
header .site-logo,
header .brand,
header .navbar-brand,
.header .logo,
.main-header .logo,
.mobile-header .logo {
  color: #ffffff !important;
}

/************************************************
  SEARCH BOX
************************************************/

/* صندوق البحث */
header input,
header input[type="search"],
header input[type="text"],
header .search-box,
header .search-input,
header .search-form input,
header .form-control,
.header input,
.navbar input,
.main-header input,
.mobile-header input {
  background-color: #ffffff !important;
  color: #402840 !important;
  border: 1px solid #e7e7e7 !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

/* placeholder */
header input::placeholder,
header .search-input::placeholder,
.header input::placeholder,
.navbar input::placeholder,
.main-header input::placeholder,
.mobile-header input::placeholder {
  color: #8b778b !important;
  opacity: 1;
}

/* زر أو أيقونة البحث */
header .search-btn,
header .search-submit,
header .search-icon,
.header .search-btn,
.navbar .search-btn {
  color: #402840 !important;
  fill: #402840 !important;
  stroke: #402840 !important;
  background: transparent !important;
}

/************************************************
  CART ICON + BADGE
************************************************/

/* حاوية السلة */
header .cart,
header .cart-icon,
header .shopping-cart,
header .header-cart,
.header .cart,
.navbar .cart,
.main-header .cart {
  position: relative;
}

/* رقم عداد السلة */
header .cart-count,
header .badge,
header .count,
header .cart-badge,
.header .cart-count,
.header .badge,
.navbar .cart-count,
.navbar .badge,
.main-header .cart-count,
.mobile-header .cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background-color: #ffffff !important;
  color: #402840 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  text-align: center;
  border: 2px solid #402840 !important;
  box-sizing: border-box;
}

/************************************************
  CART TOTAL / AMOUNT
************************************************/

/* مبلغ السلة */
.s-cart-summary-total,
.s-cart-summary-total span,
.s-cart-summary-total strong,
.s-cart-summary-total small {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* أي نصوص أخرى متعلقة بالسلة داخل الهيدر */
header .cart-total,
header .cart-price,
header .cart-summary,
header .mini-cart-total,
header .s-cart-summary-total,
.header .cart-total,
.navbar .cart-total {
  color: #ffffff !important;
}

/************************************************
  MENU / ACCOUNT / LINKS
************************************************/

/* أي عناصر تفاعلية */
header button,
header .btn,
header .menu,
header .account,
header .user,
header .wishlist,
.header button,
.navbar button,
.main-header button {
  color: #ffffff !important;
  background: transparent !important;
  border-color: transparent !important;
}

/* hover */
header a:hover,
header button:hover,
header .icon:hover,
header .menu-icon:hover,
header .cart-icon:hover,
header .user-icon:hover {
  color: #f3eaf3 !important;
  fill: #f3eaf3 !important;
  stroke: #f3eaf3 !important;
}

/************************************************
  PREVENT WHITE BLOCKS INSIDE HEADER
************************************************/

header::before,
header::after,
.header::before,
.header::after,
.main-header::before,
.main-header::after {
  background: transparent !important;
}

/* إزالة أي خلفية بيضاء مفروضة على عناصر داخلية */
header .bg-white,
header .bg-light,
header .text-black,
header .text-dark,
.header .bg-white,
.navbar .bg-white {
  background-color: transparent !important;
  color: #ffffff !important;
}

/************************************************
  OPTIONAL: if amount or cart text appears dark
************************************************/

header .s-cart-summary-total,
header .s-cart-summary-total *,
header .cart-summary *,
header .cart-total * {
  color: #ffffff !important;


  /* =========================================
   تحسين وضوح البحث والسلة في الهيدر
   ضعه في آخر ملف CSS
========================================= */

/* شريط الهيدر العلوي */
.top-navbar {
  background: linear-gradient(90deg, #3a1f36 0%, #5a3554 100%) !important;
}

/* حاوية البحث */
.header-search {
  max-width: 760px;
  width: 100%;
}

/* حقل البحث نفسه */
.top-navbar .s-search-input {
  background: #ffffff !important;
  color: #2f2430 !important;
  border: 2px solid rgba(74, 40, 69, 0.14) !important;
  border-radius: 18px !important;
  min-height: 52px !important;
  box-shadow: 0 10px 24px rgba(29, 12, 26, 0.12) !important;
  padding-inline: 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.top-navbar .s-search-input::placeholder {
  color: #7c6f79 !important;
  opacity: 1 !important;
}

.top-navbar .s-search-input:hover {
  border-color: rgba(74, 40, 69, 0.28) !important;
  box-shadow: 0 12px 28px rgba(29, 12, 26, 0.14) !important;
}

.top-navbar .s-search-input:focus,
.top-navbar .s-search-input:focus-visible {
  border-color: #4a2845 !important;
  box-shadow: 0 0 0 4px rgba(74, 40, 69, 0.10), 0 12px 30px rgba(29, 12, 26, 0.16) !important;
  outline: none !important;
}

/* زر/أيقونة البحث إن ظهرت */
.top-navbar .search-btn,
.top-navbar .s-search-input + button,
.top-navbar .s-search-input ~ button {
  color: #4a2845 !important;
}

/* أيقونات الهيدر العامة */
.header-btn {
  margin-inline-start: 8px;
}

.header-btn__icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  border: 1.5px solid #e7d9d4 !important;
  background: #ffffff !important;
  color: #4a2845 !important;
  box-shadow: 0 8px 20px rgba(42, 19, 37, 0.08) !important;
}

.header-btn:hover .header-btn__icon {
  background: #fff8fc !important;
  border-color: #d2b8cb !important;
}

/* السلة */
#nav-cart,
.s-cart-summary-wrapper,
salla-cart-summary {
  min-width: 96px !important;
}

#nav-cart {
  background: #ffffff !important;
  border: 1.5px solid #e7d9d4 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(42, 19, 37, 0.10) !important;
  padding: 10px 14px !important;
}

#nav-cart:hover {
  background: #fff8fc !important;
  border-color: #cfaec4 !important;
}

#nav-cart .icon,
#nav-cart i,
#nav-cart svg {
  color: #4a2845 !important;
  fill: #4a2845 !important;
}

.s-cart-summary-total {
  color: #2f2430 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.s-cart-summary-count {
  background: #b03862 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  min-width: 22px !important;
  height: 22px !important;
  line-height: 18px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(176, 56, 98, 0.30) !important;

  /* =========================================
   FINAL FIX - البحث والسلة أبيض كامل
========================================= */

/* خلفية الشريط العلوي */
.top-navbar {
  background: linear-gradient(90deg, #3c2138 0%, #5b3554 100%) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* حاوية البحث */
.header-search {
  width: 100% !important;
  max-width: 760px !important;
}

/* البحث - أبيض كامل وواضح */
.top-navbar .s-search-input,
.top-navbar input[type="search"],
.top-navbar input[type="text"] {
  background: #ffffff !important;
  color: #2f2430 !important;
  border: none !important;
  border-radius: 18px !important;
  min-height: 52px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
  padding-inline: 18px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.top-navbar .s-search-input::placeholder,
.top-navbar input[type="search"]::placeholder,
.top-navbar input[type="text"]::placeholder {
  color: #7a7a7a !important;
  opacity: 1 !important;
}

.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus,
.top-navbar .s-search-input:focus-visible,
.top-navbar input[type="search"]:hover,
.top-navbar input[type="search"]:focus,
.top-navbar input[type="search"]:focus-visible,
.top-navbar input[type="text"]:hover,
.top-navbar input[type="text"]:focus,
.top-navbar input[type="text"]:focus-visible {
  background: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
}

/* لو فيه زر بحث أو أيقونة داخل البحث */
.top-navbar .search-btn,
.top-navbar .search-icon,
.top-navbar .s-search-icon,
.top-navbar button[type="submit"] {
  color: #4a2845 !important;
  fill: #4a2845 !important;
}

/* أيقونة الحساب / الأزرار الجانبية - أبيض كامل */
.header-btn {
  margin-inline-start: 8px !important;
}

.header-btn__icon,
.btn--circle-gray,
.btn--rounded-gray {
  width: 46px !important;
  height: 46px !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  color: #4a2845 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.header-btn__icon:hover,
.btn--circle-gray:hover,
.btn--rounded-gray:hover {
  background: #ffffff !important;
  color: #4a2845 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

/* السلة - أبيض كامل وواضحة */
#nav-cart,
.s-cart-summary-wrapper,
salla-cart-summary {
  background: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
}

#nav-cart {
  min-width: 92px !important;
  padding: 10px 14px !important;
}

#nav-cart:hover {
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
}

/* لون أيقونة السلة والنص */
#nav-cart .icon,
#nav-cart i,
#nav-cart svg,
#nav-cart span,
.s-cart-summary-total,
.s-cart-summary-wrapper span {
  color: #4a2845 !important;
  fill: #4a2845 !important;
}

.s-cart-summary-total {
  font-weight: 800 !important;
  font-size: 14px !important;
}

/* عداد السلة */
.s-cart-summary-count {
  background: #b23a63 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  min-width: 22px !important;
  height: 22px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  box-shadow: 0 4px 12px rgba(178, 58, 99, 0.28) !important;
}

/* تحسين الهيدر الأبيض السفلي */
.main-nav-container {
  background: #ffffff !important;
  border-bottom: 1px solid #eee3de !important;
  box-shadow: 0 8px 24px rgba(46, 21, 39, 0.06) !important;
}

/* تحسين الجوال */
@media (max-width: 991px) {
  .header-search {
    max-width: 100% !important;
  }

  .top-navbar .s-search-input,
  .top-navbar input[type="search"],
  .top-navbar input[type="text"] {
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .header-btn__icon,
  .btn--circle-gray,
  .btn--rounded-gray {
    width: 42px !important;
    height: 42px !important;
  }

  #nav-cart {
    min-width: auto !important;
    padding: 8px 12px !important;
  }
}


  /* ===== FIX البحث + السلة + الحساب أبيض كامل ===== */

.top-navbar .s-search-input,
.top-navbar input[type="search"],
.top-navbar input[type="text"] {
  background: #fff !important;
  color: #2f2430 !important;
  border: 0 !important;
  border-radius: 18px !important;
  min-height: 52px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}

.top-navbar .s-search-input::placeholder,
.top-navbar input[type="search"]::placeholder,
.top-navbar input[type="text"]::placeholder {
  color: #777 !important;
  opacity: 1 !important;
}

.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus,
.top-navbar .s-search-input:focus-visible,
.top-navbar input[type="search"]:hover,
.top-navbar input[type="search"]:focus,
.top-navbar input[type="text"]:hover,
.top-navbar input[type="text"]:focus {
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
}

.header-btn__icon,
.btn--circle-gray,
.btn--rounded-gray {
  background: #fff !important;
  color: #4a2845 !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.14) !important;
}

#nav-cart,
.s-cart-summary-wrapper,
salla-cart-summary {
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}

#nav-cart .icon,
#nav-cart i,
#nav-cart svg,
#nav-cart span,
.s-cart-summary-total,
.s-cart-summary-wrapper span {
  color: #4a2845 !important;
  fill: #4a2845 !important;
}

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


  /* =========================================
   HEADER FINAL CLEAN FIX
   Hakami Store - Search + Cart + Icons
========================================= */

/* الشريط العلوي */
.top-navbar {
  background: linear-gradient(90deg, #3c2138 0%, #5b3554 100%) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* حاوية البحث */
.header-search {
  width: 100% !important;
  max-width: 760px !important;
}

/* البحث */
.top-navbar .s-search-input,
.top-navbar input[type="search"],
.top-navbar input[type="text"] {
  background: #ffffff !important;
  color: #2f2430 !important;
  border: none !important;
  border-radius: 18px !important;
  min-height: 52px !important;
  padding-inline: 18px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: none !important;
}

.top-navbar .s-search-input::placeholder,
.top-navbar input[type="search"]::placeholder,
.top-navbar input[type="text"]::placeholder {
  color: #777777 !important;
  opacity: 1 !important;
}

.top-navbar .s-search-input:hover,
.top-navbar .s-search-input:focus,
.top-navbar .s-search-input:focus-visible,
.top-navbar input[type="search"]:hover,
.top-navbar input[type="search"]:focus,
.top-navbar input[type="search"]:focus-visible,
.top-navbar input[type="text"]:hover,
.top-navbar input[type="text"]:focus,
.top-navbar input[type="text"]:focus-visible {
  background: #ffffff !important;
  color: #2f2430 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

/* أيقونة أو زر البحث */
.top-navbar .search-btn,
.top-navbar .search-icon,
.top-navbar .s-search-icon,
.top-navbar button[type="submit"] {
  color: #4a2845 !important;
  fill: #4a2845 !important;
  stroke: #4a2845 !important;
  background: transparent !important;
}

/* أزرار الهيدر */
.header-btn {
  margin-inline-start: 8px !important;
}

.header-btn__icon,
.btn--circle-gray,
.btn--rounded-gray {
  width: 46px !important;
  height: 46px !important;
  background: #ffffff !important;
  color: #4a2845 !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14) !important;
}

.header-btn__icon:hover,
.btn--circle-gray:hover,
.btn--rounded-gray:hover {
  background: #ffffff !important;
  color: #4a2845 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
}

/* السلة */
#nav-cart,
.s-cart-summary-wrapper,
salla-cart-summary {
  background: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
}

#nav-cart {
  min-width: 92px !important;
  padding: 10px 14px !important;
}

#nav-cart:hover {
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

/* أيقونة السلة والنص */
#nav-cart .icon,
#nav-cart i,
#nav-cart svg,
#nav-cart span,
.s-cart-summary-total,
.s-cart-summary-wrapper span {
  color: #4a2845 !important;
  fill: #4a2845 !important;
  stroke: #4a2845 !important;
}

.s-cart-summary-total {
  font-weight: 800 !important;
  font-size: 14px !important;
}

/* عداد السلة */
.s-cart-summary-count {
  background: #b23a63 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  min-width: 22px !important;
  height: 22px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
  box-shadow: 0 4px 12px rgba(178, 58, 99, 0.28) !important;
}

/* الهيدر السفلي الأبيض */
.main-nav-container {
  background: #ffffff !important;
  border-bottom: 1px solid #eee3de !important;
  box-shadow: 0 8px 24px rgba(46, 21, 39, 0.06) !important;
}

.main-nav-container.fixed-pinned .inner {
  box-shadow: 0 12px 30px rgba(40,22,37,0.10) !important;
}

/* روابط القائمة */
.main-menu > li.root-level > a {
  font-weight: 700 !important;
  color: #2f2430 !important;
  transition: color 0.25s ease !important;
}

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

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

/* الجوال */
@media (max-width: 991px) {
  .header-search {
    max-width: 100% !important;
  }

  .top-navbar .s-search-input,
  .top-navbar input[type="search"],
  .top-navbar input[type="text"] {
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .header-btn__icon,
  .btn--circle-gray,
  .btn--rounded-gray {
    width: 42px !important;
    height: 42px !important;
  }

  #nav-cart {
    min-width: auto !important;
    padding: 8px 12px !important;
  }
}