/* ============================================================
   MARKET HAVEN - PROFESSIONAL ENTERPRISE MARKETPLACE STYLING
   Solid Blue & Gold Theme | Pure Plus Jakarta Sans Typography
   Zero Gradients Throughout
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme Colors: Pure Solid Blue & Gold */
    --primary-blue: #0f2744;
    --navy-header: #0f2744;
    --navy-subnav: #16365f;
    --navy-dark: #0a1b30;
    --blue-accent: #1d4ed8;
    --blue-hover: #1e40af;
    --blue-soft: #eff6ff;

    --gold-primary: #f59e0b;
    --gold-hover: #d97706;
    --gold-dark: #b45309;
    --gold-light: #fef3c7;
    --gold-border: #fde68a;

    --primary-accent: #f59e0b;
    --primary-accent-hover: #d97706;
    --teal-badge: #b45309;
    --teal-light: #fef3c7;
    --success: #16a34a;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-light: #edf2f7;

    /* Shadows (Clean & Subtle) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.12);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.15s ease;
}

img {
    max-width: 100%;
    display: block;
}

input, button, select, textarea {
    font-family: var(--font-sans);
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   TOP UTILITY BAR (Solid Dark Blue)
   ============================================================ */
.top-utility-bar {
    background: var(--navy-dark);
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.utility-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.deliver-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
}
.deliver-badge strong {
    color: #ffffff;
}
.utility-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.utility-right a:hover {
    color: var(--gold-primary);
}

/* ============================================================
   MAIN HEADER (Solid Navy Blue)
   ============================================================ */
.main-nav-header {
    background: var(--navy-header);
    color: #ffffff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: var(--shadow-md);
}
.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    flex-shrink: 0;
}
.brand-icon-box {
    width: 34px;
    height: 34px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 820px;
    display: flex;
    height: 42px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.search-category-select {
    background: #f1f5f9;
    border: none;
    border-right: 1px solid var(--border-subtle);
    padding: 0 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    outline: none;
    max-width: 165px;
    font-family: var(--font-sans);
    text-overflow: ellipsis;
}
.search-text-input {
    flex: 1;
    border: none;
    padding: 0 14px;
    font-size: 0.9375rem;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
}
.search-text-input::placeholder {
    color: #94a3b8;
}
.search-submit-btn {
    background: var(--gold-primary);
    border: none;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
}
.search-submit-btn:hover {
    background: var(--gold-hover);
}

/* User & Cart Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.account-widget {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}
.account-widget:hover {
    background: rgba(255, 255, 255, 0.08);
}
.account-widget .sub-text {
    font-size: 0.75rem;
    color: #94a3b8;
}
.account-widget .main-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.cart-widget {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    position: relative;
}
.cart-widget:hover {
    background: rgba(255, 255, 255, 0.08);
}
.cart-icon-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    line-height: 1;
    color: #ffffff;
}
.cart-icon-shell i {
    display: block;
    line-height: 1;
}
.cart-count-bubble {
    position: absolute;
    top: -7px;
    right: -7px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-size: 0.6875rem;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.cart-text-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin: 0;
}

/* ============================================================
   SECONDARY SUB-NAV (Solid Royal Blue)
   ============================================================ */
.secondary-sub-nav {
    background: var(--navy-subnav);
    color: #ffffff;
    height: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 200;
    overflow: visible;
}
.sub-nav-row {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
    overflow: visible;
}
.sub-nav-left {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.sub-nav-left::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
    width: 0;
    height: 0;
}
.all-cat-trigger {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.875rem;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    box-shadow: none;
}
.all-cat-trigger:hover {
    background: var(--gold-hover);
    box-shadow: none;
}
.sub-nav-link {
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sub-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.sub-nav-right {
    font-size: 0.8125rem;
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================================
   HERO / BANNER (Pure Solid Blue & Gold, Zero Gradients)
   ============================================================ */
.marketplace-hero {
    background: transparent;
    padding: 18px 0 22px;
}

/* Shared Curved Navy Marketplace Hero Banner */
.shop-hero-card {
    background: radial-gradient(circle at 70% 50%, #153966 0%, #0c2444 60%, #07172c 100%);
    border-radius: 20px;
    padding: 36px 44px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 0.95fr;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 36, 68, 0.12);
}

.shop-hero-left {
    z-index: 2;
}

.shop-hero-tag {
    display: inline-block;
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.shop-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.shop-hero-subtitle {
    color: #cbd5e1;
    font-size: 0.925rem;
    line-height: 1.55;
    max-width: 440px;
    margin: 0;
}

.shop-hero-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    height: 100%;
    min-height: 200px;
    z-index: 2;
}

.shop-hero-backdrop-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    background: #eab308;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.95;
    z-index: 1;
}

.shop-hero-person-img {
    position: relative;
    z-index: 2;
    height: 230px;
    width: 230px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.shop-hero-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 2;
    padding-left: 20px;
}

.shop-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.shop-hero-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.shop-hero-feature-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.shop-hero-feature-text span {
    font-size: 0.78rem;
    color: #94a3b8;
}

@media (max-width: 1200px) {
    .shop-hero-card {
        grid-template-columns: 1.2fr 0.9fr 1fr;
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .shop-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .shop-hero-subtitle {
        margin: 0 auto;
    }

    .shop-hero-right {
        padding-left: 0;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .shop-hero-card {
        padding: 24px 20px;
    }

    .shop-hero-title {
        font-size: 1.75rem;
    }

    .shop-hero-person-img {
        width: 180px;
        height: 180px;
    }

    .shop-hero-backdrop-circle {
        width: 170px;
        height: 170px;
    }
}
.hero-card-banner {
    background: var(--navy-subnav);
    border: 1px solid #234e85;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    padding: 38px 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-text-content h1 {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.hero-text-content p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 22px;
}
.hero-action-btn {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
}
.hero-action-btn:hover {
    background: var(--gold-hover);
    box-shadow: none;
}
.hero-secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}
.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}
.hero-metrics-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #cbd5e1;
}
.hero-metric-item strong {
    color: #ffffff;
    font-weight: 700;
}

.hero-visual-center {
    display: flex;
    justify-content: center;
}
.hero-portrait-frame {
    width: 100%;
    max-width: 440px;
    height: 270px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.15);
}
.hero-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-highlights-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--navy-dark);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.highlight-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.highlight-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.highlight-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: #ffffff;
}
.highlight-desc {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ============================================================
   CATEGORY CIRCLES BAR
   ============================================================ */
.category-pills-bar {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}
.pills-scroll-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 20px 12px;
    align-items: start;
    justify-items: center;
}
.pill-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 120px;
    text-align: center;
}
.pill-cat-circle {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--navy-subnav);
    transition: all 0.2s;
    border: 1px solid var(--border-light);
}
.pill-cat-item:hover .pill-cat-circle {
    background: var(--gold-light);
    color: var(--gold-dark);
    border-color: var(--gold-border);
    transform: translateY(-2px);
}
.pill-cat-name {
    font-size: 0.78125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
}
@media (max-width: 1024px) {
    .pills-scroll-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .pills-scroll-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 8px;
    }
}
@media (max-width: 480px) {
    .pills-scroll-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================================
   4-COLUMN DISCOVERY CARDS
   ============================================================ */
.cards-discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}
.discovery-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px 18px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}
.discovery-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}
.quad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.quad-item {
    text-align: center;
}
.quad-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid var(--border-light);
    transition: transform 0.2s;
}
.quad-item:hover img {
    transform: scale(1.02);
}
.quad-item span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    color: var(--text-secondary);
    line-height: 1.2;
}
.quad-item-price {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy-header);
    margin-top: 2px;
}
.card-footer-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blue-accent);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-footer-link:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

/* Seller recruitment promo box (Solid light background) */
.seller-promo-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: center;
    margin-bottom: 12px;
}
.card-quick-track-box {
    margin-top: auto;
    background: var(--navy-header);
    border: 1px solid #1e3a5f;
    border-radius: var(--radius-sm);
    padding: 12px;
}
.quick-track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.quick-track-row {
    display: flex;
    gap: 6px;
}
.quick-track-input {
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    outline: none;
}
.quick-track-input::placeholder {
    color: #94a3b8;
}
.quick-track-input:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.14);
}
.quick-track-btn {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    flex-shrink: 0;
}
.quick-track-btn:hover {
    background: var(--gold-hover);
}

