/* @import url('https://fonts.cdnfonts.com/css/montserrat'); */
/* @import url('https://fonts.cdnfonts.com/s/14883/Montserrat-Regular.woff');
@import url('https://fonts.cdnfonts.com/s/14883/Montserrat-Medium.woff'); */



/*https://fonts.cdnfonts.com/s/14883/Montserrat-Regular.woff */
@font-face {
    font-family: 'Montserrat';
    src: url("https://fonts.cdnfonts.com/s/14883/Montserrat-Regular.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/*https://fonts.cdnfonts.com/s/14883/Montserrat-Medium.woff */
@font-face {
    font-family: 'Montserrat';
    src: url("https://fonts.cdnfonts.com/s/14883/Montserrat-Medium.woff") format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


* {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}


/* NAVBAR */
.navbar {
    min-height: var(--navbar-h);
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img.logo {
    height: 100%;
    max-height: var(--navbar-h);
    width: auto;
    object-fit: contain;
}


.nav-item .selected {
    color: var(--ac-green-100) !important;

}

.nav-link {
    color: black;
    border: none;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--ac-green-brand);
    /* border-color: var(--ac-green-brand); */
    border: none;
}

/* home */

#hero-home .hero-wrapper {
    height: 60vh;
    /* antes estaba en la clase del div */
    min-height: 380px;
    /* opcional, para pantallas muy bajas */
    overflow: hidden;
    /* asegura que la imagen no desborde */
}

.object-fit-cover {
    object-fit: cover;
    /* mantiene el recorte tipo background-size:cover */
}

/* Justifica el texto en todos los navegadores */
.text-justify-custom {
    text-align: justify;
}

/* Opcional: en pantallas pequeñas, centra la imagen y da espacio arriba */
@media (max-width: 767.98px) {
    .text-justify-custom {
        text-align: justify;
    }
}

/* PRoductos */


.productos {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-self: center;
    flex-wrap: wrap;
}

.productos-category {
    height: 50px;
    background-color: rgb(25, 128, 69);
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 50px;
    padding-left: 10px;
    color: white;
    font-size: 2rem;
}

.productos .card {
    width: 320px;
    box-shadow: none !important;
    margin: auto;
    margin-bottom: 5px;
    margin-top: 5px;
}

.productos .card:hover {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75) !important;
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75) !important;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 1) !important;
}


.productos .card .card-image {
    height: 200px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}

.productos .card .green-line {
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 0;
    background-color: rgba(25, 128, 69, 0);
}

.productos .card:hover .green-line {
    width: 100%;
    transition: background-color 0.5s ease;
    background-color: rgba(25, 128, 69, 1);
}

.productos .card-image img {
    display: block;
    border-radius: 2px 2px 0 0;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

.productos .card .card-image .card-title {
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100%;
    padding: 24px;
}

/* Nosotros */

.hero-nosotros-image {
    background-image: url('/assets/img/bodega.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
}

.hero-servicios-image {
    background-image: url('/assets/img/c3.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
}

.hero-contacto-image {
    background-image: url('/assets/img/c2.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
}


/* Foother */

/* Enlaces del footer */
.footer-link {
    color: #fff;
    /* hereda el blanco del footer */
    text-decoration: none;
    /* sin subrayado */
    transition: none;
    /* evita animaciones de color */
}

.footer-link:hover,
.footer-link:focus {
    color: var(--ac-green-100);
    /* no cambia de tono */
    text-decoration: none;
    /* sin subrayado al hover/focus */
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    /* ⬇ círculo perfecto */
    width: 60px;
    height: 60px;
    /* mismo valor que width */
    border-radius: 50%;

    display: flex;
    /* centra el ícono */
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    text-decoration: none;
    transition: transform .2s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-button i {
    /* asegura ícono centrado */
    line-height: 1;
}

/* Paleta declarada en :root {
     --ac-green-brand:#007a40;
     --ac-green-100:#008c63;
     --ac-green-100-rgb:0,140,99;
} */

.producto-tabla thead th {
    background: var(--ac-green-brand);
    color: #fff;
    font-weight: 600;
    border-color: var(--ac-green-brand);
}

/* zebra‑striping: aplica el fondo gris claro a todas las celdas de las filas pares */
.producto-tabla tbody tr:nth-child(even) > * {
    background: #f8f9fa;   /* gris claro */
  }
  

/* resalta toda la fila */
.producto-tabla tbody tr:hover > * {
    background: rgba(var(--ac-green-100-rgb), .12);
  }
  

.producto-tabla td,
.producto-tabla th {
    padding: .6rem .5rem;
    vertical-align: middle;
}