:root {
    --primary: #4CAF50;
    --secondary: #388E3C;
    --accent: #FFC107;
    --text: #333;
    --light: #f9f9f9;
    --dark: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --trans: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #68a36b 100%);
    --gradient-button: linear-gradient(45deg, #ff6b35, #f7931e);
    --white-alpha-10: rgba(255, 255, 255, 0.1);
    --white-alpha-15: rgba(255, 255, 255, 0.15);
    --white-alpha-20: rgba(255, 255, 255, 0.2);
    --white-alpha-30: rgba(255, 255, 255, 0.3);
    --white-alpha-40: rgba(255, 255, 255, 0.4);
    --white-alpha-95: rgba(255, 255, 255, 0.95);
    --button-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    --button-shadow-hover: 0 12px 35px rgba(255, 107, 53, 0.6);
    --box-shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s ease;
    --transition-slide: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 20px;
    --border-radius-small: 8px;
    --border-radius-pill: 50px;
}

/* Goto Next */

.goto-next {
    border: 0;
    bottom: 0;
    display: block;
    height: 5em;
    left: 50%;
    margin: 0 0 0 -5em;
    overflow: hidden;
    position: absolute;
    text-indent: 10em;
    white-space: nowrap;
    width: 10em;
    z-index: 1;
}

.goto-next:before {
    background-image: url("images/arrow.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: block;
    height: 1.5em;
    left: 50%;
    margin: -0.75em 0 0 -1em;
    position: absolute;
    top: 50%;
    width: 2em;
    z-index: 1;
}

/* Hero */
.hero {
    min-height: 100vh;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, var(--white-alpha-10) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--white-alpha-15) 0%, transparent 50%);
    z-index: 1;
}

/* Partículas flotantes */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--white-alpha-10);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 70%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 80%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    top: 70%;
    left: 90%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Carrusel optimizado */
.carousel-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel-slide {
    display: none;
    width: 100%;
    padding: 0 5%;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slide);
}

.carousel-slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.content {
    flex: 1;
    max-width: 600px;
    z-index: 3;
}

.content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.3s both;
}

.content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--white-alpha-95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.6s both;
}

/* Botones unificados */
.btn,
.btn-comprar,
.btn-primary,
.hero .btn {
    display: inline-block;
    background-color: var(--primary);
    /* Restauro el color verde */
    background-image: none;
    /* Elimino el gradiente naranja */
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra más suave */
    position: relative;
    overflow: hidden;
}

.btn:hover,
.btn-comprar:hover,
.btn-primary:hover,
.hero .btn:hover {
    background-color: var(--secondary);
    /* Verde más oscuro al hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Sombra hover más suave */
}

.hero .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    animation: slideInUp 1s ease-out 0.9s both;
    background: var(--gradient-primary);
    /* Gradiente verde para el hero */
}

.hero .btn:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2c5530 100%);
    /* Gradiente más oscuro al hover */
}

.hero .btn::before {
    content: '';
    position: absolute;
    inset: 0 -100% 0 0;
    background: linear-gradient(90deg, transparent, var(--white-alpha-30), transparent);
    transition: left 0.5s;
}

.hero .btn:hover::before {
    left: 100%;
}

/* Imagen con efectos */
.image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 3;
}

.image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-deep);
    transition: transform 0.3s ease;
    animation: slideInRight 1s ease-out 0.3s both;
}

.image:hover img {
    transform: scale(1.05) rotate(2deg);
}

.image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, var(--white-alpha-10) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }

    50% {
        transform: translate(0, 0) rotate(45deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

/* Controles del carrusel */
.carousel-controls {
    transition: none !important;
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 4;
}

.prev-btn,
.next-btn {
    width: 60px;
    height: 60px;
    border: 2px solid var(--white-alpha-30);
    background: var(--white-alpha-20);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--white-alpha-30);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color 0.3s ease;
}

.dot.active::after {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Barra de progreso */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-button);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 5;
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reset y estilos base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--text);
    transition: var(--trans);
}

