/*
Theme Name: Diego Theme
Theme URI: https://diegodesign.com
Author: Diego Sanchez
Author URI: https://diegodesign.com
Description: Tema ligero, animado y funcional.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diego
*/
/* Estilos Generales */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

@font-face {
    font-family: 'Syncopate-Regular';
    src: url('includes/fonts/Syncopate-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Syncopate-Bold';
    src: url('includes/fonts/Syncopate-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.syncopate-regular {
    font-family: 'Syncopate-Regular';
}

.syncopate-bold {
    font-family: 'Syncopate-Bold';
}

a {
    text-decoration: none;
    color: #fc2822;
}

/* Colores */
.bg-rojo {
    background-color: #fc2822;
}

.bg-plomo {
    background-color: #393939;
}

.bg-gris {
    background-color: #e5e4e4;
}

.text-rojo {
    color: #fc2822;
}

.text-plomo {
    color: #393939;
}

.text-justify {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Logo */
.logo {
    width: 80px;
}

.logo:hover {
    animation-name: rotateIn;
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

header ul .nav-item {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Header Actions */
.header-actions {
    margin-left: auto;
}

.search-wrapper {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 1px solid #000;
    border-radius: 0;
    /* Square corners as per image */
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    pointer-events: none;
    font-size: 18px;
}

.icon-link {
    color: #000;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: #555;
}

/* elementos menu responsive */
@media (max-width: 991px) {
    .header-actions {
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
        margin-bottom: 15px;
    }

    .search-wrapper .me-4 {
        margin-right: 0 !important;
    }
}

/* seccion slider */
.carousel-item img {
    object-fit: cover;
    height: 100%;
    opacity: 0.6;
    /* Oscurece la imagen para que el texto blanco se lea bien */
}

.carousel-caption {
    bottom: 40%;
    z-index: 2;
}

.carousel-caption h5,
.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.5rem;
}

.carousel-caption p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
    letter-spacing: 0.98em;
}

.carousel-indicators button {
    border-radius: 50%;
    height: 13px !important;
    width: 13px !important;
}

.carousel-indicators {
    bottom: 25%;
}


/* Boton slider */
.btn-outline-white {
    background-color: transparent;
    /* fondo transparente */
    color: #fff;
    /* texto blanco */
    border: 2px solid #fff;
    /* borde blanco */
    padding: 0.75rem 1.5rem;
    /* tamaño cómodo */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    /* esquinas cuadradas (premium) */
    text-decoration: none;
    /* quita subrayado del <a> */
    transition: all 0.25s ease-in-out;
    /* animación suave */
}

/* Hover – al pasar el cursor */
.btn-outline-white:hover,
.btn-outline-white:focus {
    background-color: #fff;
    /* ligero fondo blanco semi‑transparente */
    color: #000000;
    /* mantiene texto blanco */
}

/* Active – cuando se pulsa */
.btn-outline-white:active {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(2px);
    /* pequeño “efecto de presión” */
}

@media (max-width: 768px) {
    .carousel-caption {
        bottom: 8%;
    }

    .carousel-indicators {
        bottom: 0%;
    }
}

@media (max-width: 460px) {

    .carousel-caption h5 {
        font-size: 2rem;
    }
}

@media (max-width: 360px) {

    .carousel-caption h5 {
        font-size: 1.5rem;
    }
}

/* Sección intermedia */
.seccion-intermedia {
    margin-top: -8em;
    position: absolute;
}

@media (max-width: 768px) {
    .seccion-intermedia {
        margin-top: 0em;
        position: relative;
    }
}

/* Sección presentación */
.titulo-presentacion {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 0.3em;
}

.titulo-diego {
    font-size: 7em;
}

@media (max-width: 1400px) {
    .titulo-diego {
        font-size: 6em;
    }
}

@media (max-width: 1200px) {
    .titulo-diego {
        font-size: 5em;
    }
}

@media (max-width: 992px) {
    .titulo-diego {
        font-size: 4em;
    }
}

@media (max-width: 325px) {
    .titulo-diego {
        font-size: 2.8em;
    }

    .titulo-presentacion {
        letter-spacing: 0em;
    }
}

/* Carrusel especialidades */
/* Estilos Carrusel Especialidades */
.specialty-item img {
    width: 100%;
    max-height: 300px;
    /* Altura fija para uniformidad */
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Opcional: borde sutil si quieres separarlo del fondo */
    /* border: 1px solid #555; */
}

.specialty-item:hover img {
    transform: scale(1.03);
    /* Efecto zoom suave al pasar el mouse */
}

.specialty-item h5 {
    letter-spacing: 0.1em;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Ajuste de las flechas del carrusel */
#carouselEspecialidades .carousel-control-prev,
#carouselEspecialidades .carousel-control-next {
    width: 5%;
    /* Hacemos la zona de clic más estrecha para no tapar contenido */
}

#carouselEspecialidades .carousel-control-prev-icon,
#carouselEspecialidades .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

#carouselEspecialidades h5 {
    font-family: montserrat;
}

#carouselEspecialidades .carousel-inner {
    width: 90%;
    margin: auto;
}

.titulo-especialidades {
    text-align: center;
    border-bottom: #fc2822 2px solid;
    width: fit-content;
    margin: auto;
}

/* Boton slider */
.btn-outline-dark {
    background-color: transparent;
    /* fondo transparente */
    color: #000000;
    /* texto blanco */
    border: 3px solid #000000;
    /* borde blanco */
    padding: 0.75rem 1.5rem;
    /* tamaño cómodo */
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
    /* esquinas cuadradas (premium) */
    text-decoration: none;
    /* quita subrayado del <a> */
    transition: all 0.25s ease-in-out;
    /* animación suave */
}

/* Hover – al pasar el cursor */
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: #000000;
    /* ligero fondo blanco semi‑transparente */
    color: #ffffff;
    /* mantiene texto blanco */
}

