body{
    font-family: 'Roboto', sans-serif;
    color: #333;
}

@font-face {
    font-family: 'BodoniBE-Light';
    src: url('../fuentes/BodoniBE-Light.woff2') format('woff2'),
         url('../fuentes/BodoniBE-Light.woff') format('woff'),
         url('../fuentes/Bodoni BE Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/*
COLORES
MATE: D12F66
BRILLANTE: #FA0079
*/

/* HEADER */
.logowhafira {
    font-family: 'BodoniBE-Light';
    color: white;
}
.logosub {
    font-family: 'Roboto', sans-serif;
    color: white;
}

.logo h1 {
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 3px;
}

.logo p {
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: 400;
}

.container h2 {
    color: black;
    font-weight: bold;
}

.bg-black {
    background-color: black;
}

.text-white {
    color: white;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Oculto inicialmente */
    width: 250px; /* Ancho predeterminado */
    height: 100%;
    background-color: #000;
    transition: 0.3s;
    z-index: 1000;
    padding-top: 60px;
}

/* Mostrar el menú lateral */
.sidebar.show {
    left: 0;
}

/* Listado del menú */
.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px 20px; /* Espacio alrededor de los textos */
}

.sidebar ul li a {
    text-decoration: none;
    display: block;
    color: white;
    transition: 0.3s;
    padding: 10px 10px;
}

/* Estilo para hover */
.sidebar ul li a:hover {
    background-color: #FA0079;
    color: white;
}

/* Líneas horizontales entre los elementos */
.sidebar ul hr {
    border: 0;
    border-top: 1px solid white;
    margin: 5px 0;
}

/* Botón de cerrar menú */
.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}


/* Submenú desplegable */
#menu-productos {
    background-color: #000; /* Fondo negro */
    margin-left: 15px; /* Margen hacia la derecha */
    border-left: none; /* Elimina el borde rosa */
}

#menu-productos a {
    color: #fff; /* Texto blanco */
    font-size: 14px;
    padding: 5px 0;
    display: block;
}

#menu-productos a:hover {
    text-decoration: none;
    color: #FA0079; /* Color rosa solo en hover */
}




/* Cuadro de búsqueda */
.search-bar {
    display: none;
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 999;
    width: 300px;
    transition: 0.3s;
}

/* Contador de productos en el carrito */
.cart-count {
    background-color: #FA0079;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
}

/* Estilos de hover y cursor pointer para los iconos */
.fas {
    cursor: pointer;
    transition: color 0.3s ease;
    color: white;
}

.fas:hover {
    color: #FA0079;
}


.content-gallery{
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}



/* GALERIA DE FOTOS */
.gallery-container {
    display: flex;
    flex-direction: column; /* Miniaturas arriba en todas las vistas */
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Imagen principal */
.main-image {
    border: 5px solid #FA0079;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor de miniaturas */
.thumbnail-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    width: 100%;
    scroll-behavior: smooth;
}

.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #6e6e6e;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background-color: #e0e0e0;
    border-radius: 10px;
}

.thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #FA0079;
    transform: scale(1.1);
}


