/* ══════════════════════════════════════════════════════
   MARKETPLACE CSS
   The ChillSpot — Platform-level landing page styles
   Mobile-first, Bootstrap 5 compatible
══════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────── */
:root {
    --mkt-primary:       #FF6B35;
    --mkt-primary-dark:  #e05a28;
    --mkt-primary-light: #fff3ee;
    --mkt-secondary:     #1a1a2e;
    --mkt-accent:        #FF4757;
    --mkt-green:         #28a745;
    --mkt-red:           #dc3545;
    --mkt-purple:        #6f42c1;

    --mkt-surface:       #ffffff;
    --mkt-surface-alt:   #fef7f3;
    --mkt-border:        #eeddd5;
    --mkt-text:          #1a1a2e;
    --mkt-text-muted:    #6c757d;

    --mkt-radius:        16px;
    --mkt-radius-sm:     10px;
    --mkt-radius-xs:     6px;

    --mkt-shadow:        0 4px 10px rgba(255,107,53,0.10), 0 10px 30px rgba(255,107,53,0.07);
    --mkt-shadow-hover:  0 8px 20px rgba(255,107,53,0.18), 0 20px 50px rgba(255,107,53,0.14);
    --mkt-shadow-card:   0 4px 10px rgba(255,107,53,0.10), 0 10px 30px rgba(255,107,53,0.07);

    --mkt-transition:    all 0.2s ease;
    --mkt-font:          'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Reset & Base ──────────────────────────────────── */
.mkt-body {
    font-family: var(--mkt-font);
    background: var(--mkt-surface-alt);
    color: var(--mkt-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; color: inherit; }


/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.mkt-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 10px rgba(255,107,53,0.08), 0 10px 30px rgba(255,107,53,0.05);
    padding: 12px 0;
}

.mkt-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width:380px){

    .mkt-nav-inner{
        gap:8px;
    }

    .mkt-nav-actions{
        gap:4px;
    }

}

/* Brand */
.mkt-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex:1;
    min-width:0;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--mkt-secondary);
    letter-spacing: -0.3px;
}
.mkt-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF4757 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,107,53,0.35);
}
.mkt-brand-text { color: var(--mkt-secondary); }
.mkt-brand:hover .mkt-brand-text { color: var(--mkt-primary); }
.mkt-brand-del {
    font-weight: 500;
    font-size: 0.82em;
    opacity: 0.6;
    letter-spacing: 0.04em;
}

@media (max-width:380px){

    .mkt-brand-del{
        display:none;
    }

}

/* Nav search */
.mkt-nav-search { flex: 1; max-width: 480px; }

.mkt-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink:1;
    min-width:0;
}

/* Notification button */
.mkt-nav-notification-btn{
    position:relative;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    text-decoration:none;
    color:var(--mkt-text);
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    transition:.2s ease;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.mkt-nav-notification-btn:hover{
    background:#f8f9fa;
    color:var(--mkt-primary);
    transform:translateY(-1px);
}

.mkt-nav-notification-btn::after{
    display:none;   /* hide Bootstrap dropdown arrow */
}

.mkt-nav-notification-btn i{
    font-size:1.15rem;
    line-height:1;
}

/* Badge */
.mkt-nav-notification-badge{
    position:absolute;
    top:6px;
    right:6px;

    min-width:18px;
    height:18px;
    padding:0 5px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#dc3545;
    color:#fff;

    border-radius:999px;
    border:2px solid #fff;

    font-size:.65rem;
    font-weight:700;
    line-height:1;
}

/* Mobile search bar */
.mkt-mobile-search {
    padding: 8px 0 4px;
}
.mkt-mobile-search-btn {
    background: none;
    border: none;
    padding: 6px 8px;
    font-size: 1.1rem;
    color: var(--mkt-text-muted);
    cursor: pointer;
    border-radius: var(--mkt-radius-xs);
    transition: var(--mkt-transition);
}
.mkt-mobile-search-btn:hover { background: var(--mkt-surface-alt); color: var(--mkt-primary); }

/* Shared search component */
.mkt-search-wrap {
    position: relative;
    width: 100%;
}
.mkt-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mkt-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}
.mkt-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid var(--mkt-border);
    border-radius: 100px;
    font-size: 0.92rem;
    background: var(--mkt-surface-alt);
    color: var(--mkt-text);
    outline: none;
    transition: var(--mkt-transition);
}
.mkt-search-input:focus {
    border-color: var(--mkt-primary);
    background: var(--mkt-surface);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}
.mkt-search-input::placeholder { color: var(--mkt-text-muted); }

/* Search dropdown results */
.mkt-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-sm);
    box-shadow: var(--mkt-shadow-card);
    max-height: 420px;
    overflow-y: auto;
    z-index: 2000;
}
.mkt-search-dropdown::-webkit-scrollbar { width: 4px; }
.mkt-search-dropdown::-webkit-scrollbar-thumb { background: var(--mkt-border); border-radius: 4px; }

.mkt-search-section-label {
    padding: 10px 14px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mkt-text-muted);
}
.mkt-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: var(--mkt-transition);
    border-radius: 0;
}
.mkt-search-item:hover, .mkt-search-item.focused {
    background: var(--mkt-primary-light);
}
.mkt-search-item-img {
    width: 40px;
    height: 40px;
    border-radius: var(--mkt-radius-xs);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--mkt-surface-alt);
}
.mkt-search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--mkt-radius-xs);
    background: var(--mkt-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.mkt-search-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mkt-text);
    line-height: 1.2;
}
.mkt-search-item-sub {
    font-size: 0.78rem;
    color: var(--mkt-text-muted);
    margin-top: 1px;
}
.mkt-search-item-price {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mkt-primary);
    flex-shrink: 0;
}
.mkt-search-empty {
    padding: 20px 14px;
    text-align: center;
    color: var(--mkt-text-muted);
    font-size: 0.9rem;
}
.mkt-search-loading {
    padding: 14px;
    text-align: center;
    color: var(--mkt-text-muted);
    font-size: 0.85rem;
}
.mkt-search-divider {
    height: 1px;
    background: var(--mkt-border);
    margin: 4px 0;
}


/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.mkt-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.mkt-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,107,53,0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,71,87,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.mkt-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
}
.mkt-hero-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--mkt-primary);
    top: -100px;
    right: -80px;
}
.mkt-hero-blob-2 {
    width: 300px;
    height: 300px;
    background: var(--mkt-accent);
    bottom: -80px;
    left: -60px;
}
.mkt-hero-content { position: relative; z-index: 2; }

