* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: system-ui, 'Segoe UI', 'Helvetica Neue', 'Poppins', sans-serif;
	background-color: #f4f2ef;
	line-height: 1.4;
}

/* HEADER: fondo gris claro, texto blanco */
.header {
	background-color: #d1d5db;
	color: white;
	text-align: center;
	padding: 2.5rem 1.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.header h1 {
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
	white-space: pre-line;
}

/* contenedor de dos columnas (flex para que se adapte) */
.catalogo-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1400px;
	margin: 2rem auto;
	padding: 0 1.5rem;
	gap: 2rem;
}

/* Cada columna ocupará el 50% del espacio, pero en móvil se apilan */
.columna {
	flex: 1;
	min-width: 280px;
	border-radius: 2rem;
	padding: 1.8rem 1.5rem 2.5rem 1.5rem;
	box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.columna:hover {
	transform: translateY(-5px);
}

/* Títulos de cada columna */
.titulo-dama {
	font-size: 2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 1.8rem;
	color: #3e1a2b;
	background-color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	width: 100%;
	padding: 0.6rem 0;
	border-radius: 60px;
	backdrop-filter: blur(2px);
	letter-spacing: -0.3px;
}

.titulo-caballero {
	font-size: 2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 1.8rem;
	color: #102b3f;
	background-color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	width: 100%;
	padding: 0.6rem 0;
	border-radius: 60px;
	backdrop-filter: blur(2px);
	letter-spacing: -0.3px;
}

/* Fondo degradado para dama (rosa) */
.bg-dama {
	background: linear-gradient(145deg, #ffe0f0 0%, #ffb6d9 60%, #ff8cc6 100%);
}

/* Fondo degradado para caballero (azul) */
.bg-caballero {
	background: linear-gradient(135deg, #d4eaff 0%, #7abff7 50%, #3f92d6 100%);
}

/* Grilla de productos dentro de cada columna */
.grid-productos {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Tarjeta individual de cada fragancia (dupe) */
.producto-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(0px);
	border-radius: 1.8rem;
	padding: 1.2rem 1.2rem 1.2rem 1.5rem;
	transition: all 0.25s ease;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(255,255,240,0.6);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.producto-card:hover {
	background: white;
	box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.2);
	transform: scale(1.01);
	border-left: 5px solid #e6b422;
}

/* info texto del perfume */
.producto-info {
	flex: 3;
	min-width: 180px;
}

.producto-nombre {
	font-size: 1.45rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: #1e1e2a;
	letter-spacing: -0.2px;
}

.producto-descripcion {
	font-size: 0.85rem;
	color: #4a4a5a;
	margin-bottom: 0.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.inspirado-en {
	font-size: 0.75rem;
	background: #ececef;
	display: inline-block;
	padding: 0.2rem 0.7rem;
	border-radius: 30px;
	color: #2c2c3a;
	font-weight: 500;
}

.precio {
	font-size: 1.3rem;
	font-weight: 800;
	color: #965d38;
	margin-top: 0.3rem;
}

.precio small {
	font-size: 0.75rem;
	font-weight: 400;
	color: #6b6b7b;
}

/* zona de badge "dupe" o etiqueta */
.producto-badge {
	background: #ffd966;
	padding: 0.4rem 0.8rem;
	border-radius: 40px;
	font-size: 0.7rem;
	font-weight: bold;
	color: #3d2a1a;
	text-align: center;
	min-width: 65px;
	margin-left: 0.5rem;
}

/* Responsive para pantallas medianas */
@media (max-width: 780px) {
	.header h1 {
		font-size: 2rem;
	}
	.titulo-dama, .titulo-caballero {
		font-size: 1.7rem;
	}
	.producto-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.8rem;
	}
	.producto-badge {
		align-self: flex-start;
		margin-left: 0;
	}
	.columna {
		padding: 1.2rem;
	}
}

@media (max-width: 580px) {
	.catalogo-container {
		padding: 0 1rem;
		gap: 1.5rem;
	}
	.producto-nombre {
		font-size: 1.25rem;
	}
}

/* pie de página sutil */
.footer-note {
	text-align: center;
	font-size: 0.75rem;
	color: #7c7c8a;
	padding: 2rem 1rem 2rem;
	border-top: 1px solid #ddd8cf;
	margin-top: 1rem;
	background: #faf7f2;
}

.producto-imagen {
	width: 80px;
	height: 80px;
	border-radius: 1rem;
	object-fit: cover;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s, box-shadow 0.2s;
	background-color: #f8f0e6;
	margin-right: 1rem;
}

.producto-imagen:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* NUEVO ESTILO PARA MODAL - VERSIÓN ACTUALIZADA */
/* ============================================ */

.modal-perfume {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-perfume .modal-contenido {
    background: transparent;
    display: flex;
    flex-direction: row;
    width: 85%;
    max-width: 1300px;
    height: 80%;
    gap: 0.5rem;
}

.modal-perfume .modal-imagen {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-perfume .modal-imagen img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

.modal-perfume .modal-grafica {
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Título centrado */
.modal-perfume .modal-grafica h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: white;
    text-align: center;
    font-weight: 700;
}

/* Subtítulo centrado */
.modal-perfume .modal-grafica .subtitulo {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

/* Línea separadora */
.modal-perfume .separador {
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 2rem auto;
}

/* Contenedor de barras */
.modal-perfume .acordes-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-left: 60px;     /* ← Agrega esta línea */
}

/* Cada fila de acorde */
.modal-perfume .barra-acorde {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Nombre del acorde: alineado a la derecha */
.modal-perfume .nombre-acorde {
    width: 200px;
    flex-shrink: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    text-align: right;
}

/* Fondo de la barra */
.modal-perfume .barra-fondo {
    flex: 0 0 300px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;      /* ← Usa la altura como radio (forma de píldora) */
    overflow: hidden;
}

.modal-perfume .barra-llenado {
    height: 100%;
    border-radius: 25px;      /* ← Mismo valor que el padre */
    transition: width 0.3s ease;
}

/* Sin escala numérica - eliminamos .valor-acorde */

/* Responsive */
@media (max-width: 768px) {
    .modal-perfume .modal-contenido {
        flex-direction: column;
        width: 90%;
        height: 85%;
        gap: 1rem;
    }
    
    .modal-perfume .modal-imagen {
        flex: 2;
    }
    
    .modal-perfume .modal-grafica {
        flex: 3;
    }
    
    .modal-perfume .modal-grafica h3 {
        font-size: 1.3rem;
    }
    
    .modal-perfume .nombre-acorde {
        width: 80px;
        font-size: 0.8rem;
    }
}
