.icc-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    user-select: none;
    /* Variables por defecto (se sobrescriben en el HTML) */
    --icc-gap: 16px;
    --icc-scale: 1.05;
    --icc-darken: 0.7;
    --icc-card-width: calc( (100% - var(--icc-gap) * 2) / (2 + var(--icc-scale)) );
}

.icc-clip {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.icc-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

/* Tarjeta base */
.icc-card {
    flex-shrink: 0;
    width: var(--icc-card-width);
    margin-right: var(--icc-gap);
    position: relative;
    overflow: hidden;
    border-style: solid;
    transition: all 0.5s ease-in-out;
    filter: brightness(var(--icc-darken));
    transform: scale(0.95);
    box-sizing: border-box;
}

/* Última tarjeta sin margen derecho */
.icc-card:last-child {
    margin-right: 0;
}

/* Central activa */
.icc-card.icc-active {
    filter: brightness(1);
    transform: scale(var(--icc-scale));
    z-index: 2;
}

.icc-card img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.icc-card a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Flechas */
.icc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #fff;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.icc-arrow:hover { opacity: 1; }
.icc-prev { left: 10px; }
.icc-next { right: 10px; }