.mkt-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.mkt-hero-highlight {
    background: linear-gradient(90deg, var(--mkt-primary), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mkt-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero search bar */
.mkt-hero-search-wrap {
    position: relative;
    max-width: 580px;
    margin: 0 auto 32px;
}
.mkt-hero-search-inner {
    display: flex;
    align-items: center;
    background: var(--mkt-surface);
    border-radius: 100px;
    padding: 6px 6px 6px 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    position: relative;
}
.mkt-hero-search-icon {
    position: absolute;
    left: 18px;
    color: var(--mkt-text-muted);
    font-size: 1rem;
    z-index: 1;
}
.mkt-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.98rem;
    color: var(--mkt-text);
    background: transparent;
    padding: 8px 8px 8px 0;
}
.mkt-hero-search-input::placeholder { color: #aaa; }
.mkt-hero-search-btn {
    background: linear-gradient(135deg, var(--mkt-primary), var(--mkt-accent));
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--mkt-transition);
}
.mkt-hero-search-btn:hover {
    background: linear-gradient(135deg, var(--mkt-primary-dark), #c0392b);
    transform: scale(1.03);
}
.mkt-hero-dropdown {
    left: 0;
    right: 0;
    border-radius: var(--mkt-radius-sm);
}

/* Hero stats */
.mkt-hero-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.mkt-stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
}
.mkt-stat-pill i { color: var(--mkt-primary); font-size: 0.9rem; }


/* ══════════════════════════════════════════════════════
   CATEGORY PILLS BAR
══════════════════════════════════════════════════════ */
.mkt-categories-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mkt-border);
    padding: 12px 0;
    position: sticky;
    top: 61px;
    z-index: 100;
}
.mkt-cat-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 4px;
    scrollbar-width: none;
}
.mkt-cat-row::-webkit-scrollbar { display: none; }

.mkt-cat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mkt-text-muted);
    background: var(--mkt-surface-alt);
    border: 1.5px solid var(--mkt-border);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--mkt-transition);
    flex-shrink: 0;
}
.mkt-cat-pill:hover {
    border-color: var(--mkt-primary);
    color: var(--mkt-primary);
    background: var(--mkt-primary-light);
}
.mkt-cat-pill.active {
    background: var(--cat-color, var(--mkt-primary));
    border-color: var(--cat-color, var(--mkt-primary));
    color: #fff;
}
.mkt-cat-emoji { font-size: 1rem; }


/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.mkt-section {
    padding: 48px 0;
}
.mkt-section-alt {
    background: var(--mkt-primary-light);
}
.mkt-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}
.mkt-section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--mkt-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}
.mkt-section-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mkt-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--mkt-transition);
}
.mkt-section-link:hover { color: var(--mkt-primary-dark); }

/* Title badges */
.mkt-title-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}
.mkt-badge-featured  { background: linear-gradient(135deg, #f7971e, #ffd200); }
.mkt-badge-trending  { background: linear-gradient(135deg, #FF4757, #ff6b6b); }
.mkt-badge-new       { background: linear-gradient(135deg, #2ed573, #1abc9c); }
.mkt-badge-spotlight { background: linear-gradient(135deg, var(--mkt-primary), var(--mkt-accent)); }

/* Category emoji large */
.mkt-cat-emoji-lg { font-size: 1.3rem; }


/* ══════════════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════════════ */
.mkt-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--mkt-radius);
    padding: 28px 16px 24px;
    background: var(--mkt-surface);
    border: 1.5px solid var(--mkt-border);
    box-shadow: var(--mkt-shadow);
    transition: var(--mkt-transition);
    min-height: 140px;
    cursor: pointer;
    gap: 8px;
}
.mkt-category-card-bg {
    position: absolute;
    inset: 0;
    background: var(--cat-clr, var(--mkt-primary));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mkt-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mkt-shadow-hover);
    border-color: var(--cat-clr, var(--mkt-primary));
}
.mkt-category-card:hover .mkt-category-card-bg { opacity: 0.08; }
.mkt-category-card:hover .mkt-category-label { color: var(--cat-clr, var(--mkt-primary)); }
.mkt-category-card:hover .mkt-category-count { color: var(--cat-clr, var(--mkt-primary)); }

.mkt-category-emoji {
    font-size: 2.4rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    transition: transform 0.2s ease;
}
.mkt-category-card:hover .mkt-category-emoji { transform: scale(1.12); }
.mkt-category-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mkt-text);
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}
.mkt-category-count {
    font-size: 0.78rem;
    color: var(--mkt-text-muted);
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}


/* ══════════════════════════════════════════════════════
   BUSINESS CARDS
══════════════════════════════════════════════════════ */
.mkt-biz-card {
    display: flex;
    flex: 0 0 300px;
    flex-direction: column;
    background: var(--mkt-surface);
    border-radius: var(--mkt-radius);
    overflow: hidden;
    border: 1px solid var(--mkt-border);
    box-shadow: var(--mkt-shadow);
    transition: var(--mkt-transition);
    height: 100%;
    cursor: pointer;
}
.mkt-biz-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mkt-shadow-hover);
    border-color: var(--mkt-primary);
}

/* Banner */
.mkt-biz-banner {
    position: relative;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mkt-biz-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mkt-biz-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* Badges on banner */
.mkt-biz-type-badge {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}
.mkt-biz-new-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    background: #2ed573;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}
.mkt-biz-featured-badge {
    position: absolute;
    top: 8px;
    left: 10px;
    color: #ffd200;
    font-size: 0.95rem;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Type-specific banner tints (when no banner image) */
.mkt-type-restaurant { /* color set inline */ }
.mkt-type-grocery    { /* color set inline */ }
.mkt-type-butchery   { /* color set inline */ }
.mkt-type-retail     { /* color set inline */ }

/* Business body */
.mkt-biz-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.mkt-biz-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: -36px;
}
.mkt-biz-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    background: var(--mkt-surface);
}
.mkt-biz-logo-fallback {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}
.mkt-biz-info { flex: 1; }
.mkt-biz-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--mkt-text);
    margin: 0 0 4px;
    line-height: 1.2;
}
.mkt-biz-tagline {
    font-size: 0.82rem;
    color: var(--mkt-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mkt-biz-address {
    font-size: 0.78rem;
    color: var(--mkt-text-muted);
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mkt-biz-address i { font-size: 0.75rem; color: var(--mkt-primary); }

.mkt-biz-cta {
    border-top: 1px solid var(--mkt-border);
    padding-top: 12px;
    margin-top: auto;
}
.mkt-biz-cta-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mkt-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.mkt-biz-card:hover .mkt-biz-cta-btn { gap: 10px; }


/* ══════════════════════════════════════════════════════
   HORIZONTAL SCROLL (Trending Products)
══════════════════════════════════════════════════════ */
.mkt-hscroll-wrap {
    position: relative;
}
.mkt-hscroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--mkt-border) transparent;
    scroll-snap-type: x mandatory;
}
.mkt-hscroll::-webkit-scrollbar {
    height: 4px;
}
.mkt-hscroll::-webkit-scrollbar-thumb {
    background: var(--mkt-border);
    border-radius: 4px;
}

/* ── Infinite-scroll marquee variant ── */
.mkt-hscroll-wrap--auto {
    overflow: hidden;
}
.mkt-hscroll-wrap--auto .mkt-hscroll {
    overflow: visible;
    width: max-content;
    flex-wrap: nowrap;
    scroll-snap-type: none;
    padding-bottom: 8px;
    animation: mkt-marquee var(--scroll-dur, 32s) linear infinite;
}
.mkt-hscroll-wrap--auto .mkt-product-card,
.mkt-hscroll-wrap--auto .mkt-biz-hub-card {
    scroll-snap-align: none;
    flex-shrink: 0;
}
.mkt-hscroll-wrap--auto .mkt-biz-hscroll {
    scroll-snap-type: none;
}
.mkt-hscroll-wrap--auto:hover .mkt-hscroll {
    animation-play-state: paused;
}
@keyframes mkt-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════════════ */
/* Horizontal scroll version */
.mkt-hscroll .mkt-product-card {
    flex-shrink: 0;
    width: 180px;
    scroll-snap-align: start;
}
@media (min-width: 576px) {
    .mkt-hscroll .mkt-product-card { width: 200px; }
}

.mkt-product-card {
    display: flex;
    flex-direction: column;
    background: var(--mkt-surface);
    border-radius: var(--mkt-radius-sm);
    overflow: hidden;
    border: 1px solid var(--mkt-border);
    box-shadow: var(--mkt-shadow);
    transition: var(--mkt-transition);
    cursor: pointer;
}
.mkt-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mkt-shadow-hover);
    border-color: rgba(255,107,53,0.45);
}
.mkt-product-card-grid {
    height: 100%;
}

