/* VibeHaven — global */

:root {
	--vh-bg: #0b1017;
	--vh-surface: #10151d;
	--vh-text: #f2f4f8;
	--vh-muted: #9aa3b5;
	--vh-pink: #ff0075;
	--vh-pink-soft: rgba(255, 0, 117, 0.18);
	--vh-line: rgba(255, 0, 117, 0.25);
	--vh-glow: rgba(255, 0, 117, 0.12);
	--vh-line-soft: rgba(255, 255, 255, 0.08);
	--vh-content: 720px;
	--vh-font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* Aliases used by store styles */
	--sf-bg: var(--vh-bg);
	--sf-text: var(--vh-text);
	--sf-muted: var(--vh-muted);
	--sf-pink: var(--vh-pink);
	--sf-pink-soft: var(--vh-pink-soft);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(1200px 600px at 50% -10%, var(--vh-glow), transparent 55%),
		var(--vh-bg);
	color: var(--vh-text);
	font-family: var(--vh-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--vh-pink);
	text-decoration: none;
}

a:hover {
	color: #ff4da0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--vh-pink);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100001;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	overflow: visible;
	clip: auto !important;
	clip-path: none;
	border-radius: 8px;
	background: var(--vh-text);
	color: var(--vh-bg);
	font-weight: 800;
	text-decoration: none;
}

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

.vh-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.vh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--vh-line-soft);
	background: rgba(11, 16, 23, 0.88);
	backdrop-filter: blur(10px);
}

.vh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--vh-content);
	margin: 0 auto;
	padding: 14px 16px;
}

.vh-brand,
.vh-brand a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--vh-text);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

body:not(.vh-logo-clickable) .vh-brand,
body:not(.vh-logo-clickable) .vh-brand a {
	pointer-events: none;
	cursor: default;
}

body.vh-logo-clickable .vh-brand a {
	pointer-events: auto;
	cursor: pointer;
}

.vh-brand img {
	display: block;
	max-height: 36px;
	width: auto;
}

.vh-brand__mark {
	color: var(--vh-pink);
}

.vh-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-nav a {
	color: var(--vh-muted);
	font-size: 0.95rem;
	font-weight: 600;
}

.vh-nav a:hover,
.vh-nav .current-menu-item > a {
	color: var(--vh-text);
}

.vh-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}

.vh-cart-trigger {
	position: relative;
}

.vh-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--vh-pink);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	pointer-events: none;
}

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

.vh-main {
	flex: 1 1 auto;
	width: 100%;
}

.vh-main--pad {
	max-width: var(--vh-content);
	margin: 0 auto;
	padding: 28px 16px 48px;
}

.vh-footer {
	border-top: 1px solid var(--vh-line-soft);
	padding: 20px 16px;
	color: var(--vh-muted);
	font-size: 0.85rem;
	text-align: center;
}

.vh-footer__inner,
.vh-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.vh-footer__inner {
	flex-direction: column;
	gap: 10px 20px;
}

