/* Zevora — home page sections. */

/* Hero slider */
.zv-hero { position: relative; margin-top: clamp(16px, 2.4vw, 28px); }
.zv-hero__track { position: relative; display: grid; border-radius: var(--zv-radius); overflow: hidden; background: var(--zv-ink); min-height: clamp(440px, 34vw, 520px); }
.zv-hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .9s var(--zv-ease), visibility 0s linear .9s; }
.zv-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--zv-ease), visibility 0s; z-index: 1; }
.zv-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zv-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58, 42, 31, .62) 0%, rgba(58, 42, 31, .28) 50%, rgba(58, 42, 31, 0) 75%); }
[dir="rtl"] .zv-hero__slide::after { background: linear-gradient(270deg, rgba(58, 42, 31, .62) 0%, rgba(58, 42, 31, .28) 50%, rgba(58, 42, 31, 0) 75%); }
.zv-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; max-width: 640px; padding: clamp(32px, 4.5vw, 64px) clamp(28px, 5vw, 72px) 84px; color: #fff; }
.zv-hero__eyebrow { margin: 0 0 14px; color: var(--zv-gold); font: 500 12px/1.4 var(--zv-sans); letter-spacing: .3em; }
.zv-lang-ar .zv-hero__eyebrow { letter-spacing: 0; font-size: 15px; }
.zv-hero__title { margin: 0 0 14px; color: #fff; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; }
.zv-lang-ar .zv-hero__title { line-height: 1.35; }
.zv-hero__text { max-width: 460px; margin: 0 0 28px; color: rgba(255, 255, 255, .86); font-size: 17px; }
.zv-hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.zv-hero .zv-slide-in > * { animation: zv-rise .8s var(--zv-ease) both; }
.zv-hero .zv-slide-in > :nth-child(2) { animation-delay: .08s; }
.zv-hero .zv-slide-in > :nth-child(3) { animation-delay: .16s; }
.zv-hero .zv-slide-in > :nth-child(4) { animation-delay: .24s; }
@keyframes zv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.zv-hero__controls { position: absolute; z-index: 2; inset-block-end: 26px; inset-inline-start: calc(var(--zv-gutter) + clamp(28px, 5vw, 72px)); display: flex; align-items: center; gap: 14px; }
.zv-hero__pause { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(58, 42, 31, .25); color: #fff; }
.zv-hero__pause .zv-icon { width: 16px; height: 16px; }
.zv-hero__pause .zv-icon--play, .zv-hero.is-paused .zv-hero__pause .zv-icon--pause { display: none; }
.zv-hero.is-paused .zv-hero__pause .zv-icon--play { display: block; }
.zv-hero__dots { display: flex; gap: 8px; }
.zv-hero__dot { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.zv-hero__dot.is-active { width: 44px; background: var(--zv-gold); }
.zv-hero__dot::before { content: ""; display: block; height: 22px; margin-top: -10px; } /* larger hit area */

/* Product tabs */
.zv-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -12px 0 clamp(24px, 3vw, 40px); }
.zv-tabs__tab { min-height: 40px; padding: 8px 22px; border: 1px solid var(--zv-hair); border-radius: 999px; background: transparent; color: var(--zv-text); font-size: 14px; letter-spacing: .08em; transition: .2s; }
.zv-tabs__tab:hover { border-color: var(--zv-gold); color: var(--zv-ink); }
.zv-tabs__tab.is-active { background: var(--zv-ink); border-color: var(--zv-ink); color: #fff; }
.zv-tabs__panel { animation: zv-fade .4s ease; }
@keyframes zv-fade { from { opacity: 0; } to { opacity: 1; } }

/* Feature cards */
.zv-features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding-top: 0; }
.zv-feature { position: relative; display: flex; min-height: 380px; border-radius: var(--zv-radius); overflow: hidden; background: var(--zv-ink); isolation: isolate; }
.zv-feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--zv-ease); }
.zv-feature:hover .zv-feature__img { transform: scale(1.04); }
.zv-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(58, 42, 31, .7), rgba(58, 42, 31, .1) 70%); }
.zv-feature__content { align-self: flex-end; padding: clamp(24px, 3vw, 40px); color: #fff; }
.zv-feature__eyebrow { margin: 0 0 8px; color: var(--zv-gold); font: 500 12px/1.4 var(--zv-sans); letter-spacing: .28em; }
.zv-lang-ar .zv-feature__eyebrow { letter-spacing: 0; font-size: 14px; }
.zv-feature__title { margin: 0 0 6px; color: #fff; font-size: 42px; }
.zv-feature__text { margin: 0 0 20px; color: rgba(255, 255, 255, .85); }

/* Founder story */
.zv-story { background: var(--zv-ink); color: rgba(255, 255, 255, .78); padding-block: clamp(56px, 8vw, 110px); }
.zv-story__grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.zv-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--zv-radius); }
.zv-story .zv-eyebrow { color: var(--zv-gold); }
.zv-story__title { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.zv-story__title em { display: block; margin-top: 6px; color: var(--zv-gold); font-style: italic; font-size: .72em; }
.zv-story .zv-sep { justify-content: flex-start; margin: 22px 0 26px; }
.zv-story__text { font-size: 17px; }
.zv-story__sign { margin: 24px 0 28px; color: var(--zv-gold); font: 600 18px/1.4 var(--zv-serif); font-style: italic; }

/* USP strip */
.zv-usp { border-block: 1px solid var(--zv-hair); background: var(--zv-porcelain); }
.zv-usp__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin-block: 0; padding-block: clamp(32px, 4vw, 52px); gap: 24px; }
.zv-usp__item { text-align: center; padding-inline: 12px; }
.zv-usp__item + .zv-usp__item { border-inline-start: 1px solid var(--zv-hair); }
.zv-usp__mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border: 1px solid rgba(192, 160, 98, .45); border-radius: 50%; background: rgba(192, 160, 98, .1); color: var(--zv-gold-dark); }
.zv-usp__mark .zv-icon { width: 26px; height: 26px; stroke-width: 1.3; }
.zv-usp__title { margin: 0 0 6px; font-size: 19px; }
.zv-usp__text { margin: 0; font-size: 14px; }
.zv-arrivals + .zv-usp { margin-top: 0; }

