/* Tazgi Foods page layouts. Component styles live in tazgi.css (the design system). */

[hidden]{display:none !important}
body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font-sans)}
a{color:var(--brand)}a:hover{color:var(--ink)}
img{max-width:100%}
.tz-page{min-height:100vh;background:var(--surface)}
@media (max-width:640px){.tz-page{padding-bottom:76px}}

.wrap{max-width:1240px;margin:0 auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
.wrap-narrow{max-width:1040px;margin:0 auto;padding-left:24px;padding-right:24px;box-sizing:border-box}
@media (max-width:480px){.wrap,.wrap-narrow{padding-left:16px;padding-right:16px}}
.section{padding-top:40px;padding-bottom:40px}
.page-main{padding-top:24px;padding-bottom:64px}
.row-between{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.btn-row{display:flex;gap:12px;flex-wrap:wrap}
.chip-row{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:32px;padding:0 12px}
.muted,.muted-inline{color:var(--muted)}
.muted-inline{display:inline-flex;gap:8px;align-items:center;font-size:14px}
.block{display:block}
.num{font-variant-numeric:tabular-nums;font-weight:700}
.h2{margin:0 0 20px;font-family:var(--font-display);font-size:32px;line-height:38px}
.page-title{margin:0;font-family:var(--font-display);font-size:44px;line-height:48px;letter-spacing:-.02em}
.page-sub{margin:6px 0 0;color:var(--muted);font-size:16px}
.lead{margin:0;font-size:18px;line-height:28px;color:var(--muted);max-width:520px}
.urdu{font-family:var(--font-urdu)}
.fine{margin:14px 0 0;font-size:13px;color:var(--muted)}
@media (max-width:640px){.page-title{font-size:34px;line-height:40px}.h2{font-size:26px;line-height:32px}}

/* Selects in the design-system look */
.tz-select{height:44px;border:1.5px solid var(--line);border-radius:8px;padding:0 12px;font:400 16px var(--font-sans);color:var(--ink);background:var(--surface-raised)}
.tz-select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-tint)}
.tz-select-sm{height:40px;font-size:14px;font-weight:500}
.select-label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}

