/* ==========================================================================
   Vintage House Boutique – layout, header, footer, shop, forms
   Colors and type measured from the original Hostinger site.
   ========================================================================== */

:root {
	--vh-plum: #2a2234;
	--vh-black: #000;
	--vh-ink: #0d141a;
	--vh-text: #1d1e20;
	--vh-muted: #56585e;
	--vh-aqua: #96fffc;
	--vh-purple: #6a4c93;
	--vh-gold: #b08238;
	--vh-blue: #3382c7;
	--vh-blue-btn: #0019ff;
	--vh-border: #b8c0cc;
	--vh-container: 1224px;
	--vh-gutter: 16px;
	--vh-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--vh-sans: "DM Sans", Arial, sans-serif;
	--vh-script: "Great Vibes", "Brush Script MT", cursive;
	--vh-nav: Merriweather, Georgia, serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--vh-text);
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

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

img {
	height: auto;
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 16px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: #000;
}

:focus-visible {
	outline: 2px solid var(--vh-aqua);
	outline-offset: 2px;
}

.vh-container {
	width: 100%;
	max-width: calc(var(--vh-container) + 2 * var(--vh-gutter));
	margin: 0 auto;
	padding: 0 var(--vh-gutter);
}

.vh-container--wide {
	max-width: none;
}

/* ---------- Announcement bar ---------- */
.vh-announce {
	background: var(--vh-plum);
	color: #fff;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px var(--vh-gutter);
	text-align: center;
}

.vh-announce p {
	margin: 0;
	font-family: var(--vh-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: uppercase;
}

/* ---------- Header ---------- */
.vh-header {
	background: var(--vh-black);
	position: relative;
	z-index: 50;
}

.vh-header__inner {
	min-height: 120px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.vh-logo {
	font-family: var(--vh-script);
	font-size: 48px;
	line-height: 1.25;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	margin-right: auto;
}

.vh-nav {
	display: flex;
	align-items: center;
}

.vh-menu,
.vh-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vh-menu {
	display: flex;
	align-items: center;
	gap: 8px 28px;
}

.vh-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.vh-menu a {
	font-family: var(--vh-nav);
	font-size: 16px;
	line-height: 1.5;
	color: var(--vh-aqua);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
}

.vh-menu a:hover,
.vh-menu .current-menu-item > a,
.vh-menu .current-menu-ancestor > a {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.vh-caret {
	flex: none;
	transition: transform 0.2s ease;
}

.vh-sub-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--vh-aqua);
	padding: 8px;
	cursor: pointer;
}

.vh-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 240px;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 60;
}

.vh-menu .sub-menu a {
	color: var(--vh-text);
	display: block;
	padding: 10px 16px;
}

.vh-menu .sub-menu a:hover {
	background: #f2f3f6;
	text-decoration: none;
}

.vh-menu > li:hover > .sub-menu,
.vh-menu > li:focus-within > .sub-menu,
.vh-menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.vh-menu > li:hover .vh-caret,
.vh-menu > li.is-open .vh-caret {
	transform: rotate(180deg);
}

.vh-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.vh-cart {
	position: relative;
	color: var(--vh-aqua);
	display: inline-flex;
	padding: 6px;
}

.vh-cart-count {
	position: absolute;
	top: -2px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--vh-aqua);
	color: #000;
	font-family: var(--vh-sans);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.vh-cart-count.is-empty {
	display: none;
}

.vh-burger {
	display: none;
	width: 40px;
	height: 40px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: #fff;
}

.vh-burger__bars,
.vh-burger__bars::before,
.vh-burger__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.vh-burger__bars::before,
.vh-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.vh-burger__bars::before {
	top: -8px;
}

.vh-burger__bars::after {
	top: 8px;
}

.vh-burger[aria-expanded="true"] .vh-burger__bars {
	background: transparent;
}

.vh-burger[aria-expanded="true"] .vh-burger__bars::before {
	transform: translateY(8px) rotate(45deg);
}