@media (max-width: 1024px) {
	.zv-hero__track { min-height: 420px; }
	.zv-feature__title { font-size: 36px; }
	.zv-usp__list { grid-template-columns: 1fr 1fr; }
	.zv-usp__item:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 767px) {
	.zv-hero { padding-inline: 12px; }
	.zv-hero__track { min-height: 520px; }
	.zv-hero__slide::after, [dir="rtl"] .zv-hero__slide::after { background: linear-gradient(0deg, rgba(58, 42, 31, .82) 10%, rgba(58, 42, 31, .2) 75%); }
	.zv-hero__content { justify-content: flex-end; padding: 28px 22px 72px; }
	.zv-hero__text { font-size: 15px; margin-bottom: 20px; }
	.zv-hero__controls { inset-inline-start: 34px; inset-block-end: 24px; }
	.zv-features { grid-template-columns: 1fr; }
	.zv-feature { min-height: 320px; }
	.zv-story__grid { grid-template-columns: 1fr; }
	.zv-story__media img { aspect-ratio: 4 / 3; }
	.zv-usp__list { grid-template-columns: 1fr 1fr; gap: 24px 0; }
	.zv-usp__item { padding-inline: 8px; }
}


/* ---------- New hero banners (Oct 2026) ---------- */
.zv-hero__slide--new .zv-hero__img { object-position: 70% 50%; }
.zv-hero__slide--new .zv-hero__content { max-width: min(640px, 52%); }
@media (min-width: 768px) and (max-width: 1200px) {
	.zv-hero__slide--new .zv-hero__img { object-position: 58% 50%; }
	.zv-hero__slide--new .zv-hero__title { font-size: clamp(28px, 3.6vw, 40px); }
}
.zv-hero__slide--dark::after { background: linear-gradient(90deg, rgba(43, 31, 23, .55) 0%, rgba(43, 31, 23, .2) 45%, rgba(43, 31, 23, 0) 65%); }
.zv-hero__slide--light::after { background: linear-gradient(90deg, rgba(250, 247, 241, .7) 0%, rgba(250, 247, 241, .3) 45%, rgba(250, 247, 241, 0) 65%); }
.zv-hero__slide--light .zv-hero__title { color: var(--zv-ink); }
.zv-hero__slide--light .zv-hero__text { color: var(--zv-text); }
.zv-hero__slide--light .zv-hero__eyebrow { color: var(--zv-gold-dark); }
.zv-hero__slide--light .zv-btn--link { color: var(--zv-ink); }
.zv-hero__slide--light .zv-btn--link:hover { color: var(--zv-gold-dark); }
.zv-hero:has(.zv-hero__slide--light.is-active) .zv-hero__dot:not(.is-active) { background: rgba(58, 42, 31, .25); }
.zv-hero:has(.zv-hero__slide--light.is-active) .zv-hero__pause { border-color: rgba(58, 42, 31, .4); background: rgba(255, 255, 255, .5); color: var(--zv-ink); }
/* Arabic: the bottle sits on the right, so the copy and controls move to the empty left side. */
[dir="rtl"] .zv-hero__slide--new .zv-hero__content { margin-inline-start: auto; }
[dir="rtl"] .zv-hero__slide--new.zv-hero__slide--dark::after { background: linear-gradient(90deg, rgba(43, 31, 23, .55) 0%, rgba(43, 31, 23, .2) 45%, rgba(43, 31, 23, 0) 65%); }
[dir="rtl"] .zv-hero__slide--new.zv-hero__slide--light::after { background: linear-gradient(90deg, rgba(250, 247, 241, .7) 0%, rgba(250, 247, 241, .3) 45%, rgba(250, 247, 241, 0) 65%); }
[dir="rtl"] .zv-hero:has(.zv-hero__slide--new) .zv-hero__controls { inset-inline-start: auto; inset-inline-end: calc(var(--zv-gutter) + clamp(28px, 5vw, 72px)); }
@media (max-width: 767px) {
	.zv-hero__slide--new .zv-hero__img { object-position: 71% 50%; }
	.zv-hero__slide--new .zv-hero__content { max-width: none; }
	.zv-hero__slide--new.zv-hero__slide--dark::after, [dir="rtl"] .zv-hero__slide--new.zv-hero__slide--dark::after { background: linear-gradient(0deg, rgba(43, 31, 23, .85) 12%, rgba(43, 31, 23, .15) 70%); }
	.zv-hero__slide--new.zv-hero__slide--light::after, [dir="rtl"] .zv-hero__slide--new.zv-hero__slide--light::after { background: linear-gradient(0deg, rgba(250, 247, 241, .96) 18%, rgba(250, 247, 241, .2) 72%); }
	[dir="rtl"] .zv-hero__slide--new .zv-hero__content { margin-inline-start: 0; }
	[dir="rtl"] .zv-hero:has(.zv-hero__slide--new) .zv-hero__controls { inset-inline-end: auto; inset-inline-start: 34px; }
}

/* Gold buttons on dark sections: keep a visible hover (the default hover is the same coffee as the section). */
.zv-story .zv-btn--gold:hover, .zv-hero .zv-btn--gold:hover, .zv-feature .zv-btn:hover { background: #fff; border-color: #fff; color: var(--zv-ink); }

/* ---------- Zevora Sandal banner (Oct 2026): bright photo, so a deeper overlay and a soft text shadow. ---------- */
.zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"])::after,
[dir="rtl"] .zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"])::after { background: linear-gradient(90deg, rgba(43, 31, 23, .8) 0%, rgba(43, 31, 23, .5) 38%, rgba(43, 31, 23, 0) 62%); }
.zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"]) .zv-hero__title,
.zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"]) .zv-hero__text { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 767px) {
	.zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"])::after,
	[dir="rtl"] .zv-hero__slide--new.zv-hero__slide--dark:has(img[src*="zevora-banner-1250x520"])::after { background: linear-gradient(0deg, rgba(43, 31, 23, .92) 18%, rgba(43, 31, 23, .25) 75%); }
}
