/*
Theme Name: The Vogue Haven
Theme URI: https://example.com/
Author: The Vogue Haven
Description: An elegant boutique theme for The Vogue Haven, a ladies' closet. The store is built in: short dress videos, prices in Ghana cedis, a Buy button with a "can't be undone" confirmation, delivery details, and items that show SOLD automatically. Works on its own or together with The Vogue Haven Store plugin.
Version: 1.3.2
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vogue-haven
Tags: e-commerce, one-column, custom-menu, custom-logo, theme-options
*/

:root {
	--vh-blue: #3041B6;
	--vh-blue-dark: #222F8C;
	--vh-night: #161B4A;
	--vh-ink: #1C2050;
	--vh-muted: #575B7D;
	--vh-cream: #F7EEEA;
	--vh-blush: #EBD9D6;
	--vh-paper: #FFFDFB;
	--vh-line: #E3DEEA;
	--vh-gold: #D4B07A;
	--vh-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--vh-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--vh-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--vh-paper);
	color: var(--vh-ink);
	font-family: var(--vh-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; }

a { color: var(--vh-blue); text-underline-offset: 3px; }
a:hover { color: var(--vh-blue-dark); }

h1, h2, h3, h4 {
	font-family: var(--vh-serif);
	font-weight: 600;
	line-height: 1.15;
	color: var(--vh-ink);
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(36px, 5vw, 54px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 26px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 100000;
	background: #fff;
	color: var(--vh-blue);
	padding: 12px 18px;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.vh-container {
	width: 100%;
	max-width: var(--vh-max);
	margin: 0 auto;
	padding: 0 16px;
}
@media (min-width: 768px) { .vh-container { padding: 0 32px; } }

.vh-eyebrow {
	display: block;
	font-family: var(--vh-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--vh-blue);
	margin-bottom: 10px;
}

/* ---------- Buttons ---------- */

.vh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 30px;
	border-radius: 999px;
	border: 1px solid var(--vh-blue);
	background: var(--vh-blue);
	color: #fff;
	font-family: var(--vh-sans);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vh-button:hover { background: var(--vh-blue-dark); border-color: var(--vh-blue-dark); color: #fff; }
.vh-button--light { background: var(--vh-cream); border-color: var(--vh-cream); color: var(--vh-blue); }
.vh-button--light:hover { background: #fff; border-color: #fff; color: var(--vh-blue-dark); }
.vh-button--outline { background: transparent; color: var(--vh-cream); border-color: rgba(247,238,234,.6); }
.vh-button--outline:hover { background: rgba(247,238,234,.12); color: #fff; border-color: var(--vh-cream); }
.vh-button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--vh-gold); outline-offset: 3px; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 253, 251, 0.94);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--vh-line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--vh-blue);
}
.site-brand:hover { color: var(--vh-blue-dark); }
.site-brand .vh-logo { flex: 0 0 auto; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1; }
.site-brand__the { font-size: 9px; letter-spacing: .5em; color: var(--vh-muted); margin-bottom: 4px; font-family: var(--vh-sans); }
.site-brand__name { font-family: var(--vh-serif); font-size: 26px; font-weight: 500; letter-spacing: .02em; color: var(--vh-ink); }
.site-brand__name em { font-style: italic; color: var(--vh-blue); }
.custom-logo { max-height: 56px; width: auto; display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	color: var(--vh-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	border-radius: 999px;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--vh-blue); background: #EEF0FB; }
.site-nav .vh-nav-cta > a { background: var(--vh-blue); color: #fff; }
.site-nav .vh-nav-cta > a:hover { background: var(--vh-blue-dark); color: #fff; }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: transparent;
	border: 1px solid var(--vh-line);
	border-radius: 50%;
	color: var(--vh-ink);
	cursor: pointer;
	padding: 0;
}

@media (max-width: 800px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--vh-paper);
		border-bottom: 1px solid var(--vh-line);
		padding: 8px 16px 16px;
		box-shadow: 0 16px 24px rgba(28,32,80,.08);
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 2px; }
	.site-nav a { width: 100%; border-radius: 6px; }
	.site-brand__name { font-size: 22px; }
}

/* ---------- Hero ---------- */

.vh-hero {
	background: var(--vh-blue);
	color: var(--vh-cream);
	text-align: center;
	padding: clamp(64px, 10vw, 120px) 0 clamp(64px, 9vw, 110px);
	position: relative;
	overflow: hidden;
}
.vh-hero::before {
	/* a faint arch, echoing the logo */
	content: "";
	position: absolute;
	left: 50%;
	bottom: -40%;
	width: min(900px, 140vw);
	height: 130%;
	transform: translateX(-50%);
	border: 1px solid rgba(212, 176, 122, 0.25);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	pointer-events: none;
}
.vh-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.vh-hero .vh-logo { color: var(--vh-cream); margin-bottom: 22px; }
.vh-hero__the { font-size: 13px; letter-spacing: .6em; padding-left: .6em; color: var(--vh-gold); margin: 0 0 8px; }
.vh-hero__title {
	font-family: var(--vh-serif);
	font-weight: 500;
	font-size: clamp(48px, 10vw, 104px);
	line-height: 1;
	letter-spacing: .03em;
	color: var(--vh-cream);
	margin: 0;
}
.vh-hero__title em { font-style: italic; }
.vh-hero__tag {
	display: flex; align-items: center; gap: 16px;
	margin: 22px 0 0;
	font-size: 12px; letter-spacing: .42em; padding-left: .42em;
	color: var(--vh-blush);
}
.vh-hero__tag span { display: block; width: 40px; height: 1px; background: var(--vh-gold); flex: 0 0 auto; }
@media (max-width: 480px) {
	.vh-hero__tag { font-size: 10px; letter-spacing: .26em; padding-left: .26em; gap: 10px; white-space: nowrap; }
	.vh-hero__tag span { width: 22px; }
}
.vh-hero__text { max-width: 560px; margin: 28px auto 0; font-size: 18px; color: #E4E3F3; }
.vh-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Sections ---------- */

.vh-section { padding: clamp(56px, 8vw, 96px) 0; }
.vh-section--cream { background: var(--vh-cream); }
.vh-section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.vh-section__head p { color: var(--vh-muted); margin: 0; }

.vh-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	counter-reset: vhstep;
}
.vh-steps li {
	background: var(--vh-paper);
	border-radius: 10px;
	padding: 28px 24px;
	counter-increment: vhstep;
}
.vh-steps li::before {
	content: counter(vhstep, decimal-leading-zero);
	display: block;
	font-family: var(--vh-serif);
	font-style: italic;
	font-size: 40px;
	line-height: 1;
	color: var(--vh-gold);
	margin-bottom: 14px;
}
.vh-steps h3 { font-size: 24px; margin-bottom: 6px; }
.vh-steps p { margin: 0; color: var(--vh-muted); font-size: 16px; }

.vh-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	max-width: 900px;
	margin: 0 auto;
}
.vh-contact a, .vh-contact div {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var(--vh-line);
	border-radius: 10px;
	background: #fff;
	color: var(--vh-ink);
	text-decoration: none;
	min-height: 64px;
}
.vh-contact a:hover { border-color: var(--vh-blue); color: var(--vh-blue); }
.vh-contact svg { flex: 0 0 auto; color: var(--vh-blue); }
.vh-contact small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--vh-muted); }

