/* ===== OUTER ===== */
.luark-ic-outer {
    position: relative;
    width: 100%;
    padding-top: 0;
}

/* ===== WRAPPER ===== */
.luark-ic-wrapper {
    display: flex;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.luark-ic-wrapper::-webkit-scrollbar {
    display: none;
}

.luark-ic-slider-disabled .luark-ic-wrapper {
    overflow-x: visible;
    scroll-snap-type: none;
}

/* ===== CARD ===== */
.luark-ic-card {
    flex: 0 0 360px;
    min-width: 360px;
    position: relative;
    transition: all 0.4s ease;
    scroll-snap-align: start;
}

.luark-ic-slider-disabled .luark-ic-card {
    flex: 1 1 0;
    min-width: 0;
}

.luark-ic-wrapper,
.luark-ic-card,
.luark-ic-card-main,
.luark-ic-expanded {
    overscroll-behavior: auto;
}

.luark-ic-hover-image,
.luark-ic-rest {
    pointer-events: none;
}

/* ===== MAIN IMAGE AREA ===== */
.luark-ic-card-main {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 133;
    height: auto !important;
    background: #f4f1ec;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

/* ===== IMÁGENES ===== */
.luark-ic-hover-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.luark-ic-image-closed {
    opacity: 1;
    transform: scale(1);
}

.luark-ic-image-open {
    opacity: 0;
}

.luark-ic-card:hover .luark-ic-image-closed {
    opacity: 0;
}

.luark-ic-card:hover .luark-ic-image-open {
    opacity: 1;
    transform: scale(1);
}

.luark-ic-card.is-open .luark-ic-image-closed {
    opacity: 0;
}

.luark-ic-card.is-open .luark-ic-image-open {
    opacity: 1;
    transform: scale(1);
}

/* ===== REST ===== */
.luark-ic-rest {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 32px 24px 32px;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.luark-ic-title {
    font-size: 20px;
    font-weight: 500;
    color: #e4001b;
}

.luark-ic-card:hover .luark-ic-rest,
.luark-ic-card.is-open .luark-ic-rest {
    opacity: 0;
}

/* ===== ICONO SEE ALL ===== */
.luark-ic-icon {
    margin-top: auto;
    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 4px;
    line-height: 1;
}

.luark-ic-icon img {
    width: 10em;
    height: auto;
    display: block;
}

/* ===== EXPANDED ===== */
.luark-ic-expanded {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
    transition: all 0.4s ease;
}

.luark-ic-card.is-open .luark-ic-expanded {
    height: 32em;
    max-height: 32em;
    padding: 2em 0 0 0;
    color: #ffffff;
    overflow: hidden;
    cursor: pointer;
}

/* ===== HEADER ===== */
.luark-ic-expanded-head {
    display: block;
    margin: 0;
    padding: 0;
}

.luark-ic-expanded-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;

    margin: 0px 35px 12px 35px;
    padding: 0;
}

/* ===== CONTENT ===== */
.luark-ic-expanded-content {
    font-size: 16px;
    line-height: 1.45;
    color: #ffffff;

    margin: 0 35px 35px 35px;
    padding: 0;
}

.luark-ic-expanded-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.luark-ic-expanded-content p:first-child {
    margin-top: 0 !important;
}

.luark-ic-expanded-content ul:first-child {
    margin-top: 0 !important;
}

.luark-ic-expanded-content p,
.luark-ic-expanded-content li,
.luark-ic-expanded-content span,
.luark-ic-expanded-content strong,
.luark-ic-expanded-content b {
    color: #ffffff !important;
}

/* ===== BUTTON ===== */
.luark-ic-button {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background: #e4001b;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.luark-ic-button:hover {
    opacity: 0.85;
}

/* ===== ARROWS ===== */
.luark-ic-arrow {
    position: absolute;
    top: -42px;

    width: 54px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 3px;

    background: #e4001b;
    color: #ffffff;

    font-size: 18px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;
    z-index: 30;

    transition: all 0.25s ease;
}

.luark-ic-arrow::before {
    position: relative;
    top: -2px;
}

.luark-ic-arrow:hover {
    background: #003b5c;
    color: #ffffff;
    transform: translateY(-1px);
}

.luark-ic-arrow-prev {
    left: 0;
}

.luark-ic-arrow-next {
    left: 58px;
}

.luark-ic-arrow.is-disabled {
    background: #e4001b;
    color: #ffffff;
    opacity: 0.45;
    pointer-events: none;
}

/* ===== DOTS ===== */
.luark-ic-dots {
    display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .luark-ic-wrapper {
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .luark-ic-card,
    .luark-ic-slider-disabled .luark-ic-card {
        flex: 1 1 auto;
        min-width: 100%;
    }

    .luark-ic-card-main {
        aspect-ratio: 300 / 133;
        height: auto !important;
    }

    .luark-ic-arrow,
    .luark-ic-dots {
        display: none !important;
    }
}