/* =====================================================
   DISADEC
   HERBICIDAS
   ESTILOS PRINCIPALES
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --verde-musgo: #395121;
    --verde-manzana: #8EA532;
    --bistre: #2F1C12;
    --blanco: #FFFFFF;

    --gris: #666666;
    --gris-claro: #F3F4F0;
    --gris-borde: #E5E7E1;

    --titulo: 'Poppins', sans-serif;
    --texto: 'Montserrat', sans-serif;

    --container: 1400px;

    --transition: .35s ease;

    --shadow:
        0 15px 40px rgba(0, 0, 0, .10);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: var(--texto);
    font-weight: 300;

    color: var(--bistre);
    background: var(--blanco);

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


button {

    border: 0;
    background: transparent;

    cursor: pointer;

    font-family: inherit;
}


ul {
    list-style: none;
}


/* =====================================================
   CONTENEDOR
===================================================== */

.container {

    width: min(92%, var(--container));

    margin-inline: auto;
}


/* =====================================================
   TIPOGRAFÍA
===================================================== */

h1,
h2,
h3,
h4 {

    font-family: var(--titulo);
    font-weight: 600;
}


p {

    font-family: var(--texto);
    font-weight: 300;

    line-height: 1.8;
}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 110px;

    background: rgba(255, 255, 255, .97);

    z-index: 9999;

    box-shadow:
        0 3px 20px rgba(0, 0, 0, .06);
}


.header-container {

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   LOGO
===================================================== */

.logo {

    width: 190px;

    flex-shrink: 0;
}


.logo img {
    width: 100%;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    margin-inline: auto;
}


.menu {

    display: flex;
    align-items: center;

    gap: 42px;
}


.menu > li {
    position: relative;
}


.menu > li > a {

    height: 106px;

    display: flex;
    align-items: center;

    gap: 8px;

    font-family: var(--titulo);
    font-size: 15px;
    font-weight: 600;

    color: var(--verde-musgo);

    transition: var(--transition);
}


.menu > li > a:hover {
    color: var(--verde-manzana);
}


/* =====================================================
   FLECHA DROPDOWN
===================================================== */

.dropdown-link i {

    font-size: 10px;

    transition: var(--transition);
}


.dropdown:hover .dropdown-link i {
    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown-menu {

    position: absolute;

    top: 100%;
    left: 0;

    width: 270px;

    background: var(--blanco);

    border-top:
        3px solid var(--verde-manzana);

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);
}


.dropdown:hover .dropdown-menu {

    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


.dropdown-menu li {

    border-bottom:
        1px solid var(--gris-borde);
}


.dropdown-menu li:last-child {
    border-bottom: 0;
}


.dropdown-menu a {

    display: block;

    padding: 16px 20px;

    font-family: var(--texto);
    font-size: 14px;
    font-weight: 300;

    color: var(--bistre);

    transition: var(--transition);
}


.dropdown-menu a:hover {

    color: var(--blanco);

    background:
        var(--verde-musgo);

    padding-left: 28px;
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {

    display: flex;
    align-items: center;

    gap: 15px;
}


.header-cta {

    padding: 13px 22px;

    font-family: var(--titulo);
    font-size: 12px;
    font-weight: 600;

    color: var(--blanco);

    background:
        var(--verde-musgo);

    transition: var(--transition);
}


.header-cta:hover {
    background: var(--verde-manzana);
}


/* =====================================================
   MENÚ MOBILE
===================================================== */

.menu-button {

    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    color: var(--verde-musgo);

    font-size: 22px;
}


/* =====================================================
   MAIN
===================================================== */

main {

    width: 100%;

    overflow: hidden;
}


/* =====================================================
   ENCABEZADO DE CATEGORÍA
===================================================== */

.category-header {

    padding-top: 110px;

    min-height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f3f4f0 0%,
            #ffffff 100%
        );
}


.category-header-content {

    padding:
        70px 0 65px;
}


.category-tag {

    display: inline-block;

    margin-bottom: 15px;

    font-family: var(--titulo);

    font-size: 13px;

    letter-spacing: 2px;

    color: var(--verde-manzana);
}


.category-header h1 {

    margin-bottom: 15px;

    font-size:
        clamp(
            38px,
            5vw,
            58px
        );

    line-height: 1.15;

    color: var(--verde-musgo);
}


.category-header p {

    max-width: 650px;

    margin-inline: auto;

    color: var(--gris);

    font-size: 17px;
}


/* =====================================================
   PRODUCTOS
===================================================== */

.productos-section {

    padding:
        80px 0 30px;

    background: var(--blanco);
}


/* =====================================================
   GRID PRODUCTOS
===================================================== */

.productos-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


/* =====================================================
   TARJETA PRODUCTO
===================================================== */

.producto-card {

    position: relative;

    display: flex;
    flex-direction: column;

    background: var(--blanco);

    border:
        1px solid var(--gris-borde);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);

    /*
       La tarjeta ya no es un enlace.
       Por eso el cursor permanece normal.
    */

    cursor: default;
}


.producto-card:hover {

    transform:
        translateY(-8px);

    border-color:
        var(--verde-manzana);

    box-shadow:
        0 18px 40px
        rgba(57, 81, 33, .12);
}


/* =====================================================
   IMAGEN PRODUCTO
===================================================== */

.producto-image {

    height: 255px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        #fafbf8;

    overflow: hidden;
}


.producto-image img {

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform var(--transition);
}


.producto-card:hover
.producto-image img {

    transform:
        scale(1.08);
}


/* =====================================================
   INFORMACIÓN PRODUCTO
===================================================== */

.producto-info {

    padding:
        22px 22px 25px;

    text-align: center;

    border-top:
        1px solid var(--gris-borde);
}


.producto-category {

    display: block;

    margin-bottom: 8px;

    font-family: var(--titulo);

    font-size: 10px;

    letter-spacing: 1.2px;

    color: var(--verde-manzana);
}


.producto-info h2 {

    min-height: 42px;

    margin-bottom: 0;

    font-size: 17px;

    line-height: 1.3;

    color: var(--verde-musgo);
}


/*
   ELIMINADO:

   .producto-link
   .producto-card:hover .producto-link
   .producto-link i

   Ya que los productos no tienen enlace.
*/


/* =====================================================
   PAGINACIÓN
===================================================== */

.pagination {

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    padding:
        30px 0 75px;
}


.pagination-dot {

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background:
        #c9c9c9;

    transition:
        background var(--transition),
        transform var(--transition);
}


.pagination-dot:hover {

    background:
        var(--verde-manzana);

    transform:
        scale(1.15);
}


.pagination-dot.active {

    background:
        var(--verde-musgo);
}


/* =====================================================
   WHATSAPP
===================================================== */

.whatsapp {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        #25D366;

    color:
        #ffffff;

    font-size: 28px;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, .18);

    z-index: 1000;

    transition:
        transform var(--transition);
}