.mkt-product-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--mkt-surface-alt);
}
.mkt-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mkt-product-card:hover .mkt-product-img { transform: scale(1.06); }

.mkt-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--mkt-border);
    background: linear-gradient(135deg, #eeddd5, #f5ede8);
}
.mkt-product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--mkt-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mkt-product-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.mkt-product-biz {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--mkt-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mkt-product-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--mkt-text);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mkt-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
}
.mkt-product-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--mkt-secondary);
}
.mkt-product-cat {
    font-size: 0.7rem;
    color: var(--mkt-text-muted);
    background: var(--mkt-surface-alt);
    border-radius: 100px;
    padding: 2px 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}


/* ══════════════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════════════ */
.mkt-empty-state {
    text-align: center;
    padding: 60px 20px;
}
.mkt-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}
.mkt-empty-state h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mkt-text);
    margin-bottom: 8px;
}


/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.mkt-btn-primary {
    background: linear-gradient(135deg, var(--mkt-primary), var(--mkt-accent));
    color: #fff !important;
    border: none;
    border-radius: 100px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--mkt-transition);
    box-shadow: 0 4px 14px rgba(255,107,53,0.35);
}
.mkt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.5);
}
.mkt-btn-outline {
    background: transparent;
    color: var(--mkt-primary);
    border: 1.5px solid var(--mkt-primary);
    border-radius: 100px;
    padding: 7px 18px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--mkt-transition);
}
.mkt-btn-outline:hover {
    background: var(--mkt-primary);
    color: #fff;
}
.mkt-btn-ghost {
    background: transparent;
    color: var(--mkt-text-muted);
    border: none;
    font-weight: 600;
    transition: var(--mkt-transition);
}
.mkt-btn-ghost:hover { color: var(--mkt-primary); }


/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.mkt-footer {
    background: var(--mkt-secondary);
    color: rgba(255,255,255,0.75);
    padding: 48px 0 24px;
    margin-top: 0;
}
.mkt-footer-brand .mkt-brand-text { color: #fff; }
.mkt-footer-brand .mkt-brand-icon {
    background: linear-gradient(135deg, var(--mkt-primary), var(--mkt-accent));
}
.mkt-footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 280px;
}
.mkt-footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}
.mkt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mkt-footer-links li { margin-bottom: 8px; }
.mkt-footer-links a,
.mkt-footer-link-btn {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.mkt-footer-links a:hover,
.mkt-footer-link-btn:hover { color: var(--mkt-primary); }

.mkt-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,0.45);
}
.mkt-footer-power { display: flex; align-items: center; gap: 6px; }
.mkt-footer-power i { color: var(--mkt-primary); }


/* ══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .mkt-hero { padding: 52px 0 60px; }
    .mkt-section { padding: 36px 0; }
    .mkt-biz-banner { height: 100px; }
}

@media (max-width: 767.98px) {
    .mkt-hero { padding: 40px 0 48px; }
    .mkt-hero-title { letter-spacing: -0.5px; }
    .mkt-hero-search-inner { padding-left: 44px; }
    .mkt-hero-search-btn { padding: 9px 16px; font-size: 0.85rem; }
    .mkt-section { padding: 28px 0; }
    .mkt-section-title { font-size: 1.15rem; }
    .mkt-category-card { min-height: 120px; padding: 20px 12px 18px; }
    .mkt-category-emoji { font-size: 2rem; }
}

@media (max-width: 575.98px) {
    .mkt-hero-stats { gap: 8px; }
    .mkt-stat-pill { font-size: 0.77rem; padding: 5px 11px; }
    .mkt-categories-bar { top: 57px; }
    .mkt-footer { padding: 36px 0 20px; }
}

/* ── Scroll animation utility ──────────────────────── */
@keyframes mkt-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mkt-fade-up {
    animation: mkt-fade-up 0.45s ease both;
}
.mkt-fade-up-delay-1 { animation-delay: 0.1s; }
.mkt-fade-up-delay-2 { animation-delay: 0.2s; }
.mkt-fade-up-delay-3 { animation-delay: 0.3s; }


/* ══════════════════════════════════════════════════════
   TOP NAV — CART BUTTON & BADGE
══════════════════════════════════════════════════════ */
.mkt-nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mkt-primary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
    padding: 4px;
}
.mkt-nav-cart-btn:hover {
    transform: scale(1.1);
    color: var(--mkt-accent);
}
.mkt-nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--mkt-primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid #fff;
}

/* TOP NAV — USER DROPDOWN TOGGLE */
.mkt-nav-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #495057;
    font-weight: 500;
    font-size: 0.92rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease;
    text-decoration: none;
}
.mkt-nav-user-toggle:hover { color: var(--mkt-primary); }
.mkt-nav-user-toggle i { font-size: 1.25rem; }

/* TOP NAV — LOGIN ICON LINK */
.mkt-nav-login-icon {
    display: inline-flex;
    align-items: center;
    color: #6c757d;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 4px;
    transition: color 0.2s ease;
}
.mkt-nav-login-icon:hover { color: var(--mkt-primary); }

.mkt-nav-signup-btn {
    align-items: center;
    padding: 6px 14px;
    background: var(--mkt-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s;
    white-space: nowrap;
}
.mkt-nav-signup-btn:hover { background: var(--mkt-primary-dark); color: #fff; }

.mkt-guest-mgmt-link {
    font-size: .7rem;
    color: #b0b8c4;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}
.mkt-guest-mgmt-link:hover { color: #6c757d; }

/* Subtle prompt bar shown to guests below hero (used in home) */
.mkt-account-prompt {
    background: linear-gradient(90deg, var(--mkt-primary) 0%, var(--mkt-primary-dark) 100%);
    color: #fff;
    padding: 12px 0;
    font-size: 0.87rem;
    text-align: center;
}
.mkt-account-prompt a { color: #fff; font-weight: 700; text-decoration: underline; }
.mkt-account-prompt a:hover { opacity: .85; }


/* ══════════════════════════════════════════════════════
   GLOBAL NAV LINKS (desktop, inside mkt-nav)
══════════════════════════════════════════════════════ */
.mkt-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 0 16px;
}
.mkt-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.mkt-nav-link:hover, .mkt-nav-link.active {
    background: #fff3ee;
    color: #FF6B35;
}

/* ══════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
══════════════════════════════════════════════════════ */
.mkt-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #fff;
    border-top: 1px solid var(--mkt-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1040;
    align-items: stretch;
    justify-content: space-around;
}

@media (max-width: 767.98px) {
    .mkt-bottom-nav {
        display: flex;
    }
    .mkt-has-bottom-nav {
        padding-bottom: 62px !important;
    }
    /* Also push up any fixed/sticky footer-adjacent elements */
    .experience-exit-wrapper {
        bottom: 70px;
    }
}

.mkt-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6px 4px 4px;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 700;
    gap: 3px;
    letter-spacing: 0.01em;
    transition: color 0.15s;
    position: relative;
}
.mkt-bottom-nav-item i {
    font-size: 1.3rem;
    line-height: 1;
}
.mkt-bottom-nav-item span {
    line-height: 1;
}
.mkt-bottom-nav-item.active {
    color: #FF6B35;
}
.mkt-bottom-nav-item:hover {
    color: #FF6B35;
}
/* Active indicator bar */
.mkt-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background: #FF6B35;
    border-radius: 0 0 4px 4px;
}

/* Cart item in bottom nav */
.mkt-bottom-cart-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mkt-bottom-cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background: #FF4757;
    color: #fff;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 1.5;
    border: 2px solid #fff;
}


/* ══════════════════════════════════════════════════════
   PRODUCT CARD — link wrapper + quick-action button
══════════════════════════════════════════════════════ */

/* The inner link fills the card above the action strip */
.mkt-product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}
.mkt-product-card-link:hover { color: inherit; }

