/* =============================================================================
   SMTP MARKETPLACE — Premium Redesign Stylesheet
   Scope   : All user-facing frontend UI
   Strategy: Directly extends the theme; never touched by admin Custom CSS panel
   Tokens  : hsl(var(--base)) | hsl(var(--body-bg)) | hsl(var(--section-bg))
             hsl(var(--heading-color)) | hsl(var(--body-color)) | hsl(var(--border-color))
   Icons   : 100% Line Awesome  (las la-* / lab la-*)
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   1. KEYFRAME ANIMATIONS
───────────────────────────────────────────────────────────────────────────── */
@keyframes pm-gradient-drift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes pm-pulse-ring {
    0%   { box-shadow: 0 0 0 0 hsl(var(--base) / .55); }
    70%  { box-shadow: 0 0 0 10px hsl(var(--base) / 0); }
    100% { box-shadow: 0 0 0 0 hsl(var(--base) / 0); }
}
@keyframes pm-badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .75; }
}
@keyframes pm-spin { to { transform: rotate(360deg); } }
@keyframes pm-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pm-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 10px) scale(.97); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. GLOBAL UTILITIES
───────────────────────────────────────────────────────────────────────────── */
.pm-flex-1  { flex: 1 1 0%; min-width: 0; }
.flex-1     { flex: 1 1 0%; min-width: 0; }
.pm-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Icon-text button spacing */
.btn i:not(:only-child) { margin-right: 5px; }

/* Smooth all transitions */
a, .btn, .nav-link { transition: all .2s ease; }

/* ─────────────────────────────────────────────────────────────────────────────
   3. BUTTON SYSTEM
───────────────────────────────────────────────────────────────────────────── */
.btn { min-height: 42px; border-radius: 8px; font-weight: 600; letter-spacing: .01em; }
.btn--sm, .btn-sm { min-height: 34px; font-size: .80rem; border-radius: 6px; }
.btn--lg, .btn-lg { min-height: 52px; font-size: 1rem; border-radius: 10px; }

.btn--base:hover,
.btn--base:focus {
    box-shadow: 0 6px 20px hsl(var(--base) / .40);
    transform: translateY(-1px);
}
.btn-outline--base:hover,
.btn-outline--base:focus {
    box-shadow: 0 4px 14px hsl(var(--base) / .28);
    transform: translateY(-1px);
}
.btn-outline--danger:hover { box-shadow: 0 4px 14px rgba(239,68,68,.25); transform: translateY(-1px); }

/* Loading state */
.btn.pm-loading { opacity: .65; pointer-events: none; }
.btn.pm-loading i { animation: pm-spin 1s linear infinite; }

/* ─────────────────────────────────────────────────────────────────────────────
   4. HEADER — Premium frosted-glass sticky navigation
───────────────────────────────────────────────────────────────────────────── */
#header {
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid hsl(var(--border-color) / .10);
}

/* Scrolled state: frosted glass */
#header.pm-scrolled {
    background: hsl(var(--body-bg) / .82) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 1px 0 hsl(var(--base) / .18), 0 4px 32px rgba(0,0,0,.45);
}

/* Logo area */
.navbar-brand.logo img { max-height: 40px; transition: opacity .2s ease; }
.navbar-brand.logo:hover img { opacity: .88; }

/* Nav links */
.navbar-nav .nav-link {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: .5rem .9rem !important;
    border-radius: 6px;
    position: relative;
    color: rgba(255,255,255,.80) !important;
}
.navbar-nav .nav-link:hover { color: #fff !important; background: hsl(var(--base) / .10); }

/* Active nav link — pill underline */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
    color: hsl(var(--base)) !important;
    background: hsl(var(--base) / .10);
}
.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: hsl(var(--base));
    border-radius: 2px;
}

/* ── Sell SMTP glow button ── */
.pm-sell-btn {
    background: hsl(var(--base)) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    min-height: 40px;
    animation: pm-pulse-ring 2.5s ease-out infinite;
    white-space: nowrap;
}
.pm-sell-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* ── User avatar circle ── */
.pm-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: hsl(var(--base));
    color: #000;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    flex-shrink: 0;
    line-height: 1;
    border: 2px solid hsl(var(--base) / .35);
}

/* ── User wallet balance chip ── */
.pm-balance-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: hsl(var(--base) / .12);
    border: 1px solid hsl(var(--base) / .3);
    border-radius: 99px;
    padding: 4px 12px;
    font-size: .78rem;
    font-weight: 700;
    color: hsl(var(--base));
    white-space: nowrap;
    cursor: default;
}

/* ── Dropdown toggle button ── */
.user-info__button {
    background: transparent;
    border: 1px solid hsl(var(--border-color) / .25);
    border-radius: 99px;
    padding: 4px 14px 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.88);
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.user-info__button:hover {
    border-color: hsl(var(--base) / .5);
    background: hsl(var(--base) / .08);
    color: #fff;
}

/* ── Premium dropdown card ── */
.user-info-dropdown {
    min-width: 230px;
    background: hsl(var(--section-bg));
    border: 1px solid hsl(var(--border-color) / .18);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.55);
    padding: 6px;
    list-style: none;
    margin: 0;
    animation: pm-fade-in .18s ease;
}
.user-info-dropdown__item { border-radius: 8px; overflow: hidden; }
.user-info-dropdown__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: hsl(var(--body-color));
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .15s ease;
}
.user-info-dropdown__link:hover,
.user-info-dropdown__link.active {
    background: hsl(var(--base) / .12);
    color: hsl(var(--base));
}
.user-info-dropdown__link .icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: hsl(var(--base) / .10);
    color: hsl(var(--base));
    font-size: 1rem;
    flex-shrink: 0;
    transition: background .15s ease;
}
.user-info-dropdown__link:hover .icon { background: hsl(var(--base) / .2); }

/* Dropdown divider — horizontal rule between sections */
.pm-dropdown-divider {
    height: 1px;
    background: hsl(var(--border-color) / .14);
    margin: 4px 10px;
}

/* ── Hamburger toggler ── */
.navbar-dark .navbar-toggler { border-color: rgba(255,255,255,.25); }
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Mobile drawer ── */
.user-dropdown-wrapper {
    border-left: 1px solid hsl(var(--border-color) / .14);
    background: hsl(var(--section-bg));
    box-shadow: -8px 0 48px rgba(0,0,0,.55);
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. FOOTER — Premium multi-column with gradient separator
───────────────────────────────────────────────────────────────────────────── */
.footer-area {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, hsl(var(--base) / .45), transparent) 1;
    position: relative;
}
.footer-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, hsl(var(--base)) 50%, transparent 100%);
}

/* Logo + tagline */
.footer-tagline {
    font-size: .84rem;
    color: rgba(255,255,255,.5);
    line-height: 1.65;
    margin-top: .75rem;
    max-width: 260px;
}

/* Column title */
.footer-column__title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 1rem;
}

/* Footer links */
.footer-column__links { list-style: none; padding: 0; margin: 0; }
.footer-column__links li { margin-bottom: .5rem; }
.footer-menu__link {
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-menu__link::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: hsl(var(--base));
    opacity: 0;
    transition: opacity .2s ease;
    flex-shrink: 0;
}
.footer-menu__link:hover { color: hsl(var(--base)); padding-left: 6px; }
.footer-menu__link:hover::before { opacity: 1; }

/* Social icon row */
.footer-social-row { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    text-decoration: none;
    transition: all .22s ease;
}
.footer-social-btn:hover {
    background: hsl(var(--base));
    border-color: hsl(var(--base));
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px hsl(var(--base) / .35);
}

/* Trust strip */
.footer-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}
.footer-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
}
.footer-trust-pill i { color: hsl(var(--base)); }

