* {
    font-family: 'Playfair Display', serif;
    margin: 0;
    color: #FFCF66;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/finoso/fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Inria Sans';
    src: url('/finoso/fonts/Inria_Sans/InriaSans-Regular.ttf') format('truetype');
}
body {
    background-color: #090909;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
h3, .menu {
    overflow: hidden;
}
.login {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #090909;
    width: 25px;
    height: 25px;
    cursor: none;
}
nav {
    width: 100vw;
    display: flex;
    background-color: #090909;
    color: white;
    padding: 5px 2% 5px 8%;
    box-sizing: border-box;
}
.texto-nombre {
    width: 35%;
    text-align: left;
    font-weight: normal;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s forwards;
}
@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.texto-nombre h2 {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #FFCF66;
}
.menu {
    display: flex;
    width: 35%;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDownFade 1s ease-out forwards
}
@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.iconos-menu {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-width: 80px;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDownFade 1s ease-out forwards
}
@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.icono-login {
    display: flex;
    justify-content: flex-end;
    width: 40%;
}
.icono-carrito {
    display: flex;
    width: 40%;
    position: relative;
}
.contador-carrito {
    position: absolute;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    display: none; /* oculto si no hay productos */
}
.iconos-menu .icono-carrito .contador-carrito {
    background: #FF3B30;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.icono-carrito svg {
    width: 50px;
    object-fit: cover;
    cursor: pointer;
    min-width: 50px;
}
.icono-login svg {
    width: 25px;
    object-fit: cover;
    cursor: pointer;
}
.icono-carrito svg,
.icono-carrito .contador-carrito {
    transition: all 0.3s ease;
}
.icono-carrito:hover svg,
.icono-carrito:hover .contador-carrito {
    transform: translateY(-3px) scale(1.08);    filter: brightness(1.1);
    transition: all 0.3s ease;
}
.icono-login svg,
.icono-login .contador-carrito {
    transition: all 0.3s ease;
}
.icono-login:hover svg,
.icono-login:hover {
    transform: translateY(-3px) scale(1.07);    filter: brightness(1.1);
    transition: all 0.3s ease;
}
.texto-inicio {
    display: flex;
    justify-content: center;
    width: 100%;
}
.texto-inicio h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #FFFFFF;
}
.texto-catalogo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: 10px;
}
.texto-catalogo h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #FFFFFF;
}
.texto-contacto {
    display: flex;
    justify-content: center;
    width: 100%;
}
.texto-contacto h3 {
    font-size: 1rem;
    font-weight: normal;
    color: #FFFFFF;
}
.texto-inicio h3:hover,
.texto-catalogo h3:hover,
.texto-contacto h3:hover {
  color: #d4af37; /* tono dorado fino */
}

