/**
 * Places Thailand — B2C Homepage Light Facade
 * Exact Implementation from Approved Screenshot Reference
 * Pass 3: Comprehensive Responsive Layout & Zero-Overflow Engine
 *
 * @package Places_Thailand
 * @since 2.5.0
 */

/* ─── Global Tokens & Base ─────────────────────────────────────────────────── */
:root {
    --color-slate-900:   #0f172a;
    --color-slate-800:   #1e293b;
    --color-slate-700:   #334155;
    --color-slate-600:   #475569;
    --color-slate-500:   #64748b;
    --color-slate-400:   #94a3b8;
    --color-slate-200:   #e2e8f0;
    --color-slate-100:   #f1f5f9;
    --color-slate-50:    #f8fafc;

    --color-emerald-500: #10b981;
    --color-emerald-600: #059669;
    --color-emerald-50:  #ecfdf5;

    --font-stack:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    --container-nav:     940px;
    --container-content: 770px;
    --container-hero:    820px;
}

html {
    max-width: 100%;
    box-sizing: border-box;
    background-color: #F8F6F0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body.places-th-facade-light,
body.home,
.facade-main.places-th-facade-light {
    background-color: #F8F6F0;
    color: var(--color-slate-900);
    font-family: var(--font-stack);
    margin: 0;
    padding: 0;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Ensure page content is not hidden behind the fixed bottom bar */
body.places-th-facade-light,
body.home {
    padding-bottom: 56px;
}

/* ─── 1. Top Navbar (Removed to prevent conflicts with global navbar.css) ─── */

/* ─── 2. Hero Section ──────────────────────────────────────────────────────── */
.facade-hero {
    padding-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.facade-hero__container {
    max-width: var(--container-hero);
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
    min-width: 0;
}

.facade-hero__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.facade-hero__subtitle {
    font-size: 16px;
    color: var(--color-slate-700);
    margin: 8px 0 0 0;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ─── Unified WhatsApp Live Proof & B2B FOMO Bridge (Screenshots 1 & 2) ─── */
.facade-proof-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 16px auto 0;
    max-width: 640px;
    width: 100%;
    box-sizing: border-box;
}

/* 1. Direct WhatsApp Booking Pill (Screenshot 1) */
.facade-wa-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #08101d; /* Deep obsidian dark */
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 16px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 0 16px rgba(16, 185, 129, 0.12);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.facade-wa-proof:hover {
    border-color: rgba(16, 185, 129, 0.7);
    box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.55), 0 0 22px rgba(16, 185, 129, 0.2);
}

.facade-wa-proof__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.facade-wa-proof__dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.facade-wa-proof__dot-core {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
}

.facade-wa-proof__dot-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.35);
    animation: waProofPulseRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes waProofPulseRing {
    0%   { transform: scale(0.9); opacity: 0.9; }
    70%  { transform: scale(2.4); opacity: 0;   }
    100% { transform: scale(2.6); opacity: 0;   }
}

.facade-wa-proof__badge-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.08em;
}

.facade-wa-proof__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
    margin: 0 16px;
    min-width: 0;
}

.facade-wa-proof__title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.facade-wa-proof__text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #8da4be;
    line-height: 1.35;
    margin-top: 1px;
}

.facade-wa-proof__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.facade-wa-proof__stat-row {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    line-height: 1.25;
}