/* Newsletter row */
.pm-newsletter-row { display: flex; gap: 8px; margin-top: .5rem; }
.pm-newsletter-row .form-control {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    color: #fff;
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    font-size: .875rem;
}
.pm-newsletter-row .form-control::placeholder { color: rgba(255,255,255,.35); }
.pm-newsletter-row .form-control:focus {
    background: rgba(255,255,255,.09);
    border-color: hsl(var(--base) / .55);
    box-shadow: 0 0 0 3px hsl(var(--base) / .15);
    outline: none;
    color: #fff;
}

/* Bottom bar */
.bottom-footer {
    border-top: 1px solid rgba(255,255,255,.07);
}
.bottom-footer-text {
    font-size: .80rem;
    color: rgba(255,255,255,.35);
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. HERO BANNER — Animated gradient mesh
───────────────────────────────────────────────────────────────────────────── */
.banner-section {
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Floating gradient orb (replaces all the shape spans) */
.pm-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: pm-orb-float 12s ease-in-out infinite;
}
.pm-hero-orb--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, hsl(var(--base) / .22) 0%, transparent 70%);
    top: -120px; right: -80px;
    animation-delay: -4s;
}
.pm-hero-orb--2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, hsl(var(--base-two) / .18) 0%, transparent 70%);
    bottom: -100px; left: -60px;
    animation-delay: -8s;
}

/* Badge pill */
.banner-content__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: hsl(var(--base) / .12);
    border: 1px solid hsl(var(--base) / .3);
    color: hsl(var(--base));
    border-radius: 99px;
    padding: 5px 16px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: pm-badge-pulse 2.4s ease-in-out infinite;
}
.banner-content__badge::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: hsl(var(--base));
    flex-shrink: 0;
}

/* Hero title */
.banner-content__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    color: hsl(var(--heading-color));
    margin-bottom: .9rem;
}

/* Hero description */
.banner-content__desc {
    font-size: 1.05rem;
    color: hsl(var(--body-color));
    line-height: 1.7;
    max-width: 520px;
}

/* CTA buttons */
.banner-content__button { margin-top: 1.75rem; margin-bottom: 1.5rem; }

/* Trust pills (Verified / Secure / Instant) */
.banner-trust-pills { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.pm-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .03em;
    background: hsl(var(--base) / .08);
    border: 1px solid hsl(var(--base) / .22);
    color: hsl(var(--base));
}
.pm-trust-pill i { font-size: .85rem; }

/* Stats counter strip */
.pm-stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border-color) / .14);
}
.pm-stat-item {}
.pm-stat-item__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: hsl(var(--heading-color));
    line-height: 1;
}
.pm-stat-item__number span { color: hsl(var(--base)); }
.pm-stat-item__label {
    font-size: .76rem;
    color: hsl(var(--body-color));
    margin-top: .25rem;
    letter-spacing: .04em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. BREADCRUMB — Gradient overlay + eyebrow label
───────────────────────────────────────────────────────────────────────────── */
.breadcrumb {
    position: relative;
    overflow: hidden;
}
.breadcrumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 100%);
    z-index: 0;
}
.breadcrumb .container { position: relative; z-index: 1; }

.breadcrumb__eyebrow {
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: hsl(var(--base));
    display: block;
    margin-bottom: .35rem;
}
.breadcrumb__title {
    color: #fff !important;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.6) !important;
}

/* Breadcrumb nav trail */
.pm-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: .5rem;
    font-size: .78rem;
}
.pm-breadcrumb-nav a { color: rgba(255,255,255,.6); text-decoration: none; }
.pm-breadcrumb-nav a:hover { color: hsl(var(--base)); }
.pm-breadcrumb-nav span { color: rgba(255,255,255,.4); }
.pm-breadcrumb-nav .pm-bc-current { color: rgba(255,255,255,.8); }

/* ─────────────────────────────────────────────────────────────────────────────
   8. HOMEPAGE SECTIONS
───────────────────────────────────────────────────────────────────────────── */

/* ── Section heading improvements ── */
.section-heading__subtitle {
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: hsl(var(--base)) !important;
}

/* ── How It Works: step circles + connector ── */
.how-work { list-style: none; padding: 0; margin: 0; --step-counter: 0; }
.how-work li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    position: relative;
}
.how-work li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 42px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom, hsl(var(--base) / .35) 0, hsl(var(--base) / .35) 6px, transparent 6px, transparent 12px);
}
/* Step icons get a gradient circle */
.how-work__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--base)), hsl(var(--base-two)));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px hsl(var(--base) / .3);
}

/* ── Choose Us & Feature: gradient icon container ── */
.why-choose__icon,
.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--base) / .18), hsl(var(--base-two) / .18));
    border: 1px solid hsl(var(--base) / .22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    color: hsl(var(--base));
    transition: background .25s ease, box-shadow .25s ease;
}
.why-choose__item:hover .why-choose__icon,
.feature-icon-wrap:hover {
    background: linear-gradient(135deg, hsl(var(--base) / .30), hsl(var(--base-two) / .25));
    box-shadow: 0 6px 20px hsl(var(--base) / .25);
}
.why-choose__item { padding: 1.5rem; border-radius: 14px; border: 1px solid hsl(var(--border-color) / .10); transition: border-color .25s ease, transform .25s ease; }
.why-choose__item:hover { border-color: hsl(var(--base) / .3); transform: translateY(-3px); }

/* ── Blog cards ── */
.blog-item { border-radius: 12px; overflow: hidden; border: 1px solid hsl(var(--border-color) / .10); transition: border-color .25s ease, transform .25s ease; background: hsl(var(--section-bg)); }
.blog-item:hover { border-color: hsl(var(--base) / .3); transform: translateY(-3px); }
.blog-item__thumb-link { overflow: hidden; display: block; }
.blog-item__thumb-link img { transition: transform .4s ease; }
.blog-item:hover .blog-item__thumb-link img { transform: scale(1.04); }
.blog-item__content { padding: 1.2rem; }
.blog-item__category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    color: hsl(var(--base));
    margin-bottom: .6rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.blog-item__title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.45; }
.blog-item__title-link { color: hsl(var(--heading-color)); text-decoration: none; }
.blog-item__title-link:hover { color: hsl(var(--base)); }

/* Read More arrow animation */
.pm-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .80rem;
    font-weight: 700;
    color: hsl(var(--base));
    text-decoration: none;
}
.pm-read-more i { transition: transform .2s ease; }
.pm-read-more:hover i { transform: translateX(4px); }

/* ── Subscribe / CTA section ── */
.cta-section {
    background: linear-gradient(135deg, hsl(var(--base) / .12) 0%, hsl(var(--base-two) / .10) 100%);
    border: 1px solid hsl(var(--base) / .18);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '\f1d9';
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -10px;
    font-size: 9rem;
    color: hsl(var(--base) / .06);
    pointer-events: none;
    line-height: 1;
}
.cta-right__title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: hsl(var(--heading-color)); }
.cta-right__desc  { font-size: .9rem; color: hsl(var(--body-color)); }
.cta-left__desc   { font-size: .76rem; color: rgba(255,255,255,.4); }

/* ── Testimonials ── */
.testimonails-card { padding: 0 .5rem; }
.testimonial-item__content {
    background: hsl(var(--section-bg));
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}
.testimonial-item__content::before {
    content: '\f10e';
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 3rem;
    color: hsl(var(--base) / .12);
    line-height: 1;
}
.testimonial-item__thumb img { border-radius: 50%; border: 3px solid hsl(var(--base) / .4); }
.pm-testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid hsl(var(--base) / .4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--base) / .16);
    color: hsl(var(--heading-color));
    font-size: 1.05rem;
    font-weight: 800;
}
.rating-list { display: flex; gap: 3px; list-style: none; padding: 0; margin: 0 0 .75rem; }
.rating-list__item { color: hsl(45 100% 51%); font-size: .9rem; }

