ZAPATOS SPARCO MIKO
/* ========================================================== */
/* 1. RECUADRO CUADRADO DE 800px PARA LA FOTO PRINCIPAL */
/* ========================================================== */
.contenedor-foto-cuadrada {
width: 100%;
max-width: 800px;
aspect-ratio: 1 / 1;
margin: 20px auto;
background-color: #f5f5f5;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
box-sizing: border-box;
}
.target-foto-principal {
position: relative;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
cursor: zoom-in;
overflow: hidden; /* Mantiene la lupa dentro del cuadro */
}
.foto-principal {
width: 100%;
height: 100%;
object-fit: contain;
padding: 15px;
box-sizing: border-box;
transition: transform 0.3s ease;
}
.badge-ampliar {
position: absolute;
bottom: 20px;
right: 20px;
background-color: rgba(0, 0, 0, 0.75);
color: #ffffff;
font-family: system-ui, sans-serif;
font-size: 13px;
font-weight: 600;
padding: 8px 14px;
border-radius: 20px;
backdrop-filter: blur(4px);
pointer-events: none;
z-index: 6;
}
/* ========================================================== */
/* 2. LUPA / CUADRO DE AUMENTO EN HOVER (TIPO SPARCO NITRO) */
/* ========================================================== */
.target-foto-principal::before {
content: «»;
position: absolute;
top: 50%;
left: 50%;
width: 280px; /* Ancho de la ventana de lupa */
height: 280px; /* Alto de la ventana de lupa */
border: 3px solid #ffffff;
border-radius: 6px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
/* Carga la imagen de la zapatilla en alta resolución dentro de la lupa */
background-image: url(‘https://www.netejasupernet.com/wp-content/uploads/2026/09/Gemini_Generated_Image_5joxt55joxt55jox.png’);
background-repeat: no-repeat;
background-size: 260%; /* Nivel de magnificación/detalle */
background-position: center; /* Centrado en el detalle de la textura/piel */
transform: translate(-50%, -50%) scale(0.6);
opacity: 0;
pointer-events: none;
z-index: 5;
transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Muestra el cuadro de aumento al pasar el ratón */
.target-foto-principal:hover::before {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
.target-foto-principal:hover .foto-principal {
transform: scale(1.04);
}
/* ========================================================== */
/* 3. LIGHTBOX INTERACTIVO 100% CSS (ZOOM + DESPLAZAMIENTO) */
/* ========================================================== */
.lightbox-checkbox,
.zoom-checkbox {
display: none !important;
}
.modal-lightbox-overlay {
display: none;
position: fixed;
z-index: 999999;
inset: 0;
background-color: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(5px);
justify-content: center;
align-items: center;
user-select: none;
}
#lightbox-toggle:checked ~ .modal-lightbox-overlay {
display: flex;
}
.modal-cerrar-fondo {
position: absolute;
inset: 0;
cursor: pointer;
}
.modal-lightbox-wrapper {
position: relative;
z-index: 2;
background-color: #ffffff;
width: 92vw;
max-width: 1100px;
height: 90vh;
max-height: 900px;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(0,0,0,0.5);
overflow: hidden;
display: flex;
flex-direction: column;
}
.modal-top-bar {
height: 50px;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eeeeee;
background: #ffffff;
z-index: 10;
font-family: system-ui, sans-serif;
}
.modal-instrucciones {
font-size: 14px;
color: #666666;
font-weight: 500;
}
.modal-btn-cerrar {
color: #333333;
font-size: 32px;
font-weight: bold;
cursor: pointer;
line-height: 1;
transition: color 0.2s;
}
.modal-btn-cerrar:hover {
color: #ff0000;
}
.modal-stage-scrollable {
flex: 1;
position: relative;
width: 100%;
height: 100%;
overflow: auto;
display: flex;
background-color: #f9f9f9;
}
.target-zoom-label {
margin: auto;
display: flex;
align-items: center;
justify-content: center;
cursor: zoom-in;
padding: 20px;
box-sizing: border-box;
}
.foto-zoomable

