/* ============================================================
   BASE GLOBAL
============================================================ */

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

h2 {
    text-align: center;
    padding-top: 0px;
    padding-bottom: 15px;
    font-weight: 400;
    font-size: 1.3rem;
}

.toptxt {
    text-align: left;
    padding-top: 40px;
    padding-bottom: 60px;
    font-weight: 400;
    font-size: 1.3rem;
}

.aviso-privacidad {
    text-align: left;
}


/* ============================================================
   Whatsapp
============================================================ */




.fb-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 62px;
    height: 62px;
    background-color: #1877F2;
    border-radius: 50%;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.fb-float img {
    width: 36px;
    height: 36px;
}

.fb-float:hover {
    transform: scale(1.1);
}



.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 62px;
    height: 62px;
    background-color: #25D366;
    border-radius: 50%;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}



/* ============================================================
   NAVBAR
============================================================ */





.bg-light {
    background-color: #000000 !important;
    padding: 0 !important;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 8%;
    padding-left: 1%;
}

.navbar-brand img {
    height: auto !important;
    width: 120px !important;
    max-height: none !important;
}

/* Búsqueda */
.search-bar {
    max-width: 250px;
    height: 20px;
}

.search-input {
    height: 26px;
    font-size: 0.75rem;
    padding: 2px 8px;
}

.btn-search {
    height: 26px;
    padding: 0 8px;
    font-size: 0.75rem;
}

/* Menú */
.menu-pill .nav-link {
    padding: 2px 10px;
    font-size: 0.95rem;
    border-radius: 2px;
    white-space: nowrap;
    transition: 0.2s ease-in-out;
    color: #ffffff !important;
}

.menu-pill .nav-link:hover {
    background-color: #c084cb;
    border-color: #fc40ae;
}

.menu-pill .nav-link.active {
    background-color: #ff86da;
    color: #D9D9D9 !important;
    border-color: #0D0D0D;
}

.custom-img {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

.categorias h2 {
    padding-top: 30px;
}

/* ============================================================
   FOOTER GLOBAL
============================================================ */

.footer {
    background-color: #000000;
    width: 100%;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #333;
    margin-top: 0 !important;
}

.footer-top {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

.footer-logo img {
    max-height: 60px;
    height: auto;
    width: auto;
}

.footer-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1px;
    transform: translateX(-7%);
}

.contact-icon img {
    height: 28px;
}

.contact-info {
    text-align: center;
    font-size: 14px;
}


a {
    color: white;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a img {
    height: 28px;
    transition: transform 0.2s ease;
}

.footer-social a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    background-color: #5e5e5e;
    width: 100%;
    margin: 0;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
    padding-left: 20px;
}

.footer-bottom p {
    color: #A6A6A6;
    margin: 0;
}

.link-privacidad {
    text-decoration: none;
    color: #A6A6A6;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.link-privacidad:hover {
    color: #404040;
    border-bottom: 1px solid #0D0D0D;
}

/* ============================================================
   HOME
============================================================ */
.categorias {
    padding-top: 40px;
}

.categorias .owl-carousel img {
    width: 100%;
    max-width: 170px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: block;
}

.txcl {
    text-align: left;
    padding: 20px;
    font-size: small;
    font-weight: lighter;
}

.categorias .text-work {
    font-size: 0.95rem;
    font-weight: lighter;
    color: #333;
    text-align: center;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.categorias .cate {
    text-align: center;
    padding: 20px !important;
}

.categorias .owl-carousel .owl-item {
    padding: 0 2px;
}

/* Galería */
.galeria-carousel .owl-stage-outer {
    overflow: visible;
}

.galeria-carousel .owl-item {
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.galeria-carousel .owl-item img {
    width: 700px !important;
    height: 380px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.galeria-carousel .owl-item.center {
    z-index: 5;
    /* el item central queda por encima */
}

.galeria-carousel .owl-item:not(.center) {
    z-index: 1;
    /* laterales detrás */
}

.galeria-carousel .owl-item.center img {
    opacity: 1;
    box-shadow: 0 4px 8px #404040;
}

.galeria-carousel .owl-item:not(.center) img {
    transform: scale(0.5);
    opacity: 0.4;
}

.owl-carousel .owl-stage-outer {
    padding-bottom: 10px;
}

.galeria {
    margin-top: 50px;
    position: relative;
    padding-bottom: 10px;
}

.owl-theme .owl-dots {
    display: block !important;
    text-align: center;
    margin-top: 20px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #A6A6A6 !important;
}

.galeria::after,
.ofertas::after {
    content: "";
    display: block;
    width: 80%;
    max-width: 1220px;
    height: 1px;
    background-color: #A6A6A6;
    margin: 60px auto 0;
}

/* Ofertas */

.ofertas img {

    width: auto;
    height: 250px;
    /* ajusta el alto a tu gusto */
    object-fit: contain;
    /* recorta sin deformar */
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.txtservi {
    font-size: 0.95rem;
    font-weight: lighter;
    color: #333;
    text-align: center;
    margin-top: 4px;
    letter-spacing: 0.5px;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
}

.servicios {
    padding-bottom: 80px;
}

.servicios img {
    max-width: 30%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

/* ============================================================
   COLABORADORES
============================================================ */

.colaboradores-grid {
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-bottom: 1px solid #A6A6A6;
}


.colaboradores-grid img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 4px 12px rgba(215, 12, 12, 0.15);
}




.colaboradores-grid img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.colaboradores-grid p {
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.colaboradores-grid a:hover p {
    color: #6c6c6c;
}

.colaboradores-grid .row {
    margin-bottom: 0;
}


/* =============================== */
/* SECCIÓN DEL COLABORADOR */
/* =============================== */

#colaborador1,
#colaborador2,
#colaborador3 {
    padding-top: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e6e6e6;
    margin-top: 60px;
}

#colaborador1 img,
#colaborador2 img,
#colaborador3 img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease;
    margin-bottom: 40px;
}


#colaborador1 h3,
#colaborador2 h3,
#colaborador3 h3 {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

#colaborador1 p,
#colaborador2 p,
#colaborador3 p {
    font-weight: 300;
    line-height: 1.7;
    color: #4a4a4a;
}


.iniciocolab img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 60px;
}

.iniciocolab p {
    font-weight: 300;
    line-height: 1.7;
    color: #4a4a4a;

}

.iniciocolab img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.iniciocolab .row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh;
}

.iniciocolab a {
    display: inline-block;
    margin: 20px;
}




.producto-destacado img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
    margin-bottom: 40px;
}