.facade-wa-proof__stat-num {
    font-family: "JetBrains Mono", Consolas, -apple-system, monospace;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.facade-wa-proof__stat-num.is-pulsing {
    color: #34d399;
    transform: scale(1.15);
}

.facade-wa-proof__stat-plus {
    color: #10b981;
    font-weight: 800;
    font-size: 13px;
    margin-left: -3px;
}

.facade-wa-proof__stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.facade-wa-proof__dev-badge {
    display: inline-flex;
    align-items: center;
    font-family: "JetBrains Mono", Consolas, -apple-system, monospace;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.facade-wa-proof__meta-line {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #2dd4bf;
    line-height: 1.35;
    letter-spacing: -0.01em;
    white-space: nowrap;
    margin-top: 2px;
}

/* 2. Connected B2B FOMO Bridge (Screenshot 2) */
.facade-fomo-bridge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(8, 16, 29, 0.92);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 6px;
    padding: 6px 14px;
    text-decoration: none;
    font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: #cbd5e1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.facade-fomo-bridge:hover {
    background: rgba(6, 25, 34, 0.98);
    border-color: #10b981;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.28);
    transform: translateY(-1px);
}

.facade-fomo-bridge__dot {
    color: #10b981;
    font-size: 13px;
    line-height: 1;
}

.facade-fomo-bridge__text {
    color: #cbd5e1;
}

.facade-fomo-bridge__text strong {
    color: #34d399;
    font-weight: 700;
}

.facade-fomo-bridge__cta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 3px;
    padding: 2px 6px;
    margin-left: 4px;
    letter-spacing: 0.05em;
    transition: background 0.2s ease, color 0.2s ease;
}

.facade-fomo-bridge:hover .facade-fomo-bridge__cta {
    background: #10b981;
    color: #03141e;
}

/* Responsive */
@media (max-width: 640px) {
    .facade-wa-proof {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 16px;
        gap: 10px;
        border-radius: 14px;
    }
    .facade-wa-proof__content {
        align-items: center;
        text-align: center;
        margin: 0;
    }
    .facade-wa-proof__meta {
        align-items: center;
        text-align: center;
    }
    .facade-wa-proof__meta-line {
        white-space: normal;
    }
    .facade-fomo-bridge {
        flex-wrap: wrap;
        text-align: center;
        padding: 7px 12px;
        font-size: 11px;
    }
}

/* ─── AI Concierge Bubble ──────────────────────────────────────────────────── */
.facade-ai-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(90deg, #e0f2fe 0%, #dcfce7 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    padding: 6px 16px;
    margin-top: 18px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-slate-900);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.facade-ai-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #dcfce7;
}

.facade-ai-bubble__icon {
    font-size: 11px;
    flex-shrink: 0;
}

/* ─── Search / Geo Control Bar ─────────────────────────────────────────────── */
.facade-search-wrapper {
    position: relative;
    max-width: var(--container-content);
    width: 100%;
    margin: 10px auto 0 auto;
    box-sizing: border-box;
}

.facade-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 46px;
    padding: 4px 6px 4px 14px;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    gap: 8px;
}

/* Autocomplete Dropdown (TASK-F1-HOMEPAGE-DISCOVERY-02) */
.facade-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 100;
    max-height: 420px;
    overflow-y: auto;
    text-align: left;
    box-sizing: border-box;
}

.search-results-list {
    display: flex;
    flex-direction: column;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-slate-100);
    transition: background 0.15s ease;
    gap: 12px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.is-selected {
    background: #f8fafc;
}

.search-result-item__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-result-item__title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-slate-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item__meta {
    font-size: 11.5px;
    color: var(--color-slate-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item__score {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-empty {
    padding: 18px 16px;
    text-align: center;
}

.search-empty__text {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: var(--color-slate-600);
}

.search-empty__link,
.search-results-footer {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    padding: 10px 14px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid var(--color-slate-100);
    transition: background 0.15s ease;
}

.search-empty__link:hover,
.search-results-footer:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}

.facade-search-bar__input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.facade-search-bar__icon {
    color: var(--color-slate-500);
    flex-shrink: 0;
}

.facade-search-bar__input {
    border: none;
    outline: none;
    font-size: 13.5px;
    color: var(--color-slate-900);
    width: 100%;
    background: transparent;
    font-family: inherit;
    min-width: 0;
}

.facade-search-bar__controls {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    min-width: 0;
}

.geo-control-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-slate-900);
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.geo-control-pill:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.geo-control-pill--gps {
    background: var(--color-slate-100);
    border-color: var(--color-slate-200);
}

.geo-chevron {
    color: var(--color-slate-400);
}

/* ─── Trust Strip ──────────────────────────────────────────────────────────── */
.facade-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 14px auto 0 auto;
    max-width: var(--container-content);
    width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
    min-width: 0;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-slate-600);
    white-space: nowrap;
}

