/* ─── Shared homepage showcase (themes 1, 2, 4, 5, 6, 7) ─── */

.home-showcase {
    padding: 24px 16px 8px;
}

.home-showcase__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.home-showcase__heading {
    margin: 0 0 16px;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--theme-color, #111);
    line-height: 1.2;
}

.home-showcase__subheading {
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.55);
}

.home-showcase__header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.home-showcase__header-row .home-showcase__heading {
    margin-bottom: 0;
}

.home-showcase__link {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-color, #111);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.home-showcase__scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.home-showcase__scroll > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* ─── Theme 1: Full-bleed food banners ─── */
.home-showcase--theme1.food-home-showcase {
    padding: 0;
}

.food-home-showcase__block {
    padding: 20px 0 8px;
}

.home-showcase--theme1 .home-showcase__inner {
    padding: 0 16px;
}

.home-showcase--theme1 .home-showcase__heading {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.home-showcase__scroll--banners {
    gap: 16px;
    padding-bottom: 10px;
}

.food-showcase-banner {
    position: relative;
    display: block;
    width: min(300px, 82vw);
    height: 188px;
    flex-shrink: 0;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.food-showcase-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.food-showcase-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-showcase-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.42) 42%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.food-showcase-banner__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.food-showcase-banner__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.food-showcase-banner__eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #ffb347;
    line-height: 1.2;
}

.food-showcase-banner__title {
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-showcase-banner__price {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

/* ─── Theme 2: Leaderboard ─── */
.home-showcase-leaderboard {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-showcase-leaderboard__row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
}

.home-showcase-leaderboard__rank {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.home-showcase-leaderboard__row--gold .home-showcase-leaderboard__rank {
    color: #c9a227;
}

.home-showcase-leaderboard__row--silver .home-showcase-leaderboard__rank {
    color: #8e9aaf;
}

.home-showcase-leaderboard__row--bronze .home-showcase-leaderboard__rank {
    color: #b87333;
}

.home-showcase-leaderboard__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.home-showcase-leaderboard__thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
    flex-shrink: 0;
}

.home-showcase-leaderboard__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.home-showcase-leaderboard__copy strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-showcase-leaderboard__price {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
}

.home-showcase-leaderboard__sold {
    font-size: 12px;
    font-weight: 600;
    color: var(--theme-color, #111);
    white-space: nowrap;
}

/* ─── Category orbs (theme 4 + 7) ─── */
.home-showcase-orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 88px;
    text-decoration: none;
    color: inherit;
}

.home-showcase-orb__circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.06);
    background: #f5f5f5;
}

.home-showcase-orb__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-showcase-orb__name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-showcase-orb__count {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.home-showcase--theme4 .home-showcase-orb__circle {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ─── Theme 4: Spotlight ─── */
.home-showcase-spotlight {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05));
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.home-showcase-spotlight__ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--theme-color, #111);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.home-showcase-spotlight__image {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
}

.home-showcase-spotlight__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-showcase-spotlight__copy strong {
    font-size: 16px;
    line-height: 1.3;
}

.home-showcase-spotlight__copy em {
    font-style: normal;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}

/* ─── Theme 5: Asymmetric highlights ─── */
.home-showcase-highlights {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    min-height: 320px;
}

.home-showcase-highlight {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 150px;
}

.home-showcase-highlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.home-showcase-highlight__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-height: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 60%, transparent);
}

.home-showcase-highlight__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.home-showcase-highlight__overlay strong {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.25;
}

.home-showcase-highlight__overlay em {
    font-style: normal;
    font-size: 12px;
    opacity: 0.8;
}

.home-showcase-highlight--wide {
    min-height: 320px;
}

.home-showcase-highlight__stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-showcase-highlight--compact {
    flex: 1;
}

/* ─── Theme 6: Hospitality stays ─── */
.home-showcase-stays {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-showcase-stay {
    position: relative;
    display: block;
    min-height: 200px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.home-showcase-stay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-showcase-stay__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-height: 200px;
    padding: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15) 55%, transparent);
}

.home-showcase-stay__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

.home-showcase-stay__name {
    font-size: 15px;
    line-height: 1.3;
}

.home-showcase-stay__price,
.home-showcase-stay__meta {
    font-size: 13px;
    opacity: 0.9;
}

.home-showcase-stay__booked {
    font-style: normal;
    font-size: 11px;
    opacity: 0.75;
}

.home-showcase-stay--booked .home-showcase-stay__label {
    color: #ffd166;
}

.home-showcase-stay--new .home-showcase-stay__label {
    color: #90ee90;
}

.home-showcase-stay--favorite .home-showcase-stay__label {
    color: #ffb4c2;
}

/* ─── Theme 7: Trending strip ─── */
.home-showcase-trending {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

.home-showcase-trending__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-showcase-trending__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.home-showcase-trending__cta {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--theme-color, #111);
    border: 1.5px dashed rgba(0, 0, 0, 0.25);
    border-radius: 999px;
}

.home-showcase-trending__card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.home-showcase-trending__card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.home-showcase-trending__card img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--second-color, #f5f5f5);
}

.home-showcase-trending__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-showcase-trending__copy strong {
    font-size: 15px;
    line-height: 1.35;
}

.home-showcase-trending__copy em {
    font-style: normal;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
    .food-showcase-banner {
        width: min(280px, 84vw);
        height: 176px;
    }

    .home-showcase-highlights {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-showcase-highlight--wide {
        min-height: 220px;
    }

    .home-showcase-spotlight {
        grid-template-columns: 1fr;
    }

    .home-showcase-spotlight__image {
        width: 100%;
        height: 180px;
    }

    .home-showcase-stays {
        grid-template-columns: 1fr;
    }

    .home-showcase-trending__card {
        grid-template-columns: 96px 1fr;
    }

    .home-showcase-trending__card img {
        width: 96px;
        height: 96px;
    }
}
