/* ════════════════════════════════════════
   LISTINGS CAROUSEL SECTION
════════════════════════════════════════ */
.vl-carousel-section {
    width: 100%;
    padding: 24px 0;
    font-family: inherit;
}
.vl-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    gap: 8px;
}
.vl-carousel-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.vl-carousel-title strong,
.vl-carousel-title em {
    color: #e02020;
    font-style: normal;
}
.vl-carousel-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e02020;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.vl-carousel-ver-mas:hover { opacity: 0.8; }
.vl-carousel-ver-mas__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e02020;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

/* ════════════════════════════════════════
   SPLIDE OVERRIDES
════════════════════════════════════════ */
.vl-listings-splide .splide__track {
    padding: 8px 4px 16px !important;
    height: auto !important;
}
.vl-listings-splide .splide__list {
    height: auto !important;
    align-items: stretch !important;
}
.vl-listings-splide .splide__slide {
    padding: 4px;
    height: auto !important;
}

.vl-listings-splide { overflow: visible; }

.vl-listings-splide .splide__arrow,
.vl-listings-splide .splide__arrow:hover,
.vl-listings-splide .splide__arrow:focus,
.vl-listings-splide .splide__arrow:focus-visible {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    padding: 0;
    width: auto;
    height: auto;
    opacity: 1;
}
.vl-listings-splide .splide__arrow::before { display: none; }
.vl-listings-splide .splide__arrow svg    { display: none; }
.vl-listings-splide .splide__arrow img    { display: block; width: 32px; height: 32px; object-fit: contain; }
.vl-listings-splide .splide__arrow--prev  { left: -28px; }
.vl-listings-splide .splide__arrow--next  { right: -28px; }
.vl-listings-splide .splide__arrow:disabled { opacity: 0.25; }

@media (max-width: 640px) {
    .vl-listings-splide .splide__arrow--prev { left:  4px; }
    .vl-listings-splide .splide__arrow--next { right: 4px; }
}

/* ════════════════════════════════════════
   LISTING CARD
════════════════════════════════════════ */
.vl-lcard {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.vl-lcard:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
    background: #f1f1f1;
}
.vl-lcard--promo { border-color: #cccccc; }

.vl-lcard__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e02020;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: .02em;
}
.vl-lcard__badge-icon { font-size: 12px; }

.vl-lcard__image-link { display: block; }
.vl-lcard__image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #f9fafb;
}
.vl-lcard__image--placeholder {
    height: 180px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

.vl-lcard__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.vl-lcard__meta {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.vl-lcard__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.vl-lcard__title a {
    color: #e1251b;
    text-decoration: none;
}

.vl-lcard__pricing {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
}
.vl-lcard__price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.vl-lcard__price .currency { font-size: 11px; }
.vl-lcard__price--original {
    font-size: 12px;
    font-weight: 400;
    color: #9ca3af;
    text-decoration: line-through;
}
.vl-lcard__price--discounted {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.vl-carousel-empty {
    padding: 32px;
    text-align: center;
    color: #6b7280;
}

/* ════════════════════════════════════════
   MOBILE — 2 tarjetas (≤480px)
════════════════════════════════════════ */
@media (max-width: 480px) {
    .vl-lcard__image,
    .vl-lcard__image--placeholder { height: 180px; }

    .vl-lcard__body {
        padding: 8px 10px 10px;
        gap: 3px;
    }
    .vl-lcard__title { font-size: 12px; }
    .vl-lcard__meta  { font-size: 10px; letter-spacing: 0; }
    .vl-lcard__price { font-size: 14px; }
    .vl-lcard__badge { font-size: 10px; padding: 3px 8px; }
}

/* ════════════════════════════════════════
   MOBILE — 1 tarjeta (≤360px)
════════════════════════════════════════ */
@media (max-width: 360px) {
    .vl-lcard__image,
    .vl-lcard__image--placeholder { height: 170px; }

    .vl-lcard__body {
        padding: 12px 12px 14px;
        gap: 4px;
    }
    .vl-lcard__title { font-size: 14px; }
    .vl-lcard__meta  { font-size: 11px; letter-spacing: .04em; }
    .vl-lcard__price { font-size: 18px; }
    .vl-lcard__badge { font-size: 11px; padding: 4px 10px; }
}