/* ============================================================
   HORIZONTAL PRODUCT STRIPS
   ============================================================ */
.product-strip-section {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px 24px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}
.strip-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}
.strip-header-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}
.strip-header-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--blue-accent);
    display: flex;
    align-items: center;
    gap: 4px;
}
.strip-header-link:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

.strip-carousel-wrapper {
    position: relative;
}
.strip-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: #ffffff;
    color: var(--navy-header);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.15s ease;
}
.strip-nav-btn:hover {
    background: var(--navy-header);
    color: #ffffff;
    border-color: var(--navy-header);
}
.strip-nav-prev { left: -14px; }
.strip-nav-next { right: -14px; }
.strip-nav-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 640px) {
    .strip-nav-btn {
        display: none;
    }

    .product-strip-section {
        padding: 14px 10px 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .strip-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .strip-header-title {
        font-size: 1.05rem;
    }

    .strip-header-link {
        font-size: 0.78rem;
    }

    .horizontal-products-track {
        gap: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .strip-item-card.sp-card,
    .pdp-item-card.sp-card {
        flex: 0 0 162px;
        min-width: 162px;
        max-width: 162px;
        scroll-snap-align: start;
        border-radius: 10px;
    }

    .sp-card-body {
        padding: 8px 8px 10px;
    }

    .sp-card-img-wrap img {
        padding: 8px;
    }

    .sp-card-title {
        font-size: 0.8rem;
        min-height: 2.1rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .sp-card-vendor {
        font-size: 0.68rem;
        margin-bottom: 2px;
    }

    .sp-card-rating {
        font-size: 0.68rem;
        margin-bottom: 6px;
        gap: 2px;
    }

    .sp-card-rating span {
        font-size: 0.65rem;
    }

    .sp-price {
        font-size: 0.92rem;
    }

    .sp-compare-price {
        font-size: 0.7rem;
    }

    .sp-btn-cart {
        padding: 4px 8px;
        font-size: 0.7rem;
        border-radius: 6px;
        min-height: 28px;
    }

    .sp-card-tag {
        font-size: 0.58rem;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
        border-radius: 4px;
    }
}

@media (max-width: 380px) {
    .strip-item-card.sp-card,
    .pdp-item-card.sp-card {
        flex: 0 0 148px;
        min-width: 148px;
        max-width: 148px;
    }
}

.horizontal-products-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
}
.horizontal-products-track::-webkit-scrollbar {
    height: 6px;
}
.horizontal-products-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* ==========================================================================
   FLAGSHIP SPONSORED-STYLE PRODUCT CARD (UNIVERSAL SYSTEM)
   ========================================================================== */
.sp-card,
.shop-product-card,
.vendor-product-card,
.pdp-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    padding: 0 !important;
}

.strip-item-card.sp-card,
.pdp-item-card.sp-card {
    flex: 0 0 220px;
    min-width: 220px;
    max-width: 220px;
}

.sp-card:hover,
.shop-product-card:hover,
.vendor-product-card:hover,
.pdp-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(11, 19, 43, 0.12);
    border-color: #cbd5e1;
}

.sp-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0b132b;
    color: #f5a623;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.sp-card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.15s ease;
    font-size: 0.9rem;
    padding: 0;
}
.sp-card-wishlist-btn:hover {
    color: #ef4444;
    background: #ffffff;
    transform: scale(1.1);
}
.sp-card-wishlist-btn.wished {
    color: #ef4444;
}

.sp-card-img-wrap {
    position: relative;
    padding-top: 85%;
    background: #f8fafc;
    overflow: hidden;
    display: block;
    width: 100%;
    margin: 0;
}

.sp-card-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

.sp-card:hover .sp-card-img-wrap img,
.shop-product-card:hover .sp-card-img-wrap img,
.vendor-product-card:hover .sp-card-img-wrap img,
.pdp-item-card:hover .sp-card-img-wrap img {
    transform: scale(1.05);
}

.sp-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sp-card-vendor {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-card-vendor:hover {
    color: #2563eb;
}

.sp-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b132b;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.sp-card-title:hover {
    color: #2563eb;
}

.sp-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #f5a623;
    margin-bottom: 12px;
}

.sp-card-rating span {
    color: #64748b;
    font-weight: 600;
}

.sp-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.sp-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.sp-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0b132b;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.sp-compare-price {
    font-size: 0.7rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.sp-btn-cart {
    background: #0b132b;
    color: #ffffff;
    border: none;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sp-btn-cart:hover {
    background: #f5a623;
    color: #0b132b;
}

.sp-btn-cart.is-remove-btn,
.sp-btn-cart.in-cart {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.sp-btn-cart.is-remove-btn:hover,
.sp-btn-cart.in-cart:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.strip-item-card {
    flex: 0 0 210px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.strip-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.strip-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 90%;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
}
.strip-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.badge-express {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--gold-light);
    color: var(--gold-dark);
    border: 1px solid var(--gold-border);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}
.btn-wishlist {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
}
.btn-wishlist:hover {
    color: #ef4444;
}

.strip-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    min-height: 36px;
}
.strip-item-vendor {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.strip-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--gold-primary);
    margin-bottom: 6px;
}
.strip-item-rating .count {
    color: var(--text-light);
}

.strip-item-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: auto;
    margin-bottom: 8px;
}
.strip-item-price .compare {
    font-size: 0.78125rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
    margin-left: 4px;
}
.btn-add-strip {
    background: #f1f5f9;
    color: var(--navy-header);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.15s;
    font-family: var(--font-sans);
}
.btn-add-strip:hover {
    background: var(--navy-header);
    color: #ffffff;
    border-color: var(--navy-header);
}
.btn-out-of-stock,
.btn-out-of-stock:hover {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.85;
}

/* ============================================================
   VERIFIED VENDORS SHOWCASE
   ============================================================ */
.vendors-strip-section {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
}
.vendor-cards-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.vendor-mini-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    background: #fcfdfe;
    transition: transform 0.2s, border-color 0.2s;
}
.vendor-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-sm);
}
.vendor-mini-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto 10px;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}
.vendor-mini-name {
    font-weight: 700;
    font-size: 0.925rem;
    color: var(--text-primary);
}
.vendor-mini-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    margin-bottom: 12px;
}
.vendor-mini-location {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: -6px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.btn-visit-store {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-block;
}
.btn-visit-store:hover {
    border-color: var(--gold-primary);
    color: var(--gold-dark);
    background: var(--gold-light);
}

/* ============================================================
   TRUST & ESCROW GUARANTEE
   ============================================================ */
.trust-guarantee-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.trust-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}
.trust-item-icon {
    font-size: 1.85rem;
    color: var(--gold-primary);
}
.trust-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.trust-item-sub {
    font-size: 0.78125rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ============================================================
   FOOTER (Solid Blue & Gold, Zero Gradients)
   ============================================================ */
.back-to-top-btn {
    background: var(--navy-subnav);
    color: #ffffff;
    text-align: center;
    padding: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.back-to-top-btn:hover {
    background: #1f487d;
    color: var(--gold-primary);
}

.footer-main-area {
    background: var(--navy-header);
    color: #cbd5e1;
    padding: 44px 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.footer-column-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links-list a {
    color: #94a3b8;
    font-size: 0.84rem;
}
.footer-links-list a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.footer-bottom-bar {
    background: var(--navy-dark);
    padding: 24px 0;
    color: #64748b;
    font-size: 0.8125rem;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Global Buttons & Forms */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: none;
}
.btn-primary {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-color: var(--gold-primary);
}
.btn-primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}
.btn-blue {
    background: var(--navy-header);
    color: #ffffff;
    border-color: var(--navy-header);
}
.btn-blue:hover {
    background: var(--navy-subnav);
}

/* ============================================================
   ALL NAV MEGA MENU (Solid White & Navy, Pure Plus Jakarta Sans)
   ============================================================ */
.megamenu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 27, 48, 0.45);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.megamenu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.megamenu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 210;
    box-shadow: 0 16px 36px rgba(15, 39, 68, 0.16);
    border-top: 1px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.megamenu-panel.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.megamenu-panel-inner {
    padding: 36px 20px 32px;
}

.megamenu-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
}

