/* ===== ZAD AL MUBARAKIYA CLEAN SAFE CSS V6 ===== */
/* نسخة آمنة: تحافظ على الهوية الذهبية/السوداء بدون كسر الدفع والسلة وصفحة المنتج */

:root{
  --gold:#d7b56d;
  --gold2:#f3d48c;
  --black:#000;
  --white:#fff;
  --text:#111;
  --border:#eee;
}

/* ===== SAFE GLOBAL ===== */
html,
body{
  background:#000!important;
}

body{
  color:#fff!important;
}

main{
  background:#000!important;
}

/* لا نغير كل section و .container عشان ما نكسر الدفع والسلة */

/* ===== HEADER ===== */
.navbar,
header,
.header{
  height:90px!important;
  min-height:90px!important;
  background:#000!important;
  border-bottom:1px solid var(--gold)!important;
  position:relative!important;
  padding:0 20px!important;
  overflow:hidden!important;
}

.navbar .container,
.navbar .container-fluid{
  position:relative!important;
  height:100%!important;
}

.css-navbar-brand,
.navbar-brand{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  width:110px!important;
  height:70px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  z-index:5!important;
  color:var(--gold)!important;
  font-size:16px!important;
  font-weight:700!important;
  text-align:center!important;
}

.css-navbar-brand img,
.navbar-brand img{
  max-width:95px!important;
  max-height:70px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  display:block!important;
}

.navbar .nav-link{
  margin:0!important;
  padding:0!important;
}

a[data-bs-target="#offcanvasMenu"],
button[data-bs-target="#offcanvasMenu"]{
  position:absolute!important;
  right:20px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:36px!important;
  height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  z-index:20!important;
}

a[data-bs-target="#offcanvasMenu"] i,
button[data-bs-target="#offcanvasMenu"] i,
.navbar .ti-menu-2{
  color:var(--gold)!important;
  font-size:28px!important;
  opacity:1!important;
}

a[data-bs-target="#offcanvasCart"],
a[href="#offcanvasCart"]{
  position:absolute!important;
  left:20px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--gold)!important;
  border-radius:10px!important;
  background:#000!important;
  margin:0!important;
  padding:0!important;
  z-index:20!important;
}

a[data-bs-target="#offcanvasCart"] i,
a[href="#offcanvasCart"] i,
.navbar .ti-shopping-bag{
  color:var(--gold)!important;
  font-size:22px!important;
  opacity:1!important;
}

a[data-bs-target="#offcanvasCart"] span,
a[href="#offcanvasCart"] span,
.navbar .js-cart-badge{
  position:absolute!important;
  top:-10px!important;
  right:-10px!important;
  left:auto!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  border-radius:50px!important;
  background:var(--gold2)!important;
  color:#000!important;
  font-size:11px!important;
  font-weight:900!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  opacity:1!important;
  z-index:30!important;
}

#js-search-mobile,
.js-search-mobile-container{
  display:none!important;
}

