/* =========================================================
   WHITE ONE | وايت ون — ثيم مخصص لمتجر سلة (Twilight / رائد)
   الألوان: #000000 · #FFFFFF · #E5E5E5 · #D4B89B · #D9466B
   الخطوط: Tajawal (عربي) · Montserrat (إنجليزي)
   ========================================================= */

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

:root {
  --wo-black: #000000;
  --wo-ink: #111111;
  --wo-white: #FFFFFF;
  --wo-gray: #E5E5E5;
  --wo-soft: #F7F5F3;
  --wo-blush: #F7E7E7;
  --wo-beige: #D4B89B;
  --wo-rose: #D9466B;
  --wo-rose-dark: #B8355A;
  --wo-muted: #777777;
  --wo-radius: 10px;
  --wo-radius-lg: 16px;
  --wo-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  --wo-shadow-hover: 0 14px 36px rgba(0, 0, 0, .12);
  --wo-ease: cubic-bezier(.22, .61, .36, 1);
  --wo-font: 'Tajawal', 'Montserrat', sans-serif;
  --wo-font-en: 'Montserrat', 'Tajawal', sans-serif;

  /* متغيرات سلة الأساسية */
  --color-primary: #000000;
  --color-primary-dark: #000000;
  --color-primary-light: #333333;
  --color-primary-reverse: #FFFFFF;
  --font-main: 'Tajawal', 'Montserrat', sans-serif;
}

/* ---------- أساسيات ---------- */
html, body {
  font-family: var(--wo-font) !important;
  background: var(--wo-white);
  color: var(--wo-ink);
  -webkit-font-smoothing: antialiased;
}
body * { font-family: inherit; }
::selection { background: var(--wo-rose); color: #fff; }

a { transition: color .25s var(--wo-ease); }
a:hover { color: var(--wo-rose); }

img { image-rendering: auto; }

/* ---------- عرض كامل للمتجر ---------- */
:root { --wo-gutter: clamp(16px, 3vw, 56px); }

html, body { overflow-x: hidden; }

.container,
.store-header .container,
.main-nav-container .container,
.top-navbar .container,
.store-footer .container,
main .container,
.s-block .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: var(--wo-gutter) !important;
  margin-inline: 0 !important;
}

/* السلايدر الرئيسي من الحافة للحافة */
.s-block--photos-slider,
.s-block--hero-slider,
.s-block--photos-slider .container,
.s-block--hero-slider .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
}
.s-block--photos-slider img,
.s-block--hero-slider img {
  width: 100% !important;
  object-fit: cover;
}