.megamenu-grid-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.megamenu-section-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-sans);
    text-decoration: none;
}
.megamenu-section-title:hover {
    color: var(--blue-accent);
}

.megamenu-section-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.megamenu-section-list a {
    color: #4b5563;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.15s;
}
.megamenu-section-list a:hover {
    color: #111827;
    text-decoration: underline;
}

.megamenu-panel-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
}
.megamenu-footer-link {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-family: var(--font-sans);
}
.megamenu-footer-link:hover {
    color: var(--blue-accent);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .cards-discovery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-card-banner {
        grid-template-columns: 1fr 1fr;
    }
    .vendor-cards-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .trust-guarantee-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   BUYER AUTHENTICATION (Login & Register Pages)
   ============================================================ */
.auth-page-shell {
    min-height: calc(100vh - 280px);
    background: #f8fafc;
    padding: 48px 16px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.auth-card-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.auth-header-brand {
    text-align: center;
    margin-bottom: 24px;
}
.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-header);
    text-decoration: none;
}
.auth-brand-logo .brand-icon {
    width: 38px;
    height: 38px;
    background: var(--navy-header);
    color: var(--gold-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.auth-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 18px -2px rgba(15, 39, 68, 0.08);
    padding: 32px 36px;
}
.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 20px;
}
.auth-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    margin-bottom: 24px;
    text-align: center;
}
.auth-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy-header);
}
.auth-trust-item i {
    font-size: 1rem;
    color: var(--gold-primary);
}
.auth-form-group {
    margin-bottom: 18px;
}
.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.auth-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-header);
}
.auth-input-shell {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 1.15rem;
    pointer-events: none;
}
.auth-text-field {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 42px;
    font-size: 0.9375rem;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-text-field:focus {
    border-color: var(--navy-header);
    box-shadow: 0 0 0 3px rgba(15, 39, 68, 0.12);
}
.auth-text-field.has-error {
    border-color: #ef4444;
}
.auth-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.auth-password-toggle:hover {
    color: var(--navy-header);
}
.auth-error-text {
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 600;
    margin-top: 4px;
}
.auth-checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 0.8125rem;
}
.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}
.auth-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--navy-header);
    cursor: pointer;
}
.auth-btn-primary {
    width: 100%;
    height: 46px;
    background: var(--navy-header);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}
.auth-btn-primary:hover {
    background: var(--navy-subnav);
}
.auth-btn-primary:active {
    transform: translateY(1px);
}
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 20px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-subtle);
}
.auth-divider span {
    padding: 0 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.auth-btn-outline {
    width: 100%;
    height: 44px;
    background: #ffffff;
    color: var(--navy-header);
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid var(--navy-header);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.auth-btn-outline:hover {
    background: var(--blue-soft);
}
.auth-vendor-note {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.auth-vendor-note a {
    color: var(--primary-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-demo-box {
    background: #ffffff;
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-top: 24px;
    text-align: center;
}
.auth-demo-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.auth-demo-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.auth-demo-chip {
    background: #f1f5f9;
    color: var(--navy-header);
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background-color 0.15s ease;
}
.auth-demo-chip:hover {
    background: #e2e8f0;
}

/* ============================================================
   USER / BUYER DASHBOARD STYLES
   ============================================================ */
.dashboard-shell {
    padding: 32px 0 64px;
    background: #f8fafc;
    min-height: calc(100vh - 280px);
}
.dashboard-header-block {
    margin-bottom: 24px;
}
.dashboard-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-header);
    letter-spacing: -0.025em;
    margin-bottom: 4px;
}
.dashboard-page-sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Top Banner & Stat Cards Row */
.dashboard-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.welcome-banner-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.welcome-avatar-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 2px 6px rgba(15, 39, 68, 0.1);
}
.welcome-text-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 4px;
}
.welcome-text-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.kpi-stat-cards-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.kpi-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid #f1f5f9;
    padding-right: 10px;
}
.kpi-mini-card:last-child {
    border-right: none;
    padding-right: 0;
}
.kpi-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.kpi-icon-yellow {
    background: #fef3c7;
    color: #d97706;
}
.kpi-icon-amber {
    background: #fef9c3;
    color: #ca8a04;
}
.kpi-icon-gold {
    background: #ecfdf5;
    color: #059669;
}
.kpi-mini-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.kpi-mini-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-header);
    line-height: 1.1;
}
.kpi-mini-trend {
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Dashboard White Cards */
.dash-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.dash-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-header);
}
.dash-card-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.dash-card-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-header);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dash-card-link:hover {
    color: var(--primary-accent);
}

/* Dual Bar Purchases Chart */
.chart-legend-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.legend-dot-blue {
    width: 9px;
    height: 9px;
    background: var(--navy-subnav);
    border-radius: 50%;
    display: inline-block;
}
.legend-dot-gold {
    width: 9px;
    height: 9px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: inline-block;
}
.chart-visual-stage {
    display: flex;
    height: 220px;
    padding-top: 15px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    align-items: flex-end;
}
.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-right: 14px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
    min-width: 45px;
    border-right: 1px solid #e2e8f0;
}
.chart-bars-wrap {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding: 0 10px;
}
.chart-dual-bar-pair {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100%;
    position: relative;
}
.bar-elem {
    width: 15px;
    border-radius: 3px 3px 0 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}
.bar-elem:hover {
    opacity: 0.85;
}
.bar-blue {
    background: var(--navy-subnav);
}
.bar-gold {
    background: var(--gold-primary);
}
.chart-x-labels-row {
    display: flex;
    justify-content: space-around;
    padding: 8px 10px 0 45px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Recent Orders Table */
.dash-table-wrapper {
    overflow-x: auto;
}
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.dash-table th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.dash-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-primary);
    vertical-align: middle;
}
.dash-table tr:hover td {
    background: #fbfcfe;
}
.table-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.table-product-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}
.table-product-name {
    font-weight: 700;
    color: var(--navy-header);
    line-height: 1.25;
}
.table-product-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}
.status-delivered {
    background: #dcfce7;
    color: #15803d;
}
.status-shipped {
    background: #e0f2fe;
    color: #0369a1;
}
.status-processing {
    background: #fef3c7;
    color: #b45309;
}
.status-pending {
    background: #ffedd5;
    color: #c2410c;
}

/* Bottom Grid (Recommendations + User KPIs) */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.rec-products-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rec-product-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}
.rec-product-card:hover {
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.08);
}
.rec-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
}
.rec-wishlist-btn:hover {
    color: #ef4444;
}
.rec-img-frame {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.rec-img-frame img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
.rec-prod-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-header);
    margin-bottom: 2px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rec-prod-vendor {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.rec-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.rec-price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--navy-header);
}
.rec-quick-add {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy-header);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.15s ease;
}
.rec-quick-add:hover {
    background: var(--primary-accent);
    color: var(--navy-dark);
}

/* User KPIs Stack */
.kpi-stack-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.user-kpi-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
}
.user-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.user-kpi-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.user-tier-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--navy-header);
    padding: 2px 8px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.user-kpi-main-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 8px;
}
.user-kpi-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}
.user-kpi-fill {
    height: 100%;
    background: var(--gold-primary);
    border-radius: 9999px;
}

/* Header User Dropdown Menu */
.account-widget-shell {
    position: relative;
    z-index: 1110;
}
.user-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(15, 39, 68, 0.2);
    padding: 12px 0;
    z-index: 1200;
    display: none;
}
.account-widget-shell:hover .user-dropdown-panel {
    display: block;
}
.dropdown-user-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 16px 10px;
    border-bottom: 1px solid #f1f5f9;
}
.dropdown-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}
.dropdown-user-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-header);
    color: var(--gold-primary);
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.dropdown-name-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-header);
    line-height: 1.2;
}
.dropdown-tier-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.dropdown-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-menu-link:hover {
    background: #f8fafc;
    color: var(--navy-header);
}
.dropdown-menu-link i {
    font-size: 1rem;
    color: var(--text-muted);
}
.dropdown-menu-link:hover i {
    color: var(--primary-accent);
}
.dropdown-logout-action {
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 10px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
}