/* ===== HERO BANNER ===== */
#hero-slider,
.hero-slider,
.main-slider,
.home-slider,
.js-slider,
.banner,
.banners{
  background:#000!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

#hero-slider .container,
.hero-slider .container,
.main-slider .container,
.home-slider .container,
.js-slider .container{
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  background:#000!important;
}

#hero-slider .carousel,
#hero-slider .carousel-inner,
#hero-slider .carousel-item,
#hero-slider .ratio,
#hero-slider .ratio-16x9,
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slider .ratio,
.hero-slider .ratio-16x9{
  background:#000!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
}

.desktop-tablet-image{display:block!important;}
.mobile-image{display:none!important;}

#hero-slider img,
.hero-slider img,
.main-slider img,
.home-slider img,
.js-slider img,
.banner img,
.banners img{
  width:100%!important;
  height:auto!important;
  display:block!important;
  object-fit:cover!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#000!important;
}

/* ===== HOME PRODUCT CARDS ONLY ===== */
.js-card-item,
.card-product,
.product-card,
.product-item{
  background:#fff!important;
  border:1px solid var(--gold)!important;
  border-radius:14px!important;
  overflow:hidden!important;
  height:100%!important;
  box-shadow:0 4px 14px rgba(0,0,0,.35)!important;
  display:flex!important;
  flex-direction:column!important;
}

.js-card-item .js-card-top,
.js-card-item .card-img-top,
.product-card img,
.js-card-item img{
  background:#fff!important;
  border-radius:0!important;
}

.js-card-item .card-body,
.js-card-item .card-footer,
.js-card-item .list-group,
.js-card-item .list-group-flush,
.js-card-item .border-0,
.js-card-item .card-body > div{
  background:#fff!important;
  color:#111!important;
  border-color:#eee!important;
}

.js-card-item strong,
.js-card-item .fw-bold,
.js-card-item .product-title,
.js-card-item .product-name,
.js-card-item .text-body{
  color:#111!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.7!important;
}

.js-card-item .badge,
.js-card-item .product-label,
.js-card-item .label{
  background:linear-gradient(135deg,var(--gold),var(--gold2))!important;
  color:#111!important;
  font-size:11px!important;
  font-weight:800!important;
  border-radius:20px!important;
  padding:3px 8px!important;
  opacity:1!important;
}

.js-card-item .card-footer{
  margin-top:auto!important;
  padding:8px 10px!important;
  border-top:1px solid #eee!important;
}

.js-card-item .price,
.js-card-item .product-price,
.js-card-item .money,
.js-card-item .card-footer strong,
.js-card-item .card-footer span,
.js-card-item .card-footer div{
  color:#111!important;
  opacity:1!important;
  filter:none!important;
  font-weight:900!important;
  font-size:15px!important;
  text-shadow:none!important;
}

/* ===== SAFE BUTTONS - لا يؤثر على الدفع ===== */
main:not(.checkout):not(.cart) .js-card-item .btn,
main:not(.checkout):not(.cart) .js-card-item .btn-primary,
main:not(.checkout):not(.cart) .js-card-item a.btn,
main:not(.checkout):not(.cart) .js-card-item button,
.product-page .product-actions .btn-primary,
.product-page .js-section-add-to-cart .btn-primary{
  background:#000!important;
  color:var(--gold2)!important;
  border:1px solid var(--gold)!important;
  border-radius:10px!important;
  font-weight:800!important;
}

.js-card-item .btn,
.js-card-item .btn-primary,
.js-card-item a.btn,
.js-card-item button{
  width:100%!important;
  min-height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  opacity:1!important;
}

.js-card-item .btn span,
.js-card-item .btn-primary span,
.js-card-item a.btn span,
.js-card-item button span,
.js-card-item .btn .px-1,
.js-card-item .btn-primary .px-1,
.js-card-item i,
.product-page .product-actions .btn-primary span,
.product-page .js-section-add-to-cart .btn-primary span{
  color:var(--gold2)!important;
  fill:var(--gold2)!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:12px!important;
  font-weight:800!important;
}

.js-card-item .btn:hover,
.js-card-item .btn-primary:hover,
.js-card-item a.btn:hover,
.product-page .product-actions .btn-primary:hover,
.product-page .js-section-add-to-cart .btn-primary:hover{
  background:var(--gold)!important;
  color:#000!important;
}

.js-card-item .btn:hover span,
.js-card-item .btn-primary:hover span,
.js-card-item a.btn:hover span,
.js-card-item button:hover span,
.js-card-item .btn:hover i,
.js-card-item .btn-primary:hover i,
.product-page .product-actions .btn-primary:hover span,
.product-page .js-section-add-to-cart .btn-primary:hover span{
  color:#000!important;
  fill:#000!important;
}

button[aria-label*="favorite"],
.favorite-btn,
.btn-wishlist{
  background:#fff!important;
  color:#999!important;
  border:1px solid #ddd!important;
}

/* ===== PRODUCT PAGE SAFE FIX ===== */
.product,
.product-page,
.product-details{
  background:#000!important;
}

.product-gallery,
.product-images,
.product-media{
  background:#fff!important;
  border:1px solid var(--gold)!important;
  border-radius:14px!important;
  overflow:hidden!important;
}

.product-gallery img,
.product-images img,
.product-media img{
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  background:#fff!important;
}

.product-page .product-price,
.product-page .price,
.product-page .money,
.product-details .product-price,
.product-details .price,
.product-details .money{
  color:var(--gold2)!important;
  opacity:1!important;
}

/* ===== MOBILE PRODUCT PAGE ONLY ===== */
@media(max-width:767px){
  .desktop-tablet-image{display:none!important;}
  .mobile-image{display:block!important;}

  .navbar,
  header,
  .header{
    height:90px!important;
    min-height:90px!important;
    padding:0 18px!important;
  }

  .css-navbar-brand,
  .navbar-brand{width:105px!important;}

  .css-navbar-brand img,
  .navbar-brand img{
    max-width:90px!important;
    max-height:65px!important;
  }

  a[data-bs-target="#offcanvasMenu"],
  button[data-bs-target="#offcanvasMenu"]{right:18px!important;}

  a[data-bs-target="#offcanvasCart"],
  a[href="#offcanvasCart"]{
    left:18px!important;
    right:auto!important;
  }

  #hero-slider img,
  .hero-slider img,
  .main-slider img,
  .home-slider img,
  .js-slider img,
  .banner img,
  .banners img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }

  .swiper,
  .swiper-wrapper,
  .swiper-slide{background:#000!important;}
  .swiper-slide{height:auto!important;}

  .js-card-item,
  .card-product,
  .product-card,
  .product-item{min-height:360px!important;}

  .js-card-item .js-card-top,
  .js-card-item .card-img-top{
    height:165px!important;
    overflow:hidden!important;
  }

  .js-card-item .js-card-top img,
  .js-card-item .card-img-top img,
  .js-card-item img{
    width:100%!important;
    height:165px!important;
    object-fit:cover!important;
  }

  .js-card-item .card-body{
    min-height:120px!important;
    padding:8px 7px!important;
  }

  .js-card-item .card-footer{min-height:88px!important;}

  .js-card-item .btn,
  .js-card-item a.btn{
    width:100%!important;
    min-height:36px!important;
    font-size:12px!important;
    padding:8px 5px!important;
    color:var(--gold2)!important;
  }

  .product-page .product-gallery,
  .product-page .product-images,
  .product-page .product-media,
  .product-details .product-gallery,
  .product-details .product-images,
  .product-details .product-media{
    margin:14px!important;
  }

  .product-page .product-gallery img,
  .product-page .product-images img,
  .product-page .product-media img,
  .product-details .product-gallery img,
  .product-details .product-images img,
  .product-details .product-media img{
    max-height:320px!important;
  }

  .product-page #product-form,
  .product-page form#product-form,
  .product-details #product-form,
  .product-details form#product-form{
    width:100%!important;
    background:#000!important;
    display:block!important;
  }

  .product-page .js-quantity-add-buttons,
  .product-page .fixed-bottom.js-quantity-add-buttons,
  .product-details .js-quantity-add-buttons,
  .product-details .fixed-bottom.js-quantity-add-buttons{
    position:static!important;
    width:auto!important;
    margin:14px!important;
    padding:0!important;
    background:#000!important;
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    border:0!important;
    box-shadow:none!important;
  }

  .product-page .js-section-add-to-cart,
  .product-page .js-section-add-to-cart.card,
  .product-page .js-section-add-to-cart .card,
  .product-page .js-section-add-to-cart .card-body,
  .product-details .js-section-add-to-cart,
  .product-details .js-section-add-to-cart.card,
  .product-details .js-section-add-to-cart .card,
  .product-details .js-section-add-to-cart .card-body{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:auto!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    display:block!important;
  }

  .product-page .js-section-add-to-cart .btn,
  .product-page .js-section-add-to-cart .btn-primary,
  .product-page .js-section-add-to-cart button,
  .product-page .product-actions .btn-primary,
  .product-details .js-section-add-to-cart .btn,
  .product-details .js-section-add-to-cart .btn-primary,
  .product-details .js-section-add-to-cart button,
  .product-details .product-actions .btn-primary{
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    background:#000!important;
    color:var(--gold2)!important;
    border:1px solid var(--gold)!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:16px!important;
    font-weight:800!important;
    margin:0!important;
    padding:0 12px!important;
  }

  .product-page .js-quantity-add-buttons .input-group,
  .product-page .js-quantity-add-buttons .btn-group,
  .product-page .js-quantity-add-buttons [class*="quantity"],
  .product-details .js-quantity-add-buttons .input-group,
  .product-details .js-quantity-add-buttons .btn-group,
  .product-details .js-quantity-add-buttons [class*="quantity"]{
    width:100%!important;
    max-width:100%!important;
    height:52px!important;
    display:grid!important;
    grid-template-columns:52px 1fr 52px!important;
    background:#fff!important;
    border:1px solid var(--gold)!important;
    border-radius:12px!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
  }

  .product-page .js-quantity-add-buttons .input-group button,
  .product-page .js-quantity-add-buttons .btn-group button,
  .product-page .js-quantity-add-buttons [class*="quantity"] button,
  .product-details .js-quantity-add-buttons .input-group button,
  .product-details .js-quantity-add-buttons .btn-group button,
  .product-details .js-quantity-add-buttons [class*="quantity"] button{
    width:52px!important;
    height:52px!important;
    min-height:52px!important;
    background:#000!important;
    color:var(--gold2)!important;
    border:0!important;
    border-radius:0!important;
    margin:0!important;
    padding:0!important;
    font-size:22px!important;
  }

  .product-page .js-quantity-add-buttons input,
  .product-page .js-quantity-add-buttons .form-control,
  .product-details .js-quantity-add-buttons input,
  .product-details .js-quantity-add-buttons .form-control{
    width:100%!important;
    height:52px!important;
    background:#fff!important;
    color:#111!important;
    border:0!important;
    text-align:center!important;
    font-size:18px!important;
    margin:0!important;
    padding:0!important;
  }
}