/* ── Category Cards ── */
.category-item {
    background: hsl(var(--section-bg));
    border: 1px solid hsl(var(--border-color) / .10);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    transition: all .25s ease;
    text-align: center;
}
.cate-outer { text-decoration: none; display: block; }
.category-item:hover {
    border-color: hsl(var(--base) / .4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.category-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, hsl(var(--base) / .18), hsl(var(--base-two) / .18));
    border: 1px solid hsl(var(--base) / .22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    padding: 0;
}
.category-thumb img { width: 36px; height: 36px; object-fit: contain; }
.cate-title { font-size: .875rem; font-weight: 700; color: hsl(var(--heading-color)); margin: 0; }
.cate-outer:hover .cate-title { color: hsl(var(--base)); }

/* ── Brand logos ── */
.client-logos img { filter: grayscale(1); opacity: .45; transition: all .3s ease; }
.client-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ── Top Accounts table ── */
.influential-profile-section .table thead th { font-size: .71rem; text-transform: uppercase; letter-spacing: .07em; }

/* ─────────────────────────────────────────────────────────────────────────────
   9. BROWSE PAGE — Filter bar + listings
───────────────────────────────────────────────────────────────────────────── */

/* Page heading */
.browse-page-heading {
    padding-bottom: .85rem;
    border-bottom: 1px solid hsl(var(--border-color) / .12);
}
.browse-page-heading__eyebrow {
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: hsl(var(--base));
    margin-bottom: .25rem;
}
.browse-page-heading__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: hsl(var(--heading-color));
    line-height: 1.15;
}
.browse-page-heading__count {
    font-size: .78rem;
    padding: 6px 14px;
    border-radius: 99px;
    white-space: nowrap;
    align-self: flex-end;
}

/* Filter bar field */
.filter-topbar__field select.form--control {
    min-width: 130px;
    cursor: pointer;
    appearance: auto;
}

/* SMTP table */
.smtp-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.smtp-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.smtp-table thead th {
    background: hsl(var(--body-bg));
    color: hsl(var(--body-color));
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 14px;
    border-bottom: 1px solid hsl(var(--border-color) / .14);
    white-space: nowrap;
}
.smtp-table tbody tr { transition: background .15s ease; }
.smtp-table tbody tr:hover { background: hsl(var(--section-bg)); }
.smtp-table tbody td {
    padding: 13px 14px;
    vertical-align: middle;
    border-bottom: 1px solid hsl(var(--border-color) / .09);
    font-size: .86rem;
    color: hsl(var(--body-color));
}
.smtp-table .td--title { font-weight: 600; color: hsl(var(--heading-color)); max-width: 220px; }
.smtp-table .td--title .listing-title-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smtp-table .td--actions { white-space: nowrap; }

/* Responsive table ↔ cards */
@media (min-width: 992px) {
    .smtp-table-wrapper { display: block; }
    .smtp-cards-wrapper  { display: none !important; }
}
@media (max-width: 991.98px) {
    .smtp-table-wrapper { display: none !important; }
    .smtp-cards-wrapper  { display: block; }
}

/* Mobile product cards — glassmorphic */
.product-item {
    background: hsl(var(--section-bg));
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: 14px;
    padding: 1rem;
    transition: border-color .22s ease, transform .22s ease;
}
.product-item:hover { border-color: hsl(var(--base) / .35); transform: translateY(-2px); }
.pm-flex-1 { flex: 1 1 0%; min-width: 0; }

/* ─────────────────────────────────────────────────────────────────────────────
   10. LISTING DETAIL PAGE
───────────────────────────────────────────────────────────────────────────── */

/* Spec list */
.list-group-flush .list-group-item {
    border-color: hsl(var(--border-color) / .10);
    font-size: .88rem;
}
.list-group-flush .list-group-item:nth-child(odd) {
    background: hsl(var(--base) / .03);
}

/* Action box */
.pm-action-box {
    background: hsl(var(--section-bg));
    border-radius: 12px;
    padding: 1.25rem 1.25rem;
    border: 1px solid hsl(var(--border-color) / .12);
}

/* Payment options */
.payment-options-wrapper { display: flex; flex-direction: column; gap: .65rem; }
.payment-options {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    border: 1px solid hsl(var(--border-color) / .14);
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}
.payment-options:hover { border-color: hsl(var(--base) / .45); background: hsl(var(--base) / .04); }
.payment-options.active { border-color: hsl(var(--base)); background: hsl(var(--base) / .08); }
.payment-options .active-badge {
    display: none;
    position: absolute;
    top: 8px; right: 10px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: hsl(var(--base));
    color: #000;
    font-size: .6rem;
    align-items: center;
    justify-content: center;
}
.payment-options.active .active-badge { display: flex; }

/* Payment icon */
.payment-options-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: hsl(var(--base) / .12);
    color: hsl(var(--base));
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: background .2s ease;
}
.payment-options.active .payment-options-icon { background: hsl(var(--base) / .22); }
.payment-options-content h4 { font-size: .9rem; font-weight: 700; color: hsl(var(--heading-color)); }
.payment-options-content p  { font-size: .78rem; color: hsl(var(--body-color)); margin: 0; line-height: 1.5; }

/* Compact payment picker (detail page) */
.pm-pay-option {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border-color) / .3);
    background: transparent;
    cursor: pointer;
    font-size: .82rem;
    color: hsl(var(--body-color));
    transition: border-color .18s, background .18s, color .18s;
    user-select: none;
}
.pm-pay-option:hover { border-color: hsl(var(--base) / .5); color: hsl(var(--base)); }
.pm-pay-option.active {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / .09);
    color: hsl(var(--base));
    font-weight: 600;
}
.pm-pay-option i { font-size: 1rem; }

/* Verified badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: hsl(var(--base) / .12);
    color: hsl(var(--base));
    border: 1px solid hsl(var(--base) / .28);
    border-radius: 4px;
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 7px;
    letter-spacing: .04em;
    vertical-align: middle;
}

/* ─────────────────────────────────────────────────────────────────────────────
   11. BADGES & PILLS
───────────────────────────────────────────────────────────────────────────── */

