/**
 * Theme Name: Blocksy Child
 * Description: Violet Hijabs Custom Child Theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* =========================================================
   VIOLET HIJABS - GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
	/* Brand */
	--vh-purple: #32134f;
	--vh-purple-dark: #241033;
	--vh-purple-soft: #6d527f;

	--vh-gold: #c9a646;
	--vh-gold-light: #dfc778;

	/* Backgrounds */
	--vh-white: #ffffff;
	--vh-cream: #fcfaf6;
	--vh-lavender: #f3edf8;
	--vh-lavender-dark: #e9def1;

	/* Text */
	--vh-text: #29233a;
	--vh-text-light: #716b78;
	--vh-border: #e8e2e8;

	/* Layout */
	--vh-container: 1200px;
	--vh-container-wide: 1400px;

	/* Radius */
	--vh-radius-sm: 8px;
	--vh-radius: 14px;
	--vh-radius-lg: 20px;

	/* Shadows */
	--vh-shadow: 0 8px 30px rgba(50, 19, 79, 0.08);
	--vh-shadow-hover: 0 14px 40px rgba(50, 19, 79, 0.14);

	/* Transition */
	--vh-transition: all 0.3s ease;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--vh-white);
	color: var(--vh-text);

	font-family:
		"Montserrat",
		"Helvetica Neue",
		Arial,
		sans-serif;

	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--vh-purple-dark);
	line-height: 1.2;
}