/* ===== CART / CHECKOUT PROTECTION ===== */
.cart,
.checkout,
.cart-page,
.checkout-page,
#checkout,
#cart,
.offcanvas,
.offcanvas-cart,
.modal{
  color:inherit;
}

.cart .container,
.checkout .container,
.cart-page .container,
.checkout-page .container,
#checkout .container,
#cart .container{
  background:initial!important;
}

.checkout .btn,
.checkout button,
.checkout input,
.checkout select,
.checkout textarea,
.cart .btn,
.cart button,
.cart input,
.cart select,
.cart textarea,
#checkout .btn,
#checkout button,
#checkout input,
#checkout select,
#checkout textarea,
#cart .btn,
#cart button,
#cart input,
#cart select,
#cart textarea{
  position:initial;
  transform:none;
}

/* ===== FOOTER ===== */
footer,
footer section,
footer .container,
footer div{
  background:#000!important;
}

footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer strong,
footer .fw-bold{
  color:var(--gold2)!important;
  opacity:1!important;
}

footer p,
footer span,
footer a,
footer li,
footer small{
  color:#fff!important;
  opacity:1!important;
}

/* ===== V7 VISUAL FIXES FROM SCREENSHOTS ===== */
/* إصلاح الفوتر: النصوص داخل الخلفية السوداء تكون واضحة */
footer,
footer *{
  color:#fff!important;
  opacity:1!important;
  text-shadow:none!important;
}
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .accordion-button,
footer .footer-title,
footer [class*="title"]{
  color:var(--gold2)!important;
  font-weight:800!important;
}
footer .accordion-button,
footer button{
  background:#000!important;
  border-color:var(--gold)!important;
}
footer .accordion-body,
footer .collapse,
footer [class*="content"]{
  background:#000!important;
}