.producto-destacado img:hover {
    transform: scale(1.03);
}

.producto-destacado h4 {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.producto-destacado p {
    font-weight: 300;
    line-height: 1.7;
    color: #4a4a4a;
}


/* ============================================================
   CONTACTO
============================================================ */

.contacto {
    padding-top: 0px;
    padding-bottom: 60px;
}

.titulo-contacto {
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 10px;
}

.subtitulo-contacto {
    font-weight: 300;
    color: #4a4a4a;
    text-align: center;
    margin-bottom: 40px;
}

.formulario-contacto {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: border-color 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    border-color: #999;
    outline: none;
}

.formulario-contacto textarea {
    height: 150px;
    resize: none;
}

.formulario-contacto button {
    padding: 14px;
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

.formulario-contacto button:hover {
    opacity: 0.8;
}

/* ============================================================
   PRODUCTOS
============================================================ */

.product-page {
    margin-top: 40px;
}


.mr-de-haviland-regular {
    font-family: "Mr De Haviland", cursive;
    font-weight: 400;
    font-style: normal;
}


.product-title {
    font-family: "Mr De Haviland", cursive;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 30px;
    font-weight: 400;
    font-size: 5.5rem;
}


/* Columna izquierda */
.product-images {
    width: 50%;
}

/* Imagen principal con tamaño fijo */
.main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
}

/* Miniaturas */
.thumbnail-list {
    display: flex;
    gap: 10px;

}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.thumb:hover {
    opacity: 1;
}

/* Columna derecha */
.product-info {
    width: 50%;
    text-align: left;
}

.fichtc {
    border: 1px solid black;
    padding: 20px;
    margin-top: 40px;
    padding-top: 0;
    padding-bottom: 10px;
}

.fichtc h2 {
    padding-top: 10px;
}



/*LUPA SOBRE IMAGEN PRINCIPA */

.image-wrapper {
    position: relative;
    display: inline-block;
}

.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.image-wrapper:hover .zoom-icon {
    opacity: 1;
}

.image-wrapper:hover .main-image {
    filter: brightness(0.7);
    transition: 0.3s ease;
}

/*SECCIÓN SUGERENCIAS*/

.suggestions {
    margin-top: 80px;
    margin-bottom: 80px;
}

.suggestions h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.suggestion-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.suggestion-grid img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/*MINIATURAS A LA IZQUIERDA*/

/*miniaturas + imagen principal */
.image-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Miniaturas en columna */
.thumbnail-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Ajuste de miniaturas verticales */
.thumbnail-list-vertical .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.thumbnail-list-vertical .thumb:hover {
    opacity: 1;
}

.imgtitulo {
    display: block;
    margin-left: 0;
    width: 400px;
    height: auto;
    padding-bottom: 40px;
}



/* ============================================================
   MEDIA QUERIES
============================================================ */

@media (max-width: 990px) {
    .navbar .container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .logo-box {
        justify-self: center;
        grid-column: 2;
        padding-left: 15%;
    }

    .navbar-toggler {
        justify-self: end;
        grid-column: 3;
        grid-row: 1;
    }

    .collapse.navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 0.25rem;
    }

    a.nav-link {
        border-bottom: solid 1px rgb(71, 71, 71);
        padding: 32px !important;
    }

    a.polo {
        border-bottom: none;
    }
}

@media (min-width: 992px) {
    #menu02 .navbar-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: static;
    }

    .footer-contact {
        position: static;
        transform: none;
        margin-top: 0px;
    }

    .footer-logo {
        margin-bottom: 5px;
    }

    .contact-icon {
        display: none;
    }

    .footer-bottom {
        align-items: center;
        text-align: center;
    }

    /* Colaboradores */
    .colaboradores-grid img {
        width: 120px;
        height: 120px;
    }

    #colaborador1,
    #colaborador2,
    #colaborador3 {
        text-align: center;
    }

    /* Productos */
    .product-content {
        flex-direction: column;
    }

    .product-images,
    .product-info {
        width: 100%;
    }

    .suggestion-grid {
        grid-template-columns: 1fr;
    }

    .image-layout {
        flex-direction: column;
        align-items: center;
    }

    .thumbnail-list-vertical {
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .thumbnail-list-vertical .thumb {
        width: 70px;
        height: 70px;
    }

    .imgtitulo {
        display: block;
        margin: 0 auto;
        width: 200px;
        height: auto;
        padding-bottom: 40px;
    }

    @media (min-width: 768px) {
        .fb-float {
            display: none;
        }
    }

}