/* Hazara One theme — mobile first. Tokens match the approved design. */
:root{
	--h1-red:#E60012;--h1-red-dark:#B8000E;--h1-tint:#FDECEE;--h1-ink:#111;--h1-text:#2B2B2B;--h1-muted:#6B6B6B;
	--h1-line:#E8E8E8;--h1-bg:#fff;--h1-bg-alt:#F6F6F6;--h1-radius:16px;--h1-shadow:0 2px 12px rgba(0,0,0,.06);
	--h1t-font:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--h1t-nav-h:68px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--h1t-font);font-size:15px;line-height:1.55;color:var(--h1-text);background:var(--h1-bg);padding-bottom:calc(var(--h1t-nav-h) + env(safe-area-inset-bottom))}
body.rtl,[dir=rtl] body{--h1t-font:"Noto Naskh Arabic","Poppins",system-ui,sans-serif}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] .h1t-hero__title{font-family:"Noto Nastaliq Urdu","Noto Naskh Arabic",serif;line-height:1.9}
img{max-width:100%;height:auto}
a{color:var(--h1-red)}
h1,h2,h3{color:var(--h1-ink);line-height:1.2}
:focus-visible{outline:2px solid var(--h1-red);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.h1t-skip:focus{position:fixed!important;top:8px;left:8px;width:auto;height:auto;clip:auto;z-index:1000;padding:10px 16px;background:#fff;border-radius:8px}
.h1t-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
.h1t-red{color:var(--h1-red)}
.h1t-meta{color:var(--h1-muted);font-size:13px;display:flex;align-items:center;gap:4px}

/* App bar */
.h1t-appbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid transparent}
.h1t-appbar__inner{display:flex;align-items:center;gap:12px;min-height:60px}
.h1t-logo img,.custom-logo{display:block;height:32px;width:auto}
.h1t-back{display:inline-flex;color:var(--h1-ink);padding:6px;margin-left:-6px}
.h1t-topnav{display:none}
.h1t-appbar__actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.h1t-iconbtn{position:relative;display:inline-flex;color:var(--h1-ink);padding:6px}
.h1t-dot{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--h1-red);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.h1t-avatar img{display:block;width:36px;height:36px;border-radius:50%;object-fit:cover}
.h1t-login{font-weight:700;text-decoration:none;font-size:14px}

/* Hero */
.h1t-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff 55%,#F4F8F2 100%)}
.h1t-hero.has-img{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.9) 38%,rgba(255,255,255,0) 70%),var(--h1t-hero) right bottom/cover no-repeat}
@media (max-width:699px){.h1t-hero.has-img{background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 55%,rgba(255,255,255,.35) 100%),var(--h1t-hero) 70% bottom/cover no-repeat}}
.h1t-hero__inner{position:relative;display:flex;flex-direction:column;padding-top:12px;padding-bottom:20px;min-height:300px}
.h1t-hero__text{position:relative;z-index:2;max-width:560px}
.h1t-hero__title{margin:4px 0 10px;font-size:34px;font-weight:800;letter-spacing:-.5px;line-height:1.08}
.h1t-hero__title span{display:block}
.h1t-hero__sub{margin:0 0 18px;max-width:340px;color:var(--h1-text);font-size:14px}
.h1t-hero__search{display:flex;align-items:center;gap:10px;padding:0 18px;min-height:52px;border-radius:999px;background:#fff;border:1px solid var(--h1-line);box-shadow:var(--h1-shadow);color:var(--h1-red)}
.h1t-hero__search input{flex:1;border:0;background:none;font:inherit;font-size:15px;min-height:50px;color:var(--h1-text)}
.h1t-hero__search input:focus{outline:none}
.h1t-hero__art{position:absolute;right:0;bottom:0;width:62%;height:70%;z-index:1;opacity:.9}

/* Services: 3 per row. Full photo on top (no fade), red icon + name + short text below. */
.h1t-services{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.h1t-service{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:0 0 10px;border-radius:16px;background:#fff;border:1px solid var(--h1-line);text-decoration:none;color:var(--h1-text);overflow:hidden;box-shadow:0 1px 2px rgba(17,17,17,.04),0 6px 16px rgba(17,17,17,.06);transition:transform .18s ease,box-shadow .18s ease}
.h1t-service:hover,.h1t-service:focus-visible{transform:translateY(-2px);box-shadow:0 2px 4px rgba(17,17,17,.05),0 12px 24px rgba(230,0,18,.14)}
.h1t-service__media,.h1t-service__art{display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:var(--h1-tint)}
.h1t-service__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.h1t-service__art{display:flex;align-items:center;justify-content:center;color:var(--h1-red)}
.h1t-service__art .h1t-icon{width:46%;height:46%;stroke-width:1.6}
.h1t-service__icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:-16px 0 4px 8px;border-radius:10px;background:var(--h1-red);color:#fff;border:2px solid #fff;box-shadow:0 3px 8px rgba(230,0,18,.3);position:relative;z-index:2}
.h1t-service__icon .h1t-icon{width:18px;height:18px}
.h1t-service__title{padding:0 8px;font-weight:800;font-size:13.5px;line-height:1.15;color:var(--h1-ink)}
.h1t-service__sub{padding:0 8px;margin-top:2px;font-size:11px;line-height:1.3;color:var(--h1-muted)}
.h1t-service.has-img{padding-bottom:10px}

/* Promo banners */
.h1t-banners{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 6px}
.h1t-banner{position:relative;display:flex;align-items:center;min-height:150px;padding:18px;border-radius:var(--h1-radius);background:#1c120e;color:#fff;text-decoration:none;overflow:hidden;box-shadow:var(--h1-shadow)}
.h1t-banner--2{background:linear-gradient(180deg,#8FB3D6 0%,#6E8F7A 55%,#3E4A44 100%)}
.h1t-banner__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h1t-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.3) 40%,rgba(0,0,0,0) 62%);pointer-events:none}
.h1t-banner__text{position:relative;z-index:2;max-width:62%;display:flex;flex-direction:column;gap:8px}
.h1t-banner__head{display:flex;align-items:center;gap:10px}
.h1t-banner__icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:var(--h1-red);color:#fff;border:2px solid #fff}
.h1t-banner__text strong{font-size:20px;line-height:1.2;font-weight:800;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.h1t-banner__sub{font-size:13px;line-height:1.35;opacity:.95;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.h1t-banner__cta{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:4px;padding:8px 16px;border-radius:999px;background:var(--h1-red);color:#fff;font-weight:700;font-size:13px}

/* Feed */
.h1t-section-head{display:flex;align-items:baseline;justify-content:space-between;margin:8px 0 12px}
.h1t-section-head h2{margin:0;font-size:22px;font-weight:800}
.h1t-section-head a{font-weight:700;text-decoration:none}
.h1t-feed{max-width:720px;margin:28px auto 24px}

/* Pages */
.h1t-page{padding-top:12px;padding-bottom:32px}
.h1t-narrow{max-width:760px}
.h1t-page__title{font-size:24px;font-weight:800;margin:4px 0 16px}
.h1t-content{max-width:760px}
.h1t-cover{min-height:180px;display:flex;align-items:flex-end;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.7)),var(--h1t-cover,linear-gradient(120deg,var(--h1-red),var(--h1-red-dark))) center/cover}
.h1t-cover__title{color:#fff;font-size:26px;margin:0 0 16px}
.h1t-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.h1t-card{display:flex;flex-direction:column;border:1px solid var(--h1-line);border-radius:var(--h1-radius);overflow:hidden;text-decoration:none;color:var(--h1-text);background:#fff}
.h1t-card__img{width:100%;aspect-ratio:4/3;object-fit:cover}
.h1t-card__body{display:flex;flex-direction:column;gap:4px;padding:12px}
.h1t-card__body strong{color:var(--h1-ink)}
.h1t-card__body small{color:var(--h1-muted)}
.h1t-listing__img img{width:100%;border-radius:var(--h1-radius);margin:0 0 12px}
.h1t-listing__price{font-size:22px;font-weight:800;color:var(--h1-red);margin:0 0 6px}
.h1t-contact{display:flex;gap:10px;margin:20px 0}
.h1t-notice{padding:16px;border-radius:12px;background:var(--h1-tint);margin:20px 0}
.h1t-comments{margin-top:24px}
.h1t-comments textarea,.h1t-comments input[type=text],.h1t-comments input[type=email]{width:100%;padding:12px;border:1px solid var(--h1-line);border-radius:12px;font:inherit}
.nav-links{display:flex;gap:8px;margin:20px 0}
.nav-links .page-numbers{padding:8px 14px;border-radius:999px;border:1px solid var(--h1-line);text-decoration:none}
.nav-links .current{background:var(--h1-red);color:#fff;border-color:var(--h1-red)}

/* Footer */
.h1t-footer{background:var(--h1-ink);color:#cfcfcf;padding:28px 0;margin-top:20px}
.h1t-footer .h1t-logo img{filter:brightness(0) invert(1);opacity:.95}
.h1t-footer__inner{display:flex;flex-direction:column;gap:14px}
.h1t-footer__nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:14px}
.h1t-footer a{color:#fff;text-decoration:none}
.h1t-footer__copy{font-size:13px;margin:0;color:#9a9a9a}

/* Bottom nav (mobile) */
.h1t-bottomnav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);align-items:end;height:calc(var(--h1t-nav-h) + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--h1-line);box-shadow:0 -4px 16px rgba(0,0,0,.04)}
.h1t-bottomnav__item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;padding-bottom:10px;color:var(--h1-text);font-size:12px;font-weight:500;text-decoration:none;min-height:44px}
.h1t-bottomnav__item.is-active{color:var(--h1-red);font-weight:700}
.h1t-fab{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin-top:-22px;border-radius:50%;background:var(--h1-red);color:#fff;box-shadow:0 6px 16px rgba(230,0,18,.35);border:4px solid #fff}

/* Tablet */
@media (min-width:700px){
	.h1t-service{padding-bottom:14px}
	.h1t-service__media,.h1t-service__art{aspect-ratio:16/10}
	.h1t-service__icon{width:40px;height:40px;margin:-20px 0 6px 14px;border-radius:12px}
	.h1t-service__icon .h1t-icon{width:22px;height:22px}
	.h1t-service__title{padding:0 14px;font-size:18px}
	.h1t-service__sub{padding:0 14px;font-size:13.5px}
	.h1t-hero__title{font-size:46px}
	.h1t-services{gap:14px}
	.h1t-banners{grid-template-columns:1fr 1fr}
	.h1t-cards{grid-template-columns:repeat(3,1fr)}
}

/* Desktop: top navigation, split hero, no bottom bar */
@media (min-width:1024px){
	.h1t-service__title{font-size:20px}
	.h1t-service__sub{font-size:14px}
	body{padding-bottom:0}
	.h1t-bottomnav{display:none}
	.h1t-back{display:none}
	.h1t-appbar{border-bottom-color:var(--h1-line)}
	.h1t-appbar__inner{min-height:72px;gap:32px}
	.h1t-logo img,.custom-logo{height:38px}
	.h1t-topnav{display:block}
	.h1t-topnav ul{display:flex;gap:6px;list-style:none;margin:0;padding:0}
	.h1t-topnav a{display:block;padding:8px 14px;border-radius:999px;color:var(--h1-ink);font-weight:600;text-decoration:none}
	.h1t-topnav a:hover,.h1t-topnav .current-menu-item a{background:var(--h1-tint);color:var(--h1-red)}
	.h1t-hero__inner{min-height:440px;justify-content:center;padding-top:40px;padding-bottom:56px}
	.h1t-hero__title{font-size:64px}
	.h1t-hero__sub{font-size:17px;max-width:460px}
	.h1t-hero__search{max-width:560px}
	.h1t-hero__art{width:55%;height:100%}
	.h1t-services{grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}
	.h1t-banners{margin:28px 0}
	.h1t-banner{min-height:186px;padding:24px 28px}
	.h1t-banner__text strong{font-size:28px}
	.h1t-banner__sub{font-size:16px}
	.h1t-banner__icon{width:48px;height:48px;flex-basis:48px}

	.h1t-cards{grid-template-columns:repeat(4,1fr)}
	.h1t-page__title{font-size:32px}
	.h1t-footer__inner{flex-direction:row;align-items:center;justify-content:space-between}
	.h1-cartbar{bottom:20px}
}

/* RTL */
[dir=rtl] .h1t-appbar__actions{margin-left:0;margin-right:auto}
[dir=rtl] .h1t-back{margin-left:0;margin-right:-6px;transform:scaleX(-1)}
[dir=rtl] .h1t-hero.has-img{background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,0) 72%),var(--h1t-hero) left center/cover no-repeat}
[dir=rtl] .h1t-hero__art{right:auto;left:0;transform:scaleX(-1)}

[dir=rtl] .h1t-banner__cta .h1t-icon{transform:scaleX(-1)}

@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* City picker */
.h1-city{display:flex;align-items:center;gap:4px;color:var(--h1-ink);margin:0 auto 0 4px;min-width:0}
.h1-city svg{color:var(--h1-red);flex:0 0 16px}
.h1-city select{border:0;background:transparent;font:inherit;font-size:13px;font-weight:600;color:var(--h1-ink);max-width:150px;padding:4px 2px;cursor:pointer;text-overflow:ellipsis}
@media (max-width:420px){.h1-city select{max-width:92px}.h1t-logo img{height:28px}}
@media (min-width:1024px){.h1-city{margin:0}}
/* Homepage rails */
.h1t-rail{margin:22px 0}
.h1t-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.h1t-tile{scroll-snap-align:start;display:flex;flex-direction:column;gap:4px;padding:0 0 12px;border:1px solid var(--h1-line);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--h1-text);background:#fff}
.h1t-tile img,.h1t-tile__blank{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--h1-bg-alt)}
.h1t-tile strong,.h1t-tile small,.h1t-tile .h1-badge{margin:0 12px}
.h1t-tile strong{color:var(--h1-ink)}
.h1t-tile small{color:var(--h1-muted)}
.h1t-tile .h1-badge{align-self:flex-start}
.h1t-content--wide{max-width:none}
@media (min-width:1024px){.h1t-rail__list{display:grid;grid-template-columns:repeat(3,1fr)}.h1t-scroller{grid-auto-columns:minmax(260px,1fr)}}

.h1t-page--wide .h1t-content{max-width:none}
@media (max-width:699px){
	.h1t-banner{min-height:150px;padding:12px;align-items:flex-start}
	.h1t-banner::after{background:linear-gradient(180deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.35) 55%,rgba(0,0,0,.05) 100%)}
	.h1t-banner__text{max-width:100%;gap:4px}
	.h1t-banner__head{gap:6px}
	.h1t-banner__icon{width:28px;height:28px;flex-basis:28px;border-width:1.5px}
	.h1t-banner__icon .h1t-icon{width:16px;height:16px}
	.h1t-banner__text strong{font-size:15px}
	.h1t-banner__sub{font-size:11px}
	.h1t-banner__cta{padding:6px 12px;font-size:11.5px;margin-top:auto}
}

.h1t-dashbtn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--h1-ink);color:#fff;font-size:13px;font-weight:700;text-decoration:none}
.h1t-dashbtn:hover{background:var(--h1-red)}
@media (max-width:699px){.h1t-dashbtn span{display:none}.h1t-dashbtn{padding:8px}}