/* إصلاح صفحة المنتج: الكارت الأبيض نصه يكون أسود */
.product-page .card,
.product-details .card,
.product-page [class*="product-info"],
.product-details [class*="product-info"],
.product-page [class*="details"],
.product-details [class*="details"]{
  color:#111!important;
}
.product-page .card *,
.product-details .card *,
.product-page [class*="product-info"] *,
.product-details [class*="product-info"] *{
  color:inherit!important;
  opacity:1!important;
}
.product-page .card .price,
.product-page .card .money,
.product-page .card .product-price,
.product-details .card .price,
.product-details .card .money,
.product-details .card .product-price{
  color:#8f5fb7!important;
  font-weight:900!important;
}
.product-page .text-white,
.product-details .text-white{
  color:#111!important;
}
.product-page .bg-white,
.product-details .bg-white{
  background:#fff!important;
  color:#111!important;
}

/* التابات فوق صورة المنتج */
.product-page .nav-tabs,
.product-details .nav-tabs,
.product-page [role="tablist"],
.product-details [role="tablist"]{
  background:#000!important;
  border-bottom:1px solid var(--gold)!important;
  padding:10px 12px 0!important;
  gap:6px!important;
}
.product-page .nav-tabs .nav-link,
.product-details .nav-tabs .nav-link,
.product-page [role="tab"],
.product-details [role="tab"]{
  color:#8f5fb7!important;
  background:transparent!important;
  border:0!important;
  font-weight:700!important;
}
.product-page .nav-tabs .nav-link.active,
.product-details .nav-tabs .nav-link.active,
.product-page [role="tab"][aria-selected="true"],
.product-details [role="tab"][aria-selected="true"]{
  color:#111!important;
  background:#fff!important;
  border:1px solid #eee!important;
  border-bottom-color:#fff!important;
  border-radius:6px 6px 0 0!important;
}