/* Active – cuando se pulsa */
.btn-outline-dark:active {
    background-color: rgba(0, 0, 0, 0.25);
    transform: translateY(2px);
    /* pequeño “efecto de presión” */
}

.foto-instagram img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Sección portafolio */
.subtitulo-portafolio {
    font-family: 'Montserrat';
    font-weight: bold;
    letter-spacing: 0.5em;
    font-size: 2.3em;
}

.titulo-portafolio {
    font-size: 11em;
}

@media (max-width: 1400px) {
    .titulo-portafolio {
        font-size: 10em;
    }
}

@media (max-width: 1200px) {
    .titulo-portafolio {
        font-size: 8em;
    }

    .subtitulo-portafolio {
        letter-spacing: 0.2em;
    }
}

@media (max-width: 992px) {
    .titulo-portafolio {
        font-size: 6em;
    }

    .subtitulo-portafolio {
        letter-spacing: 0em;
    }
}

@media (max-width: 325px) {
    .titulo-portafolio {
        font-size: 3.5em;
    }

    .subtitulo-portafolio {
        font-size: 1.5em;
    }

}

/* Sección nuevos lanzamientos */
.titulo-productos {
    font-family: 'Montserrat';
    font-size: 1em;
}

.oscurecer {
    transition: opacity 0.3s ease;
}

.oscurecer:hover,
.oscurecer:active,
.oscurecer:focus {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    animation: pulse;
    animation-duration: 0.2s;
}

/* Sección categorías */
.espacio-categorias {
    width: 100%;
    height: 700px;
}

.titulo-categorias {
    font-size: 5em;
}

.div-categorias:hover .imagen-categorias {
    animation: heartBeat;
    animation-duration: 2.5s;
}

@media (max-width: 1400px) {
    .espacio-categorias {
        width: 100%;
        height: 500px;
    }
}