@media (max-width: 1024px) {
    .dashboard-top-row {
        grid-template-columns: 1fr;
    }
    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .megamenu-panel-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .megamenu-panel-footer {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .cards-discovery-grid {
        grid-template-columns: 1fr;
    }
    .top-utility-bar {
        display: none;
    }
    .header-returns-link {
        display: none;
    }
    .main-nav-header {
        padding: 10px 0;
    }
    .header-row {
        flex-wrap: wrap;
        gap: 10px 8px;
        justify-content: space-between;
    }
    .brand-logo-img {
        height: 28px !important;
        max-height: 28px !important;
    }
    .header-right-actions {
        gap: 10px;
        margin-left: auto;
        flex-shrink: 0;
    }
    .account-widget {
        padding: 2px 4px;
    }
    .account-widget .sub-text {
        font-size: 0.68rem;
        white-space: nowrap;
    }
    .account-widget .main-text {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .cart-widget {
        padding: 2px 4px;
        gap: 4px;
        margin-right: 0 !important;
    }
    .cart-widget .cart-text-label {
        display: none;
    }
    .search-container {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        height: 40px;
    }
    .search-category-select {
        max-width: 112px;
        font-size: 0.76rem;
        padding: 0 6px;
    }
    .hero-card-banner {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .hero-portrait-frame {
        max-width: 100%;
        height: 200px;
    }
    .footer-columns-grid {
        grid-template-columns: 1fr 1fr;
    }
    .vendor-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-guarantee-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SINGLE PRODUCT PAGE (Amazon + MarketHaven High-Converting Pro)
   ============================================================ */
.pdp-page-shell {
    background: #f8fafc;
    padding: 20px 0 60px;
    font-family: var(--font-sans);
    color: var(--text-primary);
}

/* Breadcrumb */
.pdp-breadcrumb-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.pdp-breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pdp-breadcrumb-links a {
    color: var(--text-muted);
}
.pdp-breadcrumb-links a:hover {
    color: var(--navy-header);
    text-decoration: underline;
}
.pdp-breadcrumb-links .current {
    color: var(--navy-dark);
    font-weight: 700;
}
.pdp-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pdp-action-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-header);
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s;
}
.pdp-action-icon-btn:hover {
    background: #f1f5f9;
}

/* 2-Column Editorial Above-the-Fold Grid */
.pdp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

/* --- COLUMN 1: Visual & Gallery --- */
.pdp-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 96px;
}
.pdp-main-image-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    text-align: center;
}
.pdp-main-image-card img {
    width: 100%;
    height: 440px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform 0.25s ease;
}
.pdp-empty-media-box {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 24px;
    text-align: center;
}
.pdp-empty-media-box i {
    font-size: 2.75rem;
    color: #cbd5e1;
}
.pdp-zoom-trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-header);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: none;
}
.pdp-zoom-trigger:hover {
    background: #f1f5f9;
}
.pdp-thumbnails-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.pdp-thumb-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 6px;
    cursor: pointer;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease;
    box-shadow: none;
}
.pdp-thumb-btn:hover,
.pdp-thumb-btn.active {
    border-color: var(--gold-primary);
}
.pdp-thumb-btn img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Media Cards: Gallery Video & 360 View */
.pdp-media-actions-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
}
.pdp-video-box {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.pdp-video-box:hover {
    background: #1e293b;
}
.pdp-video-play-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.pdp-video-label {
    font-size: 0.8125rem;
    font-weight: 700;
}
.pdp-video-sub {
    font-size: 0.72rem;
    color: #94a3b8;
}
.pdp-360-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-header);
    cursor: pointer;
    box-shadow: none;
    padding: 10px;
    transition: background 0.15s;
}
.pdp-360-btn:hover {
    background: #f1f5f9;
}

/* Specs Overview Box */
.pdp-specs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pdp-specs-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}
.pdp-specs-table td {
    padding: 9px 16px;
    border-bottom: 1px solid #f1f5f9;
}
.pdp-specs-table tr:last-child td {
    border-bottom: none;
}
.pdp-specs-table td.spec-name {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
}
.pdp-specs-table td.spec-val {
    color: var(--navy-dark);
    font-weight: 700;
}

/* --- COLUMN 2: Unified Product Summary, Buy Box & Merchant Info --- */
.pdp-summary-col,
.pdp-details-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.pdp-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pdp-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-header);
    line-height: 1.28;
    margin: 0;
    letter-spacing: -0.3px;
}
.pdp-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}
.pdp-cat-pill {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 999px;
    text-decoration: none;
}
.pdp-cat-pill:hover {
    background: #dbeafe;
}
.pdp-bestseller-badge {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pdp-badge-neutral {
    background: #f1f5f9;
    color: #475569;
}
.pdp-badge-sponsored {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pdp-badge-flash {
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pdp-short-summary {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}
.pdp-buy-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.pdp-buy-actions-row .pdp-btn-addtocart,
.pdp-buy-actions-row .pdp-btn-buynow {
    margin-bottom: 0;
}
.pdp-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.pdp-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pdp-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.pdp-meta-value {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy-dark);
}
.pdp-vendor-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--navy-header);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}
.pdp-details-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}
.pdp-rating-group {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 700;
}
.pdp-vendor-store-link {
    color: var(--navy-header);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pdp-vendor-status-line {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.pdp-vendor-status-line .status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: var(--radius-full);
    margin-right: 4px;
}
.pdp-express-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #0284c7;
}

/* Price & Coupon Box */
.pdp-price-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
}
.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.pdp-price-main {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-header);
    letter-spacing: -0.5px;
}
.pdp-price-compare {
    font-size: 1.05rem;
    color: var(--text-light);
    text-decoration: line-through;
}
.pdp-price-save-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
}
.pdp-price-history-row {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pdp-coupon-shell {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
}
.pdp-coupon-tag {
    background: #16a34a;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
}
.pdp-coupon-text {
    font-weight: 700;
    color: #166534;
}

/* About this item */
.pdp-about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px;
}
.pdp-section-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-header);
    margin: 0 0 12px 0;
}
.pdp-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #334155;
}
.pdp-bullets-list li {
    position: relative;
    padding-left: 18px;
}
.pdp-bullets-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: bold;
}
.pdp-bullets-list strong {
    color: var(--navy-dark);
}

/* Mid Tabs (Specs & Reviews) */
.pdp-tabs-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pdp-tabs-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.pdp-tab-trigger {
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}
.pdp-tab-trigger.active {
    color: var(--navy-header);
    background: #ffffff;
    border-bottom-color: var(--navy-header);
}
.pdp-tab-panel {
    padding: 18px;
}

/* Reviews Summary in Mid Tab */
.pdp-tab-reviews-summary {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 20px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}
.pdp-star-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    margin-bottom: 6px;
}
.pdp-star-bar-label {
    width: 42px;
    color: var(--navy-header);
    font-weight: 600;
}
.pdp-star-bar-track {
    flex: 1;
    height: 9px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}
.pdp-star-bar-fill {
    height: 100%;
    background: var(--gold-primary);
    border-radius: var(--radius-full);
}
.pdp-star-bar-pct {
    width: 32px;
    text-align: right;
    color: var(--text-muted);
    font-weight: 600;
}

/* --- COLUMN 3: Buy Box & Vendor Card --- */
.pdp-buybox-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pdp-buybox-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
}
.pdp-buybox-price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 4px;
}
.pdp-stock-status {
    font-size: 0.875rem;
    font-weight: 700;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
}
.pdp-delivery-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.78rem;
    color: var(--navy-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.pdp-qty-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.pdp-qty-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-header);
}
.pdp-qty-stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    height: 38px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pdp-qty-step-btn {
    width: 38px;
    height: 100%;
    border: none;
    background: #f8fafc;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    user-select: none;
    line-height: 1;
}
.pdp-qty-step-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.pdp-qty-step-btn:active {
    background: #cbd5e1;
    transform: scale(0.96);
}
.pdp-qty-input {
    width: 48px;
    height: 100%;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}
