/*
Theme Name: Lumina V2
Theme URI: https://example.com/lumina
Author: Antigravity
Author URI: https://google.com
Description: A lightweight, high-performance boutique theme optimized for conversions and SEO.
Version: 2.1.0
Text Domain: lumina
*/

/* --- FUENTES LOCALES (Self-Hosted) --- */
/* inter-regular (400) */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}

/* inter-500 */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}

/* inter-600 */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* inter-700 */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}

:root {
	--color-primary: #1a1a1a;
	--color-secondary: #555;
	--color-accent: #c6a87c;

	/* Gold/Boutique accent */
	--color-background: #fff;
	--color-soft-gray: #f9f9f9;
	--font-heading: 'Inter', sans-serif;
	--font-body: 'Inter', sans-serif;
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--app-bar-height: 60px;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	color: var(--color-primary);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;

	/* Space for app bar only on mobile */
}

@media (width <=768px) {
	/* App bar removed in V2 */
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	margin-top: 0;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Footer */
.site-footer {
	padding: var(--spacing-lg) 0 var(--spacing-md);
	background-color: var(--color-background);
	border-top: 1px solid #f0f0f0;
	text-align: center;
}

.footer-legal-menu {
	border-bottom: 1px solid #f9f9f9;
	padding-bottom: var(--spacing-sm);
	margin-bottom: var(--spacing-sm);
}

.legal-menu-items {
	display: flex;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
	gap: 20px;
}

.legal-menu-items li a {
	font-size: 0.75rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-menu-items li a:hover {
	color: var(--color-primary);
}

.site-footer p {
	font-size: 0.7rem;
	color: #bbb;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: var(--spacing-sm);
}

/* Cookie Consent Banner */
.cookie-banner {
	position: fixed;
	bottom: var(--app-bar-height);

	/* Float above the mobile app bar */
	left: 20px;
	right: 20px;
	width: calc(100% - 40px);
	background-color: rgb(255 255 255 / 98%);
	backdrop-filter: blur(10px);
	border: 1px solid #f0f0f0;
	padding: 1.5rem;
	box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
	z-index: 9998;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	border-radius: 4px;
}

@media (width >=768px) {
	.cookie-banner {
		bottom: 30px;
		right: 30px;
		left: auto;
		width: 400px;
	}
}

.cookie-banner-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cookie-banner p {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--color-secondary);
}

.cookie-banner a {
	text-decoration: none;
	border-bottom: 1px solid #ddd;
	color: var(--color-primary);
}

.cookie-buttons {
	display: flex;
	gap: 10px;
}

.cookie-banner .button {
	flex: 1;
	padding: 12px;
	border: 1px solid var(--color-primary);
	background: transparent;
	color: var(--color-primary);
	cursor: pointer;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition: all 0.3s;
}

.cookie-banner .btn-accept {
	background: var(--color-primary);
	color: #fff;
}

.cookie-banner .btn-accept:hover {
	background-color: #333;
	border-color: #333;
}

.cookie-banner .btn-reject:hover {
	background-color: #f9f9f9;
}

/* Mobile App Bar Visibility */
.mobile-app-bar {
	display: flex;
	/* Default for mobile */
}

@media (width >=769px) {
	.mobile-app-bar {
		display: none !important;
	}
}

/* Legacy Filters removed - see assets/css/filters.css */

/* Accessibility: Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* === ESTRUCTURA DEL DRAWER (MODERNO) === */
.lumina-side-cart {
	position: fixed;
	top: 0;
	right: -400px;
	/* Oculto a la derecha */
	width: 350px;
	height: 100vh;
	background: #fff;
	z-index: 9999;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
	display: flex;
	flex-direction: column;
}

.lumina-side-cart.open {
	right: 0;
	/* Visible */
}

@media (max-width: 480px) {
	.lumina-side-cart {
		width: 100%;
		right: -100%;
	}
}

.cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s;
}

.cart-overlay.active {
	opacity: 1;
	visibility: visible;
}

.cart-header {
	padding: 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart-header h3 {
	margin: 0;
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.close-cart-btn {
	background: none;
	border: none;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

/* === ESTILOS RECUPERADOS DE TU V1 === */
/* Contenido del widget */
.widget_shopping_cart_content {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.woocommerce-mini-cart {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	list-style: none !important;
	margin: 0 !important;
}

/* Estilo de los items de la V1 */
.woocommerce-mini-cart-item {
	display: flex;
	gap: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid #f5f5f5;
	padding-bottom: 15px;
	position: relative;
}

.woocommerce-mini-cart-item img {
	width: 70px;
	height: auto;
	object-fit: cover;
}

/* Footer y Botones (Estilo idéntico a tu V1) */
.woocommerce-mini-cart__total {
	padding: 15px 20px;
	background: #fafafa;
	/* */
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #eee;
	margin-bottom: 0 !important;
}

.woocommerce-mini-cart__buttons {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.woocommerce-mini-cart__buttons .button {
	width: 100%;
	text-align: center;
	padding: 15px;
	border-radius: 0;
	/* */
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.woocommerce-mini-cart__buttons .checkout {
	background-color: #000;
	color: #fff;
}


/* --- SWATCHES (Text Labels) --- */
.variations_form select,
.variations select,
table.variations select {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lumina-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.lumina-swatch {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #e1e1e1;
	background-color: #fff;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
	min-width: 40px;
	text-align: center;
}

.lumina-swatch:hover {
	border-color: #000;
}

.lumina-swatch.selected {
	background-color: #000;
	color: #fff;
	border-color: #000;
}

.lumina-swatch.disabled {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
	pointer-events: none;
	background-color: #f5f5f5;
	border-color: #eee;
}

.lumina-swatch-label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
}

/* Fix "Clear" link appearance - HIDDEN BY DEFAULT */
.reset_variations {
	display: none !important;
}