/* Hazazi store theme · v1 (draft for owner review, 2026-11-08)
   Paste into Zid: Store design (تصميم المتجر) ← theme settings ← Custom CSS. Nothing here changes products or prices.
   Identity: red #B92827, deep black, warm off-white, IBM Plex Sans Arabic. Interactive: lift on touch/hover,
   image zoom, soft entrance, pill buttons, section titles with the red bar. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;500;700&display=swap');

:root { --hz-red: #B92827; --hz-red2: #d8403d; --hz-ink: #121214; --hz-wall: #f3f1ee; --hz-line: rgba(0,0,0,.07); --hz-r: 22px; }

body, button, input, select, textarea, .btn, h1, h2, h3, h4, h5, h6, p, a, span {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
}
body { background: var(--hz-wall) !important; color: var(--hz-ink); }

/* Header: black glass with a thin red line, stays visible while scrolling */
.header, .header-theme-bg-primary, .menu-header-theme-bg-primary {
  background: linear-gradient(180deg, #0c0c0d 0%, #18181a 100%) !important;
  box-shadow: 0 1px 0 rgba(185,40,39,.6), 0 10px 30px rgba(0,0,0,.25);
}
.header { position: sticky; top: 0; z-index: 50; }

/* Section titles: bold with the red bar */
.main-title, .box-title, .b-title, .theme-title-primary, .products-section .title {
  font-weight: 700 !important; letter-spacing: 0; position: relative;
}
.home-products-section .main-title::after {
  content: ""; display: block; width: 46px; height: 5px; border-radius: 4px; background: var(--hz-red); margin: 10px auto 0;
}

/* Category chips: pills that respond to touch */
.nav-tabs, .custom-nav2 { border: 0 !important; gap: 8px; }
.nav-tabs .nav-link, .custom-nav2 .nav-link {
  border-radius: 999px !important; border: 1px solid var(--hz-line) !important; background: #fff !important;
  color: var(--hz-ink) !important; font-weight: 500; padding: 8px 16px !important; transition: transform .2s, background .2s, color .2s;
}
.nav-tabs .nav-link.active, .custom-nav2 .nav-link.active, .nav-tabs .nav-link:hover {
  background: var(--hz-red) !important; color: #fff !important; border-color: var(--hz-red) !important; transform: translateY(-1px);
}

/* Product cards: white tiles, rounded, lift + image zoom */
.product-item {
  background: #fff; border-radius: var(--hz-r); padding: 10px 10px 14px; border: 1px solid var(--hz-line);
  box-shadow: 0 8px 24px rgba(0,0,0,.05); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  overflow: hidden; animation: hz-up .5s both;
}
.product-item:hover, .product-item:active { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.10); }
.product-item img { transition: transform .45s cubic-bezier(.2,.8,.2,1); border-radius: 16px; background: #fff; }
.product-item:hover img { transform: scale(1.06); }
.product-title, .product-title a { font-weight: 700 !important; font-size: 15px !important; line-height: 1.6 !important; color: var(--hz-ink) !important; }
.product-price, .section-product-price { color: var(--hz-red) !important; font-weight: 700 !important; font-size: 18px !important; }
.old-price, .product-prev-price { color: #8e8e93 !important; font-weight: 400 !important; }
.product-item-out-of-stock { opacity: .55; filter: grayscale(.4); }

/* Add to cart: pill with a red gradient and a press effect */
.btn-addtocart, .product-card-add-to-cart .btn, .btn-primary {
  background: linear-gradient(135deg, var(--hz-red2) 0%, var(--hz-red) 60%, #8f1d1c 100%) !important;
  border: 0 !important; border-radius: 999px !important; font-weight: 700 !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(185,40,39,.28); transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-addtocart:hover, .btn-primary:hover { filter: brightness(1.06); box-shadow: 0 12px 26px rgba(185,40,39,.36); }
.btn-addtocart:active, .btn-primary:active { transform: scale(.97); }

/* Wishlist heart: small round glass button */
.wishlist-btn { background: rgba(255,255,255,.9) !important; border-radius: 50% !important; box-shadow: 0 4px 12px rgba(0,0,0,.08); transition: transform .2s; }
.wishlist-btn:active { transform: scale(.9); }

/* Banners and sliders: rounded with depth */
.banner-img, .s-slider img, .slider-container img { border-radius: var(--hz-r); }
.section-padding-space, .home-products-section { padding-top: 28px !important; padding-bottom: 28px !important; }

/* Partners: calm grayscale, colour on touch */
.partners-item img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners-item:hover img { filter: none; opacity: 1; }

/* Testimonials */
.testimonials-customer-card { border-radius: var(--hz-r) !important; border: 1px solid var(--hz-line) !important; box-shadow: 0 8px 24px rgba(0,0,0,.05); }

/* Footer: deep black with the red line */
.footer, .store-footer, .footer-container { background: #0c0c0d !important; color: rgba(255,255,255,.85) !important; border-top: 3px solid var(--hz-red); }
.footer a { color: rgba(255,255,255,.85) !important; }

@keyframes hz-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .product-item { animation: none; } .product-item, .product-item img, .btn-addtocart { transition: none; } }