/* Header */
.announce{background:var(--ink);color:#fff;font-size:13px;line-height:18px;padding:8px 24px;display:flex;justify-content:center;gap:24px;flex-wrap:wrap;text-align:center}
.announce-dot{color:#B8C7CB}
.sticky-head{position:sticky;top:0;z-index:40;box-shadow:0 1px 0 var(--line)}
.cat-nav{background:var(--surface-raised);border-bottom:1px solid var(--line)}
.cat-nav-inner{display:flex;gap:28px;overflow-x:auto;height:48px;align-items:center;font-size:15px;font-weight:500;white-space:nowrap}
.cat-nav-inner a{color:var(--ink);text-decoration:none}
.cat-nav-inner a:hover{color:var(--brand)}
.cat-nav-inner .cat-nav-ws{color:var(--brand);font-weight:700;margin-left:auto}
.tz-header-cart{position:relative}
.checkout-head{background:var(--surface-raised);border-bottom:1px solid var(--line)}
.checkout-head .wrap{padding-top:14px;padding-bottom:14px}

/* Home hero */
.hero{padding-top:56px;padding-bottom:48px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:48px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.hero-title{margin:0;font-family:var(--font-display);font-size:clamp(40px,6vw,68px);line-height:1;letter-spacing:-.03em;font-weight:700}
.hero-urdu{margin:0;font-size:24px;line-height:48px;color:var(--brand)}
.hero-perks{display:flex;gap:24px;flex-wrap:wrap;font-size:14px;color:var(--muted);padding-top:8px}
.hero-perks span{display:inline-flex;gap:8px;align-items:center}
.hero-hl{position:relative;isolation:isolate;white-space:nowrap}
.hero-hl::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.16em;border-radius:99px;background:var(--accent);transform-origin:left;transform:scaleX(0);animation:hl-draw .7s cubic-bezier(.2,.8,.2,1) .7s forwards;z-index:-1}
@keyframes hl-draw{to{transform:scaleX(1)}}
.hero-art{position:relative;height:500px;border-radius:32px;background:var(--brand-tint);overflow:hidden}
.hero-plate{position:absolute}
.hero-plate img{width:100%;height:100%;border-radius:50%;display:block}
.hero-plate-1{width:300px;height:300px;left:7%;top:12%}
.hero-plate-2{width:220px;height:220px;right:6%;top:8%}
.hero-plate-3{width:240px;height:240px;right:15%;bottom:3%}
@media (max-width:640px){.hero{padding-top:32px;gap:32px}.hero-art{height:360px}.hero-plate-1{width:200px;height:200px}.hero-plate-2{width:150px;height:150px}.hero-plate-3{width:160px;height:160px}}
.cube-deco{position:absolute;border-radius:5px;background:var(--accent);transform:rotate(45deg);animation:cube-bob 5s ease-in-out infinite}
.cube-deco-teal{background:var(--brand);animation-delay:-2s}
@keyframes cube-bob{0%,100%{transform:rotate(45deg) translateY(0)}50%{transform:rotate(225deg) translateY(-10px)}}
.cube-mini{width:14px;height:14px;border-radius:3px;background:var(--accent);transform:rotate(45deg);flex:none}
.deal-chip{position:absolute;left:24px;bottom:24px;background:var(--surface-raised);border-radius:16px;padding:14px 18px;box-shadow:var(--shadow-raised);display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);animation-delay:700ms;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.deal-chip:hover{transform:translateY(-3px);color:var(--ink)}
.deal-chip-text{display:flex;flex-direction:column;gap:2px}
.deal-chip-eyebrow{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.deal-chip-title{font-weight:700;font-size:16px}

/* Categories, products, steps */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 16px;background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--ink);transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s,border-color .28s}
.cat-tile img{width:132px;height:132px;border-radius:50%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.cat-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-raised);border-color:var(--brand);color:var(--ink)}
.cat-tile:hover img{transform:rotate(-14deg) scale(1.05)}
.cat-tile-name{font-weight:700;font-size:16px}
.cat-tile-count{font-size:13px;color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px}
.product-grid-sm{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.product-grid .tz-pcard{max-width:none;width:100%}
@media (max-width:540px){.product-grid,.product-grid-sm{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.steps-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.step-card{background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px}
.step-card h3{margin:0;font-size:20px;font-family:var(--font-display)}
.step-card p{margin:0;color:var(--muted);font-size:15px;line-height:22px}
.step-cube{width:44px;height:44px;margin:6px;border-radius:10px;background:var(--accent);transform:rotate(45deg);display:grid;place-items:center;transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.step-cube span{transform:rotate(-45deg);font-family:var(--font-display);font-weight:700;font-size:20px;color:var(--ink);transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.step-card:hover .step-cube{transform:rotate(225deg)}
.step-card:hover .step-cube span{transform:rotate(-225deg)}

/* Wholesale band + info */
.ws-band{background:var(--ink);color:#fff}
.ws-band-grid{padding-top:64px;padding-bottom:64px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:40px;align-items:center}
.ws-band-copy{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.ws-band-copy h2{margin:0;font-family:var(--font-display);font-size:40px;line-height:44px}
.ws-band-copy p{margin:0;color:#B8C7CB;font-size:17px;line-height:26px;max-width:520px}
.ws-band-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ws-band-list li{border:1px solid #2C4650;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:6px}
.ws-band-list strong{font-size:17px}.ws-band-list span{color:#B8C7CB;font-size:14px}
.info-grid{padding-top:56px;padding-bottom:56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.info-grid h3{margin:0 0 8px;font-family:var(--font-display);font-size:22px}
.info-grid p{margin:0;color:var(--muted);font-size:15px;line-height:22px}

/* Footer */
.site-foot{color:#fff;background:var(--ink)}
.foot-grid{padding-top:56px;padding-bottom:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px}
.foot-brand{display:flex;flex-direction:column;gap:14px;grid-column:span 2;min-width:0}
.foot-brand p{margin:0;color:#B8C7CB;font-size:15px;line-height:22px;max-width:320px}
.foot-urdu{font-size:20px;line-height:40px;color:#D9EFEE !important;align-self:flex-start}
.site-foot nav,.foot-contact{display:flex;flex-direction:column;gap:10px;font-size:15px}
.site-foot nav strong,.foot-contact strong{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#B8C7CB}
.site-foot nav a{color:#fff;text-decoration:none}.site-foot nav a:hover{color:var(--accent)}
.foot-muted{color:#B8C7CB}
.foot-bar{border-top:1px solid #2C4650;font-size:13px;color:#B8C7CB}
.foot-bar .wrap{padding-top:18px;padding-bottom:18px}
@media (max-width:420px){.foot-brand{grid-column:auto}}

/* Shop */
.crumbs{font-size:14px;color:var(--muted);display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.crumbs a{color:var(--muted)}.crumb-here{color:var(--ink)}
.pill-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:8px;margin-bottom:24px}
.shop-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.filters{flex:1 1 220px;max-width:260px;display:flex;flex-direction:column;gap:24px;background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;padding:20px;box-sizing:border-box}
@media (max-width:640px){.filters{max-width:none}}
.filters fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.filters legend,.plain-fieldset legend{font-weight:700;font-size:15px;margin-bottom:10px;padding:0}
.filters label{display:flex;gap:10px;align-items:center;font-size:15px;cursor:pointer}
.filters input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}
.filters .count{margin-left:auto;color:var(--muted);font-size:13px}
.plain-fieldset{border:0;margin:0;padding:0}
.shop-results{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.sort-label{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--muted)}
.load-more{display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:16px;font-size:14px;color:var(--muted)}

/* Product page */
.pdp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:48px;align-items:start}
.pdp-media{position:relative;border-radius:24px;overflow:hidden;background:var(--brand-tint);aspect-ratio:1/1}
.pdp-media img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-off{position:absolute;top:16px;left:16px;height:28px;font-size:13px}
.pdp-info{display:flex;flex-direction:column;gap:20px}
.buy-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.perk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.perk{display:flex;gap:12px;padding:14px 16px;border-radius:12px;background:var(--surface-raised);border:1px solid var(--line);font-size:14px;line-height:20px}
.perk-icon{color:var(--brand)}
.panel{background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;padding:24px;box-sizing:border-box}
.panel-lg{padding:28px;display:flex;flex-direction:column;gap:18px}
@media (max-width:480px){.panel,.panel-lg{padding:18px}}
.panel-title{margin:0 0 14px;font-family:var(--font-display);font-size:22px;display:flex;gap:10px;align-items:center}
.panel-lg .panel-title{margin:0}
.cook-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:22px}
.panel-details{padding:18px 24px}
.panel-details summary{font-weight:700;font-size:16px;cursor:pointer}
.panel-details p{margin:12px 0 0;font-size:15px;line-height:22px;color:var(--muted)}
.ws-box{background:var(--brand-tint);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:14px}
.ws-box .tz-tiers{display:table;width:100%;max-width:none}

/* Checkout */
.checkout-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.checkout-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.checkout-side{flex:1 1 340px;max-width:400px;display:flex;flex-direction:column;gap:16px;position:sticky;top:24px}
@media (max-width:900px){.checkout-side{max-width:none;position:static}}
.checkout-side .tz-summary,.checkout-side .tz-coupon{max-width:none}

/* Order + tracking */
.order-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.order-check{width:56px;height:56px;border-radius:50%;background:var(--success-tint);color:var(--fresh);display:grid;place-items:center;flex:none}
.order-cols{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.order-line{display:flex;gap:12px;align-items:center}
.order-line img{width:48px;height:48px;border-radius:8px}
.order-line div{flex:1;display:flex;flex-direction:column}
.order-line div span{font-size:13px;color:var(--muted)}
.rule{border:0;border-top:1px solid var(--line);margin:4px 0;width:100%}
.totals{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:15px}
.totals .big{font-size:18px}
.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding-top:6px;font-size:14px;line-height:20px}
.recent-order{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;background:var(--surface);text-decoration:none;color:var(--ink)}
.recent-order:hover{background:var(--brand-tint);color:var(--ink)}
@media (max-width:480px){.recent-order{grid-template-columns:1fr auto}}

/* Wholesale page */
.ws-hero{background:var(--brand);color:#fff}
.ws-hero-grid{padding-top:64px;padding-bottom:64px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:40px;align-items:center}
.ws-hero-copy{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.ws-hero-copy h1{margin:0;font-family:var(--font-display);font-size:clamp(38px,5vw,56px);line-height:1.04;letter-spacing:-.02em}
.ws-hero-copy p{margin:0;font-size:18px;line-height:28px;color:#D9EFEE;max-width:520px}
.tz-btn-onbrand{background:transparent;color:#fff;border-color:#fff}
.tz-btn-onbrand:hover{background:rgba(255,255,255,.1);color:#fff}
.ws-hero-art{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ws-hero-art img{width:100%;aspect-ratio:1/1;border-radius:24px}
.who-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.who-card{background:var(--surface-raised);border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:8px}
.who-card>span{color:var(--brand)}
.who-card strong{font-size:18px}
.who-card p{margin:0;color:var(--muted);font-size:15px;line-height:22px}
.tier-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:24px}
.tier-grid .tz-tiers{display:table;width:100%;max-width:none}
.ws-apply{background:var(--brand-tint)}
.ws-apply-grid{padding-top:64px;padding-bottom:64px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.ws-apply-copy{flex:1 1 300px;display:flex;flex-direction:column;gap:14px}
.ws-apply-copy h2{margin:0;font-family:var(--font-display);font-size:36px;line-height:40px}
.ws-apply-copy p{margin:0;color:var(--muted);font-size:16px;line-height:24px}
.ws-apply-copy ol{margin:8px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:22px}
.ws-apply-form{flex:2 1 520px;min-width:0;background:var(--surface-raised);border-radius:16px;padding:28px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:18px;box-sizing:border-box}
.faq{display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--surface-raised);border:1px solid var(--line);border-radius:12px;padding:18px 22px}
.faq summary{font-weight:700;cursor:pointer}
.faq p{margin:10px 0 0;color:var(--muted);line-height:22px}

/* Cart drawer host */
.tz-overlay[data-drawer]{z-index:80}

@media (prefers-reduced-motion:reduce){.hero-hl::after{animation:none;transform:none}.cube-deco{animation:none}}
