/* ==========================================================================
   GENGE MALL — MODERN E-COMMERCE & MARKETPLACE STYLESHEET
   ========================================================================== */

:root {
    --bg-dark: #0b1329;
    --bg-card: rgba(15, 23, 42, 0.85);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #F59E0B;
    --secondary-dark: #d97706;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.95) 0px, transparent 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-bottom: 85px; /* space for bottom nav */
    overflow-x: hidden;
}

/* Glass panel utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 18px;
}

/* ── Top Bar Announcement ─────────────────────── */
.mall-top-announcement {
    background: linear-gradient(90deg, #065f46 0%, #0f766e 50%, #1e3a8a 100%);
    color: #ffffff;
    padding: 7px 5%;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-wa-link {
    color: #a7f3d0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    transition: var(--transition);
}

.top-wa-link:hover {
    color: #ffffff;
}

/* ── Header ─────────────────────────────────────── */
.mall-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(11, 19, 41, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 5%;
}

.mall-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mall-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mall-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.mall-title-wrap {
    display: flex;
    flex-direction: column;
}

.mall-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.mall-highlight {
    color: var(--primary);
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mall-tagline {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Switcher to Food Store */
.mall-switch-to-food {
    flex: 1;
    display: flex;
    justify-content: center;
}

.switch-btn-food {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 5px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.switch-btn-food:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.food-icon {
    font-size: 1.25rem;
}

.food-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.food-label-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.food-label-main {
    font-size: 0.82rem;
    font-weight: 800;
    color: #34d399;
}

/* Header Actions */
.mall-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mall-terms-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.mall-terms-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
}

.mall-cart-icon {
    position: relative;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: var(--transition);
}

.mall-cart-icon:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.mall-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

/* Search Bar Row */
.mall-search-bar-row {
    margin-top: 0.6rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.mall-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0 1rem;
    transition: var(--transition);
}

.mall-search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.mall-search-icon {
    font-size: 1.3rem;
    color: var(--primary);
    margin-right: 8px;
    flex-shrink: 0;
}

.mall-search-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    padding: 10px 0;
}

.mall-search-wrapper input::placeholder {
    color: var(--text-muted);
}

.mall-search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
}

/* ── Hero Section ────────────────────────────────── */
.mall-hero {
    padding: 1.5rem 5% 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mall-hero-card {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 24px;
    padding: 2.2rem 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mall-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.mall-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.mall-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.mall-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 750px;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.mall-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #e2e8f0;
}

.feature-chip ion-icon {
    color: var(--primary-light);
    font-size: 1rem;
}

.mall-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mall-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 800;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
}

.mall-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
}

.mall-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.mall-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

/* ── Department Pills Slider ─────────────────────── */
.mall-departments-sec {
    padding: 1.5rem 5% 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mall-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.mall-sec-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.mall-sec-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mall-see-all-btn {
    background: none;
    border: none;
    color: var(--primary-light);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mall-see-all-btn:hover {
    color: #ffffff;
    text-decoration: underline;
}

.mall-dept-pills-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}

.mall-dept-pills-wrap::-webkit-scrollbar {
    height: 4px;
}

.mall-dept-pills-wrap::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.4);
    border-radius: 4px;
}

.dept-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 30px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.dept-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.dept-pill.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.35) 0%, rgba(5, 150, 105, 0.45) 100%);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.dept-pill-icon {
    font-size: 1.15rem;
}

/* ── Results Bar & Subfilters ────────────────────── */
.mall-products-section {
    padding: 1rem 5% 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.mall-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
}

.results-count-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.mall-quick-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.subfilter-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.subfilter-chip.active,
.subfilter-chip:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ── Products Grid ────────────────────────────────── */
.mall-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.mall-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.mall-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

.mall-card-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    background: #020617;
    overflow: hidden;
}

.mall-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.mall-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}

.badge-rent {
    border-color: #3b82f6;
    color: #93c5fd;
    background: rgba(30, 58, 138, 0.85);
}

.badge-sale {
    border-color: #f59e0b;
    color: #fde68a;
    background: rgba(180, 83, 9, 0.85);
}

.badge-hot {
    border-color: #ef4444;
    color: #fecaca;
    background: rgba(153, 27, 27, 0.85);
}

