/*
Theme Name: Zaiqaana Premium
Description: A calm, premium storefront for Zaiqaana — Pakistani Desi Pantry. Works with WooCommerce and the Desi Store plugin.
Version: 1.0.0
Author: Zaiqaana
Text Domain: zaiqaana-premium
*/

/* ---------- Tokens ---------- */
:root {
	--cream: #f6f1e7;
	--paper: #fbf8f0;
	--sand: #e9dfc9;
	--line: #ddd0b6;
	--green: #2e4527;
	--green-2: #3f5b35;
	--gold: #9c4f0a;
	--gold-soft: #ecd9ad;
	--clay: #9c4f0a;
	--ink: #22301e;
	--muted: #667058;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(30, 59, 47, .06), 0 12px 32px -12px rgba(30, 59, 47, .18);
	--shadow-lg: 0 2px 4px rgba(30, 59, 47, .06), 0 28px 60px -20px rgba(30, 59, 47, .28);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body.zp {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 16px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--green); }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zp-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.zp-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.zp-i { flex: none; vertical-align: middle; }
.zp-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.zp-narrow { width: min(820px, 100% - 40px); }
.zp-center { text-align: center; }

/* ---------- Buttons & links ---------- */
.zp-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--green); color: #fff; border: 1px solid var(--green);
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
	transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
.zp-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .button:hover {
	background: var(--green-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(30, 59, 47, .6);
}
.zp-btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.zp-btn-ghost:hover { background: var(--green); color: #fff; }
.zp-btn-sm { padding: 10px 20px; font-size: 14px; }
.zp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.zp-link:hover { color: var(--gold); }
.zp-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }

/* ---------- Announcement & header ---------- */
.zp-announce { background: var(--green); color: var(--gold-soft); font-size: 13px; text-align: center; padding: 9px 0; letter-spacing: .02em; }
.zp-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.zp-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(30, 59, 47, .35); }
.admin-bar .zp-header { top: 32px; }
.zp-header-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.zp-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--green); }
.zp-logo-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--gold-soft); }
.zp-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.zp-logo-text b { font: 600 23px var(--font-head); letter-spacing: -.01em; }
.zp-logo-text small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.zp-nav { display: flex; gap: 30px; margin-inline: auto; font-size: 15px; font-weight: 500; }
.zp-nav a { position: relative; padding: 8px 0; color: var(--ink); }
.zp-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.zp-nav a:hover::after, .zp-nav a:focus-visible::after { width: 100%; }
.zp-nav-extra { display: none; }
.zp-actions { display: flex; align-items: center; gap: 6px; }
.zp-icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--green); transition: background .25s; }
.zp-icon-btn:hover { background: var(--sand); }
.zp-burger { display: none; }
.zp-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--clay); color: #fff; font-size: 10px; font-weight: 700; display: none; place-items: center; line-height: 1; }
.zp-cart-count.has-items { display: grid; }
.zp-lang { font-size: 13px; margin-right: 6px; }
.zp-lang a { color: var(--green); font-weight: 600; }
.zp-search { background: var(--paper); border-top: 1px solid var(--line); padding: 16px 0; }
.zp-search[hidden] { display: none; }
.zp-search form { display: flex; gap: 12px; }
.zp-search input[type=search] { flex: 1; border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 12px 20px; }

/* ---------- Hero ---------- */
.zp-hero { padding: 56px 0 72px; background:
	radial-gradient(900px 420px at 90% 10%, rgba(236, 220, 184, .55), transparent 70%),
	linear-gradient(180deg, var(--cream), var(--cream)); overflow: hidden; }
.zp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.zp-hero-title { font-size: clamp(38px, 5.2vw, 66px); margin-bottom: 22px; }
.zp-hero-title .w { display: inline-block; }
.zp-lede { font-size: 18px; color: var(--muted); max-width: 520px; }
.zp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.zp-hero-visual { position: relative; display: grid; place-items: center; }
.zp-hero-ring { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-soft); background: radial-gradient(circle at 30% 30%, #fff, var(--sand)); }
.zp-hero-arch { position: relative; display: block; width: min(420px, 82%); aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sand); }
.zp-hero-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.zp-hero-arch:hover img { transform: scale(1.05); }
.zp-hero-tag { position: absolute; left: 0; bottom: 8%; display: flex; flex-direction: column; gap: 2px; background: var(--paper); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow); min-width: 190px; }
.zp-hero-tag b { font: 600 16px var(--font-head); color: var(--green); }