/* Health badges */
.badge--health-ok, .badge--health-error, .badge--health-unknown {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 20px; font-size: .68rem;
    font-weight: 700; white-space: nowrap; line-height: 1.6;
}
.badge--health-ok      { background: rgba(34,197,94,.13);  color: #22c55e; border: 1px solid rgba(34,197,94,.3); }
.badge--health-error   { background: rgba(239,68,68,.13);  color: #ef4444; border: 1px solid rgba(239,68,68,.3); }
.badge--health-unknown { background: rgba(156,163,175,.10); color: #9ca3af; border: 1px solid rgba(156,163,175,.2); }
.badge--health-ok::before    { content: "●"; font-size: .5rem; }
.badge--health-error::before { content: "●"; font-size: .5rem; }
.badge--health-unknown::before { content: "●"; font-size: .5rem; color: #6b7280; }

/* Star rating */
.star-rating { display: inline-flex; align-items: center; gap: 2px; color: hsl(45 100% 51%); font-size: .82rem; white-space: nowrap; }
.star-rating .star-count { color: hsl(var(--body-color)); font-size: .74rem; margin-left: 3px; }

/* Listing type pills */
.listing-type-pill {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: .68rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.listing-type-pill.fixed-price { background: rgba(59,130,246,.13); color: #60a5fa; border: 1px solid rgba(59,130,246,.28); }
.listing-type-pill.auction-type { background: rgba(245,158,11,.13); color: #f59e0b; border: 1px solid rgba(245,158,11,.28); }

/* ─────────────────────────────────────────────────────────────────────────────
   12. USER PAGES — Deposit / Withdraw / Profile
───────────────────────────────────────────────────────────────────────────── */

/* Gateway / payment option card */
.gateway-option {
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: 10px;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
    overflow: hidden;
}
.gateway-option:hover {
    border-color: hsl(var(--base) / .45);
    background: hsl(var(--base) / .03);
    transform: translateY(-1px);
}
.gateway-option:has(.gateway-input:checked) {
    border-color: hsl(var(--base));
    background: hsl(var(--base) / .08);
}

/* Chevron icons */
.las.la-angle-down { font-size: .9rem; }

/* User sidebar nav */
.user-sidebar .list-group-item {
    background: transparent;
    border-color: hsl(var(--border-color) / .10);
    color: hsl(var(--body-color));
    transition: color .15s ease, padding-left .15s ease;
}
.user-sidebar .list-group-item:hover,
.user-sidebar .list-group-item.active {
    color: hsl(var(--base));
    background: hsl(var(--base) / .08);
    padding-left: 1.4rem;
    border-color: transparent;
}

/* Profile sidebar */
.profile-setting__sidebar .setting-list__link { transition: color .15s ease, padding-left .15s ease; }
.profile-setting__sidebar .setting-list__item.active .setting-list__link,
.profile-setting__sidebar .setting-list__link:hover {
    color: hsl(var(--base));
    padding-left: 1.4rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   13. MODALS — Premium card treatment
───────────────────────────────────────────────────────────────────────────── */
.custom--modal .modal-content {
    border-radius: 16px;
    border: 1px solid hsl(var(--base) / .22);
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    overflow: hidden;
    animation: pm-fade-in .2s ease;
}
.custom--modal .modal-header {
    border-bottom: 1px solid hsl(var(--border-color) / .14);
    background: hsl(var(--section-bg));
}
.custom--modal .modal-footer { border-top: 1px solid hsl(var(--border-color) / .14); }

/* ─────────────────────────────────────────────────────────────────────────────
   14. GLOBAL ELEMENTS — Scroll-top, Cookie, Preloader, Sid
───────────────────────────────────────────────────────────────────────────── */

/* Scroll to top */
.scroll-top {
    border-radius: 10px !important;
    background: hsl(var(--base)) !important;
    color: #000 !important;
    box-shadow: 0 4px 16px hsl(var(--base) / .4) !important;
}

/* Cookie banner */
.cookies-card {
    border-radius: 16px !important;
    border: 1px solid hsl(var(--base) / .22) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.55) !important;
}

/* Bid button */
.bid-now-btn.btn--base.outline,
.bid-now-btn.btn--base.outline:hover,
.bid-now-btn.btn--base.outline:focus {
    background-color: transparent !important;
    border: 1px solid hsl(var(--base)) !important;
    color: hsl(var(--base)) !important;
}

/* Mobile: keep action buttons from stacking badly */
@media (max-width: 450px) {
    .product-item__button .buyer-card-test-btn,
    .product-item__button .buyer-card-send-btn {
        width: auto !important; margin-top: 0 !important; flex-shrink: 0;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   15. SELLER LISTING MANAGEMENT
───────────────────────────────────────────────────────────────────────────── */
/* Consistent spacing in action btn groups */
.btn i + span, .btn span + i { margin-left: 3px; }

/* ─────────────────────────────────────────────────────────────────────────────
   16. SESSION 043 — HOMEPAGE FULL MODERNIZATION OVERRIDES
───────────────────────────────────────────────────────────────────────────── */

/* Homepage vertical rhythm */
.banner-section,
.category-main,
.why-choose-section,
.account-sell-section,
.how-work-section,
.influential-profile-section,
.testimonials,
.blog {
    position: relative;
}

.section-heading__title {
    letter-spacing: -.01em;
    line-height: 1.18;
}

/* Hero */
.pm-hero-thumb-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid hsl(var(--border-color) / .16);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .28);
}

.pm-hero-float-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: hsl(var(--body-bg) / .86);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(var(--base) / .26);
}

.pm-hero-float-card__icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    background: hsl(var(--base) / .18);
    color: hsl(var(--base));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pm-hero-float-card__title {
    font-size: .8rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
}

.pm-hero-float-card__desc {
    font-size: .72rem;
    color: hsl(var(--body-color));
    opacity: .85;
}

/* Generic homepage cards */
.pm-home-card {
    background: hsl(var(--section-bg));
}

.pm-home-card__icon i {
    font-size: 1.5rem;
}

.pm-home-card__title {
    color: hsl(var(--heading-color));
    font-size: 1.08rem;
    margin-bottom: .5rem;
}

/* Category cards */
.pm-category-link {
    height: 100%;
}

.pm-category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
}

.pm-category-thumb-icon i {
    font-size: 1.5rem;
    color: hsl(var(--base));
}

.pm-category-count {
    font-size: .74rem;
    font-weight: 600;
    color: hsl(var(--body-color));
    opacity: .8;
}

/* How it works step numbers */
.pm-how-step {
    position: relative;
}

.pm-how-step::before {
    content: attr(data-step);
    position: absolute;
    right: 0;
    top: -2px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: hsl(var(--base));
    opacity: .7;
}

/* Top auction table */
.pm-top-table-wrap {
    background: hsl(var(--section-bg));
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: 14px;
    padding: 8px 10px 2px;
}

.pm-top-table thead th {
    border-bottom: 1px solid hsl(var(--border-color) / .16);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.pm-top-table tbody td {
    border-bottom: 1px solid hsl(var(--border-color) / .08);
    vertical-align: middle;
}

.pm-top-bid-btn {
    min-height: 38px;
    padding: .4rem .85rem;
    border-radius: 8px;
}

/* Testimonial */
.pm-testimonial-quote {
    position: absolute;
    right: 1rem;
    top: .9rem;
    color: hsl(var(--base) / .35);
    font-size: 2.2rem;
}

/* Subscribe */
.pm-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: hsl(var(--base));
    margin-bottom: .65rem;
}

.pm-subscribe-input-group .form-control {
    border-radius: 10px 0 0 10px;
    min-height: 44px;
}

.pm-subscribe-input-group .btn {
    border-radius: 0 10px 10px 0;
    min-height: 44px;
    font-weight: 700;
}

/* Brand logos */
.pm-brand-logo {
    height: 74px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border-color) / .10);
    border-radius: 12px;
    margin: 0 8px;
    background: hsl(var(--section-bg));
}

.pm-brand-logo img {
    max-height: 34px;
    width: auto;
}

/* Homepage pulse strip */
.pm-market-pulse {
    padding: 0 0 22px;
}

.pm-market-pulse__inner {
    border: 1px solid hsl(var(--border-color) / .14);
    background: linear-gradient(95deg, hsl(var(--section-bg)) 0%, hsl(var(--base) / .06) 100%);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pm-market-pulse__kicker {
    display: inline-flex;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: hsl(var(--base));
    margin-bottom: 4px;
}

.pm-market-pulse__copy p {
    font-size: .85rem;
    color: hsl(var(--body-color));
}

.pm-market-pulse__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* User page context chips */
.pm-user-context {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-user-context__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid hsl(var(--border-color) / .2);
    background: hsl(var(--section-bg));
    padding: 6px 12px;
    font-size: .76rem;
    font-weight: 600;
    color: hsl(var(--body-color));
}

.pm-user-context__chip i {
    color: hsl(var(--base));
    font-size: .9rem;
}

/* Browse table enhancements */
.pm-smtp-type-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 1px solid hsl(var(--base) / .25);
    background: hsl(var(--base) / .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: hsl(var(--base));
    font-size: 1rem;
}

.pm-smtp-type-avatar i {
    font-size: 1.15rem;
    line-height: 1;
}

.pm-smtp-type-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Seller profile page */
.pm-seller-avatar-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid hsl(var(--base) / .35);
}

.pm-seller-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Listing detail pricing summary */
.pm-price-summary {
    background: hsl(var(--section-bg));
    border-radius: 10px;
    padding: 16px;
    border: 1px solid hsl(var(--border-color) / .10);
}

.pm-price-summary__label {
    font-size: .72rem;
    opacity: .6;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pm-price-summary__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
}

.pm-price-summary__highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--base));
}

.pm-price-summary__muted {
    font-size: .85rem;
    opacity: .6;
}

.pm-price-summary__hero {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--base));
}

/* User table wrapper consistency */
.pm-user-table-card {
    border: 1px solid hsl(var(--border-color) / .14);
}

/* Compliance notice on browse */
.pm-policy-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid hsl(var(--base) / .2);
    background: hsl(var(--base) / .08);
    color: hsl(var(--body-color));
    font-size: .83rem;
    line-height: 1.45;
}

