/* =====================================================================
   Zaiqaana Premium — UI layer (v1.3)
   header · product cards · page hero · shop filters · drawers · bottom nav
   footer · cart / checkout / account · FAQ · 404 · RTL
   ===================================================================== */

html.zp-lock, html.zp-lock body { overflow: hidden; }
.zp-main-flush { padding: 0 0 96px; }
.zp-single-wrap { padding-top: 124px; }
.zp-page-body { padding-top: 48px; }
.zp-content a.button, .zp-content a.zp-btn, .zp-content .button { color: #fff; text-decoration: none; }
.zp-content a.zp-btn-ghost { color: var(--green); }
.zp-content a.zp-btn-ghost:hover { color: #fff; }

/* ---------- Header ---------- */
.zp-header, body.home .zp-header { position: fixed; left: 0; right: 0; top: 0; width: 100%; z-index: 100; }
.admin-bar .zp-header, body.home.admin-bar .zp-header { top: 32px; }
.zp-mark { flex: none; display: block; }
.zp-logo { gap: 10px; }
.zp-logo .zp-mark { width: 40px; height: 40px; }
.zp-logo-text { direction: ltr; }
.zp-logo-light .zp-logo-text b { color: #fff; }
.zp-nav { align-items: center; gap: 28px; }
.zp-nav > a, .zp-nav-item > a { display: inline-flex; align-items: center; gap: 5px; position: relative; padding: 8px 0; color: var(--ink); font-weight: 500; }
.zp-nav-item { position: relative; }
.zp-nav-item > a .zp-i { transition: transform .3s var(--ease); }
.zp-nav-item:hover > a .zp-i, .zp-nav-item:focus-within > a .zp-i { transform: rotate(180deg); }
.zp-mega { position: absolute; top: 100%; left: 50%; width: 560px; padding-top: 22px; transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.zp-nav-item:hover .zp-mega, .zp-nav-item:focus-within .zp-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.zp-mega-in { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: 0 30px 60px -24px rgba(20, 32, 18, .45); }
.zp-mega-link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; transition: background .2s; }
.zp-mega-link::after, .zp-nav .zp-mega-link::after { display: none; }
.zp-mega-link:hover, .zp-mega-link:focus-visible { background: var(--sand); }
.zp-mega-img { flex: none; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; background: var(--sand); display: block; }
.zp-mega-img img { width: 100%; height: 100%; object-fit: cover; }
.zp-mega-link b { display: block; font: 500 16px/1.2 var(--font-head); color: var(--green); }
.zp-mega-link small { font-size: 12px; color: var(--muted); }

.zp-langs { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); font-size: 13px; line-height: 1; }
.zp-langs a { padding: 6px 11px; border-radius: 999px; color: var(--muted); font-weight: 600; transition: background .2s, color .2s; }
.zp-langs a.is-current { background: var(--green); color: #fff; }
.zp-langs a[lang=ur] { font-family: "Jameel Noori Nastaleeq", "Noto Nastaliq Urdu", Tahoma, sans-serif; font-weight: 400; padding-block: 2px 6px; }
.zp-langs-head { margin-inline-end: 6px; }
.zp-langs-foot { border-color: rgba(255, 255, 255, .25); background: transparent; }
.zp-langs-foot a { color: rgba(255, 255, 255, .7); }
.zp-langs-foot a.is-current { background: var(--cream); color: var(--green); }
.zp-lang { display: none; }

.zp-icon-btn { color: var(--green); }
.zp-badge, .zp-cart-count { position: absolute; top: 2px; inset-inline-end: 0; right: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--clay); color: #fff; font: 700 10px/18px var(--font-body); text-align: center; display: none; }
.zp-badge.has-items, .zp-cart-count.has-items { display: block; }

.zp-search { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin: 10px auto 0; width: min(760px, 100% - 40px); padding: 6px 6px 6px 20px; box-shadow: 0 20px 40px -20px rgba(20, 32, 18, .45); }
.zp-search form { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.zp-search input[type=search] { flex: 1; border: 0; background: transparent; padding: 10px 0; box-shadow: none; border-radius: 0; }
.zp-search input[type=search]:focus { box-shadow: none; }

/* ---------- Product card (shared) ---------- */
.woocommerce ul.products { clear: both; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; clear: none !important; }
.zp-shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zp-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.zp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.zp-card-media { position: relative; }
.zp-card-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.zp-card-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .9s var(--ease), opacity .5s; }
.zp-card:hover .zp-card-img img { transform: scale(1.06); }
.zp-card-alt { position: absolute; inset: 0; opacity: 0; }
.zp-card:hover .zp-card-alt { opacity: 1; }
.zp-tag { position: absolute; top: 12px; left: auto; inset-inline-start: 12px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.zp-tag-out { background: var(--ink); }
.zp-tag-soon { background: rgba(251, 248, 240, .94); color: var(--green); }
.zp-wish { position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(251, 248, 240, .94); color: var(--green); display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(20, 32, 18, .5); transition: transform .3s var(--ease), color .2s, background .2s; }
.zp-wish:hover { transform: scale(1.1); }
.zp-wish[aria-pressed=true] { color: #b3261e; }
.zp-wish[aria-pressed=true] .zp-i { fill: currentColor; }
.zp-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.zp-card-cat { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0; }
.zp-card-title { font: 500 19px/1.25 var(--font-head); margin: 0; }
.zp-card-title a { color: var(--green); }
.zp-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.zp-card .zp-wish, .zp-card .zp-card-go { z-index: 2; }
.zp-card-weights { display: flex; flex-wrap: wrap; gap: 6px; }
.zp-card-weights span { font-size: 11px; line-height: 1.5; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.zp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.zp-card .zp-price, .zp-card .price { font-weight: 600; font-size: 16px; color: var(--ink); padding: 0; display: inline; }
.zp-card-go { position: relative; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--green); transition: background .3s, color .3s, transform .3s var(--ease); }
.zp-card:hover .zp-card-go { background: var(--green); color: #fff; }
.zp-card-go:hover { transform: scale(1.08); }
.zp-add.is-busy { opacity: .5; pointer-events: none; }
.matched-weight { font-size: 11px; background: var(--sand); border-radius: 999px; padding: 2px 8px; margin-inline-end: 4px; font-weight: 500; }

/* ---------- Page hero ---------- */
.zp-pagehero { position: relative; overflow: hidden; background: var(--sand); padding: 136px 0 52px; }
.zp-pagehero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(46, 69, 39, .12); inset-inline-end: -160px; top: -200px; }
.zp-pagehero::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(46, 69, 39, .1); inset-inline-end: 80px; top: -120px; }
.zp-pagehero .zp-container { position: relative; z-index: 1; }
.zp-crumbs, .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.zp-crumbs a:hover { color: var(--green); text-decoration: underline; }
.zp-pagehero-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; margin: 0; }
.zp-pagehero-sub { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- Content pages ---------- */
.zp-content > :first-child { margin-top: 0; }
.zp-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.7em; }
.zp-content details, .faq-item { border: 1px solid var(--line); background: var(--paper); border-radius: 18px; margin: 0 0 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.zp-content details[open] { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.zp-content summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 500 19px/1.3 var(--font-head); color: var(--green); }
.zp-content summary::-webkit-details-marker { display: none; }
.zp-content summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font: 400 20px/1 var(--font-body); transition: transform .3s var(--ease), background .3s, color .3s; }
.zp-content details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.zp-content details > :not(summary) { padding: 0 24px; color: var(--muted); }
.zp-content details > :last-child { padding-bottom: 20px; margin-bottom: 0; }
.zp-content table { width: 100%; border-collapse: collapse; }
.zp-content iframe { max-width: 100%; border-radius: 18px; }

/* ---------- Shop ---------- */
.zp-shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; padding-top: 44px; align-items: start; }
.zp-filters { position: sticky; top: 104px; }
.zp-filter-form { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.zp-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.zp-filters-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0; }
.zp-filters-head .zp-icon-btn { display: none; }
.zp-filter-group { border: 0; padding: 18px 0 0; margin: 18px 0 0; min-width: 0; border-top: 1px solid var(--line); }
.zp-filter-label { display: block; padding: 0; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.zp-filter-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 0 16px; color: var(--muted); }
.zp-filter-search input { border: 0; background: transparent; padding: 11px 0; box-shadow: none !important; border-radius: 0; }
.zp-filter-list { display: grid; gap: 2px; }
.zp-radio { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 500; transition: background .2s; }
.zp-radio:hover { background: var(--cream); }
.zp-radio input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; padding: 0; border: 1.5px solid var(--muted); border-radius: 50%; background: transparent; transition: border-color .2s, box-shadow .2s; }
.zp-radio input:checked { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); background: var(--paper); }
.zp-radio:has(input:checked) { background: var(--sand); color: var(--green); }
.zp-radio span { flex: 1; }
.zp-radio em { font-style: normal; font-size: 12px; color: var(--muted); }
.zp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.zp-pill { cursor: pointer; }
.zp-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.zp-pill span { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--cream); transition: all .2s; }
.zp-pill:hover span { border-color: var(--green); }
.zp-pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.zp-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.zp-range { position: relative; height: 28px; margin: 4px 2px 14px; }
.zp-range-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--line); }
.zp-range-track i { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 4px; }
.zp-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; padding: 0; background: none; border: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.zp-range input[type=range]::-webkit-slider-runnable-track { background: none; height: 28px; }
.zp-range input[type=range]::-moz-range-track { background: none; }
.zp-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); box-shadow: 0 2px 6px rgba(20, 32, 18, .3); cursor: grab; }
.zp-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); cursor: grab; }
.zp-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zp-price-inputs label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); padding: 0 12px; font-size: 12px; color: var(--muted); }
.zp-price-inputs input { border: 0; background: transparent; padding: 9px 0; box-shadow: none !important; min-width: 0; -moz-appearance: textfield; }
.zp-price-inputs input::-webkit-outer-spin-button, .zp-price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zp-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; }
.zp-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.zp-switch i { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line); transition: background .25s; }
.zp-switch i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.zp-switch input:checked + i { background: var(--green); }
.zp-switch input:checked + i::after { transform: translateX(18px); }
.zp-switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.zp-filter-actions { display: flex; gap: 10px; margin-top: 22px; }
.zp-filter-actions .zp-btn { flex: 1; }
.zp-filter-apply { display: none; }