.whatsapp:hover {

    transform:
        translateY(-5px)
        scale(1.05);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    width: 100%;

    padding:
        70px 0 0;

    background:
        var(--blanco);

    border-top:
        1px solid var(--gris-borde);
}


/* =====================================================
   FOOTER GRID
===================================================== */

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 70px;

    padding-bottom: 60px;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.footer-brand img {

    width: 220px;

    margin-bottom: 20px;
}


.footer-brand p {

    max-width: 370px;

    color:
        var(--bistre);

    font-size: 18px;

    line-height: 1.7;
}


/* =====================================================
   FOOTER COLUMN
===================================================== */

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h3 {

    margin-bottom: 25px;

    font-family: var(--titulo);

    font-size: 18px;

    font-weight: 600;

    color:
        var(--verde-musgo);
}


.footer-column a {

    margin-bottom: 11px;

    font-family: var(--texto);

    font-size: 18px;

    font-weight: 300;

    color:
        var(--bistre);

    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-column a:hover {

    color:
        var(--verde-manzana);

    transform:
        translateX(6px);
}


.footer-column p {

    margin-bottom: 12px;

    font-size: 18px;

    color:
        var(--bistre);
}


/* =====================================================
   REDES SOCIALES
===================================================== */

.social-links {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}


.social-links a {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;

    border-radius: 50%;

    background:
        var(--verde-manzana);

    color:
        var(--blanco);

    font-size: 17px;

    transition:
        background var(--transition),
        transform var(--transition);
}


.social-links a:hover {

    background:
        var(--verde-musgo);

    color:
        var(--blanco);

    transform:
        translateY(-4px);
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {

    padding:
        23px 0;

    border-top:
        1px solid var(--gris-borde);

    text-align: center;
}


.footer-bottom p {

    font-family:
        var(--titulo);

    font-size: 13px;

    font-weight: 600;

    color:
        var(--verde-musgo);
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 9px;
}


::-webkit-scrollbar-track {

    background:
        #eeeeee;
}


::-webkit-scrollbar-thumb {

    background:
        var(--verde-musgo);

    border-radius:
        20px;
}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--verde-manzana);
}