.vh-burger[aria-expanded="true"] .vh-burger__bars::after {
	transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1080px) {
	.vh-header__inner {
		min-height: 76px;
		gap: 12px;
	}

	.vh-logo {
		font-size: 34px;
	}

	.vh-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.vh-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--vh-black);
		padding: 8px var(--vh-gutter) 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.vh-nav.is-open {
		display: block;
	}

	.vh-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.vh-menu > li {
		flex-wrap: wrap;
		justify-content: space-between;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.vh-menu a {
		padding: 14px 0;
		font-size: 18px;
	}

	.vh-menu > li > a .vh-caret {
		display: none;
	}

	.vh-sub-toggle {
		display: inline-flex;
	}

	.vh-menu .sub-menu {
		position: static;
		display: none;
		flex-basis: 100%;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		padding: 0 0 8px 16px;
		min-width: 0;
	}

	.vh-menu > li.is-open > .sub-menu {
		display: block;
	}

	.vh-menu .sub-menu a {
		color: #fff;
		padding: 10px 0;
	}

	.vh-menu .sub-menu a:hover {
		background: none;
		text-decoration: underline;
	}

	.vh-sub-toggle[aria-expanded="true"] .vh-caret {
		transform: rotate(180deg);
	}
}

@media (max-width: 480px) {
	.vh-logo {
		font-size: 28px;
	}
}

/* ---------- Main / plain pages ---------- */
.vh-main {
	display: block;
}

.vh-entry__plain {
	padding-top: 56px;
	padding-bottom: 80px;
}

.vh-entry__title {
	font-family: var(--vh-serif);
	font-weight: 600;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.3;
	margin: 0 0 32px;
}

.vh-entry__subtitle {
	font-size: 24px;
	margin: 0 0 8px;
}

.vh-entry--list {
	padding: 24px 0;
	border-bottom: 1px solid #eee;
}

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

.vh-404 .vh-search {
	margin: 24px auto;
}

.vh-btn,
.wp-block-button.vh-btn-primary .wp-block-button__link {
	display: inline-block;
	padding: 14px 36px;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.5;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.vh-btn:hover {
	background: #333;
}

/* ---------- Search bar ---------- */
.vh-search {
	position: relative;
	max-width: 682px;
	margin: 0 auto;
}

.vh-search__icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #727586;
	pointer-events: none;
}

.vh-search__field {
	width: 100%;
	height: 48px;
	padding: 0 16px 0 44px;
	border: 1px solid #dadce0;
	border-radius: 8px;
	background: #fff;
	font-family: var(--vh-sans);
	font-size: 16px;
	color: var(--vh-text);
}

.vh-search__field:focus {
	border-color: #000;
	outline: none;
}

/* ---------- Map ---------- */
.vh-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* ---------- Footer ---------- */
.vh-footer {
	background: var(--vh-plum);
	color: #fff;
	padding: 26px 0 40px;
}

.vh-footer__grid {
	display: grid;
	grid-template-columns: 297px minmax(0, 1fr) 250px;
	gap: 32px;
	align-items: start;
}

.vh-footer__title {
	font-family: var(--vh-serif);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 40px;
}

.vh-footer p {
	margin: 0;
	font-size: 14px;
	line-height: 1.3;
}

.vh-footer__contact p + p {
	margin-top: 0;
}

.vh-footer a {
	color: #fff;
}

.vh-social {
	display: flex;
	gap: 40px;
	margin-top: 24px;
}

.vh-social a {
	display: inline-flex;
	color: #fff;
}

.vh-social a:hover {
	opacity: 0.8;
}

.vh-footer__center {
	max-width: 356px;
	margin: 46px auto 0;
	width: 100%;
}

.vh-footer__copy {
	text-align: center;
	margin-top: 16px !important;
}

.vh-footer__reach {
	padding-top: 3px;
}

.vh-footer__label {
	font-size: 14px !important;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.5 !important;
}

.vh-footer__value {
	font-size: 16px !important;
	line-height: 1.5 !important;
	margin-bottom: 16px !important;
	word-break: break-word;
}

.vh-footer__value a {
	text-decoration: none;
}

.vh-footer__value a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.vh-footer {
		padding: 40px 0;
	}

	.vh-footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.vh-footer__title {
		margin-bottom: 16px;
	}

	.vh-social {
		justify-content: center;
	}

	.vh-footer__center {
		order: 3;
		margin-top: 0;
	}
}

/* ---------- Forms ---------- */
.vh-form form {
	display: grid;
	gap: 0;
}

.vh-form__row {
	margin: 0 0 16px;
}

.vh-form label {
	display: block;
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.4;
	color: #0d141a;
	margin-bottom: 8px;
}

.vh-form input[type="text"],
.vh-form input[type="email"],
.vh-form input[type="tel"],
.vh-form textarea {
	width: 100%;
	padding: 16px;
	border: 0.8px solid var(--vh-border);
	border-radius: 10px;
	background: #fff;
	color: #0d141a;
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.4;
}

.vh-form textarea {
	min-height: 96px;
	resize: vertical;
}

