/* ================================================
   CARRUSEL DE PRODUCTOS – INGCO STYLE PRO
   ================================================ */

.ingco-product-carousel {
    position: relative;
    padding: 2rem 0 3rem;
    width: 100%;
}

.ingco-product-carousel .swiper-wrapper {
    align-items: stretch;
}

/* ================================================
   TARJETA DEL PRODUCTO
   ================================================ */
.ingco-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0c0c0c;
    border-radius: 14px;
    border: 2px solid #ffb800;
    box-shadow: 0 0 18px rgba(255, 184, 0, 0.15);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .3s ease;
}

.ingco-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 28px rgba(255, 184, 0, 0.25);
}

/* ================================================
   THUMBNAIL
   ================================================ */
.ingco-product-card__thumb {
    display: block;
    background: #1a1a1a;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 2px solid #ffb800;
    position: relative;
}

.ingco-product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ingco-product-card:hover .ingco-product-card__thumb img {
    transform: scale(1.08);
}

.ingco-product-card__placeholder {
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffb800;
    font-size: 1.2rem;
}

/* ================================================
   BADGES (Nuevo, Más vendido, Oferta)
   ================================================ */
.ingco-product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ingco-product-card__badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    background: #ffb800;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* Variaciones de color por tipo */
.ingco-badge--nuevo {
    background: #34d399; /* verde */
    color: #000;
}

.ingco-badge--bestseller {
    background: #ffb800; /* amarillo INGCO */
    color: #000;
}

.ingco-badge--oferta {
    background: #f97373; /* rojo suave */
    color: #000;
}

/* ================================================
   CUERPO TARJETA
   ================================================ */
.ingco-product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1.3rem;
    gap: 0.55rem;
}

/* TÍTULO – 4 líneas máximo con corte elegante */
.ingco-product-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 4;           /* máximo 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.7em;                /* reserva espacio para 4 líneas */
}

.ingco-product-card__title a {
    color: #ffffff;
    text-decoration: none;
}

.ingco-product-card__title a:hover {
    color: #ffb800;
}

/* PRECIO */
.ingco-product-card__price {
    font-weight: 800;
    color: #ffb800;
    font-size: 1.1rem;
    margin-top: 2px;
}

.ingco-product-card__price small,
.ingco-product-card__price del,
.ingco-product-card__price ins {
    font-size: 0.9rem;
}

/* BOTÓN SIEMPRE ABAJO Y ALINEADO */
.ingco-product-card__btn.button {
    margin-top: auto !important;
    text-align: center;
    background: #ffb800;
    color: #000000;
    border-radius: 50px;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ingco-product-card__btn.button:hover {
    background: #ffd451;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 212, 81, 0.4);
}

/* ================================================
   NAVEGACIÓN DEL SWIPER
   ================================================ */
.ingco-product-carousel .swiper-button-prev,
.ingco-product-carousel .swiper-button-next {
    color: #ffb800 !important;
    transition: color .2s ease, transform .2s ease;
}

.ingco-product-carousel .swiper-button-prev:hover,
.ingco-product-carousel .swiper-button-next:hover {
    color: #ffd451 !important;
    transform: scale(1.2);
}

/* Paginación */
.ingco-product-carousel .swiper-pagination-bullet {
    background: #666;
    opacity: 1;
    transition: all .2s ease;
}

.ingco-product-carousel .swiper-pagination-bullet-active {
    background: #ffb800;
    transform: scale(1.15);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (min-width: 480px) {
    .ingco-product-carousel {
        padding-inline: 0.6rem;
    }
}

@media (min-width: 768px) {
    .ingco-product-carousel {
        padding-inline: 1rem;
    }
}

@media (min-width: 1024px) {
    .ingco-product-carousel {
        padding-inline: 1.4rem;
    }
}
