/* The Vogue Haven Store */

.vh-store,
.vh-modal {
	--vh-blue: #3041B6;
	--vh-blue-dark: #222F8C;
	--vh-ink: #1C2050;
	--vh-muted: #575B7D;
	--vh-cream: #F7EEEA;
	--vh-blush: #EBD9D6;
	--vh-paper: #FFFDFB;
	--vh-line: #E3DEEA;
	--vh-gold: #D4B07A;
	--vh-error: #B42318;
	font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--vh-ink);
	-webkit-font-smoothing: antialiased;
}
.vh-store *, .vh-store *::before, .vh-store *::after,
.vh-modal *, .vh-modal *::before, .vh-modal *::after { box-sizing: border-box; }

.vh-store {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 64px;
}

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

.vh-store__header {
	background: var(--vh-blue);
	color: var(--vh-cream);
	text-align: center;
	padding: 48px 16px 44px;
	margin-bottom: 40px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.vh-store__header .vh-logo { color: var(--vh-cream); margin-bottom: 18px; }
.vh-store .vh-store__the {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.6em;
	padding-left: 0.6em;
	color: var(--vh-gold);
	line-height: 1.4;
}
.vh-store .vh-store__name {
	margin: 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	font-size: clamp(40px, 8vw, 68px);
	line-height: 1;
	letter-spacing: 0.03em;
	color: var(--vh-cream);
	text-transform: none;
}
.vh-store .vh-store__name em { font-style: italic; }
.vh-store .vh-store__tag {
	margin: 16px 0 0;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 11px;
	letter-spacing: 0.4em;
	color: var(--vh-blush);
	line-height: 1.4;
}
.vh-store__tag span { width: 32px; height: 1px; background: var(--vh-gold); display: block; }

.vh-store__empty {
	text-align: center;
	color: var(--vh-muted);
	font-size: 17px;
	padding: 48px 16px;
}

/* ---------- Grid & cards ---------- */

.vh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	align-items: start;
}

.vh-card {
	background: var(--vh-paper);
	border: 1px solid var(--vh-line);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.vh-card__media {
	position: relative;
	background: #141838;
	max-height: 560px;
	overflow: hidden;
}
.vh-card__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.4s ease;
}

.vh-card__stamp {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	border: 2px solid var(--vh-cream);
	color: var(--vh-cream);
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: 30px;
	letter-spacing: 0.3em;
	padding: 6px 14px 6px calc(14px + 0.3em);
	background: rgba(28, 32, 80, 0.55);
	display: none;
	pointer-events: none;
}
.vh-card.is-sold .vh-card__stamp { display: block; }
.vh-card.is-sold .vh-card__media video { filter: grayscale(0.7) brightness(0.65); }

.vh-card__body { padding: 18px 20px 20px; }

.vh-store .vh-card__title {
	margin: 0 0 4px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: var(--vh-ink);
	text-transform: none;
	letter-spacing: 0;
}
.vh-store .vh-card__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--vh-muted);
}
.vh-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}
.vh-card__price {
	font-size: 19px;
	font-weight: 500;
	color: var(--vh-blue);
	white-space: nowrap;
}
.vh-card.is-sold .vh-card__price { color: var(--vh-muted); text-decoration: line-through; }
.vh-card__sold {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--vh-muted);
	padding: 12px 4px;
	display: inline-block;
}

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

.vh-store .vh-btn,
.vh-modal .vh-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 26px;
	border: 1px solid var(--vh-blue);
	border-radius: 999px;
	background: var(--vh-blue);
	color: #fff;
	font-family: 'Jost', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.vh-store .vh-btn:hover,