.trust-icon {
    flex-shrink: 0;
}

/* ─── 2.5 Discovery Entry Points (TASK-F1-HOMEPAGE-DISCOVERY-02) ────────── */
.facade-discovery {
    margin-top: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.facade-discovery__container {
    max-width: var(--container-content);
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.facade-discovery__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.facade-discovery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.facade-discovery-card {
    background: #ffffff;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    min-height: 155px;
    text-align: left;
    box-sizing: border-box;
}

.facade-discovery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.facade-discovery-card__icon {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1;
}

.facade-discovery-card__title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0 0 5px 0;
    letter-spacing: -0.01em;
}

.facade-discovery-card__subtitle {
    font-size: 12.5px;
    color: var(--color-slate-600);
    margin: 0 0 14px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.facade-discovery-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 11px;
    background: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-slate-800);
    text-decoration: none;
    transition: all 0.15s ease;
    margin-top: auto;
}

.facade-discovery-card__btn:hover {
    background: var(--color-slate-900);
    color: #ffffff;
    border-color: var(--color-slate-900);
}

.facade-discovery-card__btn svg {
    transition: transform 0.15s ease;
}

.facade-discovery-card__btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .facade-discovery__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .facade-discovery-card {
        min-height: auto;
        padding: 16px;
    }
}

