/*
Theme Name: Nailuxe Pro
Theme URI: https://nailuxepro.com/
Description: Nailuxe Pro storefront child theme.
Author: Fred
Template: storefront
Version: 1.0.2
Text Domain: nailuxe-pro
*/

:root {
	--nailuxe-ink: #111111;
	--nailuxe-muted: #6f6a64;
	--nailuxe-ivory: #faf7f2;
	--nailuxe-line: #e7ded2;
	--nailuxe-gold: #b98f45;
	--nailuxe-pink: #ff2b86;
	--nailuxe-pale-pink: #fde5ee;
}

body {
	background: var(--nailuxe-ivory);
	color: var(--nailuxe-ink);
}

.site-header {
	background: #0f0f0f;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-branding .site-title a,
.site-header .site-branding,
.site-header .site-branding a,
.main-navigation ul li a,
.site-header-cart .cart-contents {
	color: #ffffff;
}

.site-branding .site-title {
	font-size: 28px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.site-branding .site-description {
	color: #d7c8b5;
}

.storefront-primary-navigation {
	background: #161616;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.added_to_cart {
	background: var(--nailuxe-ink);
	border-radius: 3px;
	color: #ffffff;
	font-weight: 700;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.added_to_cart:hover {
	background: var(--nailuxe-gold);
	color: #111111;
}

.site-main ul.products li.product {
	background: #ffffff;
	border: 1px solid var(--nailuxe-line);
	border-radius: 6px;
	padding: 18px;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.05);
}

ul.products li.product img {
	border-radius: 4px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #fbf9f5;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	line-height: 1.3;
	min-height: 42px;
}

ul.products li.product .price {
	color: var(--nailuxe-ink);
	font-size: 17px;
	font-weight: 700;
}

.woocommerce-products-header,
.entry-header {
	border-bottom: 1px solid var(--nailuxe-line);
	margin-bottom: 28px;
	padding-bottom: 18px;
}

.woocommerce-breadcrumb {
	color: var(--nailuxe-muted);
}

.nailuxe-full-width .content-area {
	float: none;
	margin-right: 0;
	width: 100%;
}

.nailuxe-full-width .widget-area {
	display: none;
}

.site-footer {
	background: #111111;
	color: #d7c8b5;
}

.site-footer a {
	color: #ffffff;
}

@media (max-width: 767px) {
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	html,
	#page,
	.site,
	.site-content,
	.content-area,
	.site-main,
	.entry-content {
		max-width: 100%;
		overflow-x: hidden;
	}

	.col-full {
		box-sizing: border-box;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 24px !important;
		padding-right: 24px !important;
		width: 100% !important;
	}

	.site-header .site-search {
		display: none;
	}

	.site-header .col-full {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}

	.site-header .site-branding {
		float: none;
		margin-bottom: 0;
		width: auto;
	}

	.site-branding .site-title {
		font-size: 26px;
	}

	button.menu-toggle {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.45);
		color: #ffffff;
		float: none;
		margin-left: 0;
		margin-right: 0;
		position: static;
	}

	button.menu-toggle:hover {
		background: transparent;
		color: #ffffff;
	}

	button.menu-toggle:after,
	button.menu-toggle:before,
	button.menu-toggle span:before {
		background-color: #ffffff;
	}

	.site-main ul.products {
		display: grid;
		gap: 14px;
		grid-template-columns: minmax(0, 1fr);
		margin-left: 0;
		max-width: calc(100vw - 48px);
	}

	.site-main ul.products li.product {
		box-sizing: border-box;
		float: none !important;
		margin: 0 !important;
		max-width: calc(100vw - 48px) !important;
		padding: 12px;
		width: auto !important;
	}

	ul.products li.product .woocommerce-loop-product__title {
		font-size: 14px;
		min-height: auto;
	}

	ul.products li.product img,
	.woocommerce .product-category img {
		display: block;
		height: auto;
		max-width: 100% !important;
		width: 100% !important;
	}

	ul.products li.product .button {
		font-size: 13px;
		padding-left: 10px;
		padding-right: 10px;
		width: 100%;
	}

	.woocommerce .product-category a {
		box-sizing: border-box;
		max-width: calc(100vw - 48px);
		overflow: hidden;
		padding: 10px;
	}

	.woocommerce .product-category h2 {
		font-size: 14px;
		line-height: 1.25;
	}

	.nailuxe-concept-home {
		margin-left: -24px;
		margin-right: -24px;
	}

	.nailuxe-hero {
		background:
			radial-gradient(circle at 88% 77%, rgba(255, 255, 255, 0.78) 0 54px, transparent 55px),
			linear-gradient(105deg, var(--nailuxe-pink) 0 55%, var(--nailuxe-pale-pink) 55% 100%);
		min-height: 760px;
	}

	.nailuxe-hero__inner {
		display: block;
		min-height: 760px;
		padding: 40px 32px 0;
	}

	.nailuxe-hero__copy {
		padding-top: 0;
		width: 100% !important;
	}

	.nailuxe-hero__eyebrow {
		font-size: 11px;
		letter-spacing: 0.22em;
		margin-bottom: 28px;
		width: 260px !important;
	}

	.nailuxe-hero h1 {
		font-size: 54px;
		margin-bottom: 26px;
		max-width: calc(100vw - 64px) !important;
		width: 326px !important;
		word-break: normal;
	}

	.nailuxe-hero__lead {
		font-size: 22px;
		line-height: 1.48;
		margin-bottom: 36px;
		max-width: calc(100vw - 64px) !important;
		width: 310px !important;
		word-break: normal;
	}

	.nailuxe-hero__actions {
		gap: 14px;
	}

	.nailuxe-hero__button {
		font-size: 14px;
		min-width: 0;
		padding: 18px 24px;
		width: min(100%, 292px);
	}

	.nailuxe-hero__visual {
		min-height: 360px;
	}

	.nailuxe-hero__product {
		bottom: -118px;
		right: -30px;
		width: 292px;
	}

	.nailuxe-home-band {
		padding: 42px 24px;
	}

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

/* ==== Home hero + sections (block fallbacks) ==== */
.has-base-background-color {
	background-color: #faf7f2;
}

.entry-content h1,
.entry-content h2 {
	color: var(--nailuxe-ink);
}

.entry-content h1 {
	letter-spacing: -0.02em;
}

.wp-block-group.alignfull {
	width: 100%;
}

.home.page .entry-header {
	display: none;
}

.nailuxe-concept-home {
	background: #fff7fa;
	margin-top: 0;
}

.nailuxe-hero {
	background:
		radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.8) 0 74px, transparent 75px),
		linear-gradient(108deg, var(--nailuxe-pink) 0 54%, var(--nailuxe-pale-pink) 54% 100%);
	min-height: 690px;
	overflow: hidden;
	position: relative;
}

