.quickview-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 5000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.quickview-overlay.show {
	display: flex;
}

.quickview-modal {
	position: relative;
	background: #ffffff;
	border-radius: 8px;
	max-width: 760px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	display: flex;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.quickview-cerrar {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: #f2f2f2;
	color: #333333;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.quickview-cerrar:hover {
	background: #e0e0e0;
}

.quickview-imagen {
	position: relative;
	flex: 0 0 45%;
	background: #f7f7f7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow: hidden;
}

.quickview-imagen img {
	width: 100%;
	max-width: 280px;
	object-fit: contain;
	cursor: zoom-in;
	transition: transform 0.2s ease;
}

.quickview-flecha {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: #ffffff;
	color: #333333;
	font-size: 14px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	z-index: 2;
}

.quickview-flecha:hover {
	background: #1e126d;
	color: #ffffff;
}

.quickview-flecha-prev {
	left: 12px;
}

.quickview-flecha-next {
	right: 12px;
}

.quickview-dots {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.quickview-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #cccccc;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.quickview-dot:hover {
	background: #999999;
}

.quickview-dot-activo {
	background: #1e126d;
	transform: scale(1.2);
}

.quickview-info {
	flex: 1;
	padding: 40px 32px 32px 32px;
}

.quickview-info h2 {
	font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
	margin: 0 0 12px 0;
	font-size: 22px;
	font-weight: bold;
	color: #222222;
	text-align: left;
	text-transform: none;
}

.quickview-info h2::before,
.quickview-info h2::after {
	content: none;
}

.quickview-medida {
	display: inline-block;
	font-size: 13px;
	background: #1e126d;
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 20px;
	margin: 0 0 16px 0;
}

.quickview-medida:empty {
	display: none;
	margin: 0;
}

.quickview-medida strong {
	color: #ffffff;
	font-weight: 600;
}

.quickview-descripcion {
	font-size: 14px;
	line-height: 1.7;
	color: #555555;
	margin: 0 0 24px 0;
}

.quickview-acciones {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.quickview-cantidad {
	width: 64px;
	padding: 10px 8px;
	text-align: center;
	border: 1px solid #cccccc;
	border-radius: 4px;
	font-size: 14px;
}

.quickview-btn-agregar {
	background: #1e126d;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .5px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.quickview-btn-agregar:hover {
	background: #28a745;
}

.quickview-btn-agregar:disabled {
	opacity: 0.6;
	cursor: default;
}

.quickview-mensaje {
	display: none;
	font-size: 13px;
	margin: 0 0 14px 0;
}

.quickview-mensaje.quickview-mensaje-visible {
	display: block;
}

.quickview-mensaje-ok {
	color: #1e7e34;
}

.quickview-mensaje-error {
	color: #dc3545;
}

.quickview-ver-mas {
	display: inline-block;
	font-size: 13px;
	color: #1e126d;
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.quickview-modal {
		flex-direction: column;
		max-height: 92vh;
	}

	.quickview-imagen {
		flex: 0 0 auto;
		padding: 20px;
	}

	.quickview-info {
		padding: 24px 20px 24px 20px;
	}
}
