* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f5f5f5;

    color: #111;
}


/* CABECERA */

.cabecera {

    height: 78px;

    background: #090909;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 6%;
}


.logo h1 {

    font-size: 25px;

    letter-spacing: 5px;
}


.logo span {

    display: block;

    color: #c5a447;

    letter-spacing: 3px;

    font-size: 10px;

    margin-top: 3px;
}


.acciones {

    display: flex;

    gap: 10px;
}


.icono,
.carrito {

    min-width: 43px;

    height: 43px;

    background: #171717;

    color: white;

    border: 1px solid #3e3e3e;

    border-radius: 8px;

    cursor: pointer;
}


.carrito span {

    background: #c5a447;

    color: #111;

    padding: 2px 6px;

    border-radius: 20px;

    font-size: 10px;
}


/* MENU */

.menu {

    background: white;

    border-bottom: 1px solid #dedede;

    display: flex;

    justify-content: center;

    overflow-x: auto;
}


.menu button {

    border: none;

    background: transparent;

    padding: 17px 25px;

    cursor: pointer;

    font-weight: 600;

    color: #666;

    white-space: nowrap;
}


.menu button.activo {

    color: #111;

    border-bottom: 3px solid #c5a447;
}


/* PORTADA */

.portada {

    min-height: 260px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 30px;

    color: white;

    background:

        radial-gradient(
            circle at center,
            #343434,
            #161616 60%,
            #070707
        );
}


.mini-titulo {

    color: #c5a447;

    font-size: 11px;

    letter-spacing: 5px;
}


.portada h2 {

    font-size: 42px;

    letter-spacing: 5px;

    margin: 12px 0;
}


.portada p {

    color: #c9c9c9;
}


/* PRINCIPAL */

main {

    max-width: 1250px;

    margin: auto;

    padding: 30px 22px 70px;
}


/* BUSCADOR */

.busqueda {

    max-width: 800px;

    margin: auto;
}


.barra-busqueda {

    background: white;

    border: 1px solid #dedede;

    border-radius: 10px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.04);
}


.barra-busqueda input {

    width: 100%;

    padding: 16px 10px;

    border: none;

    outline: none;

    font-size: 15px;

    background: transparent;
}


/* FILTROS */

.filtros {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 25px 0 45px;
}


.filtro {

    padding: 10px 18px;

    background: white;

    border: 1px solid #d4d4d4;

    border-radius: 50px;

    cursor: pointer;

    font-weight: bold;

    color: #555;
}


.filtro.activo {

    background: #111;

    color: white;

    border-color: #111;
}


/* ENCABEZADO PRODUCTOS */

.encabezado-productos {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 22px;
}


.linea-dorada {

    display: block;

    width: 45px;

    height: 3px;

    background: #c5a447;

    margin-bottom: 8px;
}


.encabezado-productos h2 {

    font-size: 27px;
}


.encabezado-productos p {

    color: #888;

    font-size: 13px;
}


/* PRODUCTOS */

.productos {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}


.producto {

    background: white;

    border: 1px solid #e2e2e2;

    border-radius: 12px;

    overflow: hidden;

    transition: 0.25s;

    position: relative;
}


.producto:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.09);
}


.imagen-producto {

    height: 260px;

    background:
        linear-gradient(
            145deg,
            #fafafa,
            #e9e9e9
        );

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 72px;

    position: relative;
}


.etiqueta {

    position: absolute;

    left: 12px;

    top: 12px;

    background: #111;

    color: white;

    border-radius: 5px;

    padding: 6px 9px;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;
}


.etiqueta.oferta {

    background: #c5a447;

    color: #111;
}


.informacion {

    padding: 17px;
}


.marca-producto {

    color: #999;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.informacion h3 {

    margin: 7px 0;

    font-size: 17px;
}


.codigo {

    color: #999;

    font-size: 12px;

    margin-bottom: 13px;
}


.precio {

    font-size: 22px;

    font-weight: bold;
}


.precio-anterior {

    font-size: 13px;

    color: #999;

    text-decoration: line-through;

    margin-right: 7px;
}


.stock {

    margin-top: 8px;

    color: #666;

    font-size: 12px;
}


.anadir {

    width: 100%;

    margin-top: 15px;

    padding: 12px;

    border: none;

    border-radius: 7px;

    background: #111;

    color: white;

    cursor: pointer;

    font-weight: bold;

    letter-spacing: 1px;
}


.anadir:hover {

    background: #c5a447;

    color: #111;
}


