/* BADR HARQAN — Zid store in the website's black & white identity (v63, 8 Oct 2026 — Badr: «حدّث ثيم زد عشان يتماشى مع المتجر»).
   Loaded LAST (after bhq40.css). Every rule is prefixed with html:not(#bwx) so it outranks the older warm palette's
   high-specificity !important rules. Built and checked live in the browser (product, category, cart) before packaging.
   Nothing functional changes: cart bridge, VAT fix, logo → badrharqan.com all stay as in v62. */
:root{--bw-paper:#FFFFFF;--bw-paper2:#F8F8F8;--bw-paper3:#F3F3F3;--bw-ink:#141414;--bw-ink2:#242424;--bw-soft:#656565;--bw-faint:#989898;--bw-line:#DFDFDF;--bw-line2:#EDEDED}
html:not(#bwx){background:#FFFFFF!important}
html:not(#bwx) body,html:not(#bwx) body .app,html:not(#bwx) body .home,html:not(#bwx) body .main,html:not(#bwx) body .app-content,html:not(#bwx) body main,html:not(#bwx) body .content-wrapper,html:not(#bwx) body .page-content,html:not(#bwx) body .cart-page,html:not(#bwx) body.bh-mist-page,html:not(#bwx) body.bh-mist-page .app{background:var(--bw-paper)!important;background-image:none!important;color:var(--bw-ink2)!important}
html:not(#bwx) body,html:not(#bwx) body p,html:not(#bwx) body span,html:not(#bwx) body li,html:not(#bwx) body label,html:not(#bwx) body input,html:not(#bwx) body select,html:not(#bwx) body textarea,html:not(#bwx) body button,html:not(#bwx) body a,html:not(#bwx) body td,html:not(#bwx) body th,html:not(#bwx) body div{font-family:'Alexandria','Tajawal',sans-serif!important}
html[lang^="en"]:not(#bwx) body h1,html[lang^="en"]:not(#bwx) body h2,html[lang^="en"]:not(#bwx) body h3{font-family:'Marcellus',serif!important;letter-spacing:.03em}
html:not(#bwx) body h1,html:not(#bwx) body h2,html:not(#bwx) body h3,html:not(#bwx) body h4,html:not(#bwx) body h5{color:var(--bw-ink)!important;font-weight:500}

/* header — white, ink logo + icons (the template's inline #272727 is changed to white in header-sticky.jinja) */
html:not(#bwx) header,html:not(#bwx) .header-sticky,html:not(#bwx) .cart-search-logo,html:not(#bwx) .top-main-menu-wrapper,html:not(#bwx) .cart-page .header-wrapper,html:not(#bwx) .sticky-header,html:not(#bwx) .header-wrapper{background:var(--bw-paper)!important;background-color:var(--bw-paper)!important;border-bottom:1px solid var(--bw-line)!important;box-shadow:none!important}
html:not(#bwx) header a,html:not(#bwx) header span,html:not(#bwx) header i,html:not(#bwx) header button,html:not(#bwx) header .uppercase,html:not(#bwx) .sticky-header a,html:not(#bwx) .sticky-header span,html:not(#bwx) .sticky-header i,html:not(#bwx) .sticky-header button{color:var(--bw-ink)!important}
html:not(#bwx) .sticky-header svg:not(.bh-logo-svg),html:not(#bwx) header svg:not(.bh-logo-svg){fill:var(--bw-ink)!important;stroke:var(--bw-ink)!important}
html:not(#bwx) .bh-logo-svg,html:not(#bwx) .bh-logo-svg *,html:not(#bwx) .sticky-header .bh-logo-svg,html:not(#bwx) .sticky-header .bh-logo-svg *,html:not(#bwx) header .bh-logo-svg *{fill:var(--bw-ink)!important;color:var(--bw-ink)!important}
html:not(#bwx) #stickyHeader img[src*=".svg"],html:not(#bwx) header img[src*=".svg"]{filter:brightness(0)!important}
html:not(#bwx) header .cart-count,html:not(#bwx) header .badge,html:not(#bwx) .sticky-header .badge,html:not(#bwx) [class*="cart-badge"],html:not(#bwx) [class*="cart-count"]{background:var(--bw-ink)!important;color:#fff!important}
html:not(#bwx) .search-popup,html:not(#bwx) [class*="search-popup"]{background:#FFFFFF!important}

/* side menu */
html:not(#bwx) body #sliding-menu,html:not(#bwx) body .slide-menu,html:not(#bwx) #sliding-menu .ul-menu{background:var(--bw-paper)!important}
html:not(#bwx) #sliding-menu a,html:not(#bwx) #sliding-menu span,html:not(#bwx) #sliding-menu i,html:not(#bwx) .slide-menu a,html:not(#bwx) .slide-menu span{color:var(--bw-ink)!important}

/* buttons — ink solid / ink outline, like the site */
html:not(#bwx) body .btn-primary,html:not(#bwx) body .btn-dark,html:not(#bwx) body [class*="add-to-cart"],html:not(#bwx) body .bh-sticky-btn,html:not(#bwx) body .checkout-btn,html:not(#bwx) body .btn-checkout{background:var(--bw-ink)!important;border:1px solid var(--bw-ink)!important;color:#fff!important;border-radius:2px!important}
html:not(#bwx) body .btn-outline-primary,html:not(#bwx) body .btn-outline-dark,html:not(#bwx) body .buy-now,html:not(#bwx) body [class*="buy-now"]{background:#fff!important;border:1px solid var(--bw-ink)!important;color:var(--bw-ink)!important;border-radius:2px!important}
html:not(#bwx) .filter-btn,html:not(#bwx) [class*="filter"] button,html:not(#bwx) [class*="sort"] button,html:not(#bwx) .btn-filter{border-color:#DFDFDF!important;background:#fff!important;color:#141414!important}

/* product images + cards — light-grey square frames */
html:not(#bwx) body .product-image,html:not(#bwx) body .product-images,html:not(#bwx) body .product-gallery,html:not(#bwx) body .swiper-slide img,html:not(#bwx) body .product-card,html:not(#bwx) body .product-item,html:not(#bwx) body [class*="product-card"] img,html:not(#bwx) body .card-img,html:not(#bwx) body .product-img{background:var(--bw-paper2)!important;border-radius:0!important}
html:not(#bwx) body .product-card,html:not(#bwx) body .product-item,html:not(#bwx) body [class*="product-card"]{border:0!important;box-shadow:none!important}
html:not(#bwx) .bh-card-media,html:not(#bwx) [class*="bh-card"] .bh-card-media{background:#F8F8F8!important;border-radius:0!important;box-shadow:none!important;border:0!important}
html:not(#bwx) .bh-card,html:not(#bwx) [class*="bh-card"]{box-shadow:none!important}
html:not(#bwx) .products-details-page::before,html:not(#bwx) .products-details-page::after{display:none!important}
html:not(#bwx) .bh-pd-divider{background:#EDEDED!important}
html:not(#bwx) body .price,html:not(#bwx) body [class*="price"]{color:var(--bw-ink)!important}
html:not(#bwx) body input,html:not(#bwx) body select,html:not(#bwx) body .form-control,html:not(#bwx) body [class*="quantity"]{background:#fff!important;color:var(--bw-ink)!important;border-color:var(--bw-line)!important;border-radius:2px!important}

/* cart — white rows with hairlines */
html:not(#bwx) .cart-page [class*="cart-product"],html:not(#bwx) .cart-page .section-cart-products,html:not(#bwx) .cart-page .template_for_cart_products_list{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html:not(#bwx) .cart-page .cart-product-row-wrapper{border:0!important;border-bottom:1px solid #EDEDED!important;padding:14px 0!important;margin:0!important}
html:not(#bwx) .cart-page img.cart-product-image{background:#F8F8F8!important;border:0!important;border-radius:4px!important}
html:not(#bwx) .cart-gift-card,html:not(#bwx) .cart-discount-rule-wrapper,html:not(#bwx) .free-shipping-rule-section{background:#F3F3F3!important;border:0!important}

/* sticky buy bar + footer */
html:not(#bwx) .bh-sticky-buy{background:rgba(255,255,255,.96)!important;border-top:1px solid var(--bw-line)!important}
html:not(#bwx) .bh-sticky-buy *{color:var(--bw-ink)!important}
html:not(#bwx) .bh-sticky-buy .bh-sticky-btn{color:#fff!important}
html:not(#bwx) footer,html:not(#bwx) .footer{background:var(--bw-paper3)!important;color:var(--bw-ink2)!important;border-top:1px solid var(--bw-line)!important}
html:not(#bwx) footer a,html:not(#bwx) footer span,html:not(#bwx) footer p,html:not(#bwx) footer i{color:var(--bw-ink2)!important}

/* loyalty points, made visible (8 Oct 2026, Badr: customers can't see their points) */
html:not(#bwx) .bh-ptsbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 14px;background:#141414;color:#fff!important;padding:9px 16px;font-size:13.5px;line-height:1.5;text-decoration:none!important;text-align:center}
html:not(#bwx) .bh-ptsbar *{color:#fff!important}
html:not(#bwx) .bh-ptsbar b{font-weight:600;font-variant-numeric:lining-nums tabular-nums}
html:not(#bwx) .bh-ptsbar i{font-style:normal;opacity:.75}
html:not(#bwx) .bh-ptsbar .bh-pts-nx{opacity:.85;border-bottom:1px solid rgba(255,255,255,.45)}
html:not(#bwx) .bh-pts-ic{color:#C9A96E!important;margin-inline-end:6px}
html:not(#bwx) .products-details-page .loyalty-points-products-section{display:block!important;background:#F8F8F8!important;border:1px solid #EDEDED!important;border-radius:6px!important;padding:11px 14px!important;margin:12px 0 0!important;box-shadow:none!important}
html:not(#bwx) .products-details-page .loyalty-points-products-section,html:not(#bwx) .products-details-page .loyalty-points-products-section *{font-size:13.5px!important;color:#242424!important;opacity:1!important;background:transparent}
html:not(#bwx) .products-details-page .loyalty-points-products-section b{font-weight:600!important;color:#141414!important}
html:not(#bwx) .bh-pts-h{display:flex;flex-direction:column;gap:2px;padding:4px 4px 10px;margin-bottom:6px;border-bottom:1px solid #EDEDED}
html:not(#bwx) .bh-pts-h b{font-size:15px;color:#141414}
html:not(#bwx) .bh-pts-h span{font-size:12.5px;color:#656565}
html:not(#bwx) .cart-page .loyalty-points-section{border:1px solid #141414!important;border-radius:8px!important;padding:14px!important;background:#fff!important}
html:not(#bwx) .bh-ptsp{display:inline-flex;align-items:center;gap:3px;margin-inline-start:6px;padding:3px 9px;border:1px solid #141414;border-radius:20px;font-size:12px;line-height:1.2;color:#141414!important;text-decoration:none!important;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
html:not(#bwx) .bh-ptsp b{font-weight:600}
html:not(#bwx) .bh-ptsp .bh-pts-ic{margin:0 2px 0 0}
@media(max-width:640px){html:not(#bwx) .bh-ptsp .bh-ptsp-u{display:none}html:not(#bwx) .bh-ptsp{padding:2px 7px;font-size:11.5px}}
