/*
Theme Name: Domus
Theme URI: https://ecomenterprisesl.com
Description: Premium Full Site Editing theme for DOMUS — architectural living e-commerce. Built on a Material Design 3 tonal palette with Manrope typography.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
Author: Ecom Enterprise SL
Author URI: https://ecomenterprisesl.com
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domus
*/

/* ── Sticky header glass effect ─────────────────────────────────── */
.domus-header {
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--outline-variant);
	box-shadow: 0 1px 24px rgba(3, 69, 37, 0.04);
	z-index: 100;
}

/* ── Ambient card shadows ────────────────────────────────────────── */
.domus-card {
	box-shadow: 0 20px 40px rgba(3, 69, 37, 0.05);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.domus-card:hover {
	box-shadow: 0 28px 56px rgba(3, 69, 37, 0.09);
	transform: translateY(-4px);
}

/* ── Product card image zoom ─────────────────────────────────────── */
.domus-product-card .wp-block-image img {
	transition: transform 0.5s ease;
}
.domus-product-card:hover .wp-block-image img {
	transform: scale(1.08);
}
.domus-product-card .wp-block-image {
	overflow: hidden;
}

/* ── Bento category cards ────────────────────────────────────────── */
.domus-category-card {
	overflow: hidden;
	position: relative;
}
.domus-category-card img {
	transition: transform 0.7s ease;
}
.domus-category-card:hover img {
	transform: scale(1.05);
}

/* ── FAQ accordion (core/details) ────────────────────────────────── */
.domus-faq .wp-block-details {
	border: 1px solid var(--wp--preset--color--outline-variant);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.3s ease;
	padding: 0;
	margin-bottom: 1rem;
}
.domus-faq .wp-block-details:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.domus-faq .wp-block-details summary {
	padding: 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.domus-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}
.domus-faq .wp-block-details[open] summary {
	border-bottom: 1px solid var(--wp--preset--color--outline-variant);
}
.domus-faq .wp-block-details > *:not(summary) {
	padding: 1rem 1.5rem 1.5rem;
	color: var(--wp--preset--color--on-surface-variant);
}

/* ── Button ghost (gold) style ───────────────────────────────────── */
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--secondary);
	border: 1px solid var(--wp--preset--color--secondary);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--on-secondary);
}

/* ── Testimonial divider ─────────────────────────────────────────── */
.domus-testimonial-divider {
	border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Newsletter input ────────────────────────────────────────────── */
.domus-newsletter .wp-block-search__input {
	border-radius: 2px 0 0 2px;
	border: 1px solid var(--wp--preset--color--outline-variant);
	font-size: 0.75rem;
}
.domus-newsletter .wp-block-search__button {
	border-radius: 0 2px 2px 0;
	background: var(--wp--preset--color--primary);
	color: #ffffff;
}

/* ── Label / overline text utility ───────────────────────────────── */
.domus-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ── Section decorator line ──────────────────────────────────────── */
.domus-section-rule {
	width: 80px;
	height: 2px;
	background: var(--wp--preset--color--secondary);
	margin: 1rem auto 0;
}