.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.pdp-qty-select {
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-header);
    min-width: 60px;
}
.pdp-btn-addtocart {
    width: 100%;
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 0.9375rem;
    padding: 13px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-family: var(--font-sans);
    box-shadow: none;
    transition: background 0.15s;
}
.pdp-btn-addtocart:hover {
    background: var(--gold-hover);
}
.pdp-btn-buynow {
    width: 100%;
    background: var(--navy-header);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9375rem;
    padding: 13px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--font-sans);
    box-shadow: none;
    transition: background 0.15s;
}
.pdp-btn-buynow:hover {
    background: var(--navy-dark);
}
.pdp-trust-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.pdp-trust-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--navy-header);
}
.pdp-trust-unit i {
    font-size: 1.15rem;
    color: var(--gold-primary);
}

/* About the Vendor Card */
.pdp-vendor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px;
}
.pdp-vendor-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.pdp-vendor-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 1px solid #e2e8f0;
}
.pdp-vendor-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-header);
}
.pdp-vendor-rating {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.pdp-vendor-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--navy-header);
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    box-shadow: none;
    transition: background 0.15s;
}
.pdp-vendor-btn:hover {
    background: #e2e8f0;
}

/* Other Offers Card */
.pdp-other-offers-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 0.8125rem;
}

/* --- SECTION 2: A+ Brand Story & Technical Matrix (Amazon Inspired) --- */
.pdp-aplus-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 36px;
    margin-bottom: 40px;
}
.pdp-aplus-hero {
    background: var(--navy-subnav);
    border-radius: var(--radius-md);
    padding: 40px;
    color: #ffffff;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}
.pdp-aplus-hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
}
.pdp-aplus-hero-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}
.pdp-aplus-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pdp-aplus-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
}
.pdp-aplus-card-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 14px;
}
.pdp-aplus-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 8px;
}
.pdp-aplus-card-desc {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
}

/* Comparison Matrix Table */
.pdp-comparison-box {
    margin-top: 36px;
}
.pdp-comparison-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 16px;
}
.pdp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.pdp-comparison-table th,
.pdp-comparison-table td {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}
.pdp-comparison-table th {
    background: var(--navy-header);
    color: #ffffff;
    font-weight: 700;
}
.pdp-comparison-table th.active-model {
    background: #fef3c7;
    border-color: #fde68a;
    color: var(--navy-dark);
}
.pdp-comparison-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}
.pdp-comparison-table tbody tr:hover td {
    background: #f1f5f9;
}

/* --- SECTION 3: Customers Also Viewed Carousel --- */
.pdp-related-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 40px;
}
.pdp-carousel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.pdp-carousel-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-header);
    margin: 0;
}
.pdp-carousel-controls {
    display: flex;
    gap: 8px;
}
.pdp-carousel-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--navy-header);
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s;
}
.pdp-carousel-nav-btn:hover {
    background: #f1f5f9;
}
.pdp-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, calc((100% - 64px) / 5));
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.pdp-carousel-track::-webkit-scrollbar {
    display: none;
}
.pdp-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.15s;
}
.pdp-item-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
}
.pdp-item-wish-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
    box-shadow: none;
}
.pdp-item-wish-btn:hover {
    color: #ef4444;
}
.pdp-item-thumb-box {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}
.pdp-item-thumb-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.pdp-item-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-header);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.1rem;
}
.pdp-item-vendor {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.pdp-item-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-header);
    margin-bottom: 4px;
}
.pdp-item-rating {
    font-size: 0.72rem;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}
.pdp-item-add-btn {
    width: 100%;
    background: var(--navy-header);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--font-sans);
}
.pdp-item-add-btn:hover {
    background: var(--gold-primary);
    color: var(--navy-dark);
}

/* --- SECTION 4: Customer Reviews Full Breakdown --- */
.pdp-reviews-full-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 36px;
}
.pdp-reviews-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
}
.pdp-reviews-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pdp-reviews-score-big {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-header);
    line-height: 1;
}
.pdp-btn-write-review {
    background: var(--navy-header);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    align-self: flex-start;
}
.pdp-btn-write-review:hover {
    background: var(--navy-subnav);
}

/* Review Cards List */
.pdp-reviews-stream {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.pdp-review-entry {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px;
}
.pdp-review-entry-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.pdp-reviewer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pdp-reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--gold-primary);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8125rem;
}
.pdp-reviewer-name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--navy-header);
}
.pdp-verified-tag {
    font-size: 0.6875rem;
    color: #16a34a;
    font-weight: 700;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
}
.pdp-review-body {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 10px;
}
.pdp-review-helpful-action {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.pdp-helpful-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy-header);
    cursor: pointer;
    box-shadow: none;
}
.pdp-helpful-btn:hover {
    background: #f1f5f9;
}

/* Lightbox Modal */
.pdp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pdp-modal-overlay.active {
    display: flex;
}
.pdp-modal-inner {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 650px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.pdp-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--navy-header);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .pdp-carousel-track {
        grid-auto-columns: minmax(190px, calc((100% - 32px) / 3));
    }
    .pdp-aplus-hero {
        grid-template-columns: 1fr !important;
    }
    .pdp-reviews-main-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 960px) {
    .pdp-hero-grid {
        grid-template-columns: 1fr;
    }
    .pdp-gallery-col {
        position: static;
    }
    .pdp-aplus-trio-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 640px) {
    .pdp-carousel-track {
        grid-auto-columns: minmax(165px, calc((100% - 14px) / 2));
    }
    .pdp-media-actions-row,
    .pdp-buy-actions-row {
        grid-template-columns: 1fr;
    }
    .pdp-main-image-card img,
    .pdp-empty-media-box {
        height: 300px;
    }
}

/* ==========================================================================
   MARKET HAVEN VENDOR PORTAL - MODERN DASHBOARD THEME
   ========================================================================== */

.vh-app-container {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #1e293b;
}

/* Left Sidebar (Fixed / Sticky) */
.vh-sidebar {
    width: 260px;
    min-width: 260px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    background: #0b132b;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease;
    z-index: 50;
    flex-shrink: 0;
}

.vh-sidebar::-webkit-scrollbar {
    width: 4px;
}

.vh-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.vh-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px 26px 6px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.vh-brand-icon {
    width: 38px;
    height: 38px;
    background: #f5a623;
    color: #0b132b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.vh-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.vh-brand-sub {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.vh-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vh-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.vh-nav-link:hover {
    background: #ffffff;
    color: #0b132b;
}

.vh-nav-link:hover .vh-nav-left i {
    color: #0b132b;
}

.vh-nav-link.active {
    background: #ffffff;
    color: #0b132b;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.vh-nav-link.active .vh-nav-left i {
    color: #0b132b;
}

.vh-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vh-nav-left i {
    font-size: 1.25rem;
}

.vh-badge-pill {
    background: #f5a623;
    color: #0b132b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
}

.vh-nav-link.active .vh-badge-pill {
    background: #0b132b;
    color: #ffffff;
}

.vh-nav-link.parent-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.vh-nav-link.parent-active .vh-nav-left i {
    color: #ffffff;
}

.vh-nav-item {
    display: flex;
    flex-direction: column;
}

/* Unified Parent Navigation Item */
.vh-nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.vh-nav-parent:hover {
    background: rgba(255, 255, 255, 0.06);
}

.vh-nav-parent.parent-active {
    background: rgba(255, 255, 255, 0.08);
}

.vh-nav-parent.parent-active .vh-nav-parent-link {
    color: #ffffff;
    font-weight: 700;
}

.vh-nav-parent.parent-active .vh-caret-icon {
    color: #ffffff;
}

.vh-nav-parent-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.vh-nav-parent:hover .vh-nav-parent-link {
    color: #ffffff;
}