.badge-verified {
    border-color: #10b981;
    color: #a7f3d0;
    background: rgba(6, 95, 70, 0.85);
}

.mall-dept-badge {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Card Body */
.mall-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mall-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.mall-card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.6rem;
}

.mall-card-meta ion-icon {
    color: var(--primary);
    font-size: 0.95rem;
}

.mall-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex: 1;
}

/* Specs pills */
.mall-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1rem;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
}

.mall-card-pricing {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.mall-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mall-price-amount {
    font-size: 1.35rem;
    font-weight: 900;
    color: #34d399;
    letter-spacing: 0.5px;
}

.mall-price-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Action Buttons */
.mall-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mall-card-actions.single-action {
    grid-template-columns: 1fr;
}

.btn-card-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 10px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-card-wa:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.btn-card-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 10px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-card-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    color: #93c5fd;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 10px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-card-call:hover {
    background: rgba(59, 130, 246, 0.35);
    color: #ffffff;
}

.btn-card-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-card-share:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
}

@keyframes cardGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); border-color: #10b981; }
    50% { box-shadow: 0 0 30px 10px rgba(16, 185, 129, 0.5); border-color: #34d399; }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.card-highlight-glow {
    animation: cardGlowPulse 1.8s ease-in-out 3;
    border: 2px solid #10b981 !important;
}

/* ── Instagram-Style Product Card ─────────────────────────── */
.inst-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.inst-vendor-info {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    min-width: 0;
}

.inst-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.inst-vendor-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inst-verified-icon {
    color: #10B981;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.inst-follow-btn {
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.4);
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.inst-follow-btn:hover,
.inst-follow-btn.following {
    background: #10B981;
    color: #fff;
}

.inst-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
    gap: 8px;
}

.inst-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    transition: all 0.2s;
}

.inst-like-btn:hover,
.inst-like-btn.liked {
    color: #ef4444;
}

.inst-like-btn.liked ion-icon { color: #ef4444; }
.inst-like-btn ion-icon { font-size: 1.2rem; }

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.location-tag ion-icon {
    color: #10B981;
    font-size: 0.85rem;
}

.specs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0.5rem 0 0.8rem;
}

.mall-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 900;
    color: #34d399;
    letter-spacing: 0.3px;
}

.price-unit {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.mall-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    background: rgba(15,23,42,0.85);
}

/* ── Inspection Banner ──────────────────────────── */
.mall-inquiry-banner {
    padding: 1rem 5% 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.inquiry-banner-card {
    padding: 2.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.inquiry-badge {
    display: inline-block;
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
}

.inquiry-text-col h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.inquiry-text-col p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 750px;
    margin-bottom: 1.2rem;
}

.inquiry-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.inquiry-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #10B981;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 11px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.inquiry-wa-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.inquiry-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.inquiry-call-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.inquiry-big-emoji {
    font-size: 4.5rem;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

/* ── Mall Cart Drawer ───────────────────────────── */
.mall-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    justify-content: flex-end;
}

.mall-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mall-cart-drawer {
    width: 420px;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mall-cart-overlay.open .mall-cart-drawer {
    transform: translateX(0);
}

.mall-cart-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mall-cart-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.mall-cart-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mall-cart-close:hover {
    color: #ef4444;
}

.mall-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mall-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 12px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}

.cart-item-price {
    font-size: 0.88rem;
    color: #34d399;
    font-weight: 800;
}

.cart-item-del {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
}

.mall-cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.mall-cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(11, 19, 41, 0.95);
}

.mall-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mall-cart-total-row strong {
    font-size: 1.4rem;
    color: #34d399;
    font-weight: 900;
}

.mall-checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
}

.mall-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* ── Terms Modal ────────────────────────────────── */
.mall-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1300;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.mall-modal-card {
    width: 95%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mall-modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mall-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.mall-terms-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.terms-block {
    background: rgba(255, 255, 255, 0.04);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    border-radius: 10px;
}

.terms-block h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 6px;
}

.terms-block p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.mall-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
}

.terms-agree-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
}

/* ── Mobile Bottom Navigation ────────────────────── */
.mall-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(11, 19, 41, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

.mall-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    padding: 4px 0;
    transition: var(--transition);
}