.pm-policy-alert i {
    font-size: 1rem;
    color: hsl(var(--base));
    margin-top: 2px;
}

.filter-topbar__dropdown-btn.is-active {
    border-color: hsl(var(--base) / .45);
    box-shadow: 0 0 0 2px hsl(var(--base) / .12) inset;
}

/* Mobile-specific cleanup for homepage */
@media (max-width: 767.98px) {
    .banner-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .banner-content__title {
        font-size: clamp(1.7rem, 8.5vw, 2.2rem);
    }

    .pm-stats-strip {
        gap: 1rem;
        padding-top: 1.2rem;
    }

    .pm-stat-item__number {
        font-size: 1.3rem;
    }

    .cta-section {
        border-radius: 14px;
        padding: 1.5rem 1rem;
    }

    .pm-top-table-wrap {
        padding: 8px 6px 2px;
    }

    .pm-market-pulse {
        padding-bottom: 16px;
    }

    .pm-market-pulse__inner {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================================================================
   PHASE 2 — GLOBAL COMPONENT REDESIGN
   Sections: Card System · Chip/Badge System · Forms · Empty State ·
             Auth Split Panel · Stat Cards · Sidebar · Blog · Pagination ·
             Dashboard Shell · Mobile Polish
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   P2-1. CARD SYSTEM — 3-tier elevation model
───────────────────────────────────────────────────────────────────────────── */
.pm-card {
    background: var(--layer-1);
    border: 1px solid hsl(var(--border-color) / .10);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
}
.pm-card--raised {
    background: var(--layer-2);
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    position: relative;
}
.pm-card--raised::before {
    content: '';
    position: absolute;
    top: 0; left: 12px; right: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--base) / .22), transparent);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.pm-card--glass {
    background: hsl(var(--section-bg) / .65);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid hsl(var(--border-color) / .15);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
}

/* Map custom--card shell to pm-card look */
.custom--card {
    background: var(--layer-1) !important;
    border: 1px solid hsl(var(--border-color) / .12) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--shadow-sm) !important;
}
.custom--card .card-header {
    background: var(--layer-2) !important;
    border-bottom: 1px solid hsl(var(--border-color) / .12) !important;
    border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0 !important;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-2. CHIP / BADGE SYSTEM — semantic colour palette
───────────────────────────────────────────────────────────────────────────── */
.pm-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .70rem;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    line-height: 1.6;
    background: var(--layer-2);
    color: hsl(var(--body-color));
    border: 1px solid hsl(var(--border-color) / .14);
}
.pm-chip--green {
    background: rgba(0,200,100,.11);
    color: #22c55e;
    border-color: rgba(34,197,94,.25);
}
.pm-chip--amber {
    background: rgba(245,158,11,.12);
    color: #f59e0b;
    border-color: rgba(245,158,11,.28);
}
.pm-chip--sky {
    background: rgba(14,165,233,.12);
    color: #38bdf8;
    border-color: rgba(14,165,233,.28);
}
.pm-chip--rose {
    background: rgba(239,68,68,.11);
    color: #f87171;
    border-color: rgba(239,68,68,.25);
}
.pm-chip--gray {
    background: rgba(156,163,175,.10);
    color: #9ca3af;
    border-color: rgba(156,163,175,.20);
}
/* Dot prefix helper */
.pm-chip--dot::before {
    content: '●';
    font-size: .45rem;
    line-height: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-3. FORM INPUT — Focus ring & placeholder refinement
───────────────────────────────────────────────────────────────────────────── */
.form--control,
.form-control,
.form--select,
.form-select {
    background: hsl(var(--body-bg)) !important;
    border: 1.5px solid hsl(var(--border-color) / .60) !important;
    border-radius: 8px !important;
    color: hsl(var(--heading-color)) !important;
    padding: 10px 14px !important;
    font-size: .875rem !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}
.form--control::placeholder,
.form-control::placeholder {
    color: hsl(var(--body-color) / .55) !important;
}
.form--control:focus,
.form-control:focus,
.form--select:focus,
.form-select:focus {
    border-color: hsl(var(--base) / .75) !important;
    box-shadow: 0 0 0 3px hsl(var(--base) / .14) !important;
    outline: none !important;
    background: hsl(var(--body-bg)) !important;
    color: hsl(var(--heading-color)) !important;
}

/* Form label */
.form--label,
label.form--label {
    font-size: .80rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: hsl(var(--body-color));
    margin-bottom: .375rem;
}

/* Input group: prefix icon */
.pm-input-icon-group {
    position: relative;
}
.pm-input-icon-group .form--control,
.pm-input-icon-group .form-control {
    padding-left: 40px !important;
}
.pm-input-icon-group .pm-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--body-color));
    font-size: 1.05rem;
    pointer-events: none;
    transition: color .2s ease;
}
.pm-input-icon-group:focus-within .pm-input-icon {
    color: hsl(var(--base));
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-4. EMPTY STATE — illustrated placeholder
───────────────────────────────────────────────────────────────────────────── */
.pm-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    text-align: center;
}
.pm-empty-state__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: hsl(var(--base) / .10);
    border: 1px solid hsl(var(--base) / .20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: hsl(var(--base));
    margin-bottom: 1.5rem;
}
.pm-empty-state__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    margin-bottom: .5rem;
}
.pm-empty-state__desc {
    font-size: .875rem;
    color: hsl(var(--body-color));
    max-width: 340px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-5. AUTH SPLIT PANEL — Login / Register
───────────────────────────────────────────────────────────────────────────── */
.auth-split-section {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Left brand panel */
.auth-split__brand {
    flex: 0 0 42%;
    background:
        radial-gradient(ellipse at 30% 20%, hsl(var(--base) / .18) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, hsl(var(--base-two) / .14) 0%, transparent 55%),
        hsl(var(--body-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    border-right: 1px solid hsl(var(--border-color) / .12);
    position: relative;
    overflow: hidden;
}
/* Decorative grid overlay */
.auth-split__brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(hsl(var(--base) / .04) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--base) / .04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.auth-split__brand-inner {
    position: relative;
    z-index: 1;
    max-width: 380px;
}
.auth-split__logo {
    display: inline-block;
    margin-bottom: 2.5rem;
}
.auth-split__logo img { max-height: 44px; }
.auth-split__heading {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: hsl(var(--heading-color));
    line-height: 1.2;
    margin-bottom: 1rem;
}
.auth-split__tagline {
    font-size: .9rem;
    color: hsl(var(--body-color));
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* Trust bullets inside brand panel */
.auth-trust-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.auth-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    font-weight: 600;
    color: hsl(var(--body-color));
}
.auth-trust-list li i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: hsl(var(--base) / .14);
    border: 1px solid hsl(var(--base) / .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--base));
    font-size: 1rem;
    flex-shrink: 0;
}

/* Right form panel */
.auth-split__form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: hsl(var(--body-bg));
    overflow-y: auto;
}
.auth-split__form-inner {
    width: 100%;
    max-width: 440px;
}

/* Mobile: hide brand panel, form fills screen */
@media (max-width: 900px) {
    .auth-split__brand { display: none; }
    .auth-split-section { min-height: auto; }
    .auth-split__form { padding: 2rem 1.25rem; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-6. STAT CARDS — Dashboard metrics grid
───────────────────────────────────────────────────────────────────────────── */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.4rem;
    background: var(--layer-1);
    border: 1px solid hsl(var(--border-color) / .12);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all .22s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--base) / .5), hsl(var(--base-two) / .5));
    opacity: 0;
    transition: opacity .22s ease;
}
.stat-card:hover {
    border-color: hsl(var(--base) / .32);
    box-shadow: var(--shadow-md), 0 0 0 1px hsl(var(--base) / .10);
    transform: translateY(-2px);
}
.stat-card:hover::after { opacity: 1; }
.stat-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(var(--base) / .18), hsl(var(--base-two) / .14));
    border: 1px solid hsl(var(--base) / .20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: hsl(var(--base));
    transition: background .22s ease, transform .22s ease;
}
.stat-card:hover .stat-card__icon {
    background: linear-gradient(135deg, hsl(var(--base) / .28), hsl(var(--base-two) / .22));
    transform: scale(1.06);
}
.stat-card__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: hsl(var(--heading-color));
    line-height: 1.1;
    letter-spacing: -.02em;
}
.stat-card__label {
    font-size: .74rem;
    color: hsl(var(--body-color));
    margin-top: .2rem;
    font-weight: 500;
    letter-spacing: .02em;
}

