/* Zaiqaana Premium — homepage + shared motion components */

/* ---------- Shared bits ---------- */
.zp-round { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--green); background: transparent; color: var(--green); transition: background .3s var(--ease), color .3s, transform .3s var(--ease), opacity .3s; }
.zp-round:hover:not(:disabled) { background: var(--green); color: #fff; transform: scale(1.06); }
.zp-round:disabled { opacity: .3; cursor: default; }
[data-prev] .zp-i { transform: rotate(180deg); }
.zp-btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.zp-btn-gold:hover { background: #a27631; border-color: #a27631; }
.zp-eyebrow-light { color: var(--gold-soft); display: inline-flex; align-items: center; gap: 8px; }
.zp-hide-sm { }
.zp-btn { will-change: transform; }
.zp-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.zp-word > span { display: inline-block; will-change: transform; }
em { font-style: italic; }

/* Scroll progress + header hide */
.zp-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 300; background: linear-gradient(90deg, var(--gold), var(--clay)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.zp-header { transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.zp-header.is-hidden { transform: translateY(-110%); }

/* ---------- Hero slider ---------- */
.zp-h { position: relative; overflow: hidden; padding: 64px 0 56px; transition: background-color .9s var(--ease); }
.zp-h::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 85% 15%, rgba(255, 255, 255, .55), transparent 65%), radial-gradient(700px 400px at 0% 100%, rgba(255, 255, 255, .35), transparent 70%); pointer-events: none; }
.zp-h-deco span { position: absolute; border-radius: 50%; border: 1px solid rgba(30, 59, 47, .12); pointer-events: none; }
.zp-h-deco span:nth-child(1) { width: 640px; height: 640px; right: -180px; top: -120px; }
.zp-h-deco span:nth-child(2) { width: 380px; height: 380px; left: -120px; bottom: -140px; }
.zp-h-slides { display: grid; position: relative; }
.zp-h-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: 600px; visibility: hidden; pointer-events: none; }
.zp-h-slide.is-active { visibility: visible; pointer-events: auto; }
.zp-h-title { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.04; margin-bottom: 22px; }
.zp-h-title em { color: var(--clay); }
.zp-h-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.zp-h-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.zp-h-ring { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(30, 59, 47, .28); animation: zp-spin 60s linear infinite; }
.zp-h-ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); top: 8%; left: 14%; box-shadow: 0 0 0 6px rgba(183, 134, 59, .22); }
@keyframes zp-spin { to { transform: rotate(360deg); } }
.zp-h-arch { position: relative; display: block; width: min(430px, 82%); aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; overflow: hidden; box-shadow: 0 40px 70px -28px rgba(30, 59, 47, .5); background: var(--sand); }
.zp-h-arch img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.zp-h-tag { position: absolute; left: 4%; bottom: 10%; display: flex; flex-direction: column; gap: 2px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-lg); min-width: 200px; animation: zp-bob 6s ease-in-out infinite; }
.zp-h-tag b { font: 600 17px var(--font-head); color: var(--green); }
@keyframes zp-bob { 50% { transform: translateY(-9px); } }
.zp-h-ui { display: flex; align-items: center; gap: 16px; margin-top: 12px; position: relative; z-index: 2; }
.zp-h-dots { display: flex; gap: 10px; }
.zp-h-dot { position: relative; width: 44px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(30, 59, 47, .18); overflow: hidden; cursor: pointer; }
.zp-h-dot i { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; border-radius: inherit; }
.zp-h-dot.is-done i { transform: scaleX(1); }
.zp-h-count { margin-left: auto; font: 500 14px var(--font-body); color: var(--green); letter-spacing: .1em; }
.zp-h-count b { font: 600 28px var(--font-head); }

/* ---------- Marquee ---------- */
.zp-marquee { background: var(--green); color: var(--gold-soft); overflow: hidden; white-space: nowrap; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, .08); }
.zp-marquee-track { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; animation: zp-marquee 38s linear infinite; will-change: transform; }
.zp-marquee:hover .zp-marquee-track { animation-play-state: paused; }
.zp-marquee-track span { font: italic 500 clamp(20px, 2.4vw, 30px) var(--font-head); }
.zp-marquee-track .zp-i { color: var(--gold); }
@keyframes zp-marquee { to { transform: translateX(-50%); } }