h1,
h2,
h3 {
	font-family:
		"Playfair Display",
		Georgia,
		serif;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.vh-container {
	width: min(
		calc(100% - 48px),
		var(--vh-container)
	);

	margin-left: auto;
	margin-right: auto;
}

.vh-container-wide {
	width: min(
		calc(100% - 48px),
		var(--vh-container-wide)
	);

	margin-left: auto;
	margin-right: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

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

	min-height: 46px;
	padding: 12px 28px;

	border: 0;
	border-radius: 6px;

	background: var(--vh-gold);
	color: var(--vh-purple-dark);

	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;

	cursor: pointer;

	transition: var(--vh-transition);
}

.vh-btn:hover {
	background: var(--vh-gold-light);
	color: var(--vh-purple-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(201, 166, 70, 0.22);
}


/* =========================================================
   SECTION COMMON
   ========================================================= */

.vh-section {
	padding: 70px 0;
}

.vh-section-header {
	margin-bottom: 35px;
	text-align: center;
}

.vh-section-label {
	margin-bottom: 8px;

	color: var(--vh-gold);

	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.vh-section-title {
	margin-bottom: 12px;

	font-size: clamp(30px, 4vw, 44px);
	font-weight: 500;
}

.vh-section-description {
	max-width: 600px;
	margin: 0 auto;

	color: var(--vh-text-light);
	font-size: 15px;
}


/* =========================================================
   GOLD DECORATIVE LINE
   ========================================================= */

.vh-divider {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 12px;

	margin-top: 15px;
}

.vh-divider::before,
.vh-divider::after {
	content: "";

	width: 42px;
	height: 1px;

	background: var(--vh-gold);
}

.vh-divider span {
	width: 7px;
	height: 7px;

	background: var(--vh-gold);

	transform: rotate(45deg);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.vh-container,
	.vh-container-wide {
		width: min(
			calc(100% - 40px),
			var(--vh-container)
		);
	}

	.vh-section {
		padding: 55px 0;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.vh-container,
	.vh-container-wide {
		width: calc(100% - 30px);
	}

	.vh-section {
		padding: 42px 0;
	}

	.vh-section-header {
		margin-bottom: 25px;
	}

	.vh-section-title {
		font-size: 30px;
	}

	.vh-section-description {
		font-size: 14px;
	}

	.vh-btn {
		min-height: 44px;
		padding: 11px 22px;
		font-size: 12px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.vh-container,
	.vh-container-wide {
		width: calc(100% - 24px);
	}

	.vh-section {
		padding: 35px 0;
	}

	.vh-section-title {
		font-size: 27px;
	}

}


/* =========================================================
   VIOLET HIJABS HEADER
   ========================================================= */

.vh-announcement {
	background: var(--vh-purple);
	color: #fff;
	height: 30px;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vh-announcement-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

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


/* HEADER */

.vh-header {
	position: relative;
	z-index: 1000;

	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(50, 19, 79, 0.06);
}

.vh-header-inner {
	width: min(calc(100% - 48px), var(--vh-container));

	min-height: 155px;

	margin: 0 auto;

	display: grid;

	grid-template-columns: 1fr auto 1fr;

	grid-template-areas:
		"logo logo actions"
		"nav nav nav";

	align-items: center;
}


/* LOGO */

.vh-logo {
	grid-area: logo;

	justify-self: center;
}

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

.vh-logo img {
	width: auto;
	max-width: 190px;
	max-height: 85px;
	object-fit: contain;
}

.vh-text-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.vh-logo-mark {
	color: var(--vh-gold);

	font-family: Georgia, serif;
	font-size: 42px;
	font-weight: 400;
	line-height: 0.8;
}

.vh-logo-name {
	color: var(--vh-gold);

	font-family: Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.16em;
}


/* NAVIGATION */

.vh-navigation {
	grid-area: nav;

	display: flex;
	justify-content: center;
	align-items: center;
}

.vh-menu {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 35px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.vh-menu > li {
	position: relative;
}

.vh-menu > li > a {
	display: block;

	padding: 8px 0 13px;

	color: var(--vh-text);

	font-size: 12px;
	font-weight: 600;

	letter-spacing: 0.03em;
	
}

/* .vh-menu > li > a:hover {
	color: var(--vh-gold);
} */

.vh-menu > li.current-menu-item > a,
.vh-menu > li.current_page_item > a {
	color: var(--vh-gold);
}

.vh-menu > li.current-menu-item > a::after,
.vh-menu > li.current_page_item > a::after {
	content: "";

	position: absolute;

	left: 0;
	right: 0;
	bottom: 0;

	height: 2px;

	background: var(--vh-gold);
}


/* HEADER ACTIONS */

.vh-header-actions {
	grid-area: actions;

	justify-self: end;

	display: flex;
	align-items: center;

	gap: 19px;
}

.vh-header-icon {
	position: relative;

	width: 22px;
	height: 22px;

	padding: 0;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	color: var(--vh-text);

	background: transparent;
	border: 0;

	cursor: pointer;
}

.vh-header-icon svg {
	width: 21px;
	height: 21px;
}

.vh-header-icon:hover {
	color: var(--vh-gold);
	transform: translateY(-1px);
}

.vh-cart-count {
	position: absolute;

	top: -8px;
	right: -9px;

	min-width: 15px;
	height: 15px;

	padding: 0 4px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: var(--vh-gold);
	color: var(--vh-purple-dark);

	font-size: 8px;
	font-weight: 700;
}


/* SEARCH PANEL */

.vh-search-panel {
	display: none;

	position: absolute;

	top: 100%;
	left: 0;
	right: 0;

	padding: 20px;

	background: #fff;

	border-top: 1px solid var(--vh-border);
	border-bottom: 1px solid var(--vh-border);

	box-shadow: var(--vh-shadow);
}

.vh-search-panel.is-open {
	display: block;
}

.vh-search-inner {
	width: min(calc(100% - 48px), 700px);
	margin: 0 auto;
}

.vh-search-inner form {
	display: flex;
}

.vh-search-inner input[type="search"] {
	flex: 1;

	min-height: 48px;

	padding: 0 16px;

	border: 1px solid var(--vh-border);
	border-right: 0;

	outline: none;

	color: var(--vh-text);
	background: var(--vh-cream);
}

.vh-search-inner button {
	min-width: 110px;

	border: 0;

	background: var(--vh-gold);
	color: var(--vh-purple-dark);

	font-size: 11px;
	font-weight: 700;

	letter-spacing: 0.06em;

	cursor: pointer;
}


/* MOBILE MENU BUTTON */

.vh-mobile-menu-toggle {
	display: none;

	width: 25px;
	height: 25px;

	padding: 3px 0;

	border: 0;
	background: transparent;

	flex-direction: column;
	justify-content: space-between;

	cursor: pointer;
}

.vh-mobile-menu-toggle span {
	display: block;

	width: 21px;
	height: 1.5px;

	background: var(--vh-purple);
}


/* MOBILE MENU */

.vh-mobile-menu {
	display: none;

	position: fixed;
	z-index: 9999;

	inset: 0;

	background: rgba(36, 16, 51, 0.35);
}

.vh-mobile-menu.is-open {
	display: block;
}

.vh-mobile-menu-inner {
	width: min(88%, 380px);
	height: 100%;

	padding: 25px;

	background: var(--vh-cream);

	overflow-y: auto;
}

.vh-mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding-bottom: 20px;

	border-bottom: 1px solid var(--vh-border);

	color: var(--vh-purple);

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.vh-mobile-menu-close {
	border: 0;
	background: transparent;

	color: var(--vh-purple);

	font-size: 30px;
	font-weight: 300;

	cursor: pointer;
}

.vh-mobile-menu-list {
	display: flex;
	flex-direction: column;

	margin: 15px 0 0;
	padding: 0;

	list-style: none;
}

.vh-mobile-menu-list li {
	border-bottom: 1px solid var(--vh-border);
}

.vh-mobile-menu-list a {
	display: block;

	padding: 17px 0;

	color: var(--vh-purple);

	font-size: 13px;
	font-weight: 600;

	letter-spacing: 0.04em;
	
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.vh-header-inner {
		width: min(calc(100% - 40px), var(--vh-container));
		min-height: 140px;
	}

	.vh-menu {
		gap: 25px;
	}

	.vh-header-actions {
		gap: 15px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.vh-announcement {
		height: 28px;

		font-size: 8px;
		letter-spacing: 0.04em;
	}

	.vh-header-inner {

		width: calc(100% - 30px);

		min-height: 72px;

		display: grid;

		grid-template-columns: 35px 1fr auto;

		grid-template-areas: "menu logo actions";
	}

	.vh-mobile-menu-toggle {
		grid-area: menu;

		display: flex;

		justify-self: start;
	}

	.vh-logo {
		grid-area: logo;

		justify-self: center;
	}

	.vh-logo img {
		max-width: 135px;
		max-height: 55px;
	}

	.vh-logo-mark {
		font-size: 28px;
	}

	.vh-logo-name {
		font-size: 13px;
		letter-spacing: 0.12em;
	}

	.vh-navigation {
		display: none;
	}

	.vh-header-actions {
		grid-area: actions;

		gap: 11px;
	}

	.vh-header-actions .vh-account {
		display: none;
	}

	.vh-header-icon {
		width: 20px;
		height: 20px;
	}

	.vh-header-icon svg {
		width: 19px;
		height: 19px;
	}

	.vh-search-inner {
		width: calc(100% - 30px);
	}

	.vh-search-inner button {
		min-width: 85px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

	.vh-header-inner {
		width: calc(100% - 24px);
	}

	.vh-header-actions {
		gap: 8px;
	}

	.vh-wishlist {
		display: none;
	}

}

.hero-center-content .hero-title {
	color: var(--white);
}

/* =========================================================
   WORDPRESS MOBILE SUBMENU
   About Us / Any menu item with children
   ========================================================= */

@media (max-width: 767px) {

	/* Parent menu item */
	#mainNav .vh-home-menu > .menu-item-has-children {
		position: relative;
	}

	/* Hide submenu by default */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> .sub-menu {
		display: none;

		position: static;

		width: 100%;

		margin: 0;
		padding: 0;

		background: transparent;

		border: 0;
		box-shadow: none;

		list-style: none;
	}

	/* Show submenu when JavaScript adds .is-open */
	#mainNav .vh-home-menu
	> .menu-item-has-children.is-open
	> .sub-menu {
		display: block;
	}

	/* Submenu item */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> .sub-menu
	> li {
		width: 100%;

		margin: 0;
		padding: 0;

		border: 0;
	}

	/* Submenu link */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> .sub-menu
	> li
	> a {
		display: block;

		width: 100%;

		padding: 12px 20px 12px 35px;

		color: var(--vh-purple-soft);

		font-size: 13px;
		font-weight: 500;

		line-height: 1.4;

		
		letter-spacing: 0.04em;

		border-top: 1px solid var(--vh-border);
	}

	/* Submenu hover */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> .sub-menu
	> li
	> a:hover {
		color: var(--vh-gold);

		background: var(--vh-lavender);
	}

	/* Parent link */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> a {
		position: relative;

		padding-right: 45px;
	}

	/* Existing arrow */
	#mainNav .vh-home-menu
	> .menu-item-has-children
	> a::after {
		transition: transform 0.25s ease;
	}

	/* Rotate arrow when open */
	#mainNav .vh-home-menu
	> .menu-item-has-children.is-open
	> a::after {
		transform: rotate(180deg);
	}

}

.values h4{
	font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 767px) {

	#mainNav .vh-home-menu
	> .menu-item-has-children,
	#mainNav .vh-home-menu
	> .menu-item-has-children > a,
	#mainNav .vh-home-menu
	> .menu-item-has-children > .sub-menu,
	#mainNav .vh-home-menu
	> .menu-item-has-children > .sub-menu > li,
	#mainNav .vh-home-menu
	> .menu-item-has-children > .sub-menu > li > a {
		border: none !important;
		box-shadow: none !important;
	}

}


#mainNav .vh-home-menu > li > a {
	text-transform: uppercase;
}