/* Action strip at the bottom of each product card */
.mkt-product-actions {
    padding: 8px 10px 10px;
    border-top: 1px solid var(--mkt-border);
    flex-shrink: 0;
}

/* Quick action button — shared base */
.mkt-product-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.mkt-product-quick-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.mkt-product-quick-btn:active { transform: translateY(0); }
.mkt-product-quick-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; filter: none; }

/* Add to Cart — orange gradient (plain and accompaniment variant) */
.mkt-quick-add,
.mkt-acc-open-btn {
    background: linear-gradient(135deg, #FF6B35, #FF4757);
    color: #fff;
}

/* Book — blue/indigo */
.mkt-quick-book {
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
}

/* Options — subtle outline */
.mkt-quick-options {
    background: var(--mkt-primary-light);
    color: var(--mkt-primary-dark);
    border: 1.5px solid var(--mkt-border);
}
.mkt-quick-options:hover { background: var(--mkt-border); filter: none; }

/* Suppress card-level hover transform on the action strip so the
   card lift only triggers when hovering the link area */
.mkt-product-card:has(.mkt-product-actions:hover) {
    transform: none;
    box-shadow: var(--mkt-shadow);
}


/* ══════════════════════════════════════════════════════
   HERO META LINE  (replaces stat pills)
══════════════════════════════════════════════════════ */
.mkt-hero-meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.mkt-hero-meta i { opacity: 0.7; }
.mkt-hero-meta-dot { opacity: 0.3; }

/* ══════════════════════════════════════════════════════
   SERVICES TICKER  (animated marquee between hero + categories)
══════════════════════════════════════════════════════ */
.mkt-services-ticker {
    background: linear-gradient(180deg, #0f3460 0%, #16213e 100%);
    padding: 20px 0 24px;
    overflow: hidden;
    position: relative;
}

/* Soft fade-out edges so cards appear/disappear gracefully */
.mkt-services-ticker::before,
.mkt-services-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}
.mkt-services-ticker::before {
    left: 0;
    background: linear-gradient(to right, #0f3460, transparent);
}
.mkt-services-ticker::after {
    right: 0;
    background: linear-gradient(to left, #16213e, transparent);
}

.mkt-ticker-row {
    overflow: hidden;
    margin-bottom: 12px;
}
.mkt-ticker-row:last-child { margin-bottom: 0; }

/* ── Marquee tracks ── */
@keyframes mkt-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes mkt-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.mkt-ticker-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: mkt-scroll-left 32s linear infinite;
    padding: 4px 0;
}
.mkt-ticker-rtl {
    animation: mkt-scroll-right 42s linear infinite;
}

/* Pause both rows when hovering the ticker block */
.mkt-services-ticker:hover .mkt-ticker-track {
    animation-play-state: paused;
}

/* ── Service card base ── */
.mkt-svc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 120px;
    height: 100px;
    border-radius: 18px;
    padding: 12px 8px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: default;
    transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
a.mkt-svc-card { cursor: pointer; }
a.mkt-svc-card:hover,
div.mkt-svc-card:hover {
    transform: translateY(-4px) scale(1.04);
}

/* ── Live card ── */
.mkt-svc-live {
    background-color: var(--svc);
    background-image: linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(0,0,0,0.15) 100%);
    box-shadow:
        0 4px 20px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.12) inset;
    color: #fff;
}
.mkt-svc-live::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}
a.mkt-svc-live:hover {
    box-shadow:
        0 8px 32px rgba(0,0,0,0.4),
        0 0 0 1.5px rgba(255,255,255,0.25) inset;
    color: #fff;
}

/* ── Coming-soon card ── */
.mkt-svc-soon {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.65);
    /* subtle color tint from --svc */
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset,
                inset 0 0 30px rgba(0,0,0,0.2);
}
.mkt-svc-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(var(--svc-rgb,120,120,200),0.15), transparent 70%);
    pointer-events: none;
}
div.mkt-svc-soon:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.8);
}

/* ── Card inner elements ── */
.mkt-svc-icon {
    font-size: 1.9rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.mkt-svc-name {
    font-size: 0.71rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.01em;
}
.mkt-svc-tag {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.mkt-svc-tag.svc-live {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.mkt-svc-tag.svc-soon {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}

/* Mobile: slightly smaller cards */
@media (max-width: 575.98px) {
    .mkt-svc-card { width: 104px; height: 88px; border-radius: 14px; }
    .mkt-svc-icon { font-size: 1.55rem; }
    .mkt-svc-name { font-size: 0.66rem; }
    .mkt-ticker-track { gap: 8px; }
}

/* ══════════════════════════════════════════════════════
   ANIMATED BILLBOARD HERO
══════════════════════════════════════════════════════ */
.mkt-billboard {
    position: relative;
    min-height: clamp(240px, 28vh, 360px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #1a0a30;
}

/* ── Photo slides ── */
.bbs-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.bbs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: bbs-cycle 20s ease-in-out infinite;
}
.bbs-slide:nth-child(1) { animation-delay:  0s; }
.bbs-slide:nth-child(2) { animation-delay:  5s; }
.bbs-slide:nth-child(3) { animation-delay: 10s; }
.bbs-slide:nth-child(4) { animation-delay: 15s; }
@keyframes bbs-cycle {
    0%, 100% { opacity: 0; }
    4%       { opacity: 1; }
    22%      { opacity: 1; }
    28%      { opacity: 0; }
}

.bbs-photo {
    position: absolute;
    inset: -6%;          /* extra space so Ken Burns never shows edge */
    background-image: var(--photo);
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.bbs-slide:nth-child(odd)  .bbs-photo { animation: bbs-kb-in  14s ease-in-out infinite alternate; }
.bbs-slide:nth-child(even) .bbs-photo { animation: bbs-kb-out 14s ease-in-out infinite alternate; }
@keyframes bbs-kb-in  { from { transform: scale(1)    translate(0, 0);   }
                        to   { transform: scale(1.14) translate(-2%, -1%); } }
@keyframes bbs-kb-out { from { transform: scale(1.14) translate(2%, 1%);  }
                        to   { transform: scale(1)    translate(0, 0);    } }

.bbs-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, var(--c1) 0%, var(--c2) 100%);
}

/* Edge vignette */
.bbs-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.40) 100%);
    pointer-events: none;
}