.vh-modal .vh-btn:hover { background: var(--vh-blue-dark); border-color: var(--vh-blue-dark); color: #fff; }
.vh-modal .vh-btn--ghost { background: transparent; color: var(--vh-blue); }
.vh-modal .vh-btn--ghost:hover { background: #EEF0FB; color: var(--vh-blue-dark); }
.vh-store .vh-btn:focus-visible,
.vh-modal .vh-btn:focus-visible,
.vh-modal .vh-modal__x:focus-visible { outline: 2px solid var(--vh-blue); outline-offset: 3px; }
.vh-modal .vh-btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Modal ---------- */

.vh-lock, .vh-lock body { overflow: hidden; }

.vh-modal[hidden], .vh-modal [hidden] { display: none !important; }

.vh-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.vh-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 56, 0.6);
}
.vh-modal__panel {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: var(--vh-paper);
	border-radius: 10px;
	padding: 36px 28px 28px;
	box-shadow: 0 24px 60px rgba(20, 24, 56, 0.35);
	font-size: 16px;
	line-height: 1.55;
	color: var(--vh-ink);
}
.vh-modal__panel:focus { outline: none; }
.vh-modal__panel p { margin: 0 0 12px; }

.vh-modal .vh-modal__x {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--vh-muted);
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
}
.vh-modal .vh-modal__x:hover { background: #F1EEF4; color: var(--vh-ink); }

.vh-modal .vh-modal__eyebrow {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vh-muted);
	margin: 0 0 6px;
}
.vh-modal .vh-modal__title {
	margin: 0 0 16px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.15;
	color: var(--vh-ink);
	letter-spacing: 0;
	text-transform: none;
}
.vh-modal__item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background: var(--vh-cream);
	border-radius: 6px;
}
.vh-modal__item strong { color: var(--vh-blue); white-space: nowrap; font-weight: 500; }
.vh-modal .vh-modal__fine { font-size: 13px; color: var(--vh-muted); margin: 4px 0 0; }

.vh-field { margin-bottom: 14px; }
.vh-modal .vh-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vh-ink);
}
.vh-modal .vh-field input,
.vh-modal .vh-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #C9C6DA;
	border-radius: 6px;
	background: #fff;
	color: var(--vh-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
	margin: 0;
}
.vh-modal .vh-field textarea { resize: vertical; min-height: 84px; }
.vh-modal .vh-field input:focus,
.vh-modal .vh-field textarea:focus {
	border-color: var(--vh-blue);
	outline: 2px solid rgba(48, 65, 182, 0.25);
	outline-offset: 0;
}
.vh-modal .vh-field [aria-invalid="true"] { border-color: var(--vh-error); }

.vh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.vh-modal .vh-form-error { color: var(--vh-error); font-size: 14px; min-height: 0; margin: 0 0 8px; }
.vh-modal .vh-form-error:empty { display: none; }

.vh-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 20px;
}
.vh-actions--center { justify-content: center; }

.vh-step--done { text-align: center; }
.vh-done-icon { color: var(--vh-blue); margin: 0 auto 12px; display: block; }

@media (max-width: 480px) {
	.vh-store__header { padding: 36px 16px 32px; margin-bottom: 28px; }
	.vh-grid { gap: 20px; }
	.vh-modal { align-items: flex-end; padding: 0; }
	.vh-modal__panel { border-radius: 14px 14px 0 0; max-height: 92vh; padding: 32px 20px 24px; }
	.vh-actions .vh-btn { flex: 1 1 auto; }
}

/* ---------- MoMo payment step ---------- */

.vh-modal .vh-hint { margin: 6px 0 0; font-size: 13px; color: var(--vh-muted); }

.vh-pay {
	border: 1px solid var(--vh-line);
	border-radius: 10px;
	background: #fff;
	margin-bottom: 16px;
	overflow: hidden;
}
.vh-pay__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	border-top: 1px solid var(--vh-line);
	font-size: 15px;
}
.vh-pay__row:first-child { border-top: 0; }
.vh-pay__row--big { background: var(--vh-cream); padding: 14px 16px; }
.vh-pay__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--vh-muted); flex: 0 0 auto; }
.vh-pay__value { display: inline-flex; align-items: center; gap: 10px; text-align: right; flex-wrap: wrap; justify-content: flex-end; min-width: 0; overflow-wrap: anywhere; }
.vh-pay__value strong { font-weight: 500; color: var(--vh-blue); }
.vh-pay__number { font-size: 22px; font-weight: 500; letter-spacing: .04em; color: var(--vh-ink); }