/* Línea debajo al hacer hover */
.texto-inicio h3::after,
.texto-catalogo h3::after,
.texto-contacto h3::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #d4af37;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}
.texto-catalogo-finoso {
    display: grid;
    justify-items: center;
    width: 100%;
    margin: 15px 0;
    opacity: 0;
    transform: scale(0.5);
    animation: zoomIn 1s ease-out forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.texto-catalogo-finoso h3 {
    font-size: 3rem;
    font-weight: normal;
    padding: 5px 0;
    white-space: nowrap;
}
.texto-catalogo-finoso p {
    color: #FFFFFF;
    letter-spacing: 2px;
}
.contenedor-general-cards {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    padding: 20px;
    background: linear-gradient(to bottom, #090909 0%, #FFCF66 100%);
}
.contenedor-card {
    width: 90%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    /* Combinamos ambas animaciones separándolas por coma */
    animation: fadeUpCard 1s ease-out forwards, shadow-drop-top 0.4s linear both;
}

@keyframes fadeUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación escalonada - ahora necesitamos incluir ambas animaciones con sus delays */
.contenedor-card:nth-child(1) {
    animation-delay: 0.2s, 0.6s; /* delay para fadeUpCard y shadow-drop-top */
}
.contenedor-card:nth-child(2) {
    animation-delay: 0.4s, 0.8s;
}
.contenedor-card:nth-child(3) {
    animation-delay: 0.6s, 1s;
}
.contenedor-card:nth-child(4) {
    animation-delay: 0.8s, 1.2s;
}
.contenedor-card:nth-child(5) {
    animation-delay: 1s, 1.4s;
}
.contenedor-card:nth-child(6) {
    animation-delay: 1.2s, 1.6s;
}
.contenedor-card:nth-child(7) {
    animation-delay: 1.4s, 1.8s;
}
.contenedor-card:nth-child(8) {
    animation-delay: 1.6s, 2s;
}
.cuadro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 600px; /* Más grande */
    background: #080808;
    border-radius: 10px;
    position: relative;
    overflow: hidden; /* Para el efecto hover */
    border-radius: 10px;
    border: 2px solid #FFCF66;
    max-width: 350px; /* Más ancho */
    margin: 0 auto;
    transition: all 0.4s ease;
    cursor: pointer;
    justify-content: space-between; /* Distribuir el contenido */
}
.cuadro-card img {
    width: 90%;
    height: 75%; /* Más espacio para la imagen */
    object-fit: cover;
    border: 2px solid #FFCF66;
    border-radius: 8px;
    margin: 20px auto 10px auto;
    box-sizing: border-box;
    background-color: #0a0a0a; /* Negro profundo */
    background-image: radial-gradient(#1a1a1a 1%, transparent 1%);
    background-size: 5px 5px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    filter: brightness(1.2) contrast(1.1);
}
.zoom-image {
    display: block;
    max-width: 100%;
}
.lupa {
    position: absolute;
    border: 3px solid #FFD700;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    pointer-events: none;
    display: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    z-index: 99;
}
.texto-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    justify-content: center; /* Centrar el contenido */
    align-items: center; /* Centrar horizontalmente */
    flex: 1; /* Usar todo el espacio disponible */
    min-height: 80px; /* Altura mínima para el nombre */
}
.texto-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #FFFFFF;
    padding: 10px 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 0 8px rgba(255, 207, 102, 0.5);
}
.texto-card p {
    font-size: 1rem;
    font-weight: normal;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
}
.precio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.descuento {
    opacity: 0.6;
    text-decoration: line-through;
    color: rgb(255, 48, 89) !important;
}
.boton-wh {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ornamento {
    width: 100%;
    height: 15px;
    margin-top: 8px;
    display: block;
}
.texto-card button {
    font-family: 'InriaSans-Light.ttf';
    background: #090909;
    border: 2px solid #FFCF66;
    color: #FFCF66;
    font-size: 1.3rem;
    padding: 3%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Empujar el botón hacia abajo */
}
.texto-card button:hover {
    background: #FFCF66;
    color: #090909;
    box-shadow: 0 0 8px rgba(255, 207, 102, 0.5);
}

/* Efectos Hover para las tarjetas */
/* Hover Premium - Elevación + Oscurecer + Glow */
.cuadro-card:hover {
    transform: translateY(-12px) scale(1.02); /* Elevar más + escalar ligeramente */
    box-shadow: 0 20px 40px rgba(255, 207, 102, 0.4), 
                0 0 30px rgba(255, 207, 102, 0.2); /* Doble sombra para efecto glow */
    border-color: #FFD700;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* Fondo más oscuro */
}

.cuadro-card:hover .hover-overlay {
    opacity: 1;
    visibility: visible;
}

.cuadro-card:hover img {
    transform: scale(1.08); /* Zoom más pronunciado */
    filter: brightness(1.15) contrast(1.05); /* Más brillo y contraste */
}

/* Overlay de hover */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(255, 207, 102, 0.05) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    pointer-events: none; /* No bloquear clics en elementos superiores */
}

.hover-content {
    text-align: center;
    padding: 20px;
    color: white;
    max-width: 90%;
    border: none;
    width: 100%;
    pointer-events: auto; /* Permitir interacción con el contenido */
}

.hover-title {
    font-size: 1.5rem; /* Más grande */
    font-weight: bold;
    color: #FFCF66;
    margin-bottom: 18px; /* Más espacio */
    text-shadow: 0 0 8px rgba(255, 207, 102, 0.5);
    line-height: 1.3;
}

.hover-details {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #FFFFFF;
    width: 100%;
}

.hover-details .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px; /* Más espacio */
    padding: 8px 0; /* Más padding */
    border-bottom: 1px solid rgba(255, 207, 102, 0.15);
}

.hover-details .detail-label {
    color: #FFCF66;
    font-weight: bold;
    font-size: 0.95rem; /* Más grande */
}

