@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #111419;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    display: flex;
    align-items: center;
    background-color: #EFF3F4;
    padding: 130px 0 0 0;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    color: #9BCE21;
    text-transform: uppercase;
    font-weight: 800;
}

.menu .navbar ul li {
    position: relative;
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #111419;
    display: block;
}
.menu .navbar ul li a:hover {
    color: #9BCE21;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}

.submenu {
    position: relative;
    padding-right: 10px;
}

.submenu #carrito {
    display: none;
}

#img-carrito {
    width: 34px;
    cursor: pointer;
}

.carrito-contador {
    position: absolute;
    top: -10px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background-color: #FF9100;
    color: #FFFFFF;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.submenu:hover #carrito {
    display: block;
    position: absolute;
    right: 0;
    backdrop-filter: blur(10px);
    top: 100%;
    z-index: 1;
    background-color: rgba(17, 20, 25, 0.92);
    padding: 20px;
    min-width: 400px;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    color: #FFFFFF;
    text-align: left;
    padding: 8px 4px;
    vertical-align: middle;
}

th {
    font-size: 14px;
}

td {
    font-size: 13px;
}

.borrar {
    background-color: #9BCE21;
    border-radius: 50%;
    padding: 5px 10px;
    color: #FFFFFF;
    font-weight: 800;
    cursor: pointer;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cantidad-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #111419;
    font-weight: 700;
}

.carrito-resumen {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 14px;
    padding-top: 14px;
}