/* =====================================================
   SELECCIÓN
===================================================== */

::selection {

    background:
        var(--verde-musgo);

    color:
        var(--blanco);
}


/* =====================================================
   TABLET GRANDE
===================================================== */

@media (max-width: 1200px) {

    .menu {
        gap: 25px;
    }


    .menu > li > a {
        font-size: 14px;
    }


    .logo {
        width: 170px;
    }


    .productos-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .footer-grid {
        gap: 40px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .header {
        height: 95px;
    }


    .logo {
        width: 175px;
    }


    /* HEADER MOBILE */

    .menu-button {
        display: flex;
    }


    .header-cta {

        padding:
            11px 17px;

        font-size: 11px;
    }


    .navbar {

        position: fixed;

        top: 95px;
        left: -100%;

        width: 300px;

        height:
            calc(100vh - 95px);

        padding:
            25px;

        margin: 0;

        background:
            var(--blanco);

        box-shadow:
            10px 0 30px
            rgba(0, 0, 0, .10);

        transition:
            left var(--transition);

        overflow-y: auto;
    }


    .navbar.active {
        left: 0;
    }


    .menu {

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;
    }


    .menu > li {
        width: 100%;
    }


    .menu > li > a {

        width: 100%;

        height: auto;

        min-height: 55px;

        justify-content:
            space-between;

        border-bottom:
            1px solid var(--gris-borde);
    }


    /* DROPDOWN MOBILE */

    .dropdown-menu {

        position: static;

        width: 100%;

        border-top: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        display: none;
    }


    .dropdown:hover
    .dropdown-menu {

        display: none;
    }


    .dropdown.active
    .dropdown-menu {

        display: block;
    }


    .dropdown-menu a {

        padding:
            13px 15px;

        background:
            var(--gris-claro);
    }


    .dropdown-menu a:hover {

        padding-left:
            20px;
    }


    /* PRODUCTOS */

    .productos-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 50px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .header {
        height: 85px;
    }


    .logo {
        width: 155px;
    }


    .header-cta {
        display: none;
    }


    .navbar {

        top: 85px;

        height:
            calc(100vh - 85px);
    }


    /* CATEGORY */

    .category-header {

        padding-top: 85px;

        min-height: 280px;
    }


    .category-header-content {

        padding:
            55px 0;
    }


    .category-header h1 {
        font-size: 38px;
    }


    .category-header p {
        font-size: 15px;
    }


    /* PRODUCTOS */

    .productos-section {

        padding-top: 55px;
    }


    .productos-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;
    }


    .producto-image {

        height: 220px;

        padding: 18px;
    }


    .producto-info {

        padding:
            18px 14px 20px;
    }


    .producto-info h2 {

        font-size: 15px;
    }


    /* FOOTER */

    .footer {
        padding-top: 55px;
    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

        padding-bottom: 45px;
    }


    .footer-brand img {
        width: 200px;
    }


    .footer-brand p {
        max-width: 100%;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


    .category-header h1 {
        font-size: 32px;
    }


    .category-header p {
        font-size: 14px;
    }


    .productos-grid {

        grid-template-columns:
            1fr;

        gap: 20px;
    }


    .producto-image {
        height: 260px;
    }


    .producto-info h2 {
        font-size: 17px;
    }


    .pagination {
        padding-bottom: 55px;
    }


    .whatsapp {

        width: 50px;
        height: 50px;

        right: 18px;
        bottom: 18px;

        font-size: 25px;
    }


    .footer-bottom p {
        font-size: 11px;
    }

}


/* =====================================================
   ANIMACIÓN PRODUCTOS
===================================================== */

@keyframes productFade {

    from {

        opacity: 0;

        transform:
            translateY(20px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


.producto-card {

    animation:
        productFade .6s ease both;
}


.producto-card:nth-child(2) {
    animation-delay: .05s;
}


.producto-card:nth-child(3) {
    animation-delay: .10s;
}


.producto-card:nth-child(4) {
    animation-delay: .15s;
}


.producto-card:nth-child(5) {
    animation-delay: .20s;
}


.producto-card:nth-child(6) {
    animation-delay: .25s;
}


.producto-card:nth-child(7) {
    animation-delay: .30s;
}


.producto-card:nth-child(8) {
    animation-delay: .35s;
}


.producto-card:nth-child(9) {
    animation-delay: .40s;
}


.producto-card:nth-child(10) {
    animation-delay: .45s;
}


.producto-card:nth-child(11) {
    animation-delay: .50s;
}


.producto-card:nth-child(12) {
    animation-delay: .55s;
}