/* Colour variants for different stat types */
.stat-card--amber .stat-card__icon {
    background: linear-gradient(135deg, hsl(var(--amber) / .18), hsl(var(--amber) / .10));
    border-color: hsl(var(--amber) / .20);
    color: hsl(var(--amber));
}
.stat-card--sky .stat-card__icon {
    background: linear-gradient(135deg, hsl(var(--sky) / .18), hsl(var(--sky) / .10));
    border-color: hsl(var(--sky) / .20);
    color: hsl(var(--sky));
}
.stat-card--rose .stat-card__icon {
    background: linear-gradient(135deg, hsl(var(--rose) / .18), hsl(var(--rose) / .10));
    border-color: hsl(var(--rose) / .20);
    color: hsl(var(--rose));
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-7. DASHBOARD SIDEBAR — Professional nav with icons and active pill
───────────────────────────────────────────────────────────────────────────── */

/* Profile sidebar (profile settings section) */
.profile-setting__sidebar {
    background: var(--layer-1);
    border: 1px solid hsl(var(--border-color) / .12);
    border-radius: var(--radius-card);
    padding: .5rem;
    box-shadow: var(--shadow-sm);
}
.setting-list { list-style: none; padding: 0; margin: 0; }
.setting-list__item { margin-bottom: 2px; }
.setting-list__link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: hsl(var(--body-color));
    text-decoration: none;
    transition: all .18s ease;
}
.setting-list__link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.setting-list__link:hover {
    background: hsl(var(--base) / .08);
    color: hsl(var(--base));
    padding-left: 14px;
}
.setting-list__item.active .setting-list__link {
    background: hsl(var(--base) / .14);
    color: hsl(var(--base));
    font-weight: 700;
    padding-left: 14px;
    border: 1px solid hsl(var(--base) / .22);
}

/* User sidebar (listing/bid/deposit nav) */
.user-sidebar {
    background: var(--layer-1);
    border: 1px solid hsl(var(--border-color) / .12);
    border-radius: var(--radius-card);
    padding: .5rem;
    box-shadow: var(--shadow-sm);
}
.user-sidebar .list-group { border-radius: 0; }
.user-sidebar .list-group-item {
    background: transparent !important;
    border-color: transparent !important;
    border-radius: 8px !important;
    margin-bottom: 2px;
    color: hsl(var(--body-color)) !important;
    font-size: .85rem;
    font-weight: 600;
    padding: 9px 12px !important;
    display: flex !important;
    align-items: center;
    gap: 9px;
    transition: all .18s ease !important;
}
.user-sidebar .list-group-item i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.user-sidebar .list-group-item:hover {
    background: hsl(var(--base) / .08) !important;
    color: hsl(var(--base)) !important;
    padding-left: 16px !important;
}
.user-sidebar .list-group-item.active {
    background: hsl(var(--base) / .14) !important;
    color: hsl(var(--base)) !important;
    border: 1px solid hsl(var(--base) / .22) !important;
    padding-left: 16px !important;
}

/* Profile header bar */
.profile-setting__header {
    background: var(--layer-2);
    border: 1px solid hsl(var(--border-color) / .12);
    border-radius: var(--radius-card);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.profile-setting__thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid hsl(var(--base) / .35);
    flex-shrink: 0;
}
.profile-setting__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-setting__header-title {
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--heading-color));
    margin: 0 0 .25rem !important;
}
.profile-setting__header-title .text {
    color: hsl(var(--base));
    font-weight: 600;
}
.profile-setting__desc {
    font-size: .78rem;
    color: hsl(var(--body-color));
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-8. BLOG CARD — Enhanced with excerpt and read-time
───────────────────────────────────────────────────────────────────────────── */
.blog-item__excerpt {
    font-size: .82rem;
    color: hsl(var(--body-color));
    line-height: 1.55;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-item__read-time {
    font-size: .72rem;
    font-weight: 600;
    color: hsl(var(--body-color));
    opacity: .7;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Blog list page hero */
.pm-blog-hero {
    padding: 3.5rem 0 2.5rem;
}
.pm-blog-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: hsl(var(--base));
    margin-bottom: .65rem;
}
.pm-blog-hero__kicker::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: hsl(var(--base));
    flex-shrink: 0;
}
.pm-blog-hero__title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: hsl(var(--heading-color));
    line-height: 1.15;
    margin-bottom: .65rem;
}
.pm-blog-hero__desc {
    font-size: .95rem;
    color: hsl(var(--body-color));
    max-width: 500px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-9. PAGINATION — Pill-style professional pagination
───────────────────────────────────────────────────────────────────────────── */
.pagination {
    gap: 4px;
    flex-wrap: wrap;
}
.page-item .page-link {
    background: var(--layer-1) !important;
    border: 1px solid hsl(var(--border-color) / .16) !important;
    border-radius: 8px !important;
    color: hsl(var(--body-color)) !important;
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem .85rem;
    transition: all .18s ease;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-item .page-link:hover {
    background: hsl(var(--base) / .12) !important;
    border-color: hsl(var(--base) / .35) !important;
    color: hsl(var(--base)) !important;
}
.page-item.active .page-link {
    background: hsl(var(--base)) !important;
    border-color: hsl(var(--base)) !important;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px hsl(var(--base) / .35);
}
.page-item.disabled .page-link {
    opacity: .4;
    cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-10. ALERT BANNER — replaces raw Bootstrap alert for KYC/notice blocks
───────────────────────────────────────────────────────────────────────────── */
.pm-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: .875rem;
}
.pm-alert-banner--warning {
    background: hsl(var(--amber) / .10);
    border: 1px solid hsl(var(--amber) / .28);
    color: hsl(var(--heading-color));
}
.pm-alert-banner--warning .pm-alert-banner__icon { color: hsl(var(--amber)); }
.pm-alert-banner--info {
    background: hsl(var(--sky) / .10);
    border: 1px solid hsl(var(--sky) / .28);
    color: hsl(var(--heading-color));
}
.pm-alert-banner--info .pm-alert-banner__icon { color: hsl(var(--sky)); }
.pm-alert-banner--danger {
    background: hsl(var(--rose) / .10);
    border: 1px solid hsl(var(--rose) / .28);
    color: hsl(var(--heading-color));
}
.pm-alert-banner--danger .pm-alert-banner__icon { color: hsl(var(--rose)); }
.pm-alert-banner__icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pm-alert-banner__body { flex: 1 1 0%; }
.pm-alert-banner__title { font-weight: 700; margin-bottom: .25rem; }

/* ─────────────────────────────────────────────────────────────────────────────
   P2-11. TABLE ENHANCEMENTS — Horizontal scroll hint + improved headers
───────────────────────────────────────────────────────────────────────────── */
.table-responsive {
    position: relative;
}
/* Fade hint on right edge when table overflows */
.table-responsive::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(to right, transparent, hsl(var(--body-bg) / .85));
    pointer-events: none;
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.table thead th {
    font-size: .70rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: hsl(var(--body-color)) !important;
    padding: 12px 16px !important;
    background: var(--layer-2) !important;
    border-bottom: 1px solid hsl(var(--border-color) / .14) !important;
    white-space: nowrap;
}
.table tbody tr td {
    padding: 13px 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid hsl(var(--border-color) / .08) !important;
    font-size: .875rem;
}
.table tbody tr {
    transition: background .14s ease;
}
.table tbody tr:hover {
    background: hsl(var(--base) / .03);
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-12. HOMEPAGE: Section depth layering
   Every other section gets a slightly lifted layer-1 background
   to create visual rhythm and eliminate the flat look.
───────────────────────────────────────────────────────────────────────────── */
.pm-homepage-shell > section:nth-child(even),
.pm-homepage-shell > .why-choose-section,
.pm-homepage-shell > .influential-profile-section {
    background: var(--layer-1);
}

/* Consistent section padding */
.category-main,
.why-choose-section,
.account-sell-section,
.how-work-section,
.influential-profile-section,
.testimonials,
.blog {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-13. LISTING DETAIL — Sticky bid panel
───────────────────────────────────────────────────────────────────────────── */
.pm-sticky-bid-panel {
    position: sticky;
    top: 82px;
    background: var(--layer-1);
    border: 1px solid hsl(var(--border-color) / .14);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}
.pm-sticky-bid-panel .pm-price-label {
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: hsl(var(--body-color));
    margin-bottom: .35rem;
}
.pm-sticky-bid-panel .pm-price-hero {
    font-size: 2.1rem;
    font-weight: 800;
    color: hsl(var(--base));
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 1.25rem;
}
/* Trust row inside bid panel */
.pm-bid-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border-color) / .10);
}
.pm-bid-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .70rem;
    font-weight: 600;
    color: hsl(var(--body-color));
    opacity: .8;
}
.pm-bid-trust-pill i { color: hsl(var(--base)); font-size: .9rem; }