/* ─── 3. 3-Column Restaurant Grid ──────────────────────────────────────────── */
.facade-restaurants {
    margin-top: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.facade-restaurants__container {
    max-width: var(--container-content);
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    min-width: 0;
}

.facade-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Restaurant Card Overrides for Compact Facade Theme (~205-225px footprint) */
.facade-card-grid .restaurant-card {
    background: #ffffff !important;
    border: 1px solid var(--color-slate-200) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.facade-card-grid .restaurant-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Zone 1: Compact Image */
.facade-card-grid .restaurant-card__media {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
    aspect-ratio: auto !important;
    border-bottom: 1px solid var(--color-slate-200) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.facade-card-grid .restaurant-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Compact Badges on Image */
.facade-card-grid .restaurant-card__tier-badge,
.facade-card-grid .restaurant-card__verified-badge {
    top: 6px !important;
    left: 6px !important;
    padding: 2px 6px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.facade-card-grid .restaurant-card__score-badge {
    top: 6px !important;
    right: 6px !important;
    padding: 2px 6px !important;
    font-size: 10.5px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* Zone 2: Card Body (Name + Core Meta) */
.facade-card-grid .restaurant-card__body {
    padding: 8px 10px 4px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    flex: 1 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Tags: Category & Price */
.facade-card-grid .restaurant-card__tags {
    gap: 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
}

.facade-card-grid .restaurant-card__tags .badge {
    padding: 1px 5px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.2px !important;
    border-radius: 3px !important;
    border-width: 1px !important;
    white-space: nowrap !important;
}

/* Title: 1 line with ellipsis */
.facade-card-grid .restaurant-card__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.facade-card-grid .restaurant-card__title-link {
    color: var(--color-slate-900) !important;
    text-decoration: none !important;
}

/* Location */
.facade-card-grid .restaurant-card__location {
    font-size: 10.5px !important;
    color: var(--color-slate-500) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    gap: 3px !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Zone 3: Rating */
.facade-card-grid .restaurant-card__rating {
    font-size: 11px !important;
    margin: 0 !important;
    gap: 3px !important;
    min-width: 0 !important;
}

.facade-card-grid .rating-star {
    font-size: 10.5px !important;
}

.facade-card-grid .rating-val {
    font-weight: 700 !important;
}

.facade-card-grid .rating-num {
    font-size: 10px !important;
}

/* Zone 4: Amenities — hide on homepage tile to maintain ~205px compact height */
.facade-card-grid .restaurant-card__amenities {
    display: none !important;
}

/* Zone 5: Actions / Footer */
.facade-card-grid .restaurant-card__footer {
    padding: 4px 10px 8px 10px !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Primary WhatsApp CTA — compact */
.facade-card-grid .restaurant-card__footer .btn--whatsapp {
    width: 100% !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 4px 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    min-width: 0 !important;
}

.facade-card-grid .restaurant-card__footer .btn--whatsapp.active {
    background: var(--color-emerald-500) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25) !important;
}

.facade-card-grid .restaurant-card__footer .btn--whatsapp.active:hover {
    background: var(--color-emerald-600) !important;
}

.facade-card-grid .restaurant-card__footer .btn--whatsapp.inactive {
    background: var(--color-slate-100) !important;
    color: var(--color-slate-400) !important;
    border: 1px solid var(--color-slate-200) !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* HIDE secondary actions on homepage cards to match approved compact mockup */
.facade-card-grid .restaurant-card__footer a:not(.btn--whatsapp),
.facade-card-grid .restaurant-card .tier0-competitors {
    display: none !important;
}

/* ─── 4. Curated Guides Carousel ───────────────────────────────────────────── */
.facade-guides {
    margin-top: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.facade-guides__container {
    max-width: var(--container-content);
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    min-width: 0;
}

.facade-guides__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.facade-guides__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
    min-width: 0;
}

.facade-guides__arrows {
    display: flex;
    gap: 8px;
    color: var(--color-slate-400);
    font-size: 15px;
    user-select: none;
    flex-shrink: 0;
}

.guide-arrow {
    cursor: pointer;
    padding: 0 4px;
}

.guide-arrow:hover {
    color: var(--color-slate-900);
}

.facade-guides__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.facade-guides__track::-webkit-scrollbar {
    display: none;
}

.facade-guide-card {
    flex: 0 0 170px;
    width: 170px;
    height: 105px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--color-slate-900);
    box-sizing: border-box;
}

.facade-guide-card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.facade-guide-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.facade-guide-card:hover .facade-guide-card__bg {
    transform: scale(1.05);
}

.facade-guide-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 100%);
}

.facade-guide-card__title {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    margin: 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

/* ─── 5. B2B Bottom Strip (Fixed / Sticky to Viewport Bottom) ──────────────── */
.facade-b2b-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-slate-200);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
    padding: 8px 0;
    box-sizing: border-box;
}

.facade-b2b-strip__container {
    max-width: var(--container-content);
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    min-width: 0;
}

.facade-b2b-strip__text {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
    min-width: 0;
    line-height: 1.3;
}

.facade-b2b-strip__btn {
    display: inline-block;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-slate-900);
    background: #ffffff;
    border: 1px solid var(--color-slate-900);
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.facade-b2b-strip__btn:hover {
    background: var(--color-slate-900);
    color: #ffffff;
}

/* ─── Footer Containment Overrides ─────────────────────────────────────────── */
.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.site-footer .footer-container {
    width: 100% !important;
    max-width: 1200px !important;
    box-sizing: border-box !important;
}

.site-footer .footer-bottom {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ─── Responsive Adaptations: Tablet (769px – 1023px) ──────────────────────── */
@media (max-width: 1023px) {
    /* 1. Navbar Tablet Optimization */
    .facade-navbar__container {
        padding: 0 14px;
        gap: 12px;
    }
    .facade-nav {
        gap: 16px;
    }
    .facade-nav__link {
        font-size: 13px;
    }
    .facade-btn-outline {
        padding: 5px 11px;
        font-size: 11.5px;
    }

    /* 2. Hero Tablet Optimization */
    .facade-hero {
        padding-top: 24px;
    }
    .facade-hero__container {
        padding: 0 14px;
    }
    .facade-hero__title {
        font-size: 24px;
        line-height: 1.3;
    }
    .facade-hero__subtitle {
        font-size: 14px;
    }

    /* 3. Search Bar Tablet Optimization */
    .facade-search-bar {
        max-width: 100%;
        padding: 4px 6px 4px 12px;
    }
    .facade-search-bar__controls {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    .facade-search-bar__controls::-webkit-scrollbar {
        display: none;
    }

    /* 4. Restaurant Grid Tablet: 2 Columns with minmax(0, 1fr) */
    .facade-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    /* 5. Fixed B2B Strip Tablet */
    .facade-b2b-strip__container {
        padding: 0 14px;
        gap: 12px;
    }
    .facade-b2b-strip__text {
        font-size: 11.5px;
    }
    .facade-b2b-strip__btn {
        padding: 5px 11px;
        font-size: 11px;
    }

    /* 6. Footer Tablet */
    .site-footer .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Tablet Narrow Transition (769px – 880px) */
@media (max-width: 880px) {
    .facade-btn-prefix {
        display: none !important;
    }
    .facade-nav {
        gap: 12px;
    }
    .facade-nav__link {
        font-size: 12px;
    }
}

/* ─── Responsive Adaptations: Mobile (<= 768px) ─────────────────────────────── */
@media (max-width: 768px) {
    html, body.places-th-facade-light {
        overflow-x: clip !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }

    /* Navbar Mobile */
    .facade-navbar {
        width: 100% !important;
        overflow: visible !important;
    }
    .facade-navbar__container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .facade-nav {
        display: none;
    }
    .facade-nav.is-open {
        display: flex !important;
    }
    .facade-btn-prefix {
        display: none !important;
    }
    .facade-btn-outline {
        padding: 4px 8px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Hero Mobile */
    .facade-hero {
        padding-top: 18px !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    .facade-hero__container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .facade-hero__title {
        font-size: 19px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    .facade-hero__subtitle {
        font-size: 13px !important;
        line-height: 1.4 !important;
        padding: 0 4px !important;
    }
    .facade-status-slider {
        max-width: 320px !important;
        padding: 2px 6px !important;
        font-size: 11px !important;
    }
    .status-slider__item {
        font-size: 11px !important;
        gap: 5px !important;
    }
    .status-slider__nav {
        font-size: 13px !important;
        padding: 0 4px !important;
    }
    .facade-ai-bubble {
        width: 100% !important;
        max-width: 320px !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    /* Search Bar Mobile */
    .facade-search-bar {
        height: auto !important;
        flex-direction: column !important;
        padding: 8px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .facade-search-bar__input-group {
        width: 100% !important;
        min-width: 0 !important;
    }
    .facade-search-bar__controls {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        padding-bottom: 3px !important;
        flex-wrap: nowrap !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .facade-trust-strip {
        gap: 8px 12px !important;
        font-size: 11px !important;
        padding: 0 8px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Restaurant & Guides Containers Mobile */
    .facade-restaurants__container,
    .facade-guides__container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    /* Restaurant Grid Mobile: 1 Column */
    .facade-card-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .facade-card-grid .restaurant-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Fixed B2B Strip Mobile */
    .facade-b2b-strip {
        padding: 6px 0 !important;
    }
    .facade-b2b-strip__container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        gap: 8px !important;
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .facade-b2b-strip__text {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        flex: 1 !important;
    }
    .facade-b2b-strip__btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
        flex-shrink: 0 !important;
    }
    body.places-th-facade-light {
        padding-bottom: 50px !important;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 32px 12px 20px !important;
        margin-top: 40px !important;
    }
    .site-footer .footer-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .site-footer .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    /* PDPA Consent Banner Mobile Containment */
    #pdpa-consent-banner {
        padding: 12px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    #pdpa-consent-banner > div {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #pdpa-consent-banner div[style*="min-width"] {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    #pdpa-consent-banner div[style*="display:flex"] {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    #pdpa-consent-banner button {
        flex: 1 !important;
        padding: 6px 8px !important;
        font-size: 11.5px !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   BENTO GRID GUIDE STANDARD (VARIANT 3)
   ========================================================================== */
:root {
    --wa-green: #00A884;
    --wa-green-hover: #028C6E;
    --wa-bubble-bg: #D9FDD3;
    --emerald-primary: #10B981;
    --emerald-neon: #00FF87;
    --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
}

.facade-bento-section {
    padding: 10px 20px 48px;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.live-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0F172A;
    color: #F8FAFC;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 16px auto 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.live-dot-ring {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    display: inline-block;
    animation: pulseLive 2s infinite ease-in-out;
}
@keyframes pulseLive {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.8; }
}
.live-counter-pill strong { color: #FFFFFF; font-weight: 700; }
.counter-sep { color: rgba(255, 255, 255, 0.25); }

/* BENTO GRID */
.bento-wrapper {
    display: grid;
    grid-template-columns: 1.18fr 0.95fr 0.87fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.bento-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    padding: 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.bento-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}
.bento-card-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0F172A;
}
.bento-card-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 16px;
}

/* CARD 1: Featured */
.bento-card-featured {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 18px;
}
.featured-img-box {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    background: #090D16;
}
.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.bento-card:hover .featured-img-box img {
    transform: scale(1.04);
}
.cyber-stamp-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 105px;
    height: 105px;
    transform: rotate(-7deg);
    filter: drop-shadow(0 0 14px rgba(0, 255, 135, 0.45));
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}
.bento-card:hover .cyber-stamp-overlay {
    transform: rotate(0deg) scale(1.08);
    filter: drop-shadow(0 0 22px rgba(0, 255, 135, 0.75));
}
.cyber-stamp-svg {
    width: 100%;
    height: 100%;
}
.featured-meta {
    padding: 0 4px;
}
.featured-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0F172A;
}
.featured-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.chip {
    background: #F1F5F9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #E2E8F0;
}

/* CARD 2: WhatsApp */
.bento-card-whatsapp {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5FAF7 100%);
    border: 1.5px solid rgba(0, 168, 132, 0.25);
}
.wa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.wa-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #E8F5E9;
    color: #00A884;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid #C8E6C9;
}
.wa-icon-badge {
    width: 32px;
    height: 32px;
    background: #00A884;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 168, 132, 0.3);
}
.wa-icon-badge svg { width: 18px; height: 18px; fill: currentColor; }

.btn-wa-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #00A884;
    color: #FFFFFF !important;
    padding: 12px 18px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 168, 132, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}
.btn-wa-book:hover {
    background: #028C6E;
    box-shadow: 0 6px 18px rgba(0, 168, 132, 0.35);
    transform: translateY(-1px);
}

/* Full-width chat window container */
.wa-chat-window-full {
    width: 100%;
    background: #EFEAE2;
    border-radius: 12px;
    border: 1px solid #D1D7DB;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 8px 0 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.wa-chat-header-bar {
    background: #008069;
    color: #FFFFFF;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    font-weight: 700;
}
.wa-chat-header-bar .wa-chat-user {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wa-chat-avatar {
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    color: #008069;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
}
.wa-chat-body-area {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: #EFEAE2;
    background-image: radial-gradient(#D6D0C7 1px, transparent 1px);
    background-size: 12px 12px;
}
.wa-msg-bubble {
    background: #FFFFFF;
    border-radius: 8px 8px 8px 2px;
    padding: 7px 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 95%;
    font-size: 11.5px;
    line-height: 1.35;
    color: #111B21;
}
.wa-bubble-sender-name {
    font-size: 9.5px;
    font-weight: 800;
    color: #008069;
    margin-bottom: 2px;
}
.wa-bubble-time {
    font-size: 9px;
    color: #667781;
    text-align: right;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}
.wa-bubble-time .check {
    color: #53BDEB;
    font-weight: 900;
}

/* CARD 3: Unbought Rating */
.bento-card-rating {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}
.rating-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.cyber-stamp-hero-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #090D16;
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: inset 0 0 14px rgba(0, 255, 135, 0.08), 0 4px 12px rgba(0,0,0,0.12);
}
.cyber-stamp-svg-hero {
    width: 62px;
    height: 62px;
    filter: drop-shadow(0 0 12px rgba(0, 255, 135, 0.5));
    flex-shrink: 0;
}
.cyber-stamp-hero-text h4 {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}
.cyber-stamp-hero-text p {
    font-size: 10.5px;
    color: #00FF87;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cyber-stamp-hero-text span {
    font-size: 10px;
    color: #94A3B8;
    display: block;
    margin-top: 2px;
}
.audit-criteria-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 6px 0 10px;
    padding: 0;
}
.audit-criteria-list li {
    font-size: 11px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
.audit-criteria-list .icon {
    color: #10B981;
    font-weight: 900;
    font-size: 11px;
}
.rating-proof-pill {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FCA5A5;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

/* CARD 4: AI Concierge • Smart Reality Engine */
.bento-card-ai {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    border: 2px solid #86EFAC;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFB 100%);
}
.badge-waitlist {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #ECFDF5;
    color: #047857;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #A7F3D0;
}
.badge-waitlist__dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-green 1.6s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.live-prompt-box {
    background: #F1F5F9;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
    position: relative;
}
.live-prompt-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.live-prompt-text {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 8px;
    font-style: italic;
}
.parsed-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.parsed-tag-lbl {
    font-size: 9.5px;
    font-weight: 700;
    color: #475569;
    margin-right: 2px;
}
.p-tag {
    background: #FFFFFF;
    border: 1px solid #86EFAC;
    color: #065F46;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.killer-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 12px;
    padding: 0;
}
.killer-feature-item {
    font-size: 11.5px;
    color: #1E293B;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
}
.killer-feature-item strong {
    color: #0F172A;
    font-weight: 800;
}
.k-icon {
    color: #10B981;
    font-size: 12px;
    font-weight: 900;
    margin-top: 1px;
    flex-shrink: 0;
}

.ai-footer-privacy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #E2E8F0;
    font-size: 11px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 6px;
}
.ai-footer-privacy__badge {
    font-weight: 700;
    color: #047857;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ai-footer-privacy__note {
    font-size: 10.5px;
    color: #64748B;
}

/* CARD 5: Guides & Districts */
.bento-card-guides {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
.guides-mini-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.guide-mini-tile {
    height: 95px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    border: 1px solid #E2E8F0;
}
.guide-mini-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.guide-mini-tile:hover img {
    transform: scale(1.08);
}
.guide-mini-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(15, 23, 42, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 8px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
}

/* CARD 6: B2B For Restaurateurs */
.bento-card-b2b {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    background: #090D16;
    border: 1.5px solid #1E293B;
    color: #FFFFFF;
    padding: 22px 28px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.b2b-left-block {
    display: flex;
    align-items: center;
    gap: 20px;
}
.emerald-badge-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #00FF87;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.b2b-text-group h3 {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.b2b-text-group p {
    font-size: 13px;
    color: #94A3B8;
}
.b2b-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.qr-door-preview {
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-claim-venue {
    background: #10B981;
    color: #0F172A !important;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-claim-venue:hover {
    background: #34D399;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

/* FOOTER MANIFEST BAR */
.footer-manifest-bar {
    text-align: center;
    padding: 28px 20px 36px;
    border-top: 1px solid #E2E8F0;
    background: #FFFFFF;
    border-radius: 18px;
    margin-top: 24px;
}
.footer-manifest-text {
    font-size: 15.5px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}
.footer-manifest-sub {
    font-size: 12.5px;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 980px) {
    .bento-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .bento-card-featured {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .bento-card-whatsapp {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    .bento-card-rating {
        grid-column: 2 / 3;
        grid-row: auto;
    }
    .bento-card-ai {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .bento-card-guides {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    .bento-card-b2b {
        grid-column: 1 / 3;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .b2b-left-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .b2b-right-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .bento-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bento-card-featured,
    .bento-card-whatsapp,
    .bento-card-rating,
    .bento-card-ai,
    .bento-card-guides,
    .bento-card-b2b {
        grid-column: 1 / 2;
    }
    .bento-card {
        padding: 18px;
    }
    .featured-img-box {
        height: 180px;
    }
    .cyber-stamp-overlay {
        width: 85px;
        height: 85px;
    }
}