.mall-bnav-item ion-icon {
    font-size: 1.45rem;
    margin-bottom: 2px;
    transition: var(--transition);
}

.mall-bnav-item.active,
.mall-bnav-item:hover {
    color: #10B981;
}

.mall-bnav-item.active ion-icon {
    transform: translateY(-2px) scale(1.15);
    color: #10B981;
}

.mall-bnav-badge-wrap {
    position: relative;
    display: inline-block;
}

.mall-bnav-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--secondary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bnav-food-link {
    color: #34d399 !important;
    font-weight: 700;
}

/* ── Floating WhatsApp ──────────────────────────── */
.mall-float-whatsapp {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: #ffffff;
    font-size: 2rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 800;
    text-decoration: none;
    transition: var(--transition);
}

.mall-float-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    display: none;
}

/* ── Footer ──────────────────────────────────────── */
.mall-footer {
    background: rgba(8, 14, 30, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5% 1.5rem;
}

.mall-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-food-switch-btn {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-food-switch-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.mall-footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Responsive Queries ──────────────────────────── */
@media (max-width: 992px) {
    .mall-hero-content h1 {
        font-size: 2rem;
    }
    .inquiry-banner-card {
        flex-direction: column;
        text-align: center;
    }
    .inquiry-btns {
        justify-content: center;
    }
    .inquiry-icon-col {
        display: none;
    }
}

@media (max-width: 768px) {
    .mall-top-announcement {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 0.75rem;
    }

    .mall-bottom-nav {
        display: flex !important;
    }

    .mall-header {
        padding: 0.6rem 4%;
    }

    .mall-header-container {
        flex-wrap: wrap;
    }

    .mall-switch-to-food {
        order: 3;
        width: 100%;
        margin-top: 4px;
    }

    .switch-btn-food {
        width: 100%;
        justify-content: center;
        padding: 6px 12px;
    }

    .mall-hero {
        padding: 1rem 4% 0.5rem;
    }

    .mall-hero-card {
        padding: 1.5rem 1.2rem;
    }

    .mall-hero-content h1 {
        font-size: 1.6rem;
    }

    .mall-hero-content p {
        font-size: 0.92rem;
    }

    .mall-hero-cta-row {
        flex-direction: column;
    }

    .mall-primary-cta,
    .mall-secondary-cta {
        width: 100%;
        justify-content: center;
    }

    .mall-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .mall-card-img-wrap {
        height: 180px;
    }

    .mall-float-whatsapp {
        bottom: 75px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .mall-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SOCIAL MARKETPLACE & AUTH STYLES
   ========================================================================== */

/* Live Member Counter Badge */
.top-announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.live-member-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.mall-auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.mall-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Instagram Style Card Extensions */
.inst-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.4);
}

.inst-vendor-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.inst-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.inst-vendor-name {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
}

.inst-verified-icon {
    color: var(--primary);
    font-size: 1rem;
}

.inst-follow-btn {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.inst-follow-btn.following {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-color: var(--glass-border);
}

.inst-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--glass-border);
}

.inst-like-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.inst-like-btn.liked {
    color: #ef4444;
}

.inst-like-btn.liked ion-icon {
    animation: heartPop 0.3s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Modals */
.auth-modal-overlay, .vendor-profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    padding: 1.5rem;
}

.auth-modal-overlay.open, .vendor-profile-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.hidden {
    display: none !important;
}

.auth-modal-card {
    background: #0F172A;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.auth-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 1.8rem;
}

.auth-tab-btn {
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
}

.auth-tab-btn.active {
    background: var(--primary);
    color: #fff;
}

.auth-field {
    text-align: left;
    margin-bottom: 1.2rem;
}

.auth-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.auth-field input, .auth-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.auth-field input:focus, .auth-field select:focus {
    border-color: var(--primary);
}

.auth-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.role-selector-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.role-option {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
}

.role-option.active {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.15);
}