.vh-form input:focus,
.vh-form textarea:focus {
	outline: none;
	border-color: #0d141a;
}

.vh-form__button {
	padding: 14px 36px;
	border: 0;
	border-radius: 50px;
	background: var(--vh-blue-btn);
	color: #fff;
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.4;
	cursor: pointer;
}

.vh-form__button:hover {
	filter: brightness(1.15);
}

.vh-form--card {
	background: var(--vh-blue);
	border-radius: 20px;
	padding: 40px;
}

.vh-form--plain .vh-form__button {
	background: #000;
}

.vh-form__notice {
	padding: 12px 16px;
	border-radius: 10px;
	margin: 0 0 16px;
	background: #fff;
	font-size: 15px;
}

.vh-form__notice--ok {
	border-left: 4px solid #00b090;
}

.vh-form__notice--error {
	border-left: 4px solid #d63163;
}

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

@media (max-width: 600px) {
	.vh-form--card {
		padding: 24px;
	}
}

/* ==========================================================================
   WooCommerce – matches the original store grid and product page
   ========================================================================== */

.vh-shop {
	padding: 40px 0 80px;
}

.woocommerce .vh-sort,
.vh-sort {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	font-family: var(--vh-serif);
	font-size: 14px;
	color: #0d141a;
}

.woocommerce .vh-sort .woocommerce-ordering {
	float: none;
	margin: 0;
}

.woocommerce .woocommerce-ordering select {
	min-width: 220px;
	height: 32px;
	padding: 0 32px 0 12px;
	border: 1px solid #0d141a;
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M5 6.5L.67.5h8.66z' fill='%230d141a'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none;
	appearance: none;
	font-family: Arial, sans-serif;
	font-size: 14px;
	color: #0d141a;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 24px;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	text-align: left;
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	margin: 0 0 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--vh-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #0d141a;
	padding: 0;
	margin: 0 0 8px;
}

.woocommerce ul.products li.product .price {
	font-family: var(--vh-serif);
	font-size: 16px;
	font-weight: 400;
	color: #0d141a;
	margin: 0;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	text-decoration: none;
	color: inherit;
}

.woocommerce ul.products li.product .star-rating {
	display: none;
}

@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 16px;
	}
}

.woocommerce nav.woocommerce-pagination ul {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0 4px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 50%;
	min-width: 36px;
	padding: 8px;
	font-family: var(--vh-serif);
}

/* Single product */
.single-product .vh-shop .vh-container--wide {
	max-width: calc(var(--vh-container) + 2 * var(--vh-gutter));
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce div.product .product_title {
	font-family: var(--vh-serif);
	font-size: 48px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.vh-product-subtitle {
	font-family: var(--vh-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
	margin: 0 0 16px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--vh-serif);
	font-size: 18px;
	color: #1a1a1a;
	margin: 0 0 24px;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0 0 32px;
}

.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
	display: none;
}

.woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #dadce0;
	border-radius: 4px;
	overflow: hidden;
}

.woocommerce .quantity .qty {
	width: 48px;
	height: 40px;
	border: 0;
	border-left: 1px solid #dadce0;
	border-right: 1px solid #dadce0;
	text-align: center;
	font-family: var(--vh-serif);
	font-size: 15px;
	-moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vh-qty-btn {
	width: 36px;
	border: 0;
	background: #fff;
	font-size: 18px;
	cursor: pointer;
	color: #1a1a1a;
}

.vh-qty-btn:hover {
	background: #f2f3f6;
}

.woocommerce div.product .stock {
	font-family: var(--vh-serif);
	font-size: 14px;
	color: #1a1a1a !important;
	margin: 0 0 16px;
}

.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: #000;
	color: #fff;
	border-radius: 999px;
	padding: 15px 40px;
	font-family: var(--vh-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	border: 0;
}

.woocommerce div.product form.cart .button {
	flex-basis: 100%;
	max-width: 220px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
	background: #333;
	color: #fff;
}

.vh-product-description {
	font-family: var(--vh-serif);
	font-size: 16px;
	line-height: 1.5;
	color: #1a1a1a;
}

.vh-product-description p {
	margin: 0 0 16px;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	width: auto !important;
	float: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

@media (max-width: 860px) {
	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.woocommerce div.product .product_title {
		font-size: 32px;
	}
}

/* Notices, cart and checkout get the same fonts. */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-cart,
.wc-block-checkout {
	font-family: var(--vh-serif);
}

.woocommerce-message,
.woocommerce-info {
	border-top-color: #000;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: #000;
}