/* ---------- Rails (carousels) ---------- */
.zp-rail-ctl { display: flex; align-items: center; gap: 12px; }
.zp-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 6px 2px 26px; margin-inline: -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.zp-rail::-webkit-scrollbar { display: none; }
.zp-rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.zp-rail.is-drag a { pointer-events: none; }
.zp-rail > * { scroll-snap-align: start; flex: none; }
.zp-rail img { -webkit-user-drag: none; user-select: none; }

.zp-cat-card { position: relative; width: min(300px, 74vw); aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--sand); isolation: isolate; box-shadow: var(--shadow); }
.zp-cat-media, .zp-cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zp-cat-media img { object-fit: cover; transition: transform 1.1s var(--ease); }
.zp-cat-card:hover .zp-cat-media img { transform: scale(1.09); }
.zp-cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 38, 30, 0) 40%, rgba(20, 38, 30, .78) 100%); }
.zp-cat-info { position: absolute; z-index: 2; left: 22px; right: 70px; bottom: 22px; display: flex; flex-direction: column; color: #fff; }
.zp-cat-name { font: 600 25px/1.15 var(--font-head); }
.zp-cat-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.zp-cat-go { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green); transform: translateX(10px) rotate(-45deg); opacity: .0; transition: transform .5s var(--ease), opacity .4s, background .3s; }
.zp-cat-card:hover .zp-cat-go, .zp-cat-card:focus-visible .zp-cat-go { transform: none; opacity: 1; }

.zp-rail-products > .zp-card { width: min(285px, 72vw); }
.zp-card-pill { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 14px); opacity: 0; background: #fff; color: var(--green); font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .45s var(--ease), opacity .35s; white-space: nowrap; }
.zp-card:hover .zp-card-pill { transform: translate(-50%, 0); opacity: 1; }
.zp-card { position: relative; }

/* ---------- Assurance row ---------- */
.zp-assure { padding: 8px 0 0; }
.zp-assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.zp-assure-item { display: flex; gap: 16px; align-items: center; padding: 30px 24px; }
.zp-assure-item + .zp-assure-item { border-left: 1px solid var(--line); }
.zp-assure-item b { display: block; font-size: 15px; color: var(--green); }
.zp-assure-item span:not(.zp-trust-ico) { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.zp-trust-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--green); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s; }
.zp-assure-item:hover .zp-trust-ico { background: var(--green); color: var(--gold-soft); transform: rotate(-8deg) scale(1.06); }

/* ---------- Story ---------- */
.zp-story2 { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.zp-story2-media { position: relative; border-radius: 200px 200px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow-lg); }
.zp-story2-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.zp-story2-badge { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 18px; font-size: 14px; color: var(--muted); }
.zp-story2-badge b { color: var(--green); }
.zp-story2 h2 { font-size: clamp(32px, 4vw, 50px); }
.zp-story2-copy > p { color: var(--muted); font-size: 17px; }
.zp-story2 .zp-story-stats { margin: 28px 0; }

/* ---------- Steps ---------- */
.zp-steps-sec { background: var(--paper); border-block: 1px solid var(--line); }
.zp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.zp-steps-line { position: absolute; left: 16.6%; right: 16.6%; top: 44px; height: 2px; background: var(--line); }
.zp-steps-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--clay)); transform-origin: 0 50%; transform: scaleX(1); }
.zp-step { position: relative; text-align: center; padding: 0 12px; }
.zp-step-ico { position: relative; display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); color: var(--green); margin-bottom: 22px; box-shadow: 0 0 0 8px var(--paper); transition: transform .5s var(--ease), background .3s, color .3s; }
.zp-step:hover .zp-step-ico { background: var(--green); color: var(--gold-soft); transform: translateY(-6px); }
.zp-step-ico em { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; font: 600 13px/28px var(--font-body); font-style: normal; text-align: center; }
.zp-step h3 { font-size: 22px; margin-bottom: 8px; }
.zp-step p { color: var(--muted); max-width: 300px; margin-inline: auto; font-size: 15px; }