.role-icon { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.role-title { font-size: 0.82rem; font-weight: 700; color: #fff; }

.auth-status-msg { margin-top: 1rem; font-size: 0.88rem; text-align: center; }

/* ─── Vendor Public Profile Modal — Fully Responsive ─────────────────────── */
.vendor-profile-modal-overlay {
    align-items: flex-end !important;   /* slide up from bottom on mobile */
    padding: 0 !important;
}
@media (min-width: 700px) {
    .vendor-profile-modal-overlay {
        align-items: center !important;
        padding: 1.5rem !important;
    }
}

.vendor-profile-card {
    background: linear-gradient(160deg, #0d1626 0%, #0F172A 100%);
    border: 1px solid var(--glass-border);
    border-radius: 28px 28px 0 0;     /* rounded top on mobile  */
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 96svh;                     /* use almost full screen on mobile   */
    max-height: 96svh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
}
@media (min-width: 700px) {
    .vendor-profile-card {
        border-radius: 24px;
        max-width: 900px;
        height: auto;
        max-height: 90svh;
        box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    }
}
@media (min-width: 1200px) {
    .vendor-profile-card {
        max-width: 1100px;
    }
}

/* drag handle pill on mobile */
.vendor-profile-card::before {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,0.18);
    margin: 10px auto 0;
    flex-shrink: 0;
}
@media (min-width: 700px) {
    .vendor-profile-card::before { display: none; }
}

/* ── scrollable inner wrapper ──────────────────────────────────────────────── */
.vp-card-inner {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.2rem 1rem 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(16,185,129,0.35) transparent;
}
@media (min-width: 700px) {
    .vp-card-inner { padding: 2rem 2.2rem 2.5rem; }
}

/* ── sticky top bar (close btn) ───────────────────────────────────────────── */
.vp-top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.5rem 1rem 0;
    flex-shrink: 0;
}
@media (min-width: 700px) {
    .vp-top-bar { padding: 1rem 1.5rem 0; }
}

.auth-modal-close {
    position: static;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.auth-modal-close:hover { background: rgba(239,68,68,0.2); color: #f87171; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.vprofile-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
@media (min-width: 600px) {
    .vprofile-header { flex-wrap: nowrap; align-items: center; gap: 1.5rem; }
}

.vprofile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
    flex-shrink: 0;
}
@media (min-width: 600px) {
    .vprofile-avatar { width: 96px; height: 96px; }
}

.vprofile-details { flex: 1; min-width: 0; }

.vprofile-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.vprofile-title-row h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
@media (min-width: 600px) {
    .vprofile-title-row h2 { font-size: 1.45rem; max-width: 340px; }
}

.vprofile-verified-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.vprofile-owner { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 3px; }
.vprofile-bio {
    font-size: 0.87rem;
    margin: 0.3rem 0 0.7rem;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vprofile-stats-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.9rem;
}

.vp-stat-item strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.vp-stat-item span { font-size: 0.78rem; color: var(--text-muted); }

.vprofile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vp-follow-btn, .vp-wa-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.vp-follow-btn {
    background: var(--primary);
    color: #fff;
    border: none;
}

.vp-wa-btn {
    background: #25D366;
    color: #fff;
}

/* ── Products Section ──────────────────────────────────────────────────────── */
.vprofile-products-sec h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.vprofile-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 cols on mobile */
    gap: 0.75rem;
    margin-top: 0.5rem;
}
@media (min-width: 480px) {
    .vprofile-products-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
@media (min-width: 700px) {
    .vprofile-products-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
@media (min-width: 1000px) {
    .vprofile-products-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

/* individual product card inside modal */
.vpm-prod-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, border-color 0.18s;
}
.vpm-prod-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16,185,129,0.4);
}
.vpm-prod-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #1e293b;
}
.vpm-prod-body {
    padding: 0.55rem 0.6rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.vpm-prod-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.vpm-prod-price {
    color: var(--primary);
    font-weight: 900;
    font-size: 0.88rem;
}
.vpm-prod-actions {
    display: flex;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
}
.vpm-btn-cart {
    flex: 1;
    padding: 0.32rem 0.4rem;
    font-size: 0.73rem;
    border-radius: 8px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.35);
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: background 0.15s;
}
.vpm-btn-cart:hover { background: rgba(16,185,129,0.3); }
.vpm-btn-wa {
    padding: 0.32rem 0.5rem;
    border-radius: 8px;
    background: rgba(37,211,102,0.15);
    border: 1px solid rgba(37,211,102,0.35);
    color: #25D366;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background 0.15s;
}
.vpm-btn-wa:hover { background: rgba(37,211,102,0.3); }