/* WHATSAPP */

.whatsapp {

    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    border: none;

    background: #111;

    color: white;

    font-size: 22px;

    cursor: pointer;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.25);
}


/* FOOTER */

footer {

    text-align: center;

    background: #080808;

    color: white;

    padding: 45px 20px;
}


.logo-footer {

    letter-spacing: 4px;

    font-weight: bold;
}


.logo-footer span {

    color: #c5a447;
}


footer p {

    color: #aaa;

    margin: 12px 0 20px;
}


footer small {

    color: #666;
}


/* CELULAR */

@media(max-width: 650px) {

    .portada {

        min-height: 220px;
    }


    .portada h2 {

        font-size: 29px;
    }


    .productos {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }


    .imagen-producto {

        height: 185px;

        font-size: 55px;
    }


    .informacion {

        padding: 12px;
    }


    .informacion h3 {

        font-size: 14px;
    }


    .precio {

        font-size: 18px;
    }


    .encabezado-productos {

        align-items: start;

        flex-direction: column;

        gap: 7px;
    }

}
/* ============================= */
/* NUEVOS ICONOS */
/* ============================= */

.boton-icono {

    width: 45px;
    height: 45px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #151515;
    color: #f2f2f2;

    border: 1px solid #3a3a3a;
    border-radius: 9px;

    cursor: pointer;

    transition: 0.2s;
}


.boton-icono:hover {

    border-color: #c5a447;

    color: #c5a447;
}


.boton-carrito #contador-carrito {

    position: absolute;

    top: -7px;
    right: -7px;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #c5a447;
    color: #111;

    border: 2px solid #090909;
    border-radius: 20px;

    font-size: 10px;
    font-weight: bold;
}



/* ============================= */
/* FONDO DEL CARRITO */
/* ============================= */

.fondo-carrito {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.50);

    opacity: 0;

    visibility: hidden;

    z-index: 998;

    transition: 0.25s;
}


.fondo-carrito.activo {

    opacity: 1;

    visibility: visible;
}



/* ============================= */
/* PANEL LATERAL */
/* ============================= */

.panel-carrito {

    position: fixed;

    top: 0;
    right: -440px;

    width: 420px;
    max-width: 100%;

    height: 100vh;

    background: #fff;

    z-index: 999;

    display: flex;
    flex-direction: column;

    box-shadow:
        -15px 0 40px rgba(0,0,0,0.20);

    transition: right 0.3s ease;
}


.panel-carrito.activo {

    right: 0;
}



/* CABECERA */

.cabecera-carrito {

    padding: 26px 24px 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #ececec;
}


.mini-carrito {

    color: #a68a3f;

    font-size: 9px;

    letter-spacing: 3px;

    font-weight: bold;
}


.cabecera-carrito h2 {

    margin-top: 4px;

    font-size: 25px;
}


.cerrar-carrito {

    width: 40px;
    height: 40px;

    border: none;

    background: #f1f1f1;

    border-radius: 50%;

    font-size: 25px;

    cursor: pointer;

    color: #333;
}


.cerrar-carrito:hover {

    background: #111;

    color: #fff;
}


.cantidad-carrito {

    padding: 12px 24px;

    color: #888;

    font-size: 12px;

    border-bottom: 1px solid #eee;
}



/* ============================= */
/* PRODUCTOS DEL CARRITO */
/* ============================= */

.lista-carrito {

    flex: 1;

    overflow-y: auto;

    padding: 10px 24px;
}


.carrito-vacio {

    height: 100%;

    min-height: 280px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    color: #999;
}


.carrito-vacio svg {

    margin-bottom: 18px;

    color: #bbb;
}


.carrito-vacio h3 {

    color: #333;

    margin-bottom: 7px;
}


.carrito-vacio p {

    font-size: 13px;
}



/* PRODUCTO */

.item-carrito {

    display: grid;

    grid-template-columns:
        72px 1fr;

    gap: 14px;

    padding: 18px 0;

    border-bottom: 1px solid #eeeeee;
}


.imagen-carrito {

    width: 72px;
    height: 82px;

    background: #f1f1f1;

    border-radius: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 32px;
}


.info-carrito h4 {

    font-size: 14px;

    margin-bottom: 4px;
}


.sku-carrito {

    color: #999;

    font-size: 10px;

    margin-bottom: 8px;
}


.precio-carrito {

    font-size: 15px;

    font-weight: bold;
}