/* Spec grid inside details page */
.pm-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: hsl(var(--border-color) / .12);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid hsl(var(--border-color) / .12);
}
.pm-spec-cell {
    background: var(--layer-1);
    padding: .85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.pm-spec-cell__label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: hsl(var(--body-color));
    opacity: .7;
}
.pm-spec-cell__value {
    font-size: .88rem;
    font-weight: 600;
    color: hsl(var(--heading-color));
}
@media (max-width: 575px) {
    .pm-spec-grid { grid-template-columns: 1fr; }
    .pm-sticky-bid-panel { position: static; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-14. DASHBOARD SECTION — Visual hierarchy
───────────────────────────────────────────────────────────────────────────── */
.dashboard-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.dashboard-body { margin-top: 2rem; }
.dashboard-body h5 {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: hsl(var(--body-color));
    margin-bottom: 1rem !important;
    padding-bottom: .65rem;
    border-bottom: 1px solid hsl(var(--border-color) / .12);
}

/* ─────────────────────────────────────────────────────────────────────────────
   P2-15. MOBILE — Final responsive polish
───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .stat-card {
        padding: 1rem 1rem;
    }
    .stat-card__icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.25rem;
    }
    .stat-card__value { font-size: 1.15rem; }
    .pm-sticky-bid-panel { position: static; margin-top: 1.5rem; }
    .pm-spec-grid { grid-template-columns: 1fr 1fr; }
    .profile-setting__header { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .pm-blog-hero { padding: 2rem 0 1.5rem; }
    .dashboard-section { padding-top: 2rem; padding-bottom: 2rem; }
    .auth-split__form { padding: 1.5rem 1rem; }
}
@media (max-width: 575.98px) {
    .pm-spec-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   P3 — SELLER HERO, WIZARD STEPS, CHAT BUBBLES, KYC HEADER
   ============================================================ */

/* P3-1  Seller Hero Band
─────────────────────────────────────────────────────────────── */
.pm-seller-hero {
    background: var(--layer-1);
    border: 1px solid hsl(var(--base) / .12);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.pm-seller-hero__inner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.pm-seller-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.pm-seller-hero__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid hsl(var(--base) / .35);
    box-shadow: var(--shadow-md);
    display: block;
}
.pm-seller-hero__avatar-init {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--base)), hsl(var(--base) / .55));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #000;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}
.pm-seller-hero__body {
    flex: 1 1 200px;
}
.pm-seller-hero__username {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .2rem;
    line-height: 1.2;
}
.pm-seller-hero__tagline {
    color: hsl(var(--body-color) / .55);
    font-size: .8125rem;
    margin-bottom: .7rem;
}
.pm-seller-hero__rating {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .875rem;
}
.pm-seller-hero__rating .las { font-size: 1rem; }
.pm-seller-hero__rating .text--warning { color: hsl(var(--amber)) !important; }
.pm-seller-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-left: auto;
    padding-left: 1.5rem;
    border-left: 1px solid hsl(var(--border-color));
}
.pm-seller-stat {
    text-align: center;
    min-width: 72px;
}
.pm-seller-stat__value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: hsl(var(--base));
    line-height: 1.1;
}
.pm-seller-stat__label {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: hsl(var(--body-color) / .5);
    margin-top: .2rem;
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .pm-seller-hero { padding: 1.5rem 1rem; }
    .pm-seller-hero__stats {
        gap: 1.25rem;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid hsl(var(--border-color));
        padding-top: 1rem;
        width: 100%;
        justify-content: space-around;
    }
    .pm-seller-stat__value { font-size: 1.1rem; }
}