/* الشبكات تتمدد مع عرض الشاشة */
@media (min-width: 1440px) {
  .s-block--square-photos .grid,
  .s-block--categories .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .s-products-list .grid,
  salla-products-list .s-products-list-wrapper {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1800px) {
  .s-products-list .grid,
  salla-products-list .s-products-list-wrapper {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* ---------- الشريط العلوي ---------- */
.top-navbar,
.store-header .top-navbar {
  background: var(--wo-black) !important;
  color: var(--wo-white) !important;
  font-size: 12.5px;
  letter-spacing: .3px;
  border: 0 !important;
}
.top-navbar a,
.top-navbar span,
.top-navbar button,
.top-navbar i { color: var(--wo-white) !important; }
.top-navbar a:hover { color: var(--wo-beige) !important; }

/* ---------- الهيدر ---------- */
.store-header,
#mainnav,
.main-nav-container {
  background: var(--wo-white) !important;
}
.main-nav-container {
  border-bottom: 1px solid var(--wo-gray);
  transition: box-shadow .3s var(--wo-ease), padding .3s var(--wo-ease);
}
.wo-scrolled .main-nav-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.navbar-brand img,
.store-header .logo img {
  max-height: 58px !important;
  width: auto;
  transition: max-height .3s var(--wo-ease);
}
.wo-scrolled .navbar-brand img { max-height: 46px !important; }

/* أيقونات الهيدر */
.header-btn,
.store-header .header-btn,
.main-nav-container .s-cart-summary-wrapper,
.main-nav-container salla-user-menu button {
  color: var(--wo-black) !important;
  transition: color .25s var(--wo-ease), transform .25s var(--wo-ease);
}
.header-btn:hover { color: var(--wo-rose) !important; transform: translateY(-1px); }
.s-cart-summary-count,
.header-btn .counter,
.s-cart-summary-wrapper .s-cart-summary-count {
  background: var(--wo-rose) !important;
  color: #fff !important;
  font-weight: 700;
}

/* البحث */
salla-search input,
.s-search-input,
.store-header input[type="search"] {
  border-radius: 999px !important;
  border: 1px solid var(--wo-gray) !important;
  background: var(--wo-soft) !important;
  font-size: 13px;
}
salla-search input:focus,
.s-search-input:focus {
  border-color: var(--wo-black) !important;
  box-shadow: none !important;
}

/* القائمة الرئيسية */
.main-menu > li > a,
.menu-item > a,
.s-menu-topnav-item a {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--wo-ink) !important;
  position: relative;
  padding-block: 14px;
}
.main-menu > li > a::after,
.menu-item > a::after {
  content: '';
  position: absolute;
  inset-inline: 20%;
  bottom: 6px;
  height: 2px;
  background: var(--wo-rose);
  transform: scaleX(0);
  transition: transform .3s var(--wo-ease);
}
.main-menu > li > a:hover::after,
.main-menu > li.active > a::after,
.menu-item > a:hover::after { transform: scaleX(1); }
.main-menu > li > a:hover,
.main-menu > li.active > a { color: var(--wo-rose) !important; }

.main-menu .sub-menu,
.main-menu ul ul {
  border: 1px solid var(--wo-gray) !important;
  border-radius: var(--wo-radius) !important;
  box-shadow: var(--wo-shadow) !important;
}

/* ---------- الأزرار ---------- */
.s-button-primary,
.s-button-element.s-button-primary,
.btn--primary,
.btn-primary,
salla-add-product-button .s-button-element,
.s-product-card-content-footer .s-button-element {
  background: var(--wo-black) !important;
  border-color: var(--wo-black) !important;
  color: var(--wo-white) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: .2px;
  transition: background .3s var(--wo-ease), border-color .3s var(--wo-ease), transform .2s var(--wo-ease) !important;
}
.s-button-primary:hover,
.s-button-element.s-button-primary:hover,
.btn--primary:hover,
salla-add-product-button .s-button-element:hover,
.s-product-card-content-footer .s-button-element:hover {
  background: var(--wo-rose) !important;
  border-color: var(--wo-rose) !important;
}
.s-button-primary:active { transform: scale(.98); }

.s-button-outline,
.s-button-primary-outline,
.btn--outline {
  border: 1px solid var(--wo-black) !important;
  color: var(--wo-black) !important;
  background: transparent !important;
  border-radius: 999px !important;
}
.s-button-outline:hover,
.s-button-primary-outline:hover,
.btn--outline:hover {
  background: var(--wo-black) !important;
  color: #fff !important;
}

/* ---------- عناوين الأقسام (خط على الجانبين) ---------- */
.s-block__title,
.s-slider-block__title {
  text-align: center;
  justify-content: center;
  margin-bottom: 28px !important;
}
.s-block__title h2,
.s-slider-block__title h2,
.s-block__title .title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(18px, 2.2vw, 24px) !important;
  font-weight: 700 !important;
  color: var(--wo-black) !important;
}
.s-block__title h2::before,
.s-block__title h2::after,
.s-slider-block__title h2::before,
.s-slider-block__title h2::after {
  content: '';
  width: clamp(40px, 10vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wo-beige));
}
.s-block__title h2::after,
.s-slider-block__title h2::after {
  background: linear-gradient(90deg, var(--wo-beige), transparent);
}
/* العنوان في الوسط، و«عرض الكل» والأسهم في طرف الصف */
.s-slider-block__title,
.s-block__title {
  position: relative;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
.s-slider-block__title-right { margin: 0 !important; }

/* «عرض الكل» والأسهم معًا في طرف الصف */
.s-slider-block__title-left,
.s-block__title .s-block__display-all,
.s-block__title > a {
  position: absolute !important;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
}
.s-slider-block__title-nav {
  position: static !important;
  transform: none !important;
  display: flex !important;
  gap: 8px;
  margin: 0 !important;
}
.s-block__title a,
.s-slider-block__title-nav a {
  color: var(--wo-rose) !important;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- السلايدر الرئيسي ---------- */
.s-block--photos-slider,
.s-block--hero-slider {
  margin-top: 0 !important;
}
.s-block--photos-slider .swiper-slide,
.s-block--photos-slider .slide,
.s-block--hero-slider .swiper-slide {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.s-block--photos-slider .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.s-block--photos-slider img,
.s-block--hero-slider img {
  transition: transform 6s var(--wo-ease);
}
.s-block--photos-slider .swiper-slide-active img { transform: scale(1.04); }

.swiper-pagination-bullet {
  background: var(--wo-white) !important;
  opacity: .6 !important;
  width: 7px !important;
  height: 7px !important;
  transition: all .3s var(--wo-ease);
}
.swiper-pagination-bullet-active {
  background: var(--wo-rose) !important;
  opacity: 1 !important;
  width: 22px !important;
  border-radius: 999px !important;
}
.s-slider-nav-arrow,
.swiper-button-next,
.swiper-button-prev,
.s-slider-block__title-nav button {
  background: rgba(255, 255, 255, .92) !important;
  color: var(--wo-black) !important;
  border: 1px solid var(--wo-gray) !important;
  border-radius: 50% !important;
  transition: all .25s var(--wo-ease);
}
.s-slider-nav-arrow:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover,
.s-slider-block__title-nav button:hover {
  background: var(--wo-black) !important;
  color: #fff !important;
  border-color: var(--wo-black) !important;
}

/* ---------- تسوق حسب الفئة (صور مربعة) ---------- */
.s-block--square-photos .grid,
.s-block--categories .grid {
  gap: 14px !important;
}
.s-block--square-photos a,
.s-block--categories a,
.s-block--enhanced-square-banners a {
  display: block;
  position: relative;
  border-radius: var(--wo-radius) !important;
  overflow: hidden;
  background: var(--wo-blush);
  border: 1px solid var(--wo-gray);
  transition: transform .35s var(--wo-ease), box-shadow .35s var(--wo-ease);
}
.s-block--square-photos a:hover,
.s-block--categories a:hover,
.s-block--enhanced-square-banners a:hover {
  transform: translateY(-4px);
  box-shadow: var(--wo-shadow-hover);
}
.s-block--square-photos img,
.s-block--categories img,
.s-block--enhanced-square-banners img {
  transition: transform .6s var(--wo-ease);
}
.s-block--square-photos a:hover img,
.s-block--categories a:hover img,
.s-block--enhanced-square-banners a:hover img { transform: scale(1.06); }

.s-block--square-photos h3,
.s-block--square-photos .title,
.s-block--categories h3,
.s-block--categories .title {
  background: var(--wo-white) !important;
  color: var(--wo-black) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 11px 14px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-shadow: none !important;
}
.s-block--square-photos h3::after,
.s-block--categories h3::after {
  content: '‹';
  font-size: 18px;
  line-height: 1;
  color: var(--wo-muted);
  transition: transform .3s var(--wo-ease), color .3s;
}
html[dir="ltr"] .s-block--square-photos h3::after,
html[dir="ltr"] .s-block--categories h3::after { content: '›'; }
.s-block--square-photos a:hover h3::after,
.s-block--categories a:hover h3::after {
  color: var(--wo-rose);
  transform: translateX(-4px);
}

/* ---------- البانرات الثابتة / العروض ---------- */
.s-block--fixed-banner a,
.s-block--banners a,
.s-block--offers a {
  display: block;
  border-radius: var(--wo-radius-lg) !important;
  overflow: hidden;
  position: relative;
}
.s-block--fixed-banner img,
.s-block--banners img { transition: transform .8s var(--wo-ease); }
.s-block--fixed-banner a:hover img,
.s-block--banners a:hover img { transform: scale(1.03); }

/* ---------- بطاقة المنتج ---------- */
.s-product-card-entry {
  background: var(--wo-white) !important;
  border: 1px solid var(--wo-gray) !important;
  border-radius: var(--wo-radius) !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: transform .35s var(--wo-ease), box-shadow .35s var(--wo-ease), border-color .35s;
}
.s-product-card-entry:hover {
  transform: translateY(-4px);
  box-shadow: var(--wo-shadow-hover) !important;
  border-color: transparent !important;
}
.s-product-card-image {
  background: var(--wo-white) !important;
  border-bottom: 1px solid #F0F0F0;
  overflow: hidden;
}
/* الصورة تملأ إطار البطاقة كاملًا بمقاس موحد */
.s-product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto !important;
}
.s-product-card-image > a,
.s-product-card-image picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center;
  /* هامش داخلي حول الصورة */
  padding: clamp(14px, 8%, 28px) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  mix-blend-mode: normal;
  transition: transform .6s var(--wo-ease);
}

/* زر «نفدت الكمية» والأزرار المعطلة */
.s-product-card-content-footer .s-button-element[disabled],
.s-product-card-content-footer .s-button-disabled,
salla-add-product-button .s-button-element[disabled],
.s-button-element.s-button-disabled {
  background: var(--wo-soft) !important;
  border: 1px solid var(--wo-gray) !important;
  color: var(--wo-muted) !important;
  cursor: not-allowed;
  opacity: 1 !important;
}
.s-product-card-entry:hover .s-product-card-image img { transform: scale(1.06); }

.s-product-card-content { padding: 14px !important; }
.s-product-card-content-title,
.s-product-card-content-title a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--wo-ink) !important;
  line-height: 1.55;
}
.s-product-card-content-subtitle {
  color: var(--wo-muted) !important;
  font-size: 12px !important;
}
.s-product-card-price,
.s-product-card-sale-price h4,
.s-product-card-content-price {
  color: var(--wo-black) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}