@media (max-width: 1200px) {
    .espacio-categorias {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .espacio-categorias {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 325px) {
    .espacio-categorias {
        width: 100%;
        height: 180px;
    }

    .titulo-categorias {
        font-size: 3em;
    }
}

/* footer */
footer .nav-link {
    font-family: 'Anton', sans-serif;
    font-size: 1.2em;
}

.menu-footer {
    border-left: #ffffff 2px solid;
    border-right: #ffffff 2px solid;
}

/* Iconos Redes Sociales Footer */
.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    /* Borde circular blanco */
    border-radius: 50%;
    /* Hace que sea un círculo perfecto */
    color: #fff;
    /* Color del icono */
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Efecto Hover */
.social-link:hover {
    background-color: #fff;
    /* Fondo blanco al pasar el mouse */
    color: #fc2822;
    /* El icono se vuelve rojo (color de tu marca) */
    transform: translateY(-3px);
    /* Pequeña elevación */
}

/* PAgina interna contacto */
/* --- Formulario de Contacto --- */

/* Inputs generales */
.custom-input {
    background-color: transparent;
    border: 1px solid #000;
    /* Borde negro fino */
    border-radius: 0;
    /* Esquinas cuadradas */
    padding: 10px;
}

.custom-input:focus {
    background-color: #fff;
    box-shadow: none;
    border-color: #000;
}

/* Etiquetas */
.form-label {
    font-family: 'Anton', sans-serif;
    /* O la fuente gruesa que prefieras */
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Input de Archivo Personalizado */
/* Input de Archivo Personalizado */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 50px;
    border: 1px solid #000;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

/* Corrección para el span contenedor de CF7 */
.file-upload-wrapper .wpcf7-form-control-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* El input debe estar ENCIMA de todo para capturar el clic */
.file-input,
.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    /* Prioridad de clic */
    font-size: 100px;
    /* Truco para cubrir área en algunos navegadores antiguos */
}

.file-label {
    position: relative;
    z-index: 1;
    /* Debajo del input */
    pointer-events: none;
    /* Deja pasar el clic por si acaso */
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Botón Enviar */
.btn-enviar {
    background-color: #fc2822;
    /* Rojo de tu marca */
    border: none;
    border-radius: 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #d91e18;
    /* Rojo más oscuro al hover */
    color: #fff;
}

/* Pagina interna lanzamientos */
/* --- Página Tienda --- */

.product-card {
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.product-image-wrapper {
    overflow: hidden;
    position: relative;
}

.product-image-wrapper img {
    transition: transform 0.5s ease;
}

/* Efecto Zoom al pasar el mouse */
.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #000;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #000;
}

.product-offer {
    font-size: 0.75rem;
    color: #666;
}

/* Breadcrumb */
.breadcrumb-item+.breadcrumb-item::before {
    content: "-";
    color: #6c757d;
}

.pagina-lanzamientos h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* --- CURSOR PERSONALIZADO --- */

/* Ocultar el cursor por defecto en toda la web */
body,
a,
button,
input,
textarea,
.btn {
    cursor: none !important;
}

/* El cursor principal (punto rojo) */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #dd0700;
    /* Rojo de tu marca */
    border-radius: 50%;
    pointer-events: none;
    /* Importante: deja pasar los clics a los elementos de abajo */
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    /* Suavidad al cambiar de tamaño */
    box-shadow: 0 0 5px rgba(252, 40, 34, 0.5);
}

/* La cola / estela (pequeños puntos que desaparecen) */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: rgba(252, 40, 34, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: fadeTrail 0.3s linear forwards;
}

/* Efecto al hacer clic (onda expansiva) */
.cursor-click {
    position: fixed;
    width: 10px;
    height: 10px;
    border: 2px solid #dd0700;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: clickRipple 0.5s ease-out forwards;
}

/* Animación de la estela */
@keyframes fadeTrail {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
}

/* Animación del clic */
@keyframes clickRipple {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

/* Opcional: El cursor crece cuando pasas sobre enlaces */
.custom-cursor.hovered {
    width: 26px;
    height: 26px;
    background-color: rgba(252, 40, 34, 0.2);
    border: 1px solid #dd0700;
}

/* --- SCROLL REVEAL FIX --- */

/* En style.css */
.wow {
    visibility: hidden;
    /* Forzamos que esté oculto al inicio */
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Fondo negro elegante */
    z-index: 999999;
    /* Por encima de TODO, incluso del cursor */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* El círculo giratorio */
.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #333;
    /* Color base gris oscuro */
    border-top: 5px solid #fc2822;
    /* Rojo de tu marca */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación de giro */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Clase para bloquear el scroll mientras carga */
body.loading {
    overflow: hidden !important;
}

/* Submit footer */
.submit-footer {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Arreglo para Newsletter Footer CF7 */
.footer-newsletter form {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-newsletter p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
    /* Evita que la <p> que pone CF7 ocupe espacio o bloque */
}

.footer-newsletter .wpcf7-form-control-wrap {
    flex-grow: 1;
    display: block;
    color: #000;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #000;
}

.product-offer {
    font-size: 0.75rem;
    color: #666;
}

/* Breadcrumb */
.breadcrumb-item+.breadcrumb-item::before {
    content: "-";
    color: #6c757d;
}

.pagina-lanzamientos h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* --- CURSOR PERSONALIZADO --- */

/* Ocultar el cursor por defecto en toda la web */
body,
a,
button,
input,
textarea,
.btn {
    cursor: none !important;
}

/* El cursor principal (punto rojo) */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #dd0700;
    /* Rojo de tu marca */
    border-radius: 50%;
    pointer-events: none;
    /* Importante: deja pasar los clics a los elementos de abajo */
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    /* Suavidad al cambiar de tamaño */
    box-shadow: 0 0 5px rgba(252, 40, 34, 0.5);
}

/* La cola / estela (pequeños puntos que desaparecen) */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: rgba(252, 40, 34, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: fadeTrail 0.3s linear forwards;
}

/* Efecto al hacer clic (onda expansiva) */
.cursor-click {
    position: fixed;
    width: 10px;
    height: 10px;
    border: 2px solid #dd0700;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    animation: clickRipple 0.5s ease-out forwards;
}

/* Animación de la estela */
@keyframes fadeTrail {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
}

/* Animación del clic */
@keyframes clickRipple {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

/* Opcional: El cursor crece cuando pasas sobre enlaces */
.custom-cursor.hovered {
    width: 26px;
    height: 26px;
    background-color: rgba(252, 40, 34, 0.2);
    border: 1px solid #dd0700;
}

/* --- SCROLL REVEAL FIX --- */

/* En style.css */
.wow {
    visibility: hidden;
    /* Forzamos que esté oculto al inicio */
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Fondo negro elegante */
    z-index: 999999;
    /* Por encima de TODO, incluso del cursor */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* El círculo giratorio */
.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #333;
    /* Color base gris oscuro */
    border-top: 5px solid #fc2822;
    /* Rojo de tu marca */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación de giro */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Clase para bloquear el scroll mientras carga */
body.loading {
    overflow: hidden !important;
}

/* Submit footer */
.submit-footer {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Arreglo para Newsletter Footer CF7 */
.footer-newsletter form {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer-newsletter p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
    /* Evita que la <p> que pone CF7 ocupe espacio o bloque */
}

.footer-newsletter .wpcf7-form-control-wrap {
    flex-grow: 1;
    display: block;
    margin: 0;
}

.footer-newsletter input[type="email"] {
    width: 100%;
    margin-bottom: 0 !important;
    /* Importante para quitar margen inferior por defecto */
}

/* Ocultar el spinner de carga de CF7 que rompe el diseño */
.footer-newsletter .wpcf7-spinner {
    display: none !important;
    position: absolute;
    /* Por si acaso se quita el none */
}

/* Personalizando woocommerce */

.woocommerce-LoopProduct-link,
.woocommerce-loop-product__link,
.woocommerce-Price-amount,
.amount {
    color: #000;
}

/* Personalizando Botones de WooCommerce */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .product .cart .button,
.woocommerce .product .cart .button:hover {
    background-color: #000000;
    color: #fff;
    border-radius: 0;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
    background-color: #4d4d4d;
    color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled],
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled],
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover {
    background: #4d4d4d;
}

/* Personalizando Galería de Productos (Grid Layout) */
.woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: 120px 1fr;
    /* Thumbnails fijos a la izquierda (ahora más grandes), resto imagen */
    grid-gap: 20px;
    align-items: start;
    opacity: 1 !important;
    /* Forzar visibilidad */
}

/* Imagen Principal (Columna derecha) */
.woocommerce-product-gallery .woocommerce-product-gallery__image,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery .flex-viewport {
    grid-column: 3 / 4;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    /* Asegurar que no se salga */
}

/* Dejamos que WC/FlexSlider maneje el display de los slides. Solo forzamos width en la imagen. */
.woocommerce-product-gallery .woocommerce-product-gallery__image {
    width: 100%;
    /* No tocamos display para no romper el slider */
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    height: auto !important;
    display: block;
}

/* Icono de Lupa/Zoom (Asegurar que se vea) */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    color: #000;
}

/* Thumbnails (Columna izquierda, vertical) */
.woocommerce-product-gallery .flex-control-thumbs {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: #fc2822;
    /* Rojo marca hover */
}

/* Responsive: En móviles volver a diseño normal (abajo) */
@media (max-width: 768px) {
    .woocommerce-product-gallery {
        display: block !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin-top: 15px !important;
    }

    .woocommerce-product-gallery .flex-control-thumbs li {
        width: 25% !important;
    }
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    width: 100%;
}

/* Productos relacionados */
.related>h2 {
    display: none;
}

/* boton comprar */
.woocommerce div.product form.cart .button {
    width: 100%;
    height: 40px;
    margin-top: 2em;
}

/* Agregando texto cantidad */
.woocommerce div.product form.cart div.quantity:before {
    content: "CANTIDAD";
    display: inline-block;
    font-weight: bold;
    width: 17.6%;
    margin-right: 0;
    text-transform: uppercase;
}

.woocommerce div.product form.cart div.quantity {
    width: 100%;
}

.woocommerce .quantity .qty {
    height: 40px;
    width: 60px;
    text-align: center;
    border: 1px solid #000;
}

/* Estilos para Variaciones como Botones (Swatches) */
.custom-swatch {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.custom-swatch:hover {
    background-color: #f0f0f0;
}

.custom-swatch.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* Ocultar labels redundantes si es necesario, o ajustar la tabla */
table.variations td.label {
    padding-top: 5px;
    width: 100px;
    vertical-align: middle;
}

table.variations td.label label {
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    font-size: 0.9rem;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0.5em;
    width: 100%;
}

.woocommerce div.product form.cart .variations td {
    display: table-cell;
    vertical-align: middle;
    padding-bottom: 10px;
    padding-left: 0 !important;
}

.seccion-lanzamiento .woocommerce-LoopProduct-link,
.seccion-lanzamiento .price bdi {
    color: white;
}

.seccion-lanzamiento .woocommerce ul.products li.product .button {
    background-color: transparent;
    /* fondo transparente */
    color: #fff;
    /* texto blanco */
    border: 2px solid #fff;
    /* borde blanco */
    padding: 0.75rem 1.5rem;
    /* tamaño cómodo */
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    /* esquinas cuadradas (premium) */
    text-decoration: none;
    /* quita subrayado del <a> */
    transition: all 0.25s ease-in-out;
    /* animación suave */
}

/* boton whats app */
.boton-flotante {
    width: 70px;
    height: 70px;
    font-size: 2.9em;
    padding: 0.02em;

}

.boton-whatsapp {
    right: 25px;
    bottom: 30px;
}