.nailuxe-hero:before,
.nailuxe-hero:after {
	background: rgba(255, 255, 255, 0.56);
	border-radius: 999px;
	content: "";
	position: absolute;
}

.nailuxe-hero:before {
	bottom: -38px;
	height: 116px;
	left: 8%;
	width: 116px;
}

.nailuxe-hero:after {
	bottom: 30px;
	height: 72px;
	right: 18%;
	width: 72px;
}

.nailuxe-hero__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
	margin: 0 auto;
	max-width: 1180px;
	min-height: 690px;
	padding: 62px 30px 0;
	position: relative;
	z-index: 1;
}

.nailuxe-hero__copy {
	max-width: 610px;
	padding-top: 28px;
}

.nailuxe-hero__eyebrow {
	color: rgba(17, 17, 17, 0.68);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.25em;
	margin: 0 0 34px;
	text-transform: uppercase;
}

.nailuxe-hero h1 {
	color: #070707;
	font-size: clamp(58px, 8vw, 104px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 0.98;
	margin: 0 0 34px;
	text-transform: uppercase;
}

.nailuxe-hero__lead {
	color: #141414;
	font-size: 28px;
	line-height: 1.42;
	margin: 0 0 42px;
	max-width: 560px;
}

.nailuxe-hero__actions {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nailuxe-hero__button {
	border-radius: 999px;
	display: inline-flex;
	font-size: 17px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: 0.03em;
	min-width: 285px;
	padding: 20px 30px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.nailuxe-hero__button--primary {
	background: #070707;
	color: #ffffff;
}

.nailuxe-hero__button--secondary {
	background: #ffffff;
	box-shadow: 0 20px 45px rgba(17, 17, 17, 0.12);
	color: #070707;
}

.nailuxe-hero__button:hover {
	background: var(--nailuxe-gold);
	color: #070707;
}

.nailuxe-hero__visual {
	align-self: end;
	min-height: 520px;
	position: relative;
}

.nailuxe-hero__product {
	bottom: -55px;
	filter: drop-shadow(0 34px 34px rgba(17, 17, 17, 0.28));
	max-width: 520px;
	position: absolute;
	right: 1%;
	transform: rotate(7deg);
	width: min(92%, 520px);
}

.nailuxe-hero__product img {
	background: transparent;
	border: 0;
	border-radius: 0;
	display: block;
	height: auto;
	width: 100%;
}

.nailuxe-home-band {
	padding: 56px 24px;
}

.nailuxe-home-band__inner {
	margin: 0 auto;
	max-width: 1120px;
}

.nailuxe-section-title {
	font-size: 34px;
	line-height: 1.1;
	margin: 0 0 24px;
}

/* Product category cards on home */
.woocommerce .product-category a {
	background: #ffffff;
	border: 1px solid var(--nailuxe-line);
	border-radius: 6px;
	display: block;
	padding: 14px;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.05);
}

.woocommerce .product-category img {
	border-radius: 4px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.woocommerce .product-category h2 {
	font-size: 16px;
	text-align: center;
}

/* Single product page polish */
div.product div.images img {
	border-radius: 6px;
	background: #ffffff;
	border: 1px solid var(--nailuxe-line);
}

div.product .summary .price {
	font-size: 24px;
	font-weight: 800;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--nailuxe-ink);
	font-weight: 700;
}

@media (max-width: 767px) {
	.nailuxe-concept-home {
		margin-left: -24px;
		margin-right: -24px;
	}

	.nailuxe-hero {
		background:
			radial-gradient(circle at 88% 81%, rgba(255, 255, 255, 0.78) 0 54px, transparent 55px),
			linear-gradient(105deg, var(--nailuxe-pink) 0 55%, var(--nailuxe-pale-pink) 55% 100%);
		min-height: 860px;
	}

	.nailuxe-hero__inner {
		display: block;
		min-height: 860px;
		padding: 40px 32px 0;
	}

	.nailuxe-hero__copy {
		padding-top: 0;
		width: 100% !important;
	}

	.nailuxe-hero__eyebrow {
		font-size: 11px;
		letter-spacing: 0.22em;
		margin-bottom: 28px;
		width: 260px !important;
	}

	.nailuxe-hero h1 {
		font-size: 54px;
		margin-bottom: 26px;
		max-width: calc(100vw - 64px) !important;
		width: 326px !important;
		word-break: normal;
	}

	.nailuxe-hero__lead {
		font-size: 22px;
		line-height: 1.48;
		margin-bottom: 36px;
		max-width: calc(100vw - 64px) !important;
		width: 310px !important;
		word-break: normal;
	}

	.nailuxe-hero__actions {
		gap: 14px;
		position: relative;
		z-index: 2;
	}

	.nailuxe-hero__button {
		font-size: 14px;
		min-width: 0;
		padding: 18px 24px;
		width: min(100%, 292px);
	}

	.nailuxe-hero__visual {
		margin-top: 70px;
		min-height: 332px;
	}

	.nailuxe-hero__product {
		bottom: -10px;
		right: -30px;
		width: 272px;
	}

	.nailuxe-home-band {
		padding: 42px 24px;
	}

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