.vh-caret-toggle {
    background: transparent;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.vh-caret-toggle:hover {
    color: #ffffff;
}

.vh-caret-icon {
    font-size: 0.78rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
}

.vh-submenu-open .vh-caret-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Submenu container with sleek guide line */
.vh-submenu {
    list-style: none;
    padding: 4px 0 6px 14px;
    margin: 4px 0 6px 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

/* Submenu item link */
.vh-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
    background: transparent;
    border: 1px solid transparent;
}

.vh-sublink-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vh-sublink-bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.35);
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.vh-sublink:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.vh-sublink:hover .vh-sublink-bullet {
    background: #f5a623;
    box-shadow: 0 0 6px rgba(245, 166, 35, 0.6);
}

/* Active Submenu Link */
.vh-sublink.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.vh-sublink.active .vh-sublink-bullet {
    background: #f5a623;
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.8);
}

.vh-sub-pill {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.vh-alert-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 9999px;
    min-width: 18px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Upgrade CTA Card */
.vh-sidebar-cta {
    background: linear-gradient(135deg, #132247 0%, #0c162e 100%);
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 14px;
    padding: 18px 16px;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.vh-sidebar-cta::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, transparent 70%);
}

.vh-cta-crown {
    font-size: 1.4rem;
    color: #f5a623;
    margin-bottom: 8px;
    display: inline-block;
}

.vh-cta-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.vh-cta-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 14px;
}

.vh-cta-btn {
    background: #f5a623;
    color: #0b132b;
    font-weight: 800;
    font-size: 0.82rem;
    border-radius: 8px;
    padding: 9px 14px;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
    transition: filter 0.15s;
}

.vh-cta-btn:hover {
    filter: brightness(1.08);
}

/* Main Area & Header */
.vh-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vh-topbar {
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.vh-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.vh-sidebar-toggle-btn {
    background: none;
    border: none;
    font-size: 1.35rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
}

.vh-sidebar-toggle-btn:hover {
    background: #f1f5f9;
}

.vh-global-search {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 400px;
    max-width: 100%;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.vh-global-search:focus-within {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.vh-global-search i {
    color: #94a3b8;
    font-size: 1.1rem;
}

.vh-global-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.85rem;
    width: 100%;
    color: #1e293b;
}

.vh-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.vh-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #475569;
    transition: all 0.15s;
}

.vh-icon-btn:hover {
    background: #f1f5f9;
    color: #0b132b;
}

.vh-icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #f5a623;
    color: #0b132b;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.vh-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 9999px;
    position: relative;
}

.vh-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0b132b;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.vh-user-info-text {
    line-height: 1.2;
}

.vh-user-store-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.vh-user-role-tag {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

/* Dashboard Body Container */
.vh-content-body {
    padding: 28px 32px 60px 32px;
}

/* Welcome Header Row */
.vh-welcome-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.vh-welcome-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vh-welcome-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0b132b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.vh-welcome-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b132b;
    margin: 0;
    letter-spacing: -0.02em;
}

.vh-welcome-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 2px;
}

.vh-date-filter-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 4-Card KPI Stats Grid */
.vh-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.vh-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px 14px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.vh-stat-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.vh-stat-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.vh-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.vh-stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b132b;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.vh-stat-trend {
    font-size: 0.76rem;
    font-weight: 700;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vh-stat-trend.text-muted {
    color: #64748b;
    font-weight: 500;
}

.vh-stat-sparkline {
    margin-top: 10px;
    height: 28px;
    width: 100%;
}

/* Two-column layout: Left Main (72%) vs Right Column (28%) */
.vh-dashboard-columns {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

@media (max-width: 1200px) {
    .vh-dashboard-columns {
        grid-template-columns: 1fr;
    }
}

/* White Card Shell */
.vh-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.vh-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.vh-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b132b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.vh-link-action {
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.vh-link-action:hover {
    text-decoration: underline;
}

/* Charts Grid */
.vh-charts-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .vh-charts-row {
        grid-template-columns: 1fr;
    }
}

.vh-chart-filter-group {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 2px;
}

.vh-chart-filter-btn {
    background: none;
    border: none;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.vh-chart-filter-btn.active {
    background: #2563eb;
    color: #ffffff;
}

/* Tables & Lists Grid - Stacked Top & Bottom */
.vh-tables-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.vh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.vh-table th {
    text-align: left;
    color: #64748b;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.vh-table td {
    padding: 12px;
    border-bottom: 1px solid #f8fafc;
    color: #1e293b;
    vertical-align: middle;
}

/* Status Badges */
.vh-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: capitalize;
}

.vh-status-processing {
    background: #fef3c7;
    color: #d97706;
}

.vh-status-shipped {
    background: #eff6ff;
    color: #2563eb;
}

.vh-status-delivered {
    background: #ecfdf5;
    color: #059669;
}

.vh-status-pending {
    background: #ffe4e6;
    color: #e11d48;
}

/* Top Selling Products List */
.vh-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vh-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 8px;
    transition: background-color 0.15s ease;
    gap: 12px;
}

.vh-product-row:hover {
    background-color: #f8fafc;
}

.vh-product-row:last-child {
    border-bottom: none;
}

.vh-product-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.vh-product-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.vh-product-info {
    min-width: 0;
    flex: 1;
}

.vh-product-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0b132b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.vh-product-sub {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}

.vh-product-stat-right {
    text-align: right;
    flex-shrink: 0;
}

.vh-product-revenue {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0b132b;
    line-height: 1.3;
}

.vh-product-revenue-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 1px;
}

/* Bottom Upgrade Store Banner */
.vh-bottom-banner {
    background: linear-gradient(90deg, #0b132b 0%, #152249 100%);
    border-radius: 14px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.vh-bottom-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vh-bottom-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.35);
    color: #f5a623;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.vh-bottom-banner-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.vh-bottom-banner-sub {
    font-size: 0.82rem;
    color: #94a3b8;
}

.vh-bottom-banner-btn {
    background: #f5a623;
    color: #0b132b;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
    transition: filter 0.15s;
}

.vh-bottom-banner-btn:hover {
    filter: brightness(1.08);
}

/* Right Column Widgets */
.vh-wallet-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.vh-wallet-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.vh-wallet-head i {
    font-size: 1.3rem;
    color: #2563eb;
}

.vh-wallet-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #0b132b;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.vh-wallet-subtext {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 18px;
}

.vh-btn-withdraw {
    background: #f5a623;
    color: #0b132b;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
    border: none;
    cursor: pointer;
    margin-bottom: 14px;
    transition: filter 0.15s;
}

.vh-btn-withdraw:hover {
    filter: brightness(1.08);
}

.vh-wallet-commission-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
}

/* Quick Actions 2x3 Grid */
.vh-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vh-action-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.15s;
}

.vh-action-tile:hover {
    border-color: #f5a623;
    background: #fffbeb;
    color: #0b132b;
    transform: translateY(-1px);
}

.vh-action-tile i {
    font-size: 1.15rem;
    color: #2563eb;
}

/* Recent Activity Timeline */
.vh-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vh-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vh-activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.vh-activity-content {
    flex: 1;
    min-width: 0;
}

.vh-activity-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}

.vh-activity-desc {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}

.vh-activity-time {
    font-size: 0.7rem;
    color: #94a3b8;
    white-space: nowrap;
}