.vh-footer__menu {
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-footer__menu a {
	color: inherit;
}

.vh-footer__menu a:hover,
.vh-footer__menu a:focus-visible {
	color: var(--vh-pink);
}

.vh-footer__copyright {
	flex-basis: 100%;
	width: 100%;
	margin: 0;
}

/* Status / empty / 404 / search */
.vh-status {
	text-align: left;
}

.vh-status--compact {
	margin-bottom: 28px;
}

.vh-status__code {
	margin: 0 0 8px;
	color: var(--vh-pink);
	font-size: clamp(3rem, 12vw, 5rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.04em;
}

.vh-status__text {
	margin: 0 0 1.25rem;
	max-width: 36ch;
	color: var(--vh-muted);
}

.vh-status__actions {
	margin: 0;
}

.vh-status__actions .vh-buy-now-btn {
	width: auto;
	min-width: 160px;
	text-decoration: none;
}

.vh-search-list {
	display: grid;
	gap: 14px;
}

.vh-entry--card {
	padding: 16px 18px;
	border: 1px solid var(--vh-line-soft);
	border-radius: 14px;
	background: linear-gradient(180deg, var(--vh-surface) 0%, var(--vh-bg) 100%);
}

.vh-entry__title--sm {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.vh-entry__title--sm a {
	color: var(--vh-text);
}

.vh-entry__title--sm a:hover {
	color: var(--vh-pink);
}

.vh-entry__meta {
	margin: 0 0 1.25rem;
	color: var(--vh-muted);
	font-size: 0.9rem;
}

.vh-entry__thumb {
	margin: 0 0 1.5rem;
	overflow: hidden;
	border-radius: 14px;
}

.vh-entry__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.vh-entry__nav {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--vh-line-soft);
}

.vh-entry__nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.vh-entry__nav-label {
	display: block;
	color: var(--vh-muted);
	font-size: 0.8rem;
	margin-bottom: 4px;
}

.vh-entry__nav-title {
	color: var(--vh-text);
	font-weight: 700;
}

.vh-comments {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--vh-line-soft);
}

.vh-comments__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.vh-comments__list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.vh-comments__list .comment {
	margin-bottom: 1rem;
	padding: 12px 14px;
	border: 1px solid var(--vh-line-soft);
	border-radius: 12px;
	background: var(--vh-surface);
}

.vh-comment-form textarea,
.vh-comment-form input[type="text"],
.vh-comment-form input[type="email"],
.vh-comment-form input[type="url"],
.search-form input[type="search"] {
	width: 100%;
	max-width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid var(--vh-line-soft);
	border-radius: 8px;
	background: #0d121a;
	color: var(--vh-text);
}

.search-form {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.search-form label {
	flex: 1 1 auto;
}

.search-form .search-submit {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: var(--vh-pink);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

/* Content pages */
.vh-entry__title {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	font-weight: 800;
}

.vh-entry__content > *:first-child {
	margin-top: 0;
}

.vh-entry__content > *:last-child {
	margin-bottom: 0;
}

.vh-entry__content a,
.comment-content a,
.widget_text a {
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

/* WooCommerce base */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	max-width: var(--vh-content);
	margin-left: auto;
	margin-right: auto;
}

/* Product grid / single product: assets/css/woo-product.css */

.vh-loop-cart-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 16px 14px 0;
}

.vh-loop-cart-form .quantity {
	width: 100%;
	margin: 0;
}

.vh-loop-cart-form input.qty {
	width: 100%;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 7px;
	background: #0d121a;
	color: var(--vh-text);
	font-size: 1rem;
	font-weight: 800;
	text-align: center;
}

.vh-buy-now-btn,
.vh-cart-drawer .woocommerce-mini-cart__buttons .button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--vh-pink);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.vh-buy-now-btn {
	width: 100%;
}

.woocommerce .button:hover,
.vh-cart-drawer .woocommerce-mini-cart__buttons .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.vh-buy-now-btn:hover {
	background: #e6006a;
	color: #fff;
}

/* Commerce pages: assets/css/woo-common.css and page-specific styles */

/* Breadcrumbs (product / shop pages) */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb,
nav.woocommerce-breadcrumb,
#breadcrumbs {
	max-width: min(960px, 100%);
	margin: 0 auto;
	padding: 14px 16px 10px;
	color: var(--vh-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.woocommerce-breadcrumb a,
#breadcrumbs a {
	color: var(--vh-pink);
	text-decoration: none;
	font-weight: 600;
}

.woocommerce-breadcrumb a:hover,
#breadcrumbs a:hover {
	color: #ff4da0;
}

/* Store pages: tighter chrome */
body.vh-is-store .vh-header,
body.vh-is-store .woocommerce-breadcrumb,
body.vh-is-store nav.woocommerce-breadcrumb,
body.vh-is-store #breadcrumbs {
	display: none !important;
}

@media (max-width: 480px) {
	.vh-loop-cart-form {
		gap: 8px;
		margin-top: 12px;
	}

	.vh-buy-now-btn {
		min-height: 40px;
		font-size: 0.95rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
