/* Shared VIP presentation for restaurant cards and compact recommendations. */
.restaurant-featured,
.top-restaurants-card.restaurant-featured,
.giftcards-restaurant-card.restaurant-featured {
    border: 2px solid #9160b1;
    border-top: 5px solid #e45623;
    background: linear-gradient(135deg, #fff 35%, #faf4ff 100%);
    box-shadow: 0 12px 30px rgba(72, 32, 100, .17), 0 2px 6px rgba(72, 32, 100, .08);
    transition: box-shadow .18s ease, transform .18s ease;
}
.restaurant-featured:hover {
    box-shadow: 0 16px 36px rgba(72, 32, 100, .23), 0 3px 8px rgba(72, 32, 100, .1);
}
.restaurant-featured:focus-within {
    outline: 2px solid #662d91;
    outline-offset: 3px;
}
.restaurant-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: .5rem;
    max-width: 100%;
    padding: .35rem .8rem .35rem .35rem;
    margin-bottom: .75rem;
    border: 1px solid #8750ab;
    border-radius: 999px;
    background: #662d91;
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .04em;
    vertical-align: middle;
}
.restaurant-featured-badge i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 1.65rem;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: #ffdcad;
    color: #542173;
    font-size: .8rem;
}
.restaurant-featured-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: .75rem;
    background: linear-gradient(135deg, #f6f0fb, #fff5ee);
}
.restaurant-featured-media > .restaurant-featured-media__image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    padding: 0;
    object-fit: cover;
}
.restaurant-featured-media.has-logo > .restaurant-featured-media__image,
.restaurant-featured-media.is-fallback > .restaurant-featured-media__image {
    object-fit: contain;
    padding: 1.25rem;
}
.restaurant-featured .restaurant-featured-media > .restaurant-featured-media__logo {
    position: absolute;
    bottom: .75rem;
    left: .75rem;
    width: 80px;
    height: 60px;
    aspect-ratio: auto;
    padding: 7px;
    border: 1px solid #eee5f4;
    border-radius: .6rem;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
    object-fit: contain;
    transform: none;
}
.restaurant-featured-media.is-fallback > .restaurant-featured-media__logo {
    display: none;
}
.restaurant-featured--list .vip-banner {
    border: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #fff 35%, #faf4ff 100%);
}
.restaurant-card.restaurant-featured--list {
    padding: 0;
    border-radius: 1rem;
}
.restaurant-featured--list .restaurant-featured-badge {
    display: flex;
    width: 100%;
    margin: 0;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .8rem .8rem 0 0;
    background-image: linear-gradient(110deg, #4f206e, #7e3ca3);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.restaurant-featured--list .restaurant-featured-badge::after {
    content: "";
    width: clamp(3rem, 16%, 6rem);
    height: 3px;
    margin-left: auto;
    border-radius: 999px;
    background: linear-gradient(90deg, #e45623, #ffdcad);
}
.restaurant-featured--list .restaurant-card-main {
    align-items: stretch !important;
    padding: 1rem;
}
.restaurant-featured--list .restaurant-image-wrapper {
    flex: 0 0 42%;
    width: 42%;
    max-width: 280px;
    min-width: 0;
    height: auto;
    align-self: center;
}
.restaurant-featured--list .restaurant-featured-media {
    aspect-ratio: 4 / 3;
}
.restaurant-featured--list .restaurant-image-wrapper > a {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}
.restaurant-featured--list .card-body {
    min-width: 0;
    padding: .15rem 0 .15rem 1.25rem;
}
.restaurant-featured--list .card-title {
    font-size: clamp(1.35rem, 1.8vw, 1.6rem);
    font-weight: 800;
    line-height: 1.25;
}
.restaurant-featured .card-title,
.restaurant-featured .top-restaurants-name,
.restaurant-featured .gift-card__title {
    overflow-wrap: anywhere;
}
.restaurant-featured--top .top-restaurants-image-wrap {
    width: 100%;
    height: auto;
}
.restaurant-featured--theme .restaurant-featured-media,
.restaurant-featured--giftcards .restaurant-featured-media {
    border-radius: 0;
}
.restaurant-featured--theme .restaurant-featured-media > .restaurant-featured-media__image {
    transform: none;
}
.restaurant-featured--giftcards .giftcards-restaurant-card__media {
    padding: 0;
}
.restaurant-featured--compact .restaurant-featured-badge {
    gap: .35rem;
    padding: .2rem .55rem .2rem .25rem;
    margin-bottom: .35rem;
    font-size: .75rem;
    letter-spacing: .015em;
}
.restaurant-featured--compact .restaurant-featured-badge i {
    flex-basis: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    font-size: .6rem;
}
.restaurant-featured--compact .latest-restaurants-image-wrapper {
    flex: 0 0 32%;
    width: 32%;
    max-width: 100px;
    height: auto;
    aspect-ratio: 3 / 2;
}
.restaurant-featured--compact .latest-restaurants-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.restaurant-featured--compact .flex-grow-1,
.restaurant-featured--compact .chain-restaurant-details,
.restaurant-featured--compact .nearby-restaurant-details {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 991.98px) {
    .restaurant-featured--list .restaurant-card-main {
        display: block !important;
    }
    .restaurant-featured--list .restaurant-image-wrapper {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .restaurant-featured--list .restaurant-featured-media {
        aspect-ratio: 16 / 9;
    }
    .restaurant-featured--list .card-body {
        padding: 1rem 0 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .restaurant-featured,
    .restaurant-featured:hover,
    .restaurant-featured img {
        transition: none;
        transform: none;
    }
}