.controles-carrito {

    margin-top: 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.control-cantidad {

    display: flex;

    align-items: center;

    border: 1px solid #d7d7d7;

    border-radius: 7px;

    overflow: hidden;
}


.control-cantidad button {

    width: 30px;
    height: 30px;

    border: none;

    background: #f5f5f5;

    cursor: pointer;

    font-size: 17px;
}


.control-cantidad span {

    width: 34px;

    text-align: center;

    font-size: 12px;

    font-weight: bold;
}


.eliminar-carrito {

    border: none;

    background: transparent;

    color: #999;

    cursor: pointer;

    font-size: 11px;
}


.eliminar-carrito:hover {

    color: #b02525;
}



/* ============================= */
/* RESUMEN */
/* ============================= */

.resumen-carrito {

    padding: 20px 24px 26px;

    border-top: 1px solid #e4e4e4;

    background: #fafafa;
}


.fila-total {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 17px;
}


.fila-total strong {

    font-size: 23px;
}


.aviso-total {

    margin-top: 8px;

    color: #999;

    font-size: 10px;

    line-height: 1.5;
}


.realizar-pedido {

    width: 100%;

    margin-top: 17px;

    padding: 15px;

    border: none;

    border-radius: 8px;

    background: #111;

    color: white;

    cursor: pointer;

    letter-spacing: 1.5px;

    font-weight: bold;
}


.realizar-pedido:hover {

    background: #c5a447;

    color: #111;
}


.realizar-pedido:disabled {

    background: #cccccc;

    color: #777;

    cursor: not-allowed;
}



/* CELULAR */

@media(max-width: 500px) {

    .panel-carrito {

        width: 92%;
    }

}
/* ============================= */
/* ENTREGA Y FORMA DE PAGO */
/* ============================= */

.opcion-pedido {

    padding: 16px 0;

    border-bottom: 1px solid #e7e7e7;
}


.opcion-pedido h3 {

    font-size: 13px;

    margin-bottom: 12px;

    color: #222;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.opcion-radio {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 11px;

    margin-bottom: 8px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    cursor: pointer;

    background: #fff;

    transition: 0.2s;
}


.opcion-radio:hover {

    border-color: #c5a447;
}


.opcion-radio input {

    margin-top: 3px;

    accent-color: #c5a447;
}


.opcion-radio span {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.opcion-radio strong {

    font-size: 12px;

    color: #222;
}


.opcion-radio small {

    font-size: 10px;

    line-height: 1.4;

    color: #888;
}



/* TOTALES */

.totales-pedido {

    padding-top: 16px;
}


.fila-secundaria {

    margin-top: 9px;

    font-size: 13px;
}


.fila-secundaria strong {

    font-size: 14px;
}


.total-final {

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #d6d6d6;

    color: #111;
}


.total-final span {

    font-weight: bold;

    letter-spacing: 1px;
}


.total-final strong {

    font-size: 25px;

    color: #a98c3e;
}
/* MEJORA DEL CARRITO */

.panel-carrito {
    width: 500px;
    max-width: 100%;
    overflow-y: auto;
}


.cabecera-carrito {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}


.lista-carrito {
    flex: none;
    overflow: visible;

    padding: 20px 28px;

    min-height: 280px;
}


.item-carrito {
    grid-template-columns: 95px 1fr;

    gap: 18px;

    padding: 22px 0;
}


.imagen-carrito {
    width: 95px;
    height: 110px;

    font-size: 42px;

    border-radius: 10px;
}


.info-carrito h4 {
    font-size: 15px;
}


.precio-carrito {
    font-size: 17px;
}


.resumen-carrito {
    flex: none;

    padding: 22px 28px 30px;
}


/* CELULAR */

@media (max-width: 650px) {

    .panel-carrito {
        width: 100%;
    }


    .lista-carrito {
        min-height: 260px;

        padding: 16px 18px;
    }


    .item-carrito {
        grid-template-columns: 85px 1fr;

        gap: 13px;
    }


    .imagen-carrito {
        width: 85px;
        height: 100px;
    }


    .resumen-carrito {
        padding: 18px;
    }

}


.opcion-radio:has(input:disabled) {
    opacity: 0.45;
    background: #f1f1f1;
    cursor: not-allowed;
}
/* CORRECCIÓN: OCULTAR COMPLETAMENTE EL CARRITO */

.panel-carrito {
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.panel-carrito.activo {
    right: 0;
    transform: translateX(0);
}
/* ================================= */
/* TAMAÑO CORRECTO DE FOTO DEL RELOJ */
/* ================================= */

.imagen-producto {
    position: relative;

    width: 100%;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #ffffff;
}


.foto-reloj {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* CELULAR */

@media (max-width: 650px) {

    .imagen-producto {
        height: 230px;
    }

}
/* ================================= */
/* PRECIOS EN OFERTA */
/* ================================= */

.precio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
}

.precio-anterior {
    color: #999;
    font-size: 15px;
    font-weight: 400;
    text-decoration: line-through;
}

.etiqueta.oferta {
    background: #c7a33a;
    color: #111;
}
/* ================================= */
/* DESCUENTO E IMAGEN DEL CARRITO */
/* ================================= */

.foto-carrito {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}

.imagen-carrito {
    overflow: hidden;
}

.fila-descuento {
    margin-top: 9px;
    color: #21813b;
}

.fila-descuento span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fila-descuento small {
    font-size: 10px;
    color: #21813b;
}

.fila-descuento strong {
    color: #21813b;
    font-size: 15px;
}

.descuento-item-carrito {
    margin-top: 5px;
    color: #967927;
    font-size: 10px;
    line-height: 1.4;
}
/* PRODUCTOS AGRUPADOS POR CAMPAÑA */

#productos.productos {
    display: block;
}

.grupo-productos {
    margin-bottom: 45px;
}

.cabecera-grupo-productos {
    margin-bottom: 20px;
}

.cabecera-grupo-productos h3 {
    font-size: 25px;
}

.cabecera-grupo-productos p {
    margin-top: 6px;
    color: #777;
    font-size: 13px;
}

.grupo-campana .cabecera-grupo-productos {
    padding: 20px 22px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #111, #292929);
}

.grupo-campana .cabecera-grupo-productos h3 {
    color: white;
}

.grupo-campana .cabecera-grupo-productos p {
    color: #d5bd73;
}

.cuadricula-productos {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.nombre-promocion {
    display: inline-block;
    margin: 5px 0;
    padding: 5px 8px;
    border-radius: 5px;
    background: #f4ead0;
    color: #806718;
    font-size: 11px;
    font-weight: bold;
}

@media (max-width: 650px) {
    .cuadricula-productos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .grupo-campana .cabecera-grupo-productos {
        padding: 16px;
    }

    .cabecera-grupo-productos h3 {
        font-size: 20px;
    }
}
/* ================================= */
/* CONTACTO Y TIKTOK */
/* ================================= */

.cabecera {
    position: relative;
    z-index: 100;
    overflow: visible;
}

.contacto-menu {
    position: relative;
}

.contacto-menu summary {
    list-style: none;
}

.contacto-menu summary::-webkit-details-marker {
    display: none;
}

.contacto-menu[open] .boton-icono {
    color: #c5a447;
    border-color: #c5a447;
}

.contacto-desplegable {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 220px;
    padding: 16px;

    display: flex;
    flex-direction: column;
    gap: 7px;

    background: #ffffff;
    color: #111;

    border: 1px solid #dddddd;
    border-radius: 10px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    z-index: 1000;
}

.contacto-desplegable::before {
    content: "";

    position: absolute;
    top: -6px;
    right: 16px;

    width: 11px;
    height: 11px;

    background: white;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;

    transform: rotate(45deg);
}

.contacto-desplegable span {
    color: #777;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contacto-desplegable a {
    color: #111;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.contacto-desplegable a:hover {
    color: #a98c3e;
}

.contacto-desplegable small {
    color: #999;
    font-size: 10px;
}

.enlace-tiktok {
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
}

.enlace-tiktok span {
    line-height: 1;
}

@media (max-width: 500px) {

    .contacto-desplegable {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;

        width: auto;
    }

    .contacto-desplegable::before {
        display: none;
    }
}
/* BOTÓN REALIZAR PEDIDO VISIBLE EN EL CARRITO */

#panel-carrito {
    padding-bottom: 90px;
}

#realizar-pedido {
    position: sticky;
    bottom: 10px;
    z-index: 100;
    width: 100%;
    min-height: 54px;
    margin-top: 12px;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
    #realizar-pedido {
        bottom: max(10px, env(safe-area-inset-bottom));
    }
}
/* FLECHAS GRANDES EN LOS COSTADOS DEL CARRUSEL */