/* ── Terms Modal Styles ────────────────────────── */
.mall-terms-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 1rem;
}

.mall-terms-modal-content {
    background: #0f172a;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.terms-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-header-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.terms-title-wrap h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.terms-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.terms-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.terms-rule-card {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.rule-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.rule-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.rule-text p {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.terms-agree-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.terms-agree-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   VIP SPONSORED SHOWCASE CAROUSEL (GOLD VENDORS AUTO-SLIDER)
   ========================================================================== */
.mall-sponsored-section {
    padding: 1.5rem 5% 2rem 5%;
    max-width: 1350px;
    margin: 0 auto;
}

.sponsored-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    gap: 15px;
    flex-wrap: wrap;
}

.sponsored-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sponsored-fire-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
    animation: flamePulse 2s infinite ease-in-out;
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

.sponsored-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #ffffff 0%, #fbbf24 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sponsored-sub {
    font-size: 0.84rem;
    color: #94a3b8;
    margin: 2px 0 0 0;
}

.slider-nav-controls {
    display: flex;
    gap: 8px;
}

.slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.4);
    background: rgba(15, 23, 42, 0.85);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.slider-arrow:hover {
    background: #f59e0b;
    color: #0b1329;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.sponsored-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 6px 2px;
}

.sponsored-slides-track {
    display: flex;
    gap: 1.2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Individual Sponsored Slide Card */
.sponsored-slide-card {
    flex: 0 0 calc(100% - 0px);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.12);
    position: relative;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .sponsored-slide-card {
        grid-template-columns: 340px 1fr;
    }
}

@media (min-width: 1024px) {
    .sponsored-slide-card {
        flex: 0 0 calc(50% - 0.6rem);
        grid-template-columns: 240px 1fr;
    }
}

.sponsored-slide-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.25);
}

.slide-img-box {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #020617;
}

@media (min-width: 768px) {
    .slide-img-box {
        height: 100%;
        min-height: 260px;
    }
}

.slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sponsored-slide-card:hover .slide-img-box img {
    transform: scale(1.06);
}

.slide-gold-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b1329;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slide-info-box {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.slide-vendor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.slide-vendor-shop {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-verified-badge {
    background: rgba(16, 185, 129, 0.18);
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.slide-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 4px 0;
}

.slide-location {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.slide-specs-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin: 4px 0;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.slide-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.slide-current-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: #10b981;
}

.slide-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.slide-btn-whatsapp {
    flex: 2;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.slide-btn-whatsapp:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.slide-btn-call {
    flex: 1;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.slide-btn-call:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fbbf24;
}

/* Dots Indicator */
.sponsored-dots-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.2rem;
}

.sponsored-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sponsored-dot.active {
    width: 26px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   VENDOR REGISTRATION STK PUSH MODAL STYLES
   ========================================================================== */
.vendor-stk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeInModal 0.25s ease forwards;
}

.vendor-stk-modal-card {
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 2rem 1.8rem;
    position: relative;
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.2);
    border-radius: 20px;
}

.stk-modal-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.stk-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.vstk-summary-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.vstk-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    padding: 4px 0;
    color: #cbd5e1;
}

.vstk-summary-row.total {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin-top: 6px;
    padding-top: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.vstk-networks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.vstk-net-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.vstk-net-card input {
    display: none;
}

.vstk-net-card.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.vnet-logo {
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    color: #ffffff;
}

.vnet-logo.mpesa { background: #e11d48; }
.vnet-logo.tigo { background: #0284c7; }
.vnet-logo.airtel { background: #dc2626; }
.vnet-logo.halo { background: #ea580c; }

.vnet-name {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 600;
}

.vstk-submit-btn {
    width: 100%;
    margin-top: 1.2rem;
    padding: 0.9rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transition: var(--transition);
}

.vstk-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Waiting State */
.vstk-waiting-box {
    margin-top: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.vstk-pulse-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #10b981;
    margin: 0 auto 12px auto;
    animation: vstkPulse 1.8s infinite;
}

@keyframes vstkPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.vstk-waiting-box h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.vstk-waiting-box p {
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.vstk-timer {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.vstk-manual-confirm-btn {
    width: 100%;
    padding: 0.75rem;
    background: #10b981;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.88rem;
}
