/* HAJIZ storefront: shared identity and responsive Blade layouts. */
:root { --hj-forest:#0d281c; --hj-olive:#5c8038; --hj-light:#eef2e8; --hj-ink:#17241c; --hj-muted:#6b716b; --hc-red:#5c8038; --hc-black:#0d281c; --hc-bg:#fff; --hc-surface:#fff; --hc-border:#e7ebe3; --hc-radius:5px; }
.hj-body { background:#fff; color:var(--hj-ink); font-family:'DM Sans','Cairo',Arial,sans-serif; }
.hj-body h1,.hj-body h2,.hj-body h3,.hj-body h4,.hj-body h5,.hj-body h6 { color:var(--hj-forest); }
.hj-body a { color:var(--hj-forest); }
.hj-body a:hover { color:var(--hj-olive); }
.hj-body .container { max-width:1240px; }
.hj-body :focus-visible { outline:3px solid #94ac70; outline-offset:4px; }
.hj-topbar { background:var(--hj-forest); color:#fff; font-size:12px; padding:9px 0; }
.hj-topbar .container { display:flex; justify-content:space-between; gap:16px; align-items:center; }
.hj-topbar a { color:#fff; }
.hj-topbar i { margin-inline-end:8px; }
.hj-header { position:sticky; top:0; z-index:1030; background:#fff; border-bottom:1px solid #e7ebe3; }
.hj-header .navbar { min-height:100px; padding:10px 15px; position:relative; }
.hj-brand { padding:0; margin-inline-end:34px; }
.hj-brand img { display:block; width:108px; height:76px; object-fit:contain; }
.hj-nav { gap:14px; }
.hj-header .hj-nav .nav-link { color:var(--hj-forest); text-transform:uppercase; font-size:12px; letter-spacing:.025em; font-weight:700; padding:14px 8px; line-height:1.5; }
.hj-header .hj-nav .nav-link.active,.hj-header .hj-nav .nav-link:hover { color:var(--hj-olive); }
.hj-tools,.hj-mobile-actions { display:flex; align-items:center; gap:23px; }
.hj-tools > a,.hj-mobile-actions > a { font-size:21px; }
.hj-cart { position:relative; }
.hj-cart .cartitems { position:absolute; inset-inline-end:-10px; top:-8px; background:var(--hj-olive); color:#fff; border-radius:50%; min-width:17px; height:17px; text-align:center; font-size:10px; line-height:17px; }
.hj-language { border:0; background:#f3f5ef; border-radius:3px; font-size:12px; padding:8px; color:var(--hj-forest); cursor:pointer; }
.hj-header .dropdown-menu { min-width:110px; inset-inline-start:auto; inset-inline-end:0; }
.hj-hero { position:relative; isolation:isolate; background:var(--hj-forest) url('../img/hajiz/fencing-hero.webp') center 53% / cover no-repeat; min-height:555px; display:flex; align-items:center; color:#fff; }
.hj-hero::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(3,19,11,.86),rgba(3,19,11,.4) 58%,rgba(3,19,11,.04)); }
.hj-hero-copy { max-width:650px; padding:68px 0 52px; }
.hj-eyebrow { font-size:12px; letter-spacing:.15em; font-weight:700; color:#b8cd8f; margin-bottom:22px; }
.hj-body .hj-hero h1 { font-size:clamp(34px,4vw,53px); color:#fff; line-height:1.15; font-weight:800; letter-spacing:-.035em; margin-bottom:23px; }
.hj-hero h1 span { font-weight:500; }
.hj-hero-description { max-width:470px; font-size:16px; line-height:1.8; color:#e0e6dd; margin-bottom:28px; }
.hj-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.hj-body .hj-button { display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:14px 21px; min-height:46px; background:var(--hj-olive); color:#fff; border:1px solid var(--hj-olive); border-radius:3px; font-size:12px; font-weight:700; text-decoration:none; transition:background .2s; line-height:1.5; }
.hj-body .hj-button:hover { background:#456128; color:#fff; }
.hj-body .hj-button-outline { background:transparent; border-color:rgba(255,255,255,.65); }
.hj-body .hj-button-outline:hover { background:rgba(255,255,255,.12); }
.hj-hero-signature { display:flex; align-items:center; gap:10px; margin:32px 0 0; color:#d0d9c8; font-size:12px; }
.hj-hero-signature span { height:1px; width:28px; background:#91ad69; }
.hj-benefits { background:#f8f9f6; border-bottom:1px solid #e8ece4; }
.hj-benefits .container { display:grid; grid-template-columns:repeat(3,1fr); padding-block:26px; }
.hj-benefit { display:flex; align-items:center; gap:18px; padding-inline:26px; border-inline-end:1px solid #dfe5d9; }
.hj-benefit:first-child { padding-inline-start:0; }.hj-benefit:last-child { border:0; }
.hj-benefit > i { font-size:29px; color:var(--hj-olive); }
.hj-benefit h2 { font-size:13px; font-weight:700; margin-bottom:5px; text-transform:uppercase; }
.hj-benefit p { font-size:12px; color:var(--hj-muted); line-height:1.6; margin:0; }
.hj-store-layout { display:grid; grid-template-columns:minmax(0,1fr) 245px; gap:34px; padding-top:48px; }
.hj-store-main { min-width:0; }
.hj-section { margin-bottom:42px; scroll-margin-top:120px; }
.hj-section-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.hj-section-heading h2 { font-size:22px; font-weight:700; margin:0; position:relative; padding-bottom:12px; }
.hj-section-heading h2::after { content:''; position:absolute; bottom:0; inset-inline-start:0; width:42px; height:2px; background:var(--hj-olive); }
.hj-section-heading p:not(.hj-kicker) { margin:10px 0 0; color:var(--hj-muted); font-size:13px; }
.hj-section-heading > a { font-size:11px; font-weight:700; white-space:nowrap; }
.hj-kicker { font-size:10px; font-weight:700; letter-spacing:.16em; color:var(--hj-olive); margin:0 0 10px; }
.hj-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.hj-category-card { display:flex; flex-direction:column; border:1px solid #e7ebe3; border-radius:5px; overflow:hidden; background:#fff; transition:box-shadow .2s,transform .2s; }
.hj-category-card:hover { box-shadow:0 7px 24px #0d281c12; transform:translateY(-3px); }
.hj-category-media { aspect-ratio:1.1; overflow:hidden; background:#f5f7f1; }
.hj-category-media img { width:100%; height:100%; object-fit:contain; padding:12px; }
.hj-category-content { padding:15px 12px; flex:1; display:flex; flex-direction:column; }
.hj-category-content h3 { font-size:13px; font-weight:700; line-height:1.5; margin:0 0 15px; overflow-wrap:anywhere; }
.hj-category-content > span { display:flex; justify-content:space-between; align-items:center; gap:6px; margin-top:auto; color:var(--hj-olive); font-size:10px; font-weight:700; border-top:1px solid #edf0e9; padding-top:10px; }
.hj-sidebar { padding-top:2px; }
.hj-advice-card { padding:27px 24px; border-radius:5px; background:var(--hj-forest); color:#d6dfd2; }
.hj-advice-card img { object-fit:contain; margin-bottom:26px; }
.hj-body .hj-advice-card h2 { color:#fff; font-size:22px; line-height:1.3; font-weight:700; margin-bottom:15px; }
.hj-advice-card p { font-size:13px; line-height:1.8; margin-bottom:24px; }
.hj-advice-card .hj-button { width:100%; padding-inline:10px; font-size:11px; }
.hj-why-card { padding:25px 20px; margin-top:22px; border:1px solid #e7ebe3; border-radius:5px; }
.hj-why-card h2 { font-size:14px; margin-bottom:22px; font-weight:700; }
.hj-why-card ul { list-style:none; padding:0; margin:0; }
.hj-why-card li { display:flex; align-items:baseline; gap:10px; font-size:12px; line-height:1.7; margin-bottom:13px; color:var(--hj-muted); }
.hj-why-card i { color:var(--hj-olive); }
.hj-sidebar-link { display:flex; align-items:center; gap:12px; background:var(--hj-light); padding:20px; margin-top:20px; font-size:12px; font-weight:700; border-radius:4px; }
.hj-sidebar-link > i:first-child { font-size:24px; color:var(--hj-olive); }
.hj-sidebar-link > i:last-child { margin-inline-start:auto; }
.hj-body .hj-product-card { border:1px solid #e7ebe3; border-radius:5px; overflow:hidden; margin:0; background:#fff; }
.hj-product-media { display:block; background:#f9faf7; border-bottom:1px solid #e7ebe3; }
.hj-body .hj-product-card .product-image { width:100%; height:175px!important; padding:10px; margin:0; object-fit:contain; }
.hj-product-card .product-details { padding:12px; }
.hj-product-card h3 { font-size:12px; line-height:1.55; font-weight:700; margin:0 0 14px; overflow-wrap:anywhere; }
.hj-product-card .price { margin-top:auto; margin-bottom:12px; }
.hj-product-card .product-price-inline { justify-content:flex-start!important; }
.hj-product-card .price-current { font-size:16px; }
.hj-product-card .prd-bottom { margin-top:0; }
.hj-product-card .hc-card-actions { padding:0; }
.hj-product-card .hc-card-actions .primary-btn { 
    /* padding:8px 6px!important; */
     font-size:10px; min-width:0!important; }
.hj-product-card .hc-card-actions .d-md-inline { display:none!important; }
.hj-product-card .qty-selector-pro { padding:2px; }
.hj-product-card .qty-selector-pro .btn-qty { width:25px; height:25px; }
.hj-product-card .qty-selector-pro .qty-input { width:35px; font-size:12px; }
.hj-product-carousel .owl-stage { display:flex; }
.hj-product-carousel .owl-item { display:flex; }
.hj-product-carousel .owl-nav { display:flex; justify-content:flex-end; gap:7px; margin-top:16px; }
.hj-product-carousel .owl-nav > div { display:flex; align-items:center; justify-content:center; border:1px solid #dce3d4; border-radius:3px; width:31px; height:31px; font-size:24px; line-height:1; color:var(--hj-forest); }
.hj-product-carousel .owl-nav .disabled { opacity:.35; cursor:default; }
.hj-product-carousel .owl-nav.disabled { display:none; }
.hj-project-wrap { padding-bottom:48px; }
.hj-project { background:var(--hj-light); border-radius:5px; padding:34px 40px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.hj-project h2 { font-size:27px; font-weight:700; margin:0 0 10px; }
.hj-project p:last-child { margin:0; color:var(--hj-muted); font-size:14px; }
.hj-project .hj-button { flex-shrink:0; }
.hj-body .hj-footer { background:#f7f8f5; color:var(--hj-muted); border-top:1px solid #e4e9dd; padding:42px 0 0; }
.hj-footer-brand { display:block; margin-bottom:20px; }
.hj-footer-brand img { width:100px; height:70px; object-fit:contain; }
.hj-body .hj-footer h6 { color:var(--hj-forest); font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.hj-body .hj-footer p,.hj-body .hj-footer a { color:var(--hj-muted); font-size:12px; }
.hj-footer .hc-footer-text { max-width:280px; }
.hj-body .hj-footer .footer-social a { background:var(--hj-forest); color:#fff; box-shadow:none; border-radius:3px; }
.hj-body .hj-footer .hc-footer-wa { color:var(--hj-forest)!important; }
.hj-body .hj-footer .footer-bottom { margin-top:35px; padding:20px 0; border-top:1px solid #e2e7db; }
/* Carry the brand into the existing search, detail, cart and checkout views. */
.hj-body .primary-btn,.hj-body .hc-btn-buy,.hj-body .btn-danger,.hj-body .genric-btn.primary { background:var(--hj-olive)!important; border-color:var(--hj-olive)!important; color:#fff!important; box-shadow:none!important; border-radius:3px!important; }
.hj-body .primary-btn:hover,.hj-body .btn-danger:hover { background:#456128!important; }
.hj-body .hc-btn-secondary,.hj-body .gray_btn { background:var(--hj-forest)!important; color:#fff!important; border-radius:3px!important; box-shadow:none!important; }
.hj-body .text-danger,.hj-body .price-current,.hj-body .pdp-price-current,.hj-body .hc-store-section .price h6 { color:var(--hj-olive)!important; }
.hj-body .btn,.hj-body .form-control { border-radius:4px!important; }
.hj-body .single-product { box-shadow:none; border-radius:5px!important; }
.hj-body .top_page { margin-top:35px; }
.hj-body .organic-breadcrumb { background:var(--hj-light); }
.hj-body .breadcrumb-banner h1,.hj-body .breadcrumb-banner a { color:var(--hj-forest); }
.hj-body .pdp-buy-box { border-color:#e1e7d9; box-shadow:none; }
.hj-body .pdp-pill.is-active { background:#eef3e8; border-color:var(--hj-olive); box-shadow:0 0 0 1px var(--hj-olive); }
.hj-body .fast-purchase-section { background:#f5f7f0; border-color:#d9e4cb; }
.hj-body .fast-purchase-title { color:var(--hj-olive); }
.hj-empty { grid-column:1/-1; padding:35px; background:var(--hj-light); border-radius:4px; }
.hj-breadcrumbs { padding-block:15px; font-size:12px; }
.hj-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.hj-breadcrumbs li { overflow-wrap:anywhere; }
.hj-breadcrumbs li + li::before { content:'/'; color:var(--hj-muted); margin-inline-end:8px; }
.hj-breadcrumbs [aria-current] { color:var(--hj-muted); }
.hj-catalog-heading { margin-bottom:24px; }
.hj-catalog-heading h1 { font-size:28px; line-height:1.4; margin-bottom:10px; }
.hj-catalog-heading p { color:var(--hj-muted); max-width:780px; }
.hj-body .pagination > span { display:inline-flex; align-items:center; justify-content:center; min-width:30px; padding:8px; }
.hj-body .related-product-area .section-title h2 { font-size:25px; line-height:1.4; }
[dir="rtl"] .hj-hero::before { background:linear-gradient(270deg,rgba(3,19,11,.86),rgba(3,19,11,.4) 58%,rgba(3,19,11,.04)); }
[dir="rtl"] .hj-hero-copy { margin-right:0; margin-left:auto; }
[dir="rtl"] .hj-home { text-align:right; }
.hj-body[dir="rtl"] .fa-long-arrow-right { transform:scaleX(-1); }
@media (max-width:1199px) { .hj-nav { gap:4px; }.hj-store-layout { grid-template-columns:minmax(0,1fr) 215px; gap:24px; }.hj-category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px) {
 .hj-header .navbar { min-height:82px; }.hj-brand img { width:86px; height:61px; }.hj-mobile-actions { margin-inline-start:auto; gap:22px; }
 .hj-header .navbar-collapse { padding:16px 0; flex-basis:100%; }.hj-header .hj-nav .nav-link { padding:10px 0; }.hj-tools { padding:10px 0; }
 .hj-header .navbar-toggler { border:0; padding:4px; color:var(--hj-forest); }.hj-brand { margin-inline-end:16px; }
 .hj-store-layout { grid-template-columns:1fr; padding-top:34px; }.hj-sidebar { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:35px; }.hj-why-card { margin:0; }.hj-sidebar-link { grid-column:1/-1; margin:0; }
 .hj-hero { min-height:500px; }.hj-hero-copy { max-width:570px; }.hj-benefit { padding-inline:14px; gap:12px; }.hj-benefit h2 { font-size:11px; }
}
@media (max-width:599px) {
 .hj-topbar { font-size:10px; }.hj-topbar a { display:none; }.hj-topbar .container { justify-content:center; }
 .hj-header .navbar { min-height:74px; }.hj-brand img { width:78px; height:55px; }
 .hj-hero { min-height:490px; background-position:65% center; }.hj-hero-copy { padding:45px 0 36px; }.hj-body .hj-hero h1 { font-size:34px; max-width:360px; line-height:1.2; }.hj-hero-description { font-size:14px; max-width:335px; }.hj-eyebrow { font-size:10px; letter-spacing:.1em; }
 .hj-hero::before { background:rgba(3,19,11,.68); }.hj-body[dir="rtl"] .hj-hero::before { background:rgba(3,19,11,.68); }
 .hj-hero-actions { gap:10px; }.hj-body .hj-hero-actions .hj-button { font-size:11px; padding:12px 14px; }.hj-hero-signature { margin-top:25px; }
 .hj-benefits .container { grid-template-columns:1fr; padding-block:7px; }.hj-benefit,.hj-benefit:first-child { padding:15px 10px; border-inline-end:0; border-bottom:1px solid #e0e6d9; }.hj-benefit > i { width:32px; text-align:center; }.hj-benefit h2 { font-size:12px; }
 .hj-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.hj-category-content { padding:13px 10px; }.hj-category-content h3 { font-size:12px; }.hj-category-content > span { font-size:9px; }
 .hj-section-heading h2 { font-size:20px; }.hj-section-heading > a { font-size:10px; }.hj-kicker { font-size:9px; }.hj-section { margin-bottom:30px; }
 .hj-body .hj-product-card .product-image { height:145px!important; }.hj-product-card .product-details { padding:10px 8px; }.hj-product-card h3 { font-size:11px; }.hj-product-card .price-current { font-size:14px; }
 .hj-sidebar { grid-template-columns:1fr; }.hj-advice-card { padding:24px; }.hj-advice-card img { float:inline-end; margin-inline-start:15px; }.hj-why-card { padding:24px; }
 .hj-project { padding:26px 22px; flex-direction:column; align-items:flex-start; gap:23px; }.hj-project h2 { font-size:24px; }.hj-project-wrap { padding-bottom:30px; }
 .hj-body .top_page { margin-top:20px; }.hj-body .hj-footer { padding-top:30px; }
}
/* Phone review: usable controls, compact spacing, and consistent catalog cards. */
.hj-body .filter-bar:has(.pagination) { background:var(--hj-light); padding:12px; }
.hj-body .pagination { flex-wrap:wrap; gap:5px; }
.hj-body .pagination a { background:#fff; border:1px solid #dce3d4; color:var(--hj-forest); }
.hj-body .pagination a.active { background:var(--hj-olive); color:#fff; border-color:var(--hj-olive); }
.hj-body .hj-footer .footer-social { gap:10px; }
.hj-body .hj-footer .footer-social a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0; padding:0; flex:0 0 44px; }
.hj-body .hj-footer .footer-social i { margin:0; padding:0; }
@media (max-width:767px) {
 .hj-mobile-actions { gap:8px; }
 .hj-mobile-actions > a,.hj-header .navbar-toggler { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
 .hj-mobile-actions .cartitems { inset-inline-end:0; top:0; }
 .hj-header .navbar-collapse { max-height:calc(100dvh - 100px); overflow-y:auto; }
 .hj-header .dropdown-menu { position:static; float:none; }
 .hj-body .form-control,.hj-body .fast-purchase-form .form-control,.hj-body .fast-purchase-form select.form-control { font-size:16px!important; min-height:44px; }
 .hj-body .single-product .product-details { padding:10px 8px!important; }
 .hj-body .single-product .product-details > h6,.hj-body .hj-product-card h3 { height:auto!important; min-height:3.9em; max-height:3.9em; font-size:12px; line-height:1.3; overflow:hidden; margin-bottom:10px; }
 .hj-body .single-product .hc-card-actions { padding:0; }
 .hj-body .single-product .hj-listing-buttons { display:flex; flex-wrap:nowrap; gap:5px!important; align-items:stretch!important; }
 .hj-body .single-product .hj-listing-buttons .primary-btn { display:flex; align-items:center; justify-content:center; min-height:44px; padding:6px 4px!important; margin:0; font-size:11px; line-height:1.3; }
 .hj-body .single-product .hj-listing-buttons .hc-btn-secondary { width:38px; min-width:38px!important; flex:0 0 38px!important; }
 .hj-body .single-product .hj-listing-buttons .hc-btn-buy { min-width:0; flex:1 1 0; overflow-wrap:anywhere; }
 .hj-body .single-product .hj-listing-buttons .d-md-inline { display:none!important; }
 .hj-body .single-product .qty-selector-pro .btn-qty { width:32px; height:36px; }
 .hj-body .single-product .qty-selector-pro .qty-input { width:32px; font-size:16px; }
 .hj-body .single-product .product-price-inline { min-height:44px; align-content:center; }
 .hj-body .single-product .product-image { height:155px!important; object-fit:contain; margin-bottom:0; }
 .hj-body .pdp-qty-row { flex:0 0 100%; max-width:100%; }
 .hj-body .pdp-qty-stepper { max-width:none; }
 .hj-body .pdp-step-btn { width:44px; height:44px; min-width:44px; flex-shrink:0; }
 .hj-body .pdp-qty-input { width:48px; flex-shrink:0; }
 .hj-body .product_description_area .nav.nav-tabs li a.active { background:var(--hj-olive); }
 .hj-body .product_image_area { padding-top:12px; }
 .hj-body .product_description_area { padding-bottom:24px; margin-top:24px; }
 .hj-body .related-product-area { padding-bottom:30px; }
 .hj-body .related-product-area .section-title { margin-bottom:16px; }
 .hj-body .related-product-area .section-title h1 { font-size:25px; line-height:1.4; }
 .hj-body #related-products { padding:0; }
 .hj-body #related-products .owl-nav { display:flex; justify-content:center; gap:10px; margin-top:12px; }
 .hj-body #related-products .owl-nav > div { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #dce3d4; }
 .hj-body #related-products .owl-nav.disabled { display:none; }
 .hj-body .cart_area { padding-top:12px; padding-bottom:30px; }
 .hj-body .pagination a { min-width:36px; height:44px; line-height:42px; }
 .hj-body .hj-footer .single-footer-widget { margin-bottom:10px; }
 .hj-body .hj-footer .form-control { background:#fff; border:1px solid #dce3d4; }
}
@media (prefers-reduced-motion:reduce) { .hj-body *, .hj-body *::before { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