/* ============================================================
   DOKAN-STYLE MULTI-STEP VENDOR ONBOARDING WIZARD (.vreg-*)
   ============================================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vreg-page {
    background: var(--bg-page);
    padding: 36px 0 64px;
    min-height: 75vh;
}

.vreg-wizard-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.vreg-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.vreg-card-head {
    background: var(--navy-header);
    color: #f8fafc;
    padding: 24px 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vreg-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.vreg-head-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #f59e0b;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.vreg-step-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.vreg-card-head h1 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    margin: 14px 0 6px;
}

.vreg-head-sub {
    margin: 0 0 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.vreg-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
}

.vreg-progress-fill {
    height: 100%;
    background: var(--gold-primary);
    border-radius: 999px;
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.vreg-stage {
    overflow: hidden;
    view-transition-name: wizard-step;
}

@keyframes vreg-slide-to-left {
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes vreg-slide-from-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes vreg-slide-to-right {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes vreg-slide-from-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
}

::view-transition-group(wizard-step) {
    overflow: clip;
    animation-duration: 0.36s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(wizard-step),
::view-transition-new(wizard-step) {
    animation: 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
    height: auto;
}

html:active-view-transition-type(forward)::view-transition-old(root),
html:active-view-transition-type(forward)::view-transition-new(root),
html:active-view-transition-type(backward)::view-transition-old(root),
html:active-view-transition-type(backward)::view-transition-new(root) {
    animation: none;
}

html:active-view-transition-type(forward)::view-transition-old(wizard-step) {
    animation-name: vreg-slide-to-left;
}

html:active-view-transition-type(forward)::view-transition-new(wizard-step) {
    animation-name: vreg-slide-from-right;
}

html:active-view-transition-type(backward)::view-transition-old(wizard-step) {
    animation-name: vreg-slide-to-right;
}

html:active-view-transition-type(backward)::view-transition-new(wizard-step) {
    animation-name: vreg-slide-from-left;
}

.vreg-step.is-entering-from-right {
    @media (prefers-reduced-motion: no-preference) {
        animation: vreg-slide-from-right 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

.vreg-step.is-entering-from-left {
    @media (prefers-reduced-motion: no-preference) {
        animation: vreg-slide-from-left 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vreg-progress-fill {
        transition: none;
    }

    ::view-transition-group(wizard-step),
    ::view-transition-old(wizard-step),
    ::view-transition-new(wizard-step) {
        animation: none !important;
    }
}

.vreg-body {
    padding: 28px 32px;
}

.vreg-server-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 22px;
    font-size: 0.9rem;
}

.vreg-server-banner strong {
    display: block;
    margin-bottom: 6px;
}

.vreg-server-banner ul {
    margin: 0;
    padding-left: 18px;
}

[hidden] {
    display: none !important;
}

.vreg-step[hidden] {
    display: none;
}

.vreg-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.vreg-legend {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--navy-header);
    margin: 0 0 6px;
    padding: 0;
    display: block;
    width: 100%;
}

.vreg-legend:focus {
    outline: none;
}

.vreg-step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0 0 22px;
    line-height: 1.5;
}

.vreg-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vreg-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.vreg-grid-2 .vreg-field {
    margin-bottom: 0;
}

.vreg-grid-2 + .vreg-field,
.vreg-grid-2 + .vreg-grid-2,
.vreg-field + .vreg-grid-2 {
    margin-top: 18px;
}

.vreg-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vreg-req {
    color: #dc2626;
    font-weight: 800;
}

.vreg-opt {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.vreg-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 6px;
    line-height: 1.4;
}

.vreg-input,
.vreg-select,
.vreg-textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: max(1rem, 1em);
    color: var(--text-primary);
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.vreg-textarea {
    min-height: 104px;
    resize: vertical;
    line-height: 1.5;
}

.vreg-input:focus-visible,
.vreg-select:focus-visible,
.vreg-textarea:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
    border-color: var(--blue-accent);
}

.vreg-input:is(:user-invalid, .user-invalid-fallback),
.vreg-select:is(:user-invalid, .user-invalid-fallback),
.vreg-textarea:is(:user-invalid, .user-invalid-fallback),
.vreg-field.is-server-error .vreg-input,
.vreg-field.is-server-error .vreg-select,
.vreg-field.is-server-error .vreg-textarea {
    border-color: #dc2626;
    background: #fef2f2;
}

.vreg-input:user-valid:not([type="file"]):not([type="checkbox"]),
.vreg-select:user-valid,
.vreg-textarea:user-valid {
    border-color: #16a34a;
}

.vreg-error-msg {
    display: none;
    margin-top: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #b91c1c;
    line-height: 1.4;
}

.vreg-field:has(:is(:user-invalid, .user-invalid-fallback)) .vreg-error-msg,
.vreg-field.is-server-error .vreg-error-msg {
    display: block;
}

.vreg-slug-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
}

.vreg-slug-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 600;
    border-right: 1px solid #cbd5e1;
    white-space: nowrap;
}

.vreg-slug-group .vreg-input {
    border: 0;
    border-radius: 0;
}

.vreg-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.vreg-password-wrap .vreg-input {
    padding-right: 52px;
}

.vreg-pw-toggle {
    position: absolute;
    right: 6px;
    min-width: 40px;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.vreg-pw-toggle:hover {
    background: #f1f5f9;
}

.vreg-pw-toggle:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
}

.vreg-radio-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vreg-radio-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.vreg-radio-card input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--navy-header);
    flex-shrink: 0;
}

.vreg-radio-card:has(input:checked) {
    border-color: var(--navy-header);
    background: var(--blue-soft);
}

.vreg-radio-card:has(input:focus-visible) {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
}

.vreg-radio-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.vreg-radio-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.vreg-upload-box {
    border: 1.5px dashed #94a3b8;
    border-radius: 10px;
    padding: 14px;
    background: #f8fafc;
}

.vreg-upload-preview {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.vreg-upload-preview img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.vreg-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.vreg-review-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
}

.vreg-review-box h3 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy-header);
}

.vreg-review-dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    font-size: 0.84rem;
}

.vreg-review-dl dt {
    color: var(--text-muted);
    font-weight: 600;
}

.vreg-review-dl dd {
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    word-break: break-word;
}

.vreg-terms-box {
    background: #fffbeb;
    border: 1.5px solid var(--gold-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 18px;
}

.vreg-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.vreg-checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--navy-header);
    flex-shrink: 0;
}

.vreg-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    margin-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.vreg-btn-prev,
.vreg-btn-next,
.vreg-btn-submit {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.vreg-btn-prev[hidden],
.vreg-btn-next[hidden],
.vreg-btn-submit[hidden],
.vreg-upload-preview[hidden] {
    display: none;
}

.vreg-btn-prev {
    background: #ffffff;
    color: var(--text-primary);
    border: 1.5px solid #cbd5e1;
}

.vreg-btn-prev:hover {
    background: #f1f5f9;
}

.vreg-btn-next {
    background: var(--navy-header);
    color: #ffffff;
    border: 1.5px solid var(--navy-header);
    margin-left: auto;
}

.vreg-btn-next:hover {
    background: var(--navy-subnav);
}

.vreg-btn-submit {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border: 1.5px solid var(--gold-primary);
    margin-left: auto;
}

.vreg-btn-submit:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

.vreg-btn-prev:focus-visible,
.vreg-btn-next:focus-visible,
.vreg-btn-submit:focus-visible {
    outline: 2px solid var(--blue-accent);
    outline-offset: 2px;
}

.vreg-signin-foot {
    text-align: center;
    padding: 16px 24px 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.vreg-signin-foot a {
    color: var(--blue-accent);
    font-weight: 700;
}

/* Pending / Application Status Page */
.vpnd-wrap {
    max-width: 780px;
    margin: 40px auto 64px;
    padding: 0 16px;
}

.vpnd-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 34px 32px;
}

.vpnd-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vpnd-status-badge.is-pending {
    background: #fef3c7;
    color: #92400e;
}

.vpnd-status-badge.is-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.vpnd-status-badge.is-approved {
    background: #dcfce7;
    color: #166534;
}

.vpnd-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.vpnd-summary-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px 16px;
}