.s-product-card-sale-price span,
.s-product-card-content-sub del {
  color: #A8A8A8 !important;
  font-weight: 400 !important;
}
.s-product-card-promotion-title,
.s-product-card-promotion,
.promotion-title {
  background: var(--wo-rose) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
}

/* زر المفضلة */
.s-product-card-wishlist-btn,
.s-product-card-entry .s-product-card-wishlist-btn .s-button-element {
  background: rgba(255, 255, 255, .95) !important;
  color: var(--wo-black) !important;
  border-radius: 50% !important;
  border: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: color .25s, transform .25s var(--wo-ease);
}
.s-product-card-wishlist-btn:hover,
.s-product-card-wishlist-btn.s-product-card-wishlist-added,
.s-product-card-wishlist-btn .s-button-element:hover {
  color: var(--wo-rose) !important;
  transform: scale(1.08);
}

/* زر الإضافة للسلة في البطاقة */
.s-product-card-content-footer { margin-top: 10px; }
.s-product-card-content-footer .s-button-element {
  width: 100%;
  min-height: 40px;
  font-size: 13px !important;
  border-radius: 8px !important;
}

/* ---------- الماركات ---------- */
.s-block--brands,
.wo-brands {
  background: var(--wo-white);
  border-block: 1px solid var(--wo-gray);
  padding-block: 26px !important;
}
.s-block--brands img,
.wo-brands img {
  filter: grayscale(1) contrast(1.1);
  opacity: .75;
  max-height: 48px;
  object-fit: contain;
  transition: filter .35s, opacity .35s, transform .35s var(--wo-ease);
}
.s-block--brands a:hover img,
.wo-brands a:hover img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------- المميزات (دفع آمن / شحن...) ---------- */
.s-block--features .feature,
.s-block--features > div > div,
.s-block--features .s-block--features__item {
  background: transparent !important;
  border: 0 !important;
}
/* دائرة الأيقونة: خلفية فاتحة بإطار، والأيقونة سوداء */
.s-block--features .feature-icon,
.s-block--features [class*="__icon"],
.s-block--features .rounded-full {
  background: var(--wo-soft) !important;
  border: 1px solid var(--wo-gray) !important;
  color: var(--wo-black) !important;
  box-shadow: none !important;
  transition: background .3s var(--wo-ease), border-color .3s, transform .3s var(--wo-ease);
}
.s-block--features i,
.s-block--features [class^="sicon-"],
.s-block--features [class*=" sicon-"],
.s-block--features .feature-icon i,
.s-block--features .feature-icon svg {
  color: var(--wo-black) !important;
  fill: currentColor;
  background: transparent !important;
  font-size: 26px !important;
}
.s-block--features > div > div:hover .feature-icon,
.s-block--features > div > div:hover .rounded-full,
.s-block--features .s-block--features__item:hover .feature-icon {
  background: var(--wo-blush) !important;
  border-color: var(--wo-rose) !important;
  transform: translateY(-3px);
}
.s-block--features > div > div:hover i,
.s-block--features .s-block--features__item:hover i {
  color: var(--wo-rose) !important;
}
.s-block--features p {
  color: var(--wo-muted) !important;
  font-size: 13px !important;
}
.s-block--features h2,
.s-block--features h3 {
  font-weight: 700 !important;
  font-size: 14.5px !important;
}

