body {
    min-width: 200px;
}

/* PRODUCTOS DESTACADOS */
.col-md-2.d-flex.flex-column.align-items-center,
.col-4.mb-4.d-flex.flex-column.align-items-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.col-md-2 img,
.col-4 img {
    max-height: 160px;
    object-fit: contain;
    width: 100%;
    flex-shrink: 0;
}

.col-md-2 h6,
.col-4 h6 {
    min-height: 3em;
    margin-bottom: 0.5em;
    text-align: center;
}

.col-md-2 .price {
    min-height: 2em;
    margin-bottom: 0.5em;
    text-align: center;
}

.col-md-2 .input-cantidad,
.col-md-2 button {
    margin-top: auto;
    width: 80px;
    text-align: center;
    align-self: center;
}

/* FEATURE SECTION (íconos alineados horizontalmente incluso en móvil) */
.flex-list {
    display: flex;
    flex-wrap: nowrap;
    /* evita que se apilen */
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    /* permite scroll horizontal en móviles */
    -webkit-overflow-scrolling: touch;
    /* suaviza scroll en iOS */
}

.flex-list::-webkit-scrollbar {
    display: none;
}

.flex-list {
    scrollbar-width: none;
    /* oculta scroll en Firefox */
}

/* Cada ítem */
.flex-item {
    flex: 0 0 auto;
    width: 280px;
    box-sizing: border-box;
}

/* Tarjeta */
.feature-card {
    text-align: center;
    background-color: transparent;
}

/* Imagen / Ícono */
.card-icon {
    max-width: 60px;
    height: auto;
    margin-bottom: 16px;
}

/* Título */
.card-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #222;
}

/* Texto */
.card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}


.textosuperior1 {
    font-size: 2.5rem;
    /* Base size for desktops (~56px) */
    font-weight: bold;
}

.textosuperior2 {
    font-size: 2rem;
    /* Base size for desktops (~32px) */
    font-weight: 400;
}

.textoDestacado {
    font-size: 2rem;
    font-weight: 600;
}


/*PORTADA*/

.portada-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 10px;
}

.portada-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.portada-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

.portada-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0 1rem;
    width: 100%;
}

/* Móviles */
@media (max-width: 576px) {
    .textosuperior1 {
        font-size: 1.5rem;
       
    }

    .textosuperior2 {
        font-size: 0.8rem;

    }

    .textoDestacado {
        font-size: 1.2rem;
    }

    .k-title {
        font-size: 1.4rem;
        padding-top: 14%;
    }

    .portada-frame {
        height: 45vh;
    }
}

.carrusel-title {
    font-size: 28px;
}


/* Tablets */
@media (min-width: 576px) and (max-width: 1173px) {
    .textosuperior1 {
        font-size: 2.2rem;
    }

    .textosuperior2 {
        font-size: 1.4rem;
    }

    .textoDestacado {
        font-size: 1.4rem;
    }

    .cajaproductosdestacados {
        padding-top: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: brightness(0) saturate(100%) invert(14%) sepia(3%) saturate(214%) hue-rotate(182deg) brightness(90%) contrast(87%);
    }

    .portada-frame {
        height: 60vh;
    }
}


/*Letras de titulos*/
.nuestroProductos {
    font-size: 35px;
    color: #b68d07;
}

.porqueComprar {
    font-size: 30px;
    color: #b68d07;
}

.section-title {
    font-size: 24px;
    color: #b68d07;
}

.imgAntesDespues {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
}

.subtitulosAntesDespues {
    font-size: 20px;
}

@media (max-width: 576px) {
    .nuestroProductos {
        font-size: 28px;
    }

    .porqueComprar {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px
    }

    .subtitulosAntesDespues {
        font-size: 18px;
    }
}