.imagen-producto {
    position: relative;
}

.carrusel-producto {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.boton-carrusel {
    position: absolute !important;
    top: 50% !important;
    z-index: 20;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    background: rgba(15, 15, 15, 0.72) !important;
    color: #ffffff !important;

    font-family: Arial, sans-serif;
    font-size: 34px !important;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    transform: translateY(-50%) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.boton-carrusel.anterior {
    left: 12px !important;
    right: auto !important;
}

.boton-carrusel.siguiente {
    right: 12px !important;
    left: auto !important;
}

.boton-carrusel:hover {
    background: rgba(0, 0, 0, 0.92) !important;
}

.boton-carrusel:active {
    transform:
        translateY(-50%)
        scale(0.92) !important;
}

.boton-carrusel:focus-visible {
    outline: 3px solid #d4af37;
    outline-offset: 2px;
}

/* PUNTOS INDICADORES */

.indicadores-carrusel {
    position: absolute !important;
    bottom: 12px;
    left: 50% !important;
    z-index: 20;

    display: flex !important;
    gap: 7px;

    transform: translateX(-50%);
}

.indicador-carrusel {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
}

.indicador-carrusel.activo {
    background: #d4af37;
    border-color: #d4af37;
}

/* TAMAÑO CÓMODO EN CELULARES */

@media (max-width: 600px) {
    .boton-carrusel {
        width: 48px !important;
        height: 48px !important;
        font-size: 36px !important;
    }

    .boton-carrusel.anterior {
        left: 8px !important;
    }

    .boton-carrusel.siguiente {
        right: 8px !important;
    }
}
/* CORREGIR CAMBIO DE IMÁGENES DEL CARRUSEL */

.carrusel-producto {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carrusel-imagenes {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carrusel-imagenes .imagen-carrusel {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    object-fit: contain;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

.carrusel-imagenes .imagen-carrusel.activa {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: zoom-in !important;
}
.carrusel-imagenes .imagen-carrusel.activa {
    opacity: 1 !important;
    visibility: visible !important;
}

/* FLECHAS SOBRE LAS IMÁGENES */

.boton-carrusel {
    position: absolute !important;
    top: 50% !important;
    z-index: 100 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.72) !important;
    color: #ffffff !important;

    font-size: 36px !important;
    line-height: 1;
    cursor: pointer;

    transform: translateY(-50%) !important;
}

.boton-carrusel.anterior {
    left: 10px !important;
    right: auto !important;
}

.boton-carrusel.siguiente {
    right: 10px !important;
    left: auto !important;
}

.indicadores-carrusel {
    position: absolute !important;
    bottom: 10px;
    left: 50% !important;
    z-index: 100 !important;

    display: flex !important;
    gap: 7px;

    transform: translateX(-50%);
} 
/* ETIQUETA SIEMPRE ENCIMA DEL CARRUSEL */

.imagen-producto {
    position: relative;
    overflow: hidden;
}

.imagen-producto .etiqueta {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 300 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 58px;
    min-height: 34px;
    padding: 7px 12px;

    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.carrusel-producto,
.carrusel-imagenes {
    z-index: 1;
}

.boton-carrusel,
.indicadores-carrusel {
    z-index: 100 !important;
}
/* GALERÍA AMPLIADA SIMILAR AL EJEMPLO */

.galeria-ampliada {
    background: rgba(5, 5, 5, 0.96);
}

.galeria-ampliada-contenido {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;

    width: min(760px, 100%);
    height: min(920px, 94vh);
    padding: 70px 22px 24px;

    overflow-y: auto;
    background: transparent;
}

.contenedor-imagen-ampliada {
    position: relative;
    flex: 1 0 auto;
    width: 100%;
    min-height: 300px;
    max-height: 620px;
}

.imagen-galeria-ampliada {
    width: 100%;
    height: 100%;
    padding: 10px;

    border-radius: 22px;
    background: #ffffff;
    object-fit: contain;
}

.cerrar-galeria {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: 20px;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(5, 5, 5, 0.82);
}

.informacion-galeria {
    text-align: center;
    color: #ffffff;
}

.informacion-galeria h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(17px, 4vw, 24px);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contador-galeria {
    position: static;
    display: inline-block;
    margin: 10px 0 0;
    transform: none;
}

.miniaturas-galeria {
    display: flex;
    justify-content: flex-start;
    gap: 10px;

    width: 100%;
    padding: 5px 2px 10px;

    overflow-x: auto;
    scrollbar-width: thin;
}

.miniatura-galeria {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    padding: 3px;

    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
}

.miniatura-galeria.activa {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.miniatura-galeria img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .galeria-ampliada-contenido {
        height: 100%;
        max-height: none;
        padding:
            max(70px, env(safe-area-inset-top))
            12px
            max(16px, env(safe-area-inset-bottom));
    }

    .contenedor-imagen-ampliada {
        min-height: 300px;
        max-height: 58vh;
    }

    .flecha-galeria {
        width: 52px;
        height: 52px;
    }

    .flecha-galeria.anterior {
        left: -4px;
    }

    .flecha-galeria.siguiente {
        right: -4px;
    }

    .miniatura-galeria {
        flex-basis: 70px;
        width: 70px;
        height: 70px;
    }
}
/* ================================= */
/* CORRECCIÓN FINAL GALERÍA AMPLIADA */
/* ================================= */

body.galeria-abierta {
    overflow: hidden !important;
}

.galeria-ampliada {
    position: fixed !important;
    inset: 0 !important;

    z-index: 999999 !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    background:
        rgba(0, 0, 0, 0.96) !important;
}

.galeria-ampliada-contenido {
    position: relative !important;

    width: min(900px, 100%) !important;
    height: 100% !important;
    max-height: 100dvh !important;

    display: flex !important;
    flex-direction: column !important;

    padding:
        70px
        20px
        20px !important;

    overflow-y: auto !important;

    background: transparent !important;
}

.contenedor-imagen-ampliada {
    position: relative !important;

    flex: 1 1 auto !important;

    width: 100% !important;
    min-height: 0 !important;
    height: 65vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.imagen-galeria-ampliada {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    padding: 10px !important;

    object-fit: contain !important;

    background: #ffffff !important;
    border-radius: 18px !important;
}

.cerrar-galeria {
    position: fixed !important;

    top:
        max(
            14px,
            env(safe-area-inset-top)
        ) !important;

    right: 16px !important;

    z-index: 1000002 !important;

    width: 50px !important;
    height: 50px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    color: #ffffff !important;
    background:
        rgba(0, 0, 0, 0.82) !important;

    cursor: pointer !important;
}

.flecha-galeria {
    position: absolute !important;

    top: 50% !important;

    z-index: 1000001 !important;

    width: 54px !important;
    height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.8) !important;

    border-radius: 50% !important;

    color: #ffffff !important;

    background:
        rgba(0, 0, 0, 0.72) !important;

    font-size: 38px !important;

    cursor: pointer !important;

    transform:
        translateY(-50%) !important;
}

.flecha-galeria.anterior {
    left: 10px !important;
}

.flecha-galeria.siguiente {
    right: 10px !important;
}

.informacion-galeria {
    flex: 0 0 auto !important;

    padding: 14px 5px 5px !important;

    text-align: center !important;
    color: #ffffff !important;
}

.contador-galeria {
    margin-top: 8px !important;
    color: #d4af37 !important;
}

.miniaturas-galeria {
    flex: 0 0 auto !important;

    display: flex !important;
    justify-content: center !important;

    gap: 10px !important;

    width: 100% !important;

    padding: 10px 0 !important;

    overflow-x: auto !important;
}

.miniatura-galeria {
    flex: 0 0 72px !important;

    width: 72px !important;
    height: 72px !important;

    padding: 3px !important;

    border:
        3px solid
        transparent !important;

    border-radius: 10px !important;

    background: #ffffff !important;

    cursor: pointer !important;
}

.miniatura-galeria.activa {
    border-color: #d4af37 !important;
}

.miniatura-galeria img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
}

@media (max-width: 600px) {

    .galeria-ampliada-contenido {
        width: 100% !important;

        padding:
            68px
            10px
            max(
                12px,
                env(safe-area-inset-bottom)
            ) !important;
    }

    .contenedor-imagen-ampliada {
        height: 60vh !important;
        min-height: 300px !important;
    }

    .imagen-galeria-ampliada {
        padding: 5px !important;
        border-radius: 12px !important;
    }

    .flecha-galeria {
        width: 48px !important;
        height: 48px !important;

        font-size: 34px !important;
    }

    .flecha-galeria.anterior {
        left: 4px !important;
    }

    .flecha-galeria.siguiente {
        right: 4px !important;
    }

    .miniaturas-galeria {
        justify-content:
            flex-start !important;
    }

    .miniatura-galeria {
        flex-basis: 64px !important;

        width: 64px !important;
        height: 64px !important;
    }

} 