/* ---------- Pages & posts ---------- */

.vh-page { padding: clamp(48px, 7vw, 88px) 0; }
.vh-page__inner { max-width: 760px; margin: 0 auto; }
.vh-page--wide .vh-page__inner { max-width: var(--vh-max); }
.vh-page__title { text-align: center; margin-bottom: 36px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content .alignwide { max-width: var(--vh-max); }
.entry-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.entry-content blockquote { border-left: 2px solid var(--vh-gold); margin-left: 0; padding-left: 20px; font-family: var(--vh-serif); font-size: 22px; font-style: italic; }

.vh-post-list { display: grid; gap: 32px; }
.vh-post-list article { border-bottom: 1px solid var(--vh-line); padding-bottom: 28px; }
.vh-post-list h2 { font-size: 30px; }
.vh-post-list h2 a { color: var(--vh-ink); text-decoration: none; }
.vh-post-list h2 a:hover { color: var(--vh-blue); }
.vh-meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--vh-muted); margin-bottom: 8px; }
.navigation.pagination { margin-top: 40px; text-align: center; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; }
.nav-links .current { background: var(--vh-blue); color: #fff; }

.vh-404 { text-align: center; }

/* ---------- Footer ---------- */

.site-footer {
	background: var(--vh-night);
	color: #C9CAE3;
	padding: 56px 0 28px;
	font-size: 15px;
}
.site-footer a { color: var(--vh-cream); }
.site-footer a:hover { color: #fff; }
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(247,238,234,.12);
}
.site-footer .site-brand { color: var(--vh-cream); }
.site-footer .site-brand__name { color: var(--vh-cream); }
.site-footer .site-brand__name em { color: var(--vh-gold); }
.site-footer .site-brand__the { color: var(--vh-gold); }
.site-footer__tag { margin: 14px 0 0; font-size: 11px; letter-spacing: .42em; color: var(--vh-gold); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.site-footer__bottom { padding-top: 22px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #9A9CC2; }

/* ---------- Floating WhatsApp ---------- */

.vh-whatsapp {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 900;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #1F8F4E;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
	text-decoration: none;
}
.vh-whatsapp:hover { background: #18773F; color: #fff; }

/* The store already has its own heading on the home page. */
.vh-home-store .vh-store { padding-bottom: 0; }
