/*
Theme Name: Bijoux Child
Theme URI: https://bijoux.vamtam.com
Description: Child theme for Nia Luxe Empire custom WooCommerce product pages.
Author: Nia
Template: bijoux
Version: 1.0.0
Text Domain: bijoux-child
*/

:root {
	--nia-ink: #17120a;
	--nia-ink-soft: #423829;
	--nia-gold: #9a720c;
	--nia-gold-soft: #d9b85f;
	--nia-line: #e8e1d2;
	--nia-paper: #fffdf8;
	--nia-muted: #756b5d;
}

body.single-product .site-content,
body.single-product main {
	background: linear-gradient(180deg, #fffdf8 0%, #ffffff 42%);
}

.single-product .nia-product-page {
	margin: 34px auto 58px;
	max-width: 1240px;
	padding: 0 22px;
}

.single-product .nia-product-main {
	align-items: start;
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}

.single-product .nia-product-gallery {
	background: #fff;
	border: 1px solid var(--nia-line);
	border-radius: 8px;
	box-shadow: 0 20px 55px rgba(23, 18, 10, .08);
	padding: 18px;
}

.single-product .nia-product-gallery .woocommerce-product-gallery,
.single-product .nia-product-gallery .woocommerce-product-gallery__wrapper {
	margin-bottom: 0;
}

.single-product .nia-product-gallery img {
	border-radius: 6px;
}

.single-product .nia-product-summary {
	background: #fff;
	border: 1px solid var(--nia-line);
	border-radius: 8px;
	box-shadow: 0 20px 55px rgba(23, 18, 10, .08);
	padding: 34px;
	position: sticky;
	top: 36px;
}

.single-product .nia-product-summary .product_title {
	color: var(--nia-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0 0 18px;
}

.single-product .nia-product-summary .price {
	color: var(--nia-gold);
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 18px;
}

.single-product .nia-product-summary .woocommerce-product-details__short-description {
	border-top: 1px solid var(--nia-line);
	color: var(--nia-ink-soft);
	font-size: 16px;
	line-height: 1.75;
	margin-top: 18px;
	padding-top: 20px;
}

.single-product .nia-product-summary form.cart {
	align-items: center;
	border-bottom: 1px solid var(--nia-line);
	border-top: 1px solid var(--nia-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0;
	padding: 22px 0;
}

.single-product .nia-product-summary .quantity input.qty {
	border: 1px solid var(--nia-line);
	border-radius: 4px;
	min-height: 46px;
}

.single-product .nia-product-summary .single_add_to_cart_button {
	background: var(--nia-ink);
	border-radius: 4px;
	box-shadow: none;
	color: #fff;
	font-weight: 700;
	min-height: 46px;
	padding: 0 28px;
	text-transform: none;
}

.single-product .nia-product-summary .single_add_to_cart_button:hover {
	background: var(--nia-gold);
	color: #fff;
}

.single-product .nia-product-summary .product_meta {
	color: var(--nia-muted);
	display: grid;
	font-size: 13px;
	gap: 8px;
	margin-top: 18px;
}

.single-product .nia-product-summary .product_meta a {
	color: var(--nia-ink);
	text-decoration: none;
}

.nia-jewellery-specs {
	background: var(--nia-paper);
	border: 1px solid var(--nia-line);
	border-radius: 8px;
	margin: 24px 0 4px;
	padding: 22px;
}

.nia-jewellery-specs__title {
	color: var(--nia-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 500;
	margin: 0 0 16px;
}

.nia-jewellery-specs__grid {
	display: grid;
	gap: 10px 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nia-jewellery-spec {
	border-bottom: 1px solid rgba(232, 225, 210, .8);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 8px 0;
}

.nia-jewellery-spec span {
	color: var(--nia-muted);
	font-size: 13px;
}

.nia-jewellery-spec strong {
	color: var(--nia-ink);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}

.single-product .nia-product-after {
	margin-top: 42px;
}

.single-product .nia-product-after .woocommerce-tabs {
	background: #fff;
	border: 1px solid var(--nia-line);
	border-radius: 8px;
	box-shadow: 0 16px 45px rgba(23, 18, 10, .06);
	padding: 28px;
}

.single-product .nia-product-after .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--nia-line);
	margin: 0 0 24px;
	padding: 0;
}

.single-product .nia-product-after .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 22px 0 0;
	padding: 0 0 12px;
}

.single-product .nia-product-after .woocommerce-tabs ul.tabs li.active {
	border-bottom: 2px solid var(--nia-gold);
}

.single-product .nia-product-after .woocommerce-tabs ul.tabs li a {
	color: var(--nia-ink);
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 900px) {
	.single-product .nia-product-main {
		grid-template-columns: 1fr;
	}

	.single-product .nia-product-summary {
		position: static;
	}
}

@media (max-width: 560px) {
	.single-product .nia-product-page {
		margin-top: 18px;
		padding: 0 14px;
	}

	.single-product .nia-product-summary {
		padding: 24px 18px;
	}

	.nia-jewellery-specs__grid {
		grid-template-columns: 1fr;
	}
}

/* Hide the placeholder "Lorem ipsum..." text under the footer logo. */
.elementor-element-bf17b4a {
	display: none !important;
}

/* =========================================================
   Footer bottom bar (copyright / legal links)
   ========================================================= */
.nia-footer-bottom {
	background: #faf7f2;
	border-top: 1px solid rgba(154, 114, 12, 0.28);
	width: 100%;
}

.nia-footer-bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 22px;
	font-size: 14px;
	color: #5b5348;
}

.nia-footer-bottom .nia-fb-copy {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.nia-footer-bottom .nia-fb-crown {
	color: #b78a3c;
	flex: 0 0 auto;
}

.nia-footer-bottom .nia-fb-link {
	color: #3a332a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nia-footer-bottom .nia-fb-link:hover {
	color: #9a720c;
}

.nia-footer-bottom .nia-fb-dev strong {
	color: #17120a;
	font-weight: 700;
}

/* Gold star separators. */
.nia-footer-bottom .nia-fb-star {
	width: 10px;
	height: 10px;
	flex: 0 0 auto;
	background: #b78a3c;
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* Responsive: stack items and drop the star separators on small screens. */
@media (max-width: 768px) {
	.nia-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		gap: 10px;
		padding: 20px 18px;
		font-size: 13px;
	}

	.nia-footer-bottom .nia-fb-star {
		display: none;
	}
}

/* Privacy Policy / Terms: theme forces a 395px-tall title band, leaving a big
   gap. Collapse it so the content sits just under the heading. */
body.page-id-991232 .page-header,
body.page-id-4354 .page-header {
	min-height: 0 !important;
}

body.page-id-991232 #sub-header .meta-header-inside,
body.page-id-4354 #sub-header .meta-header-inside {
	padding: 24px 0 0;
}

body.page-id-991232 #main,
body.page-id-4354 #main {
	padding-top: 6px;
}
