﻿body{
    background: #fefaf5;
    font-family: "Montserrat", sans-serif;
}


.cabecera-ayuda{
    height: 88px;
}

#nosotros,
#contacto{
    scroll-margin-top: 88px;
}

.cabecera{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: white;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cabecera-contenido{
    align-items: center;
    display: flex;
    gap: 24px;
    min-height: 88px;
}

.marca{
    align-items: center;
    color: inherit;
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    text-decoration: none;
}

.logotipo{
    display: block;
    width: 96px;
}

.logotipo img{
    display: block;
    height: auto;
    width: 100%;
}

.leyenda{
    font-family: "Roboto", sans-serif;
    color: #ff7000;
    font-weight: bold;
    font-size: 33px;
}


.menu-principal{
    flex: 1;
}

.menu-principal a{
    color: black;
    text-decoration: none;
}
.menu-principal > ul{
    align-items: center;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-principal > ul > li{
    flex: 1;
    text-align: center;
}
.menu-principal a{
    display: inline-block;
    font-size: 18px;
    transition: transform 0.2s ease;
    font-weight: 300;
}
.menu-principal a:hover,
.menu-principal a:focus-visible{
    color: #ff7000;
    font-weight: bold;
}

.menu-productos{
    position: relative;
}

.menu-productos-encabezado{
    align-items: center;
    display: flex;
    justify-content: center;
}

.submenu-toggle{
    background: transparent;
    border: 0;
    color: #202020;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 6px;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible{
    color: #ff7000;
}

.menu-principal .submenu-productos{
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    display: none;
    left: 50%;
    list-style: none;
    margin: 0;
    min-width: 260px;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    z-index: 101;
}

.menu-productos:hover > .submenu-productos,
.menu-productos:focus-within > .submenu-productos,
.menu-productos.submenu-abierto > .submenu-productos{
    display: block;
}

.menu-principal .submenu-productos li{
    text-align: left;
}

.menu-principal .submenu-productos a{
    display: block;
    font-size: 16px;
    padding: 11px 16px;
    white-space: nowrap;
}

.menu-toggle,
.menu-cerrar{
    background: transparent;
    border: 0;
    color: #202020;
    cursor: pointer;
    font-family: inherit;
}

.menu-toggle,
.menu-cerrar{
    display: none;
}

.datos{
    text-align: center;
}
.datos img{
    width: 30px;
    margin-left: 4px;
    vertical-align: middle;
}


.efecto{
    background: url(../images/fondo-efecto.jpg) no-repeat center center;
    background-size: cover;
    color: white;
    padding-top: 100px;
    padding-bottom: 100px;
}
.efecto h1{
    font-weight: bold;
    font-size: 50px;
}
.efecto h2{
    font-size: 30px;
    font-weight: 300;
}

.home-categories{
    background: #fff8ef;
}

.home-categories h2{
    color: #ff6f00;
}

.home-category-card{
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    color: #202020;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-category-card:hover,
.home-category-card:focus-visible{
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.16);
    color: #202020;
    transform: translateY(-5px);
}

.home-category-card:focus-visible{
    outline: 3px solid #ff6f00;
    outline-offset: 3px;
}

.home-category-image{
    align-items: center;
    display: flex;
    height: 230px;
    justify-content: center;
    padding: 20px;
}

.home-category-image img{
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.home-category-body{
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 20px 24px;
    text-align: center;
}

.home-category-name{
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.home-category-series{
    color: #666;
    margin-bottom: 1rem;
}

.home-category-action{
    color: #ff6f00;
    font-weight: 700;
    margin-top: auto;
}


.productos{
    padding-top: 40px;
    padding-bottom: 40px;
}

.product-category + .product-category {
    margin-top: 4rem;
}

.product-category-title {
    color: #ff6f00;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.15;
    margin-bottom: 2rem;
}

.product-category-description {
    color: #4d4d4d;
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 950px;
    text-align: center;
}


.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card-image {
    height: 230px;
    object-fit: contain;
    padding: 16px;
    background: #fff;
}

.product-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.btn-orange {
    background-color: #ff6f00;
    color: white;
}

.btn-orange:hover {
    background-color: #e65c00;
}

.modal-header {
    background-color: #ff6f00;
    color: white;
}

.badge-orange {
    background-color: #ffa726;
    color: #fff;
    font-size: 0.9rem;
}

section h2 {
    font-size: 2rem;
}

section h5 {
    font-size: 1.2rem;
    color: #ff6f00;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    padding: 14px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease-in-out;
}
.whatsapp-float img{
    width: 40px;
}

.whatsapp-float:hover {
    background-color: #1ebc59;
    transform: scale(1.1);
    text-decoration: none;
}

.productoDetalles{
    padding-top: 40px;
    padding-bottom: 40px;
}

.producto-imagen {
    max-height: 340px;
    height: 340px;
    object-fit: contain;
}

.product-specifications {
    overflow-wrap: anywhere;
}

.product-specifications h2,
.product-specifications h3,
.product-specifications h4,
.product-specifications h5 {
    color: #ff6f00;
    margin-top: 1.5rem;
}

.product-specifications ul,
.product-specifications ol {
    padding-left: 1.5rem;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 18px;
}


@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){

}

@media screen and (max-width:992px){

}

@media screen and (max-width:768px){
    #nosotros,
    #contacto{
        scroll-margin-top: 148px;
    }

    .cabecera-ayuda{
        height: 148px;
    }

    .cabecera-contenido{
        display: grid;
        gap: 6px;
        justify-items: center;
        min-height: 148px;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .marca{
        gap: 9px;
    }

    .logotipo{
        width: clamp(64px, 18vw, 78px);
    }

    .leyenda{
        font-size: clamp(20px, 5.5vw, 25px);
    }

    .datos{
        display: none;
    }

    .menu-toggle{
        align-items: center;
        background: #ff7000;
        border-radius: 5px;
        color: #fff;
        display: inline-flex;
        font-size: 16px;
        font-weight: 600;
        gap: 8px;
        padding: 8px 18px;
    }

    .menu-toggle span:first-child{
        font-size: 23px;
        line-height: 1;
    }

    .menu-principal{
        background: #fff;
        display: none;
        height: 100vh;
        height: 100dvh;
        inset: 0;
        overflow-y: auto;
        position: fixed;
        width: 100vw;
        z-index: 1000;
    }

    .menu-principal.menu-abierto{
        align-items: flex-start;
        display: flex;
        justify-content: flex-start;
        padding: 72px 0 28px;
    }

    .menu-principal > ul{
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        margin: 0 auto;
        width: min(100% - 48px, 420px);
    }

    .menu-principal > ul > li{
        border-bottom: 1px solid #ececec;
    }

    .menu-principal a{
        display: block;
        font-size: 23px;
        padding: 18px 12px;
        text-transform: uppercase;
    }

    .menu-productos-encabezado{
        position: relative;
    }

    .menu-productos-encabezado > a{
        flex: 1;
    }

    .submenu-toggle{
        bottom: 0;
        font-size: 26px;
        min-width: 48px;
        position: absolute;
        right: 0;
        top: 0;
    }

    .menu-principal .menu-productos > .submenu-productos{
        background: #fff7ef;
        border-radius: 0;
        box-shadow: none;
        display: none;
        min-width: 0;
        padding: 4px 0 8px;
        position: static;
        transform: none;
        width: 100%;
    }

    .menu-principal .menu-productos.submenu-abierto > .submenu-productos{
        display: block;
    }

    .menu-principal .submenu-productos li{
        border-top: 1px solid #f2dfce;
        text-align: center;
    }

    .menu-principal .submenu-productos a{
        font-size: 16px;
        padding: 12px 16px;
        text-transform: none;
        white-space: normal;
    }

    .menu-cerrar{
        display: block;
        font-size: 44px;
        line-height: 1;
        padding: 12px 20px;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1001;
    }

    body.menu-abierto{
        overflow: hidden;
    }

    .efecto{
        padding-bottom: 65px;
        padding-top: 65px;
    }

    .efecto .col-5{
        width: 100%;
    }

    .efecto h1{
        font-size: 35px;
    }

    .efecto h2{
        font-size: 21px;
    }

    .productoDetalles{
        padding: 24px 12px;
    }

    .producto-imagen{
        height: 250px;
        max-height: 250px;
    }
}

@media screen and (max-width:576px){
    .home-category-image{
        height: 200px;
    }

    .productos{
        padding: 28px 12px;
    }

    .productoDetalles .card{
        padding: 20px !important;
    }

    .productoDetalles h1{
        font-size: 1.7rem;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon{
        padding: 13px;
    }
}