/* ---------- Feature banner ---------- */
.zp-section-tight { padding: 88px 0; }
.zp-feature { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; overflow: hidden; border-radius: 32px; background: linear-gradient(125deg, #17332a, #24503b 60%, #2f6149); color: #fff; padding: 64px 64px; isolation: isolate; }
.zp-feature-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(183, 134, 59, .55), transparent 68%); }
.zp-feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.zp-feature-title { font: 600 clamp(32px, 4.2vw, 54px)/1.08 var(--font-head); }
.zp-feature-title em { color: var(--gold-soft); }
.zp-feature-text { color: rgba(255, 255, 255, .78); max-width: 480px; font-size: 16px; }
.zp-feature-art { position: relative; height: 300px; }
.zp-float { position: absolute; width: 170px; aspect-ratio: 1; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .55); border: 4px solid rgba(255, 255, 255, .9); }
.zp-float img { width: 100%; height: 100%; object-fit: cover; }
.zp-float-0 { left: 4%; top: 14%; transform: rotate(-8deg); animation: zp-bob 7s ease-in-out infinite; }
.zp-float-1 { left: 34%; top: 0; width: 190px; transform: rotate(5deg); animation: zp-bob 8s ease-in-out -2s infinite; }
.zp-float-2 { right: 0; top: 34%; transform: rotate(-3deg); animation: zp-bob 6.5s ease-in-out -4s infinite; }

/* ---------- Newsletter (Desi Newsletter plugin markup) ---------- */
.zp-news-sec { padding-top: 0; }
.pantry-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--sand); border: 1px solid var(--line); border-radius: 32px; padding: 56px; }
.pantry-newsletter .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--gold); margin: 0 0 12px; }
.pantry-newsletter h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; }
.pantry-newsletter p { color: var(--muted); }
.desi-newsletter-form label:not(.newsletter-consent) { display: block; margin-bottom: 8px; }
.newsletter-input { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-input input { flex: 1; min-width: 200px; border-radius: 999px; padding: 14px 22px; }
.newsletter-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); font-size: 13px; margin: 14px 0 8px; }
.newsletter-consent input { width: auto; margin-top: 4px; }
.newsletter-trap { position: absolute; left: -9999px; }
.newsletter-feedback { min-height: 1.4em; font-weight: 500; color: var(--green) !important; margin: 6px 0 0; }
.desi-newsletter-form > p { font-size: 13px; margin: 6px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.zp-assure-grid { grid-template-columns: repeat(2, 1fr); }
	.zp-assure-item:nth-child(3) { border-left: 0; }
	.zp-assure-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.zp-feature { padding: 48px 40px; }
}
@media (max-width: 900px) {
	.zp-h { padding: 36px 0 44px; }
	.zp-h-slide { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; }
	.zp-h-visual { order: -1; min-height: 0; }
	.zp-h-arch { width: min(300px, 70%); }
	.zp-h-tag { left: 0; bottom: 6%; min-width: 0; padding: 10px 14px; }
	.zp-h-count { display: none; }
	.zp-h-ui { justify-content: center; }
	.zp-story2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.zp-story2-media { max-width: 440px; margin-inline: auto; }
	.zp-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.zp-steps-line { display: none; }
	.zp-feature { grid-template-columns: minmax(0, 1fr); padding: 40px 28px 28px; }
	.zp-feature-art { height: 220px; }
	.zp-float { width: 130px; } .zp-float-1 { width: 145px; }
	.pantry-newsletter { grid-template-columns: minmax(0, 1fr); padding: 36px 24px; gap: 28px; }
	.zp-section-tight { padding: 56px 0; }
}
@media (max-width: 640px) {
	.zp-hide-sm { display: none; }
	.zp-round { width: 42px; height: 42px; }
	.zp-assure-grid { grid-template-columns: minmax(0, 1fr); }
	.zp-assure-item + .zp-assure-item { border-left: 0; border-top: 1px solid var(--line); }
	.zp-assure-item { padding: 20px 4px; }
	.zp-h-dot { width: 30px; }
	.zp-cat-card { width: 68vw; }
	.zp-rail { gap: 14px; }
}
@media (hover: none) { .zp-cat-go { opacity: 1; transform: none; } .zp-card-pill { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.zp-marquee-track, .zp-h-ring, .zp-h-tag, .zp-float { animation: none !important; }
}

/* ---------- JS-enhanced reveal states (removed automatically if scripts fail) ---------- */
.zp-js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(44px); }
.zp-js [data-s], .zp-js .zp-h-arch, .zp-js .zp-h-tag, .zp-js .zp-h-ring { opacity: 0; }
.zp-js [data-split] { visibility: hidden; }

/* Category card text must win over the generic .zp-cat-* rules in style.css */
.zp-cat-card .zp-cat-name { color: #fff; padding: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.zp-cat-card .zp-cat-meta { color: var(--gold-soft); padding: 0; }