.zp-shop-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.zp-filter-toggle { display: none; }
.zp-shop-count { margin: 0; color: var(--muted); font-size: 15px; }
.zp-shop-count b { color: var(--green); font-size: 18px; }
.zp-sort { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; font-size: 14px; color: var(--muted); font-weight: 400; }
.zp-sort select { width: auto; padding: 10px 36px 10px 16px; border-radius: 999px; background-color: var(--paper); font-weight: 500; color: var(--ink); }
.zp-active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zp-active-chips:not(:empty) { margin-bottom: 18px; }
.zp-chip-x { border: 1px solid var(--green); background: transparent; color: var(--green); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; transition: background .2s, color .2s; }
.zp-chip-x:hover { background: var(--green); color: #fff; }
.zp-shop-feedback { min-height: 0; margin: 0; font-size: 14px; color: var(--muted); }
.zp-shop-feedback:not(:empty) { margin-bottom: 12px; }
.zp-shop[aria-busy=true] .zp-shop-results { opacity: .45; transition: opacity .2s; }
.zp-shop-pages { margin-top: 44px; }
.ajax-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.ajax-pagination button { min-width: 46px; height: 46px; padding: 0 12px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-weight: 600; color: var(--green); transition: all .2s; }
.ajax-pagination button:hover { border-color: var(--green); }
.ajax-pagination button[aria-current=page] { background: var(--green); border-color: var(--green); color: #fff; }
.shop-empty { text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 24px; padding: 64px 24px; }
.shop-empty > span { display: block; font-size: 34px; color: var(--gold); margin-bottom: 8px; }
.shop-empty h2 { font-size: 26px; }
.shop-empty p { color: var(--muted); }

/* ---------- Drawers ---------- */
dialog.zp-drawer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
dialog.zp-drawer:not([open]) { display: none; }
dialog.zp-drawer::backdrop { background: rgba(20, 30, 18, .52); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.zp-drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--cream); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); }
.zp-drawer-start .zp-drawer-panel { inset-inline-end: auto; inset-inline-start: 0; width: min(380px, 92%); }
.zp-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.zp-drawer-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0; }
.zp-drawer-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--green); color: #fff; font: 600 13px var(--font-body); }
.zp-drawer-feedback { margin: 0; padding: 0 22px; font-size: 14px; color: var(--clay); }
.zp-drawer-feedback:not(:empty) { padding: 10px 22px; background: var(--sand); }
.zp-drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.zp-drawer-loading { color: var(--muted); }
.zp-drawer-foot { display: grid; gap: 10px; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.zp-drawer-foot-row { display: flex; align-items: center; justify-content: space-between; }
.zp-drawer-foot .zp-btn { width: 100%; }
.zp-drawer-sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.zp-drawer-sub b { font: 500 24px var(--font-head); color: var(--green); }
.zp-drawer-note { margin: 0; font-size: 13px; color: var(--muted); }
.drawer-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-item:last-child { border-bottom: 0; }
.drawer-photo { display: block; border-radius: 14px; overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.drawer-photo img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-copy > a { font: 500 17px/1.3 var(--font-head); color: var(--green); }
.drawer-price { font-weight: 600; margin: 2px 0 8px; }
.drawer-stock { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.drawer-item-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 13px; }
.quantity-control { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.quantity-control input { width: 64px; padding: 7px 8px; border-radius: 999px; text-align: center; font-weight: 600; color: var(--ink); }
.drawer-item-actions button, .zp-drawer .desi-wish { display: inline-flex !important; background: none; border: 0; padding: 0; color: var(--clay); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drawer-item-actions .drawer-add { color: #fff; background: var(--green); text-decoration: none; padding: 8px 16px; border-radius: 999px; }
.drawer-item-actions > a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drawer-empty { text-align: center; padding: 56px 12px; }
.drawer-empty > span { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--sand); color: var(--gold); font-size: 30px; }
.drawer-empty h3 { font-size: 24px; }
.drawer-empty p { color: var(--muted); }
.zp-drawer[aria-busy=true] .zp-drawer-items { opacity: .5; }

.zp-mnav { display: grid; }
.zp-mnav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font: 500 22px var(--font-head); color: var(--green); }
.zp-drawer-body > .zp-eyebrow { margin: 26px 0 12px; }
.zp-mcats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zp-mcats a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.zp-mcats .zp-mega-img { width: 38px; height: 38px; border-radius: 10px; }

.zp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 600; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); transition: transform .4s var(--ease), opacity .3s; max-width: calc(100% - 32px); text-align: center; }
.zp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Mobile bottom nav ---------- */
.zp-bnav { display: none; }

/* ---------- Footer ---------- */
.zp-footer { padding: 0; overflow: hidden; }
.zp-foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.zp-foot-cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 6px; }
.zp-foot-cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.zp-foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 56px 0 24px; }
.zp-footer h3 { color: #fff; font: 500 18px var(--font-head); margin-bottom: 18px; }
.zp-foot-brand .zp-contact { margin-top: 20px; }
.zp-footer nav ul a { position: relative; display: inline-block; transition: color .2s, transform .3s var(--ease); }
.zp-footer nav ul a:hover { color: #f0c987; transform: translateX(4px); }
.zp-contact .zp-i { color: #f0c987; }
.zp-foot-word { font: 500 clamp(84px, 21vw, 320px)/.78 var(--font-head); letter-spacing: -.03em; text-align: center; color: rgba(255, 255, 255, .07); white-space: nowrap; user-select: none; pointer-events: none; margin: 10px 0 0; direction: ltr; }
.zp-foot-bar { align-items: center; border-top: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Home: FAQ teaser ---------- */
.zp-faq-sec { background: var(--sand); }
.zp-faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.zp-faq-wrap .zp-section-head { margin: 0; position: sticky; top: 120px; }
.zp-faq-wrap .zp-section-head p:not(.zp-eyebrow) { color: var(--muted); margin: 14px 0 24px; }
.zp-faq details { background: var(--cream); }

/* ---------- Product page ---------- */
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2, .woocommerce div.product > section > h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce div.product form.cart .variations label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.zdu-wa-inquiry, .z-stock-contact { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cart / checkout / account ---------- */
.woocommerce-cart .zp-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-cart .zp-content > .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .zp-content > .woocommerce > .wc-empty-cart-message, .woocommerce-cart .zp-content > .woocommerce > .return-to-shop, .woocommerce-cart .zp-content > .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart .cart-collaterals, .woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce-cart .cart_totals { position: sticky; top: 110px; }
.woocommerce-cart .cart_totals h2 { margin-top: 0; }
.woocommerce-cart table.cart td.actions { padding: 16px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; float: none; margin-bottom: 10px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: auto !important; flex: 1; min-width: 140px; padding: 12px 16px !important; border-radius: 999px; }
.woocommerce-cart table.cart td.actions > .button { float: none; }
.woocommerce a.remove { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--clay) !important; font-size: 18px; line-height: 1; text-decoration: none; }
.woocommerce a.remove:hover { background: var(--clay); color: #fff !important; }
.woocommerce table.shop_table .product-name a { text-decoration: none; font-weight: 600; color: var(--green); }
.woocommerce .quantity .qty { width: 76px; padding: 10px 8px; border-radius: 999px; text-align: center; }
.woocommerce .wc-proceed-to-checkout .checkout-button { width: 100%; padding: 16px 26px; font-size: 16px; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line); border-radius: 22px; background: var(--paper); padding: 26px; }
.woocommerce-account .zp-content > .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.woocommerce-account .zp-content > .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) { display: block; max-width: 980px; margin-inline: auto; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 10px; gap: 2px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { border: 0; background: transparent; border-radius: 12px; padding: 11px 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--sand); }
.woocommerce-account .woocommerce-MyAccount-content { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-account .u-columns .u-column1, .woocommerce-account .u-columns .u-column2 { width: 100%; float: none; }
.woocommerce-account .u-columns h2 { font-size: 26px; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; }
:where(input[type=checkbox], input[type=radio]) { width: auto; accent-color: var(--green); }

/* ---------- 404 ---------- */
.zp-404 { padding: 150px 0 60px; }
.zp-404-num { font: 500 clamp(120px, 24vw, 280px)/.8 var(--font-head); color: var(--sand); margin: 0 0 -20px; letter-spacing: -.04em; }
.zp-404 h1 { font-size: clamp(30px, 4vw, 48px); }
.zp-404 p { color: var(--muted); max-width: 520px; margin-inline: auto; }
.zp-404-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.zp-shop { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.zp-filters { position: fixed; inset: 0; top: 0; z-index: 500; background: rgba(20, 30, 18, .52); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.zp-filter-form { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(380px, 92vw); border: 0; border-radius: 0; overflow-y: auto; background: var(--cream); padding: 20px 20px 110px; transform: translateX(-102%); transition: transform .45s var(--ease); }
	[dir=rtl] .zp-filter-form { transform: translateX(102%); }
	.is-filters-open .zp-filters { opacity: 1; visibility: visible; }
	.is-filters-open .zp-filter-form { transform: none; }
	.zp-filters-head .zp-icon-btn { display: grid; }
	.zp-filter-actions { position: fixed; bottom: 0; inset-inline-start: 0; width: min(380px, 92vw); margin: 0; padding: 14px 20px; background: var(--paper); border-top: 1px solid var(--line); visibility: hidden; }
	.is-filters-open .zp-filter-actions { visibility: visible; }
	.zp-filter-apply { display: inline-flex; }
	.zp-filter-toggle { display: inline-flex; }
	html.zp-lock-m, html.zp-lock-m body { overflow: hidden; }
	.zp-shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zp-mega { display: none; }
}
@media (max-width: 1024px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zp-foot-grid { grid-template-columns: 1fr 1fr; }
	.zp-faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.zp-faq-wrap .zp-section-head { position: static; }
}
@media (max-width: 900px) {
	.admin-bar .zp-header, body.home.admin-bar .zp-header { top: 46px; }
	.zp-nav, .zp-nav.is-open { display: none; }
	.zp-hide-m, .zp-langs-head { display: none; }
	.zp-burger { display: grid; }
	.zp-logo { margin-inline: 2px auto; }
	.zp-logo .zp-mark { width: 34px; height: 34px; }
	.zp-pagehero { padding: 112px 0 36px; }
	.zp-single-wrap { padding-top: 100px; }
	.zp-page-body { padding-top: 32px; }
	.zp-main-flush { padding-bottom: 64px; }
	body.zp { padding-bottom: 72px; }
	.zp-bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(251, 248, 240, .94); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
	.zp-bnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 12px; }
	.zp-bnav a[aria-current=page] { color: var(--green); }
	.zp-bnav a[aria-current=page]::before { content: ""; position: absolute; top: -7px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 4px 4px; background: var(--green); }
	.zp-bnav .zp-badge { top: 0; inset-inline-end: calc(50% - 22px); }
	.zp-wa { bottom: 86px; }
	.zp-toast { bottom: 90px; }
	.woocommerce-cart .zp-content > .woocommerce, .woocommerce-account .zp-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-cart .cart_totals { position: static; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-radius: 999px; padding: 6px; }
	.woocommerce-account .woocommerce-MyAccount-navigation a { white-space: nowrap; border-radius: 999px; }
	.woocommerce-account .u-columns { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-account .woocommerce-MyAccount-content { padding: 20px; }
	.zp-foot-cta { padding: 40px 0; }
}
@media (max-width: 640px) {
	.woocommerce ul.products, .zp-shop-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.zp-card { border-radius: 18px; }
	.zp-card-body { padding: 12px 12px 14px; gap: 5px; }
	.zp-card-title { font-size: 16px; }
	.zp-card-cat { font-size: 10px; letter-spacing: .1em; }
	.zp-card .zp-price, .zp-card .price { font-size: 14px; }
	.zp-card-go { width: 36px; height: 36px; }
	.zp-wish { width: 34px; height: 34px; top: 8px; inset-inline-end: 8px; }
	.zp-tag { top: 8px; inset-inline-start: 8px; font-size: 10px; padding: 4px 9px; }
	.zp-card-weights span:nth-child(n+3) { display: none; }
	.zp-shop-bar { flex-wrap: wrap; gap: 10px; }
	.zp-sort span { display: none; }
	.zp-sort select { padding: 9px 30px 9px 14px; font-size: 13px; }
	.zp-shop { padding-top: 28px; }
	.zp-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 40px; }
	.zp-foot-brand { grid-column: 1 / -1; }
	.zp-foot-bar { flex-direction: column; gap: 14px; text-align: center; }
	.zp-content summary { padding: 16px 18px; font-size: 17px; }
	.zp-content details > :not(summary) { padding-inline: 18px; }
	/* Cart table becomes stacked cards */
	.woocommerce-cart table.cart thead { display: none; }
	.woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px; border-top: 1px solid var(--line); align-items: center; }
	.woocommerce-cart table.cart tr.cart_item:first-child { border-top: 0; }
	.woocommerce-cart table.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: start !important; }
	.woocommerce-cart table.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart table.cart td.product-thumbnail { grid-row: 1 / span 3; }
	.woocommerce-cart table.cart td.product-remove { grid-column: 3; grid-row: 1; }
	.woocommerce-cart table.cart td.product-name { grid-column: 2; grid-row: 1; }
	.woocommerce-cart table.cart td.product-price { display: none !important; }
	.woocommerce-cart table.cart td.product-quantity { grid-column: 2; grid-row: 2; }
	.woocommerce-cart table.cart td.product-subtotal { grid-column: 2 / -1; grid-row: 3; font-weight: 600; }
	.woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
	.woocommerce-cart table.cart td.actions > .button { width: 100%; }
}

/* ---------- RTL (Urdu) ---------- */
[dir=rtl] .zp-i-arrow { transform: scaleX(-1); }
[dir=rtl] [data-prev] .zp-i { transform: none; }
[dir=rtl] .zp-marquee-track { animation-name: zp-marquee3-rtl; padding-left: 0; padding-right: 34px; }
@keyframes zp-marquee3-rtl { to { transform: translateX(33.3333%); } }
[dir=rtl] .zp-switch input:checked + i::after { transform: translateX(-18px); }
[dir=rtl] .zp-footer nav ul a:hover { transform: translateX(-4px); }
[dir=rtl] .zp-h-title, [dir=rtl] .zp-pagehero-title, [dir=rtl] .zp-intro-head h2 { line-height: 1.6 !important; }
[dir=rtl] .zp-eyebrow, [dir=rtl] .zp-card-cat, [dir=rtl] .zp-filter-label { letter-spacing: 0; }
[dir=rtl] .zp-drawer-panel { box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .5); }
[dir=rtl] .zp-word { padding-bottom: .5em; margin-bottom: -.5em; }
[dir=rtl] .zp-price, [dir=rtl] .price, [dir=rtl] .zp-h-count { direction: ltr; unicode-bidi: isolate; }

/* Drawer close focus ring */
.zp-drawer [data-drawer-close]:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.zp-drawer [data-drawer-close]:focus:not(:focus-visible) { outline: 0; }

.zp-drawer-panel:focus { outline: 0; }

/* ---------- Urdu (Nastaleeq) needs larger sizes to read comfortably ---------- */
[dir=rtl] .zp-nav > a, [dir=rtl] .zp-nav-item > a { font-size: 19px; }
[dir=rtl] .zp-eyebrow { font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; }
[dir=rtl] .zp-btn, [dir=rtl] .zp-link { font-size: 19px; line-height: 1.9; }
[dir=rtl] .zp-lede, [dir=rtl] .zp-intro-head p, [dir=rtl] .zp-pagehero-sub { font-size: 21px; line-height: 2.1; }
[dir=rtl] .zp-card-title { font-size: 23px; line-height: 1.7; }
[dir=rtl] .zp-card-cat { font-size: 16px; text-transform: none; font-weight: 400; }
[dir=rtl] .zp-card-weights span, [dir=rtl] .zp-cat-meta, [dir=rtl] .zp-mega-link small { font-size: 15px; text-transform: none; }
[dir=rtl] .zp-cat-name, [dir=rtl] .zp-mega-link b { font-size: 25px; line-height: 1.7; }
[dir=rtl] .zp-marquee-track span { font-size: 19px; letter-spacing: 0; text-transform: none; }
[dir=rtl] .zp-footer ul, [dir=rtl] .zp-foot-bar, [dir=rtl] .zp-foot-brand p { font-size: 18px; }
[dir=rtl] .zp-footer h3 { font-size: 22px; }
[dir=rtl] .zp-filter-label { font-size: 16px; text-transform: none; font-weight: 400; }
[dir=rtl] .zp-radio, [dir=rtl] .zp-pill span, [dir=rtl] .zp-switch, [dir=rtl] .zp-sort, [dir=rtl] .zp-shop-count { font-size: 18px; }
[dir=rtl] .zp-bnav a { font-size: 14px; }
[dir=rtl] .zp-tag, [dir=rtl] .zp-chips li, [dir=rtl] .zp-chip-x { font-size: 15px; letter-spacing: 0; text-transform: none; }
[dir=rtl] .zp-intro-col p, [dir=rtl] .zp-step p, [dir=rtl] .zp-bento-body p, [dir=rtl] .zp-feature-text { font-size: 19px; line-height: 2; }
[dir=rtl] .drawer-item-copy > a, [dir=rtl] .drawer-item-actions, [dir=rtl] .zp-drawer-note, [dir=rtl] .zp-mnav a { font-size: 19px; }
[dir=rtl] .zp-content { font-size: 20px; }
[dir=rtl] .zp-content summary { font-size: 22px; line-height: 1.8; }
[dir=rtl] .zp-crumbs, [dir=rtl] .woocommerce-breadcrumb { font-size: 18px; }
[dir=rtl] .zp-filter-label { font-size: 19px; }
[dir=rtl] .zp-card-cat { font-size: 18px; }
[dir=rtl] .zp-sort, [dir=rtl] .zp-shop-count { font-size: 21px; }
[dir=rtl] .zp-radio, [dir=rtl] .zp-pill span, [dir=rtl] .zp-switch { font-size: 20px; }
[dir=rtl] .zp-filters-head h2 { font-size: 26px; }

/* WooCommerce's small-screen table adds grey stripes + "label:" prefixes; the theme styles rows itself. */
.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td { background-color: transparent; }
.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before { color: var(--muted); font-weight: 600; }
.woocommerce-cart table.cart td.product-quantity .quantity { margin: 0; }