/* P3-2  Wizard Progress Steps
─────────────────────────────────────────────────────────────── */
.pm-wizard {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 1.5rem 2rem;
    background: var(--layer-1);
    border-radius: var(--radius-card);
    gap: .5rem;
}
.pm-wizard::before {
    content: '';
    position: absolute;
    top: calc(1.5rem + 18px);
    left: calc(2rem + 40px);
    right: calc(2rem + 40px);
    height: 2px;
    background: hsl(var(--border-color));
    z-index: 0;
}
.pm-wizard__line-fill {
    position: absolute;
    top: calc(1.5rem + 18px);
    left: calc(2rem + 40px);
    height: 2px;
    background: hsl(var(--base));
    z-index: 1;
    transition: width .4s ease;
}
.pm-wizard__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    flex: 1;
    position: relative;
    z-index: 2;
}
.pm-wizard__step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    background: var(--layer-2);
    color: hsl(var(--body-color) / .4);
    border: 2px solid hsl(var(--border-color));
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.pm-wizard__step-label {
    font-size: .7rem;
    text-align: center;
    color: hsl(var(--body-color) / .45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .045em;
    transition: color .2s;
    line-height: 1.3;
    max-width: 70px;
}
.pm-wizard__step.is-active .pm-wizard__step-num {
    background: hsl(var(--base));
    border-color: hsl(var(--base));
    color: #000;
    box-shadow: 0 0 0 4px hsl(var(--base) / .18);
}
.pm-wizard__step.is-active .pm-wizard__step-label {
    color: hsl(var(--base));
}
.pm-wizard__step.is-done .pm-wizard__step-num {
    background: hsl(var(--base) / .12);
    border-color: hsl(var(--base));
    color: hsl(var(--base));
}
.pm-wizard__step.is-done .pm-wizard__step-label {
    color: hsl(var(--base) / .75);
}
@media (max-width: 575.98px) {
    .pm-wizard { padding: 1rem .75rem; }
    .pm-wizard::before { top: calc(1rem + 15px); left: calc(.75rem + 30px); right: calc(.75rem + 30px); }
    .pm-wizard__step-num { width: 30px; height: 30px; font-size: .72rem; }
    .pm-wizard__step-label { font-size: .62rem; max-width: 54px; }
}

/* P3-3  Chat Bubbles
─────────────────────────────────────────────────────────────── */
.pm-chat-thread {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    max-height: 560px;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.pm-chat-thread::-webkit-scrollbar { width: 4px; }
.pm-chat-thread::-webkit-scrollbar-thumb { background: hsl(var(--base) / .25); border-radius: 2px; }
.pm-chat-bubble-row {
    display: flex;
    align-items: flex-end;
    gap: .7rem;
    max-width: 78%;
}
.pm-chat-bubble-row--user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.pm-chat-bubble-row--staff {
    align-self: flex-start;
}
.pm-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
    background: linear-gradient(135deg, hsl(var(--base)), hsl(var(--base) / .55));
    color: #000;
}
.pm-chat-avatar--staff {
    background: linear-gradient(135deg, hsl(var(--sky)), hsl(var(--sky) / .6));
    color: #fff;
}
.pm-chat-bubble__wrap {
    display: flex;
    flex-direction: column;
}
.pm-chat-bubble {
    padding: .65rem 1rem;
    border-radius: 16px;
    font-size: .875rem;
    line-height: 1.55;
    word-break: break-word;
}
.pm-chat-bubble-row--user .pm-chat-bubble {
    background: hsl(var(--base));
    color: #000;
    border-bottom-right-radius: 4px;
}
.pm-chat-bubble-row--staff .pm-chat-bubble {
    background: var(--layer-2);
    border: 1px solid hsl(var(--border-color));
    border-bottom-left-radius: 4px;
}
.pm-chat-bubble__meta {
    font-size: .68rem;
    color: hsl(var(--body-color) / .4);
    margin-top: .3rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.pm-chat-bubble-row--user .pm-chat-bubble__meta { justify-content: flex-end; }
.pm-chat-bubble__attachments {
    margin-top: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.pm-chat-attach-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .6rem;
    border-radius: var(--radius-pill);
    background: hsl(var(--base) / .1);
    color: hsl(var(--base));
    font-size: .75rem;
    text-decoration: none;
    border: 1px solid hsl(var(--base) / .22);
    transition: background .15s;
}
.pm-chat-attach-link:hover { background: hsl(var(--base) / .2); color: hsl(var(--base)); }
.pm-chat-attach-link--staff {
    background: hsl(var(--sky) / .1);
    color: hsl(var(--sky));
    border-color: hsl(var(--sky) / .22);
}
.pm-chat-attach-link--staff:hover { background: hsl(var(--sky) / .2); color: hsl(var(--sky)); }
.pm-chat-reply-box {
    border-top: 1px solid hsl(var(--border-color));
    padding: 1.25rem 1.5rem;
    background: var(--layer-1);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}
@media (max-width: 575.98px) {
    .pm-chat-bubble-row { max-width: 92%; }
    .pm-chat-thread { padding: 1rem; }
}

/* P3-4  KYC Header
─────────────────────────────────────────────────────────────── */
.pm-kyc-header {
    background: linear-gradient(135deg, hsl(var(--base) / .07), hsl(var(--section-bg)));
    border: 1px solid hsl(var(--base) / .18);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.pm-kyc-header__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--base) / .18), hsl(var(--base) / .06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: hsl(var(--base));
    flex-shrink: 0;
    border: 1px solid hsl(var(--base) / .2);
}
.pm-kyc-header__body {}
.pm-kyc-header__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
}
.pm-kyc-header__desc {
    font-size: .8125rem;
    color: hsl(var(--body-color) / .6);
    margin: 0;
    line-height: 1.55;
}
.pm-kyc-steps {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .75rem;
}
.pm-kyc-step-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    border-radius: var(--radius-pill);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    background: hsl(var(--base) / .1);
    color: hsl(var(--base));
    border: 1px solid hsl(var(--base) / .2);
}

/* ============================================================
   P4 — PHASE A+B: CONSISTENCY, HERO WIDGET, PLATFORM STATS
   ============================================================ */

/* P4-1  Global Consistency Pass
─────────────────────────────────────────────────────────────── */
/* Section heading title: full opacity (override the 0.7 in main.css) */
.section-heading__title {
    color: hsl(var(--heading-color)) !important;
}
/* Section heading kicker: fixed size so it doesn't inherit fs-18 chain */
.section-heading__subtitle {
    font-size: .735rem !important;
    letter-spacing: .09em !important;
    font-weight: 700 !important;
}

/* Buttons: flex-row with centred icon+text, standardised heights */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .35rem !important;
    white-space: nowrap;
}
.btn > i, .btn > .las, .btn > .lab {
    font-size: 1.05em;
    line-height: 1;
    flex-shrink: 0;
}
.btn:not(.btn--sm):not(.btn--lg) { height: 44px; }
.btn--sm { height: 34px !important; font-size: .8125rem; }
.btn--lg { height: 52px !important; }

/* Nav links: consistent weight */
.navbar-nav .nav-link { font-size: .9375rem; font-weight: 500; }

/* Feature / category card icons: uniform sizes */
.pm-home-card__icon i,
.why-choose__icon i          { font-size: 1.5rem; line-height: 1; }
.pm-category-thumb-icon i    { font-size: 1.85rem; line-height: 1; }
.stat-card__icon i           { font-size: 1.45rem; line-height: 1; }

/* Hide any residual uploaded admin images in how-it-works left col */
.how-work__thumb { display: none !important; }

/* P4-2  Live Market Hero Widget (banner right col)
─────────────────────────────────────────────────────────────── */
.pm-hero-widget {
    background: var(--layer-1);
    border: 1px solid hsl(var(--base) / .22);
    border-radius: var(--radius-card);
    padding: 1.4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 390px;
    margin-left: auto;
}
.pm-hero-widget::before {
    content: '';
    position: absolute;
    top: -55px; right: -55px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, hsl(var(--base) / .10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pm-hero-widget::after {
    content: '';
    position: absolute;
    bottom: -35px; left: -35px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, hsl(var(--sky) / .06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pm-hero-widget > * { position: relative; z-index: 1; }
.pm-hero-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.pm-hero-widget__meta {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .68rem;
    color: hsl(var(--body-color) / .4);
    font-weight: 500;
}
.pm-hw-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .72rem 0;
    border-bottom: 1px solid hsl(var(--border-color) / .55);
}
.pm-hw-row:last-of-type { border-bottom: none; }
.pm-hw-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: hsl(var(--base) / .09);
    border: 1px solid hsl(var(--base) / .18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: hsl(var(--base));
    flex-shrink: 0;
}
.pm-hw-body { flex: 1; min-width: 0; }
.pm-hw-title {
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: .3rem;
}
.pm-hw-chips { display: flex; gap: .3rem; flex-wrap: wrap; }
.pm-chip--xs {
    font-size: .6rem !important;
    padding: .1rem .4rem !important;
    letter-spacing: .02em;
}
.pm-hw-price {
    text-align: right;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--base));
    line-height: 1.1;
    min-width: 54px;
}
.pm-hw-price__bid {
    display: block;
    font-size: .58rem;
    font-weight: 500;
    color: hsl(var(--body-color) / .38);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: .12rem;
}
.pm-hero-widget__divider {
    height: 1px;
    background: hsl(var(--border-color));
    margin: .85rem 0;
}
.pm-hero-widget__footer {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}
.pm-hw-stat { text-align: center; flex: 1; }
.pm-hw-stat__num {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: hsl(var(--base));
    line-height: 1;
    letter-spacing: -0.025em;
}
.pm-hw-stat__lbl {
    display: block;
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: hsl(var(--body-color) / .4);
    margin-top: .22rem;
    font-weight: 600;
}

/* P4-3  Platform Stats Grid (how-it-works left column)
─────────────────────────────────────────────────────────────── */
.pm-platform-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    margin-top: 1.75rem;
}
.pm-ps-card {
    background: var(--layer-1);
    border: 1px solid hsl(var(--base) / .14);
    border-radius: var(--radius-card);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pm-ps-card:hover {
    border-color: hsl(var(--base) / .38);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.pm-ps-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--base));
    line-height: 1;
    letter-spacing: -0.04em;
}
.pm-ps-card__value small {
    font-size: .9rem;
    letter-spacing: 0;
    font-weight: 700;
}
.pm-ps-card__label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: hsl(var(--body-color) / .5);
    line-height: 1.4;
}

/* P4-4  Responsive
─────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .pm-hero-widget { max-width: 100%; margin-left: 0; }
}
@media (max-width: 575.98px) {
    .pm-platform-stats { grid-template-columns: 1fr 1fr; }
    .pm-ps-card__value { font-size: 1.5rem; }
}