/* Shimmer sweep overlay (matches business page .header-banner::before) */
.bbs-shimmer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255,255,255,0.09) 40%,
        rgba(255,255,255,0.16) 50%,
        rgba(255,255,255,0.09) 60%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: bbsShimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes bbsShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Dot grid texture overlay (matches business page .header-banner::after) */
.bbs-dotgrid {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    animation: bbsDotDrift 20s linear infinite;
    pointer-events: none;
}
@keyframes bbsDotDrift {
    from { background-position: 0 0; }
    to   { background-position: 28px 28px; }
}

/* Floating decorative icons (matches business page .header-float-icon) */
.bbs-float-icon {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbs-float-icon i {
    color: rgba(255,255,255,0.65);
    filter: drop-shadow(0 2px 6px rgba(255,255,255,0.18));
}
.bbs-float-icon:nth-child(1)  { font-size:2.2rem; opacity:0.50; top:12%; left:2%;    animation: bbsDrift1 7s   ease-in-out infinite; }
.bbs-float-icon:nth-child(2)  { font-size:1.6rem; opacity:0.40; top:55%; left:6%;    animation: bbsDrift2 5.5s ease-in-out infinite; animation-delay:1s; }
.bbs-float-icon:nth-child(3)  { font-size:1.3rem; opacity:0.35; top:8%;  left:20%;   animation: bbsDrift3 8s   ease-in-out infinite; animation-delay:2s; }
.bbs-float-icon:nth-child(4)  { font-size:1.2rem; opacity:0.35; top:65%; left:38%;   animation: bbsDrift1 6s   ease-in-out infinite; animation-delay:0.5s; }
.bbs-float-icon:nth-child(5)  { font-size:1.8rem; opacity:0.50; top:10%; right:22%;  animation: bbsDrift2 7.5s ease-in-out infinite; animation-delay:3s; }
.bbs-float-icon:nth-child(6)  { font-size:1.3rem; opacity:0.35; top:60%; right:14%;  animation: bbsDrift3 5s   ease-in-out infinite; animation-delay:1.5s; }
.bbs-float-icon:nth-child(7)  { font-size:2.4rem; opacity:0.50; top:8%;  right:4%;   animation: bbsDrift1 9s   ease-in-out infinite; animation-delay:0.3s; }
.bbs-float-icon:nth-child(8)  { font-size:1.5rem; opacity:0.40; top:55%; right:2%;   animation: bbsDrift2 6.5s ease-in-out infinite; animation-delay:2.5s; }

@keyframes bbsDrift1 {
    0%   { transform: translate(0px,0px)    rotate(-5deg) scale(1);    }
    25%  { transform: translate(8px,-14px)  rotate(4deg)  scale(1.08); }
    50%  { transform: translate(-5px,-22px) rotate(-3deg) scale(1.04); }
    75%  { transform: translate(10px,-10px) rotate(6deg)  scale(1.1);  }
    100% { transform: translate(0px,0px)    rotate(-5deg) scale(1);    }
}
@keyframes bbsDrift2 {
    0%   { transform: translate(0px,0px)     rotate(3deg)  scale(1);    }
    30%  { transform: translate(-10px,-18px) rotate(-5deg) scale(1.06); }
    60%  { transform: translate(6px,-12px)   rotate(4deg)  scale(0.95); }
    100% { transform: translate(0px,0px)     rotate(3deg)  scale(1);    }
}
@keyframes bbsDrift3 {
    0%   { transform: translate(0px,0px)    rotate(-2deg) scale(1);    }
    40%  { transform: translate(12px,-16px) rotate(5deg)  scale(1.05); }
    80%  { transform: translate(-8px,-8px)  rotate(-4deg) scale(0.98); }
    100% { transform: translate(0px,0px)    rotate(-2deg) scale(1);    }
}

/* ── Foreground ── */
.bbs-fg {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 18px 0 8px;
}

/* Service info area */
.bbs-tagline-area {
    margin-bottom: 8px;
    transition: opacity 0.32s ease, transform 0.32s ease;
}
.bbs-tagline-area.bbs-out {
    opacity: 0;
    transform: translateX(-28px);
    pointer-events: none;
}
.bbs-tagline-area.bbs-in {
    animation: bbs-slide-in 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes bbs-slide-in {
    from { opacity: 0; transform: translateX(36px); }
    to   { opacity: 1; transform: translateX(0);    }
}

.bbs-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bbs-badge-live {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.30);
}
.bbs-badge-soon {
    background: rgba(255,215,0,0.14);
    color: #ffd700;
    border: 1px solid rgba(255,215,0,0.35);
}
.bbs-live-dot {
    font-size: 0.5rem;
    color: #4ade80;
    animation: bbs-pulse 2s ease infinite;
}
@keyframes bbs-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.bbs-service-name {
    font-size: clamp(1.3rem, 3.2vw, 2.1rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 6px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.40);
}

.bbs-service-sub {
    display: none; /* hidden to keep billboard compact; JS still updates it */
}

.bbs-cta-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.bbs-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    background: #fff;
    color: #1a0a30 !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.bbs-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    background: #f2f2f2;
}

/* Search section */
.bbs-search-wrap {
    margin-top: 2px;
}

.bbs-meta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin: 6px 0 0;
}
.bbs-meta-sep { opacity: 0.4; }

/* ── Bottom bar ── */
.bbs-bottom-bar {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 0 6px;
    background: linear-gradient(to top, rgba(0,0,0,0.40) 0%, transparent 100%);
}

.bbs-dots { display: flex; gap: 8px; }

.bbs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.30);
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
    flex-shrink: 0;
}
.bbs-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 4px;
}

.bbs-prog-track {
    width: min(320px, 80vw);
    height: 2px;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
    overflow: hidden;
}
.bbs-prog-fill {
    height: 100%;
    background: rgba(255,255,255,0.65);
    width: 0%;
    border-radius: 2px;
}

/* ── Mobile ── */
@media (max-width: 767.98px) {
    .mkt-billboard { min-height: clamp(220px, 38vh, 320px); }
    .bbs-fg { padding: 14px 0 6px; }
    .bbs-cta-btn { padding: 10px 24px; font-size: 0.88rem; }
}
@media (max-width: 575.98px) {
    .mkt-billboard { min-height: clamp(210px, 44vh, 290px); }
    .bbs-fg { padding: 12px 0 4px; }
}

/* ══════════════════════════════════════════════════
   BUSINESS FILTER PILLS
══════════════════════════════════════════════════ */
.mkt-biz-pill { gap: 7px; }

.mkt-biz-pill-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.6);
    flex-shrink: 0;
}

.mkt-biz-pill-icon {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   ALL-BUSINESSES SPOTS BLOCKS
══════════════════════════════════════════════════ */
.mkt-section-sub {
    font-size: 0.88rem;
    color: #888;
    margin: 4px 0 0;
}

.mkt-biz-spot-block {
    padding: 36px 0 40px;
    border-bottom: 1px solid var(--mkt-border);
}
.mkt-biz-spot-block:last-of-type { border-bottom: none; }

/* Business section header */
.mkt-spot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.mkt-spot-biz-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mkt-spot-biz-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    border: 1.5px solid var(--mkt-border);
    flex-shrink: 0;
}

.mkt-spot-biz-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mkt-spot-biz-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 2px;
}

