/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --green: #006835;
    --green-dark: #005228;
    --green-light: #e8f5ee;
    --orange: #e55a00;
    --gray-100: #f7f7f7;
    --gray-200: #eeeeee;
    --gray-600: #6c757d;
    --text: #111111;
    --white: #ffffff;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --transition: 0.2s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', ui-sans-serif, system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

section {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    /* centra */
    padding: 0 16px;
    /* evita que se pegue a los bordes */
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header nav links */
.nav-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--green);
    background: var(--green-light);
}

.nav-link.ofertas {
    color: var(--orange);
    font-weight: 700;
}

.nav-link.ofertas:hover {
    background: #fff4ed;
}

/* Mobile menu links */
.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
    color: var(--text);
}

.menu-link:hover {
    background: var(--gray-100);
    color: var(--green);
}

/* Footer */
.footer-link {
    color: var(--gray-600);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--green);
}

/* Newsletter */
.nl-input:focus {
    outline: none;
    border-color: var(--green) !important;
}

/* CTA Button */
.btn-green {
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* Scrollbar */
.hide-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hide-scroll::-webkit-scrollbar {
    display: none;
}

/* Social icon */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    /*background: var(--gray-200);*/
    font-size: 18px;
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--green-light);
    transform: scale(1.1);
}

/* ── Homepage layout ─────────────────────────────────────────── */

.home-root {
    width: 100%;
    max-width: 1360px;
    box-sizing: border-box;
}

/* ── Homepage 2-column layout (sidebar + main) ──────────────── */

.homepage-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.cat-sidebar-col {
    width: 248px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: none;
}
.cat-sidebar-col::-webkit-scrollbar { display: none; }

.homepage-main-col {
    flex: 1 1;
    min-width: 0;
}

@media (max-width: 1100px) {
    .cat-sidebar-col { display: none; }
}

.home-grid {
    display: grid;
    grid-gap: 64px;
    gap: 64px;
    width: 100%;
    min-width: 0;
}

/* ── Section heading ─────────────────────────────────────────── */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.section-heading h2 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

.section-heading-link {
    color: var(--green);
    background: var(--green-light);
    border: 1px solid #c2e0cc;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition);
}

.section-heading-link:hover {
    background: #d4ecde;
}

/* ── Value props (trust bar) ─────────────────────────────────── */

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
    gap: 16px;
    width: 100%;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ── Animations ──────────────────────────────────────────────── */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.5s ease both;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.shimmer-card {
    height: 280px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.shimmer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 16px;
    gap: 16px;
}

/* ── Badges ──────────────────────────────────────────────────── */

.badge-new {
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.badge-sale {
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.product-wrap {
    position: relative;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── Carousel ────────────────────────────────────────────────── */

.carousel-wrapper {
    position: relative;
    /*width: 1200px;*/
    min-width: 0;
    box-sizing: border-box;
    padding: 0 44px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    z-index: 2;
    font-size: 18px;
    transition: border-color var(--transition);
}

.carousel-btn:hover {
    border-color: var(--green);
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.product-card-wrap {
    flex: 0 0 180px;
}

/* ── Storytelling ────────────────────────────────────────────── */

.storytelling-section {
    width: 100%;
    box-sizing: border-box;
}

.storytelling-box {
    border-radius: 20px;
    background: linear-gradient(135deg, #003d20 0%, #006835 60%, #00a854 100%);
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ── Testimonials ────────────────────────────────────────────── */

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 20px;
    gap: 20px;
}

.testi-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s;
}

.testi-card:hover {
    border-color: var(--green);
}

/* ── Lead capture ────────────────────────────────────────────── */

.lead-box {
    border-radius: 20px;
    background: #f7f7f7;
    border: 1px solid #eee;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lead-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    flex-wrap: wrap;
    justify-content: center;
}

.lead-input {
    flex: 1 1 220px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.2s;
    min-width: 0;
}

.lead-input:focus {
    border-color: var(--green);
}

.lead-btn {
    padding: 12px 24px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.lead-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.lead-success {
    background: var(--green-light);
    border: 1px solid #c2e0cc;
    border-radius: 12px;
    padding: 16px 28px;
    color: var(--green);
    font-weight: 600;
    font-size: 15px;
}

/* ── Brands carousel ─────────────────────────────────────────── */

.brands-section {
    width: 100%;
    max-width: 1360px;
    box-sizing: border-box;
}

.brands-outer {
    position: relative;
}

.brands-inner {
    overflow: hidden;
    width: 100%;
}

.brands-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
}

.brand-card-wrap {
    flex-shrink: 0;
    width: 140px;
}

.brand-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s, background 0.2s;
}

.brand-nav-btn:hover {
    background: #f0f0f0;
    border-color: var(--green);
}

.brand-nav-btn-left {
    left: 0;
}

.brand-nav-btn-right {
    right: 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablet ≤ 1024px */
/* ═══════════════════════════════════════════════
   DESKTOP NAV (hide on mobile, show on desktop)
═══════════════════════════════════════════════ */

.desktop-nav {
    display: none;
    gap: 2px;
    align-items: center;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Tablet ≤ 1024px
═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile ≤ 767px
═══════════════════════════════════════════════ */

@media (max-width: 767px) {

    /* Value trust bar: 1 col */
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .value-card {
        padding: 14px;
        gap: 10px;
    }

    /* Section headings */
    .section-heading h2 {
        font-size: 1.15rem;
    }

    /* Carousel: narrower cards on mobile */
    .product-card-wrap {
        flex: 0 0 150px;
    }

    /* Storytelling box */
    .storytelling-box {
        padding: 40px 24px;
        border-radius: 14px;
    }

    /* Testimonials: stack */
    .testi-grid {
        grid-template-columns: 1fr;
    }

    /* Lead box */
    .lead-box {
        padding: 32px 20px;
        border-radius: 14px;
    }

    /* Brands nav buttons: hide on very small screens */
    .brand-nav-btn {
        display: none;
    }

    .brands-inner {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .brands-inner::-webkit-scrollbar {
        display: none;
    }

    .brands-track {
        width: max-content;
    }

    /* Footer columns: 2 col on mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        padding: 32px 16px 24px !important;
    }

    /* Footer brand col: full width */
    .footer-brand-col {
        grid-column: 1 / -1;
    }

    /* Footer top bar: stack on mobile */
    .footer-top-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 10px 16px !important;
    }

    .footer-top-bar span {
        flex-direction: column !important;
        gap: 6px !important;
    }

    /* Home grid: tighter gap on mobile */
    .home-grid {
        gap: 40px;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Small mobile ≤ 480px
═══════════════════════════════════════════════ */

@media (max-width: 480px) {

    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .value-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 8px;
    }

    /* Carousel buttons: smaller */
    .carousel-wrapper {
        padding: 0 32px;
    }

    .carousel-btn {
        width: 28px;
        height: 28px;
    }

    /* Section heading link: icon only or hide text */
    .section-heading-link {
        font-size: 12px;
        padding: 5px 10px;
    }

    /* Tighter main padding */
    main {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Storytelling */
    .storytelling-box {
        padding: 32px 16px;
    }

    /* Footer: single column */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}