/* تثبيت بلوك أزرار المنتج بدون تداخل مع واتساب */
@media(max-width:767px){
  .product-page .js-quantity-add-buttons,
  .product-page .fixed-bottom.js-quantity-add-buttons,
  .product-details .js-quantity-add-buttons,
  .product-details .fixed-bottom.js-quantity-add-buttons{
    position:static!important;
    margin:14px 20px 76px!important;
    padding:18px!important;
    background:#fff!important;
    border-radius:22px 22px 0 0!important;
    box-shadow:0 -4px 18px rgba(0,0,0,.12)!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
  }

  .product-page .js-quantity-add-buttons .input-group,
  .product-page .js-quantity-add-buttons .btn-group,
  .product-page .js-quantity-add-buttons [class*="quantity"],
  .product-details .js-quantity-add-buttons .input-group,
  .product-details .js-quantity-add-buttons .btn-group,
  .product-details .js-quantity-add-buttons [class*="quantity"]{
    grid-column:2!important;
    grid-row:1!important;
    height:48px!important;
    grid-template-columns:44px 1fr 44px!important;
    border:1px solid #eee!important;
    border-radius:8px!important;
  }

  .product-page .js-quantity-add-buttons .input-group button,
  .product-page .js-quantity-add-buttons .btn-group button,
  .product-page .js-quantity-add-buttons [class*="quantity"] button,
  .product-details .js-quantity-add-buttons .input-group button,
  .product-details .js-quantity-add-buttons .btn-group button,
  .product-details .js-quantity-add-buttons [class*="quantity"] button{
    width:44px!important;
    height:48px!important;
    min-height:48px!important;
    background:#fff!important;
    color:#69727d!important;
    font-size:24px!important;
  }

  .product-page .js-quantity-add-buttons input,
  .product-page .js-quantity-add-buttons .form-control,
  .product-details .js-quantity-add-buttons input,
  .product-details .js-quantity-add-buttons .form-control{
    height:48px!important;
    color:#333!important;
    font-size:20px!important;
  }

  .product-page .js-section-add-to-cart,
  .product-details .js-section-add-to-cart{
    grid-column:2!important;
    grid-row:2!important;
  }

  .product-page .js-section-add-to-cart .btn,
  .product-page .js-section-add-to-cart .btn-primary,
  .product-page .js-section-add-to-cart button,
  .product-details .js-section-add-to-cart .btn,
  .product-details .js-section-add-to-cart .btn-primary,
  .product-details .js-section-add-to-cart button{
    height:48px!important;
    min-height:48px!important;
    background:#8f5fb7!important;
    border-color:#8f5fb7!important;
    color:#fff!important;
    border-radius:7px!important;
    font-size:15px!important;
  }

  .product-page .js-section-add-to-cart .btn *,
  .product-page .js-section-add-to-cart button *,
  .product-details .js-section-add-to-cart .btn *,
  .product-details .js-section-add-to-cart button *{
    color:#fff!important;
    fill:#fff!important;
  }

  .product-page .favorite-btn,
  .product-page .btn-wishlist,
  .product-page button[aria-label*="favorite"],
  .product-details .favorite-btn,
  .product-details .btn-wishlist,
  .product-details button[aria-label*="favorite"]{
    grid-column:1!important;
    grid-row:2!important;
    width:64px!important;
    height:48px!important;
    background:#fff!important;
    color:#999!important;
    border:0!important;
    margin:0!important;
  }

  .product-page .js-cart-total-price-fixed,
  .product-page .cart-total-price,
  .product-details .js-cart-total-price-fixed,
  .product-details .cart-total-price{
    grid-column:1 / -1!important;
    grid-row:3!important;
    width:100%!important;
    margin:4px 0 0!important;
    background:#fff!important;
    color:#69727d!important;
    border:1px solid #69727d!important;
    border-radius:6px!important;
    padding:10px!important;
    font-weight:900!important;
    text-align:center!important;
  }
}