.mkt-spot-biz-tagline {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

.mkt-spot-biz-addr {
    font-size: 0.78rem;
    color: #aaa;
    margin: 2px 0 0;
}

.mkt-spot-filter-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FF6B35;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    padding: 7px 14px;
    border: 1.5px solid #FF6B35;
    border-radius: 20px;
    transition: background 0.15s, color 0.15s;
}
.mkt-spot-filter-link:hover { background: #FF6B35; color: #fff; }

/* ══════════════════════════════════════════════════
   SPOT / CATEGORY CARDS
══════════════════════════════════════════════════ */
.mkt-spot-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1.5px solid var(--mkt-border);
    border-radius: 14px;
    padding: 14px 14px 14px 12px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
    min-height: 72px;
}
.mkt-spot-card:hover {
    border-color: var(--spot-clr, #FF6B35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

/* Left accent bar */
.mkt-spot-card-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--spot-clr, #FF6B35);
    border-radius: 14px 0 0 14px;
    opacity: 0.7;
    transition: opacity 0.18s;
}
.mkt-spot-card:hover .mkt-spot-card-accent { opacity: 1; }

/* Icon */
.mkt-spot-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--spot-clr, #FF6B35) 12%, white);
    color: var(--spot-clr, #FF6B35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mkt-spot-icon-all {
    background: var(--mkt-primary-light);
    color: var(--mkt-primary-dark);
}

/* Text */
.mkt-spot-card-body {
    flex: 1;
    min-width: 0;
}

.mkt-spot-card-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mkt-spot-card-biz {
    display: block;
    font-size: 0.72rem;
    color: #aaa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow */
.mkt-spot-card-arrow {
    color: var(--spot-clr, #FF6B35);
    font-size: 1.05rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s, transform 0.18s;
    flex-shrink: 0;
}
.mkt-spot-card:hover .mkt-spot-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* "All" card variant */
.mkt-spot-card-all .mkt-spot-card-name { color: #495057; }

/* Large variant (selected-business view) */
.mkt-spot-card-large {
    padding: 18px 16px;
    min-height: 88px;
    border-radius: 16px;
}
.mkt-spot-card-large .mkt-spot-card-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    border-radius: 12px;
}
.mkt-spot-card-large .mkt-spot-card-name { font-size: 0.93rem; }

/* ══════════════════════════════════════════════════
   SELECTED BUSINESS HERO
══════════════════════════════════════════════════ */
.mkt-sel-biz-hero {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 28px 28px 28px;
}

.mkt-sel-biz-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.mkt-sel-biz-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.mkt-sel-biz-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    flex-wrap: wrap;
}

.mkt-sel-biz-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.mkt-sel-biz-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}

.mkt-sel-biz-info { flex: 1; min-width: 0; }

.mkt-sel-biz-name {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.mkt-sel-biz-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.mkt-sel-biz-addr {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 4px 0 0;
}

.mkt-sel-biz-cta {
    background: rgba(255,255,255,0.95);
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
}
.mkt-sel-biz-cta:hover { background: #fff; transform: translateY(-1px); color: #1a1a2e; text-decoration: none; }

/* Responsive */
@media (max-width: 575.98px) {
    .mkt-spot-header { gap: 10px; }
    .mkt-spot-biz-logo, .mkt-spot-biz-icon { width: 42px; height: 42px; font-size: 1.2rem; }
    .mkt-spot-biz-name { font-size: 1rem; }
    .mkt-spot-filter-link { padding: 6px 12px; font-size: 0.78rem; }
    .mkt-sel-biz-name { font-size: 1.3rem; }
    .mkt-sel-biz-logo, .mkt-sel-biz-icon-wrap { width: 50px; height: 50px; }
}


/* ══════════════════════════════════════════════════════
   BUSINESS TYPE CATEGORY CARDS
══════════════════════════════════════════════════════ */
/* Mobile: single horizontally-scrolling row, 5 cards visible at once */
.mkt-type-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mkt-type-grid::-webkit-scrollbar { display: none; }
.mkt-type-card {
    flex-shrink: 0;
    /* 5 cards visible with gap: (100% - 4*8px) / 5 ≈ 18.4% */
    width: calc((100% - 32px) / 5);
    min-width: 60px;
    scroll-snap-align: start;
}

/* Desktop: revert to a 10-column grid */
@media (min-width: 768px) {
    .mkt-type-grid {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
    .mkt-type-card {
        width: auto;
        min-width: 0;
        scroll-snap-align: none;
    }
}

.mkt-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px 6px;
    border-radius: 8px;
    background: var(--mkt-surface);
    border: 1.5px solid var(--mkt-border);
    color: var(--mkt-text);
    text-align: center;
    cursor: pointer;
    transition: var(--mkt-transition);
    text-decoration: none;
}
.mkt-type-card:hover {
    border-color: var(--tc, var(--mkt-primary));
    color: var(--tc, var(--mkt-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-decoration: none;
}
.mkt-type-card.active {
    background: var(--tc, var(--mkt-primary));
    border-color: var(--tc, var(--mkt-primary));
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
.mkt-type-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: inherit;
    transition: background 0.2s ease;
}
.mkt-type-card:hover .mkt-type-icon { background: rgba(0,0,0,0.07); }
.mkt-type-card.active .mkt-type-icon { background: rgba(255,255,255,0.22); color: #fff; }
.mkt-type-label {
    font-weight: 700;
    font-size: 0.65rem;
    line-height: 1.2;
}
.mkt-type-count {
    font-size: 0.58rem;
    color: var(--mkt-text-muted);
    line-height: 1;
}
.mkt-type-card.active .mkt-type-count { color: rgba(255,255,255,0.78); }


/* ══════════════════════════════════════════════════════
   FEATURED BUSINESSES — HUB HORIZONTAL SCROLL
══════════════════════════════════════════════════════ */
.mkt-biz-hscroll {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: auto !important;
}
.mkt-biz-hub-card {
    flex-shrink: 0;
    width: 240px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}
.mkt-biz-hub-card:hover { text-decoration: none; color: inherit; }


/* ══════════════════════════════════════════════════════
   TRENDING & NEW BUSINESSES — LIST ROWS
══════════════════════════════════════════════════════ */
.mkt-biz-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mkt-biz-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--mkt-radius-sm);
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    transition: var(--mkt-transition);
    text-decoration: none;
    color: var(--mkt-text);
}
.mkt-biz-list-item:hover {
    border-color: var(--mkt-primary);
    transform: translateX(4px);
    box-shadow: var(--mkt-shadow);
    text-decoration: none;
    color: var(--mkt-text);
}
.mkt-biz-list-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--mkt-border);
    flex-shrink: 0;
}
.mkt-biz-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}
.mkt-biz-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mkt-biz-list-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mkt-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mkt-biz-list-meta {
    font-size: 0.78rem;
    color: var(--mkt-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mkt-biz-list-arrow {
    color: var(--mkt-text-muted);
    font-size: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.mkt-biz-list-item:hover .mkt-biz-list-arrow {
    color: var(--mkt-primary);
    transform: translateX(3px);
}
.mkt-biz-list-new-badge {
    background: #22c55e;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════
   HOW IT WORKS SECTION
══════════════════════════════════════════════════════ */
.mkt-hiw-section {
    background: var(--mkt-secondary);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
/* Subtle dot texture behind the HIW section */
.mkt-hiw-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,107,53,0.12) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}
.mkt-hiw-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.mkt-hiw-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.mkt-hiw-steps {
    position: relative;
}
/* Dotted connector line between steps (desktop only) */
.mkt-hiw-steps::before {
    content: '';
    display: none;
    position: absolute;
    top: 40px;
    left: calc(16.67% + 26px);
    right: calc(16.67% + 26px);
    height: 2px;
    background-image: repeating-linear-gradient(
        to right,
        rgba(255,107,53,0.45) 0px,
        rgba(255,107,53,0.45) 8px,
        transparent 8px,
        transparent 18px
    );
    z-index: 0;
}
@media (min-width: 768px) { .mkt-hiw-steps::before { display: block; } }

.mkt-hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}
.mkt-hiw-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,107,53,0.12);
    border: 2px solid rgba(255,107,53,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--mkt-primary);
    position: relative;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease;
}
.mkt-hiw-step:hover .mkt-hiw-icon-wrap {
    background: rgba(255,107,53,0.22);
    border-color: rgba(255,107,53,0.65);
}
.mkt-hiw-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    background: var(--mkt-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mkt-secondary);
}
.mkt-hiw-step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.mkt-hiw-step-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    max-width: 220px;
    line-height: 1.6;
}