/* شريط الثقة المضاف بالجافاسكربت */
.wo-trust {
  background: var(--wo-black);
  color: var(--wo-white);
  border-top: 1px solid #1d1d1d;
}
.wo-trust__inner {
  max-width: 100%;
  margin: 0;
  padding: 22px var(--wo-gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.wo-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 10px;
  border-inline-start: 1px solid #2a2a2a;
}
.wo-trust__item:first-child { border-inline-start: 0; }
.wo-trust__item svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  stroke: var(--wo-white);
}
.wo-trust__item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}
.wo-trust__item span {
  display: block;
  font-size: 11.5px;
  color: #B5B5B5;
}

/* ---------- الفوتر ---------- */
.store-footer,
footer.store-footer {
  background: var(--wo-black) !important;
  color: #CFCFCF !important;
}
.store-footer__inner,
.store-footer .footer-top {
  background: var(--wo-black) !important;
  border-top: 1px solid #1d1d1d;
}
.store-footer h3,
.store-footer h4,
.store-footer .footer-title {
  color: var(--wo-white) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  position: relative;
  padding-bottom: 10px;
}
.store-footer h3::after,
.store-footer h4::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--wo-beige);
}
.store-footer a,
.store-footer p,
.store-footer li,
.store-footer span { color: #BDBDBD !important; }
.store-footer a:hover { color: var(--wo-beige) !important; }
.store-footer img.logo,
.store-footer .footer-logo img {
  filter: brightness(0) invert(1);
  max-height: 60px;
}
.store-footer .social-links a,
.store-footer salla-social a {
  border: 1px solid #333 !important;
  border-radius: 50% !important;
  color: #fff !important;
  transition: all .25s;
}
.store-footer .social-links a:hover,
.store-footer salla-social a:hover {
  background: var(--wo-white) !important;
  color: var(--wo-black) !important;
}
.store-footer .copyright-text,
.store-footer .footer-bottom {
  background: #070707 !important;
  color: #8a8a8a !important;
  font-size: 12px;
}

/* ---------- صفحة المنتج ---------- */
.product-single .main-content,
body.product-single .container { --tw-text-opacity: 1; }

.product-single h1,
.product__title,
.product-entry h1 {
  font-size: clamp(20px, 2.4vw, 28px) !important;
  font-weight: 700 !important;
  color: var(--wo-black) !important;
}
.product-single .price-wrapper .total-price,
.product-single .price_is_on_sale,
.product-single .product-price,
.product-entry .total-price {
  color: var(--wo-black) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}
.product-single .before-price,
.product-single del { color: #A8A8A8 !important; }

.product-single .swiper-slide img,
.details-slider img {
  background: var(--wo-soft);
  border-radius: var(--wo-radius-lg);
}
.product-single .swiper-thumbs .swiper-slide,
.details-slider .thumbs .swiper-slide {
  border: 1px solid var(--wo-gray) !important;
  border-radius: 8px !important;
  overflow: hidden;
  opacity: .65;
  transition: opacity .25s, border-color .25s;
}
.product-single .swiper-thumbs .swiper-slide-thumb-active,
.details-slider .thumbs .swiper-slide-thumb-active {
  border-color: var(--wo-black) !important;
  opacity: 1;
}

/* خيارات المنتج (الحجم) كبطاقات */
salla-product-options .s-product-options-thumbnails-wrapper label,
salla-product-options .s-product-options-colors-wrapper label,
salla-product-options .s-product-options-radio-item label,
.s-product-options-option label {
  border-radius: 999px !important;
  border: 1px solid var(--wo-gray) !important;
  transition: border-color .25s, background .25s;
}
salla-product-options input:checked + label,
.s-product-options-option input:checked + label {
  border-color: var(--wo-black) !important;
  background: var(--wo-black) !important;
  color: #fff !important;
}

/* عداد الكمية */
salla-quantity-input,
.s-quantity-input-container {
  border: 1px solid var(--wo-gray) !important;
  border-radius: 999px !important;
  overflow: hidden;
}
.s-quantity-input-button { color: var(--wo-black) !important; }
.s-quantity-input-button:hover { background: var(--wo-soft) !important; }

/* التبويبات والوصف */
.product-single .tabs a.is-active,
.product-single .tab-trigger.active {
  color: var(--wo-black) !important;
  border-color: var(--wo-rose) !important;
}
.product-single .rating-stars svg,
.s-rating-stars-selected { color: #E0B04B !important; fill: #E0B04B !important; }

/* ---------- السلة ---------- */
body.cart .cart-item,
.s-cart-item,
.cart-item {
  border: 1px solid var(--wo-gray) !important;
  border-radius: var(--wo-radius) !important;
  background: var(--wo-white) !important;
  box-shadow: none !important;
}
body.cart .cart-item img { background: var(--wo-soft); border-radius: 8px; }
.cart-summary,
#cart-summary,
.s-cart-summary {
  border: 1px solid var(--wo-gray) !important;
  border-radius: var(--wo-radius-lg) !important;
  background: var(--wo-soft) !important;
}
.cart-summary .total-price,
#cart-summary .total { font-weight: 800 !important; color: var(--wo-black) !important; }
#cart-submit,
.cart-submit-btn {
  width: 100%;
  min-height: 50px;
  font-size: 16px !important;
}

/* ---------- صفحة القسم / التصفية ---------- */
salla-filters,
.s-filters-widget {
  border: 1px solid var(--wo-gray) !important;
  border-radius: var(--wo-radius) !important;
  background: var(--wo-white) !important;
}
.s-filters-widget-title { font-weight: 700 !important; font-size: 14px !important; }
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  accent-color: var(--wo-rose);
}
.s-range-slider .noUi-connect,
.noUi-connect { background: var(--wo-black) !important; }
.noUi-handle { border-color: var(--wo-black) !important; }

.breadcrumbs,
salla-breadcrumb { font-size: 12.5px; color: var(--wo-muted); }

/* ---------- حقول الإدخال والنوافذ ---------- */
.form-input,
.s-form-control,
input.form-control,
select.form-control,
textarea.form-control {
  border-radius: 8px !important;
  border-color: var(--wo-gray) !important;
}
.form-input:focus,
.s-form-control:focus {
  border-color: var(--wo-black) !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .06) !important;
}
.s-modal-body,
.s-modal-wrapper .s-modal-body { border-radius: var(--wo-radius-lg) !important; }

/* ---------- شريط التنقل السفلي للجوال ---------- */
.wo-bottom-nav { display: none; }

@media (max-width: 768px) {
  .wo-bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--wo-gray);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .05);
  }
  .wo-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--wo-ink) !important;
    padding: 4px 0;
    position: relative;
  }
  .wo-bottom-nav svg { width: 22px; height: 22px; stroke: currentColor; }
  .wo-bottom-nav a.is-active { color: var(--wo-rose) !important; font-weight: 700; }
  .wo-bottom-nav .wo-badge {
    position: absolute;
    top: 0;
    inset-inline-start: calc(50% + 6px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wo-rose);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
  }
  .wo-bottom-nav .wo-badge:empty,
  .wo-bottom-nav .wo-badge[data-count="0"] { display: none; }

  body.wo-has-bottom-nav { padding-bottom: 68px; }

  /* زر واتساب أو الدردشة فوق الشريط */
  body.wo-has-bottom-nav .whatsapp-btn,
  body.wo-has-bottom-nav [class*="whatsapp"] { bottom: 80px !important; }

  .s-block__title h2::before,
  .s-block__title h2::after,
  .s-slider-block__title h2::before,
  .s-slider-block__title h2::after { display: none; }

  /* على الجوال: العنوان يمين و«عرض الكل» يسار بدون تداخل */
  .s-slider-block__title,
  .s-block__title { justify-content: space-between !important; }
  .s-slider-block__title-left,
  .s-block__title .s-block__display-all,
  .s-block__title > a {
    position: static !important;
    transform: none;
  }
  .s-slider-block__title-nav button { display: none !important; }

  .s-block--square-photos .grid,
  .s-block--categories .grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

  .s-product-card-content { padding: 10px !important; }
  .s-product-card-content-title,
  .s-product-card-content-title a { font-size: 13px !important; }

  .wo-trust__inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .wo-trust__item:nth-child(3) { border-inline-start: 0; }
}

/* ---------- حركة الظهور عند التمرير ---------- */
.wo-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--wo-ease), transform .8s var(--wo-ease);
}
.wo-reveal.wo-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .wo-reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}