@media (max-width: 680px) {
    .vreg-card-head {
        padding: 20px 18px 16px;
    }

    .vreg-body {
        padding: 20px 18px;
    }

    .vreg-grid-2,
    .vreg-radio-cards,
    .vreg-review-grid,
    .vpnd-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MARKET HAVEN EXPRESS - RIDER DISPATCH PORTAL (.rp-*)
   ============================================================ */

.rp-shell {
    display: flex;
    min-height: 100dvh;
    background: var(--bg-page);
    color: var(--text-primary);
}

.rp-sidebar {
    width: 256px;
    min-width: 256px;
    background: var(--navy-header);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
}

.rp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 4px 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.rp-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold-primary);
    color: var(--navy-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rp-brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.rp-brand-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.rp-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rp-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.rp-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.rp-nav-link:focus-visible,
.rp-mobile-link:focus-visible,
.rp-btn:focus-visible,
.rp-input:focus-visible,
.rp-select:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

.rp-nav-link[aria-current="page"] {
    background: rgba(245, 158, 11, 0.16);
    border-left-color: var(--gold-primary);
    color: #ffffff;
    font-weight: 800;
}

.rp-nav-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rp-nav-badge {
    background: var(--gold-primary);
    color: var(--navy-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
}

.rp-rider-mini {
    background: rgba(10, 27, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.rp-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.rp-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.rp-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-topbar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-header);
    margin: 0;
}

.rp-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rp-gps-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rp-gps-pill.is-live {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.rp-gps-pill.is-error {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.rp-avail-btn {
    min-height: 40px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.rp-avail-btn.is-online {
    background: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.rp-avail-btn.is-offline {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.rp-content {
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px;
}

.rp-alert {
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-alert.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.rp-alert.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.rp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.rp-kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.rp-kpi-label {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.rp-kpi-val {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-header);
    margin: 6px 0 4px;
    line-height: 1.1;
}

.rp-kpi-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.rp-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.rp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rp-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-header);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
    gap: 20px;
    align-items: start;
}

.rp-task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 16px;
}

.rp-task-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.rp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rp-badge.is-pickup {
    background: #fef3c7;
    color: #92400e;
}

.rp-badge.is-transit {
    background: #dbeafe;
    color: #1e40af;
}

.rp-badge.is-delivered {
    background: #dcfce7;
    color: #166534;
}

.rp-badge.is-available {
    background: #f1f5f9;
    color: #334155;
}

.rp-route-stop {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rp-stop-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rp-stop-dot.is-p {
    background: var(--blue-accent);
    color: #ffffff;
}

.rp-stop-dot.is-d {
    background: var(--success);
    color: #ffffff;
}

.rp-btn {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.rp-btn-gold {
    background: var(--gold-primary);
    color: var(--navy-dark);
}

.rp-btn-gold:hover {
    background: var(--gold-hover);
}

.rp-btn-navy {
    background: var(--navy-header);
    color: #ffffff;
}

.rp-btn-navy:hover {
    background: var(--navy-subnav);
}

.rp-btn-success {
    background: var(--success);
    color: #ffffff;
}

.rp-btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--text-primary);
}

.rp-btn-outline:hover {
    background: #f8fafc;
}

.rp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.rp-tab {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rp-tab[aria-current="page"],
.rp-tab.is-active {
    background: var(--navy-header);
    border-color: var(--navy-header);
    color: #ffffff;
}

.rp-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.rp-timeline-step {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-timeline-step.is-done {
    background: #f0fdf4;
    border-color: #86efac;
}

.rp-timeline-step.is-current {
    background: #fffbeb;
    border-color: var(--gold-primary);
}

.rp-pin-input,
#rp-delivery-pin {
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    color: var(--navy-header);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: max(1.35rem, 1em);
    font-weight: 800;
    letter-spacing: 0.35em;
    text-align: center;
}

.rp-input,
.rp-select {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-family: inherit;
    font-size: max(1rem, 1em);
    color: var(--text-primary);
}

.rp-hint {
    margin: 0 0 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.rp-item-thumb {
    width: 48px;
    height: 48px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #f8fafc;
    flex-shrink: 0;
}

.rp-mobile-nav {
    display: none;
}

.rp-mobile-logout {
    display: none;
}

.rp-login-shell {
    min-height: 100dvh;
    background: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.rp-login-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 26px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
}

@media (max-width: 1080px) {
    .rp-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rp-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .rp-sidebar {
        display: none;
    }

    .rp-topbar {
        padding: 12px 16px;
    }

    .rp-content {
        padding: 16px 16px calc(88px + env(safe-area-inset-bottom));
    }

    .rp-mobile-logout {
        display: inline-flex;
    }

    .rp-mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        position: fixed;
        inset-block-end: 0;
        inset-inline: 0;
        background: var(--navy-header);
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        z-index: 60;
    }

    .rp-mobile-link {
        min-height: 48px;
        border-radius: 8px;
        border-top: 3px solid transparent;
        color: #cbd5e1;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .rp-mobile-link[aria-current="page"] {
        color: #ffffff;
        border-top-color: var(--gold-primary);
        background: rgba(245, 158, 11, 0.14);
    }

    .rp-timeline {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CART ADD SUCCESS ANIMATED POPUP MODAL (CHECKMARK "TICKED GOOD SIGN")
   ========================================================================== */
.cart-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-popup-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px 22px;
    width: 100%;
    max-width: 370px;
    box-shadow: 0 25px 50px -12px rgba(11, 19, 43, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    text-align: center;
    position: relative;
    transform: translateY(24px) scale(0.94);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.cart-popup-overlay.active .cart-popup-card {
    transform: translateY(0) scale(1);
}

.cart-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}

.cart-popup-close:hover {
    background: #e2e8f0;
    color: #0b132b;
    transform: rotate(90deg);
}

.cart-popup-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.cart-popup-check-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0b132b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(11, 19, 43, 0.2);
    animation: tickGlowPulse 0.6s ease-out 0.4s both;
}

.cart-popup-check-circle.is-remove {
    background: #0b132b;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
    animation: removeGlowPulse 0.6s ease-out 0.4s both;
}

.cart-popup-check-circle.is-remove .cart-popup-svg-circle {
    stroke: #ef4444;
}

.cart-popup-check-circle.is-remove .cart-popup-svg-tick {
    stroke: #ef4444;
}

@keyframes removeGlowPulse {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.cart-popup-svg-check {
    width: 54px;
    height: 54px;
    display: block;
}

.cart-popup-svg-circle {
    stroke-dasharray: 155;
    stroke-dashoffset: 155;
    stroke-width: 3.5;
    stroke: #f59e0b;
    stroke-linecap: round;
    animation: drawCircle 0.5s ease-out 0.1s forwards;
}

.cart-popup-svg-tick {
    stroke-dasharray: 45;
    stroke-dashoffset: 45;
    stroke-width: 4;
    stroke: #f59e0b;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawTick 0.35s ease-out 0.45s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawTick {
    to { stroke-dashoffset: 0; }
}

@keyframes tickGlowPulse {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.cart-popup-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.cart-popup-badge-pill.is-remove {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fecaca;
}

.cart-popup-item-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: left;
}

.cart-popup-item-preview img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 2px;
    flex-shrink: 0;
}

.cart-popup-item-info {
    min-width: 0;
    flex: 1;
}

.cart-popup-item-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #0b132b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.cart-popup-item-meta {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-popup-actions {
    display: flex;
    gap: 10px;
}

.cart-popup-btn-continue {
    flex: 1;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cart-popup-btn-continue:hover {
    background: #e2e8f0;
    color: #0b132b;
}

.cart-popup-btn-cart {
    flex: 1.2;
    background: #0b132b;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.cart-popup-btn-cart:hover {
    background: #f5a623;
    color: #0b132b;
}

.sp-btn-cart.added-success {
    background: #0b132b !important;
    color: #f59e0b !important;
    border-color: #0b132b !important;
}

@keyframes cartBadgeBump {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.cart-count-bubble.cart-bump {
    animation: cartBadgeBump 0.35s ease;
}

/* ==========================================================================
   WISHLIST ADD/REMOVE ANIMATED POPUP MODAL
   ========================================================================== */
.wishlist-popup-heart-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #0b132b;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
    animation: heartPulseGlow 0.6s ease-out 0.2s both;
}

.wishlist-popup-heart-circle.is-remove {
    box-shadow: 0 4px 16px rgba(100, 116, 139, 0.25);
    background: #1e293b;
}

@keyframes heartPulseGlow {
    0% { transform: scale(0.75); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35); }
}

.cart-popup-badge-pill.is-wishlist {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.cart-popup-badge-pill.is-wishlist.is-remove {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.cart-popup-btn-wishlist {
    flex: 1.2;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.cart-popup-btn-wishlist:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
}