@media (max-width: 767.98px) {

    .mkt-hiw-section {
        padding: 56px 0;
    }

    .mkt-hiw-step {
        gap: 12px;
    }

    .mkt-hiw-icon-wrap {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .mkt-hiw-step-title {
        font-size: 1rem;
    }

    .mkt-hiw-step-desc {
        font-size: .82rem;
        max-width: 180px;
    }

    .mkt-hiw-steps > div:last-child {
        margin-top: .75rem;
    }
}

@media (max-width: 767.98px) {

    .mkt-footer .row {
        row-gap: 2rem;
    }

    .mkt-footer-heading {
        margin-bottom: .75rem;
        font-size: .82rem;
    }

    .mkt-footer-links li {
        margin-bottom: .45rem;
        font-size: .9rem;
    }

    .mkt-footer-tagline {
        max-width: 320px;
    }

    .mkt-footer-bottom {
        text-align: center;
        gap: .5rem;
    }
}
/* ══════════════════════════════════════════════════
   BROWSE PRODUCTS — product class filter
══════════════════════════════════════════════════ */

/* Badge colour for the Browse section header */
.mkt-badge-browse {
    background: linear-gradient(135deg, #6366f1, #6f42c1);
}

/* Scrollable pill bar */
.mkt-pclass-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.mkt-pclass-bar::-webkit-scrollbar { display: none; }

/* Individual pill */
.mkt-pclass-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(0,0,0,0.10);
    background: #fff;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
    flex-shrink: 0;
}
.mkt-pclass-pill:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.30);
    color: #4f46e5;
}
.mkt-pclass-pill.active {
    background: var(--pc-clr, #6366f1);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.30);
}
/* "All" pill uses a neutral active colour */
.mkt-pclass-pill[data-pclass="all"].active {
    background: #1a0a30;
    box-shadow: 0 2px 8px rgba(26,10,48,0.25);
}

/* Product count badge on pill */
.mkt-pclass-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    margin-left: 2px;
}
.mkt-pclass-pill:not(.active) .mkt-pclass-count {
    background: rgba(0,0,0,0.08);
}

/* Grid fade during filter switch */
#mktBrowseGrid.pf-switching {
    opacity: 0;
    transition: opacity 0.15s ease;
}
#mktBrowseGrid {
    transition: opacity 0.15s ease;
}

/* Hidden items */
.mkt-browse-item.pf-hidden { display: none; }

/* Empty state */
.mkt-browse-empty {
    text-align: center;
    padding: 48px 16px;
    color: #9ca3af;
}
.mkt-browse-empty-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}
.mkt-browse-empty-text {
    font-size: 0.95rem;
    margin: 0;
}


/* ══════════════════════════════════════════════════════
   PREMIUM LAYER — elevated visual polish
   Layered shadows · richer gradients · micro-animations
══════════════════════════════════════════════════════ */

/* ── Tokens: deeper shadows, tighter radii ────────── */
:root {
    --mkt-shadow:        0 2px 8px rgba(0,0,0,0.06), 0 6px 24px rgba(255,107,53,0.08);
    --mkt-shadow-hover:  0 4px 16px rgba(0,0,0,0.10), 0 16px 48px rgba(255,107,53,0.16);
    --mkt-shadow-card:   0 2px 8px rgba(0,0,0,0.06), 0 6px 24px rgba(255,107,53,0.07);
    --mkt-radius:        18px;
    --mkt-radius-sm:     12px;
}