.hover-details .detail-value {
    color: #FFFFFF;
    font-size: 0.95rem; /* Más grande */
}

.hover-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Permitir clics en los botones */
}

/* Botón secundario (Añadir al Carrito) - Estilo más sutil */
.btn-hover {
    padding: 10px 18px; /* Menos padding que el primario */
    border: 1.5px solid rgba(255, 207, 102, 0.6);
    background: transparent; /* Fondo transparente */
    color: #FFCF66;
    font-size: 0.9rem; /* Ligeramente más pequeño */
    font-weight: 500; /* Menos bold */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-hover:hover {
    background: rgba(255, 207, 102, 0.1); /* Fondo sutil en hover */
    border-color: #FFCF66;
    color: #FFCF66;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 207, 102, 0.3);
}

/* Botón primario (Ver Detalles) - Más prominente */
/* Lleva al usuario a la página del producto donde puede ver toda la información */
.btn-carrito {
    padding: 12px 20px; /* Más padding */
    background: linear-gradient(135deg, #FFCF66, #FFD700);
    color: #000;
    border: 2px solid #FFD700;
    font-size: 1rem;
    font-weight: bold; /* Más bold */
}

.btn-carrito:hover {
    background: linear-gradient(135deg, #FFD700, #FFCF66);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6); /* Sombra más fuerte */
    transform: translateY(-2px); /* Eleva más */
}
.btn-whatsapp {
    cursor: pointer;
}
/* MODAL */
.cerrar-modal {
    background: transparent;
    border: none;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 16px;
}  
.cerrar-modal:hover {
    color: #FFCF66;
}
.cuadro-carrito {
    position: absolute;
    top: 45px;
    right: 20px;
    z-index: 101;
    display: none;
    gap: 15px;
    width: 370px;
    height: 210px;
    padding: 20px;
    background: #090909;
    border-radius: 12px;
    border: 2px solid rgb(255, 255, 255);
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}
.texto-close-carrito {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.texto-carrito {
    width: 50%;
}
.texto-carrito h1 {
    font-size: 30px;
    color: rgb(255, 255, 255);
    text-align: center;
    margin: 0;
    white-space: nowrap;
    font-weight: normal;
}
.contenedor-info-relojes-carrito {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}
.contenedor-info-relojes-carrito {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.cuadro-info-reloj-carrito {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 207, 102, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cuadro-info-reloj-carrito:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFCF66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 207, 102, 0.3);
}

.img-reloj-carrito {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.img-reloj-carrito img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.nombre-precio-carrito {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.nombre-carrito h2 {
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.precio-carrito {
    display: flex;
    gap: 8px;
    align-items: center;
}

.precio-carrito h3 {
    font-size: 15px;
    color: #FFCF66;
    margin: 0;
    font-weight: 700;
}

.precio-carrito h4 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-decoration: line-through;
}
.contenedor-total-finalizar-carrito {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.total-carrito {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
}
.boton-eliminar button {
    padding: 5px;
    background: #090909;
    border: 2px solid #ffffff;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s ease;
}

.boton-eliminar button:hover {
    background: #FFCF66;
    border-color: #FFCF66;
    color: #090909;
}

.boton-eliminar button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.total-carrito h3 {
    font-size: 20px;
    font-weight: normal;
    margin: 0;
}
.boton-finalizar-carrito button {
    width: 140px;
    height: 40px;
    background: #090909;
    color: #FFFF;
    border: 2px solid #FFCF66;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.boton-finalizar-carrito button:hover {
    background: #FFCF66;
    box-shadow: 0px 0px 10px rgba(255, 216, 131, 0.5);
}
.close {
    background: linear-gradient(135deg, rgba(255, 222, 136, 0.15), rgba(255, 207, 102, 0.25));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 175, 32, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(249, 140, 7, 0.1);
}
.close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 175, 32, 0.1) 0%, rgba(249, 140, 7, 0.2) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.close:hover::before {
    opacity: 1;
}
.close:hover {
    background: linear-gradient(135deg, rgba(255, 207, 102, 0.25), rgba(249, 140, 7, 0.35));
    border-color: rgba(255, 175, 32, 0.6);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(249, 140, 7, 0.2),
        0 2px 10px rgba(255, 175, 32, 0.1);
}
.close svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}
.close:hover svg {
    transform: scale(1.1);
}
.close svg path {
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}
.close:hover svg path {
    stroke: #ffaf20;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(255, 175, 32, 0.4));
}
.close:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}
.close::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 222, 136, 0.3), 
        transparent, 
    rgba(255, 175, 32, 0.2), 
    transparent
    );
    border-radius: 13px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.close:hover::after {
    opacity: 1;
}
.user-box {
    display: none;
    background: linear-gradient(to bottom right, #2b2b2b, #1a1a1a);
    border: 1px solid #FFCF66;
    padding: 10px 15px;
    border-radius: 12px;
    position: absolute;
    top: 0; /* Ajusta según el diseño */
    right: 0; /* Ajusta según el diseño */
    color: #fff;
    font-family: 'Georgia', serif;
    box-shadow: 0 0 10px #FFCF66;
    z-index: 1000;
    width: 130px;
    text-align: center;
}

.user-box .username {
  font-size: 16px;
  color: #FFCF66;
  margin: 0 0 10px;
  font-weight: bold;
}

.user-box .username {
  color: #fff;
  font-style: italic;
}

.logout-btn {
  background-color: transparent;
  color: #FFCF66;
  border: 1px solid #FFCF66;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.logout-btn:hover {
  background-color: #FFCF66;
  color: #1a1a1a;
}
@media ( width < 1115px) {
    .marca p{
        font-size: 1.1rem;
        font-weight: normal;
        color: #FFFFFF;
        margin: 0;
    }
    .marca h2 {
        font-size: 1.5rem;
        color: #FFCF66;
        margin: 0;
    }
    .detalle p {
        font-size: 1.1rem;
        font-weight: normal;
        color: #FFFFFF;
        margin: 0;
    }
    .detalle h3 {
        font-size: 1.2rem;
        color: #FFCF66;
        margin: 0;
    }
    .precio-modal p {
        font-size: 1.1rem;
        font-weight: normal;
        color: #FFFFFF;
        margin: 0;
    }
    .precio-modal h3 {
        font-size: 1.6rem;
        color: #FFCF66;
        margin: 0;
    }
}
@media ( width < 1068px) {
    .user-box {
    top: 45px; /* Ajusta según el diseño */
    right: 13%; /* Ajusta según el diseño */
    width: 130px;
    }
}
@media (width < 768px) {
    .contenedor-img-info {
        display: grid;
        justify-items: center;
        align-items: center;
    }
    .cuadro-modal {
        height: auto;
    }
    .contenedor-img {
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .titulo-modal {
        display: flex;
        width: 100%;
    }
    .titulo-modal h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .estilos-boton {
        min-height: 0px;
    }
}
@media ( width < 660px) {
    nav {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .texto-nombre {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .menu {
        width: 100%;
    }
    .cuadro-carrito {
        width: 340px;
        height: 180px;
        top: 130px;
        right: 30px;
        padding: 20px;
        overflow-x: hidden;
    }
    .user-box {
        top: 125px; /* Ajusta según el diseño */
        right: 32%; /* Ajusta según el diseño */
        width: 120px;
    }
}
@media ( width < 500px) {
    .texto-catalogo-finoso h3 {
        font-size: 2.1rem;
    }
    .boton-finalizar-carrito button {
        width: 120px;
        height: 35px;
        font-size: 12px;
    }
}

@keyframes blur-out-expand {
  0% {
    transform: scale(1);
    filter: blur(0.01px);
  } 
  100% {
    transform: scale(2);
    filter: blur(12px);
    opacity: 0;
  }
}

.blur-out-expand {
  animation: blur-out-expand 0.6s linear both;
}

/* ===== BADGES Y INDICADORES SOCIALES ===== */

/* Badge de descuento (arriba de la imagen) */
.badge-descuento {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    animation: pulse-badge 2s infinite;
    max-width: 80px; /* Limitar ancho para no afectar el layout */
}


@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Badge de exclusividad */
.badge-exclusivo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FFCF66, #FFB800);
    color: #090909;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 207, 102, 0.3);
}


/* Efecto hover para las tarjetas */
.cuadro-card:hover .badge-descuento {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.cuadro-card:hover .badge-exclusivo {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Estilos para Filtros Inteligentes */
.filtros-container {
    margin: 0px auto;
    padding: 0 20px;
}

.filtros-section {
    margin-left: 15px;
    border-radius: 10px;
    padding: 20px;
}

.filtros-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.filtro-select {
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    border: 1px solid rgba(255, 207, 102, 0.5);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.filtro-select:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: #FFCF66;
    box-shadow: 0 0 5px rgba(255, 207, 102, 0.2);
}

.filtro-select:focus {
    outline: none;
    border-color: #FFCF66;
    box-shadow: 0 0 8px rgba(255, 207, 102, 0.3);
}


/* Mensaje sin resultados */
.mensaje-sin-resultados {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
    grid-column: 1 / -1; /* Ocupa todas las columnas del grid */
    justify-self: center; /* Centra el elemento en el grid */
}

.mensaje-contenido {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #FFCF66;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(255, 207, 102, 0.2);
}

.mensaje-contenido h3 {
    color: #FFCF66;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(255, 207, 102, 0.5);
}

.mensaje-contenido p {
    color: #FFFFFF;
    font-size: 1rem;
    margin: 0 0 20px 0;
}


/* Responsive para filtros */
@media (max-width: 768px) {
    .filtros-row {
        flex-direction: column;
        align-items: center;
    }
    
    .filtro-group {
        width: 100%;
        max-width: 300px;
    }
    
    .filtro-select {
        width: 100%;
    }
    
    .mensaje-contenido {
        padding: 30px 20px;
    }
    
    .mensaje-contenido h3 {
        font-size: 1.3rem;
    }
}

/* Layout responsivo para pocos relojes */
.contenedor-general-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Gap moderado para mejor balance visual */
    padding: 30px 40px; /* Más padding lateral, menos vacío */
    min-height: 400px;
    margin: 0 auto;
    max-width: 1600px; /* Limitar ancho máximo para pantallas grandes */
    justify-content: center;
    justify-items: center; /* Centrar elementos */
}

/* Cuando hay pocos relojes, alinearlos a la izquierda */
.contenedor-general-cards.pocos-relojes {
    justify-items: start;
    align-content: start;
    min-height: 60vh;
}

.contenedor-general-cards.un-reloj {
    grid-template-columns: repeat(4, 1fr); /* Mantener 4 columnas */
    justify-items: start;
    min-height: 70vh;
}

.contenedor-general-cards.dos-relojes {
    grid-template-columns: repeat(4, 1fr); /* Mantener 4 columnas */
    justify-items: start;
    min-height: 60vh;
}

/* Media queries para diferentes tamaños de pantalla */
@media (min-width: 1200px) {
    .contenedor-general-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .contenedor-general-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .contenedor-general-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive para el contenedor principal */
@media (max-width: 768px) {
    .contenedor-general-cards {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
        max-width: 100%;
    }
    
    .contenedor-general-cards.dos-relojes {
        grid-template-columns: 1fr;
    }
}

/* Mejorar la visibilidad de los precios con descuento */
.precio {
    margin: 25px 0;
    text-align: left; /* Alineado a la izquierda como pediste */
}

.precio p:first-child {
    font-weight: bold;
    color: #FFCF66; /* Dorado como estaba antes */
    font-size: 16px;
    margin: 4px 0;
}

.precio .descuento {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 13px;
    margin: 2px 0;
    color: #FFFFFF; /* Blanco como estaba antes */
}

/* ===== EFECTOS HOVER SIMPLES ===== */

/* Mejorar el efecto hover de la tarjeta completa */
.cuadro-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cuadro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 207, 102, 0.2);
}

/* Estilos para relojes vendidos */
.cuadro-card.vendido {
    opacity: 0.7;
    filter: grayscale(0.3);
    cursor: not-allowed;
}

.cuadro-card.vendido:hover {
    opacity: 1; /* Full visibility on hover */
    filter: grayscale(0); /* Remove grayscale for clarity */
    transform: translateY(-5px); /* Subtle lift effect */
    box-shadow: 0 10px 25px rgba(255, 207, 102, 0.3); /* Add glow */
    border-color: #FFCF66; /* Highlight border */
}

.cuadro-card.vendido:hover .hover-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.75); /* Más transparente para ver el reloj de fondo */
    backdrop-filter: blur(8px); /* Efecto de desenfoque para mejor legibilidad */
}

.cuadro-card.vendido:hover img {
    transform: scale(1.02);
    filter: grayscale(0);
}

/* Badge VENDIDO */
.badge-vendido {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    border: 1px solid #dc3545;
}

/* Mensaje de vendido en hover */
.vendido-message {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
    border: 1px solid #dc3545;
}

/* Estilos para mensaje de carrito vacío */
#texto-informativo {
    display: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 20px 0;
    padding: 40px 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

/* ==================== ESTILOS DE PRODUCTOS VENDIDOS ==================== */

.vendidos-indicador {
    width: 98%;
    grid-column: 1 / -1;
    text-align: center;
    margin: 30px 0 20px 0;
    padding: 10px 0;
}

.vendidos-texto {
    color: #ffcf66;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255, 207, 102, 0.08);
    padding: 6px 16px;
    border-radius: 15px;
    border: 1px solid rgba(255, 207, 102, 0.2);
    display: inline-block;
    opacity: 0.8;
}

/* Badge para productos vendidos */
.vendido-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Botones para historial de éxitos */
.btn-similar {
    background: linear-gradient(135deg, #ffcf66, #ffb84d) !important;
    color: #000000 !important;
    border: 2px solid #ffcf66 !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 3px 12px rgba(255, 207, 102, 0.4) !important;
    text-shadow: none !important;
    width: 100% !important;
    text-align: center !important;
}

.btn-similar:hover {
    background: linear-gradient(135deg, #ffd700, #ffcf66) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 18px rgba(255, 207, 102, 0.6) !important;
    border-color: #ffd700 !important;
}

.btn-similar:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 207, 102, 0.3) !important;
}

.btn-notificaciones {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #ffffff !important;
    border: 2px solid #25D366 !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    font-size: 13px !important;
    text-transform: none !important; /* Cambiado para que "Quiero uno Igual" se vea natural */
    letter-spacing: 0.3px !important;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4) !important;
    text-shadow: none !important;
    width: 100% !important;
    text-align: center !important;
}

.btn-notificaciones:hover {
    background: linear-gradient(135deg, #20BA5A, #128C7E) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.7) !important;
    border-color: #20BA5A !important;
}

.btn-notificaciones:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
}

/* Estilos específicos para productos vendidos - diseño limpio y claro */
.cuadro-card.vendido .hover-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
    border: none !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cuadro-card.vendido .hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    width: 100% !important;
    max-width: 280px !important;
    padding: 0 !important;
}

.cuadro-card.vendido .hover-details {
    background: rgba(0, 0, 0, 0.90) !important;
    padding: 15px !important;
    border-radius: 12px !important;
    border: 2px solid rgba(255, 207, 102, 0.5) !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.cuadro-card.vendido .detail-item {
    background: rgba(255, 207, 102, 0.10) !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    border-left: 3px solid #ffcf66 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cuadro-card.vendido .detail-item:last-child {
    margin-bottom: 0 !important;
}

.cuadro-card.vendido .detail-label {
    color: #ffcf66 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 0.3px !important;
}

.cuadro-card.vendido .detail-value {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: right !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
}

.cuadro-card.vendido .hover-buttons {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    margin-top: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Estilos para testimonios - específicos para productos vendidos */
.cuadro-card.vendido .detail-item.testimonio {
    background: rgba(255, 207, 102, 0.15) !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-left: 3px solid #ffcf66 !important;
    position: relative !important;
    display: block !important;
}

.cuadro-card.vendido .detail-item.testimonio .detail-label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
}

.cuadro-card.vendido .detail-item.testimonio .detail-value {
    font-style: italic !important;
    color: #ffcf66 !important;
    font-weight: 500 !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    display: block !important;
    padding-left: 8px !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* Mejorar contraste del hover overlay */
.hover-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(5px);
}

.hover-content {
    color: #ffffff !important;
}

.hover-title {
    color: #ffcf66 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
}

.hover-details {
    margin-bottom: 15px !important;
}

.detail-item {
    margin-bottom: 8px !important;
    padding: 5px 0 !important;
}

.detail-label {
    color: #ffcf66 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-block !important;
    min-width: 100px !important;
}

.detail-value {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-left: 8px !important;
}

.hover-buttons {
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}


/* Responsive para productos vendidos */
@media (max-width: 768px) {
    .vendidos-indicador {
        margin: 20px 0 15px 0;
    }
    
    .vendidos-texto {
        font-size: 1rem;
        padding: 5px 12px;
    }
}