/* ---------- Trust strip ---------- */
.zp-trust { padding: 0 0 20px; }
.zp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-top: -34px; position: relative; }
.zp-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.zp-trust-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sand); color: var(--green); display: grid; place-items: center; }
.zp-trust-item b { display: block; font-size: 15px; color: var(--green); }
.zp-trust-item span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Sections ---------- */
.zp-section { padding: 88px 0; }
.zp-section-tint { background: var(--sand); }
.zp-section-tight { padding: 0 0 88px; }
.zp-section-head { margin-bottom: 40px; max-width: 640px; }
.zp-section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.zp-section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* Categories */
.zp-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zp-cat { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.zp-cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.zp-cat-img { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--gold); margin-bottom: 14px; }
.zp-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.zp-cat:hover .zp-cat-img img { transform: scale(1.07); }
.zp-cat-name { font: 600 19px var(--font-head); color: var(--green); padding-inline: 4px; }
.zp-cat-meta { font-size: 13px; color: var(--muted); padding-inline: 4px; }

/* Product cards */
.zp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.zp-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.zp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.zp-card-img { position: relative; display: block; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.zp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.zp-card:hover .zp-card-img img { transform: scale(1.06); }
.zp-tag { position: absolute; top: 12px; left: 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-card-body { 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-bottom: 4px; }
.zp-card-title { font: 600 18px/1.3 var(--font-head); margin: 0 0 10px; }
.zp-card-title a { color: var(--green); }
.zp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zp-price, .price { font-weight: 600; color: var(--ink); font-size: 15px; }
.price del, .zp-price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.price ins, .zp-price ins { text-decoration: none; color: var(--clay); }
.zp-link-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--green); transition: background .3s, color .3s, transform .3s var(--ease); }
.zp-card:hover .zp-link-arrow { background: var(--green); color: #fff; transform: translateX(3px); }

/* Story */
.zp-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.zp-story h2 { font-size: clamp(30px, 3.6vw, 44px); }
.zp-story p { color: var(--muted); font-size: 17px; }
.zp-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.zp-checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.zp-checks .zp-i { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }
.zp-story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zp-story-stats div { background: var(--green); color: var(--gold-soft); border-radius: var(--radius); padding: 28px 16px; text-align: center; }
.zp-story-stats b { display: block; font: 600 clamp(24px, 3vw, 36px) var(--font-head); color: #fff; }
.zp-story-stats span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* Banner */
.zp-banner { display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, var(--green), var(--green-2)); color: #fff; border-radius: var(--radius); padding: 28px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.zp-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.zp-banner-ico { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--gold-soft); display: grid; place-items: center; flex: none; }
.zp-banner-copy { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.zp-banner-copy b { font: 600 22px var(--font-head); }
.zp-banner-copy span { color: rgba(255, 255, 255, .78); font-size: 15px; }
.zp-banner-go { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.zp-banner:hover .zp-banner-go { transform: translateX(6px); }

/* ---------- Footer ---------- */
.zp-footer { background: var(--green); color: rgba(255, 255, 255, .78); padding: 72px 0 0; margin-top: 0; }
.zp-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.zp-logo-light { color: #fff; }
.zp-logo-light .zp-logo-mark { background: var(--gold); color: #fff; }
.zp-logo-light small { color: var(--gold-soft); }
.zp-foot-brand p { margin-top: 18px; max-width: 360px; font-size: 15px; }
.zp-footer h4 { color: #fff; font: 600 17px var(--font-head); margin-bottom: 18px; }
.zp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.zp-footer a:hover { color: var(--gold-soft); }
.zp-contact li { display: flex; gap: 10px; align-items: center; }
.zp-contact .zp-i { color: var(--gold); }
.zp-foot-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; font-size: 13px; }
.zp-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .7); transition: transform .3s var(--ease); }
.zp-wa:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- Generic pages ---------- */
.zp-main { padding: 48px 0 88px; min-height: 55vh; }
.zp-page-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 28px; }
.zp-content { font-size: 17px; }
.zp-content h2 { font-size: 28px; margin-top: 1.6em; }
.zp-content h3 { font-size: 22px; margin-top: 1.4em; }
.zp-content a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.zp-content ul, .zp-content ol { padding-left: 1.3em; }
.zp-content img { border-radius: var(--radius-sm); }
.zp-woo { width: min(1200px, 100% - 40px); }

/* Forms */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea {
	width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183, 134, 59, .18); }
label { font-weight: 500; font-size: 14px; }

/* ---------- WooCommerce ---------- */
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.woocommerce-breadcrumb a:hover { color: var(--green); }
.zp-sep { margin: 0 8px; opacity: .5; }
.woocommerce-products-header__title, .product_title, .page-title { font-size: clamp(30px, 3.6vw, 44px); }
.woocommerce-result-count { color: var(--muted); font-size: 14px; float: left; margin: 10px 0 24px; }
.woocommerce-ordering { float: right; margin: 0 0 24px; }
.woocommerce-ordering select { width: auto; padding: 10px 14px; border-radius: 999px; }
.woocommerce ul.products { clear: both; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce span.onsale { background: var(--clay); color: #fff; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1; padding: 7px 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; top: 12px; left: 12px; right: auto; }
.woocommerce-pagination { margin-top: 40px; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0 !important; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span { border-radius: 50%; min-width: 42px; height: 42px; display: grid !important; place-items: center; padding: 0 !important; background: var(--paper); border: 1px solid var(--line); }
.woocommerce-pagination ul li span.current { background: var(--green); color: #fff; border-color: var(--green); }

/* Plugin extras on listings — simple & unobtrusive */
.desi-wish, .desi-quick { display: none !important; }
.desi-category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.desi-category-filters a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; transition: all .25s; }
.desi-category-filters a:hover, .desi-category-filters a.selected { background: var(--green); border-color: var(--green); color: #fff; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }
.woocommerce div.product div.images { position: sticky; top: 110px; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .woocommerce-product-gallery__wrapper { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.woocommerce div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.woocommerce div.product .flex-control-thumbs img { border-radius: 10px; opacity: .6; cursor: pointer; }
.woocommerce div.product .flex-control-thumbs img.flex-active, .woocommerce div.product .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 26px; color: var(--green); margin: 8px 0 18px; display: block; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce div.product form.cart { margin: 24px 0; }
.woocommerce div.product form.cart .variations { width: 100%; margin-bottom: 14px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { display: block; padding: 0 0 8px; text-align: left; }
.woocommerce div.product form.cart .variations select { border-radius: var(--radius-sm); }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; color: var(--clay); }
.woocommerce div.product form.cart .quantity input.qty { width: 78px; padding: 12px 8px; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .single_add_to_cart_button { padding: 15px 34px; }
.woocommerce div.product form.cart div.quantity { margin-right: 12px; float: none; display: inline-block; vertical-align: middle; }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; display: grid; gap: 4px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 18px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--green); border-bottom-color: var(--gold); }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 30px; }
.product-shipping-note, .woocommerce-product-details__short-description + * { font-size: 14px; }

/* Cart, checkout, account */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--paper); }
.woocommerce table.shop_table th { background: var(--sand); font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 16px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table tr:first-child th, .woocommerce table.shop_table thead + tbody tr:first-child td { border-top: 0; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 10px; }
.woocommerce .cart_totals, .woocommerce-checkout #order_review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.woocommerce form.checkout .col2-set { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce form .form-row { margin-bottom: 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 16px 20px 16px 52px; color: var(--ink); }
.woocommerce-error { border-left-color: var(--clay); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { color: var(--gold); top: 16px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--green); color: #fff; border-color: var(--green); }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 28px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.zp-grid, .woocommerce ul.products, .zp-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.zp-foot-grid { grid-template-columns: 1fr 1fr; }
	.zp-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.admin-bar .zp-header { top: 46px; }
	.zp-burger { display: grid; }
	.zp-header-in { height: 68px; gap: 8px; }
	.zp-logo { margin-inline: auto 0; }
	.zp-actions { margin-left: auto; }
	.zp-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; margin: 0; box-shadow: 0 24px 40px -24px rgba(30, 59, 47, .35); }
	.zp-nav.is-open { display: flex; }
	.zp-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
	.zp-nav-extra { display: block; }
	.zp-hero { padding: 36px 0 56px; }
	.zp-hero-grid, .zp-story { grid-template-columns: 1fr; gap: 40px; }
	.zp-hero-visual { order: -1; }
	.zp-hero-arch { width: min(320px, 72%); }
	.zp-section { padding: 64px 0; }
	.zp-section-tight { padding-bottom: 64px; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce div.product div.images { position: static; }
}
@media (max-width: 640px) {
	.zp-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.zp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.zp-trust-grid { grid-template-columns: 1fr; margin-top: -24px; }
	.zp-foot-grid { grid-template-columns: 1fr; gap: 32px; }
	.zp-card-body { padding: 12px 12px 14px; }
	.zp-banner { flex-wrap: wrap; padding: 22px; }
	.zp-banner-copy b { font-size: 19px; }
	.zp-section-head-row { flex-direction: column; align-items: flex-start; }
	.zp-logo-text small { display: none; }
	.zp-lang { display: none; }
	.zp-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
	.woocommerce-result-count, .woocommerce-ordering { float: none; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Mangoes "coming soon" (from the Zaiqaana Design Upgrade plugin) ---------- */
.zdu-soon-panel { background: var(--sand); border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0; }
.zdu-soon-panel p { color: var(--muted); margin: 10px 0 16px; }
.zdu-soon-badge { display: inline-block; background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.zdu-btn, .zdu-btn-wa { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.zdu-btn:hover { background: var(--green-2); color: #fff; }
.zdu-price-soon { color: var(--muted); font-size: 15px; font-weight: 500; }
.zdu-mango-product .zp-price { color: var(--muted); }
.woocommerce div.product .stock, .woocommerce div.product p.stock { font-weight: 600; color: var(--green); }
.woocommerce div.product p.stock.out-of-stock { color: var(--clay); }

/* ---------- Product page polish ---------- */
.woocommerce div.product > section { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce div.product > section > h2 { font-size: 30px; }
.woocommerce div.product div.images { position: relative; top: auto; align-self: start; }
.woocommerce div.product .woocommerce-tabs { margin-top: 56px; position: relative; z-index: 1; background: var(--cream); }
.woocommerce div.product form.cart .variations_button, .woocommerce div.product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce button.button.alt.disabled, .woocommerce button.button.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button:disabled[disabled] { background: var(--green); color: #fff; opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; padding: 14px 26px; }
.buy-now, .woocommerce button.button.buy-now { background: transparent; color: var(--green); border-color: var(--green); }
.woocommerce button.button.buy-now:hover { background: var(--green); color: #fff; }
.catalog-confirmation { font-size: 13px; color: var(--muted); background: var(--sand); border-radius: var(--radius-sm); padding: 12px 16px; margin: 16px 0 0; }
.product-shipping-note { display: flex; gap: 14px; font-size: 14px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-top: 16px; }
.product-shipping-note b, .product-shipping-note strong { color: var(--green); }
.product-detail-line { padding: 0 18px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.stock-dot { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--green); font-size: 11px; font-weight: 600; }
.stock-dot.unavailable { background: #f4e3d9; color: var(--clay); }

/* ---------- Checkout layout ---------- */
@media (min-width: 960px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 40px; align-items: start; }
	.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
	.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 110px; }
}
.woocommerce-checkout h3, .woocommerce-cart h2 { font-size: 24px; }
.woocommerce #payment { background: var(--sand); border-radius: var(--radius-sm); }
.woocommerce #payment div.payment_box { background: var(--paper); border-radius: 10px; }
.woocommerce #payment div.payment_box::before { display: none; }

/* ---------- Overflow guards ---------- */
.zp-story > *, .zp-hero-grid > *, .woocommerce div.product > * { min-width: 0; }
@media (max-width: 900px) {
	.zp-story, .zp-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.zp-story-stats { gap: 8px; }
	.zp-story-stats div { padding: 20px 8px; }
	.zp-story-stats b { font-size: 20px; }
	.zp-story-stats span { font-size: 10px; letter-spacing: .06em; }
}

/* Gallery must always be visible (WooCommerce starts it at opacity 0 until its JS runs). */
.woocommerce div.product div.woocommerce-product-gallery { opacity: 1 !important; }