.carrito-resumen p {
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.carrito-resumen span,
.cantidad-control span {
    color: #FFFFFF;
    margin-bottom: 0;
}

.checkout-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkout-field {
    margin-bottom: 12px;
}

.checkout-field label {
    display: block;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.checkout-field select option {
    color: #111419;
}

.checkout-field textarea {
    resize: vertical;
    min-height: 78px;
}

.checkout-mensaje {
    min-height: 18px;
    color: #FFD166;
    font-size: 12px;
    margin: 4px 0 0 0;
}

.btn-whatsapp {
    width: 100%;
    text-align: center;
    margin: 12px 0;
    background-color: #25D366;
    display: block;
}

.disabled {
    pointer-events: none;
    opacity: 0.55;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-txt {
    flex-basis: 50%;
    margin-right: 25px;
}

span {
    color: #9BCE21;
    font-size: 17px;
    font-weight: 600;
    display: block;
    margin-bottom: 25px;
}

.header-txt h1 {
    font-size: 70px;
    text-transform: capitalize;
    line-height: 1;
    color: #111419;
    margin-bottom: 35px;
}

.header-txt p {
    font-size: 17px;
    color: #515557;
    margin-bottom: 35px;
}

.header-benefits {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.header-benefits p {
    margin-bottom: 0;
    padding: 10px 16px;
    background-color: #FFFFFF;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(17, 20, 25, 0.08);
    font-size: 14px;
}

.butons {
    display: flex;
}
.btn-1 {
    display: inline-block;
    padding: 13px 25px;
    background-color: #9BCE21;
    margin-right: 20px;
    color: #FFFFFF;
    text-transform: capitalize;
    margin-bottom: 100px;
}

.header-img {
    flex-basis: 50%;
    text-align: center;
}

.header-img img {
    height: 550px;
}

.oferts {
    padding: 100px 0;
    display: flex;
    justify-content: space-between;
}

.ofert-1 {
    flex-basis: calc(33.3% - 20px);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.b1 {
    background-color: #91DDD8;
}
.b2 {
    background-color: #FA9824;
}
.b3 {
    background-color: #9BCE21;
}

.ofert-txt {
    flex-basis: 50%;
}

.ofert-txt h3 {
    color: #FFFFFF;
    font-size: 20px;
}

.ofert-txt a {
    color: #FFFFFF;
}

.ofert-img {
    flex-basis: 50%;
}

.products {
    padding: 0 0 50px 0;
    text-align: center;
}

h2 {
    font-size: 40px;
    color: #111419;
}

.box-container {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.box {
    border-top: 2px solid #9BCE21;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    background-color: #F6FAFB;
    display: none;
}

.box:hover {
    transform: translateY(-6px);
    transition: transform 0.25s ease;
}
.box:nth-child(1),
.box:nth-child(2),
.box:nth-child(3),
.box:nth-child(4),
.box:nth-child(5),
.box:nth-child(6),
.box:nth-child(7),
.box:nth-child(8) {
    display: inline-block;
}

.box img {
    height: 200px;
}

.product-txt h3 {
    font-size: 20px;
    color: #111419;
    margin-bottom: 10px;
}

.product-txt p {
    margin-bottom: 25px;
    color: #515557;
}

.product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.precio {
    font-size: 17px;
    font-weight: 700;
    color: #FF9100 !important;
}

.btn-2, .btn-3 {
    background-color: #9BCE21;
    margin-top: 25px;
    display: inline-block;
    padding: 11px 35px;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-2:hover, .btn-3:hover,.btn-1:hover {
    background-color: #13462E;
}

.btn-3 {
    padding: 8px 25px;
    border-radius: 5px;
}

.ver-detalle {
    background-color: #13462E;
}

.product-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 30;
}

.product-modal.active {
    display: flex;
}

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 20, 25, 0.68);
}

.product-modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.product-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background-color: #EFF3F4;
    color: #111419;
    font-size: 28px;
    cursor: pointer;
}

.product-modal__content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
    padding: 34px;
}

.product-gallery {
    position: relative;
}

.product-gallery__main {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 24px;
    background: linear-gradient(135deg, #F6FAFB, #E6F2E1);
    padding: 24px;
}

.gallery-nav {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111419;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-size: 28px;
    cursor: pointer;
}

.gallery-nav--prev {
    left: 14px;
}

.gallery-nav--next {
    right: 14px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.product-thumbnail {
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 8px;
    background-color: #F6FAFB;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-thumbnail.active {
    border-color: #9BCE21;
    transform: translateY(-2px);
}

.product-thumbnail img {
    width: 100%;
    height: 88px;
    object-fit: contain;
}

.product-thumbnail span {
    margin: 8px 0 0 0;
    color: #515557;
    font-size: 12px;
    text-align: center;
}

.product-modal__eyebrow {
    margin-bottom: 12px;
}

.product-modal__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-modal__description {
    margin: 16px 0;
    line-height: 1.7;
    color: #515557;
}

.product-modal__price {
    font-size: 28px;
    font-weight: 800;
    color: #FF9100;
    margin-bottom: 20px;
}

.product-modal__features {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.product-modal__features li {
    position: relative;
    padding-left: 18px;
    color: #515557;
    line-height: 1.5;
}

.product-modal__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #9BCE21;
}

.product-modal__actions .btn-3 {
    padding: 12px 22px;
}

body.modal-open {
    overflow: hidden;
}

.contacto {
    padding: 20px 0 100px 0;
}

.contacto-card {
    background: linear-gradient(135deg, #13462E, #1F7A52);
    color: #FFFFFF;
    padding: 55px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(19, 70, 46, 0.22);
}

.contacto-card h2 {
    color: #FFFFFF;
    margin-bottom: 18px;
}

.contacto-card p {
    max-width: 700px;
    margin: 0 auto 28px auto;
    line-height: 1.7;
}

.testimonial {
    padding: 100px 0;
    text-align: center;
}

.testimonial-content {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.testimonial-1 {
    flex-basis: calc(50% - 20px);
    padding: 50px;
    text-align: left;
    background-color: #F6FAFB;
    border-top: 5px solid #9BCE21;
}

.testimonial-1 img {
    width: 100px;
}

.testimonial-1 h4 {
    font-size: 17px;
    color: #111419;
}

.testimonial-1 p {
    color: #515557;
    margin-bottom: 25px;
}

.footer {
    background-color: #13462E;
    padding: 100px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.link h3 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 15px;
}

.link a {
    color: #AEAFAF;
    display: block;
    margin-bottom: 10px;
}


.link a:hover {
    color: #9BCE21;
}

@media (max-width:991px) {

    .menu {
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FF9000;
        display: none;
    }

    .menu .navbar ul li {
        width: 100%;
     }

     #menu:checked ~ .navbar {
        display: initial;
     }

     .logo {
        display: none;
     }
     .menu .navbar ul li a:hover {
        color: #FFFFFF;
     }

     .submenu:hover #carrito {
        width: 320px;
        min-width: 320px;
        right: -10px;
     }

     .checkout-grid {
        grid-template-columns: 1fr;
     }

     .header {
        padding: 50px 0 0 0;
     }

     .header-content {
        padding: 30px;
        flex-direction: column;
        text-align: center;
     }

     .header-txt {
        margin-right: 0;
     }

     .butons {
        justify-content: center;
        flex-wrap: wrap;
     }

     .btn-1 {
        margin-bottom: 0;
     }

     .header-img {
        display: none;
     }

     .header-benefits {
        justify-content: center;
        margin-top: 25px;
     }

     .oferts {
        padding: 30px;
        flex-direction: column;
     }

     .ofert-1 {
        margin-bottom: 15px;
     }

     .products {
        padding: 0 30px 30px 30px;
     }

     .product-modal {
        padding: 12px;
     }

     .product-modal__content {
        grid-template-columns: 1fr;
        padding: 22px;
        gap: 22px;
     }

     .product-gallery__main {
        height: 280px;
        padding: 18px;
     }

     .product-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
     }

     .testimonial {
        padding: 30px;
     }

     .contacto {
        padding: 0 30px 30px 30px;
     }

     .contacto-card {
        padding: 35px 25px;
     }

     .testimonial-content {
        margin-top: 20px;
        flex-direction: column;
     }

     .testimonial-1 {
        padding: 25px;
        margin-bottom: 25px;
     }

     .footer {
        padding: 30px;
     }

     .footer-content {
        flex-direction: column;
        text-align: center;
     }



}