/* ── button.mkt-type-card — reset browser defaults ── */
button.mkt-type-card {
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* ── Primary button — deep gradient + inner highlight ── */
.mkt-btn-primary {
    background: linear-gradient(145deg, #FF7448 0%, #FF5133 45%, #FF3F57 100%);
    box-shadow:
        0 5px 16px rgba(255,90,53,0.40),
        0 1px 4px rgba(0,0,0,0.10),
        inset 0 1px 0 rgba(255,255,255,0.18);
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}
.mkt-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}
.mkt-btn-primary:hover {
    background: linear-gradient(145deg, #FF8558 0%, #FF6243 45%, #FF5065 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 10px 26px rgba(255,90,53,0.50),
        0 2px 8px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.22);
}
.mkt-btn-primary:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 3px 10px rgba(255,90,53,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ── Hero search button ──────────────────────────── */
.mkt-hero-search-btn {
    background: linear-gradient(145deg, #FF7448 0%, #FF5133 45%, #FF3F57 100%);
    box-shadow:
        0 4px 14px rgba(255,90,53,0.38),
        inset 0 1px 0 rgba(255,255,255,0.18);
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.mkt-hero-search-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}
.mkt-hero-search-btn:hover {
    background: linear-gradient(145deg, #FF8558 0%, #FF6243 45%, #FF5065 100%);
    transform: scale(1.04);
    box-shadow: 0 8px 22px rgba(255,90,53,0.50), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── Quick-add / accompaniment button ──────────────── */
.mkt-quick-add,
.mkt-acc-open-btn {
    background: linear-gradient(145deg, #FF7448, #FF4757);
    box-shadow: 0 3px 10px rgba(255,90,53,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}
.mkt-quick-add::after,
.mkt-acc-open-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}
.mkt-product-quick-btn:hover {
    filter: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(255,90,53,0.40);
}
.mkt-product-quick-btn:active { transform: translateY(0) scale(0.99); }

/* ── Book button ──────────────────────────────────── */
.mkt-quick-book {
    background: linear-gradient(145deg, #3b82f6, #6c4ef2);
    box-shadow: 0 3px 10px rgba(100,75,240,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ── Outline button ──────────────────────────────── */
.mkt-btn-outline {
    box-shadow: 0 2px 8px rgba(255,107,53,0.12);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.mkt-btn-outline:hover {
    box-shadow: 0 4px 14px rgba(255,107,53,0.32);
    transform: translateY(-1px);
}

/* ── Product "Featured" badge — glassy pill ──────── */
.mkt-product-badge {
    background: linear-gradient(135deg, rgba(255,90,53,0.92), rgba(255,50,75,0.92));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(255,60,50,0.45), inset 0 1px 0 rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}

/* ── Business "Featured" star — gold glow ────────── */
.mkt-biz-featured-badge {
    color: #FFD60A;
    font-size: 1.05rem;
    filter: drop-shadow(0 0 6px rgba(255,214,10,0.70)) drop-shadow(0 1px 3px rgba(0,0,0,0.32));
}

/* ── Business type pill — frosted glass ─────────── */
.mkt-biz-type-badge {
    background: rgba(8,8,20,0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

/* ── Section title badges ─────────────────────────── */
.mkt-title-badge {
    box-shadow: 0 3px 12px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.18);
    border-radius: 10px;
}
.mkt-badge-featured  {
    background: linear-gradient(145deg, #f7971e, #ffd200);
    box-shadow: 0 3px 12px rgba(247,151,30,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}
.mkt-badge-trending  {
    background: linear-gradient(145deg, #FF4757, #ff6b6b);
    box-shadow: 0 3px 12px rgba(255,71,87,0.40), inset 0 1px 0 rgba(255,255,255,0.18);
}
.mkt-badge-new       {
    background: linear-gradient(145deg, #2ed573, #1abc9c);
    box-shadow: 0 3px 12px rgba(46,213,115,0.38), inset 0 1px 0 rgba(255,255,255,0.18);
}
.mkt-badge-spotlight {
    background: linear-gradient(145deg, #FF7448, #FF4757);
    box-shadow: 0 3px 12px rgba(255,107,53,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ── Nav cart badge — gradient + glow ──────────── */
.mkt-nav-cart-badge {
    background: linear-gradient(145deg, #FF6B35, #FF4757);
    box-shadow: 0 2px 8px rgba(255,60,50,0.52);
    border: 2.5px solid #fff;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
}

/* ── Bottom nav cart badge ───────────────────────── */
.mkt-bottom-cart-badge {
    background: linear-gradient(145deg, #FF5A35, #FF3B4D);
    box-shadow: 0 2px 8px rgba(255,60,50,0.45), 0 0 0 2px #fff;
}

/* ── bbs live badge ──────────────────────────────── */
.bbs-badge-live {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: 0 2px 14px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.10);
}

/* ── Product card — richer hover ─────────────────── */
.mkt-product-card:hover {
    box-shadow:
        0 10px 28px rgba(255,107,53,0.16),
        0 3px 10px rgba(0,0,0,0.07),
        0 0 0 1.5px rgba(255,107,53,0.30);
    border-color: transparent;
}

/* ── Business card — deeper hover ────────────────── */
.mkt-biz-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 6px 24px rgba(0,0,0,0.04);
}
.mkt-biz-card:hover {
    box-shadow:
        0 14px 38px rgba(255,107,53,0.18),
        0 4px 14px rgba(0,0,0,0.08);
    border-color: rgba(255,107,53,0.30);
}

/* ── Business logo premium ───────────────────────── */
.mkt-biz-logo {
    box-shadow: 0 2px 12px rgba(0,0,0,0.15), 0 0 0 2px rgba(255,255,255,0.9);
}
.mkt-biz-logo-fallback {
    box-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 0 0 2px rgba(255,255,255,0.9), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── Section link — pill treatment ──────────────── */
.mkt-section-link {
    background: rgba(255,107,53,0.06);
    border: 1.5px solid rgba(255,107,53,0.18);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 0.82rem;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
}
.mkt-section-link:hover {
    background: rgba(255,107,53,0.12);
    border-color: rgba(255,107,53,0.38);
    color: var(--mkt-primary-dark);
    transform: translateX(2px);
}

/* ── HIW section — icon glow ─────────────────────── */
.mkt-hiw-icon-wrap {
    box-shadow:
        0 4px 20px rgba(255,107,53,0.22),
        0 0 0 5px rgba(255,107,53,0.08);
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.mkt-hiw-step:hover .mkt-hiw-icon-wrap {
    background: rgba(255,107,53,0.20);
    border-color: rgba(255,107,53,0.60);
    box-shadow:
        0 8px 30px rgba(255,107,53,0.36),
        0 0 0 7px rgba(255,107,53,0.12);
}
.mkt-hiw-num {
    background: linear-gradient(145deg, #FF7448, #FF4757);
    box-shadow: 0 2px 8px rgba(255,60,50,0.52), 0 0 0 2px var(--mkt-secondary);
}

/* ── Spot filter link ─────────────────────────────── */
.mkt-spot-filter-link {
    box-shadow: 0 2px 8px rgba(255,107,53,0.14);
    background: rgba(255,107,53,0.04);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.mkt-spot-filter-link:hover {
    background: #FF6B35;
    color: #fff;
    box-shadow: 0 5px 16px rgba(255,107,53,0.42);
    transform: translateY(-1px);
}

/* ── Selected business CTA ──────────────────────── */
.mkt-sel-biz-cta {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.mkt-sel-biz-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,1);
}

/* ── Accompaniment modal "Add to Cart" btn ───────── */
#mkt-acc-confirm.btn-primary {
    background: linear-gradient(145deg, #FF7448, #FF4757);
    border: none;
    box-shadow: 0 4px 14px rgba(255,90,53,0.38), inset 0 1px 0 rgba(255,255,255,0.18);
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.18s ease;
}
#mkt-acc-confirm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255,90,53,0.50), inset 0 1px 0 rgba(255,255,255,0.22);
    background: linear-gradient(145deg, #FF8558, #FF5065);
    border: none;
}

/* ── Type-card active state polish ──────────────── */
.mkt-type-card.active {
    box-shadow: 0 5px 16px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ── Nav glass refinement ─────────────────────────── */
.mkt-nav {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 16px rgba(255,107,53,0.07);
}

/* ── Cart action strip - suppress lift on action hover ── */
.mkt-product-card:has(.mkt-product-actions:hover) {
    transform: none !important;
    box-shadow: var(--mkt-shadow-card) !important;
}

/* ── Premium "New" badge on biz list ─────────────── */
.mkt-biz-list-new-badge {
    background: linear-gradient(145deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34,197,94,0.35), inset 0 1px 0 rgba(255,255,255,0.20);
}

/* ── Billboard dot nav ───────────────────────────── */
.bbs-dot.active {
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.50);
}

/* ── Footer brand icon ───────────────────────────── */
.mkt-brand-icon {
    box-shadow: 0 2px 10px rgba(255,107,53,0.38), inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── Accompaniment modal cards (shared with theme.css / business menu) ─── */
.acc-item-label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: border-color .15s, background .15s;
    user-select: none;
    position: relative;
}
.acc-item-label:hover { border-color: #c0c0c0; background: #fafafa; }
.acc-item-label.acc-checked {
    border-color: var(--mkt-primary, #FF6B35);
    background: rgba(255,107,53,0.05);
}
.acc-item-label.acc-disabled { opacity: .42; cursor: not-allowed; pointer-events: none; }
.acc-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}
.acc-img-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1rem;
    flex-shrink: 0;
}
.acc-name {
    flex: 1;
    font-size: .84rem;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1.3;
}
.acc-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, border-color .15s;
    font-size: .7rem;
    color: transparent;
}
.acc-checked .acc-check-icon {
    background: var(--mkt-primary, #FF6B35);
    border-color: var(--mkt-primary, #FF6B35);
    color: #fff;
}




button.mkt-spot-card {
    width: 100%;
    text-align: left;
    background: #fff;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

button.mkt-spot-card.active {
    border-color: var(--spot-clr, #FF6B35);
    background: color-mix(in srgb, var(--spot-clr, #FF6B35) 8%, white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

button.mkt-spot-card.active .mkt-spot-card-accent {
    opacity: 1;
}

button.mkt-spot-card.active .mkt-spot-card-name {
    color: var(--spot-clr, #FF6B35);
}


