/* ════════════════════════════════════════════════════════════════
   RESTAURANTES CAROUSEL — glassmorphism + Swiper 6.8
   ════════════════════════════════════════════════════════════════ */

/* Wrap del mismo ancho que el slider; el themesflat-container w1791 ya
   define el max-width y centrado. Solo añadimos la separación con el slider. */
.rc-wrap {
    margin-top: 2px;
}

.rc-section {
    position: relative;
    padding: 30px 75px 10px 75px;
    overflow: hidden;
    isolation: isolate;
    background-color: #0a0a0a;
    border-radius: 0;
}

.rc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
}

.rc-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(10, 10, 10, 0.85) 0%,
            rgba(10, 10, 10, 0.55) 35%,
            rgba(10, 10, 10, 0.55) 65%,
            rgba(10, 10, 10, 0.85) 100%);
    z-index: 1;
}

.rc-inner {
    position: relative;
    z-index: 2;
}

/* ── Heading ── */
.rc-heading {
    text-align: center;
    margin-bottom: 36px;
}

.rc-heading .sub {
    display: inline-block;
    color: #ff3b31;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.rc-heading .main {
    color: #ffffff;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

/* ── Swiper wrapper ── */
.rc-swiper-wrap {
    position: relative;
    padding: 0 8px;
}

.rc-swiper {
    overflow: visible;
    padding-bottom: 60px;
}

/* ── Card glass ── */
.rc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    /* overflow visible para que el badge NEW pueda sobresalir */
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.rc-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 59, 49, 0.08);
    border-color: rgba(255, 59, 49, 0.45);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 59, 49, 0.25) inset;
    color: inherit;
    text-decoration: none;
}

.rc-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px 18px 0 0;
}

.rc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.rc-card:hover .rc-card-img img {
    transform: scale(1.06);
}

/* Badge "NEW" sobresaliendo de la esquina superior derecha (Jerez / Sevilla Dos Hermanas) */
.rc-card-new {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 59, 49, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 59, 49, 0.45),
        0 0 0 4px rgba(255, 59, 49, 0.18);
    animation: rcNewPulse 2.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rcNewPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rc-card-new {
        animation: none;
    }
}

/* Label "Sushisom" sobre el bottom de la imagen */
.rc-card-label {
    position: absolute;
    left: 14px;
    bottom: -1px;
    z-index: 2;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0 8px;
    /* background: rgba(0, 0, 0, 0.55); */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    /* border: 1px solid rgba(255, 255, 255, 0.18); */
    border-radius: 4px;
    line-height: 1;
}

.rc-card-body {
    padding: 5px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.rc-card-name {
    color: #ff3b31;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 0.3px;
}

.rc-card-city {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Pagination dots/bar ── */
.rc-pagination {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.rc-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    margin: 0 5px !important;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    border-radius: 50%;
}

.rc-pagination .swiper-pagination-bullet-active {
    background: #ff3b31;
    width: 28px;
    border-radius: 5px;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .rc-section {
        padding: 60px 60px 80px;
    }
}

@media (max-width: 991px) {
    .rc-section {
        padding: 56px 40px 72px;
    }

    .rc-heading {
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .rc-section {
        padding: 48px 28px 64px;
    }

    .rc-card-body {
        padding: 16px 18px 18px;
    }

    .rc-card-name {
        font-size: 16px;
    }

    .rc-card-city {
        font-size: 12px;
        letter-spacing: 1.2px;
    }
}

@media (max-width: 575px) {
    .rc-section {
        padding: 40px 18px 56px;
    }

    .rc-heading .sub {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {

    .rc-card,
    .rc-card-img img {
        transition: none;
    }
}