.vh-modal .vh-copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid var(--vh-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--vh-blue);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}
.vh-modal .vh-copy:hover { background: #EEF0FB; }
.vh-modal .vh-copy.is-copied { background: var(--vh-blue); color: #fff; }
.vh-modal .vh-copy:focus-visible { outline: 2px solid var(--vh-blue); outline-offset: 2px; }

.vh-pay__steps { margin: 0 0 18px; padding-left: 20px; font-size: 15px; color: var(--vh-ink); }
.vh-pay__steps li { margin-bottom: 4px; }

.vh-upload {
	position: relative;
	display: block;
	border: 1.5px dashed #B9B6CE;
	border-radius: 10px;
	background: #FBFAFD;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}
.vh-upload:hover, .vh-upload:focus-within { border-color: var(--vh-blue); background: #F4F5FD; }
.vh-modal .vh-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	padding: 0;
	border: 0;
}
.vh-upload__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 16px;
	text-align: center;
	color: var(--vh-blue);
	font-weight: 500;
}
.vh-upload__empty small, .vh-upload__done small { display: block; font-weight: 400; font-size: 13px; color: var(--vh-muted); }
.vh-upload__done { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 14px; overflow-wrap: anywhere; }
.vh-upload__done img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid var(--vh-line); flex: 0 0 auto; background: #eee; }
.vh-upload:focus-within { outline: 2px solid rgba(48, 65, 182, 0.35); outline-offset: 2px; }

@media (max-width: 480px) {
	.vh-pay__row { flex-wrap: wrap; }
	.vh-pay__number { font-size: 20px; }
}
.vh-modal .vh-field label.vh-upload { text-transform: none; letter-spacing: normal; font-size: 15px; font-weight: 400; margin: 0; color: var(--vh-ink); }

.vh-pay__ref-note {
	background: #FFF4E0;
	color: #5C3A00;
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
}
.vh-pay__ref-note strong { color: #5C3A00; }

/* ---------- WhatsApp links ---------- */
.vh-store .vh-card__wa,
.vh-modal .vh-modal__wa a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #18773F;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.vh-store .vh-card__wa { margin-top: 6px; }
.vh-store .vh-card__wa:hover span,
.vh-modal .vh-modal__wa a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.vh-modal .vh-modal__wa { margin: 14px 0 0; text-align: center; }

/* ---------- Sizes ---------- */
.vh-store .vh-sizes { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
.vh-store .vh-sizes__legend {
	padding: 0;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--vh-muted);
}
.vh-sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-store .vh-size {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 64px;
	min-height: 52px;
	padding: 6px 12px;
	border: 1px solid #C9C6DA;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	line-height: 1.2;
	transition: border-color .15s ease, background .15s ease;
}
.vh-store .vh-size input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.vh-size__label { font-size: 16px; font-weight: 500; color: var(--vh-ink); }
.vh-size__left { font-size: 12px; color: var(--vh-muted); margin-top: 2px; }
.vh-store .vh-size:hover { border-color: var(--vh-blue); }
.vh-store .vh-size.is-selected { border-color: var(--vh-blue); background: var(--vh-blue); }
.vh-store .vh-size.is-selected .vh-size__label,
.vh-store .vh-size.is-selected .vh-size__left { color: #fff; }
.vh-store .vh-size:has(input:focus-visible) { outline: 2px solid var(--vh-blue); outline-offset: 2px; }
.vh-store .vh-size.is-out { cursor: not-allowed; background: #F4F3F7; border-style: dashed; border-color: #D8D5E3; }
.vh-store .vh-size.is-out .vh-size__label { color: #8F8FA6; text-decoration: line-through; }
.vh-store .vh-size.is-out .vh-size__left { color: #B42318; }
.vh-store .vh-sizes__msg { margin: 8px 0 0; font-size: 14px; color: #B42318; }
.vh-store .vh-sizes__msg:empty { display: none; }

/* ---------- Send order on WhatsApp ---------- */
.vh-modal .vh-wa-order {
	background: #EAF6EF;
	border-radius: 10px;
	padding: 16px;
	margin: 6px 0 4px;
	text-align: center;
	font-size: 15px;
}
.vh-modal .vh-wa-order p { margin: 0 0 12px; }
.vh-modal .vh-btn--wa { background: #1F8F4E; border-color: #1F8F4E; gap: 10px; width: 100%; }
.vh-modal .vh-btn--wa:hover { background: #18773F; border-color: #18773F; }