/* إصلاح سلة المشتريات الجانبية */
.offcanvas,
.offcanvas-cart,
#offcanvasCart{
  background:#fff!important;
  color:#111!important;
  max-width:92vw!important;
}
.offcanvas *,
.offcanvas-cart *,
#offcanvasCart *{
  opacity:1!important;
  text-shadow:none!important;
}
.offcanvas .offcanvas-title,
.offcanvas-cart .offcanvas-title,
#offcanvasCart .offcanvas-title,
.offcanvas h1,
.offcanvas h2,
.offcanvas h3,
.offcanvas h4,
#offcanvasCart h1,
#offcanvasCart h2,
#offcanvasCart h3,
#offcanvasCart h4{
  color:#111!important;
  font-weight:800!important;
}
.offcanvas .btn,
.offcanvas-cart .btn,
#offcanvasCart .btn,
.offcanvas button,
.offcanvas-cart button,
#offcanvasCart button{
  border-radius:7px!important;
}
.offcanvas .btn-primary,
.offcanvas-cart .btn-primary,
#offcanvasCart .btn-primary,
.offcanvas a[href*="checkout"],
.offcanvas-cart a[href*="checkout"],
#offcanvasCart a[href*="checkout"]{
  background:#8f5fb7!important;
  border-color:#8f5fb7!important;
  color:#fff!important;
}
.offcanvas .btn-primary *,
.offcanvas-cart .btn-primary *,
#offcanvasCart .btn-primary *,
.offcanvas a[href*="checkout"] *,
.offcanvas-cart a[href*="checkout"] *,
#offcanvasCart a[href*="checkout"] *{
  color:#fff!important;
  fill:#fff!important;
}
.offcanvas .cart-item,
.offcanvas-cart .cart-item,
#offcanvasCart .cart-item,
.offcanvas [class*="cart-item"],
#offcanvasCart [class*="cart-item"]{
  background:#fff!important;
  border:1px solid #eee!important;
  border-radius:8px!important;
  color:#111!important;
}
.offcanvas .cart-item *,
.offcanvas-cart .cart-item *,
#offcanvasCart .cart-item *,
.offcanvas [class*="cart-item"] *,
#offcanvasCart [class*="cart-item"] *{
  color:#111!important;
}