.productos-relacionados .card-img-top {
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.productos-relacionados .card {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.productos-relacionados .card:hover {
    transform: translateY(-5px);
}

.prod-relacionados h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.border-pink {
    border: 2px solid #FA0079;
}

.card-img-top {
    height: 400px;
    object-fit: cover;
}





/* Vista en PC */
@media (min-width: 992px) {
    .main-image {
        margin: 4px 0;
    }

    .thumbnail-container {
        gap: 15px;
    }

    .thumbnail {
        width: 100px;
        height: 100px;
    }
}

/* Vista Móvil */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column; /* Cambiar dirección a columna */
    }

    .thumbnail-container {
        margin-top: 10px;
        gap: 8px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
    .card-img-top {
        height: 300px;
    }
    .text-truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1.1rem; /* Incrementa el tamaño de la fuente */
        font-weight: bold; /* Aplica negrita */
    }

    .productos-relacionados .d-flex {
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .productos-relacionados .d-flex::-webkit-scrollbar {
        height: 5px;
    }

    .productos-relacionados .d-flex::-webkit-scrollbar-thumb {
        background-color: #FA0079;
        border-radius: 10px;
    }

    .productos-relacionados .d-flex::-webkit-scrollbar-track {
        background-color: #f0f0f0;
    }

    .productos-relacionados .card-body {
        padding: 10px;
    }

    .productos-relacionados .card-title {
        font-size: 14px;
    }

    .productos-relacionados .card-text {
        font-size: 12px;
    }
}




/* Botones de navegación */
.nav-btn {
    background: #FA0079;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.nav-btn:hover {
    transform: scale(1.2);
}

.nav-btn.prev {
    left: -20px;
}

.nav-btn.next {
    right: -20px;
}




/* FOOTER */
footer {
    margin-top: 20px;
}

/* Parte superior del footer */
.footer-top {
    background-color: #F4F4F4;
    padding: 20px 15px;
    text-align: center;
}

.footer-top h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.footer-top .social-icons {
    margin-bottom: 10px;
    margin-top: 30px;
}

.footer-top .social-icons a {
    font-size: 40px;
    color: #FA0079;
    margin: 0 10px;
    text-decoration: none;
}

.footer-top .handle {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
    display: block;
}

.footer-top .contact-info {
    margin-top: 42px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-top .contact-info div {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.footer-top .contact-info a {
    color: #000;
    text-decoration: none;
}

.footer-top .contact-info a:hover {
    text-decoration: underline;
}

.footer-top .contact-info i {
    font-size: 18px;
    color: #FA0079;
    margin-right: 10px;
}

/* Parte inferior del footer */
.footer-bottom {
    background-color: #E2E2E2;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    line-height: 1.8; /* Espaciado entre líneas */
}

.footer-bottom .copyright {
    font-size: 18px;
    color: #000;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-bottom .consumer-info {
    color: #000;
    font-size: 14px;
}

.footer-bottom .consumer-info a {
    color: #FA0079;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom .consumer-info a:hover {
    text-decoration: underline;
}


/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px; /* Más separado de la parte inferior */
    right: 30px; /* Más separado de la parte derecha */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Elimina el subrayado azul */
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Agranda el botón al pasar el mouse */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Aumenta la sombra */
}

.whatsapp-button i {
    color: white;
    font-size: 28px;
}


/* GENERAL */
h1 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    color: #D12F66;
    margin-top: 35px;
}

.faq-answer {
    /*margin-bottom: 15px;*/
    margin-top: -15px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


/* CONTACTO */
.btn-enviar {
    background-color: #FA0079; /* Color rosa */
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #000; /* Color negro al pasar el mouse */
    color: white;
}


/* PRODUCTO */
.text-pink {
    color: #FA0079;
}

.btn-pink {
    background-color: #FA0079;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-pink:hover {
    background-color: #000;
    color: white;
}

.breadcrumb{
    margin-top: 16px !important;
}

.btn-submit.disabled {
    background-color: #e0e0e0; /* Gris clarito */
    color: #a0a0a0; /* Texto más tenue */
    border: 1px solid #d0d0d0; /* Borde más suave */
    cursor: not-allowed; /* Mostrar un cursor de no permitido */
}
.btn-submit:not(.disabled) {
    background-color: #FA0079; /* Rosa activo */
    color: white;
    border: none;
    cursor: pointer;
}

/* FORMULARIO */
/* Ajustes generales */
.quantity-input-wrapper .col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido horizontalmente */
    justify-content: center; /* Centra el contenido verticalmente */
}

/* Espaciado para el label */
.quantity-input-wrapper .form-label {
    margin-bottom: 5px; /* Espacio entre el label y el input */
    font-weight: bold;
}

/* Contenedor general */
.quantity-input {
    position: relative;
    width: 60px; /* Ancho del input */
}

/* Input numérico */
.quantity-input input {
    width: 100%;
    text-align: center;
    appearance: textfield; /* Estándar */
    -moz-appearance: textfield; /* Firefox */
    -webkit-appearance: none; /* Chrome, Safari, Edge */
}

/* Ocultar flechas nativas */
.quantity-input input::-webkit-inner-spin-button,
.quantity-input input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Botones ▲ y ▼ */
.quantity-input button {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa; /* Color de fondo */
    border: 1px solid #ced4da;
    color: #6c757d;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

/* Botón + arriba */
.quantity-input .btn-up {
    top: 0;
    right: 0;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

/* Botón - abajo */
.quantity-input .btn-down {
    bottom: 0;
    right: 0;
    border-top: none;
    border-radius: 0 0 4px 0;
}






/* CARROUSEL INICIO */
#photoCarousel img {
    max-height: 500px;
    object-fit: cover;
}


/* MOSTRAR CATEGORIAS */
.card-category {
    position: relative;
    overflow: hidden;
    height: 400px; /* Ajustá el tamaño según lo que necesites */
    text-align: center;
    border-radius: 6px;
    transition: transform 0.3s;
}

.card-category:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

.card-category img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
    z-index: 1;
}

.card-category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1));
    color: #fff;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}