ul {
    list-style: none;
}

/* Botones */
.btn,
.btn-comprar,
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--trans);
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.btn:hover,
.btn-comprar:hover,
.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-full,
.btn-comprar {
    width: 100%;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-box {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Títulos de sección */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Header y navegación */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo .mf {
    color: #000;
    font-weight: bold;
    margin-right: 4px;
}

.logo .verde {
    color: #008000;
    font-weight: bold;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: var(--trans);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary);
}

/* Categorías */
.categorias,
.productos,
.about,
.testimonios,
.contacto {
    padding: 80px 0;
}

.categorias,
.about{
    background-color: var(--light);
}

.categoria-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.categoria {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: var(--trans);
    cursor: pointer;
}

.categoria:hover {
    transform: translateY(-10px);
}

.categoria-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

/* Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.producto {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--trans);
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.producto-img {
    position: relative;
    overflow: hidden;
}

.producto-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto:hover .producto-img img {
    transform: scale(1.05);
}

.producto-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.producto-info {
    padding: 20px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
}

.producto-precio {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Sobre Nosotros */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    margin-left: 2%;
    min-width: 300px;
    max-width: 60%;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-features li {
    margin-top: 10px;
    margin-bottom: 15px;
}

.about-features li i {
    color: var(--primary);
    margin-right: 10px;
}

.about-image {
    flex: 0 0 35%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Testimonios */
.testimonios-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonio {
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    display: flex;
    gap: 20px;
    flex: 1;
    min-width: 300px;
    transition: var(--trans);
}

.testimonio:hover {
    transform: translateY(-5px);
}

.testimonio-imagen img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonio-contenido {
    flex: 1;
}

.testimonio-contenido p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonio-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estrellas {
    color: var(--accent);
}

/* Contacto */
.contacto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contacto-info,
.contacto-form {
    flex: 1;
    min-width: 300px;
}

.contacto-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contacto-item i {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

.contacto-redes {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contacto-redes a {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: white;
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-form {
    display: flex;
    margin-top: 20px;
}

.footer-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 30px 0 0 30px;
}

.btn-footer {
    padding: 0 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* Catálogo */
.filter-bar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border: 2px solid #e8f5e8;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #4a7c59;
    background: white;
    color: #4a7c59;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #4a7c59;
}

.product-card.highlighted {
    border-color: #f39c12;
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.3);
    animation: highlight-glow 2s ease-in-out;
}

@keyframes highlight-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(243, 156, 18, 0.6);
    }
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.product-image:hover img {
    transform: scale(1.03);
}

.product-info {
    padding: 2rem;
}

.product-category {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #4a7c59;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li::before {
    content: "✓";
    background: #4a7c59;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    padding: 1rem;
    border: 2px solid #4a7c59;
    background: white;
    color: #4a7c59;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.btn-secondary:hover {
    background: #4a7c59;
    color: white;
    transform: scale(1.1);
}

.back-to-home {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4a7c59;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-home:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(74, 124, 89, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        max-width: 100%;
    }
}
/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero {
        padding: 70px 30px;
        height: 88vh;
        min-height: 600px;
    }
}
@media (max-width: 768px) {
    .carousel-slide {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .content {
        max-width: 100%;
    }

    .image {
        max-width: 350px;
    }

    .carousel-controls {
        bottom: 2rem;
        gap: 1rem;
    }

    .prev-btn,
    .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    header .container {
        flex-direction: column;
        padding: 15px;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .testimonio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contacto-item {
        flex-direction: column;
        text-align: center;
    }

    .contacto-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .product-actions {
        flex-direction: column;
    }
}


@media (max-width: 576px) {

    .btn,
    .btn-comprar,
    .btn-primary {
        padding: 10px 20px;
        font-size: 12px;
    }

    .categoria {
        min-width: 100%;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }

    .footer-form {
        flex-direction: column;
    }

    .footer-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .btn-footer {
        width: 100%;
        border-radius: 30px;
        padding: 12px;
    }
}