/* واتساب والمكافآت لا يغطوا أزرار المنتج والسلة */
.whatsapp,
.whatsapp-button,
[class*="whatsapp"],
a[href*="wa.me"],
a[href*="whatsapp"]{
  z-index:60!important;
}
.product-page .whatsapp,
.product-page .whatsapp-button,
.product-page [class*="whatsapp"],
.product-page a[href*="wa.me"],
.product-page a[href*="whatsapp"],
.product-details .whatsapp,
.product-details .whatsapp-button,
.product-details [class*="whatsapp"],
.product-details a[href*="wa.me"],
.product-details a[href*="whatsapp"],
.offcanvas .whatsapp,
.offcanvas [class*="whatsapp"],
#offcanvasCart .whatsapp,
#offcanvasCart [class*="whatsapp"]{
  bottom:18px!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}

/* ===== V8 HOTFIX: WHATSAPP + FOOTER VISIBILITY ===== */
/* 1) نقل زر الواتساب من منتصف الشاشة إلى اليمين وتجنب تغطية المنتجات/الأزرار */
[class*="whatsapp"],
a[href*="wa.me"],
a[href*="whatsapp"],
.whatsapp,
.whatsapp-button{
  position:fixed!important;
  left:auto!important;
  right:14px!important;
  bottom:86px!important;
  top:auto!important;
  transform:none!important;
  z-index:45!important;
}

/* داخل السلة أو صفحة المنتج لا يكون في المنتصف ولا يغطي زر متابعة الشراء */
.offcanvas [class*="whatsapp"],
.offcanvas a[href*="wa.me"],
.offcanvas a[href*="whatsapp"],
#offcanvasCart [class*="whatsapp"],
#offcanvasCart a[href*="wa.me"],
#offcanvasCart a[href*="whatsapp"],
.product-page [class*="whatsapp"],
.product-page a[href*="wa.me"],
.product-page a[href*="whatsapp"],
.product-details [class*="whatsapp"],
.product-details a[href*="wa.me"],
.product-details a[href*="whatsapp"]{
  left:auto!important;
  right:14px!important;
  bottom:92px!important;
  transform:none!important;
  z-index:45!important;
}

/* لو زر المكافآت ظاهر، نخليه بعيد عن زر الواتساب */
[class*="reward"],
[class*="loyalty"],
[class*="rewards"],
[class*="loyality"],
[class*="points"]{
  z-index:40!important;
}

/* 2) توضيح نصوص الفوتر بالقوة حتى لو الثيم عامل opacity أو text-muted */
footer,
footer section,
footer .container,
footer .container-fluid,
footer .accordion,
footer .accordion-item,
footer .accordion-body,
footer [class*="footer"],
footer [class*="collapse"]{
  background:#000!important;
}

footer,
footer *,
footer .text-muted,
footer .text-body,
footer .text-dark,
footer .opacity-25,
footer .opacity-50,
footer .opacity-75{
  color:#f5f5f5!important;
  -webkit-text-fill-color:#f5f5f5!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer strong,
footer b,
footer .fw-bold,
footer .accordion-button,
footer [class*="title"]{
  color:var(--gold2)!important;
  -webkit-text-fill-color:var(--gold2)!important;
  opacity:1!important;
}

footer p,
footer span,
footer li,
footer a,
footer small,
footer div,
footer .accordion-body,
footer [class*="description"],
footer [class*="about"]{
  color:#f2f2f2!important;
  -webkit-text-fill-color:#f2f2f2!important;
  opacity:1!important;
  line-height:1.9!important;
}

/* عشان الفوتر ما يدخلش تحت الأزرار العائمة */
footer{
  padding-bottom:110px!important;
}