/* ════════════════════════════════════════════════════════════════════
   MediHub Insights — Complete Design System v3
   Font: Bricolage Grotesque (headings) + DM Sans (body)
   Aesthetic: Premium B2B medical intelligence — dark navy + clinical teal
   ════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    /* Core Palette */
    --ink: #0d1117;
    --navy: #0f1b2d;
    --navy2: #152238;
    --navy3: #1a2d46;
    --slate: #2d4a6b;
    --teal: #00c9a7;
    --teal-d: #00a589;
    --teal-l: #e0faf5;
    --teal-xl: #f0fdfb;
    --blue: #2563eb;
    --blue-l: #dbeafe;
    --amber: #f59e0b;
    --red: #ef4444;
    --green: #10b981;
    --violet: #7c3aed;
    /* Neutral */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    /* Type */
    --font-h: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-b: 'DM Sans', system-ui, sans-serif;
    /* Spacing */
    --nav-h: 64px;
    --r: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.05);
    --shadow: 0 4px 12px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14),0 2px 8px rgba(0,0,0,.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.2);
    --shadow-teal: 0 4px 20px rgba(0,201,167,.25);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 15px
}

body {
    font-family: var(--font-b);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

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

img {
    max-width: 100%;
    display: block
}

ul, ol {
    list-style: none
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit
}

input, select, textarea, button {
    font: inherit
}

/* ── READ PROGRESS ────────────────────────────────────────────────── */
.rp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    z-index: 1100;
    background: rgba(255,255,255,.1)
}

.rp-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,var(--teal),var(--blue));
    transition: width .1s linear
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(15,27,45,.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .2s,box-shadow .2s;
}

    .site-nav.light {
        background: rgba(255,255,255,.96);
        border-bottom-color: var(--gray-200);
    }

    .site-nav.scrolled {
        box-shadow: 0 2px 20px rgba(0,0,0,.2)
    }

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-right: 20px;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: var(--white);
}

.nav-logo em {
    color: var(--teal);
    font-style: normal
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1
}

.nl {
    padding: 7px 13px;
    border-radius: 7px;
    font-weight: 500;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    transition: background .15s,color .15s;
    white-space: nowrap;
}

    .nl:hover {
        background: rgba(255,255,255,.08);
        color: var(--white)
    }

    .nl.active {
        color: var(--teal)
    }

/* mega button */
.mega-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 7px;
    font-weight: 500;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    transition: background .15s,color .15s;
    background: none;
    border: none;
}

    .mega-trigger:hover, .mega-trigger.open-state {
        background: rgba(255,255,255,.08);
        color: var(--white)
    }

        .mega-trigger.open-state .mt-caret {
            transform: rotate(180deg)
        }

.mt-caret {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    transition: transform .2s;
    flex-shrink: 0;
}

/* Nav right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto
}

.nav-search-wrap {
    position: relative
}

.nav-search-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    transition: all .15s;
    cursor: pointer;
}

    .nav-search-btn:hover {
        background: rgba(255,255,255,.11);
        color: rgba(255,255,255,.8)
    }

.nsb-icon {
    font-size: .9rem
}

.nsb-key {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: .7rem;
    font-weight: 600;
}
/* Expanded search bar */
.nav-search-expanded {
    /* In new nav: fills the search bar area */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
    border: 1.5px solid #00c9a7;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    display: none;
    flex-direction: column;
    z-index: 800;
    overflow: hidden;
}

.nav-search-wrap {
    position: relative;
}

.nav-search-expanded.open {
    display: flex
}

.nse-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100)
}

.nse-ico {
    font-size: 1rem;
    color: var(--gray-400);
    flex-shrink: 0
}

.nse-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .9rem;
    color: var(--gray-800);
    background: none;
}

    .nse-input::placeholder {
        color: var(--gray-400)
    }

.nse-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--gray-500);
    cursor: pointer;
    flex-shrink: 0;
}

    .nse-close:hover {
        background: var(--gray-200)
    }

.nse-results {
    max-height: 360px;
    overflow-y: auto
}

.nse-section {
    padding: 8px 0
}

.nse-sec-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-400);
    padding: 4px 14px;
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background .1s;
}

    .nse-item:hover {
        background: var(--gray-50)
    }

.nse-item-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

    .nse-item-ico.blue {
        background: var(--blue-l)
    }

    .nse-item-ico.teal {
        background: var(--teal-l)
    }

    .nse-item-ico.amber {
        background: #fef3c7
    }

.nse-item-body b {
    display: block;
    font-size: .87rem;
    font-weight: 600;
    color: var(--gray-800)
}

.nse-item-body span {
    font-size: .75rem;
    color: var(--gray-500)
}

.nse-empty {
    padding: 24px 14px;
    text-align: center;
    color: var(--gray-400);
    font-size: .87rem
}

/* Auth buttons */
.btn-nav-ghost {
    padding: 7px 16px;
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    white-space: nowrap;
}

    .btn-nav-ghost:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }

.btn-nav-solid {
    padding: 7px 16px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    transition: all .15s;
    white-space: nowrap;
}

    .btn-nav-solid:hover {
        background: var(--teal-d);
        box-shadow: var(--shadow-teal)
    }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    padding: 4px;
    transition: background .15s;
}

    .hamburger:hover {
        background: rgba(255,255,255,.1)
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(255,255,255,.8);
        border-radius: 2px;
        transition: all .2s
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0)
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

/* ── MEGA MENU ─────────────────────────────────────────────────────── */
.mega-wrap {
    position: relative
}

.mega-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    width: 100vw !important;
    background: var(--white);
    border: none;
    border-bottom: 2px solid var(--gray-100);
    box-shadow: 0 20px 60px rgba(0,0,0,.1);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s,transform .2s;
    overflow: hidden;
}

    .mega-panel.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0)
    }
    /* Arrow */
    .mega-panel::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        border-left: 1px solid var(--gray-200);
        transform: translateX(-50%) rotate(45deg);
    }

.mp-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mp-header-title {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-500)
}

.mp-header-cta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--teal)
}

.mp-body {
    display: grid;
    gap: 0;
    padding: 20px
}

.mp-col {
    padding: 0 16px
}

    .mp-col:not(:last-child) {
        border-right: 1px solid var(--gray-100)
    }

.mp-col-hd {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.mp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    transition: background .12s,transform .12s;
    margin: -2px -10px;
}

    .mp-link:hover {
        background: var(--teal-xl);
        transform: translateX(2px)
    }

.mp-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

    .mp-link-icon.teal {
        background: var(--teal-l)
    }

    .mp-link-icon.blue {
        background: var(--blue-l)
    }

    .mp-link-icon.amber {
        background: #fef3c7
    }

    .mp-link-icon.violet {
        background: #f5f3ff
    }

.mp-link b {
    display: block;
    font-weight: 600;
    font-size: .875rem;
    color: var(--gray-800)
}

.mp-link i {
    display: block;
    font-style: normal;
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 1px
}

.mp-cta-col {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    border-radius: var(--r-lg);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 160px;
}

    .mp-cta-col h4 {
        font-family: var(--font-h);
        font-size: .95rem;
        font-weight: 700;
        color: var(--white);
        line-height: 1.3
    }

    .mp-cta-col p {
        font-size: .75rem;
        color: rgba(255,255,255,.55);
        margin-top: 6px;
        line-height: 1.5
    }

.mp-cta-btn {
    display: block;
    margin-top: 16px;
    padding: 9px 14px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    transition: background .15s;
}

    .mp-cta-btn:hover {
        background: var(--teal-d)
    }

.mega-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: none
}

    .mega-overlay.show {
        display: block
    }

/* ── MOBILE NAV ────────────────────────────────────────────────────── */
.mob-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    overflow-y: auto;
    z-index: 880;
    padding: 16px 0 32px;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

    .mob-nav.open {
        display: flex;
        transform: translateX(0)
    }

.mn-section {
    padding: 8px 16px 4px
}

.mn-section-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    padding: 0 8px;
    margin-bottom: 4px
}

.mn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    transition: all .15s
}

    .mn-link:hover {
        background: rgba(255,255,255,.07);
        color: var(--white)
    }

.mn-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: 8px 16px
}

.mn-auth {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto
}

/* ══════════════════════════════════════════════════════════════════
   AUTH MODALS
   ══════════════════════════════════════════════════════════════════ */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(13,17,23,.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    padding: 20px;
}

    .auth-overlay.open {
        opacity: 1;
        pointer-events: all
    }

.auth-modal {
    background: var(--white);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    transform: translateY(16px) scale(.97);
    transition: transform .2s;
    overflow: hidden;
}

.auth-overlay.open .auth-modal {
    transform: translateY(0) scale(1)
}

.auth-modal-top {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 28px 28px 24px;
    position: relative;
}

    .auth-modal-top h2 {
        font-family: var(--font-h);
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--white);
        margin-top: 6px
    }

    .auth-modal-top p {
        font-size: .85rem;
        color: rgba(255,255,255,.55);
        margin-top: 4px
    }

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: all .15s;
}

    .auth-close:hover {
        background: rgba(255,255,255,.2);
        color: var(--white)
    }

.auth-tabs {
    display: flex;
    margin-top: 16px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 3px
}

.auth-tab {
    flex: 1;
    padding: 7px;
    text-align: center;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .15s;
}

    .auth-tab.active {
        background: var(--teal);
        color: var(--ink)
    }

.auth-body {
    padding: 24px 28px 28px
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 14px
}

    .auth-form.active {
        display: flex
    }

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.auth-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--gray-600)
}

.auth-input {
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .9rem;
    color: var(--gray-800);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
}

    .auth-input:focus {
        border-color: var(--teal)
    }

.auth-btn {
    padding: 12px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .92rem;
    color: var(--ink);
    transition: all .15s;
    border: none;
    cursor: pointer;
    margin-top: 4px;
}

    .auth-btn:hover {
        background: var(--teal-d);
        box-shadow: var(--shadow-teal)
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-300);
    font-size: .8rem;
    margin: 4px 0
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--gray-200)
    }

.auth-footer {
    text-align: center;
    font-size: .82rem;
    color: var(--gray-500);
    margin-top: 4px
}

    .auth-footer a {
        color: var(--blue);
        font-weight: 600
    }

.auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
    background: var(--white);
}

    .auth-google:hover {
        border-color: var(--gray-300);
        background: var(--gray-50)
    }

.auth-pwd-wrap {
    position: relative
}

    .auth-pwd-wrap .auth-input {
        width: 100%;
        padding-right: 40px
    }

.toggle-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: .85rem;
    color: var(--gray-400);
    user-select: none
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg,var(--ink) 0%,var(--navy) 50%,#112240 100%);
    padding: 72px 0 60px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,201,167,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.04) 1px,transparent 1px);
    background-size: 48px 48px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,rgba(0,201,167,.12) 0%,transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,rgba(37,99,235,.1) 0%,transparent 70%);
    bottom: -80px;
    left: 10%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,201,167,.12);
    border: 1px solid rgba(0,201,167,.25);
    color: var(--teal);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 1.8s infinite
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2rem,4vw,3.4rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 14px;
}

    .hero h1 mark {
        background: none;
        color: var(--teal);
        position: relative;
        display: inline-block;
    }

.hero-sub {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 28px
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px
}

.btn-hero-p {
    padding: 13px 26px;
    background: var(--teal);
    border-radius: 10px;
    font-weight: 800;
    font-size: .92rem;
    color: var(--ink);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-hero-p:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal)
    }

.btn-hero-s {
    padding: 13px 26px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-hero-s:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }
/* Hero search */
.hero-search {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 8px 8px 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.hs-icon {
    color: rgba(255,255,255,.4);
    font-size: 1rem;
    flex-shrink: 0
}

.hero-search input {
    flex: 1;
    min-width: 180px;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: .9rem;
}

    .hero-search input::placeholder {
        color: rgba(255,255,255,.4)
    }

.hero-search select {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8);
    padding: 7px 10px;
    border-radius: 7px;
    font-size: .82rem;
    outline: none;
}

    .hero-search select option {
        color: var(--gray-800);
        background: var(--white)
    }

.hero-search button {
    padding: 9px 20px;
    background: var(--teal);
    color: var(--ink);
    border-radius: 8px;
    font-weight: 800;
    font-size: .87rem;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}

    .hero-search button:hover {
        background: var(--teal-d)
    }

.hs-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 100%
}

.hs-tag {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    padding: 4px 11px;
    border-radius: 100px;
    font-size: .75rem;
    cursor: pointer;
    transition: all .15s;
}

    .hs-tag:hover {
        background: rgba(0,201,167,.15);
        border-color: rgba(0,201,167,.3);
        color: var(--teal)
    }
/* Hero KPI panel */
.hero-kpi {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-xl);
    padding: 24px;
    backdrop-filter: blur(12px);
}

.hkpi-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.3);
    color: var(--green);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: livepulse 1.5s infinite
}

@keyframes livepulse {
    0%,100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.8)
    }
}

.hkpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.hkpi-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 16px;
}

.hkpi-val {
    font-family: var(--font-h);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--white)
}

.hkpi-lbl {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px
}

.hkpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 7px;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
}

    .hkpi-trend.up {
        background: rgba(16,185,129,.15);
        color: var(--green)
    }

    .hkpi-trend.blue {
        background: rgba(37,99,235,.15);
        color: #93c5fd
    }

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages)
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

    .page-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,201,167,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.03) 1px,transparent 1px);
        background-size: 40px 40px;
    }

.ph-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1
}

.ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(1.6rem,3vw,2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.page-hero p {
    color: rgba(255,255,255,.55);
    font-size: .92rem;
    margin-top: 8px;
    max-width: 550px
}

.ph-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap
}

.ph-stat {
    font-size: .82rem;
    color: rgba(255,255,255,.5)
}

    .ph-stat b {
        color: var(--white);
        font-weight: 700;
        margin-right: 4px
    }

/* ══════════════════════════════════════════════════════════════════
   LAYOUT & SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px
}

.section {
    padding: 64px 0
}

    .section.alt {
        background: var(--gray-50)
    }

.sec-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px
}

.sec-eyebrow {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px
}

.sec-title {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-800)
}

.sec-desc {
    font-size: .9rem;
    color: var(--gray-500);
    margin-top: 4px;
    max-width: 500px
}

.see-all {
    font-size: .85rem;
    font-weight: 700;
    color: var(--teal)
}

    .see-all:hover {
        color: var(--teal-d);
        text-decoration: underline
    }

/* ══════════════════════════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════════════════════════ */
.ticker {
    background: var(--navy2);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 9px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 45s linear infinite;
    width: max-content
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.06);
}

    .ticker-item .ti-label {
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: rgba(255,255,255,.35)
    }

    .ticker-item .ti-val {
        font-size: .8rem;
        font-weight: 600;
        color: rgba(255,255,255,.7)
    }

    .ticker-item .ti-chg {
        font-size: .72rem;
        font-weight: 800
    }

.ti-chg.up {
    color: var(--green)
}

.ti-chg.dn {
    color: var(--red)
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER CARDS
   ══════════════════════════════════════════════════════════════════ */
.mfr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 18px
}

.mfr-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 0;
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .mfr-card:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 24px rgba(0,201,167,.1);
        transform: translateY(-3px)
    }

.mc-header {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px
}

.mc-logo {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .88rem;
    color: var(--white);
}

.mc-hd-info {
}

.mc-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .95rem;
    color: var(--white)
}

.mc-country {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px
}

.mc-badges {
    display: flex;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0
}

.badge-v {
    background: rgba(16,185,129,.2);
    color: var(--green);
    border: 1px solid rgba(16,185,129,.3);
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800
}

.badge-f {
    background: rgba(245,158,11,.2);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,.3);
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800
}

.mc-body {
    padding: 16px;
    flex: 1
}

.mc-bio {
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mc-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--gray-100);
    padding: 12px 16px;
    background: var(--gray-50);
}

.mc-stat {
    flex: 1;
    text-align: center
}

.mc-stat-val {
    font-weight: 800;
    font-size: .88rem;
    color: var(--gray-800)
}

.mc-stat-lbl {
    font-size: .68rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 1px
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════════════ */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 16px
}

.prod-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .prod-card:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 24px rgba(0,201,167,.08);
        transform: translateY(-2px)
    }

.pc-img {
    height: 140px;
    background: linear-gradient(135deg,var(--gray-50),var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.pc-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--teal);
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pc-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.pc-cat {
    background: var(--teal-l);
    color: var(--teal-d);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 7px;
}

.pc-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.3;
    flex: 1
}

.pc-mfr {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 4px
}

.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100)
}

.pc-price {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .92rem;
    color: var(--navy)
}

.pc-rating {
    font-size: .75rem;
    color: var(--gray-400)
}

    .pc-rating .stars {
        color: var(--amber)
    }

/* ══════════════════════════════════════════════════════════════════
   SEARCH / FILTER LAYOUT
   ══════════════════════════════════════════════════════════════════ */
.search-layout {
    padding-top: 28px;
    padding-bottom: 48px;
}

.mfr-layout {
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 24px;
    align-items: start;
    position: relative;
}
/* Mobile filter btn: hidden desktop, spans full row so it doesn't break grid */
.fp-mobile-btn {
    display: none;
    grid-column: 1/-1;
}
/* Filter panel */
.filter-panel {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-h) + 14px);
}

.fp-head {
    padding: 14px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .fp-head h3 {
        font-family: var(--font-h);
        font-size: .87rem;
        font-weight: 700;
        color: var(--gray-700)
    }

.fp-clear {
    font-size: .77rem;
    font-weight: 700;
    color: var(--teal);
    cursor: pointer
}

    .fp-clear:hover {
        color: var(--teal-d)
    }

.fp-body {
    padding: 0
}

.fp-section {
    border-bottom: 1px solid var(--gray-100)
}

.fp-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-700);
    transition: background .12s;
}

    .fp-section-hd:hover {
        background: var(--gray-50)
    }

    .fp-section-hd .fp-caret {
        transition: transform .2s;
        color: var(--gray-400);
        font-size: .7rem
    }

.fp-section.open .fp-caret {
    transform: rotate(180deg)
}

.fp-section-body {
    display: none;
    padding: 8px 18px 14px
}

.fp-section.open .fp-section-body {
    display: block
}
/* search within filter */
.fp-search {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    padding: 7px 10px;
    margin-bottom: 10px;
}

.fp-search-ico {
    font-size: .8rem;
    color: var(--gray-400)
}

.fp-search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: .82rem;
    color: var(--gray-700)
}

    .fp-search input::placeholder {
        color: var(--gray-300)
    }
/* Checkbox items */
.fp-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    cursor: pointer;
}

    .fp-checkbox label {
        display: flex;
        align-items: center;
        gap: 9px;
        cursor: pointer;
        font-size: .85rem;
        color: var(--gray-700);
    }

    .fp-checkbox input[type=checkbox] {
        width: 16px;
        height: 16px;
        border-radius: 4px;
        accent-color: var(--teal);
        cursor: pointer;
        flex-shrink: 0;
    }

.fp-count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gray-400);
    background: var(--gray-100);
    padding: 1px 7px;
    border-radius: 100px;
}
/* Range slider */
.fp-range {
    margin-top: 8px
}

.fp-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--gray-500);
    margin-bottom: 6px
}

.fp-range input[type=range] {
    width: 100%;
    accent-color: var(--teal)
}

.fp-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px
}

.fp-range-input {
    padding: 7px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 7px;
    font-size: .82rem;
    color: var(--gray-700);
    outline: none;
    transition: border-color .15s;
}

    .fp-range-input:focus {
        border-color: var(--teal)
    }
/* Apply btn */
.fp-apply {
    padding: 14px 18px;
    border-top: 1px solid var(--gray-200);
}

    .fp-apply button {
        width: 100%;
        padding: 10px;
        background: var(--teal);
        border-radius: 9px;
        font-weight: 800;
        font-size: .87rem;
        color: var(--ink);
        transition: all .15s;
        border: none;
        cursor: pointer;
    }

        .fp-apply button:hover {
            background: var(--teal-d);
            box-shadow: var(--shadow-teal)
        }

/* Results area */
.results-area {
}

.results-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.rb-count {
    font-size: .87rem;
    color: var(--gray-600)
}

    .rb-count b {
        color: var(--gray-800);
        font-weight: 700
    }

.rb-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--teal-l);
    color: var(--teal-d);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
}

.rb-tag-x {
    cursor: pointer;
    opacity: .6;
    transition: opacity .1s
}

    .rb-tag-x:hover {
        opacity: 1
    }

.rb-sort {
    margin-left: auto
}

    .rb-sort select {
        padding: 5px 10px;
        border: 1.5px solid var(--gray-200);
        border-radius: 7px;
        font-size: .82rem;
        color: var(--gray-700);
        outline: none;
        background: var(--white);
    }

/* ══════════════════════════════════════════════════════════════════
   ARTICLE CARDS
   ══════════════════════════════════════════════════════════════════ */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px
}

.art-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .art-card:hover {
        border-color: var(--gray-300);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.art-card-img {
    height: 140px;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: flex-start;
    padding: 14px;
}

.art-type-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.atb-article {
    background: rgba(37,99,235,.2);
    color: #93c5fd
}

.atb-interview {
    background: rgba(124,58,237,.2);
    color: #c4b5fd
}

.atb-whitepaper {
    background: rgba(245,158,11,.2);
    color: #fcd34d
}

.atb-technical {
    background: rgba(16,185,129,.2);
    color: #6ee7b7
}

.atb-news {
    background: rgba(239,68,68,.2);
    color: #fca5a5
}

.atb-casestudy {
    background: rgba(0,201,167,.2);
    color: var(--teal)
}

.art-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.art-card-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--gray-800);
    line-height: 1.4;
    flex: 1;
    margin-bottom: 10px
}

.art-card-meta {
    font-size: .75rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px
}

    .art-card-meta span::before {
        content: '·';
        margin-right: 8px
    }

    .art-card-meta span:first-child::before {
        display: none
    }

/* Article hero band */
.art-hero-band {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 28px;
    transition: transform .22s,box-shadow .22s;
}

    .art-hero-band:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg)
    }

.ahb-img {
    background: linear-gradient(135deg,rgba(0,201,167,.3),rgba(37,99,235,.3));
    padding: 24px;
    display: flex;
    align-items: flex-start
}

.ahb-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

    .ahb-body h2 {
        font-family: var(--font-h);
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--white);
        margin: 8px 0;
        line-height: 1.3
    }

    .ahb-body p {
        color: rgba(255,255,255,.55);
        font-size: .87rem;
        line-height: 1.6
    }

.ahb-meta {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin-top: 12px;
    display: flex;
    gap: 12px
}

/* ══════════════════════════════════════════════════════════════════
   EVENT / WEBINAR / VIDEO CARDS
   ══════════════════════════════════════════════════════════════════ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 16px
}

.event-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 18px;
    display: flex;
    gap: 14px;
    transition: all .22s;
}

    .event-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.ev-date-box {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    background: linear-gradient(135deg,var(--teal),var(--teal-d));
    border-radius: 10px;
    padding: 8px 4px;
}

.ev-mon {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.7)
}

.ev-day {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1
}

.ev-info {
}

.ev-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.3
}

.ev-meta {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.ev-type-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.evb-tradeshow {
    background: #fef3c7;
    color: #92400e
}

.evb-conference {
    background: #ede9fe;
    color: #5b21b6
}

.evb-webinar {
    background: var(--teal-l);
    color: var(--teal-d)
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 18px
}

.web-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .web-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.wc-thumb {
    height: 148px;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
}

.wc-od-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,201,167,.85);
    color: var(--ink);
    padding: 3px 9px;
    border-radius: 100px;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.wc-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.wc-cat {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px
}

.wc-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--gray-800);
    line-height: 1.4;
    flex: 1
}

.wc-host {
    font-size: .78rem;
    color: var(--gray-500);
    margin-top: 8px
}

.wc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100)
}

.wc-dur {
    font-size: .75rem;
    color: var(--gray-400)
}

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER HERO (detail page)
   ══════════════════════════════════════════════════════════════════ */
.mfr-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    overflow: hidden;
    position: relative
}

    .mfr-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,201,167,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.03) 1px,transparent 1px);
        background-size: 40px 40px;
    }

.mfr-hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 0;
    position: relative;
    z-index: 1
}

.mh-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 32px
}

.mh-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--white);
}

.mh-info {
    flex: 1;
    min-width: 200px
}

.mh-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

    .mh-name-row h1 {
        font-family: var(--font-h);
        font-size: clamp(1.5rem,3vw,2rem);
        font-weight: 800;
        color: var(--white)
    }

.mh-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: rgba(255,255,255,.55);
    font-size: .83rem
}

    .mh-meta span {
        display: flex;
        align-items: center;
        gap: 4px
    }

.mh-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0
}

.mfr-stats-bar {
    display: flex;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}

.msb {
    flex: 1;
    min-width: 100px;       /* prevent cut-off */
    padding: 14px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.06);
}

    .msb:last-child {
        border-right: none
    }

.msb-val {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    white-space: nowrap;    /* prevent number wrapping */
}

.msb-lbl {
    font-size: .65rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px
}

/* ══════════════════════════════════════════════════════════════════
   MARKET INTELLIGENCE
   ══════════════════════════════════════════════════════════════════ */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin: 28px 0
}

.kpi-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 20px;
    transition: all .2s;
}

    .kpi-card:hover {
        border-color: var(--teal);
        box-shadow: 0 4px 16px rgba(0,201,167,.08)
    }

.kpi-val {
    font-family: var(--font-h);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--navy)
}

.kpi-lbl {
    font-size: .72rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px
}

.kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800
}

    .kpi-trend.up {
        background: #dcfce7;
        color: #15803d
    }

    .kpi-trend.down {
        background: #fee2e2;
        color: #dc2626
    }

/* ══════════════════════════════════════════════════════════════════
   DETAIL LAYOUT (manufacturer, product, article detail)
   ══════════════════════════════════════════════════════════════════ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 48px
}

.detail-main {
}

.detail-side {
}

.card-block {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 22px;
    margin-bottom: 20px;
}

    .card-block h2 {
        font-family: var(--font-h);
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--gray-800);
        margin-bottom: 16px
    }

.cb-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

    .cb-hdr h2 {
        margin-bottom: 0
    }

.sb-hd {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-400);
    margin-bottom: 14px
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .87rem;
    color: var(--ink);
    transition: all .15s;
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal)
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-weight: 600;
    font-size: .87rem;
    color: var(--gray-700);
    transition: all .15s;
    cursor: pointer;
    background: var(--white);
}

    .btn-outline:hover {
        border-color: var(--teal);
        color: var(--teal)
    }

.btn-outline-dark {
    padding: 9px 20px;
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 9px;
    font-weight: 600;
    font-size: .87rem;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    cursor: pointer;
}

    .btn-outline-dark:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }

.btn-sm {
    padding: 6px 14px;
    background: var(--teal-l);
    color: var(--teal-d);
    border-radius: 7px;
    font-size: .78rem;
    font-weight: 700;
    transition: all .15s;
    border: none;
    cursor: pointer;
}

    .btn-sm:hover {
        background: var(--teal);
        color: var(--ink)
    }

/* ══════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 5px
}

    .fg.full {
        grid-column: 1/-1
    }

    .fg label {
        font-size: .79rem;
        font-weight: 700;
        color: var(--gray-600)
    }

.form-ctrl {
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .88rem;
    color: var(--gray-800);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
    width: 100%;
}

    .form-ctrl:focus {
        border-color: var(--teal)
    }

textarea.form-ctrl {
    resize: vertical;
    min-height: 100px
}

.form-success {
    background: #dcfce7;
    border: 1.5px solid #86efac;
    color: #15803d;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════════════ */
.data-table {
    width: 100%;
    border-collapse: collapse
}

    .data-table th {
        text-align: left;
        font-size: .72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--gray-400);
        padding: 10px 14px;
        border-bottom: 2px solid var(--gray-200);
        white-space: nowrap;
        background: var(--gray-50);
    }

    .data-table td {
        padding: 12px 14px;
        font-size: .87rem;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700)
    }

    .data-table tr:hover td {
        background: var(--gray-50)
    }

    .data-table tr:last-child td {
        border-bottom: none
    }

/* ══════════════════════════════════════════════════════════════════
   STATUS BADGES
   ══════════════════════════════════════════════════════════════════ */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800
}

.sp-submitted {
    background: #fef3c7;
    color: #92400e
}

.sp-viewed {
    background: #dbeafe;
    color: #1e40af
}

.sp-responded {
    background: #dcfce7;
    color: #15803d
}

.sp-closed {
    background: var(--gray-100);
    color: var(--gray-500)
}

/* ══════════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════════ */
.pager {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 32px;
    flex-wrap: wrap
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-600);
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pg-btn:hover {
        border-color: var(--teal);
        color: var(--teal)
    }

    .pg-btn.active {
        background: var(--teal);
        border-color: var(--teal);
        color: var(--ink)
    }

.pg-info {
    font-size: .78rem;
    color: var(--gray-400);
    margin-left: 8px
}

/* ══════════════════════════════════════════════════════════════════
   MISC
   ══════════════════════════════════════════════════════════════════ */
.breadcrumb {
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: 14px
}

    .breadcrumb a {
        color: var(--teal);
        font-weight: 600
    }

        .breadcrumb a:hover {
            color: var(--teal-d)
        }

.stars {
    color: var(--amber)
}

.info-list .il-r {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .85rem
}

    .info-list .il-r:last-child {
        border-bottom: none
    }

    .info-list .il-r span {
        color: var(--gray-500)
    }

    .info-list .il-r b {
        font-weight: 700;
        color: var(--gray-800);
        text-align: right;
        max-width: 58%
    }

/* Spec table */
.spec-group-hd {
    font-weight: 800;
    font-size: .82rem;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 7px 12px;
    border-radius: 6px;
    margin: 14px 0 6px;
    text-transform: uppercase;
    letter-spacing: .05em
}

.spec-table {
    width: 100%;
    border-collapse: collapse
}

    .spec-table td {
        padding: 8px 12px;
        font-size: .85rem;
        border-bottom: 1px solid var(--gray-100)
    }

    .spec-table .sk {
        font-weight: 600;
        color: var(--gray-600);
        width: 45%
    }

/* User hero */
.user-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 40px 0;
    color: var(--white)
}

.uh-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap
}

.uh-av {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,.15)
}

.uh-row h1 {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white)
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--gray-200);
    flex-wrap: wrap
}

.ftab {
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap
}

    .ftab.active, .ftab:hover {
        color: var(--teal);
        border-color: var(--teal)
    }

/* Toast */
.toast-bar {
    background: #dcfce7;
    border-bottom: 2px solid #86efac;
    color: #15803d;
    padding: 11px 24px;
    text-align: center;
    font-weight: 700;
    font-size: .87rem;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    padding: 60px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px
}

.fg-brand p {
    font-size: .85rem;
    line-height: 1.7;
    margin-top: 10px;
    max-width: 260px;
    color: rgba(255,255,255,.45)
}

.footer-logo {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 9px
}

.footer-logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem
}

.footer-logo em {
    color: var(--teal);
    font-style: normal
}

.f-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

    .f-socials a {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255,255,255,.07);
        color: rgba(255,255,255,.55);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .8rem;
        font-weight: 700;
        transition: all .15s
    }

        .f-socials a:hover {
            background: var(--teal);
            color: var(--ink)
        }

.site-footer h4 {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    margin-bottom: 14px;
    font-weight: 800
}

.site-footer .f-link {
    display: block;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 9px;
    transition: color .15s
}

    .site-footer .f-link:hover {
        color: var(--white)
    }

.footer-bar {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    flex-wrap: wrap;
    gap: 8px
}

/* Scroll top */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800;
    box-shadow: var(--shadow-teal);
    opacity: 0;
    transform: translateY(8px);
    transition: all .2s;
    pointer-events: none;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-top.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all
    }

    .scroll-top:hover {
        background: var(--teal-d)
    }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media(max-width:1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-right {
        display: none
    }

    .kpi-strip {
        grid-template-columns: repeat(2,1fr)
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:900px) {
    .search-layout {
        grid-template-columns: 1fr
    }

    .filter-panel {
        position: static
    }

    .mfr-stats-bar {
        flex-wrap: wrap
    }

    .msb {
        min-width: 50%
    }
}

@media(max-width:768px) {
    .nav-links, .nav-right {
        display: none
    }

    .hamburger {
        display: flex
    }

    .mega-panel {
        min-width: 90vw;
        left: 0;
        transform: none
    }

        .mega-panel::before {
            display: none
        }

        .mega-panel.open {
            transform: none
        }

    .kpi-strip {
        grid-template-columns: 1fr 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:540px) {
    .section {
        padding: 40px 0
    }

    .kpi-strip {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .mfr-grid {
        grid-template-columns: 1fr
    }

    .prod-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .auth-modal-top {
        padding: 22px 20px 18px
    }

    .auth-body {
        padding: 20px 20px 24px
    }
}

/* ══════════════════════════════════════════════════════════════════
   ADS & SPONSORED UNITS
   ══════════════════════════════════════════════════════════════════ */
/* Square 300×250 */
.ad-square {
    width: 300px;
    height: 250px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
}

.ad-square-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg,#0f1b2d 0%,#1a2d46 60%,#00c9a7 200%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    .ad-square-inner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%,rgba(0,201,167,.2) 0%,transparent 60%);
    }

.ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.5);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
}

.ad-square-inner .ad-logo {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ad-square-inner h4 {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
    position: relative;
    z-index: 1;
}

.ad-square-inner p {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    margin: 6px 0 12px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.ad-square-inner .ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--ink);
    transition: all .15s;
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

    .ad-square-inner .ad-cta:hover {
        background: var(--teal-d);
    }

/* Leaderboard 728×90 */
.ad-leaderboard {
    width: 100%;
    height: 88px;
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    border: 1.5px solid var(--gray-200);
    background: linear-gradient(90deg,var(--navy) 0%,var(--navy3) 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    margin: 24px 0;
}

    .ad-leaderboard .ad-label {
        position: absolute;
        top: 6px;
        right: 8px;
    }

.ad-lb-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ad-lb-body {
    flex: 1;
    min-width: 0;
}

    .ad-lb-body h4 {
        font-family: var(--font-h);
        font-size: .92rem;
        font-weight: 800;
        color: var(--white);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ad-lb-body p {
        font-size: .72rem;
        color: rgba(255,255,255,.5);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 2px;
    }

.ad-lb-cta {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    transition: all .15s;
}

    .ad-lb-cta:hover {
        background: var(--teal-d);
    }

/* Mid-content banner 100%×120 */
.ad-banner {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(135deg,#1a0533 0%,#0f1b2d 50%,#0d2a1e 100%);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0;
    position: relative;
}

    .ad-banner::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40%;
        background: radial-gradient(ellipse at right,rgba(0,201,167,.15) 0%,transparent 70%);
    }

    .ad-banner .ad-label {
        top: 10px;
        right: 10px;
    }

.ad-banner-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
}

.ad-banner-body {
    flex: 1;
}

    .ad-banner-body h4 {
        font-family: var(--font-h);
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--white);
    }

    .ad-banner-body p {
        font-size: .82rem;
        color: rgba(255,255,255,.5);
        margin-top: 4px;
    }

.ad-banner-cta {
    flex-shrink: 0;
    padding: 11px 24px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .87rem;
    color: var(--ink);
    transition: all .15s;
    z-index: 1;
}

    .ad-banner-cta:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal);
    }

/* Sidebar ad 300×600 */
.ad-sidebar {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(160deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-bottom: 20px;
}

    .ad-sidebar .ad-label {
        top: 10px;
        right: 10px;
    }

.ad-sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ad-sidebar h4 {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
}

.ad-sidebar p {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin: 8px 0 16px;
    line-height: 1.6;
}

.ad-sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

    .ad-sidebar-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        color: rgba(255,255,255,.7);
    }

        .ad-sidebar-features li::before {
            content: '✓';
            color: var(--teal);
            font-weight: 800;
        }

.ad-sidebar .ad-cta {
    display: block;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT CARD ACTION BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.pc-actions {
    display: flex;
    gap: 6px;
    padding: 0 14px 14px;
    margin-top: auto;
}

.pc-btn-enquiry {
    flex: 1;
    padding: 7px 0;
    background: var(--teal);
    border-radius: 7px;
    font-size: .75rem;
    font-weight: 800;
    color: var(--ink);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
    border: none;
}

    .pc-btn-enquiry:hover {
        background: var(--teal-d);
    }

.pc-btn-ds {
    width: 36px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    cursor: pointer;
    border: none;
    transition: all .15s;
    flex-shrink: 0;
    title: "Download Datasheet";
}

    .pc-btn-ds:hover {
        background: var(--blue-l);
        color: var(--blue);
    }

.pc-btn-compare {
    width: 36px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    border: none;
    transition: all .15s;
    flex-shrink: 0;
}

    .pc-btn-compare:hover {
        background: #fef3c7;
        color: var(--amber);
    }

    .pc-btn-compare.active {
        background: #fef3c7;
        color: var(--amber);
    }

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER CARD - VIEW PROFILE BUTTON
   ══════════════════════════════════════════════════════════════════ */
.mc-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}

.mc-btn-profile {
    flex: 1;
    padding: 8px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--ink);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
}

    .mc-btn-profile:hover {
        background: var(--teal-d);
    }

.mc-btn-rfq {
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-600);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
    background: var(--white);
}

    .mc-btn-rfq:hover {
        border-color: var(--teal);
        color: var(--teal);
    }

/* ══════════════════════════════════════════════════════════════════
   COMPARE BAR (sticky bottom)
   ══════════════════════════════════════════════════════════════════ */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 600;
    background: var(--navy);
    border-top: 2px solid var(--teal);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(100%);
    transition: transform .25s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

    .compare-bar.show {
        transform: translateY(0);
    }

.compare-slots {
    display: flex;
    gap: 10px;
    flex: 1;
}

.compare-slot {
    width: 120px;
    height: 52px;
    border: 1.5px dashed rgba(255,255,255,.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    color: rgba(255,255,255,.3);
    flex-shrink: 0;
}

    .compare-slot.filled {
        border-color: var(--teal);
        background: rgba(0,201,167,.07);
        flex-direction: column;
        gap: 3px;
        padding: 6px 8px;
    }

        .compare-slot.filled .cs-name {
            font-size: .72rem;
            font-weight: 700;
            color: var(--white);
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 100%;
            text-align: center;
        }

        .compare-slot.filled .cs-x {
            font-size: .65rem;
            color: rgba(255,255,255,.4);
            cursor: pointer;
        }

            .compare-slot.filled .cs-x:hover {
                color: var(--red);
            }

.compare-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.compare-count {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.compare-btn {
    padding: 9px 22px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    border: none;
    transition: all .15s;
}

    .compare-btn:hover {
        background: var(--teal-d);
    }

.compare-clear {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
    cursor: pointer;
}

    .compare-clear:hover {
        color: var(--white);
    }

/* ══════════════════════════════════════════════════════════════════
   CATEGORY GRID PAGE
   ══════════════════════════════════════════════════════════════════ */
.cat-hero-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: all .22s;
    cursor: pointer;
}

    .cat-hero-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,.2);
    }

    .cat-hero-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%,rgba(0,201,167,.15) 0%,transparent 60%);
    }

.cat-hero-emoji {
    font-size: 2.6rem;
    position: relative;
    z-index: 1;
}

.cat-hero-card h3 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.cat-hero-card .cat-count {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    position: relative;
    z-index: 1;
    margin-top: 3px;
}

.cat-hero-card .cat-arrow {
    position: absolute;
    bottom: 16px;
    right: 18px;
    font-size: 1rem;
    color: var(--teal);
    opacity: 0;
    transition: opacity .2s;
    z-index: 1;
}

.cat-hero-card:hover .cat-arrow {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   ENQUIRY MODAL — redesigned
   ══════════════════════════════════════════════════════════════════ */
.enq-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10,16,26,.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
    padding: 16px;
}

    .enq-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.enq-sheet {
    background: var(--white);
    border-radius: 22px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 40px 100px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08);
    transform: translateY(24px) scale(.97);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
    max-height: 94vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.enq-overlay.open .enq-sheet {
    transform: none;
}

/* Header */
.enq-banner {
    background: linear-gradient(135deg,#0b1d31 0%,#0f2a46 60%,#163555 100%);
    padding: 22px 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-shrink: 0;
}

.enq-banner-left {
    flex: 1;
}

.enq-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0,201,167,.15);
    color: #00c9a7;
    border: 1px solid rgba(0,201,167,.25);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 9px;
}

.enq-company {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}

.enq-tagline {
    font-size: .79rem;
    color: rgba(255,255,255,.4);
    margin-top: 6px;
    line-height: 1.4;
}

.enq-x {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    margin-top: 2px;
}

    .enq-x:hover {
        background: rgba(255,255,255,.16);
        color: var(--white);
        border-color: rgba(255,255,255,.25);
    }

/* Form */
.enq-body {
    padding: 22px 24px 24px;
    flex: 1;
}

.enq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.enq-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.enq-field--full {
    grid-column: 1/-1;
}

.enq-label {
    font-size: .72rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.enq-req {
    color: #ef4444;
    margin-left: 2px;
}

.enq-input {
    width: 100%;
    padding: 10px 14px;
    font-size: .88rem;
    font-family: inherit;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    background: #fafafa;
    color: #111827;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

    .enq-input:focus {
        border-color: #00c9a7;
        box-shadow: 0 0 0 3px rgba(0,201,167,.1);
        background: #fff;
    }

    .enq-input::placeholder {
        color: #9ca3af;
    }

.enq-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
    cursor: pointer;
}

.enq-textarea {
    resize: vertical;
    min-height: 88px;
}

.enq-cta {
    width: 100%;
    padding: 14px 22px;
    background: #00c9a7;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: .94rem;
    font-weight: 800;
    color: #0b1d31;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .18s;
    margin-top: 4px;
    letter-spacing: -.01em;
    box-shadow: 0 4px 20px rgba(0,201,167,.25);
}

    .enq-cta:hover {
        background: #00b896;
        box-shadow: 0 8px 28px rgba(0,201,167,.4);
        transform: translateY(-1px);
    }

    .enq-cta:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(0,201,167,.2);
    }

.enq-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: #9ca3af;
    text-align: center;
    justify-content: center;
}

/* Success */
.enq-success {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 32px;
    text-align: center;
}

.enq-success-icon {
    font-size: 3rem;
}

.enq-success-title {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f1b2d;
    margin: 0;
}

.enq-success-sub {
    font-size: .87rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Mobile */
@media(max-width:540px) {
    .enq-grid {
        grid-template-columns: 1fr;
    }

    .enq-field--full {
        grid-column: 1;
    }

    .enq-sheet {
        border-radius: 20px 20px 0 0;
        max-height: 96vh;
    }

    .enq-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .enq-banner {
        padding: 18px 18px 16px;
    }

    .enq-body {
        padding: 16px 18px 20px;
    }
}


/* ══════════════════════════════════════════════════════════════════
   DATASHEET TOAST
   ══════════════════════════════════════════════════════════════════ */
.ds-toast {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 700;
    background: var(--navy);
    border: 1px solid var(--teal);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform .3s ease;
    max-width: 320px;
}

    .ds-toast.show {
        transform: translateX(0);
    }

.ds-toast-ico {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ds-toast-body h5 {
    font-size: .85rem;
    font-weight: 700;
    color: var(--white);
}

.ds-toast-body p {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px;
}

.ds-toast-close {
    color: rgba(255,255,255,.3);
    cursor: pointer;
    font-size: .8rem;
    margin-left: auto;
    flex-shrink: 0;
}

    .ds-toast-close:hover {
        color: var(--white);
    }

/* Category tag cloud */
.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
}

    .cat-tag:hover, .cat-tag.active {
        border-color: var(--teal);
        background: var(--teal-xl);
        color: var(--teal-d);
    }

/* News index card */
.news-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    transition: all .22s;
}

    .news-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateX(3px);
    }

.news-card-img {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.news-card-body {
}

.news-card-title {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.4;
}

.news-card-meta {
    font-size: .73rem;
    color: var(--gray-400);
    margin-top: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Video detail */
.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--r-lg);
    background: var(--ink);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,201,167,.9);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all .2s;
}

    .video-play-btn:hover {
        transform: scale(1.1);
        background: var(--teal);
    }

/* ── CATEGORIES MEGA MENU TILES ──────────────────────────────────── */
.cat-mega-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 8px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-700);
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}

    .cat-mega-tile div {
        font-size: 1.5rem;
        line-height: 1;
    }

    .cat-mega-tile:hover {
        border-color: var(--teal);
        background: rgba(0,201,167,.06);
        transform: translateY(-2px);
        color: var(--teal);
    }

.cat-mega-cta-btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s;
}

    .cat-mega-cta-btn.navy {
        background: var(--navy);
        color: var(--white);
    }

        .cat-mega-cta-btn.navy:hover {
            background: var(--navy3);
        }

    .cat-mega-cta-btn.teal {
        background: var(--teal);
        color: var(--navy);
    }

        .cat-mega-cta-btn.teal:hover {
            background: var(--teal-d, #00a589);
        }

    .cat-mega-cta-btn.outline {
        background: var(--gray-50);
        border: 1.5px solid var(--gray-200);
        color: var(--gray-700);
    }

        .cat-mega-cta-btn.outline:hover {
            border-color: var(--teal);
            color: var(--teal);
            background: rgba(0,201,167,.04);
        }

/* ── NEWS CAROUSEL ───────────────────────────────────────────────── */
.nc-carousel-wrap {
    position: relative;
    overflow: hidden;
}

.nc-slide {
    display: none;
    animation: ncFadeIn .5s ease;
}

    .nc-slide.nc-active {
        display: block;
    }

@keyframes ncFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.nc-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}

.nc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: all .2s;
    border: none;
    padding: 0;
}

    .nc-dot.active {
        background: var(--teal);
        transform: scale(1.2);
    }

.nc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .8rem;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: all .15s;
}

    .nc-nav:hover {
        background: var(--teal);
        border-color: var(--teal);
        color: var(--white);
    }

    .nc-nav.prev {
        left: -14px;
    }

    .nc-nav.next {
        right: -14px;
    }

/* ── AUTH TOAST KEYFRAME ─────────────────────────────────────────── */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── MANUFACTURER SINGLE-ROW LIST ────────────────────────────────── */
.mfr-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

    .mfr-list .mfr-card {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 18px;
        padding: 16px 20px;
        border-radius: 12px;
        border: 1.5px solid var(--gray-200);
        background: var(--white);
        transition: all .2s
    }

        .mfr-list .mfr-card:hover {
            border-color: var(--teal);
            box-shadow: 0 4px 20px rgba(0,201,167,.1);
            transform: translateX(3px)
        }

    .mfr-list .mc-header {
        display: contents
    }

    .mfr-list .mc-logo {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        background: linear-gradient(135deg,var(--navy),#2563eb);
        color: #fff;
        font-size: .85rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0
    }

    .mfr-list .mc-hd-info {
        flex: 1;
        min-width: 0
    }

    .mfr-list .mc-name {
        font-size: .95rem;
        font-weight: 800;
        color: var(--navy);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mfr-list .mc-country {
        font-size: .76rem;
        color: var(--gray-400);
        margin-top: 2px
    }

    .mfr-list .mc-bio {
        font-size: .8rem;
        color: var(--gray-600);
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .mfr-list .mc-badges {
        display: flex;
        gap: 4px;
        flex-shrink: 0
    }

    .mfr-list .mc-stats {
        display: flex;
        gap: 16px;
        flex-shrink: 0
    }

    .mfr-list .mc-body {
        display: none
    }

    .mfr-list .mc-actions {
        display: flex;
        gap: 8px;
        flex-shrink: 0
    }

/* ── MEGA MENU: SHARED NEW STYLES ──────────────────────────────────── */
.mp-col-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9
}

.mp-col-hd-ico {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0
}

/* Manufacturer mega: top company links */
.mp-mfr-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s;
    margin: 2px 0
}

    .mp-mfr-link:hover {
        background: #f0fdf4;
        color: #007a63
    }

.mp-mfr-av {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .02em
}

.mp-mfr-link b {
    display: block;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2
}

.mp-mfr-link i {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    font-style: normal
}

/* Manufacturer mega: stats box */
.mp-stats-col {
    padding-left: 8px
}

.mp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px
}

.mp-stat-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px
}

.mp-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f1b2d;
    font-family: 'Bricolage Grotesque',sans-serif
}

.mp-stat-lbl {
    font-size: .68rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em
}

/* Products mega: featured product cards */
.mp-featured-col {
    padding-left: 8px
}

.mp-feat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all .15s
}

    .mp-feat-card:hover {
        border-color: #00c9a7;
        background: #f0fdf4
    }

.mp-feat-ico {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0
}

.mp-feat-label {
    font-size: .63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
    margin-bottom: 2px
}

.mp-feat-name {
    font-size: .83rem;
    font-weight: 700;
    color: #0f1b2d;
    line-height: 1.2
}

.mp-feat-sub {
    font-size: .72rem;
    color: #64748b;
    margin-top: 1px
}

/* Insights mega: trending */
.mp-trending-col {
    padding-left: 8px
}

.mp-trend-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px
}

.mp-trend-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s
}

    .mp-trend-item:hover {
        background: #f8fafc
    }

.mp-trend-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0f1b2d;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px
}

.mp-trend-item b {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f1b2d
}

.mp-trend-item i {
    display: block;
    font-size: .71rem;
    color: #94a3b8;
    font-style: normal;
    margin-top: 2px
}

/* ── NEW FILTER PANEL STYLES ────────────────────────────────────────── */
.fp-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px
}

.fp-card-hd {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #475569;
    margin-bottom: 10px
}

.fp-card-hd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.fp-clear-link {
    font-size: .75rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none
}

    .fp-clear-link:hover {
        text-decoration: underline
    }

.fp-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .83rem;
    color: #475569;
    transition: background .1s
}

    .fp-check-row:hover {
        background: var(--gray-50)
    }

    .fp-check-row input {
        flex-shrink: 0;
        accent-color: var(--teal);
        width: 16px;
        height: 16px
    }

    .fp-check-row span:nth-child(2) {
        flex: 1
    }

.fp-count-pill {
    font-size: .7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-left: auto
}

.fp-check-row.checked input {
    accent-color: var(--teal)
}

.fp-suggest-box {
    display: none;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: hidden;
    margin-top: 4px
}

.fp-sug-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: background .1s
}

    .fp-sug-item:last-child {
        border-bottom: none
    }

    .fp-sug-item:hover {
        background: var(--gray-50)
    }

.fp-sug-av {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg,var(--teal),#2563eb);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.fp-sug-name {
    font-size: .84rem;
    font-weight: 700;
    color: var(--gray-800)
}

.fp-sug-sub {
    font-size: .73rem;
    color: var(--gray-400)
}

.fp-apply-btn {
    width: 100%;
    padding: 11px;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    transition: background .15s
}

    .fp-apply-btn:hover {
        background: #00a58a
    }

/* ── MANUFACTURER CARD GRID ─────────────────────────────────────────── */
.mfr-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.mfrc {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all .2s
}

    .mfrc:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 28px rgba(0,201,167,.1)
    }

.mfrc-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.mfrc-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-500);
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .03em
}

.mfrc-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Bricolage Grotesque',sans-serif;
    line-height: 1.2
}

.mfrc-loc {
    font-size: .78rem;
    color: var(--gray-400);
    margin-top: 2px
}

.mfrc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.mfrc-badge {
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: .03em
}

    .mfrc-badge.verified {
        background: #f0fdf4;
        color: #16a34a;
        border: 1.5px solid #bbf7d0
    }

    .mfrc-badge.cert {
        background: #f8fafc;
        color: #475569;
        border: 1.5px solid #e2e8f0
    }

    .mfrc-badge.premium {
        background: #f59e0b;
        color: #fff;
        border: none
    }

.mfrc-bio {
    font-size: .83rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0
}

.mfrc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100)
}

.mfrc-stat-lbl {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
    margin-bottom: 3px
}

.mfrc-stat-val {
    font-size: .88rem;
    font-weight: 800;
    color: var(--navy)
}

.mfrc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.mfrc-tag {
    font-size: .73rem;
    padding: 4px 10px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    color: #475569;
    white-space: nowrap
}

.mfrc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px
}

.mfrc-rating {
    display: flex;
    align-items: center;
    gap: 5px
}

.mfrc-stars {
    color: #f59e0b;
    font-size: .9rem;
    letter-spacing: 1px
}

.mfrc-rval {
    font-size: .85rem;
    font-weight: 800;
    color: var(--navy)
}

.mfrc-rvw {
    font-size: .75rem;
    color: var(--gray-400)
}

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

.mfrc-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

    .mfrc-btn.outline {
        background: var(--white);
        border: 1.5px solid var(--gray-200);
        color: var(--gray-700)
    }

        .mfrc-btn.outline:hover {
            border-color: var(--teal);
            color: var(--teal)
        }

    .mfrc-btn.solid {
        background: var(--teal);
        border: none;
        color: var(--navy)
    }

        .mfrc-btn.solid:hover {
            background: #00a58a
        }

@media(max-width:768px) {
    .mfr-card-grid {
        grid-template-columns: 1fr
    }
}

/* ── FEATURED NEWS GRID ─────────────────────────────────────────────── */
.featured-news-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start
}

.fn-hero {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    transition: all .2s
}

    .fn-hero:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,.1);
        transform: translateY(-2px)
    }

.fn-hero-img {
    height: 280px;
    background: linear-gradient(135deg,#0f1b2d,#1e3a5f);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.fn-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,transparent 30%,rgba(0,0,0,.6))
}

.fn-editors-pick {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .04em;
    z-index: 1
}

.fn-hero-body {
    padding: 20px
}

.fn-cat-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px
}

.fn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0
}

.fn-cat-label {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal)
}

.fn-hero-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 10px
}

.fn-hero-excerpt {
    font-size: .84rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 12px
}

.fn-hero-meta {
    font-size: .76rem;
    color: var(--gray-400);
    display: flex;
    gap: 6px
}

.fn-side-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.fn-side-card {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px;
    transition: all .2s
}

    .fn-side-card:hover {
        border-color: var(--teal);
        box-shadow: 0 4px 16px rgba(0,0,0,.08)
    }

.fn-side-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem
}

.fn-side-body {
    flex: 1;
    min-width: 0
}

.fn-side-cat {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 5px
}

.fn-side-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.fn-side-meta {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: 5px
}

@media(max-width:900px) {
    .featured-news-grid {
        grid-template-columns: 1fr
    }
}

/* ── NAV SEARCH DROPDOWN REDESIGN ───────────────────────────────────── */
.nse-results {
    max-height: 420px;
    overflow-y: auto;
    border-top: 1px solid var(--gray-100)
}

.nse-section {
    padding: 6px 0
}

.nse-sec-lbl {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #94a3b8;
    padding: 8px 16px 4px;
    display: flex;
    align-items: center;
    gap: 6px
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .1s;
    border-radius: 0
}

    .nse-item:hover {
        background: #f8fafc
    }

.nse-item-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem
}

    .nse-item-ico.blue {
        background: #eff6ff
    }

    .nse-item-ico.teal {
        background: #f0fdf4
    }

    .nse-item-ico.amber {
        background: #fff7ed
    }

.nse-item-body {
    flex: 1;
    min-width: 0
}

    .nse-item-body b {
        display: block;
        font-size: .86rem;
        font-weight: 700;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .nse-item-body span {
        font-size: .74rem;
        color: #94a3b8;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.nse-item-arrow {
    font-size: .7rem;
    color: #cbd5e1;
    flex-shrink: 0
}

.nse-empty {
    padding: 32px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: .86rem
}

.nse-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--gray-100);
    text-align: center
}

    .nse-footer a {
        font-size: .78rem;
        font-weight: 600;
        color: var(--teal);
        text-decoration: none
    }

/* ── USER DASHBOARD ─────────────────────────────────────────────────── */
.uh-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.uh-info {
    flex: 1;
}

.uh-eyebrow {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.4);
    margin-bottom: 4px;
}

.uh-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.uh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.uh-pro-badge {
    background: #f59e0b;
    color: #0f1b2d;
    font-weight: 800;
    font-size: .7rem;
    padding: 3px 10px;
    border-radius: 100px;
}

.uh-edit-btn {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.2);
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all .15s;
}

    .uh-edit-btn:hover {
        color: #fff;
        border-color: rgba(255,255,255,.5);
    }

.ud-kpi-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.ud-kpi {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
}

.ud-kpi-val {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque',sans-serif;
    color: var(--navy);
}

.ud-kpi-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gray-400);
    margin-top: 4px;
}

.ud-kpi-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
    opacity: .25;
}

.ud-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.ud-card {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.ud-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
}

.ud-card-title {
    font-size: .88rem;
    font-weight: 800;
    color: var(--navy);
}

.ud-card-count {
    font-size: .75rem;
    color: var(--gray-400);
}

.ud-table {
    width: 100%;
    border-collapse: collapse;
}

    .ud-table th {
        font-size: .68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .07em;
        color: var(--gray-400);
        padding: 10px 16px;
        border-bottom: 1px solid var(--gray-100);
        text-align: left;
    }

    .ud-table td {
        padding: 11px 16px;
        border-bottom: 1px solid var(--gray-50);
        font-size: .83rem;
    }

.ud-status {
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ud-pending {
    background: #fef3c7;
    color: #92400e;
}

.ud-responded, .ud-complete {
    background: #d1fae5;
    color: #065f46;
}

.ud-closed, .ud-cancelled {
    background: var(--gray-100);
    color: var(--gray-500);
}

.ud-new {
    background: #dbeafe;
    color: #1e40af;
}

.ud-empty {
    padding: 40px 24px;
    text-align: center;
}

.ud-cta-btn {
    display: inline-block;
    margin-top: 14px;
    background: var(--teal);
    color: var(--navy);
    padding: 9px 20px;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.ud-profile-list {
    padding: 4px 0;
}

.ud-prow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid var(--gray-50);
}

.ud-plbl {
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ud-pval {
    font-size: .83rem;
    font-weight: 600;
    color: var(--navy);
    text-align: right;
}

.ud-pro-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
}

.ud-edit-profile-btn {
    display: block;
    margin: 14px 18px;
    padding: 10px;
    text-align: center;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

    .ud-edit-profile-btn:hover {
        border-color: var(--teal);
        color: var(--teal);
    }

.ud-quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}

    .ud-quick-link:hover {
        background: var(--gray-50);
        color: var(--teal);
    }

@media(max-width:768px) {
    .ud-kpi-row {
        grid-template-columns: 1fr 1fr
    }

    .ud-layout {
        grid-template-columns: 1fr
    }
}

/* ── Filter panel collapse / toggle switch ──────────────────────────────── */
.fp-card--collapsed .fp-card-body {
    display: none;
}

.fp-card-body--hidden {
    display: none !important;
}

.fp-toggle-hd {
    user-select: none;
}

.fp-chev {
    font-size: .7rem;
    color: var(--g400);
    margin-left: auto;
    transition: transform .15s;
}

.fp-toggle-sw {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    background: var(--g200);
    border-radius: 22px;
    transition: background .2s;
    cursor: pointer;
    flex-shrink: 0;
}

.fp-toggle-sw--on {
    background: var(--teal);
}

.fp-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s;
}

.fp-toggle-sw--on .fp-toggle-knob {
    transform: translateX(18px);
}

/* ── Filter SEO description banner ─────────────────────────────────────────── */
.filter-seo-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg,#f0fdf9 0%,#e6faf6 100%);
    border: 1.5px solid rgba(0,201,167,.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px
}

.fsb-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px
}

.fsb-text {
    font-size: .88rem;
    color: #2d4a3e;
    line-height: 1.55;
    font-weight: 500
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE IMPROVEMENTS
   ══════════════════════════════════════════════════════════════════ */
@media(max-width:768px) {
    /* Hero sections */
    .mfr-list-hero, .prod-hero, .blog-hero {
        padding: 32px 16px 24px
    }

        .mfr-list-hero h1, .prod-hero h1 {
            font-size: 1.6rem
        }

    .results-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 10px 16px
    }

    /* Filter panel */
    .filter-panel {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 500;
        overflow-y: auto;
        padding: 20px 16px 80px
    }

        .filter-panel.mob-open {
            display: block;
            background: var(--white)
        }

    .fp-mobile-btn {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 499;
        background: var(--navy);
        color: var(--white);
        border: none;
        border-radius: 100px;
        padding: 12px 24px;
        font-size: .88rem;
        font-weight: 700;
        gap: 8px;
        align-items: center;
        box-shadow: 0 8px 28px rgba(15,27,45,.35);
        cursor: pointer
    }

    .fp-mobile-close {
        display: flex !important;
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
        margin-bottom: 12px;
        border-bottom: 1.5px solid var(--g150);
        font-size: .95rem;
        font-weight: 800;
        color: var(--navy)
    }

    .mfr-layout {
        grid-template-columns: 1fr !important;
        gap: 0
    }

        .mfr-layout .filter-panel {
            display: none
        }

        .mfr-layout .results-area {
            min-width: 0
        }

    /* Manufacturer cards */
    .mfr-card-grid {
        grid-template-columns: 1fr
    }

    .mfr-card {
        flex-direction: column
    }

    .mfrc-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px
    }

    .mfrc-logo {
        width: 56px;
        height: 56px;
        font-size: 1.1rem
    }

    /* Products */
    .prod-grid {
        grid-template-columns: repeat(auto-fill,minmax(160px,1fr))
    }

    .pc-img-wrap {
        height: 160px
    }

    /* Manufacturer detail */
    .mfr-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 20px
    }

    .mfr-detail-sidebar {
        position: static !important
    }

    .mfr-detail-hero-meta {
        flex-wrap: wrap;
        gap: 8px
    }

    .mfr-stat-badge {
        font-size: .75rem;
        padding: 5px 10px
    }

    /* Blog/content */
    .blog-grid {
        grid-template-columns: 1fr
    }

    .events-grid {
        grid-template-columns: 1fr
    }

    .webinar-grid {
        grid-template-columns: 1fr
    }

    /* Nav header */
    .site-header .container {
        padding: 0 14px
    }

    .nav-search-expanded {
        width: calc(100vw - 28px) !important;
        left: 14px !important;
        right: 14px !important;
        position: fixed;
        top: 62px
    }
}

@media(max-width:540px) {
    /* Typography scale-down */
    h1 {
        font-size: 1.5rem !important
    }

    h2 {
        font-size: 1.15rem
    }

    .section-title {
        font-size: 1.2rem !important
    }

    /* Buttons */
    .btn-primary, .btn-outline {
        padding: 11px 18px;
        font-size: .85rem
    }

    /* Manufacturer detail page */
    .mfr-hero-inner {
        flex-direction: column;
        gap: 14px
    }

    .mfr-logo-big {
        width: 60px;
        height: 60px
    }

    .mfr-hero-name {
        font-size: 1.4rem
    }

    .mfr-hero-actions {
        flex-wrap: wrap;
        gap: 8px
    }

        .mfr-hero-actions .btn-primary, .mfr-hero-actions .btn-outline {
            flex: 1;
            min-width: 100px;
            font-size: .82rem;
            padding: 10px 14px
        }

    /* Products list on mobile */
    .prod-grid {
        grid-template-columns: 1fr 1fr
    }

    .pc-img-wrap {
        height: 130px
    }

    .pc-name {
        font-size: .83rem
    }

    /* Blog detail */
    .article-header {
        padding: 20px 0 16px
    }

    .article-body {
        font-size: .9rem
    }

    /* User dashboard */
    .ud-kpi-row {
        grid-template-columns: 1fr 1fr
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr !important
    }
}

/* Scrollable tables on mobile */
@media(max-width:640px) {
    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }
}

/* ── Filter panel clean-URL improvements ─────────────────────────────────── */
.fp-card-hd--active {
    color: var(--teal) !important
}

.fp-chk-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    color: #fff;
    flex-shrink: 0;
    transition: all .15s
}

    .fp-chk-box.on {
        background: #00c9a7;
        border-color: #00c9a7
    }

.fp-chk-lbl {
    font-size: .84rem;
    flex: 1
}

.fp-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 5px 0;
    transition: color .12s
}

    .fp-check-row:hover .fp-chk-lbl {
        color: var(--teal)
    }

    .fp-check-row.checked .fp-chk-lbl {
        color: var(--teal);
        font-weight: 600
    }

.fp-select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border: 1.5px solid #dde5ef;
    border-radius: 8px;
    font-size: .85rem;
    appearance: none;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center
}

.fp-clear-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: #ef4444;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 100px;
    transition: all .15s
}

    .fp-clear-all-link:hover {
        background: rgba(239,68,68,.05);
        border-color: rgba(239,68,68,.5)
    }

/* ── Nav Search Textbox ───────────────────────────────────────────────────── */
.nav-search-wrap {
    position: relative;
}

.nav-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 100px;
    padding: 7px 14px;
    min-width: 220px;
    max-width: 320px;
    transition: all .2s;
    position: relative;
}

    .nav-search-box:focus-within {
        background: rgba(255,255,255,.18);
        border-color: var(--teal);
        box-shadow: 0 0 0 3px rgba(0,201,167,.15);
    }

.nav-search-input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: .85rem;
    font-family: inherit;
    width: 100%;
}

    .nav-search-input::placeholder {
        color: rgba(255,255,255,.55);
    }

.nsb-icon {
    font-size: .9rem;
    flex-shrink: 0;
    opacity: .7;
}

.nse-results {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    right: -10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0,0,0,.18);
    border: 1.5px solid #e2e8f0;
    padding: 8px;
    z-index: 1000;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

    .nse-results.visible {
        display: block;
    }

.nse-section-title {
    font-size: .7rem;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 10px 4px;
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-700);
    transition: background .1s;
}

    .nse-item:hover {
        background: var(--teal-l);
    }

.nse-item-av {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--teal),#0099cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.nse-item-name {
    font-weight: 700;
    font-size: .84rem;
    color: var(--gray-800);
}

.nse-item-sub {
    font-size: .73rem;
    color: var(--gray-400);
}

/* ── Manufacturer Detail Page ─────────────────────────────────────────────── */
.mfr-desc {
    color: var(--gray-600);
    line-height: 1.7;
}

.mh-claim-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    transition: all .15s;
}

    .mh-claim-btn:hover {
        border-color: #00c9a7;
        color: #00c9a7;
    }

.rfq-sub {
    color: var(--gray-500);
    margin-bottom: 18px;
    font-size: .87rem;
}

.cb-view-all {
    font-size: .82rem;
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 14px;
}

.pc-ico {
    font-size: 2.5rem;
}

.pc-pn {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.review-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.review-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
}

.review-title {
    font-size: .78rem;
    color: var(--gray-400);
    margin-left: 6px;
}

.review-stars {
    color: var(--amber);
}

.review-headline {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.review-body {
    font-size: .87rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cert-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--teal-l);
    border: 1px solid rgba(0,201,167,.2);
    border-radius: 9px;
}

.cert-icon {
    font-size: 1rem;
}

.cert-type {
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-800);
}

.cert-body {
    font-size: .72rem;
    color: var(--gray-400);
}

.office-row {
    display: flex;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
}

.office-ico {
    font-size: 1rem;
    flex-shrink: 0;
}

.office-name {
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-700);
}

.office-loc {
    font-size: .75rem;
    color: var(--gray-400);
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: background .15s;
}

    .social-link:hover {
        background: var(--teal-l);
    }

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.pill-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
}

/* ── Content Tabs (Manufacturer Profile) ─────────────────────────────────── */
.mfr-content-block h2 {
    margin-bottom: 14px;
}

.mfr-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 20px;
    padding-bottom: 0;
}

.mfr-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    border-radius: 4px 4px 0 0;
    font-family: inherit;
}

    .mfr-tab:hover {
        color: var(--teal);
        background: var(--teal-l);
    }

    .mfr-tab.active {
        color: var(--teal);
        border-bottom-color: var(--teal);
        background: none;
    }

.mfr-tab-panel {
    display: none;
}

    .mfr-tab-panel.active {
        display: block;
    }

.content-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
    gap: 16px;
}

.content-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1.5px solid var(--gray-100);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    background: #fff;
}

    .content-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0,0,0,.1);
        border-color: rgba(0,201,167,.25);
    }

.cc-img {
    height: 140px;
    background: linear-gradient(135deg,#e0faf5,#dbeafe);
    background-size: cover;
    background-position: center;
}

.cc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.cc-body {
    padding: 14px;
}

.cc-type {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--teal);
    background: var(--teal-l);
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 7px;
}

.cc-type-news {
    color: #0369a1;
    background: #e0f2fe;
}

.cc-type-wp {
    color: #7c3aed;
    background: #ede9fe;
}

.cc-type-webinar {
    color: #b45309;
    background: #fef3c7;
}

.cc-type-video {
    color: #dc2626;
    background: #fee2e2;
}

.cc-title {
    font-weight: 700;
    font-size: .88rem;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 6px;
}

.cc-meta {
    font-size: .73rem;
    color: var(--gray-400);
}

.cc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 7px 14px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}

    .cc-download-btn:hover {
        background: #00b594;
    }

.cc-read-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
}

.wp-card {
    cursor: default;
}

/* ── Whitepaper Download Modal ────────────────────────────────────────────── */
.wp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wp-modal {
    background: #fff;
    border-radius: 18px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
    overflow: hidden;
    animation: wpSlideIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes wpSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.wp-modal-hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 18px;
    background: linear-gradient(135deg,var(--navy),#1a3a5c);
    color: #fff;
}

.wp-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque',sans-serif;
}

.wp-modal-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    margin-top: 3px;
}

.wp-modal-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-modal-body {
    padding: 24px;
}

.wp-modal-desc {
    font-size: .87rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.wp-privacy {
    font-size: .75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.form-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .83rem;
    border: 1px solid #fecaca;
}

/* ── Filter panel custom field remove icon ────────────────────────────────── */
.fp-chk-remove {
    margin-left: auto;
    color: var(--gray-400);
    font-size: .7rem;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
}

.fp-check-row.checked .fp-chk-remove {
    color: #ef4444;
}

/* ── Backend - Image upload zones ─────────────────────────────────────────── */
.cf-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    border: 2px dashed var(--ab-gray-300);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    background: var(--ab-gray-50);
    color: var(--ab-gray-500);
    font-size: .83rem;
    text-align: center;
    margin-top: 8px;
}

    .cf-upload-zone:hover, .cf-upload-zone.drag-over {
        border-color: var(--ab-teal);
        background: rgba(0,201,167,.05);
        color: var(--ab-teal);
    }

.cf-img-preview {
    margin-bottom: 8px;
}

.pdf-zone {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf5ff;
}

    .pdf-zone:hover {
        background: #ede9fe;
        border-color: #5b21b6;
    }

.ab-form-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

.ab-form-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ab-form-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

.ab-card-hd {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ab-gray-400);
    padding: 14px 16px 0;
    margin-bottom: -4px;
}

.ab-card-body {
    padding: 16px;
}

.ab-input-lg {
    font-size: 1.1rem !important;
    font-weight: 700;
    padding: 12px 14px !important;
}

.ab-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width:900px) {
    .ab-form-layout {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .ab-form-grid {
        grid-template-columns: 1fr
    }
}

/* ── BackendTags ──────────────────────────────────────────────────────────── */
.ab-btn-icon {
    background: var(--ab-gray-50);
    border: 1.5px solid var(--ab-gray-200);
    border-radius: 6px;
    padding: 5px 9px;
    cursor: pointer;
    font-size: .85rem;
    transition: all .15s;
}

    .ab-btn-icon:hover {
        background: var(--ab-gray-100);
        border-color: var(--ab-gray-300);
    }

    .ab-btn-icon.danger:hover {
        background: #fef2f2;
        border-color: #fecaca;
        color: #dc2626;
    }

@media(max-width:768px) {
    .nav-search-box {
        min-width: 140px;
        max-width: 180px;
    }

    .mfr-tabs {
        gap: 2px;
    }

    .mfr-tab {
        padding: 6px 10px;
        font-size: .75rem;
    }

    .content-card-grid {
        grid-template-columns: 1fr;
    }

    .wp-modal {
        border-radius: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   QUOTE PAGE (/get-quote)
═══════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   QUOTE PAGE — Single Form
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.qt-hero {
    background: linear-gradient(135deg,#0d1829 0%,#0f2544 100%);
    padding: 52px 24px 44px;
    text-align: center;
}

.qt-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.qt-hero-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin: 8px 0 12px;
}

.qt-hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin: 0 auto 20px;
    max-width: 560px;
}

.qt-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.qt-badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
}

/* Layout */
.qt-single-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    padding: 36px 0 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Form box */
.qt-form-box {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
}

.qt-form-hd {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
}

    .qt-form-hd h2 {
        font-family: 'Bricolage Grotesque',sans-serif;
        font-size: 1.25rem;
        font-weight: 900;
        color: #0f1b2d;
        margin: 0 0 4px;
    }

    .qt-form-hd p {
        font-size: .85rem;
        color: #64748b;
        margin: 0;
    }

/* Sections */
.qt-section {
    padding: 22px 28px;
    border-bottom: 1px solid #f1f5f9;
}

    .qt-section:last-of-type {
        border-bottom: none;
    }

.qt-section-lbl {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .78rem;
    font-weight: 900;
    color: #0f1b2d;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 18px;
}

.qt-sec-num {
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: #0d1829;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Fields */
.qt-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

    .qt-field:last-child {
        margin-bottom: 0;
    }

.qt-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.qt-label {
    font-size: .8rem;
    font-weight: 700;
    color: #334155;
}

.qt-req {
    color: #e11d48;
}

.qt-optional {
    font-size: .72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 4px;
}

.qt-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: .87rem;
    color: #0f1b2d;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

    .qt-input:focus {
        border-color: var(--teal);
        box-shadow: 0 0 0 3px rgba(0,201,167,.12);
    }

/* Qty */
.qt-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    overflow: hidden;
}

.qt-qty-btn {
    width: 38px;
    height: 40px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #334155;
    font-weight: 700;
    transition: background .15s;
    flex-shrink: 0;
}

    .qt-qty-btn:hover {
        background: #e8edf3;
    }

.qt-qty-input {
    border: none;
    outline: none;
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
    color: #0f1b2d;
    width: 60px;
    font-family: inherit;
}

/* Rich text editor */
.qt-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-bottom: none;
    border-radius: 9px 9px 0 0;
}

.qt-tb-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 3px 9px;
    font-size: .8rem;
    cursor: pointer;
    color: #334155;
    font-family: inherit;
    transition: all .15s;
}

    .qt-tb-btn:hover {
        background: #e8edf3;
        border-color: #e2e8f0;
    }

.qt-tb-sep {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
    margin: 0 2px;
}

.qt-notes-editor {
    min-height: 120px;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 9px 9px;
    padding: 12px 14px;
    font-size: .86rem;
    color: #0f1b2d;
    font-family: inherit;
    line-height: 1.65;
    outline: none;
}

    .qt-notes-editor:focus {
        border-color: var(--teal);
    }

    .qt-notes-editor:empty::before {
        content: attr(placeholder);
        color: #94a3b8;
        pointer-events: none;
        display: block;
    }

.qt-editor-hint {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* File upload */
.qt-upload-zone {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

    .qt-upload-zone:hover, .qt-upload-zone.drag-over {
        border-color: var(--teal);
        background: rgba(0,201,167,.04);
    }

.qt-upload-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.qt-upload-text {
    font-size: .84rem;
    font-weight: 600;
    color: #334155;
}

.qt-upload-formats {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 3px;
}

.qt-file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
}

.qt-file-icon {
    font-size: 1.5rem;
}

.qt-file-name {
    font-size: .83rem;
    font-weight: 700;
    color: #0f1b2d;
}

.qt-file-size {
    font-size: .72rem;
    color: #94a3b8;
}

.qt-file-meta {
    flex: 1;
}

.qt-file-remove {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 9px;
    cursor: pointer;
    color: #94a3b8;
    font-size: .8rem;
    transition: all .15s;
}

    .qt-file-remove:hover {
        border-color: #e11d48;
        color: #e11d48;
    }

/* Submit row */
.qt-submit-row {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfd;
    flex-wrap: wrap;
}

.qt-privacy-note {
    font-size: .75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

    .qt-privacy-note a {
        color: #64748b;
    }

.qt-submit-btn {
    background: var(--teal);
    color: #0d1829;
    border: none;
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .95rem;
    font-weight: 900;
    padding: 13px 32px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    letter-spacing: .01em;
}

    .qt-submit-btn:hover {
        background: #00b094;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,201,167,.25);
    }

    .qt-submit-btn:disabled {
        background: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.qt-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,.2);
    border-top-color: #0d1829;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.qt-error-msg {
    margin: 0 28px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .83rem;
    border-radius: 9px;
}

/* Trust sidebar */
.qt-trust-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 90px;
}

.qt-trust-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qt-trust-icon {
    font-size: 1.4rem;
}

.qt-trust-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .88rem;
    font-weight: 900;
    color: #0f1b2d;
}

.qt-trust-desc {
    font-size: .77rem;
    color: #64748b;
    line-height: 1.55;
}

.qt-trust-steps {
    background: #0f1b2d;
    border-radius: 12px;
    padding: 18px;
}

.qt-trust-steps-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .78rem;
    font-weight: 900;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 12px;
}

.qt-how-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .8rem;
    color: rgba(255,255,255,.75);
}

    .qt-how-step:last-child {
        border-bottom: none;
    }

.qt-how-num {
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: #0d1829;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Success state */
.qt-success-wrap {
    max-width: 560px;
    margin: 60px auto;
}

.qt-success {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

.qt-success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.qt-success h2 {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f1b2d;
    margin: 0 0 10px;
}

.qt-success p {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.65;
}

.qt-ref-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
}

.qt-ref-lbl {
    font-size: .75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.qt-ref-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--teal);
}

.qt-success-note {
    font-size: .82rem;
    color: #94a3b8;
    margin: 0 0 24px;
}

.qt-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px) {
    .qt-single-wrap {
        grid-template-columns: 1fr;
    }

    .qt-trust-col {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .qt-trust-card {
        flex: 1;
        min-width: 140px;
    }

    .qt-trust-steps {
        flex-basis: 100%;
    }
}

@media (max-width: 560px) {
    .qt-field-row {
        grid-template-columns: 1fr;
    }

    .qt-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .qt-submit-btn {
        width: 100%;
        text-align: center;
    }

    .qt-section {
        padding: 18px 18px;
    }

    .qt-form-hd {
        padding: 18px 18px 16px;
    }
}

.rv-strip {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc, #f0fdf9);
    border: 1.5px solid rgba(0,201,167,.15);
    border-radius: 14px;
    animation: rvFadeIn .35s ease;
}

@keyframes rvFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rv-strip-hd {
    margin-bottom: 12px;
}

.rv-strip-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gray-500);
}

.rv-strip-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

    .rv-strip-scroll::-webkit-scrollbar {
        height: 4px;
    }

    .rv-strip-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .rv-strip-scroll::-webkit-scrollbar-thumb {
        background: var(--gray-200);
        border-radius: 2px;
    }

.rv-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid var(--gray-100);
    border-radius: 10px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 180px;
    max-width: 220px;
    transition: all .15s;
}

    .rv-card:hover {
        border-color: var(--teal);
        box-shadow: 0 2px 10px rgba(0,201,167,.1);
    }

.rv-card-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), #0096cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 900;
    color: #fff;
    overflow: hidden;
}

    .rv-card-logo::before {
        content: attr(data-initials);
    }

    .rv-card-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 2px;
    }

.rv-card-name {
    font-size: .78rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.rv-card-loc {
    font-size: .67rem;
    color: var(--gray-400);
    margin-top: 1px;
}

/* responsive */
@media (max-width: 900px) {
    .mfr-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mfr-card-grid.v2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mfr-featured-grid {
        grid-template-columns: 1fr;
    }

    .mfr-card-grid.v2 {
        grid-template-columns: 1fr;
    }

    .mfrc2-stats {
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SEARCH — Suggest Dropdown (RF Industries style)
═══════════════════════════════════════════════════════════════════════════ */
.hs-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

.hs-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,.22);
    border-radius: 14px;
    padding: 10px 10px 10px 16px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

    .hs-box:focus-within {
        border-color: var(--teal);
        background: rgba(255,255,255,.18);
        box-shadow: 0 0 0 4px rgba(0,201,167,.18), 0 8px 32px rgba(0,0,0,.2);
    }

.hs-ico {
    color: rgba(255,255,255,.5);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hs-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    min-width: 0;
}

    .hs-input::placeholder {
        color: rgba(255,255,255,.4);
    }

.hs-btn {
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    white-space: nowrap;
}

    .hs-btn:hover {
        background: var(--teal-d);
    }

/* ── Suggest panel ── */
.hs-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 4px 16px rgba(0,0,0,.1);
    overflow: hidden;
    animation: suggestIn .18s cubic-bezier(.2,.8,.3,1);
}

@keyframes suggestIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hs-suggest-inner {
    max-height: 480px;
    overflow-y: auto;
}

    .hs-suggest-inner::-webkit-scrollbar {
        width: 5px;
    }

    .hs-suggest-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .hs-suggest-inner::-webkit-scrollbar-thumb {
        background: #e2e8f0;
        border-radius: 3px;
    }

/* ── Group heading ── */
.hs-group {
}

.hs-group-hd {
    padding: 10px 16px 5px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

.hs-group:first-child .hs-group-hd {
    border-top: none;
    padding-top: 12px;
}

/* ── Suggest item ── */
.hs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    text-decoration: none;
    color: inherit;
    transition: background .1s;
    cursor: pointer;
}

    .hs-item:hover, .hs-item-active {
        background: #f0fdf9 !important;
    }

.hs-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.hs-item-icon {
    font-size: .9rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    color: #94a3b8;
}

.hs-item-text {
    min-width: 0;
}

.hs-item-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-item-sub {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Highlight matched text — teal like in the image */
.hs-hl {
    background: none;
    color: var(--teal);
    font-weight: 800;
    padding: 0;
}

/* ── Type badge (right-side label like image: "category", "companies") ── */
.hs-type-badge {
    flex-shrink: 0;
    font-size: .65rem;
    color: #94a3b8;
    text-transform: lowercase;
    letter-spacing: .02em;
    white-space: nowrap;
    padding-left: 8px;
}

/* ── View all footer ── */
.hs-view-all {
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    border-top: 1.5px solid #f1f5f9;
    transition: background .1s;
    background: #fafafa;
}

    .hs-view-all:hover {
        background: var(--teal-l);
    }

    .hs-view-all b {
        font-weight: 900;
        color: var(--navy);
    }

/* ── Empty state ── */
.hs-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: .85rem;
    color: #94a3b8;
}

    .hs-empty b {
        color: var(--navy);
    }

/* ── Hot-tag pills below search ── */
.hs-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.hs-tag {
    padding: 5px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

    .hs-tag:hover {
        background: rgba(0,201,167,.2);
        border-color: rgba(0,201,167,.5);
        color: var(--teal);
    }

@media (max-width: 640px) {
    .hs-btn {
        padding: 10px 14px;
        font-size: .82rem;
    }

    .hs-suggest {
        left: -8px;
        right: -8px;
    }

    .hs-item-sub {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MANUFACTURER LIST CARDS  –  Directory Style (PCB-style redesign)
═══════════════════════════════════════════════════════════════════════════ */

/* Section labels */
.mlist-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--navy);
    margin: 0 0 12px;
    padding: 8px 0;
    border-bottom: 2px solid var(--gray-100);
}

    .mlist-section-label.featured-label {
        color: #92400e;
    }

.mls-sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: none;
    letter-spacing: 0;
}

.mlist-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--gray-500);
}

    .mlist-empty h3 {
        font-family: 'Bricolage Grotesque',sans-serif;
    }

    .mlist-empty a {
        color: var(--teal);
    }

/* ── Core list card ── */
/* ═══════════════════════════════════════════════════════════════════════════
   MANUFACTURER CARDS — Redesigned
   ═══════════════════════════════════════════════════════════════════════════ */

.ml-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    position: relative;
}

    .ml-card:hover {
        border-color: #b2f0e3;
        box-shadow: 0 8px 32px rgba(0,201,167,.1), 0 2px 8px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

.ml-card--verified {
    border-left: 3px solid var(--teal);
}

/* ── Logo column ── */
.ml-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 14px;
    background: #f8fafc;
    border-right: 1px solid #f0f4f8;
    min-width: 100px;
    max-width: 100px;
    gap: 10px;
    flex-shrink: 0;
}

.ml-logo {
    width: 72px;
    height: 60px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8edf3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

    .ml-logo::before {
        content: attr(data-initials);
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: .85rem;
        font-weight: 900;
        color: #94a3b8;
        letter-spacing: .02em;
    }

    .ml-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
    }

    .ml-logo.no-img::before {
        display: flex;
    }

.ml-stars {
    color: #f59e0b;
    font-size: .7rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ml-rval {
    font-size: .62rem;
    color: #94a3b8;
    text-align: center;
}

/* ── Body column ── */
.ml-body {
    flex: 1;
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Title row */
.ml-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 2px;
}

.ml-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f1b2d;
    text-decoration: none;
    line-height: 1.2;
    transition: color .15s;
}

    .ml-name:hover {
        color: var(--teal);
    }

/* Badges */
.ml-badge {
    font-size: .6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

    .ml-badge.verified {
        background: #f0fdf4;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .ml-badge.public {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }

    .ml-badge.featured {
        background: #fffbeb;
        color: #92400e;
        border: 1px solid #fde68a;
    }

/* Meta row */
.ml-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: .75rem;
    color: #64748b;
}

.ml-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ml-meta-link {
    color: #64748b;
    text-decoration: none;
    transition: color .15s;
}

    .ml-meta-link:hover {
        color: var(--teal);
    }

/* Bio */
.ml-bio {
    font-size: .82rem;
    color: #475569;
    line-height: 1.65;
    margin: 4px 0 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

/* Spec rows */
.ml-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    padding: 6px 0 2px;
    border-top: 1px solid #f1f5f9;
}

.ml-spec-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: .74rem;
    line-height: 1.5;
}

.ml-spec-lbl {
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    flex-shrink: 0;
}

.ml-spec-val {
    color: #64748b;
}

/* Certifications */
.ml-certs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

.ml-cert-lbl {
    font-weight: 700;
    color: #475569;
    font-size: .71rem;
    margin-right: 2px;
}

.ml-cert-tag {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 1px 8px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ── Actions column ── */
.ml-actions-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 18px 16px 16px;
    border-left: 1px solid #f0f4f8;
    background: #fafbfd;
    min-width: 152px;
    max-width: 152px;
    flex-shrink: 0;
}

.ml-btn-website {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--teal);
    color: #0d1829;
    font-size: .78rem;
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 9px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    text-align: center;
    letter-spacing: .01em;
}

    .ml-btn-website:hover {
        background: #00b094;
        color: #fff;
    }

.ml-btn-icon {
    font-style: normal;
}

.ml-btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0f1b2d;
    border: 1.5px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    transition: all .15s;
    text-align: center;
}

    .ml-btn-profile:hover {
        border-color: var(--teal);
        color: var(--teal);
        background: #f0fdfb;
    }

.ml-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    text-align: center;
}

    .ml-btn-contact:hover {
        border-color: #0f1b2d;
        color: #0f1b2d;
        background: #f8fafc;
    }

.ml-premium-badge {
    margin-top: auto;
    text-align: center;
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #92400e;
    background: linear-gradient(135deg, #fef9ee, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 7px;
    padding: 4px 8px;
}

/* ── Featured card ── */
.ml-card.featured-card {
    border-color: #fde68a;
    border-width: 1.5px;
    background: linear-gradient(135deg, #fffef9 0%, #fff 60%);
    box-shadow: 0 2px 12px rgba(251,191,36,.1);
}

    .ml-card.featured-card:hover {
        border-color: #fbbf24;
        box-shadow: 0 8px 32px rgba(251,191,36,.18), 0 2px 8px rgba(0,0,0,.06);
    }

    .ml-card.featured-card .ml-logo-col {
        background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    }

    .ml-card.featured-card .ml-actions-col {
        background: #fffef5;
    }

/* ── Section labels ── */
.mlist-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 10px;
    margin-bottom: 4px;
    border-bottom: 2px solid #f1f5f9;
    margin-top: 8px;
}

    .mlist-section-label span:first-child {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: .85rem;
        font-weight: 900;
        color: #0f1b2d;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

.mls-sub {
    font-size: .75rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.featured-label span:first-child {
    color: #b45309;
}

.featured-label {
    border-bottom-color: #fde68a;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ml-card {
        flex-wrap: wrap;
    }

    .ml-actions-col {
        flex-direction: row;
        min-width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #f0f4f8;
        padding: 12px 16px;
        background: #fafbfd;
    }

    .ml-premium-badge {
        display: none;
    }

    .ml-specs {
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 640px) {
    .ml-logo-col {
        min-width: 80px;
        max-width: 80px;
        padding: 16px 10px;
    }

    .ml-logo {
        width: 56px;
        height: 48px;
    }

    .ml-body {
        padding: 14px 14px 12px;
    }

    .ml-name {
        font-size: .92rem;
    }

    .ml-bio {
        display: none;
    }

    .ml-actions-col {
        gap: 6px;
    }

    .ml-btn-website, .ml-btn-profile, .ml-btn-contact {
        flex: 1;
        font-size: .72rem;
        padding: 8px 8px;
    }
}

/* ── Nav User Pill (moved from _Layout) ─────────────────────────────────── */

/* ── NAV USER PILL ─────────────────────────────────── */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 6px;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    position: relative;
    user-select: none
}

    .nav-user-pill:hover, .nav-user-pill.open {
        border-color: #00c9a7;
        background: rgba(0,201,167,.05)
    }

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg,#00c9a7,#0099cc);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.nav-user-name-txt {
    font-size: .82rem;
    font-weight: 700;
    color: #0f1b2d
}

.nav-user-caret {
    font-size: .6rem;
    color: #94a3b8;
    transition: transform .2s
}

.nav-user-pill.open .nav-user-caret {
    transform: rotate(180deg)
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: 6px;
    z-index: 300;
    display: none;
    animation: dropIn .15s ease
}

.nav-user-pill.open .nav-user-dropdown {
    display: block
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.nud-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    font-size: .83rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
    border-radius: 8px;
    transition: background .1s
}

    .nud-link:hover {
        background: #f0fdf4;
        color: #00c9a7
    }

.nud-sep {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 0
}

.nud-signout {
    color: #ef4444 !important
}

    .nud-signout:hover {
        background: #fef2f2 !important
    }
/* ── MEGA MENU OVERLAY ─────────────────────────────── */
/* mega-panel — see PCB nav section below */
.mp-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px
}

.mp-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    border-bottom: 1px solid #f1f5f9
}

.mp-top-title {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0f1b2d
}

.mp-top-cta {
    font-size: .8rem;
    font-weight: 700;
    color: #00c9a7;
    text-decoration: none
}

    .mp-top-cta:hover {
        text-decoration: underline
    }

.mp-body {
    padding: 20px 0 24px;
    display: grid;
    gap: 0
}
/* col styles */
.mp-col {
    padding: 0 20px 0 0
}

.mp-col-hd {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9
}

.mp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s;
    margin: 2px 0
}

    .mp-link:hover {
        background: #f0fdf4;
        color: #00c9a7
    }

.mp-link-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

    .mp-link-icon.teal {
        background: rgba(0,201,167,.1)
    }

    .mp-link-icon.amber {
        background: rgba(251,191,36,.12)
    }

    .mp-link-icon.blue {
        background: rgba(59,130,246,.1)
    }

    .mp-link-icon.violet {
        background: rgba(139,92,246,.1)
    }

.mp-link b {
    display: block;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2
}

.mp-link i {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    font-style: normal;
    margin-top: 1px
}

.mp-cta-col {
    background: linear-gradient(135deg,#0f1b2d,#1a3a5c);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

    .mp-cta-col h4 {
        font-size: .88rem;
        font-weight: 800;
        color: #fff;
        margin: 0
    }

    .mp-cta-col p {
        font-size: .75rem;
        color: rgba(255,255,255,.55);
        margin: 4px 0 0
    }

.mp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    background: #00c9a7;
    color: #0f1b2d;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s;
    margin-top: auto
}

    .mp-cta-btn:hover {
        background: #00a58a
    }
/* category tile grid */
.cat-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 12px 0 14px;
    border-bottom: 1px solid #f1f5f9
}

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    font-size: .76rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap
}

    .cat-tag:hover {
        border-color: #00c9a7;
        color: #00c9a7;
        background: rgba(0,201,167,.05)
    }
/* categories mega grid */
.cat-mega-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 8px;
    padding: 18px 0
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer
}

    .cat-tile div {
        font-size: 1.6rem;
        line-height: 1.1
    }

    .cat-tile:hover {
        border-color: #00c9a7;
        background: rgba(0,201,167,.06);
        color: #007a63;
        transform: translateY(-2px)
    }

    .cat-tile.dashed {
        border-style: dashed;
        border-color: #00c9a7;
        color: #00c9a7;
        background: rgba(0,201,167,.03)
    }

.cat-mega-footer {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9
}

.cmf-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .81rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s
}

    .cmf-btn.navy {
        background: #0f1b2d;
        color: #fff
    }

        .cmf-btn.navy:hover {
            background: #1a2d4a
        }

    .cmf-btn.teal {
        background: #00c9a7;
        color: #0f1b2d
    }

        .cmf-btn.teal:hover {
            background: #00a58a
        }

    .cmf-btn.outline {
        background: #fff;
        border: 1.5px solid #e2e8f0;
        color: #475569
    }

        .cmf-btn.outline:hover {
            border-color: #00c9a7;
            color: #007a63
        }
/* auth modal error */
.auth-api-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 12px
}

.bc-bar {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 0
}

.bc-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: .78rem
}

.bc-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s
}

    .bc-link:hover {
        color: #00c9a7
    }

.bc-sep {
    color: #cbd5e1;
    margin: 0 4px;
    font-size: .7rem
}

.bc-current {
    color: #0f1b2d;
    font-weight: 600
}

@media(max-width:640px) {
    .bc-inner {
        padding: 7px 16px;
        font-size: .72rem
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LIST CARDS — same style as manufacturer cards
   ═══════════════════════════════════════════════════════════════════════════ */

.pl-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    position: relative;
}

    .pl-card:hover {
        border-color: #b2f0e3;
        box-shadow: 0 8px 32px rgba(0,201,167,.1), 0 2px 8px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

/* Image col */
.pl-img-col {
    min-width: 110px;
    max-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 12px;
    background: #f8fafc;
    border-right: 1px solid #f0f4f8;
    flex-shrink: 0;
    position: relative;
}

.pl-img-box {
    width: 76px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

    .pl-img-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
    }

.pl-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pl-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .55rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Body */
.pl-body {
    flex: 1;
    padding: 16px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

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

.pl-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f1b2d;
    text-decoration: none;
    line-height: 1.2;
    transition: color .15s;
}

    .pl-name:hover {
        color: var(--teal);
    }

.pl-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    color: #64748b;
}

.pl-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.pl-desc {
    font-size: .82rem;
    color: #475569;
    line-height: 1.65;
    margin: 4px 0 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.pl-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    padding: 6px 0 2px;
    border-top: 1px solid #f1f5f9;
}

.pl-certs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

/* Responsive */
@media (max-width: 900px) {
    .pl-card {
        flex-wrap: wrap;
    }

    .pl-img-col {
        min-width: 80px;
        max-width: 80px;
        padding: 14px 10px;
    }

    .pl-img-box {
        width: 56px;
        height: 48px;
    }

    .ml-actions-col.pl-actions {
        flex-direction: row;
        min-width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #f0f4f8;
        padding: 10px 14px;
    }
}

@media (max-width: 640px) {
    .pl-body {
        padding: 12px 12px 10px;
    }

    .pl-name {
        font-size: .9rem;
    }

    .pl-desc {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   EVENTS DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.evd-hero {
    background: linear-gradient(135deg, #0d1829 0%, #0f2544 100%);
    padding: 52px 0 44px;
}

.evd-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.evd-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.evd-type-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(0,201,167,.2);
    color: #00c9a7;
    border: 1px solid rgba(0,201,167,.35);
}

.evd-feat-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(251,191,36,.2);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,.35);
}

.evd-cat-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.2);
}

.evd-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 12px;
}

.evd-subtitle {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 0 20px;
}

.evd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.evd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .87rem;
    color: rgba(255,255,255,.75);
}

.evd-meta-ico {
    font-size: 1rem;
}

.evd-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.evd-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .92rem;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
}

    .evd-cta-primary:hover {
        background: #00b094;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,201,167,.3);
    }

.evd-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}

    .evd-cta-ghost:hover {
        background: rgba(255,255,255,.18);
    }

/* Stats bar */
.evd-stats-bar {
    background: #fff;
    border-bottom: 1px solid #e8edf3;
    padding: 16px 0;
}

.evd-stats-inner {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.evd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 32px;
    border-right: 1px solid #e8edf3;
}

    .evd-stat:last-child {
        border-right: none;
    }

.evd-stat-val {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f1b2d;
}

.evd-stat-lbl {
    font-size: .72rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Layout */
.evd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 64px;
    align-items: start;
}

.evd-main {
}

.evd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

/* Sections */
.evd-section {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 16px;
}

.evd-sec-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f1b2d;
    margin: 0 0 16px;
}

.evd-sec-title-sm {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 12px;
}

.evd-body-text p {
    color: #475569;
    line-height: 1.75;
    font-size: .93rem;
    margin: 0 0 14px;
}

    .evd-body-text p:last-child {
        margin: 0;
    }

/* Tags */
.evd-tags-section {
    padding: 20px 28px;
}

.evd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.evd-tag {
    background: #f0fdfb;
    color: #0d9488;
    border: 1px solid #b2f0e3;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: all .15s;
}

    .evd-tag:hover {
        background: #00c9a7;
        color: #fff;
        border-color: #00c9a7;
    }

/* Related Events */
.evd-related-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evd-rel-card {
    display: flex;
    gap: 14px;
    align-items: stretch;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s;
}

    .evd-rel-card:hover {
        border-color: #00c9a7;
        box-shadow: 0 4px 16px rgba(0,201,167,.1);
    }

.evd-rel-img {
    width: 90px;
    flex-shrink: 0;
    background: #f0fdfb;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.evd-rel-img-placeholder {
    background: linear-gradient(135deg,#f0fdfb,#e0faf5);
}

.evd-rel-body {
    padding: 12px 14px;
    flex: 1;
}

.evd-rel-type {
    font-size: .65rem;
    font-weight: 800;
    color: #00c9a7;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.evd-rel-name {
    font-size: .9rem;
    font-weight: 800;
    color: #0f1b2d;
    margin: 4px 0;
    line-height: 1.3;
}

.evd-rel-meta {
    font-size: .75rem;
    color: #64748b;
}

/* Sidebar cards */
.evd-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    overflow: hidden;
}

.evd-card-hd {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .82rem;
    font-weight: 900;
    color: #0f1b2d;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.evd-info-list {
    padding: 8px 0;
}

.evd-il-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 18px;
    border-bottom: 1px solid #f8fafc;
    font-size: .83rem;
    gap: 12px;
}

    .evd-il-row:last-child {
        border-bottom: none;
    }

    .evd-il-row span {
        color: #64748b;
        flex-shrink: 0;
    }

    .evd-il-row strong {
        color: #0f1b2d;
        font-weight: 700;
        text-align: right;
    }

.evd-register-btn {
    display: block;
    text-align: center;
    margin: 14px 18px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .88rem;
    font-weight: 800;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
}

    .evd-register-btn:hover {
        background: #00b094;
        color: #fff;
    }

/* Calendar buttons */
.evd-cal-btns {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evd-cal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}

    .evd-cal-btn.google {
        background: #fff;
        color: #334155;
        border: 1.5px solid #e2e8f0;
    }

        .evd-cal-btn.google:hover {
            border-color: #4285f4;
            color: #4285f4;
        }

    .evd-cal-btn.ics {
        background: #f8fafc;
        color: #334155;
        border: 1.5px solid #e2e8f0;
    }

        .evd-cal-btn.ics:hover {
            border-color: #00c9a7;
            color: #00c9a7;
        }

/* Share buttons */
.evd-share-btns {
    padding: 14px 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.evd-share-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #334155;
    transition: all .15s;
}

    .evd-share-btn.tw:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }

    .evd-share-btn.li:hover {
        background: #0077b5;
        color: #fff;
        border-color: #0077b5;
    }

    .evd-share-btn.cp:hover {
        background: #00c9a7;
        color: #fff;
        border-color: #00c9a7;
    }

/* Responsive */
@media (max-width: 900px) {
    .evd-layout {
        grid-template-columns: 1fr;
    }

    .evd-sidebar {
        position: static;
    }

    .evd-stat {
        padding: 8px 16px;
    }
}

@media (max-width: 640px) {
    .evd-hero {
        padding: 36px 0 32px;
    }

    .evd-title {
        font-size: 1.5rem;
    }

    .evd-section {
        padding: 20px 18px;
    }

    .evd-hero-ctas {
        flex-direction: column;
    }

    .evd-cta-primary, .evd-cta-ghost {
        text-align: center;
        justify-content: center;
    }

    .evd-stats-inner {
        justify-content: flex-start;
    }

    .evd-stat {
        border-right: none;
        border-bottom: 1px solid #e8edf3;
        width: 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION — Complete redesign
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Top bar ── */
/* ═══════════════════════════════ TOP BAR ═══════════════════════════════ */
.nav-top {
    background: #2b3a4e;
    height: 36px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-top-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-top-link {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .nav-top-link:hover {
        color: #fff;
    }

.nav-top-link--icon svg {
    flex-shrink: 0;
}

/* Social icon buttons */
.nav-top-socials {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-top-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: all .15s;
}

    .nav-top-social:hover {
        background: rgba(255,255,255,.25);
        color: #fff;
    }

/* Sign In / Sign Up */
.nav-top-authbtn {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color .15s;
}

    .nav-top-authbtn:hover {
        color: #fff;
    }

.nav-top-divider {
    color: rgba(255,255,255,.25);
    font-size: .75rem;
}

/* ═══════════════════════════════ MID BAR ═══════════════════════════════ */
.nav-mid {
    background: #fff;
    border-bottom: 1px solid #e0e4e8;
    padding: 12px 0;
}

.nav-mid-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: #111827;
}

.nav-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg,#00c9a7,#0096cc);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.nav-logo-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #111827;
    letter-spacing: -.03em;
    line-height: 1;
}

    .nav-logo-text em {
        color: #00c9a7;
        font-style: normal;
    }

/* Search box — inline, not overlay */
.nav-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    background: #f9fafb;
    transition: border-color .2s, box-shadow .2s;
    height: 44px;
}

    .nav-search-box:focus-within {
        border-color: #00c9a7;
        box-shadow: 0 0 0 3px rgba(0,201,167,.12);
        background: #fff;
    }

.nsb-ico {
    font-size: .95rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.nsb-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: .88rem;
    color: #111827;
    font-family: inherit;
}

    .nsb-input::placeholder {
        color: #9ca3af;
    }

.nsb-shortcut {
    font-size: .65rem;
    background: #e5e7eb;
    color: #6b7280;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Search results dropdown */
.nsb-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 900;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}

/* Quote button */
.nav-quote-btn {
    background: #00c9a7;
    color: #0d1829;
    font-size: .84rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}

    .nav-quote-btn:hover {
        background: #00b094;
        color: #fff;
    }

/* ── Main nav bar ── */
.site-nav {
    background: #0f1b2d;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 48px;
    box-sizing: border-box;
}

.nav-bar-links {
    display: flex;
    align-items: stretch;
    flex: 1;
    justify-content: center;
}

/* Nav links */
.nbl {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .84rem;
    font-weight: 600;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0 14px;
    height: 48px;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s, background .15s;
    white-space: nowrap;
}

    .nbl:hover {
        color: #fff;
        background: rgba(255,255,255,.05);
    }

.nbl-active {
    color: #00c9a7 !important;
    border-bottom-color: #00c9a7 !important;
}

.active-mega {
    color: #00c9a7 !important;
}

.nbl-caret {
    font-size: .6rem;
    opacity: .6;
    transition: transform .2s;
}

.mega-wrap:hover > .mega-btn > .nbl-caret {
    transform: rotate(180deg);
}

/* Auth buttons */
.nav-bar-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.auth-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    padding: 7px 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}

    .auth-btn-ghost:hover {
        border-color: rgba(255,255,255,.6);
        color: #fff;
    }

.auth-btn-solid {
    background: #00c9a7;
    color: #0d1829;
    border: 1.5px solid #00c9a7;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
    padding: 7px 18px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}

    .auth-btn-solid:hover {
        background: #00b094;
        border-color: #00b094;
        color: #fff;
    }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(255,255,255,.8);
        border-radius: 2px;
        transition: all .2s;
    }

/* ── Mega panels ── */
.mega-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 48px !important;
    width: 100vw !important;
    background: #fff !important;
    border-bottom: 2px solid #e5e7eb !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.12) !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s;
    z-index: 199;
}

.mega-wrap {
    position: relative;
}

    .mega-wrap:hover > .mega-panel,
    .mega-wrap.open > .mega-panel {
        opacity: 1;
        pointer-events: all;
        transform: none;
    }

.mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,.4);
    backdrop-filter: blur(3px);
    z-index: 198;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s;
}

    .mega-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

/* ── AUTH MODAL ──────────────────────────────────────────────────────────── */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

    .auth-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.auth-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,.25);
    transform: scale(.96) translateY(8px);
    transition: transform .2s;
}

.auth-overlay.open .auth-modal {
    transform: none;
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .auth-modal-close:hover {
        background: #e5e7eb;
        color: #111827;
    }

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg,#00c9a7,#0096cc);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #111827;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 3px;
}

.auth-tab {
    flex: 1;
    padding: 8px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}

    .auth-tab.active {
        background: #fff;
        color: #111827;
        box-shadow: 0 1px 4px rgba(0,0,0,.1);
    }

.auth-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 4px;
}

.auth-sub {
    font-size: .83rem;
    color: #6b7280;
    margin-bottom: 22px;
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
    }

.auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .82rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.auth-field {
    margin-bottom: 14px;
}

    .auth-field label {
        display: block;
        font-size: .79rem;
        font-weight: 700;
        color: #374151;
        margin-bottom: 5px;
    }

    .auth-field input {
        width: 100%;
        box-sizing: border-box;
        border: 1.5px solid #d1d5db;
        border-radius: 9px;
        padding: 10px 14px;
        font-size: .88rem;
        font-family: inherit;
        outline: none;
        transition: border-color .15s, box-shadow .15s;
        color: #111827;
    }

        .auth-field input:focus {
            border-color: #00c9a7;
            box-shadow: 0 0 0 3px rgba(0,201,167,.12);
        }

.auth-pwd-wrap {
    position: relative;
}

    .auth-pwd-wrap input {
        padding-right: 44px;
    }

.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    color: #9ca3af;
    padding: 0;
}

.auth-forgot {
    text-align: right;
    margin-bottom: 18px;
}

    .auth-forgot a {
        font-size: .79rem;
        color: #00c9a7;
        text-decoration: none;
    }

.auth-submit-btn {
    width: 100%;
    padding: 13px;
    background: #00c9a7;
    color: #0d1829;
    border: none;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    transition: all .2s;
}

    .auth-submit-btn:hover {
        background: #00b094;
        color: #fff;
    }

    .auth-submit-btn:disabled {
        background: #d1d5db;
        color: #9ca3af;
        cursor: not-allowed;
    }

.auth-switch {
    margin-top: 14px;
    text-align: center;
    font-size: .8rem;
    color: #6b7280;
}

    .auth-switch button {
        background: none;
        border: none;
        color: #00c9a7;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        font-size: .8rem;
    }

.auth-terms {
    margin-top: 16px;
    text-align: center;
    font-size: .72rem;
    color: #9ca3af;
}

    .auth-terms a {
        color: #6b7280;
    }

/* ── Mobile drawer ── */
.mob-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 600;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,.15);
    transition: left .28s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}

    .mob-drawer.open {
        left: 0;
    }

.mob-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 599;
}

    .mob-backdrop.open {
        display: block;
    }

.mob-drawer-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.mob-close-btn {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-links {
    flex: 1;
    padding: 8px 0;
}

.mob-link {
    display: block;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid #f9fafb;
    transition: background .15s;
}

    .mob-link:hover {
        background: #f9fafb;
    }

.mob-group-hd {
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f9fafb;
}

.mob-group-body {
    display: none;
    background: #f9fafb;
}

    .mob-group-body.open {
        display: block;
    }

.mob-sub-link {
    display: block;
    padding: 10px 18px 10px 30px;
    font-size: .83rem;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mob-auth {
    padding: 14px 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 8px;
}

.mob-auth-btn {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.mob-auth-ghost {
    background: #fff;
    color: #111827;
    border: 1.5px solid #d1d5db;
}

.mob-auth-solid {
    background: #00c9a7;
    color: #0d1829;
    border: 1.5px solid #00c9a7;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav-bar-auth {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-quote-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-top {
        display: none;
    }

    .nav-mid {
        padding: 8px 0;
    }

    .nav-mid-inner {
        padding: 0 12px;
        gap: 10px;
    }

    .nsb-shortcut {
        display: none;
    }
}

/* ── Event card thumbnail ───────────────────────────────────────────────── */
.ev-thumb {
    position: relative;
    height: 130px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: -16px -16px 12px;
    background: #f0fdfb;
}

.ev-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ev-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0fdfb 0%, #e0f5f0 100%);
    position: absolute;
    inset: 0;
}
/* Show placeholder only when: no image in HTML, OR image failed to load */
.ev-thumb--no-img .ev-thumb-placeholder,
.ev-thumb--noimg .ev-thumb-placeholder {
    display: flex;
}

.ev-thumb-icon {
    font-size: 2.2rem;
}

.ev-thumb-type {
    font-size: .7rem;
    font-weight: 800;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ev-thumb-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(10,22,46,.72);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ev-badge--featured {
    background: rgba(251,191,36,.85);
    color: #0d1829;
}

.ev-card--featured {
    border-color: var(--teal) !important;
    background: var(--teal-xl) !important;
}

/* ═══════════════════════════ AD BANNER (mid right) ═══════════════════ */
.nav-ad-banner {
    flex-shrink: 0;
    width: 230px;
    background: #1a2738;
    border: 1px solid #2b3a4e;
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: background .15s;
}

    .nav-ad-banner:hover {
        background: #243347;
    }

.nav-ad-title {
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 5px;
}

.nav-ad-subs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .nav-ad-subs span {
        font-size: .68rem;
        color: #00c9a7;
        font-weight: 600;
    }

/* ═══════════════════ DARK NAV BAR — left aligned like  ═══════════ */


/* ═══  DIRECTORY STYLE OVERRIDES ════════════════════════════════════ */
/* Search box */
.nav-mid .nav-search-box {
    flex: 0 1 420px;
    margin-left: auto;
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fff !important;
    overflow: hidden;
    height: 42px !important;
    padding: 0 !important;
    min-width: 260px;
    max-width: 420px;
}

    .nav-mid .nav-search-box:focus-within {
        border-color: #4a90a4 !important;
        box-shadow: none !important;
    }

.nsb-ico {
    padding: 0 12px;
}

.nsb-input {
    padding: 0 4px 0 0 !important;
}

.nsb-shortcut {
    display: none !important;
}

.nsb-search-btn {
    width: 50px;
    min-width: 50px;
    height: 100%;
    background: #2b3a4e;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background .15s;
}

    .nsb-search-btn:hover {
        background: #1a2738;
    }

.nsb-results {
    border-radius: 0 0 6px 6px !important;
}
/* ════════════════════════════════════════════════════════════════════
   MediHub Insights — Complete Design System v3
   Font: Bricolage Grotesque (headings) + DM Sans (body)
   Aesthetic: Premium B2B medical intelligence — dark navy + clinical teal
   ════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    /* Core Palette */
    --ink: #0d1117;
    --navy: #0f1b2d;
    --navy2: #152238;
    --navy3: #1a2d46;
    --slate: #2d4a6b;
    --teal: #00c9a7;
    --teal-d: #00a589;
    --teal-l: #e0faf5;
    --teal-xl: #f0fdfb;
    --blue: #2563eb;
    --blue-l: #dbeafe;
    --amber: #f59e0b;
    --red: #ef4444;
    --green: #10b981;
    --violet: #7c3aed;
    /* Neutral */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    /* Type */
    --font-h: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-b: 'DM Sans', system-ui, sans-serif;
    /* Spacing */
    --nav-h: 64px;
    --r: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.05);
    --shadow: 0 4px 12px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14),0 2px 8px rgba(0,0,0,.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.2);
    --shadow-teal: 0 4px 20px rgba(0,201,167,.25);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 15px
}

body {
    font-family: var(--font-b);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

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

img {
    max-width: 100%;
    display: block
}

ul, ol {
    list-style: none
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit
}

input, select, textarea, button {
    font: inherit
}

/* ── READ PROGRESS ────────────────────────────────────────────────── */
.rp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    z-index: 1100;
    background: rgba(255,255,255,.1)
}

.rp-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,var(--teal),var(--blue));
    transition: width .1s linear
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(15,27,45,.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background .2s,box-shadow .2s;
}

    .site-nav.light {
        background: rgba(255,255,255,.96);
        border-bottom-color: var(--gray-200);
    }

    .site-nav.scrolled {
        box-shadow: 0 2px 20px rgba(0,0,0,.2)
    }

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    margin-right: 20px;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: var(--white);
}

.nav-logo em {
    color: var(--teal);
    font-style: normal
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1
}

.nl {
    padding: 7px 13px;
    border-radius: 7px;
    font-weight: 500;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    transition: background .15s,color .15s;
    white-space: nowrap;
}

    .nl:hover {
        background: rgba(255,255,255,.08);
        color: var(--white)
    }

    .nl.active {
        color: var(--teal)
    }

/* mega button */
.mega-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 7px;
    font-weight: 500;
    font-size: .875rem;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    transition: background .15s,color .15s;
    background: none;
    border: none;
}

    .mega-trigger:hover, .mega-trigger.open-state {
        background: rgba(255,255,255,.08);
        color: var(--white)
    }

        .mega-trigger.open-state .mt-caret {
            transform: rotate(180deg)
        }

.mt-caret {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    transition: transform .2s;
    flex-shrink: 0;
}

/* Nav right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto
}

.nav-search-wrap {
    position: relative
}

.nav-search-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    transition: all .15s;
    cursor: pointer;
}

    .nav-search-btn:hover {
        background: rgba(255,255,255,.11);
        color: rgba(255,255,255,.8)
    }

.nsb-icon {
    font-size: .9rem
}

.nsb-key {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: .7rem;
    font-weight: 600;
}
/* Expanded search bar */
.nav-search-expanded {
    /* In new nav: fills the search bar area */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
    border: 1.5px solid #00c9a7;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    display: none;
    flex-direction: column;
    z-index: 800;
    overflow: hidden;
}

.nav-search-wrap {
    position: relative;
}

.nav-search-expanded.open {
    display: flex
}

.nse-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100)
}

.nse-ico {
    font-size: 1rem;
    color: var(--gray-400);
    flex-shrink: 0
}

.nse-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .9rem;
    color: var(--gray-800);
    background: none;
}

    .nse-input::placeholder {
        color: var(--gray-400)
    }

.nse-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: var(--gray-500);
    cursor: pointer;
    flex-shrink: 0;
}

    .nse-close:hover {
        background: var(--gray-200)
    }

.nse-results {
    max-height: 360px;
    overflow-y: auto
}

.nse-section {
    padding: 8px 0
}

.nse-sec-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-400);
    padding: 4px 14px;
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background .1s;
}

    .nse-item:hover {
        background: var(--gray-50)
    }

.nse-item-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

    .nse-item-ico.blue {
        background: var(--blue-l)
    }

    .nse-item-ico.teal {
        background: var(--teal-l)
    }

    .nse-item-ico.amber {
        background: #fef3c7
    }

.nse-item-body b {
    display: block;
    font-size: .87rem;
    font-weight: 600;
    color: var(--gray-800)
}

.nse-item-body span {
    font-size: .75rem;
    color: var(--gray-500)
}

.nse-empty {
    padding: 24px 14px;
    text-align: center;
    color: var(--gray-400);
    font-size: .87rem
}

/* Auth buttons */
.btn-nav-ghost {
    padding: 7px 16px;
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    white-space: nowrap;
}

    .btn-nav-ghost:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }

.btn-nav-solid {
    padding: 7px 16px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    transition: all .15s;
    white-space: nowrap;
}

    .btn-nav-solid:hover {
        background: var(--teal-d);
        box-shadow: var(--shadow-teal)
    }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    padding: 4px;
    transition: background .15s;
}

    .hamburger:hover {
        background: rgba(255,255,255,.1)
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(255,255,255,.8);
        border-radius: 2px;
        transition: all .2s
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0)
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

/* ── MEGA MENU ─────────────────────────────────────────────────────── */
.mega-wrap {
    position: relative
}

.mega-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    width: 100vw !important;
    background: var(--white);
    border: none;
    border-bottom: 2px solid var(--gray-100);
    box-shadow: 0 20px 60px rgba(0,0,0,.1);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s,transform .2s;
    overflow: hidden;
}

    .mega-panel.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0)
    }
    /* Arrow */
    .mega-panel::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 12px;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        border-left: 1px solid var(--gray-200);
        transform: translateX(-50%) rotate(45deg);
    }

.mp-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mp-header-title {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-500)
}

.mp-header-cta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--teal)
}

.mp-body {
    display: grid;
    gap: 0;
    padding: 20px
}

.mp-col {
    padding: 0 16px
}

    .mp-col:not(:last-child) {
        border-right: 1px solid var(--gray-100)
    }

.mp-col-hd {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.mp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    transition: background .12s,transform .12s;
    margin: -2px -10px;
}

    .mp-link:hover {
        background: var(--teal-xl);
        transform: translateX(2px)
    }

.mp-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

    .mp-link-icon.teal {
        background: var(--teal-l)
    }

    .mp-link-icon.blue {
        background: var(--blue-l)
    }

    .mp-link-icon.amber {
        background: #fef3c7
    }

    .mp-link-icon.violet {
        background: #f5f3ff
    }

.mp-link b {
    display: block;
    font-weight: 600;
    font-size: .875rem;
    color: var(--gray-800)
}

.mp-link i {
    display: block;
    font-style: normal;
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 1px
}

.mp-cta-col {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    border-radius: var(--r-lg);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 160px;
}

    .mp-cta-col h4 {
        font-family: var(--font-h);
        font-size: .95rem;
        font-weight: 700;
        color: var(--white);
        line-height: 1.3
    }

    .mp-cta-col p {
        font-size: .75rem;
        color: rgba(255,255,255,.55);
        margin-top: 6px;
        line-height: 1.5
    }

.mp-cta-btn {
    display: block;
    margin-top: 16px;
    padding: 9px 14px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    transition: background .15s;
}

    .mp-cta-btn:hover {
        background: var(--teal-d)
    }

.mega-overlay {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: none
}

    .mega-overlay.show {
        display: block
    }

/* ── MOBILE NAV ────────────────────────────────────────────────────── */
.mob-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    overflow-y: auto;
    z-index: 880;
    padding: 16px 0 32px;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

    .mob-nav.open {
        display: flex;
        transform: translateX(0)
    }

.mn-section {
    padding: 8px 16px 4px
}

.mn-section-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.35);
    padding: 0 8px;
    margin-bottom: 4px
}

.mn-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    transition: all .15s
}

    .mn-link:hover {
        background: rgba(255,255,255,.07);
        color: var(--white)
    }

.mn-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: 8px 16px
}

.mn-auth {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto
}

/* ══════════════════════════════════════════════════════════════════
   AUTH MODALS
   ══════════════════════════════════════════════════════════════════ */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(13,17,23,.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    padding: 20px;
}

    .auth-overlay.open {
        opacity: 1;
        pointer-events: all
    }

.auth-modal {
    background: var(--white);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    transform: translateY(16px) scale(.97);
    transition: transform .2s;
    overflow: hidden;
}

.auth-overlay.open .auth-modal {
    transform: translateY(0) scale(1)
}

.auth-modal-top {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 28px 28px 24px;
    position: relative;
}

    .auth-modal-top h2 {
        font-family: var(--font-h);
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--white);
        margin-top: 6px
    }

    .auth-modal-top p {
        font-size: .85rem;
        color: rgba(255,255,255,.55);
        margin-top: 4px
    }

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: all .15s;
}

    .auth-close:hover {
        background: rgba(255,255,255,.2);
        color: var(--white)
    }

.auth-tabs {
    display: flex;
    margin-top: 16px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 3px
}

.auth-tab {
    flex: 1;
    padding: 7px;
    text-align: center;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .15s;
}

    .auth-tab.active {
        background: var(--teal);
        color: var(--ink)
    }

.auth-body {
    padding: 24px 28px 28px
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 14px
}

    .auth-form.active {
        display: flex
    }

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.auth-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--gray-600)
}

.auth-input {
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .9rem;
    color: var(--gray-800);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
}

    .auth-input:focus {
        border-color: var(--teal)
    }

.auth-btn {
    padding: 12px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .92rem;
    color: var(--ink);
    transition: all .15s;
    border: none;
    cursor: pointer;
    margin-top: 4px;
}

    .auth-btn:hover {
        background: var(--teal-d);
        box-shadow: var(--shadow-teal)
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-300);
    font-size: .8rem;
    margin: 4px 0
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--gray-200)
    }

.auth-footer {
    text-align: center;
    font-size: .82rem;
    color: var(--gray-500);
    margin-top: 4px
}

    .auth-footer a {
        color: var(--blue);
        font-weight: 600
    }

.auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
    background: var(--white);
}

    .auth-google:hover {
        border-color: var(--gray-300);
        background: var(--gray-50)
    }

.auth-pwd-wrap {
    position: relative
}

    .auth-pwd-wrap .auth-input {
        width: 100%;
        padding-right: 40px
    }

.toggle-pwd {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: .85rem;
    color: var(--gray-400);
    user-select: none
}

/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg,var(--ink) 0%,var(--navy) 50%,#112240 100%);
    padding: 72px 0 60px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,201,167,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.04) 1px,transparent 1px);
    background-size: 48px 48px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,rgba(0,201,167,.12) 0%,transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-glow2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,rgba(37,99,235,.1) 0%,transparent 70%);
    bottom: -80px;
    left: 10%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,201,167,.12);
    border: 1px solid rgba(0,201,167,.25);
    color: var(--teal);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 1.8s infinite
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2rem,4vw,3.4rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 14px;
}

    .hero h1 mark {
        background: none;
        color: var(--teal);
        position: relative;
        display: inline-block;
    }

.hero-sub {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 28px
}

.hero-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px
}

.btn-hero-p {
    padding: 13px 26px;
    background: var(--teal);
    border-radius: 10px;
    font-weight: 800;
    font-size: .92rem;
    color: var(--ink);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-hero-p:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal)
    }

.btn-hero-s {
    padding: 13px 26px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

    .btn-hero-s:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }
/* Hero search */
.hero-search {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 8px 8px 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.hs-icon {
    color: rgba(255,255,255,.4);
    font-size: 1rem;
    flex-shrink: 0
}

.hero-search input {
    flex: 1;
    min-width: 180px;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: .9rem;
}

    .hero-search input::placeholder {
        color: rgba(255,255,255,.4)
    }

.hero-search select {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8);
    padding: 7px 10px;
    border-radius: 7px;
    font-size: .82rem;
    outline: none;
}

    .hero-search select option {
        color: var(--gray-800);
        background: var(--white)
    }

.hero-search button {
    padding: 9px 20px;
    background: var(--teal);
    color: var(--ink);
    border-radius: 8px;
    font-weight: 800;
    font-size: .87rem;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}

    .hero-search button:hover {
        background: var(--teal-d)
    }

.hs-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 100%
}

.hs-tag {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    padding: 4px 11px;
    border-radius: 100px;
    font-size: .75rem;
    cursor: pointer;
    transition: all .15s;
}

    .hs-tag:hover {
        background: rgba(0,201,167,.15);
        border-color: rgba(0,201,167,.3);
        color: var(--teal)
    }
/* Hero KPI panel */
.hero-kpi {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-xl);
    padding: 24px;
    backdrop-filter: blur(12px);
}

.hkpi-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.3);
    color: var(--green);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: livepulse 1.5s infinite
}

@keyframes livepulse {
    0%,100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(.8)
    }
}

.hkpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.hkpi-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 16px;
}

.hkpi-val {
    font-family: var(--font-h);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--white)
}

.hkpi-lbl {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px
}

.hkpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 7px;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
}

    .hkpi-trend.up {
        background: rgba(16,185,129,.15);
        color: var(--green)
    }

    .hkpi-trend.blue {
        background: rgba(37,99,235,.15);
        color: #93c5fd
    }

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO (sub-pages)
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

    .page-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,201,167,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.03) 1px,transparent 1px);
        background-size: 40px 40px;
    }

.ph-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1
}

.ph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(1.6rem,3vw,2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.page-hero p {
    color: rgba(255,255,255,.55);
    font-size: .92rem;
    margin-top: 8px;
    max-width: 550px
}

.ph-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap
}

.ph-stat {
    font-size: .82rem;
    color: rgba(255,255,255,.5)
}

    .ph-stat b {
        color: var(--white);
        font-weight: 700;
        margin-right: 4px
    }

/* ══════════════════════════════════════════════════════════════════
   LAYOUT & SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px
}

.section {
    padding: 64px 0
}

    .section.alt {
        background: var(--gray-50)
    }

.sec-hdr {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px
}

.sec-eyebrow {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px
}

.sec-title {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-800)
}

.sec-desc {
    font-size: .9rem;
    color: var(--gray-500);
    margin-top: 4px;
    max-width: 500px
}

.see-all {
    font-size: .85rem;
    font-weight: 700;
    color: var(--teal)
}

    .see-all:hover {
        color: var(--teal-d);
        text-decoration: underline
    }

/* ══════════════════════════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════════════════════════ */
.ticker {
    background: var(--navy2);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 9px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker 45s linear infinite;
    width: max-content
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.06);
}

    .ticker-item .ti-label {
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: rgba(255,255,255,.35)
    }

    .ticker-item .ti-val {
        font-size: .8rem;
        font-weight: 600;
        color: rgba(255,255,255,.7)
    }

    .ticker-item .ti-chg {
        font-size: .72rem;
        font-weight: 800
    }

.ti-chg.up {
    color: var(--green)
}

.ti-chg.dn {
    color: var(--red)
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER CARDS
   ══════════════════════════════════════════════════════════════════ */
.mfr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 18px
}

.mfr-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 0;
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .mfr-card:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 24px rgba(0,201,167,.1);
        transform: translateY(-3px)
    }

.mc-header {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px
}

.mc-logo {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .88rem;
    color: var(--white);
}

.mc-hd-info {
}

.mc-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .95rem;
    color: var(--white)
}

.mc-country {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px
}

.mc-badges {
    display: flex;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0
}

.badge-v {
    background: rgba(16,185,129,.2);
    color: var(--green);
    border: 1px solid rgba(16,185,129,.3);
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800
}

.badge-f {
    background: rgba(245,158,11,.2);
    color: var(--amber);
    border: 1px solid rgba(245,158,11,.3);
    padding: 2px 7px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800
}

.mc-body {
    padding: 16px;
    flex: 1
}

.mc-bio {
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mc-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--gray-100);
    padding: 12px 16px;
    background: var(--gray-50);
}

.mc-stat {
    flex: 1;
    text-align: center
}

.mc-stat-val {
    font-weight: 800;
    font-size: .88rem;
    color: var(--gray-800)
}

.mc-stat-lbl {
    font-size: .68rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 1px
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════════════ */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 16px
}

.prod-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .prod-card:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 24px rgba(0,201,167,.08);
        transform: translateY(-2px)
    }

.pc-img {
    height: 140px;
    background: linear-gradient(135deg,var(--gray-50),var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.pc-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--teal);
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pc-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.pc-cat {
    background: var(--teal-l);
    color: var(--teal-d);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 7px;
}

.pc-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.3;
    flex: 1
}

.pc-mfr {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 4px
}

.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100)
}

.pc-price {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .92rem;
    color: var(--navy)
}

.pc-rating {
    font-size: .75rem;
    color: var(--gray-400)
}

    .pc-rating .stars {
        color: var(--amber)
    }

/* ══════════════════════════════════════════════════════════════════
   SEARCH / FILTER LAYOUT
   ══════════════════════════════════════════════════════════════════ */
.search-layout {
    padding-top: 28px;
    padding-bottom: 48px;
}

.mfr-layout {
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 24px;
    align-items: start;
    position: relative;
}
/* Mobile filter btn: hidden desktop, spans full row so it doesn't break grid */
.fp-mobile-btn {
    display: none;
    grid-column: 1/-1;
}
/* Filter panel */
.filter-panel {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-h) + 14px);
}

.fp-head {
    padding: 14px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .fp-head h3 {
        font-family: var(--font-h);
        font-size: .87rem;
        font-weight: 700;
        color: var(--gray-700)
    }

.fp-clear {
    font-size: .77rem;
    font-weight: 700;
    color: var(--teal);
    cursor: pointer
}

    .fp-clear:hover {
        color: var(--teal-d)
    }

.fp-body {
    padding: 0
}

.fp-section {
    border-bottom: 1px solid var(--gray-100)
}

.fp-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-700);
    transition: background .12s;
}

    .fp-section-hd:hover {
        background: var(--gray-50)
    }

    .fp-section-hd .fp-caret {
        transition: transform .2s;
        color: var(--gray-400);
        font-size: .7rem
    }

.fp-section.open .fp-caret {
    transform: rotate(180deg)
}

.fp-section-body {
    display: none;
    padding: 8px 18px 14px
}

.fp-section.open .fp-section-body {
    display: block
}
/* search within filter */
.fp-search {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    padding: 7px 10px;
    margin-bottom: 10px;
}

.fp-search-ico {
    font-size: .8rem;
    color: var(--gray-400)
}

.fp-search input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: .82rem;
    color: var(--gray-700)
}

    .fp-search input::placeholder {
        color: var(--gray-300)
    }
/* Checkbox items */
.fp-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    cursor: pointer;
}

    .fp-checkbox label {
        display: flex;
        align-items: center;
        gap: 9px;
        cursor: pointer;
        font-size: .85rem;
        color: var(--gray-700);
    }

    .fp-checkbox input[type=checkbox] {
        width: 16px;
        height: 16px;
        border-radius: 4px;
        accent-color: var(--teal);
        cursor: pointer;
        flex-shrink: 0;
    }

.fp-count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gray-400);
    background: var(--gray-100);
    padding: 1px 7px;
    border-radius: 100px;
}
/* Range slider */
.fp-range {
    margin-top: 8px
}

.fp-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--gray-500);
    margin-bottom: 6px
}

.fp-range input[type=range] {
    width: 100%;
    accent-color: var(--teal)
}

.fp-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px
}

.fp-range-input {
    padding: 7px 10px;
    border: 1.5px solid var(--gray-200);
    border-radius: 7px;
    font-size: .82rem;
    color: var(--gray-700);
    outline: none;
    transition: border-color .15s;
}

    .fp-range-input:focus {
        border-color: var(--teal)
    }
/* Apply btn */
.fp-apply {
    padding: 14px 18px;
    border-top: 1px solid var(--gray-200);
}

    .fp-apply button {
        width: 100%;
        padding: 10px;
        background: var(--teal);
        border-radius: 9px;
        font-weight: 800;
        font-size: .87rem;
        color: var(--ink);
        transition: all .15s;
        border: none;
        cursor: pointer;
    }

        .fp-apply button:hover {
            background: var(--teal-d);
            box-shadow: var(--shadow-teal)
        }

/* Results area */
.results-area {
}

.results-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.rb-count {
    font-size: .87rem;
    color: var(--gray-600)
}

    .rb-count b {
        color: var(--gray-800);
        font-weight: 700
    }

.rb-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--teal-l);
    color: var(--teal-d);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
}

.rb-tag-x {
    cursor: pointer;
    opacity: .6;
    transition: opacity .1s
}

    .rb-tag-x:hover {
        opacity: 1
    }

.rb-sort {
    margin-left: auto
}

    .rb-sort select {
        padding: 5px 10px;
        border: 1.5px solid var(--gray-200);
        border-radius: 7px;
        font-size: .82rem;
        color: var(--gray-700);
        outline: none;
        background: var(--white);
    }

/* ══════════════════════════════════════════════════════════════════
   ARTICLE CARDS
   ══════════════════════════════════════════════════════════════════ */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px
}

.art-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .art-card:hover {
        border-color: var(--gray-300);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.art-card-img {
    height: 140px;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: flex-start;
    padding: 14px;
}

.art-type-badge {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.atb-article {
    background: rgba(37,99,235,.2);
    color: #93c5fd
}

.atb-interview {
    background: rgba(124,58,237,.2);
    color: #c4b5fd
}

.atb-whitepaper {
    background: rgba(245,158,11,.2);
    color: #fcd34d
}

.atb-technical {
    background: rgba(16,185,129,.2);
    color: #6ee7b7
}

.atb-news {
    background: rgba(239,68,68,.2);
    color: #fca5a5
}

.atb-casestudy {
    background: rgba(0,201,167,.2);
    color: var(--teal)
}

.art-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.art-card-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--gray-800);
    line-height: 1.4;
    flex: 1;
    margin-bottom: 10px
}

.art-card-meta {
    font-size: .75rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px
}

    .art-card-meta span::before {
        content: '·';
        margin-right: 8px
    }

    .art-card-meta span:first-child::before {
        display: none
    }

/* Article hero band */
.art-hero-band {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 28px;
    transition: transform .22s,box-shadow .22s;
}

    .art-hero-band:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg)
    }

.ahb-img {
    background: linear-gradient(135deg,rgba(0,201,167,.3),rgba(37,99,235,.3));
    padding: 24px;
    display: flex;
    align-items: flex-start
}

.ahb-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

    .ahb-body h2 {
        font-family: var(--font-h);
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--white);
        margin: 8px 0;
        line-height: 1.3
    }

    .ahb-body p {
        color: rgba(255,255,255,.55);
        font-size: .87rem;
        line-height: 1.6
    }

.ahb-meta {
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin-top: 12px;
    display: flex;
    gap: 12px
}

/* ══════════════════════════════════════════════════════════════════
   EVENT / WEBINAR / VIDEO CARDS
   ══════════════════════════════════════════════════════════════════ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 16px
}

.event-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 18px;
    display: flex;
    gap: 14px;
    transition: all .22s;
}

    .event-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.ev-date-box {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    background: linear-gradient(135deg,var(--teal),var(--teal-d));
    border-radius: 10px;
    padding: 8px 4px;
}

.ev-mon {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255,255,255,.7)
}

.ev-day {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1
}

.ev-info {
}

.ev-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.3
}

.ev-meta {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.ev-type-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.evb-tradeshow {
    background: #fef3c7;
    color: #92400e
}

.evb-conference {
    background: #ede9fe;
    color: #5b21b6
}

.evb-webinar {
    background: var(--teal-l);
    color: var(--teal-d)
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 18px
}

.web-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .22s;
    display: flex;
    flex-direction: column;
}

    .web-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateY(-2px)
    }

.wc-thumb {
    height: 148px;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
}

.wc-od-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,201,167,.85);
    color: var(--ink);
    padding: 3px 9px;
    border-radius: 100px;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.wc-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.wc-cat {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px
}

.wc-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--gray-800);
    line-height: 1.4;
    flex: 1
}

.wc-host {
    font-size: .78rem;
    color: var(--gray-500);
    margin-top: 8px
}

.wc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100)
}

.wc-dur {
    font-size: .75rem;
    color: var(--gray-400)
}

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER HERO (detail page)
   ══════════════════════════════════════════════════════════════════ */
.mfr-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    overflow: hidden;
    position: relative
}

    .mfr-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,201,167,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(0,201,167,.03) 1px,transparent 1px);
        background-size: 40px 40px;
    }

.mfr-hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 0;
    position: relative;
    z-index: 1
}

.mh-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 32px
}

.mh-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--white);
}

.mh-info {
    flex: 1;
    min-width: 200px
}

.mh-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

    .mh-name-row h1 {
        font-family: var(--font-h);
        font-size: clamp(1.5rem,3vw,2rem);
        font-weight: 800;
        color: var(--white)
    }

.mh-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    color: rgba(255,255,255,.55);
    font-size: .83rem
}

    .mh-meta span {
        display: flex;
        align-items: center;
        gap: 4px
    }

.mh-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0
}

.mfr-stats-bar {
    display: flex;
    border-top: 1px solid rgba(255,255,255,.08);
    flex-wrap: wrap;
}

.msb {
    flex: 1;
    min-width: 100px;       /* prevent cut-off */
    padding: 14px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.06);
}

    .msb:last-child {
        border-right: none
    }

.msb-val {
    font-family: var(--font-h);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--white);
    white-space: nowrap;    /* prevent number wrapping */
}

.msb-lbl {
    font-size: .65rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px
}

/* ══════════════════════════════════════════════════════════════════
   MARKET INTELLIGENCE
   ══════════════════════════════════════════════════════════════════ */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin: 28px 0
}

.kpi-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 20px;
    transition: all .2s;
}

    .kpi-card:hover {
        border-color: var(--teal);
        box-shadow: 0 4px 16px rgba(0,201,167,.08)
    }

.kpi-val {
    font-family: var(--font-h);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--navy)
}

.kpi-lbl {
    font-size: .72rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 4px
}

.kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800
}

    .kpi-trend.up {
        background: #dcfce7;
        color: #15803d
    }

    .kpi-trend.down {
        background: #fee2e2;
        color: #dc2626
    }

/* ══════════════════════════════════════════════════════════════════
   DETAIL LAYOUT (manufacturer, product, article detail)
   ══════════════════════════════════════════════════════════════════ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 48px
}

.detail-main {
}

.detail-side {
}

.card-block {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 22px;
    margin-bottom: 20px;
}

    .card-block h2 {
        font-family: var(--font-h);
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--gray-800);
        margin-bottom: 16px
    }

.cb-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

    .cb-hdr h2 {
        margin-bottom: 0
    }

.sb-hd {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-400);
    margin-bottom: 14px
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .87rem;
    color: var(--ink);
    transition: all .15s;
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal)
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-weight: 600;
    font-size: .87rem;
    color: var(--gray-700);
    transition: all .15s;
    cursor: pointer;
    background: var(--white);
}

    .btn-outline:hover {
        border-color: var(--teal);
        color: var(--teal)
    }

.btn-outline-dark {
    padding: 9px 20px;
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 9px;
    font-weight: 600;
    font-size: .87rem;
    color: rgba(255,255,255,.85);
    transition: all .15s;
    cursor: pointer;
}

    .btn-outline-dark:hover {
        border-color: rgba(255,255,255,.5);
        color: var(--white)
    }

.btn-sm {
    padding: 6px 14px;
    background: var(--teal-l);
    color: var(--teal-d);
    border-radius: 7px;
    font-size: .78rem;
    font-weight: 700;
    transition: all .15s;
    border: none;
    cursor: pointer;
}

    .btn-sm:hover {
        background: var(--teal);
        color: var(--ink)
    }

/* ══════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 5px
}

    .fg.full {
        grid-column: 1/-1
    }

    .fg label {
        font-size: .79rem;
        font-weight: 700;
        color: var(--gray-600)
    }

.form-ctrl {
    padding: 10px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 9px;
    font-size: .88rem;
    color: var(--gray-800);
    outline: none;
    transition: border-color .15s;
    background: var(--white);
    width: 100%;
}

    .form-ctrl:focus {
        border-color: var(--teal)
    }

textarea.form-ctrl {
    resize: vertical;
    min-height: 100px
}

.form-success {
    background: #dcfce7;
    border: 1.5px solid #86efac;
    color: #15803d;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════════════ */
.data-table {
    width: 100%;
    border-collapse: collapse
}

    .data-table th {
        text-align: left;
        font-size: .72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--gray-400);
        padding: 10px 14px;
        border-bottom: 2px solid var(--gray-200);
        white-space: nowrap;
        background: var(--gray-50);
    }

    .data-table td {
        padding: 12px 14px;
        font-size: .87rem;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700)
    }

    .data-table tr:hover td {
        background: var(--gray-50)
    }

    .data-table tr:last-child td {
        border-bottom: none
    }

/* ══════════════════════════════════════════════════════════════════
   STATUS BADGES
   ══════════════════════════════════════════════════════════════════ */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800
}

.sp-submitted {
    background: #fef3c7;
    color: #92400e
}

.sp-viewed {
    background: #dbeafe;
    color: #1e40af
}

.sp-responded {
    background: #dcfce7;
    color: #15803d
}

.sp-closed {
    background: var(--gray-100);
    color: var(--gray-500)
}

/* ══════════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════════ */
.pager {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 32px;
    flex-wrap: wrap
}

.pg-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-600);
    transition: all .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pg-btn:hover {
        border-color: var(--teal);
        color: var(--teal)
    }

    .pg-btn.active {
        background: var(--teal);
        border-color: var(--teal);
        color: var(--ink)
    }

.pg-info {
    font-size: .78rem;
    color: var(--gray-400);
    margin-left: 8px
}

/* ══════════════════════════════════════════════════════════════════
   MISC
   ══════════════════════════════════════════════════════════════════ */
.breadcrumb {
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: 14px
}

    .breadcrumb a {
        color: var(--teal);
        font-weight: 600
    }

        .breadcrumb a:hover {
            color: var(--teal-d)
        }

.stars {
    color: var(--amber)
}

.info-list .il-r {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .85rem
}

    .info-list .il-r:last-child {
        border-bottom: none
    }

    .info-list .il-r span {
        color: var(--gray-500)
    }

    .info-list .il-r b {
        font-weight: 700;
        color: var(--gray-800);
        text-align: right;
        max-width: 58%
    }

/* Spec table */
.spec-group-hd {
    font-weight: 800;
    font-size: .82rem;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 7px 12px;
    border-radius: 6px;
    margin: 14px 0 6px;
    text-transform: uppercase;
    letter-spacing: .05em
}

.spec-table {
    width: 100%;
    border-collapse: collapse
}

    .spec-table td {
        padding: 8px 12px;
        font-size: .85rem;
        border-bottom: 1px solid var(--gray-100)
    }

    .spec-table .sk {
        font-weight: 600;
        color: var(--gray-600);
        width: 45%
    }

/* User hero */
.user-hero {
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 40px 0;
    color: var(--white)
}

.uh-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap
}

.uh-av {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,.15)
}

.uh-row h1 {
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white)
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--gray-200);
    flex-wrap: wrap
}

.ftab {
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap
}

    .ftab.active, .ftab:hover {
        color: var(--teal);
        border-color: var(--teal)
    }

/* Toast */
.toast-bar {
    background: #dcfce7;
    border-bottom: 2px solid #86efac;
    color: #15803d;
    padding: 11px 24px;
    text-align: center;
    font-weight: 700;
    font-size: .87rem;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    padding: 60px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px
}

.fg-brand p {
    font-size: .85rem;
    line-height: 1.7;
    margin-top: 10px;
    max-width: 260px;
    color: rgba(255,255,255,.45)
}

.footer-logo {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 9px
}

.footer-logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem
}

.footer-logo em {
    color: var(--teal);
    font-style: normal
}

.f-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

    .f-socials a {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(255,255,255,.07);
        color: rgba(255,255,255,.55);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .8rem;
        font-weight: 700;
        transition: all .15s
    }

        .f-socials a:hover {
            background: var(--teal);
            color: var(--ink)
        }

.site-footer h4 {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.3);
    margin-bottom: 14px;
    font-weight: 800
}

.site-footer .f-link {
    display: block;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 9px;
    transition: color .15s
}

    .site-footer .f-link:hover {
        color: var(--white)
    }

.footer-bar {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    flex-wrap: wrap;
    gap: 8px
}

/* Scroll top */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800;
    box-shadow: var(--shadow-teal);
    opacity: 0;
    transform: translateY(8px);
    transition: all .2s;
    pointer-events: none;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scroll-top.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all
    }

    .scroll-top:hover {
        background: var(--teal-d)
    }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media(max-width:1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-right {
        display: none
    }

    .kpi-strip {
        grid-template-columns: repeat(2,1fr)
    }

    .detail-layout {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:900px) {
    .search-layout {
        grid-template-columns: 1fr
    }

    .filter-panel {
        position: static
    }

    .mfr-stats-bar {
        flex-wrap: wrap
    }

    .msb {
        min-width: 50%
    }
}

@media(max-width:768px) {
    .nav-links, .nav-right {
        display: none
    }

    .hamburger {
        display: flex
    }

    .mega-panel {
        min-width: 90vw;
        left: 0;
        transform: none
    }

        .mega-panel::before {
            display: none
        }

        .mega-panel.open {
            transform: none
        }

    .kpi-strip {
        grid-template-columns: 1fr 1fr
    }

    .form-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:540px) {
    .section {
        padding: 40px 0
    }

    .kpi-strip {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .mfr-grid {
        grid-template-columns: 1fr
    }

    .prod-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .auth-modal-top {
        padding: 22px 20px 18px
    }

    .auth-body {
        padding: 20px 20px 24px
    }
}

/* ══════════════════════════════════════════════════════════════════
   ADS & SPONSORED UNITS
   ══════════════════════════════════════════════════════════════════ */
/* Square 300×250 */
.ad-square {
    width: 300px;
    height: 250px;
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
}

.ad-square-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg,#0f1b2d 0%,#1a2d46 60%,#00c9a7 200%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    .ad-square-inner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%,rgba(0,201,167,.2) 0%,transparent 60%);
    }

.ad-label {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.5);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 4px;
}

.ad-square-inner .ad-logo {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ad-square-inner h4 {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
    position: relative;
    z-index: 1;
}

.ad-square-inner p {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    margin: 6px 0 12px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.ad-square-inner .ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
    color: var(--ink);
    transition: all .15s;
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

    .ad-square-inner .ad-cta:hover {
        background: var(--teal-d);
    }

/* Leaderboard 728×90 */
.ad-leaderboard {
    width: 100%;
    height: 88px;
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    border: 1.5px solid var(--gray-200);
    background: linear-gradient(90deg,var(--navy) 0%,var(--navy3) 100%);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    margin: 24px 0;
}

    .ad-leaderboard .ad-label {
        position: absolute;
        top: 6px;
        right: 8px;
    }

.ad-lb-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ad-lb-body {
    flex: 1;
    min-width: 0;
}

    .ad-lb-body h4 {
        font-family: var(--font-h);
        font-size: .92rem;
        font-weight: 800;
        color: var(--white);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ad-lb-body p {
        font-size: .72rem;
        color: rgba(255,255,255,.5);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 2px;
    }

.ad-lb-cta {
    flex-shrink: 0;
    padding: 8px 20px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
    transition: all .15s;
}

    .ad-lb-cta:hover {
        background: var(--teal-d);
    }

/* Mid-content banner 100%×120 */
.ad-banner {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(135deg,#1a0533 0%,#0f1b2d 50%,#0d2a1e 100%);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px 0;
    position: relative;
}

    .ad-banner::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 40%;
        background: radial-gradient(ellipse at right,rgba(0,201,167,.15) 0%,transparent 70%);
    }

    .ad-banner .ad-label {
        top: 10px;
        right: 10px;
    }

.ad-banner-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
}

.ad-banner-body {
    flex: 1;
}

    .ad-banner-body h4 {
        font-family: var(--font-h);
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--white);
    }

    .ad-banner-body p {
        font-size: .82rem;
        color: rgba(255,255,255,.5);
        margin-top: 4px;
    }

.ad-banner-cta {
    flex-shrink: 0;
    padding: 11px 24px;
    background: var(--teal);
    border-radius: 9px;
    font-weight: 800;
    font-size: .87rem;
    color: var(--ink);
    transition: all .15s;
    z-index: 1;
}

    .ad-banner-cta:hover {
        background: var(--teal-d);
        transform: translateY(-1px);
        box-shadow: var(--shadow-teal);
    }

/* Sidebar ad 300×600 */
.ad-sidebar {
    width: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(160deg,var(--navy) 0%,var(--navy3) 100%);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-bottom: 20px;
}

    .ad-sidebar .ad-label {
        top: 10px;
        right: 10px;
    }

.ad-sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(135deg,var(--teal),var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ad-sidebar h4 {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
}

.ad-sidebar p {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin: 8px 0 16px;
    line-height: 1.6;
}

.ad-sidebar-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

    .ad-sidebar-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        color: rgba(255,255,255,.7);
    }

        .ad-sidebar-features li::before {
            content: '✓';
            color: var(--teal);
            font-weight: 800;
        }

.ad-sidebar .ad-cta {
    display: block;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT CARD ACTION BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.pc-actions {
    display: flex;
    gap: 6px;
    padding: 0 14px 14px;
    margin-top: auto;
}

.pc-btn-enquiry {
    flex: 1;
    padding: 7px 0;
    background: var(--teal);
    border-radius: 7px;
    font-size: .75rem;
    font-weight: 800;
    color: var(--ink);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
    border: none;
}

    .pc-btn-enquiry:hover {
        background: var(--teal-d);
    }

.pc-btn-ds {
    width: 36px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    cursor: pointer;
    border: none;
    transition: all .15s;
    flex-shrink: 0;
    title: "Download Datasheet";
}

    .pc-btn-ds:hover {
        background: var(--blue-l);
        color: var(--blue);
    }

.pc-btn-compare {
    width: 36px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    border: none;
    transition: all .15s;
    flex-shrink: 0;
}

    .pc-btn-compare:hover {
        background: #fef3c7;
        color: var(--amber);
    }

    .pc-btn-compare.active {
        background: #fef3c7;
        color: var(--amber);
    }

/* ══════════════════════════════════════════════════════════════════
   MANUFACTURER CARD - VIEW PROFILE BUTTON
   ══════════════════════════════════════════════════════════════════ */
.mc-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}

.mc-btn-profile {
    flex: 1;
    padding: 8px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--ink);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
}

    .mc-btn-profile:hover {
        background: var(--teal-d);
    }

.mc-btn-rfq {
    padding: 8px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-600);
    text-align: center;
    transition: all .15s;
    cursor: pointer;
    background: var(--white);
}

    .mc-btn-rfq:hover {
        border-color: var(--teal);
        color: var(--teal);
    }

/* ══════════════════════════════════════════════════════════════════
   COMPARE BAR (sticky bottom)
   ══════════════════════════════════════════════════════════════════ */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 600;
    background: var(--navy);
    border-top: 2px solid var(--teal);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(100%);
    transition: transform .25s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

    .compare-bar.show {
        transform: translateY(0);
    }

.compare-slots {
    display: flex;
    gap: 10px;
    flex: 1;
}

.compare-slot {
    width: 120px;
    height: 52px;
    border: 1.5px dashed rgba(255,255,255,.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    color: rgba(255,255,255,.3);
    flex-shrink: 0;
}

    .compare-slot.filled {
        border-color: var(--teal);
        background: rgba(0,201,167,.07);
        flex-direction: column;
        gap: 3px;
        padding: 6px 8px;
    }

        .compare-slot.filled .cs-name {
            font-size: .72rem;
            font-weight: 700;
            color: var(--white);
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 100%;
            text-align: center;
        }

        .compare-slot.filled .cs-x {
            font-size: .65rem;
            color: rgba(255,255,255,.4);
            cursor: pointer;
        }

            .compare-slot.filled .cs-x:hover {
                color: var(--red);
            }

.compare-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.compare-count {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.compare-btn {
    padding: 9px 22px;
    background: var(--teal);
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    border: none;
    transition: all .15s;
}

    .compare-btn:hover {
        background: var(--teal-d);
    }

.compare-clear {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
    cursor: pointer;
}

    .compare-clear:hover {
        color: var(--white);
    }

/* ══════════════════════════════════════════════════════════════════
   CATEGORY GRID PAGE
   ══════════════════════════════════════════════════════════════════ */
.cat-hero-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: all .22s;
    cursor: pointer;
}

    .cat-hero-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0,0,0,.2);
    }

    .cat-hero-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%,rgba(0,201,167,.15) 0%,transparent 60%);
    }

.cat-hero-emoji {
    font-size: 2.6rem;
    position: relative;
    z-index: 1;
}

.cat-hero-card h3 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.cat-hero-card .cat-count {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
    position: relative;
    z-index: 1;
    margin-top: 3px;
}

.cat-hero-card .cat-arrow {
    position: absolute;
    bottom: 16px;
    right: 18px;
    font-size: 1rem;
    color: var(--teal);
    opacity: 0;
    transition: opacity .2s;
    z-index: 1;
}

.cat-hero-card:hover .cat-arrow {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   ENQUIRY MODAL — redesigned
   ══════════════════════════════════════════════════════════════════ */
.enq-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10,16,26,.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s;
    padding: 16px;
}

    .enq-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.enq-sheet {
    background: var(--white);
    border-radius: 22px;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 40px 100px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08);
    transform: translateY(24px) scale(.97);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
    overflow: hidden;
    max-height: 94vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.enq-overlay.open .enq-sheet {
    transform: none;
}

/* Header */
.enq-banner {
    background: linear-gradient(135deg,#0b1d31 0%,#0f2a46 60%,#163555 100%);
    padding: 22px 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-shrink: 0;
}

.enq-banner-left {
    flex: 1;
}

.enq-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0,201,167,.15);
    color: #00c9a7;
    border: 1px solid rgba(0,201,167,.25);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 9px;
}

.enq-company {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}

.enq-tagline {
    font-size: .79rem;
    color: rgba(255,255,255,.4);
    margin-top: 6px;
    line-height: 1.4;
}

.enq-x {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    margin-top: 2px;
}

    .enq-x:hover {
        background: rgba(255,255,255,.16);
        color: var(--white);
        border-color: rgba(255,255,255,.25);
    }

/* Form */
.enq-body {
    padding: 22px 24px 24px;
    flex: 1;
}

.enq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.enq-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.enq-field--full {
    grid-column: 1/-1;
}

.enq-label {
    font-size: .72rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.enq-req {
    color: #ef4444;
    margin-left: 2px;
}

.enq-input {
    width: 100%;
    padding: 10px 14px;
    font-size: .88rem;
    font-family: inherit;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    background: #fafafa;
    color: #111827;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

    .enq-input:focus {
        border-color: #00c9a7;
        box-shadow: 0 0 0 3px rgba(0,201,167,.1);
        background: #fff;
    }

    .enq-input::placeholder {
        color: #9ca3af;
    }

.enq-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
    cursor: pointer;
}

.enq-textarea {
    resize: vertical;
    min-height: 88px;
}

.enq-cta {
    width: 100%;
    padding: 14px 22px;
    background: #00c9a7;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: .94rem;
    font-weight: 800;
    color: #0b1d31;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .18s;
    margin-top: 4px;
    letter-spacing: -.01em;
    box-shadow: 0 4px 20px rgba(0,201,167,.25);
}

    .enq-cta:hover {
        background: #00b896;
        box-shadow: 0 8px 28px rgba(0,201,167,.4);
        transform: translateY(-1px);
    }

    .enq-cta:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(0,201,167,.2);
    }

.enq-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: #9ca3af;
    text-align: center;
    justify-content: center;
}

/* Success */
.enq-success {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 32px;
    text-align: center;
}

.enq-success-icon {
    font-size: 3rem;
}

.enq-success-title {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f1b2d;
    margin: 0;
}

.enq-success-sub {
    font-size: .87rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Mobile */
@media(max-width:540px) {
    .enq-grid {
        grid-template-columns: 1fr;
    }

    .enq-field--full {
        grid-column: 1;
    }

    .enq-sheet {
        border-radius: 20px 20px 0 0;
        max-height: 96vh;
    }

    .enq-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .enq-banner {
        padding: 18px 18px 16px;
    }

    .enq-body {
        padding: 16px 18px 20px;
    }
}


/* ══════════════════════════════════════════════════════════════════
   DATASHEET TOAST
   ══════════════════════════════════════════════════════════════════ */
.ds-toast {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 700;
    background: var(--navy);
    border: 1px solid var(--teal);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform .3s ease;
    max-width: 320px;
}

    .ds-toast.show {
        transform: translateX(0);
    }

.ds-toast-ico {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ds-toast-body h5 {
    font-size: .85rem;
    font-weight: 700;
    color: var(--white);
}

.ds-toast-body p {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px;
}

.ds-toast-close {
    color: rgba(255,255,255,.3);
    cursor: pointer;
    font-size: .8rem;
    margin-left: auto;
    flex-shrink: 0;
}

    .ds-toast-close:hover {
        color: var(--white);
    }

/* Category tag cloud */
.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
}

    .cat-tag:hover, .cat-tag.active {
        border-color: var(--teal);
        background: var(--teal-xl);
        color: var(--teal-d);
    }

/* News index card */
.news-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-lg);
    transition: all .22s;
}

    .news-card:hover {
        border-color: var(--teal);
        box-shadow: var(--shadow);
        transform: translateX(3px);
    }

.news-card-img {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--navy),var(--navy3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.news-card-body {
}

.news-card-title {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
    line-height: 1.4;
}

.news-card-meta {
    font-size: .73rem;
    color: var(--gray-400);
    margin-top: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Video detail */
.video-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--r-lg);
    background: var(--ink);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,201,167,.9);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all .2s;
}

    .video-play-btn:hover {
        transform: scale(1.1);
        background: var(--teal);
    }

/* ── CATEGORIES MEGA MENU TILES ──────────────────────────────────── */
.cat-mega-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 8px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-700);
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}

    .cat-mega-tile div {
        font-size: 1.5rem;
        line-height: 1;
    }

    .cat-mega-tile:hover {
        border-color: var(--teal);
        background: rgba(0,201,167,.06);
        transform: translateY(-2px);
        color: var(--teal);
    }

.cat-mega-cta-btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s;
}

    .cat-mega-cta-btn.navy {
        background: var(--navy);
        color: var(--white);
    }

        .cat-mega-cta-btn.navy:hover {
            background: var(--navy3);
        }

    .cat-mega-cta-btn.teal {
        background: var(--teal);
        color: var(--navy);
    }

        .cat-mega-cta-btn.teal:hover {
            background: var(--teal-d, #00a589);
        }

    .cat-mega-cta-btn.outline {
        background: var(--gray-50);
        border: 1.5px solid var(--gray-200);
        color: var(--gray-700);
    }

        .cat-mega-cta-btn.outline:hover {
            border-color: var(--teal);
            color: var(--teal);
            background: rgba(0,201,167,.04);
        }

/* ── NEWS CAROUSEL ───────────────────────────────────────────────── */
.nc-carousel-wrap {
    position: relative;
    overflow: hidden;
}

.nc-slide {
    display: none;
    animation: ncFadeIn .5s ease;
}

    .nc-slide.nc-active {
        display: block;
    }

@keyframes ncFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.nc-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}

.nc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: all .2s;
    border: none;
    padding: 0;
}

    .nc-dot.active {
        background: var(--teal);
        transform: scale(1.2);
    }

.nc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .8rem;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: all .15s;
}

    .nc-nav:hover {
        background: var(--teal);
        border-color: var(--teal);
        color: var(--white);
    }

    .nc-nav.prev {
        left: -14px;
    }

    .nc-nav.next {
        right: -14px;
    }

/* ── AUTH TOAST KEYFRAME ─────────────────────────────────────────── */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── MANUFACTURER SINGLE-ROW LIST ────────────────────────────────── */
.mfr-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

    .mfr-list .mfr-card {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 18px;
        padding: 16px 20px;
        border-radius: 12px;
        border: 1.5px solid var(--gray-200);
        background: var(--white);
        transition: all .2s
    }

        .mfr-list .mfr-card:hover {
            border-color: var(--teal);
            box-shadow: 0 4px 20px rgba(0,201,167,.1);
            transform: translateX(3px)
        }

    .mfr-list .mc-header {
        display: contents
    }

    .mfr-list .mc-logo {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        background: linear-gradient(135deg,var(--navy),#2563eb);
        color: #fff;
        font-size: .85rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0
    }

    .mfr-list .mc-hd-info {
        flex: 1;
        min-width: 0
    }

    .mfr-list .mc-name {
        font-size: .95rem;
        font-weight: 800;
        color: var(--navy);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mfr-list .mc-country {
        font-size: .76rem;
        color: var(--gray-400);
        margin-top: 2px
    }

    .mfr-list .mc-bio {
        font-size: .8rem;
        color: var(--gray-600);
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .mfr-list .mc-badges {
        display: flex;
        gap: 4px;
        flex-shrink: 0
    }

    .mfr-list .mc-stats {
        display: flex;
        gap: 16px;
        flex-shrink: 0
    }

    .mfr-list .mc-body {
        display: none
    }

    .mfr-list .mc-actions {
        display: flex;
        gap: 8px;
        flex-shrink: 0
    }

/* ── MEGA MENU: SHARED NEW STYLES ──────────────────────────────────── */
.mp-col-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9
}

.mp-col-hd-ico {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0
}

/* Manufacturer mega: top company links */
.mp-mfr-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s;
    margin: 2px 0
}

    .mp-mfr-link:hover {
        background: #f0fdf4;
        color: #007a63
    }

.mp-mfr-av {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .02em
}

.mp-mfr-link b {
    display: block;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2
}

.mp-mfr-link i {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    font-style: normal
}

/* Manufacturer mega: stats box */
.mp-stats-col {
    padding-left: 8px
}

.mp-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px
}

.mp-stat-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px
}

.mp-stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f1b2d;
    font-family: 'Bricolage Grotesque',sans-serif
}

.mp-stat-lbl {
    font-size: .68rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em
}

/* Products mega: featured product cards */
.mp-featured-col {
    padding-left: 8px
}

.mp-feat-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all .15s
}

    .mp-feat-card:hover {
        border-color: #00c9a7;
        background: #f0fdf4
    }

.mp-feat-ico {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0
}

.mp-feat-label {
    font-size: .63rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #94a3b8;
    margin-bottom: 2px
}

.mp-feat-name {
    font-size: .83rem;
    font-weight: 700;
    color: #0f1b2d;
    line-height: 1.2
}

.mp-feat-sub {
    font-size: .72rem;
    color: #64748b;
    margin-top: 1px
}

/* Insights mega: trending */
.mp-trending-col {
    padding-left: 8px
}

.mp-trend-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px
}

.mp-trend-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s
}

    .mp-trend-item:hover {
        background: #f8fafc
    }

.mp-trend-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0f1b2d;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px
}

.mp-trend-item b {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f1b2d
}

.mp-trend-item i {
    display: block;
    font-size: .71rem;
    color: #94a3b8;
    font-style: normal;
    margin-top: 2px
}

/* ── NEW FILTER PANEL STYLES ────────────────────────────────────────── */
.fp-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px
}

.fp-card-hd {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #475569;
    margin-bottom: 10px
}

.fp-card-hd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.fp-clear-link {
    font-size: .75rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none
}

    .fp-clear-link:hover {
        text-decoration: underline
    }

.fp-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .83rem;
    color: #475569;
    transition: background .1s
}

    .fp-check-row:hover {
        background: var(--gray-50)
    }

    .fp-check-row input {
        flex-shrink: 0;
        accent-color: var(--teal);
        width: 16px;
        height: 16px
    }

    .fp-check-row span:nth-child(2) {
        flex: 1
    }

.fp-count-pill {
    font-size: .7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-left: auto
}

.fp-check-row.checked input {
    accent-color: var(--teal)
}

.fp-suggest-box {
    display: none;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: hidden;
    margin-top: 4px
}

.fp-sug-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: background .1s
}

    .fp-sug-item:last-child {
        border-bottom: none
    }

    .fp-sug-item:hover {
        background: var(--gray-50)
    }

.fp-sug-av {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg,var(--teal),#2563eb);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.fp-sug-name {
    font-size: .84rem;
    font-weight: 700;
    color: var(--gray-800)
}

.fp-sug-sub {
    font-size: .73rem;
    color: var(--gray-400)
}

.fp-apply-btn {
    width: 100%;
    padding: 11px;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    transition: background .15s
}

    .fp-apply-btn:hover {
        background: #00a58a
    }

/* ── MANUFACTURER CARD GRID ─────────────────────────────────────────── */
.mfr-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.mfrc {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all .2s
}

    .mfrc:hover {
        border-color: var(--teal);
        box-shadow: 0 6px 28px rgba(0,201,167,.1)
    }

.mfrc-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.mfrc-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gray-100);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-500);
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: .03em
}

.mfrc-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Bricolage Grotesque',sans-serif;
    line-height: 1.2
}

.mfrc-loc {
    font-size: .78rem;
    color: var(--gray-400);
    margin-top: 2px
}

.mfrc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.mfrc-badge {
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: .03em
}

    .mfrc-badge.verified {
        background: #f0fdf4;
        color: #16a34a;
        border: 1.5px solid #bbf7d0
    }

    .mfrc-badge.cert {
        background: #f8fafc;
        color: #475569;
        border: 1.5px solid #e2e8f0
    }

    .mfrc-badge.premium {
        background: #f59e0b;
        color: #fff;
        border: none
    }

.mfrc-bio {
    font-size: .83rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0
}

.mfrc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100)
}

.mfrc-stat-lbl {
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
    margin-bottom: 3px
}

.mfrc-stat-val {
    font-size: .88rem;
    font-weight: 800;
    color: var(--navy)
}

.mfrc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.mfrc-tag {
    font-size: .73rem;
    padding: 4px 10px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 100px;
    color: #475569;
    white-space: nowrap
}

.mfrc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px
}

.mfrc-rating {
    display: flex;
    align-items: center;
    gap: 5px
}

.mfrc-stars {
    color: #f59e0b;
    font-size: .9rem;
    letter-spacing: 1px
}

.mfrc-rval {
    font-size: .85rem;
    font-weight: 800;
    color: var(--navy)
}

.mfrc-rvw {
    font-size: .75rem;
    color: var(--gray-400)
}

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

.mfrc-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

    .mfrc-btn.outline {
        background: var(--white);
        border: 1.5px solid var(--gray-200);
        color: var(--gray-700)
    }

        .mfrc-btn.outline:hover {
            border-color: var(--teal);
            color: var(--teal)
        }

    .mfrc-btn.solid {
        background: var(--teal);
        border: none;
        color: var(--navy)
    }

        .mfrc-btn.solid:hover {
            background: #00a58a
        }

@media(max-width:768px) {
    .mfr-card-grid {
        grid-template-columns: 1fr
    }
}

/* ── FEATURED NEWS GRID ─────────────────────────────────────────────── */
.featured-news-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    align-items: start
}

.fn-hero {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    transition: all .2s
}

    .fn-hero:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,.1);
        transform: translateY(-2px)
    }

.fn-hero-img {
    height: 280px;
    background: linear-gradient(135deg,#0f1b2d,#1e3a5f);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden
}

.fn-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,transparent 30%,rgba(0,0,0,.6))
}

.fn-editors-pick {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: .04em;
    z-index: 1
}

.fn-hero-body {
    padding: 20px
}

.fn-cat-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px
}

.fn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0
}

.fn-cat-label {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal)
}

.fn-hero-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin: 0 0 10px
}

.fn-hero-excerpt {
    font-size: .84rem;
    color: var(--gray-600);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 12px
}

.fn-hero-meta {
    font-size: .76rem;
    color: var(--gray-400);
    display: flex;
    gap: 6px
}

.fn-side-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.fn-side-card {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px;
    transition: all .2s
}

    .fn-side-card:hover {
        border-color: var(--teal);
        box-shadow: 0 4px 16px rgba(0,0,0,.08)
    }

.fn-side-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem
}

.fn-side-body {
    flex: 1;
    min-width: 0
}

.fn-side-cat {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 5px
}

.fn-side-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.fn-side-meta {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: 5px
}

@media(max-width:900px) {
    .featured-news-grid {
        grid-template-columns: 1fr
    }
}

/* ── NAV SEARCH DROPDOWN REDESIGN ───────────────────────────────────── */
.nse-results {
    max-height: 420px;
    overflow-y: auto;
    border-top: 1px solid var(--gray-100)
}

.nse-section {
    padding: 6px 0
}

.nse-sec-lbl {
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #94a3b8;
    padding: 8px 16px 4px;
    display: flex;
    align-items: center;
    gap: 6px
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .1s;
    border-radius: 0
}

    .nse-item:hover {
        background: #f8fafc
    }

.nse-item-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem
}

    .nse-item-ico.blue {
        background: #eff6ff
    }

    .nse-item-ico.teal {
        background: #f0fdf4
    }

    .nse-item-ico.amber {
        background: #fff7ed
    }

.nse-item-body {
    flex: 1;
    min-width: 0
}

    .nse-item-body b {
        display: block;
        font-size: .86rem;
        font-weight: 700;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .nse-item-body span {
        font-size: .74rem;
        color: #94a3b8;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.nse-item-arrow {
    font-size: .7rem;
    color: #cbd5e1;
    flex-shrink: 0
}

.nse-empty {
    padding: 32px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: .86rem
}

.nse-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--gray-100);
    text-align: center
}

    .nse-footer a {
        font-size: .78rem;
        font-weight: 600;
        color: var(--teal);
        text-decoration: none
    }

/* ── USER DASHBOARD ─────────────────────────────────────────────────── */
.uh-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.uh-info {
    flex: 1;
}

.uh-eyebrow {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.4);
    margin-bottom: 4px;
}

.uh-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.uh-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.uh-pro-badge {
    background: #f59e0b;
    color: #0f1b2d;
    font-weight: 800;
    font-size: .7rem;
    padding: 3px 10px;
    border-radius: 100px;
}

.uh-edit-btn {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.2);
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all .15s;
}

    .uh-edit-btn:hover {
        color: #fff;
        border-color: rgba(255,255,255,.5);
    }

.ud-kpi-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.ud-kpi {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
}

.ud-kpi-val {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque',sans-serif;
    color: var(--navy);
}

.ud-kpi-lbl {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gray-400);
    margin-top: 4px;
}

.ud-kpi-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
    opacity: .25;
}

.ud-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.ud-card {
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.ud-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
}

.ud-card-title {
    font-size: .88rem;
    font-weight: 800;
    color: var(--navy);
}

.ud-card-count {
    font-size: .75rem;
    color: var(--gray-400);
}

.ud-table {
    width: 100%;
    border-collapse: collapse;
}

    .ud-table th {
        font-size: .68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .07em;
        color: var(--gray-400);
        padding: 10px 16px;
        border-bottom: 1px solid var(--gray-100);
        text-align: left;
    }

    .ud-table td {
        padding: 11px 16px;
        border-bottom: 1px solid var(--gray-50);
        font-size: .83rem;
    }

.ud-status {
    font-size: .68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ud-pending {
    background: #fef3c7;
    color: #92400e;
}

.ud-responded, .ud-complete {
    background: #d1fae5;
    color: #065f46;
}

.ud-closed, .ud-cancelled {
    background: var(--gray-100);
    color: var(--gray-500);
}

.ud-new {
    background: #dbeafe;
    color: #1e40af;
}

.ud-empty {
    padding: 40px 24px;
    text-align: center;
}

.ud-cta-btn {
    display: inline-block;
    margin-top: 14px;
    background: var(--teal);
    color: var(--navy);
    padding: 9px 20px;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.ud-profile-list {
    padding: 4px 0;
}

.ud-prow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid var(--gray-50);
}

.ud-plbl {
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ud-pval {
    font-size: .83rem;
    font-weight: 600;
    color: var(--navy);
    text-align: right;
}

.ud-pro-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
}

.ud-edit-profile-btn {
    display: block;
    margin: 14px 18px;
    padding: 10px;
    text-align: center;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
}

    .ud-edit-profile-btn:hover {
        border-color: var(--teal);
        color: var(--teal);
    }

.ud-quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}

    .ud-quick-link:hover {
        background: var(--gray-50);
        color: var(--teal);
    }

@media(max-width:768px) {
    .ud-kpi-row {
        grid-template-columns: 1fr 1fr
    }

    .ud-layout {
        grid-template-columns: 1fr
    }
}

/* ── Filter panel collapse / toggle switch ──────────────────────────────── */
.fp-card--collapsed .fp-card-body {
    display: none;
}

.fp-card-body--hidden {
    display: none !important;
}

.fp-toggle-hd {
    user-select: none;
}

.fp-chev {
    font-size: .7rem;
    color: var(--g400);
    margin-left: auto;
    transition: transform .15s;
}

.fp-toggle-sw {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    background: var(--g200);
    border-radius: 22px;
    transition: background .2s;
    cursor: pointer;
    flex-shrink: 0;
}

.fp-toggle-sw--on {
    background: var(--teal);
}

.fp-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s;
}

.fp-toggle-sw--on .fp-toggle-knob {
    transform: translateX(18px);
}

/* ── Filter SEO description banner ─────────────────────────────────────────── */
.filter-seo-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg,#f0fdf9 0%,#e6faf6 100%);
    border: 1.5px solid rgba(0,201,167,.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px
}

.fsb-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px
}

.fsb-text {
    font-size: .88rem;
    color: #2d4a3e;
    line-height: 1.55;
    font-weight: 500
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE IMPROVEMENTS
   ══════════════════════════════════════════════════════════════════ */
@media(max-width:768px) {
    /* Hero sections */
    .mfr-list-hero, .prod-hero, .blog-hero {
        padding: 32px 16px 24px
    }

        .mfr-list-hero h1, .prod-hero h1 {
            font-size: 1.6rem
        }

    .results-bar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 10px 16px
    }

    /* Filter panel */
    .filter-panel {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 500;
        overflow-y: auto;
        padding: 20px 16px 80px
    }

        .filter-panel.mob-open {
            display: block;
            background: var(--white)
        }

    .fp-mobile-btn {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 499;
        background: var(--navy);
        color: var(--white);
        border: none;
        border-radius: 100px;
        padding: 12px 24px;
        font-size: .88rem;
        font-weight: 700;
        gap: 8px;
        align-items: center;
        box-shadow: 0 8px 28px rgba(15,27,45,.35);
        cursor: pointer
    }

    .fp-mobile-close {
        display: flex !important;
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
        margin-bottom: 12px;
        border-bottom: 1.5px solid var(--g150);
        font-size: .95rem;
        font-weight: 800;
        color: var(--navy)
    }

    .mfr-layout {
        grid-template-columns: 1fr !important;
        gap: 0
    }

        .mfr-layout .filter-panel {
            display: none
        }

        .mfr-layout .results-area {
            min-width: 0
        }

    /* Manufacturer cards */
    .mfr-card-grid {
        grid-template-columns: 1fr
    }

    .mfr-card {
        flex-direction: column
    }

    .mfrc-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px
    }

    .mfrc-logo {
        width: 56px;
        height: 56px;
        font-size: 1.1rem
    }

    /* Products */
    .prod-grid {
        grid-template-columns: repeat(auto-fill,minmax(160px,1fr))
    }

    .pc-img-wrap {
        height: 160px
    }

    /* Manufacturer detail */
    .mfr-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 20px
    }

    .mfr-detail-sidebar {
        position: static !important
    }

    .mfr-detail-hero-meta {
        flex-wrap: wrap;
        gap: 8px
    }

    .mfr-stat-badge {
        font-size: .75rem;
        padding: 5px 10px
    }

    /* Blog/content */
    .blog-grid {
        grid-template-columns: 1fr
    }

    .events-grid {
        grid-template-columns: 1fr
    }

    .webinar-grid {
        grid-template-columns: 1fr
    }

    /* Nav header */
    .site-header .container {
        padding: 0 14px
    }

    .nav-search-expanded {
        width: calc(100vw - 28px) !important;
        left: 14px !important;
        right: 14px !important;
        position: fixed;
        top: 62px
    }
}

@media(max-width:540px) {
    /* Typography scale-down */
    h1 {
        font-size: 1.5rem !important
    }

    h2 {
        font-size: 1.15rem
    }

    .section-title {
        font-size: 1.2rem !important
    }

    /* Buttons */
    .btn-primary, .btn-outline {
        padding: 11px 18px;
        font-size: .85rem
    }

    /* Manufacturer detail page */
    .mfr-hero-inner {
        flex-direction: column;
        gap: 14px
    }

    .mfr-logo-big {
        width: 60px;
        height: 60px
    }

    .mfr-hero-name {
        font-size: 1.4rem
    }

    .mfr-hero-actions {
        flex-wrap: wrap;
        gap: 8px
    }

        .mfr-hero-actions .btn-primary, .mfr-hero-actions .btn-outline {
            flex: 1;
            min-width: 100px;
            font-size: .82rem;
            padding: 10px 14px
        }

    /* Products list on mobile */
    .prod-grid {
        grid-template-columns: 1fr 1fr
    }

    .pc-img-wrap {
        height: 130px
    }

    .pc-name {
        font-size: .83rem
    }

    /* Blog detail */
    .article-header {
        padding: 20px 0 16px
    }

    .article-body {
        font-size: .9rem
    }

    /* User dashboard */
    .ud-kpi-row {
        grid-template-columns: 1fr 1fr
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr !important
    }
}

/* Scrollable tables on mobile */
@media(max-width:640px) {
    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }
}

/* ── Filter panel clean-URL improvements ─────────────────────────────────── */
.fp-card-hd--active {
    color: var(--teal) !important
}

.fp-chk-box {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    color: #fff;
    flex-shrink: 0;
    transition: all .15s
}

    .fp-chk-box.on {
        background: #00c9a7;
        border-color: #00c9a7
    }

.fp-chk-lbl {
    font-size: .84rem;
    flex: 1
}

.fp-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 5px 0;
    transition: color .12s
}

    .fp-check-row:hover .fp-chk-lbl {
        color: var(--teal)
    }

    .fp-check-row.checked .fp-chk-lbl {
        color: var(--teal);
        font-weight: 600
    }

.fp-select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border: 1.5px solid #dde5ef;
    border-radius: 8px;
    font-size: .85rem;
    appearance: none;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center
}

.fp-clear-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: #ef4444;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 100px;
    transition: all .15s
}

    .fp-clear-all-link:hover {
        background: rgba(239,68,68,.05);
        border-color: rgba(239,68,68,.5)
    }

/* ── Nav Search Textbox ───────────────────────────────────────────────────── */
.nav-search-wrap {
    position: relative;
}

.nav-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 100px;
    padding: 7px 14px;
    min-width: 220px;
    max-width: 320px;
    transition: all .2s;
    position: relative;
}

    .nav-search-box:focus-within {
        background: rgba(255,255,255,.18);
        border-color: var(--teal);
        box-shadow: 0 0 0 3px rgba(0,201,167,.15);
    }

.nav-search-input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: .85rem;
    font-family: inherit;
    width: 100%;
}

    .nav-search-input::placeholder {
        color: rgba(255,255,255,.55);
    }

.nsb-icon {
    font-size: .9rem;
    flex-shrink: 0;
    opacity: .7;
}

.nse-results {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    right: -10px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0,0,0,.18);
    border: 1.5px solid #e2e8f0;
    padding: 8px;
    z-index: 1000;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

    .nse-results.visible {
        display: block;
    }

.nse-section-title {
    font-size: .7rem;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 10px 4px;
}

.nse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-700);
    transition: background .1s;
}

    .nse-item:hover {
        background: var(--teal-l);
    }

.nse-item-av {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--teal),#0099cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.nse-item-name {
    font-weight: 700;
    font-size: .84rem;
    color: var(--gray-800);
}

.nse-item-sub {
    font-size: .73rem;
    color: var(--gray-400);
}

/* ── Manufacturer Detail Page ─────────────────────────────────────────────── */
.mfr-desc {
    color: var(--gray-600);
    line-height: 1.7;
}

.mh-claim-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    transition: all .15s;
}

    .mh-claim-btn:hover {
        border-color: #00c9a7;
        color: #00c9a7;
    }

.rfq-sub {
    color: var(--gray-500);
    margin-bottom: 18px;
    font-size: .87rem;
}

.cb-view-all {
    font-size: .82rem;
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 14px;
}

.pc-ico {
    font-size: 2.5rem;
}

.pc-pn {
    font-size: .72rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.review-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.review-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--gray-800);
}

.review-title {
    font-size: .78rem;
    color: var(--gray-400);
    margin-left: 6px;
}

.review-stars {
    color: var(--amber);
}

.review-headline {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.review-body {
    font-size: .87rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.cert-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--teal-l);
    border: 1px solid rgba(0,201,167,.2);
    border-radius: 9px;
}

.cert-icon {
    font-size: 1rem;
}

.cert-type {
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-800);
}

.cert-body {
    font-size: .72rem;
    color: var(--gray-400);
}

.office-row {
    display: flex;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
}

.office-ico {
    font-size: 1rem;
    flex-shrink: 0;
}

.office-name {
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-700);
}

.office-loc {
    font-size: .75rem;
    color: var(--gray-400);
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: background .15s;
}

    .social-link:hover {
        background: var(--teal-l);
    }

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.pill-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
}

/* ── Content Tabs (Manufacturer Profile) ─────────────────────────────────── */
.mfr-content-block h2 {
    margin-bottom: 14px;
}

.mfr-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 20px;
    padding-bottom: 0;
}

.mfr-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: .83rem;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    border-radius: 4px 4px 0 0;
    font-family: inherit;
}

    .mfr-tab:hover {
        color: var(--teal);
        background: var(--teal-l);
    }

    .mfr-tab.active {
        color: var(--teal);
        border-bottom-color: var(--teal);
        background: none;
    }

.mfr-tab-panel {
    display: none;
}

    .mfr-tab-panel.active {
        display: block;
    }

.content-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
    gap: 16px;
}

.content-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1.5px solid var(--gray-100);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
    background: #fff;
}

    .content-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0,0,0,.1);
        border-color: rgba(0,201,167,.25);
    }

.cc-img {
    height: 140px;
    background: linear-gradient(135deg,#e0faf5,#dbeafe);
    background-size: cover;
    background-position: center;
}

.cc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.cc-body {
    padding: 14px;
}

.cc-type {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--teal);
    background: var(--teal-l);
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 7px;
}

.cc-type-news {
    color: #0369a1;
    background: #e0f2fe;
}

.cc-type-wp {
    color: #7c3aed;
    background: #ede9fe;
}

.cc-type-webinar {
    color: #b45309;
    background: #fef3c7;
}

.cc-type-video {
    color: #dc2626;
    background: #fee2e2;
}

.cc-title {
    font-weight: 700;
    font-size: .88rem;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 6px;
}

.cc-meta {
    font-size: .73rem;
    color: var(--gray-400);
}

.cc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 7px 14px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}

    .cc-download-btn:hover {
        background: #00b594;
    }

.cc-read-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
}

.wp-card {
    cursor: default;
}

/* ── Whitepaper Download Modal ────────────────────────────────────────────── */
.wp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wp-modal {
    background: #fff;
    border-radius: 18px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0,0,0,.25);
    overflow: hidden;
    animation: wpSlideIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes wpSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.wp-modal-hd {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 18px;
    background: linear-gradient(135deg,var(--navy),#1a3a5c);
    color: #fff;
}

.wp-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque',sans-serif;
}

.wp-modal-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    margin-top: 3px;
}

.wp-modal-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-modal-body {
    padding: 24px;
}

.wp-modal-desc {
    font-size: .87rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.wp-privacy {
    font-size: .75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.form-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .83rem;
    border: 1px solid #fecaca;
}

/* ── Filter panel custom field remove icon ────────────────────────────────── */
.fp-chk-remove {
    margin-left: auto;
    color: var(--gray-400);
    font-size: .7rem;
    padding: 2px;
    border-radius: 3px;
    cursor: pointer;
}

.fp-check-row.checked .fp-chk-remove {
    color: #ef4444;
}

/* ── Backend - Image upload zones ─────────────────────────────────────────── */
.cf-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px;
    border: 2px dashed var(--ab-gray-300);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    background: var(--ab-gray-50);
    color: var(--ab-gray-500);
    font-size: .83rem;
    text-align: center;
    margin-top: 8px;
}

    .cf-upload-zone:hover, .cf-upload-zone.drag-over {
        border-color: var(--ab-teal);
        background: rgba(0,201,167,.05);
        color: var(--ab-teal);
    }

.cf-img-preview {
    margin-bottom: 8px;
}

.pdf-zone {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf5ff;
}

    .pdf-zone:hover {
        background: #ede9fe;
        border-color: #5b21b6;
    }

.ab-form-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

.ab-form-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ab-form-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

.ab-card-hd {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ab-gray-400);
    padding: 14px 16px 0;
    margin-bottom: -4px;
}

.ab-card-body {
    padding: 16px;
}

.ab-input-lg {
    font-size: 1.1rem !important;
    font-weight: 700;
    padding: 12px 14px !important;
}

.ab-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width:900px) {
    .ab-form-layout {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .ab-form-grid {
        grid-template-columns: 1fr
    }
}

/* ── BackendTags ──────────────────────────────────────────────────────────── */
.ab-btn-icon {
    background: var(--ab-gray-50);
    border: 1.5px solid var(--ab-gray-200);
    border-radius: 6px;
    padding: 5px 9px;
    cursor: pointer;
    font-size: .85rem;
    transition: all .15s;
}

    .ab-btn-icon:hover {
        background: var(--ab-gray-100);
        border-color: var(--ab-gray-300);
    }

    .ab-btn-icon.danger:hover {
        background: #fef2f2;
        border-color: #fecaca;
        color: #dc2626;
    }

@media(max-width:768px) {
    .nav-search-box {
        min-width: 140px;
        max-width: 180px;
    }

    .mfr-tabs {
        gap: 2px;
    }

    .mfr-tab {
        padding: 6px 10px;
        font-size: .75rem;
    }

    .content-card-grid {
        grid-template-columns: 1fr;
    }

    .wp-modal {
        border-radius: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   QUOTE PAGE (/get-quote)
═══════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   QUOTE PAGE — Single Form
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.qt-hero {
    background: linear-gradient(135deg,#0d1829 0%,#0f2544 100%);
    padding: 52px 24px 44px;
    text-align: center;
}

.qt-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.qt-hero-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin: 8px 0 12px;
}

.qt-hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin: 0 auto 20px;
    max-width: 560px;
}

.qt-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.qt-badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
}

/* Layout */
.qt-single-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    padding: 36px 0 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Form box */
.qt-form-box {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
}

.qt-form-hd {
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f1f5f9;
}

    .qt-form-hd h2 {
        font-family: 'Bricolage Grotesque',sans-serif;
        font-size: 1.25rem;
        font-weight: 900;
        color: #0f1b2d;
        margin: 0 0 4px;
    }

    .qt-form-hd p {
        font-size: .85rem;
        color: #64748b;
        margin: 0;
    }

/* Sections */
.qt-section {
    padding: 22px 28px;
    border-bottom: 1px solid #f1f5f9;
}

    .qt-section:last-of-type {
        border-bottom: none;
    }

.qt-section-lbl {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .78rem;
    font-weight: 900;
    color: #0f1b2d;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 18px;
}

.qt-sec-num {
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: #0d1829;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Fields */
.qt-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

    .qt-field:last-child {
        margin-bottom: 0;
    }

.qt-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.qt-label {
    font-size: .8rem;
    font-weight: 700;
    color: #334155;
}

.qt-req {
    color: #e11d48;
}

.qt-optional {
    font-size: .72rem;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 4px;
}

.qt-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: .87rem;
    color: #0f1b2d;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

    .qt-input:focus {
        border-color: var(--teal);
        box-shadow: 0 0 0 3px rgba(0,201,167,.12);
    }

/* Qty */
.qt-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    overflow: hidden;
}

.qt-qty-btn {
    width: 38px;
    height: 40px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #334155;
    font-weight: 700;
    transition: background .15s;
    flex-shrink: 0;
}

    .qt-qty-btn:hover {
        background: #e8edf3;
    }

.qt-qty-input {
    border: none;
    outline: none;
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
    color: #0f1b2d;
    width: 60px;
    font-family: inherit;
}

/* Rich text editor */
.qt-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-bottom: none;
    border-radius: 9px 9px 0 0;
}

.qt-tb-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 3px 9px;
    font-size: .8rem;
    cursor: pointer;
    color: #334155;
    font-family: inherit;
    transition: all .15s;
}

    .qt-tb-btn:hover {
        background: #e8edf3;
        border-color: #e2e8f0;
    }

.qt-tb-sep {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
    margin: 0 2px;
}

.qt-notes-editor {
    min-height: 120px;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 9px 9px;
    padding: 12px 14px;
    font-size: .86rem;
    color: #0f1b2d;
    font-family: inherit;
    line-height: 1.65;
    outline: none;
}

    .qt-notes-editor:focus {
        border-color: var(--teal);
    }

    .qt-notes-editor:empty::before {
        content: attr(placeholder);
        color: #94a3b8;
        pointer-events: none;
        display: block;
    }

.qt-editor-hint {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* File upload */
.qt-upload-zone {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
}

    .qt-upload-zone:hover, .qt-upload-zone.drag-over {
        border-color: var(--teal);
        background: rgba(0,201,167,.04);
    }

.qt-upload-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.qt-upload-text {
    font-size: .84rem;
    font-weight: 600;
    color: #334155;
}

.qt-upload-formats {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 3px;
}

.qt-file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
}

.qt-file-icon {
    font-size: 1.5rem;
}

.qt-file-name {
    font-size: .83rem;
    font-weight: 700;
    color: #0f1b2d;
}

.qt-file-size {
    font-size: .72rem;
    color: #94a3b8;
}

.qt-file-meta {
    flex: 1;
}

.qt-file-remove {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 9px;
    cursor: pointer;
    color: #94a3b8;
    font-size: .8rem;
    transition: all .15s;
}

    .qt-file-remove:hover {
        border-color: #e11d48;
        color: #e11d48;
    }

/* Submit row */
.qt-submit-row {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfd;
    flex-wrap: wrap;
}

.qt-privacy-note {
    font-size: .75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

    .qt-privacy-note a {
        color: #64748b;
    }

.qt-submit-btn {
    background: var(--teal);
    color: #0d1829;
    border: none;
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .95rem;
    font-weight: 900;
    padding: 13px 32px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    letter-spacing: .01em;
}

    .qt-submit-btn:hover {
        background: #00b094;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,201,167,.25);
    }

    .qt-submit-btn:disabled {
        background: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.qt-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,.2);
    border-top-color: #0d1829;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.qt-error-msg {
    margin: 0 28px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .83rem;
    border-radius: 9px;
}

/* Trust sidebar */
.qt-trust-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 90px;
}

.qt-trust-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qt-trust-icon {
    font-size: 1.4rem;
}

.qt-trust-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .88rem;
    font-weight: 900;
    color: #0f1b2d;
}

.qt-trust-desc {
    font-size: .77rem;
    color: #64748b;
    line-height: 1.55;
}

.qt-trust-steps {
    background: #0f1b2d;
    border-radius: 12px;
    padding: 18px;
}

.qt-trust-steps-title {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: .78rem;
    font-weight: 900;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 12px;
}

.qt-how-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .8rem;
    color: rgba(255,255,255,.75);
}

    .qt-how-step:last-child {
        border-bottom: none;
    }

.qt-how-num {
    width: 22px;
    height: 22px;
    background: var(--teal);
    color: #0d1829;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Success state */
.qt-success-wrap {
    max-width: 560px;
    margin: 60px auto;
}

.qt-success {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

.qt-success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.qt-success h2 {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f1b2d;
    margin: 0 0 10px;
}

.qt-success p {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.65;
}

.qt-ref-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
}

.qt-ref-lbl {
    font-size: .75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.qt-ref-val {
    font-family: 'Bricolage Grotesque',sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--teal);
}

.qt-success-note {
    font-size: .82rem;
    color: #94a3b8;
    margin: 0 0 24px;
}

.qt-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 860px) {
    .qt-single-wrap {
        grid-template-columns: 1fr;
    }

    .qt-trust-col {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .qt-trust-card {
        flex: 1;
        min-width: 140px;
    }

    .qt-trust-steps {
        flex-basis: 100%;
    }
}

@media (max-width: 560px) {
    .qt-field-row {
        grid-template-columns: 1fr;
    }

    .qt-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .qt-submit-btn {
        width: 100%;
        text-align: center;
    }

    .qt-section {
        padding: 18px 18px;
    }

    .qt-form-hd {
        padding: 18px 18px 16px;
    }
}

.rv-strip {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc, #f0fdf9);
    border: 1.5px solid rgba(0,201,167,.15);
    border-radius: 14px;
    animation: rvFadeIn .35s ease;
}

@keyframes rvFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rv-strip-hd {
    margin-bottom: 12px;
}

.rv-strip-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--gray-500);
}

.rv-strip-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

    .rv-strip-scroll::-webkit-scrollbar {
        height: 4px;
    }

    .rv-strip-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .rv-strip-scroll::-webkit-scrollbar-thumb {
        background: var(--gray-200);
        border-radius: 2px;
    }

.rv-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid var(--gray-100);
    border-radius: 10px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 180px;
    max-width: 220px;
    transition: all .15s;
}

    .rv-card:hover {
        border-color: var(--teal);
        box-shadow: 0 2px 10px rgba(0,201,167,.1);
    }

.rv-card-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), #0096cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 900;
    color: #fff;
    overflow: hidden;
}

    .rv-card-logo::before {
        content: attr(data-initials);
    }

    .rv-card-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 2px;
    }

.rv-card-name {
    font-size: .78rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.rv-card-loc {
    font-size: .67rem;
    color: var(--gray-400);
    margin-top: 1px;
}

/* responsive */
@media (max-width: 900px) {
    .mfr-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mfr-card-grid.v2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mfr-featured-grid {
        grid-template-columns: 1fr;
    }

    .mfr-card-grid.v2 {
        grid-template-columns: 1fr;
    }

    .mfrc2-stats {
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SEARCH — Suggest Dropdown (RF Industries style)
═══════════════════════════════════════════════════════════════════════════ */
.hs-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

.hs-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,.22);
    border-radius: 14px;
    padding: 10px 10px 10px 16px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

    .hs-box:focus-within {
        border-color: var(--teal);
        background: rgba(255,255,255,.18);
        box-shadow: 0 0 0 4px rgba(0,201,167,.18), 0 8px 32px rgba(0,0,0,.2);
    }

.hs-ico {
    color: rgba(255,255,255,.5);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hs-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    min-width: 0;
}

    .hs-input::placeholder {
        color: rgba(255,255,255,.4);
    }

.hs-btn {
    flex-shrink: 0;
    padding: 10px 22px;
    background: var(--teal);
    color: var(--navy);
    border: none;
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    white-space: nowrap;
}

    .hs-btn:hover {
        background: var(--teal-d);
    }

/* ── Suggest panel ── */
.hs-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid rgba(0,0,0,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 4px 16px rgba(0,0,0,.1);
    overflow: hidden;
    animation: suggestIn .18s cubic-bezier(.2,.8,.3,1);
}

@keyframes suggestIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hs-suggest-inner {
    max-height: 480px;
    overflow-y: auto;
}

    .hs-suggest-inner::-webkit-scrollbar {
        width: 5px;
    }

    .hs-suggest-inner::-webkit-scrollbar-track {
        background: transparent;
    }

    .hs-suggest-inner::-webkit-scrollbar-thumb {
        background: #e2e8f0;
        border-radius: 3px;
    }

/* ── Group heading ── */
.hs-group {
}

.hs-group-hd {
    padding: 10px 16px 5px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
}

.hs-group:first-child .hs-group-hd {
    border-top: none;
    padding-top: 12px;
}

/* ── Suggest item ── */
.hs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    text-decoration: none;
    color: inherit;
    transition: background .1s;
    cursor: pointer;
}

    .hs-item:hover, .hs-item-active {
        background: #f0fdf9 !important;
    }

.hs-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.hs-item-icon {
    font-size: .9rem;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    color: #94a3b8;
}

.hs-item-text {
    min-width: 0;
}

.hs-item-label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hs-item-sub {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Highlight matched text — teal like in the image */
.hs-hl {
    background: none;
    color: var(--teal);
    font-weight: 800;
    padding: 0;
}

/* ── Type badge (right-side label like image: "category", "companies") ── */
.hs-type-badge {
    flex-shrink: 0;
    font-size: .65rem;
    color: #94a3b8;
    text-transform: lowercase;
    letter-spacing: .02em;
    white-space: nowrap;
    padding-left: 8px;
}

/* ── View all footer ── */
.hs-view-all {
    display: block;
    text-align: center;
    padding: 11px 16px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    border-top: 1.5px solid #f1f5f9;
    transition: background .1s;
    background: #fafafa;
}

    .hs-view-all:hover {
        background: var(--teal-l);
    }

    .hs-view-all b {
        font-weight: 900;
        color: var(--navy);
    }

/* ── Empty state ── */
.hs-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: .85rem;
    color: #94a3b8;
}

    .hs-empty b {
        color: var(--navy);
    }

/* ── Hot-tag pills below search ── */
.hs-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.hs-tag {
    padding: 5px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.8);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

    .hs-tag:hover {
        background: rgba(0,201,167,.2);
        border-color: rgba(0,201,167,.5);
        color: var(--teal);
    }

@media (max-width: 640px) {
    .hs-btn {
        padding: 10px 14px;
        font-size: .82rem;
    }

    .hs-suggest {
        left: -8px;
        right: -8px;
    }

    .hs-item-sub {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MANUFACTURER LIST CARDS  –  Directory Style (PCB-style redesign)
═══════════════════════════════════════════════════════════════════════════ */

/* Section labels */
.mlist-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--navy);
    margin: 0 0 12px;
    padding: 8px 0;
    border-bottom: 2px solid var(--gray-100);
}

    .mlist-section-label.featured-label {
        color: #92400e;
    }

.mls-sub {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: none;
    letter-spacing: 0;
}

.mlist-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--gray-500);
}

    .mlist-empty h3 {
        font-family: 'Bricolage Grotesque',sans-serif;
    }

    .mlist-empty a {
        color: var(--teal);
    }

/* ── Core list card ── */
/* ═══════════════════════════════════════════════════════════════════════════
   MANUFACTURER CARDS — Redesigned
   ═══════════════════════════════════════════════════════════════════════════ */

.ml-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    position: relative;
}

    .ml-card:hover {
        border-color: #b2f0e3;
        box-shadow: 0 8px 32px rgba(0,201,167,.1), 0 2px 8px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

.ml-card--verified {
    border-left: 3px solid var(--teal);
}

/* ── Logo column ── */
.ml-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 14px;
    background: #f8fafc;
    border-right: 1px solid #f0f4f8;
    min-width: 100px;
    max-width: 100px;
    gap: 10px;
    flex-shrink: 0;
}

.ml-logo {
    width: 72px;
    height: 60px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e8edf3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

    .ml-logo::before {
        content: attr(data-initials);
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: .85rem;
        font-weight: 900;
        color: #94a3b8;
        letter-spacing: .02em;
    }

    .ml-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8px;
    }

    .ml-logo.no-img::before {
        display: flex;
    }

.ml-stars {
    color: #f59e0b;
    font-size: .7rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ml-rval {
    font-size: .62rem;
    color: #94a3b8;
    text-align: center;
}

/* ── Body column ── */
.ml-body {
    flex: 1;
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Title row */
.ml-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 2px;
}

.ml-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f1b2d;
    text-decoration: none;
    line-height: 1.2;
    transition: color .15s;
}

    .ml-name:hover {
        color: var(--teal);
    }

/* Badges */
.ml-badge {
    font-size: .6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

    .ml-badge.verified {
        background: #f0fdf4;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .ml-badge.public {
        background: #eff6ff;
        color: #1d4ed8;
        border: 1px solid #bfdbfe;
    }

    .ml-badge.featured {
        background: #fffbeb;
        color: #92400e;
        border: 1px solid #fde68a;
    }

/* Meta row */
.ml-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: .75rem;
    color: #64748b;
}

.ml-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ml-meta-link {
    color: #64748b;
    text-decoration: none;
    transition: color .15s;
}

    .ml-meta-link:hover {
        color: var(--teal);
    }

/* Bio */
.ml-bio {
    font-size: .82rem;
    color: #475569;
    line-height: 1.65;
    margin: 4px 0 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

/* Spec rows */
.ml-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    padding: 6px 0 2px;
    border-top: 1px solid #f1f5f9;
}

.ml-spec-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: .74rem;
    line-height: 1.5;
}

.ml-spec-lbl {
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    flex-shrink: 0;
}

.ml-spec-val {
    color: #64748b;
}

/* Certifications */
.ml-certs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

.ml-cert-lbl {
    font-weight: 700;
    color: #475569;
    font-size: .71rem;
    margin-right: 2px;
}

.ml-cert-tag {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 1px 8px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ── Actions column ── */
.ml-actions-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 18px 16px 16px;
    border-left: 1px solid #f0f4f8;
    background: #fafbfd;
    min-width: 152px;
    max-width: 152px;
    flex-shrink: 0;
}

.ml-btn-website {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--teal);
    color: #0d1829;
    font-size: .78rem;
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 9px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
    text-align: center;
    letter-spacing: .01em;
}

    .ml-btn-website:hover {
        background: #00b094;
        color: #fff;
    }

.ml-btn-icon {
    font-style: normal;
}

.ml-btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0f1b2d;
    border: 1.5px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    text-decoration: none;
    transition: all .15s;
    text-align: center;
}

    .ml-btn-profile:hover {
        border-color: var(--teal);
        color: var(--teal);
        background: #f0fdfb;
    }

.ml-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    font-size: .76rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    text-align: center;
}

    .ml-btn-contact:hover {
        border-color: #0f1b2d;
        color: #0f1b2d;
        background: #f8fafc;
    }

.ml-premium-badge {
    margin-top: auto;
    text-align: center;
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #92400e;
    background: linear-gradient(135deg, #fef9ee, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 7px;
    padding: 4px 8px;
}

/* ── Featured card ── */
.ml-card.featured-card {
    border-color: #fde68a;
    border-width: 1.5px;
    background: linear-gradient(135deg, #fffef9 0%, #fff 60%);
    box-shadow: 0 2px 12px rgba(251,191,36,.1);
}

    .ml-card.featured-card:hover {
        border-color: #fbbf24;
        box-shadow: 0 8px 32px rgba(251,191,36,.18), 0 2px 8px rgba(0,0,0,.06);
    }

    .ml-card.featured-card .ml-logo-col {
        background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    }

    .ml-card.featured-card .ml-actions-col {
        background: #fffef5;
    }

/* ── Section labels ── */
.mlist-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 10px;
    margin-bottom: 4px;
    border-bottom: 2px solid #f1f5f9;
    margin-top: 8px;
}

    .mlist-section-label span:first-child {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: .85rem;
        font-weight: 900;
        color: #0f1b2d;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

.mls-sub {
    font-size: .75rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.featured-label span:first-child {
    color: #b45309;
}

.featured-label {
    border-bottom-color: #fde68a;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ml-card {
        flex-wrap: wrap;
    }

    .ml-actions-col {
        flex-direction: row;
        min-width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #f0f4f8;
        padding: 12px 16px;
        background: #fafbfd;
    }

    .ml-premium-badge {
        display: none;
    }

    .ml-specs {
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 640px) {
    .ml-logo-col {
        min-width: 80px;
        max-width: 80px;
        padding: 16px 10px;
    }

    .ml-logo {
        width: 56px;
        height: 48px;
    }

    .ml-body {
        padding: 14px 14px 12px;
    }

    .ml-name {
        font-size: .92rem;
    }

    .ml-bio {
        display: none;
    }

    .ml-actions-col {
        gap: 6px;
    }

    .ml-btn-website, .ml-btn-profile, .ml-btn-contact {
        flex: 1;
        font-size: .72rem;
        padding: 8px 8px;
    }
}

/* ── Nav User Pill (moved from _Layout) ─────────────────────────────────── */

/* ── NAV USER PILL ─────────────────────────────────── */
.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 6px;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all .15s;
    background: #fff;
    position: relative;
    user-select: none
}

    .nav-user-pill:hover, .nav-user-pill.open {
        border-color: #00c9a7;
        background: rgba(0,201,167,.05)
    }

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg,#00c9a7,#0099cc);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.nav-user-name-txt {
    font-size: .82rem;
    font-weight: 700;
    color: #0f1b2d
}

.nav-user-caret {
    font-size: .6rem;
    color: #94a3b8;
    transition: transform .2s
}

.nav-user-pill.open .nav-user-caret {
    transform: rotate(180deg)
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: 6px;
    z-index: 300;
    display: none;
    animation: dropIn .15s ease
}

.nav-user-pill.open .nav-user-dropdown {
    display: block
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.nud-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    font-size: .83rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
    border-radius: 8px;
    transition: background .1s
}

    .nud-link:hover {
        background: #f0fdf4;
        color: #00c9a7
    }

.nud-sep {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 0
}

.nud-signout {
    color: #ef4444 !important
}

    .nud-signout:hover {
        background: #fef2f2 !important
    }
/* ── MEGA MENU OVERLAY ─────────────────────────────── */
/* mega-panel — see PCB nav section below */
.mp-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px
}

.mp-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    border-bottom: 1px solid #f1f5f9
}

.mp-top-title {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #0f1b2d
}

.mp-top-cta {
    font-size: .8rem;
    font-weight: 700;
    color: #00c9a7;
    text-decoration: none
}

    .mp-top-cta:hover {
        text-decoration: underline
    }

.mp-body {
    padding: 20px 0 24px;
    display: grid;
    gap: 0
}
/* col styles */
.mp-col {
    padding: 0 20px 0 0
}

.mp-col-hd {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9
}

.mp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background .1s;
    margin: 2px 0
}

    .mp-link:hover {
        background: #f0fdf4;
        color: #00c9a7
    }

.mp-link-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

    .mp-link-icon.teal {
        background: rgba(0,201,167,.1)
    }

    .mp-link-icon.amber {
        background: rgba(251,191,36,.12)
    }

    .mp-link-icon.blue {
        background: rgba(59,130,246,.1)
    }

    .mp-link-icon.violet {
        background: rgba(139,92,246,.1)
    }

.mp-link b {
    display: block;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.2
}

.mp-link i {
    display: block;
    font-size: .72rem;
    color: #94a3b8;
    font-style: normal;
    margin-top: 1px
}

.mp-cta-col {
    background: linear-gradient(135deg,#0f1b2d,#1a3a5c);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

    .mp-cta-col h4 {
        font-size: .88rem;
        font-weight: 800;
        color: #fff;
        margin: 0
    }

    .mp-cta-col p {
        font-size: .75rem;
        color: rgba(255,255,255,.55);
        margin: 4px 0 0
    }

.mp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    background: #00c9a7;
    color: #0f1b2d;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s;
    margin-top: auto
}

    .mp-cta-btn:hover {
        background: #00a58a
    }
/* category tile grid */
.cat-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 12px 0 14px;
    border-bottom: 1px solid #f1f5f9
}

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 100px;
    font-size: .76rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap
}

    .cat-tag:hover {
        border-color: #00c9a7;
        color: #00c9a7;
        background: rgba(0,201,167,.05)
    }
/* categories mega grid */
.cat-mega-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 8px;
    padding: 18px 0
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer
}

    .cat-tile div {
        font-size: 1.6rem;
        line-height: 1.1
    }

    .cat-tile:hover {
        border-color: #00c9a7;
        background: rgba(0,201,167,.06);
        color: #007a63;
        transform: translateY(-2px)
    }

    .cat-tile.dashed {
        border-style: dashed;
        border-color: #00c9a7;
        color: #00c9a7;
        background: rgba(0,201,167,.03)
    }

.cat-mega-footer {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9
}

.cmf-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: .81rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s
}

    .cmf-btn.navy {
        background: #0f1b2d;
        color: #fff
    }

        .cmf-btn.navy:hover {
            background: #1a2d4a
        }

    .cmf-btn.teal {
        background: #00c9a7;
        color: #0f1b2d
    }

        .cmf-btn.teal:hover {
            background: #00a58a
        }

    .cmf-btn.outline {
        background: #fff;
        border: 1.5px solid #e2e8f0;
        color: #475569
    }

        .cmf-btn.outline:hover {
            border-color: #00c9a7;
            color: #007a63
        }
/* auth modal error */
.auth-api-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 12px
}

.bc-bar {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 0
}

.bc-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: .78rem
}

.bc-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s
}

    .bc-link:hover {
        color: #00c9a7
    }

.bc-sep {
    color: #cbd5e1;
    margin: 0 4px;
    font-size: .7rem
}

.bc-current {
    color: #0f1b2d;
    font-weight: 600
}

@media(max-width:640px) {
    .bc-inner {
        padding: 7px 16px;
        font-size: .72rem
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT LIST CARDS — same style as manufacturer cards
   ═══════════════════════════════════════════════════════════════════════════ */

.pl-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    position: relative;
}

    .pl-card:hover {
        border-color: #b2f0e3;
        box-shadow: 0 8px 32px rgba(0,201,167,.1), 0 2px 8px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

/* Image col */
.pl-img-col {
    min-width: 110px;
    max-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 12px;
    background: #f8fafc;
    border-right: 1px solid #f0f4f8;
    flex-shrink: 0;
    position: relative;
}

.pl-img-box {
    width: 76px;
    height: 64px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

    .pl-img-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
    }

.pl-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pl-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .55rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Body */
.pl-body {
    flex: 1;
    padding: 16px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

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

.pl-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f1b2d;
    text-decoration: none;
    line-height: 1.2;
    transition: color .15s;
}

    .pl-name:hover {
        color: var(--teal);
    }

.pl-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    color: #64748b;
}

.pl-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.pl-desc {
    font-size: .82rem;
    color: #475569;
    line-height: 1.65;
    margin: 4px 0 0;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.pl-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    padding: 6px 0 2px;
    border-top: 1px solid #f1f5f9;
}

.pl-certs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
    border-top: 1px solid #f1f5f9;
}

/* Responsive */
@media (max-width: 900px) {
    .pl-card {
        flex-wrap: wrap;
    }

    .pl-img-col {
        min-width: 80px;
        max-width: 80px;
        padding: 14px 10px;
    }

    .pl-img-box {
        width: 56px;
        height: 48px;
    }

    .ml-actions-col.pl-actions {
        flex-direction: row;
        min-width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #f0f4f8;
        padding: 10px 14px;
    }
}

@media (max-width: 640px) {
    .pl-body {
        padding: 12px 12px 10px;
    }

    .pl-name {
        font-size: .9rem;
    }

    .pl-desc {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   EVENTS DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero */
.evd-hero {
    background: linear-gradient(135deg, #0d1829 0%, #0f2544 100%);
    padding: 52px 0 44px;
}

.evd-hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.evd-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.evd-type-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(0,201,167,.2);
    color: #00c9a7;
    border: 1px solid rgba(0,201,167,.35);
}

.evd-feat-badge {
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(251,191,36,.2);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,.35);
}

.evd-cat-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.2);
}

.evd-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 12px;
}

.evd-subtitle {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 0 20px;
}

.evd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.evd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .87rem;
    color: rgba(255,255,255,.75);
}

.evd-meta-ico {
    font-size: 1rem;
}

.evd-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.evd-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .92rem;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
}

    .evd-cta-primary:hover {
        background: #00b094;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0,201,167,.3);
    }

.evd-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    font-size: .88rem;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}

    .evd-cta-ghost:hover {
        background: rgba(255,255,255,.18);
    }

/* Stats bar */
.evd-stats-bar {
    background: #fff;
    border-bottom: 1px solid #e8edf3;
    padding: 16px 0;
}

.evd-stats-inner {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.evd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 32px;
    border-right: 1px solid #e8edf3;
}

    .evd-stat:last-child {
        border-right: none;
    }

.evd-stat-val {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f1b2d;
}

.evd-stat-lbl {
    font-size: .72rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Layout */
.evd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 64px;
    align-items: start;
}

.evd-main {
}

.evd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}

/* Sections */
.evd-section {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 16px;
}

.evd-sec-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f1b2d;
    margin: 0 0 16px;
}

.evd-sec-title-sm {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .8rem;
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0 0 12px;
}

.evd-body-text p {
    color: #475569;
    line-height: 1.75;
    font-size: .93rem;
    margin: 0 0 14px;
}

    .evd-body-text p:last-child {
        margin: 0;
    }

/* Tags */
.evd-tags-section {
    padding: 20px 28px;
}

.evd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.evd-tag {
    background: #f0fdfb;
    color: #0d9488;
    border: 1px solid #b2f0e3;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: all .15s;
}

    .evd-tag:hover {
        background: #00c9a7;
        color: #fff;
        border-color: #00c9a7;
    }

/* Related Events */
.evd-related-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evd-rel-card {
    display: flex;
    gap: 14px;
    align-items: stretch;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all .2s;
}

    .evd-rel-card:hover {
        border-color: #00c9a7;
        box-shadow: 0 4px 16px rgba(0,201,167,.1);
    }

.evd-rel-img {
    width: 90px;
    flex-shrink: 0;
    background: #f0fdfb;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.evd-rel-img-placeholder {
    background: linear-gradient(135deg,#f0fdfb,#e0faf5);
}

.evd-rel-body {
    padding: 12px 14px;
    flex: 1;
}

.evd-rel-type {
    font-size: .65rem;
    font-weight: 800;
    color: #00c9a7;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.evd-rel-name {
    font-size: .9rem;
    font-weight: 800;
    color: #0f1b2d;
    margin: 4px 0;
    line-height: 1.3;
}

.evd-rel-meta {
    font-size: .75rem;
    color: #64748b;
}

/* Sidebar cards */
.evd-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    overflow: hidden;
}

.evd-card-hd {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .82rem;
    font-weight: 900;
    color: #0f1b2d;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.evd-info-list {
    padding: 8px 0;
}

.evd-il-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 9px 18px;
    border-bottom: 1px solid #f8fafc;
    font-size: .83rem;
    gap: 12px;
}

    .evd-il-row:last-child {
        border-bottom: none;
    }

    .evd-il-row span {
        color: #64748b;
        flex-shrink: 0;
    }

    .evd-il-row strong {
        color: #0f1b2d;
        font-weight: 700;
        text-align: right;
    }

.evd-register-btn {
    display: block;
    text-align: center;
    margin: 14px 18px;
    background: #00c9a7;
    color: #0d1829;
    font-size: .88rem;
    font-weight: 800;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
}

    .evd-register-btn:hover {
        background: #00b094;
        color: #fff;
    }

/* Calendar buttons */
.evd-cal-btns {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evd-cal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}

    .evd-cal-btn.google {
        background: #fff;
        color: #334155;
        border: 1.5px solid #e2e8f0;
    }

        .evd-cal-btn.google:hover {
            border-color: #4285f4;
            color: #4285f4;
        }

    .evd-cal-btn.ics {
        background: #f8fafc;
        color: #334155;
        border: 1.5px solid #e2e8f0;
    }

        .evd-cal-btn.ics:hover {
            border-color: #00c9a7;
            color: #00c9a7;
        }

/* Share buttons */
.evd-share-btns {
    padding: 14px 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.evd-share-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #334155;
    transition: all .15s;
}

    .evd-share-btn.tw:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }

    .evd-share-btn.li:hover {
        background: #0077b5;
        color: #fff;
        border-color: #0077b5;
    }

    .evd-share-btn.cp:hover {
        background: #00c9a7;
        color: #fff;
        border-color: #00c9a7;
    }

/* Responsive */
@media (max-width: 900px) {
    .evd-layout {
        grid-template-columns: 1fr;
    }

    .evd-sidebar {
        position: static;
    }

    .evd-stat {
        padding: 8px 16px;
    }
}

@media (max-width: 640px) {
    .evd-hero {
        padding: 36px 0 32px;
    }

    .evd-title {
        font-size: 1.5rem;
    }

    .evd-section {
        padding: 20px 18px;
    }

    .evd-hero-ctas {
        flex-direction: column;
    }

    .evd-cta-primary, .evd-cta-ghost {
        text-align: center;
        justify-content: center;
    }

    .evd-stats-inner {
        justify-content: flex-start;
    }

    .evd-stat {
        border-right: none;
        border-bottom: 1px solid #e8edf3;
        width: 50%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION — Complete redesign
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Top bar ── */
/* ═══════════════════════════════ TOP BAR ═══════════════════════════════ */
.nav-top {
    background: #2b3a4e;
    height: 36px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-top-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-top-link {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .nav-top-link:hover {
        color: #fff;
    }

.nav-top-link--icon svg {
    flex-shrink: 0;
}

/* Social icon buttons */
.nav-top-socials {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-top-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: all .15s;
}

    .nav-top-social:hover {
        background: rgba(255,255,255,.25);
        color: #fff;
    }

/* Sign In / Sign Up */
.nav-top-authbtn {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color .15s;
}

    .nav-top-authbtn:hover {
        color: #fff;
    }

.nav-top-divider {
    color: rgba(255,255,255,.25);
    font-size: .75rem;
}

/* ═══════════════════════════════ MID BAR ═══════════════════════════════ */
.nav-mid {
    background: #fff;
    border-bottom: 1px solid #e0e4e8;
    padding: 12px 0;
}

.nav-mid-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: #111827;
}

.nav-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg,#00c9a7,#0096cc);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.nav-logo-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #111827;
    letter-spacing: -.03em;
    line-height: 1;
}

    .nav-logo-text em {
        color: #00c9a7;
        font-style: normal;
    }

/* Search box — inline, not overlay */
.nav-search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    background: #f9fafb;
    transition: border-color .2s, box-shadow .2s;
    height: 44px;
}

    .nav-search-box:focus-within {
        border-color: #00c9a7;
        box-shadow: 0 0 0 3px rgba(0,201,167,.12);
        background: #fff;
    }

.nsb-ico {
    font-size: .95rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.nsb-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: .88rem;
    color: #111827;
    font-family: inherit;
}

    .nsb-input::placeholder {
        color: #9ca3af;
    }

.nsb-shortcut {
    font-size: .65rem;
    background: #e5e7eb;
    color: #6b7280;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Search results dropdown */
.nsb-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    z-index: 900;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}

/* Quote button */
.nav-quote-btn {
    background: #00c9a7;
    color: #0d1829;
    font-size: .84rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 9px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}

    .nav-quote-btn:hover {
        background: #00b094;
        color: #fff;
    }

/* ── Main nav bar ── */
.site-nav {
    background: #0f1b2d;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 48px;
    box-sizing: border-box;
}

.nav-bar-links {
    display: flex;
    align-items: stretch;
    flex: 1;
    justify-content: center;
}

/* Nav links */
.nbl {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .84rem;
    font-weight: 600;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0 14px;
    height: 48px;
    cursor: pointer;
    font-family: inherit;
    transition: color .15s, background .15s;
    white-space: nowrap;
}

    .nbl:hover {
        color: #fff;
        background: rgba(255,255,255,.05);
    }

.nbl-active {
    color: #00c9a7 !important;
    border-bottom-color: #00c9a7 !important;
}

.active-mega {
    color: #00c9a7 !important;
}

.nbl-caret {
    font-size: .6rem;
    opacity: .6;
    transition: transform .2s;
}

.mega-wrap:hover > .mega-btn > .nbl-caret {
    transform: rotate(180deg);
}

/* Auth buttons */
.nav-bar-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.auth-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    padding: 7px 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}

    .auth-btn-ghost:hover {
        border-color: rgba(255,255,255,.6);
        color: #fff;
    }

.auth-btn-solid {
    background: #00c9a7;
    color: #0d1829;
    border: 1.5px solid #00c9a7;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 800;
    padding: 7px 18px;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}

    .auth-btn-solid:hover {
        background: #00b094;
        border-color: #00b094;
        color: #fff;
    }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(255,255,255,.8);
        border-radius: 2px;
        transition: all .2s;
    }

/* ── Mega panels ── */
.mega-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 48px !important;
    width: 100vw !important;
    background: #fff !important;
    border-bottom: 2px solid #e5e7eb !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.12) !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s;
    z-index: 199;
}

.mega-wrap {
    position: relative;
}

    .mega-wrap:hover > .mega-panel,
    .mega-wrap.open > .mega-panel {
        opacity: 1;
        pointer-events: all;
        transform: none;
    }

.mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,.4);
    backdrop-filter: blur(3px);
    z-index: 198;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s;
}

    .mega-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

/* ── AUTH MODAL ──────────────────────────────────────────────────────────── */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

    .auth-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.auth-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,.25);
    transform: scale(.96) translateY(8px);
    transition: transform .2s;
}

.auth-overlay.open .auth-modal {
    transform: none;
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .auth-modal-close:hover {
        background: #e5e7eb;
        color: #111827;
    }

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.auth-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg,#00c9a7,#0096cc);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-brand-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #111827;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 3px;
}

.auth-tab {
    flex: 1;
    padding: 8px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}

    .auth-tab.active {
        background: #fff;
        color: #111827;
        box-shadow: 0 1px 4px rgba(0,0,0,.1);
    }

.auth-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 4px;
}

.auth-sub {
    font-size: .83rem;
    color: #6b7280;
    margin-bottom: 22px;
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
    }

.auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .82rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.auth-field {
    margin-bottom: 14px;
}

    .auth-field label {
        display: block;
        font-size: .79rem;
        font-weight: 700;
        color: #374151;
        margin-bottom: 5px;
    }

    .auth-field input {
        width: 100%;
        box-sizing: border-box;
        border: 1.5px solid #d1d5db;
        border-radius: 9px;
        padding: 10px 14px;
        font-size: .88rem;
        font-family: inherit;
        outline: none;
        transition: border-color .15s, box-shadow .15s;
        color: #111827;
    }

        .auth-field input:focus {
            border-color: #00c9a7;
            box-shadow: 0 0 0 3px rgba(0,201,167,.12);
        }

.auth-pwd-wrap {
    position: relative;
}

    .auth-pwd-wrap input {
        padding-right: 44px;
    }

.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    color: #9ca3af;
    padding: 0;
}

.auth-forgot {
    text-align: right;
    margin-bottom: 18px;
}

    .auth-forgot a {
        font-size: .79rem;
        color: #00c9a7;
        text-decoration: none;
    }

.auth-submit-btn {
    width: 100%;
    padding: 13px;
    background: #00c9a7;
    color: #0d1829;
    border: none;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 800;
    font-family: 'Bricolage Grotesque', sans-serif;
    cursor: pointer;
    transition: all .2s;
}

    .auth-submit-btn:hover {
        background: #00b094;
        color: #fff;
    }

    .auth-submit-btn:disabled {
        background: #d1d5db;
        color: #9ca3af;
        cursor: not-allowed;
    }

.auth-switch {
    margin-top: 14px;
    text-align: center;
    font-size: .8rem;
    color: #6b7280;
}

    .auth-switch button {
        background: none;
        border: none;
        color: #00c9a7;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        font-size: .8rem;
    }

.auth-terms {
    margin-top: 16px;
    text-align: center;
    font-size: .72rem;
    color: #9ca3af;
}

    .auth-terms a {
        color: #6b7280;
    }

/* ── Mobile drawer ── */
.mob-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 600;
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,.15);
    transition: left .28s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}

    .mob-drawer.open {
        left: 0;
    }

.mob-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 599;
}

    .mob-backdrop.open {
        display: block;
    }

.mob-drawer-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.mob-close-btn {
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-links {
    flex: 1;
    padding: 8px 0;
}

.mob-link {
    display: block;
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid #f9fafb;
    transition: background .15s;
}

    .mob-link:hover {
        background: #f9fafb;
    }

.mob-group-hd {
    padding: 12px 18px;
    font-size: .88rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f9fafb;
}

.mob-group-body {
    display: none;
    background: #f9fafb;
}

    .mob-group-body.open {
        display: block;
    }

.mob-sub-link {
    display: block;
    padding: 10px 18px 10px 30px;
    font-size: .83rem;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
}

.mob-auth {
    padding: 14px 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 8px;
}

.mob-auth-btn {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.mob-auth-ghost {
    background: #fff;
    color: #111827;
    border: 1.5px solid #d1d5db;
}

.mob-auth-solid {
    background: #00c9a7;
    color: #0d1829;
    border: 1.5px solid #00c9a7;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nav-bar-auth {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-quote-btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav-top {
        display: none;
    }

    .nav-mid {
        padding: 8px 0;
    }

    .nav-mid-inner {
        padding: 0 12px;
        gap: 10px;
    }

    .nsb-shortcut {
        display: none;
    }
}

/* ── Event card thumbnail ───────────────────────────────────────────────── */
.ev-thumb {
    position: relative;
    height: 130px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: -16px -16px 12px;
    background: #f0fdfb;
}

.ev-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ev-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0fdfb 0%, #e0f5f0 100%);
    position: absolute;
    inset: 0;
}
/* Show placeholder only when: no image in HTML, OR image failed to load */
.ev-thumb--no-img .ev-thumb-placeholder,
.ev-thumb--noimg .ev-thumb-placeholder {
    display: flex;
}

.ev-thumb-icon {
    font-size: 2.2rem;
}

.ev-thumb-type {
    font-size: .7rem;
    font-weight: 800;
    color: #0d9488;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ev-thumb-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(10,22,46,.72);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ev-badge--featured {
    background: rgba(251,191,36,.85);
    color: #0d1829;
}

.ev-card--featured {
    border-color: var(--teal) !important;
    background: var(--teal-xl) !important;
}

/* ═══════════════════════════ AD BANNER (mid right) ═══════════════════ */
.nav-ad-banner {
    flex-shrink: 0;
    width: 230px;
    background: #1a2738;
    border: 1px solid #2b3a4e;
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    transition: background .15s;
}

    .nav-ad-banner:hover {
        background: #243347;
    }

.nav-ad-title {
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 5px;
}

.nav-ad-subs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .nav-ad-subs span {
        font-size: .68rem;
        color: #00c9a7;
        font-weight: 600;
    }

/* ═══════════════════ DARK NAV BAR — left aligned like EMC ═══════════ */


/* ═══ EMC DIRECTORY STYLE OVERRIDES ════════════════════════════════════ */
/* Search box */
.nav-mid .nav-search-box {
    flex: 0 1 420px;
    margin-left: auto;
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fff !important;
    overflow: hidden;
    height: 42px !important;
    padding: 0 !important;
    min-width: 260px;
    max-width: 420px;
}

    .nav-mid .nav-search-box:focus-within {
        border-color: #4a90a4 !important;
        box-shadow: none !important;
    }

.nsb-ico {
    padding: 0 12px;
}

.nsb-input {
    padding: 0 4px 0 0 !important;
}

.nsb-shortcut {
    display: none !important;
}

.nsb-search-btn {
    width: 50px;
    min-width: 50px;
    height: 100%;
    background: #2b3a4e;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background .15s;
}

    .nsb-search-btn:hover {
        background: #1a2738;
    }

.nsb-results {
    border-radius: 0 0 6px 6px !important;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CATEGORIES GRID  (EMC Directory style)
   ═══════════════════════════════════════════════════════════════ */
.pc-section {
    background: #f7f8fa;
    padding: 36px 0 32px;
    border-top: 1px solid #eaecef;
    border-bottom: 1px solid #eaecef;
}

.pc-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pc-hdr-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-hdr-ico {
    font-size: 1rem;
}

.pc-hdr-title {
    font-size: .78rem;
    font-weight: 800;
    color: #1a2738;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pc-hdr-all {
    font-size: .82rem;
    font-weight: 700;
    color: #00c9a7;
    text-decoration: none;
    transition: color .15s;
}

    .pc-hdr-all:hover {
        color: #00a88a;
    }

/* Grid — 6 columns */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

/* Category card */
.pc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 12px 16px;
    background: #fff;
    border: 1.5px solid #e8ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #2d3748;
    transition: all .18s;
    text-align: center;
    min-height: 110px;
}

    .pc-card:hover {
        border-color: #00c9a7;
        background: #f0fdfb;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,201,167,.12);
    }

.pc-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
}

.pc-card:hover .pc-card-icon {
    background: #e0faf4;
}

.pc-emoji {
    font-size: 1.65rem;
    line-height: 1;
    display: block;
}

.pc-card-name {
    font-size: .78rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.3;
}

/* View All card */
.pc-card--viewall {
    border: 2px dashed #00c9a7;
    background: #f0fdfb;
    color: #00c9a7;
}

    .pc-card--viewall .pc-card-name {
        color: #00c9a7;
        font-weight: 800;
    }

    .pc-card--viewall .pc-card-icon {
        background: #e0faf4;
    }

    .pc-card--viewall:hover {
        background: #e0faf4;
        border-style: solid;
    }

.pc-viewall-ico {
    width: 26px;
    height: 26px;
    stroke: #00c9a7;
}

/* Bottom action buttons */
.pc-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .15s;
}

.pc-btn--dark {
    background: #1a2738;
    color: #fff;
}

    .pc-btn--dark:hover {
        background: #0d1829;
    }

.pc-btn--outline {
    background: #fff;
    color: #374151;
    border: 1.5px solid #d1d5db;
}

    .pc-btn--outline:hover {
        border-color: #9ca3af;
    }

.pc-btn--teal {
    background: #00c9a7;
    color: #0d1829;
}

    .pc-btn--teal:hover {
        background: #00b094;
        color: #fff;
    }

/* Responsive */
@media (max-width: 1024px) {
    .pc-grid {
        grid-template-columns: repeat(5,1fr);
    }
}

@media (max-width: 768px) {
    .pc-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

@media (max-width: 540px) {
    .pc-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 380px) {
    .pc-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

/* ═══════════════════════════════════════════════════════════════
   EVENTS LISTING PAGE — Card Design
   ═══════════════════════════════════════════════════════════════ */

/* Filter tabs */
.ev-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8ecef;
    margin-bottom: 28px;
}

.ev-tab {
    padding: 10px 18px;
    font-size: .875rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap;
}

    .ev-tab:hover {
        color: #00c9a7;
    }

    .ev-tab.active {
        color: #00c9a7;
        border-bottom-color: #00c9a7;
    }

/* Section label */
.ev-section {
    margin-bottom: 32px;
}

.ev-section-label {
    font-size: .7rem;
    font-weight: 800;
    color: #00c9a7;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

/* Grids */
.ev-grid {
    display: grid;
    gap: 14px;
}

.ev-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.ev-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Event Card ── */
.evc {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e8ecef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}

    .evc:hover {
        border-color: #00c9a7;
        box-shadow: 0 4px 20px rgba(0,201,167,.12);
        transform: translateY(-2px);
    }

.evc--featured {
    border-color: #b2f0e3;
}

    .evc--featured:hover {
        border-color: #00c9a7;
        box-shadow: 0 4px 20px rgba(0,201,167,.18);
    }

/* Image strip */
.evc-img {
    height: 120px;
    overflow: hidden;
    background: #f0fdfb;
    position: relative;
    flex-shrink: 0;
}

    .evc-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.evc-img--noimg {
    background: linear-gradient(135deg,#f0fdfb,#e0f5f0);
}

.evc-img-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: .4;
}

.evc-img--noimg .evc-img-placeholder {
    display: flex;
}

/* Card body */
.evc-body {
    display: flex;
    gap: 12px;
    padding: 14px;
    flex: 1;
    align-items: flex-start;
}

/* Date box */
.evc-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #00c9a7;
    border-radius: 8px;
    padding: 8px 10px;
    flex-shrink: 0;
    min-width: 48px;
}

.evc-mon {
    font-size: .58rem;
    font-weight: 800;
    color: rgba(255,255,255,.85);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.evc-day {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

/* Info */
.evc-info {
    flex: 1;
    min-width: 0;
}

.evc-name {
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 6px;
}

.evc-loc {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .75rem;
    color: #6b7280;
    margin-bottom: 3px;
}

.evc-pin {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.evc-dates {
    font-size: .72rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.evc-badge {
    display: inline-block;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #374151;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
    .ev-grid--4 {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 820px) {
    .ev-grid--3, .ev-grid--4 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 520px) {
    .ev-grid--3, .ev-grid--4 {
        grid-template-columns: 1fr;
    }
}
/* ═══════════════════════════════════════════════════════════════
   EVENTS LISTING — New Card Design
   ═══════════════════════════════════════════════════════════════ */
.ev-tabs {
    display: flex;
    border-bottom: 2px solid #e8ecef;
    margin-bottom: 28px;
}

.ev-tab {
    padding: 10px 18px;
    font-size: .875rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .15s;
    white-space: nowrap;
}

    .ev-tab:hover {
        color: #00c9a7;
    }

    .ev-tab.active {
        color: #00c9a7;
        border-bottom-color: #00c9a7;
    }

.ev-section {
    margin-bottom: 32px;
}

.ev-section-lbl {
    font-size: .7rem;
    font-weight: 800;
    color: #00c9a7;
    letter-spacing: .12em;
    margin-bottom: 14px;
}

/* Grids */
.ev-grid {
    display: grid;
    gap: 14px;
}

.ev-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.ev-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Event Card ── */
.evc {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #e8ecef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}

    .evc:hover {
        border-color: #00c9a7;
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0,201,167,.13);
    }

.evc--featured {
    border-color: #b2f0e3;
}

/* Image */
.evc-img {
    height: 130px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,#f0fdfb,#e0f5f0);
    flex-shrink: 0;
}

    .evc-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.evc-noimg-ph {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    opacity: .35;
}

.evc-img--noimg .evc-noimg-ph {
    display: flex;
}

/* Body */
.evc-body {
    display: flex;
    gap: 12px;
    padding: 14px;
    flex: 1;
    align-items: flex-start;
}

/* Date box */
.evc-datebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #00c9a7;
    border-radius: 8px;
    padding: 7px 10px;
    flex-shrink: 0;
    min-width: 46px;
}

.evc-mon {
    font-size: .55rem;
    font-weight: 800;
    color: rgba(255,255,255,.85);
    letter-spacing: .06em;
}

.evc-day {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

/* Info */
.evc-info {
    flex: 1;
    min-width: 0;
}

.evc-name {
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 5px;
}

.evc-loc {
    font-size: .74rem;
    color: #6b7280;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.evc-pin {
    font-size: .75rem;
    flex-shrink: 0;
}

.evc-dates {
    font-size: .7rem;
    color: #9ca3af;
    margin-bottom: 6px;
}

.evc-badge {
    display: inline-block;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: #374151;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
    .ev-grid--4 {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 820px) {
    .ev-grid--3, .ev-grid--4 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 520px) {
    .ev-grid--3, .ev-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Event card footer + View Details button */
.evc-footer {
    padding: 10px 14px 12px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.evc-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #00c9a7;
    transition: gap .15s;
}

.evc:hover .evc-view-btn {
    gap: 10px;
}
/* Event Detail — Feature Image */
.evd-feature-img {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    max-height: 420px;
    border: 1px solid #e8ecef;
}

    .evd-feature-img img {
        width: 100%;
        max-height: 420px;
        object-fit: cover;
        display: block;
    }



/* ═══════════ FILTER PANEL — Redesign + Search + Scroll ═══════════ */

/* Card — cleaner look */
.fp-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    overflow: hidden;
}

.fp-card-hd-row {
    padding: 14px 16px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f1f5f9;
}

.fp-card-body {
    padding: 8px 12px 12px !important;
}

.fp-card-body--hidden {
    display: none !important;
}

.fp-card-hd {
    font-size: .7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: #1e3a5f !important;
}

.fp-card-hd--active {
    color: #00c9a7 !important;
}

.fp-chev {
    font-size: .7rem;
    color: #94a3b8;
}

/* Check row */
.fp-check-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 4px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: .84rem !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: background .1s !important;
}

    .fp-check-row:hover {
        background: #f8fafc !important;
    }

    .fp-check-row.checked .fp-chk-lbl {
        color: #00c9a7 !important;
        font-weight: 700 !important;
    }

/* Checkbox style */
.fp-chk-box {
    width: 16px !important;
    height: 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: .62rem !important;
    font-weight: 900 !important;
    color: transparent !important;
    flex-shrink: 0 !important;
    background: #fff !important;
    transition: all .15s !important;
}

    .fp-chk-box.on {
        background: #00c9a7 !important;
        border-color: #00c9a7 !important;
        color: #fff !important;
    }

.fp-chk-lbl {
    flex: 1;
    font-size: .84rem;
    color: #374151;
}

/* Count pill */
.fp-count-pill {
    font-size: .72rem !important;
    font-weight: 700 !important;
    color: #00c9a7 !important;
}

/* Search box inside filter */
.fp-search-box {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: .82rem;
    font-family: inherit;
    outline: none;
    color: #374151;
    background: #f8fafc;
    margin-bottom: 8px;
    display: block;
    transition: border-color .15s;
}

    .fp-search-box:focus {
        border-color: #00c9a7;
        background: #fff;
    }

    .fp-search-box::placeholder {
        color: #9ca3af;
    }

/* Scroll list */
.fp-scroll-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 2px;
}

    .fp-scroll-list::-webkit-scrollbar {
        width: 4px;
    }

    .fp-scroll-list::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }

    .fp-scroll-list::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

        .fp-scroll-list::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
/* ═══════════════════ EMAIL BLAST PAGE ═══════════════════════════ */
.eb-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 20px;
  align-items: start; padding: 0 0 40px;
}
/* Compose */
.eb-toolbar {
  display: flex; gap: 4px; flex-wrap: wrap; align-items: center;
  padding: 8px 10px; background: #f8fafc;
  border: 1px solid #e5e7eb; border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}
.eb-toolbar button {
  padding: 5px 10px; font-size: .8rem; font-weight: 600;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 5px;
  cursor: pointer; font-family: inherit; transition: all .12s;
}
.eb-toolbar button:hover { background: #f0fdfb; border-color: #00c9a7; color: #00c9a7; }
.eb-tb-sep { width: 1px; height: 20px; background: #e5e7eb; margin: 0 2px; }
.eb-editor {
  min-height: 280px; max-height: 480px; overflow-y: auto;
  border: 1px solid #e5e7eb; border-top: none; border-radius: 0 0 8px 8px;
  padding: 14px 16px; font-size: .9rem; line-height: 1.7; color: #374151;
  outline: none; background: #fff;
}
.eb-editor:empty:before {
  content: attr(data-placeholder); color: #9ca3af; white-space: pre-line;
}
.eb-editor:focus { border-color: #00c9a7; }
/* Recipients */
.eb-upload-btn {
  cursor: pointer; font-size: .75rem !important; padding: 5px 10px !important;
}
.eb-status-bar {
  padding: 6px 16px; font-size: .75rem; color: #6b7280;
  background: #f9fafb; border-bottom: 1px solid #f3f4f6;
  display: flex; justify-content: space-between;
}
.eb-mfr-list {
  max-height: 540px; overflow-y: auto; padding: 6px 0;
}
.eb-mfr-list::-webkit-scrollbar { width: 4px; }
.eb-mfr-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.eb-mfr-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; cursor: pointer; transition: background .1s;
}
.eb-mfr-row:hover { background: #f9fafb; }
.eb-mfr-row input[type=checkbox] { flex-shrink: 0; accent-color: #00c9a7; width: 15px; height: 15px; }
.eb-mfr-info { flex: 1; min-width: 0; }
.eb-mfr-name  { font-size: .84rem; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-mfr-email { font-size: .72rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-excel-sep {
  font-size: .7rem; font-weight: 800; color: #00c9a7; text-transform: uppercase;
  letter-spacing: .08em; padding: 10px 16px 6px; background: #f0fdfb;
  border-top: 1px solid #b2f0e3; border-bottom: 1px solid #b2f0e3;
}
/* Preview popup */
.eb-overlay {
  position: fixed; inset: 0; background: rgba(10,22,46,.5);
  backdrop-filter: blur(4px); z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.eb-overlay.show { opacity: 1; pointer-events: all; }
.eb-modal {
  background: #fff; border-radius: 16px; width: 680px; max-width: 95vw;
  max-height: 90vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  transform: translateY(10px); transition: transform .2s;
}
.eb-overlay.show .eb-modal { transform: none; }
.eb-modal-hd {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #f3f4f6;
}
.eb-modal-title { font-size: 1.05rem; font-weight: 800; color: #111827; }
.eb-modal-sub   { font-size: .78rem; color: #6b7280; margin-top: 2px; }
.eb-modal-close {
  background: none; border: none; font-size: 1.1rem; cursor: pointer;
  color: #6b7280; padding: 4px 8px; border-radius: 6px;
}
.eb-modal-close:hover { background: #f3f4f6; }
.eb-modal-body { padding: 20px 24px; flex: 1; overflow-y: auto; }
.eb-preview-info {
  display: flex; gap: 10px; align-items: baseline;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 14px; font-size: .85rem; color: #6b7280;
}
.eb-preview-info strong { color: #111827; font-size: .9rem; }
.eb-preview-frame {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 20px; min-height: 200px; font-size: .9rem; line-height: 1.7; color: #374151;
}
.eb-preview-note {
  margin-top: 12px; font-size: .75rem; color: #9ca3af;
  padding: 8px 12px; background: #fafafa; border-radius: 6px;
}
.eb-modal-ft {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 24px; border-top: 1px solid #f3f4f6;
}
@media (max-width: 900px) {
  .eb-layout { grid-template-columns: 1fr; }
}

/* ═══════════════════ EMAIL BLAST — EXTENDED ══════════════════════ */
.eb-layout { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; padding-bottom: 40px; }
/* Tabs */
.eb-tabs { display: flex; border-bottom: 1px solid #f3f4f6; }
.eb-tab {
  flex: 1; padding: 12px 16px; font-size: .84rem; font-weight: 600;
  color: #6b7280; background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s;
}
.eb-tab:hover { color: #00c9a7; }
.eb-tab.active { color: #00c9a7; border-bottom-color: #00c9a7; }
/* Filters */
.eb-filters { display: flex; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #f3f4f6; }
.eb-list-actions { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; font-size: .78rem; border-bottom: 1px solid #f9fafb; }
/* Mfr list */
.eb-mfr-list { max-height: 440px; overflow-y: auto; }
.eb-mfr-list::-webkit-scrollbar { width: 4px; }
.eb-mfr-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.eb-mfr-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; transition: background .1s; }
.eb-mfr-row:hover { background: #f9fafb; }
.eb-mfr-row input { flex-shrink: 0; accent-color: #00c9a7; width: 15px; height: 15px; }
.eb-mfr-info { flex: 1; min-width: 0; }
.eb-mfr-name  { font-size: .84rem; font-weight: 600; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-mfr-email { font-size: .72rem; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Toolbar */
.eb-toolbar { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; padding: 8px 10px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px 8px 0 0; }
.eb-toolbar button { padding: 5px 10px; font-size: .8rem; font-weight: 600; background: #fff; border: 1px solid #e5e7eb; border-radius: 5px; cursor: pointer; font-family: inherit; transition: all .12s; }
.eb-toolbar button:hover { background: #f0fdfb; border-color: #00c9a7; color: #00c9a7; }
.eb-tb-sep { width: 1px; height: 20px; background: #e5e7eb; margin: 0 2px; }
.eb-editor { min-height: 260px; max-height: 420px; overflow-y: auto; border: 1px solid #e5e7eb; border-top: none; border-radius: 0 0 8px 8px; padding: 14px 16px; font-size: .9rem; line-height: 1.75; color: #374151; outline: none; background: #fff; }
.eb-editor:empty:before { content: attr(data-placeholder); color: #9ca3af; white-space: pre-line; }
.eb-editor:focus { border-color: #00c9a7; }
/* Excel tab */
.eb-excel-info { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.eb-excel-info-title { font-size: .8rem; font-weight: 800; color: #374151; margin-bottom: 10px; }
.eb-excel-table { width: 100%; border-collapse: collapse; font-size: .75rem; margin-bottom: 10px; }
.eb-excel-table th { background: #f3f4f6; padding: 6px 10px; text-align: left; font-weight: 700; color: #374151; border: 1px solid #e5e7eb; }
.eb-excel-table td { padding: 5px 10px; border: 1px solid #e5e7eb; color: #6b7280; }
.eb-excel-table .header-row { background: #e0faf4; color: #0d9488; font-weight: 700; }
.eb-excel-rules { font-size: .75rem; color: #6b7280; }
.eb-excel-rules ul { margin: 6px 0 0 16px; padding: 0; }
.eb-excel-rules li { margin-bottom: 3px; }
.eb-drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed #d1d5db; border-radius: 12px; padding: 28px 20px; cursor: pointer; transition: all .15s; text-align: center; }
.eb-drop-zone:hover, .eb-drop-zone.drag-over { border-color: #00c9a7; background: #f0fdfb; }
.eb-drop-icon { font-size: 2.5rem; margin-bottom: 10px; }
.eb-drop-text { font-size: .88rem; color: #374151; margin-bottom: 4px; }
.eb-drop-sub  { font-size: .75rem; color: #9ca3af; }
/* Preview popup */
.eb-overlay { position: fixed; inset: 0; background: rgba(10,22,46,.5); backdrop-filter: blur(4px); z-index: 900; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.eb-overlay.show { opacity: 1; pointer-events: all; }
.eb-modal { background: #fff; border-radius: 16px; width: 700px; max-width: 95vw; max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 24px 80px rgba(0,0,0,.2); transform: translateY(12px); transition: transform .2s; }
.eb-overlay.show .eb-modal { transform: none; }
.eb-modal-hd { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #f3f4f6; }
.eb-modal-title { font-size: 1rem; font-weight: 800; color: #111827; }
.eb-modal-sub   { font-size: .76rem; color: #6b7280; margin-top: 3px; }
.eb-modal-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #6b7280; padding: 4px 8px; border-radius: 6px; }
.eb-modal-close:hover { background: #f3f4f6; }
.eb-modal-body { padding: 18px 22px; flex: 1; overflow-y: auto; }
.eb-preview-info { display: flex; gap: 10px; align-items: baseline; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: .83rem; color: #6b7280; }
.eb-preview-info strong { color: #111827; }
.eb-preview-frame { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px; min-height: 180px; font-size: .9rem; line-height: 1.7; color: #374151; }
.eb-preview-note { margin-top: 10px; font-size: .74rem; color: #9ca3af; padding: 7px 12px; background: #fafafa; border-radius: 6px; }
.eb-modal-ft { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid #f3f4f6; }
/* Logs page */
.eb-log-preview { padding: 20px; background: #f9fafb; border-top: 1px solid #f3f4f6; font-size: .88rem; line-height: 1.7; }
.eb-history-card .eb-history-hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.eb-history-subject { font-size: .92rem; font-weight: 700; color: #111827; margin-bottom: 4px; }
.eb-history-meta { font-size: .76rem; color: #6b7280; }
.eb-history-body { border-top: 1px solid #f3f4f6; }
/* Responsive */
@media (max-width: 900px) { .eb-layout { grid-template-columns: 1fr; } }

/* ═══ FILTER PANEL — Active chips + Remove buttons ═══════════════ */
.fp-active-chips {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 10px 0 14px;
  border-bottom: 1px solid #f1f5f9; margin-bottom: 8px;
}
.fp-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 10px; border-radius: 100px;
  background: #f0fdfb; border: 1px solid #b2f0e3;
  font-size: .74rem; font-weight: 700; color: #0d9488;
}
.fp-chip-x {
  color: #0d9488; text-decoration: none; font-size: .8rem;
  line-height: 1; opacity: .6; transition: opacity .15s;
}
.fp-chip-x:hover { opacity: 1; }

/* Remove X on individual check rows */
.fp-chip-rm {
  margin-left: auto; flex-shrink: 0;
  color: #9ca3af; text-decoration: none; font-size: .72rem;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.fp-chip-rm:hover { background: #fee2e2; color: #ef4444; }

/* ═══ FILTER PANEL — Plain link rows (Country/State/City) ════════ */
.fp-link-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: 7px;
  font-size: .83rem; color: var(--g700);
  text-decoration: none; transition: background .12s;
  cursor: pointer;
}
.fp-link-row:hover { background: #f0fdfb; color: var(--teal); }
.fp-link-row--on {
  background: #e6faf6; color: var(--teal);
  font-weight: 700;
}
.fp-link-lbl { flex: 1; }
.fp-link-rm {
  font-size: .72rem; color: #9ca3af; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .15s;
}
.fp-link-row--on .fp-link-rm:hover { background: #fee2e2; color: #ef4444; }

/* ═══════════════════════ NEWS — FRONTEND ════════════════════════ */
/* Hero card */
.news-hero-card { display:flex; flex-direction:column; text-decoration:none; border-radius:14px; overflow:hidden; border:1px solid #f3f4f6; transition:box-shadow .2s; }
.news-hero-card:hover { box-shadow:0 8px 32px rgba(0,0,0,.1); }
.nhc-img { height:260px; background-size:cover; background-position:center; background-color:#f3f4f6; }
.nhc-img--placeholder { display:flex; align-items:center; justify-content:center; font-size:4rem; }
.nhc-body { padding:22px; }
.nhc-title { font-size:1.3rem; font-weight:800; color:#111827; line-height:1.3; margin:8px 0; }
.nhc-desc { font-size:.88rem; color:#6b7280; line-height:1.6; margin-bottom:12px; }
.nhc-meta { font-size:.75rem; color:#9ca3af; display:flex; gap:12px; }
/* Side cards */
.news-side-card { display:flex; gap:12px; text-decoration:none; padding:10px; border-radius:10px; border:1px solid #f3f4f6; transition:all .15s; }
.news-side-card:hover { border-color:#e5e7eb; background:#fafafa; }
.nsc-img { width:72px; height:72px; object-fit:cover; border-radius:8px; flex-shrink:0; }
.nsc-img--placeholder { width:72px; height:72px; background:#f3f4f6; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex-shrink:0; }
.nsc-title { font-size:.85rem; font-weight:700; color:#111827; line-height:1.35; }
.nsc-meta { font-size:.72rem; color:#9ca3af; margin-top:4px; }
/* Tag */
.news-tag { display:inline-block; padding:3px 10px; border-radius:100px; background:#f0fdfb; border:1px solid #b2f0e3; font-size:.7rem; font-weight:700; color:#0d9488; text-decoration:none; }
.news-tag--gray { background:#f3f4f6; border-color:#e5e7eb; color:#6b7280; }
.news-tag--sm { font-size:.65rem; padding:2px 8px; }
/* Grid */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card { display:flex; flex-direction:column; text-decoration:none; border:1px solid #f3f4f6; border-radius:12px; overflow:hidden; transition:all .2s; }
.news-card:hover { border-color:#e5e7eb; box-shadow:0 6px 24px rgba(0,0,0,.08); transform:translateY(-2px); }
.nc-img-wrap { position:relative; }
.nc-img { width:100%; height:180px; object-fit:cover; display:block; }
.nc-img--placeholder { width:100%; height:180px; background:#f3f4f6; display:flex; align-items:center; justify-content:center; font-size:3rem; }
.nc-industry { position:absolute; top:10px; left:10px; }
.nc-body { padding:18px; flex:1; display:flex; flex-direction:column; }
.nc-title { font-size:.95rem; font-weight:700; color:#111827; line-height:1.4; margin-bottom:8px; }
.nc-desc { font-size:.82rem; color:#6b7280; line-height:1.6; flex:1; margin-bottom:12px; }
.nc-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.nc-meta { font-size:.72rem; color:#9ca3af; display:flex; gap:8px; }
.nc-date { font-size:.72rem; color:#9ca3af; }
/* Detail */
.news-detail-hero { background:#0d1829; padding:64px 0 48px; }
.ndh-inner { max-width:800px; margin:0 auto; padding:0 24px; }
.ndh-meta { display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.ndh-title { font-size:clamp(1.6rem,4vw,2.8rem); font-weight:900; color:#fff; line-height:1.15; margin-bottom:12px; letter-spacing:-.02em; }
.ndh-subtitle { font-size:1.05rem; color:rgba(255,255,255,.7); margin-bottom:16px; }
.ndh-info { display:flex; gap:16px; flex-wrap:wrap; font-size:.8rem; color:rgba(255,255,255,.5); }
.news-detail-layout { display:grid; grid-template-columns:1fr 300px; gap:40px; max-width:1100px; margin:0 auto; }
.nd-lead { font-size:1.1rem; color:#374151; line-height:1.75; font-weight:500; margin-bottom:28px; padding-bottom:28px; border-bottom:2px solid #f3f4f6; }
.nd-content { font-size:.95rem; line-height:1.85; color:#374151; }
.nd-content h2 { font-size:1.3rem; font-weight:800; margin:28px 0 12px; color:#111827; }
.nd-content h3 { font-size:1.1rem; font-weight:700; margin:22px 0 10px; color:#111827; }
.nd-content p  { margin:0 0 16px; }
.nd-content ul, .nd-content ol { padding-left:20px; margin:0 0 16px; }
.nd-content li { margin-bottom:6px; }
.nd-content blockquote { border-left:3px solid #00c9a7; padding:12px 20px; background:#f0fdfb; margin:20px 0; border-radius:0 8px 8px 0; font-style:italic; color:#374151; }
.nd-source { margin-top:28px; padding:12px 16px; background:#f8fafc; border-radius:8px; font-size:.82rem; color:#6b7280; }
.nd-source a { color:#00c9a7; text-decoration:none; }
.nd-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.nd-tag { padding:4px 12px; background:#f3f4f6; border-radius:100px; font-size:.76rem; color:#374151; }
.nd-actions { display:flex; gap:10px; margin-top:28px; padding-top:20px; border-top:1px solid #f3f4f6; }
.nd-action-btn { padding:10px 18px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; font-size:.85rem; font-weight:600; cursor:pointer; transition:all .15s; display:flex; align-items:center; gap:6px; }
.nd-action-btn:hover { background:#f0fdfb; border-color:#00c9a7; color:#0d9488; }
/* Sidebar */
.nd-sidebar {}
.nds-card { background:#f9fafb; border:1px solid #f3f4f6; border-radius:12px; padding:16px; }
.nds-title { font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:#374151; margin-bottom:14px; }
.nds-item { display:flex; gap:10px; text-decoration:none; padding:10px 0; border-bottom:1px solid #f3f4f6; }
.nds-item:last-child { border:none; }
.nds-img { width:56px; height:56px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.nds-item-title { font-size:.82rem; font-weight:600; color:#111827; line-height:1.4; }
.nds-item-meta  { font-size:.7rem; color:#9ca3af; margin-top:3px; }

@media (max-width:900px) {
  .news-grid { grid-template-columns:1fr 1fr; }
  .news-detail-layout { grid-template-columns:1fr; }
  .news-detail-hero > div > div:first-child + * { display:none; }
}
@media (max-width:600px) {
  .news-grid { grid-template-columns:1fr; }
}

/* ═══════════ MANUFACTURER DETAIL — STICKY NAV ══════════════════ */
.mfr-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 2px solid #f3f4f6;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  /* No transform — always visible when sticky kicks in */
}
.msn-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px; height: 54px;
}
.msn-logo {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid #f3f4f6;
  font-size: .9rem; font-weight: 800; color: #111827;
}
.msn-name {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px;
}
.msn-tabs {
  display: flex; gap: 0; overflow-x: auto; flex: 1;
  scrollbar-width: none;
}
.msn-tabs::-webkit-scrollbar { display: none; }
.msn-tab {
  padding: 0 16px; height: 54px; line-height: 54px;
  white-space: nowrap; font-size: .82rem; font-weight: 600; color: #6b7280;
  text-decoration: none; flex-shrink: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}
.msn-tab:hover { color: #111827; }
.msn-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
/* Hide website button — removed from HTML */
.msn-website { display: none; }

/* ═══════════ LOCATION SECTION ═════════════════════════════════ */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.loc-card {
  background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 12px;
  padding: 18px; position: relative; transition: border-color .15s;
}
.loc-card:hover { border-color: #d1d5db; }
.loc-card--hq { border-color: rgba(0,201,167,.3); background: #f0fdfb; }
.loc-card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
  background: rgba(0,201,167,.12); color: var(--teal);
}
.loc-card--hq .loc-card-badge { background: var(--teal); color: #fff; }
.loc-card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.loc-card-name { font-size: .88rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.loc-card-addr { font-size: .8rem; color: #6b7280; line-height: 1.6; margin-bottom: 12px; }
.loc-contact { font-size: .78rem; color: #6b7280; display: block; margin-top: 4px; text-decoration: none; }
.loc-website-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 7px;
  background: var(--teal); color: #fff;
  font-size: .78rem; font-weight: 700; text-decoration: none;
  margin-top: 8px; transition: opacity .15s;
}
.loc-website-btn:hover { opacity: .85; }

/* ═══════════ SIDEBAR COMPANY CARD ═════════════════════════════ */
.sb-company-card { text-align: center; }
.sb-logo { max-width: 100px; max-height: 60px; object-fit: contain; margin: 0 auto 4px; display: block; }
.sb-website-btn {
  display: block; margin-top: 14px; padding: 10px 16px; border-radius: 8px;
  background: var(--teal); color: #fff; font-size: .85rem; font-weight: 700;
  text-decoration: none; text-align: center; transition: opacity .15s;
}
.sb-website-btn:hover { opacity: .85; }

/* logo placeholder in news card */
.cc-img-logo { display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.cc-img-logo img { max-width: 80%; max-height: 80%; object-fit: contain; }

/* ═══════════ NEWS CAROUSEL ════════════════════════════════════ */
.news-carousel { position: relative; overflow: hidden; border-radius: 14px; }
.nc-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.nc-slide { min-width: 100%; }
.nc-featured-card {
  display: grid; grid-template-columns: 1fr 1fr; text-decoration: none;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.08); min-height: 340px;
}
.ncf-img {
  background-size: cover; background-position: center; min-height: 300px;
  background-color: #f3f4f6;
}
.ncf-img--plain {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f2040, #1a3260);
}
.ncf-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.ncf-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ncf-title { font-size: 1.4rem; font-weight: 800; color: #111827; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.02em; }
.ncf-desc { font-size: .9rem; color: #6b7280; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.ncf-foot { font-size: .76rem; color: #9ca3af; display: flex; gap: 12px; flex-wrap: wrap; }
.nc-controls {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 0 8px;
}
.nc-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #e5e7eb;
  background: #fff; font-size: 1.2rem; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.nc-btn:hover { border-color: var(--teal); color: var(--teal); }
.nc-dots { display: flex; gap: 6px; }
.nc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e5e7eb; border: none; cursor: pointer; transition: all .2s; padding: 0;
}
.nc-dot.active { background: var(--teal); width: 20px; border-radius: 4px; }

@media (max-width:768px) {
  .nc-featured-card { grid-template-columns: 1fr; }
  .ncf-img { min-height: 180px; }
  .ncf-title { font-size: 1.1rem; }
  .msn-name { display: none; }
  .location-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════ HOME NEWS SECTION ══════════════════════════ */
.home-news-section { padding: 64px 0; background: #f8fafc; }
.hns-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }

/* Carousel */
.hns-carousel { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 40px; background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.hns-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.hns-slide { min-width: 100%; }
.hns-featured-card { display: grid; grid-template-columns: 450px 1fr; text-decoration: none; min-height: 280px; }
.hns-img-wrap { position: relative; overflow: hidden; }
.hns-img { width: 100%; height: 100%; min-height: 250px; background-size: cover; background-position: center; background-color: #e2e8f0; }
.hns-img--blank { background: linear-gradient(135deg, #0f2040, #1a3260); display: flex; align-items: center; justify-content: center; }
.hns-img-icon { font-size: 4rem; }
.hns-featured-badge { position: absolute; top: 16px; left: 16px; background: #e11d48; color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 12px; border-radius: 100px; letter-spacing: .04em; }
.hns-card-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.hns-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hns-title { font-size: 1.4rem; font-weight: 800; color: #111827; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.02em; }
.hns-desc { font-size: .9rem; color: #6b7280; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.hns-meta { font-size: .76rem; color: #9ca3af; display: flex; gap: 12px; flex-wrap: wrap; }
/* Carousel controls */
.hns-controls { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0 10px; background: #fff; }
.hns-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #e5e7eb; background: #fff; font-size: 1.2rem; cursor: pointer; transition: all .15s; display: flex; align-items: center; justify-content: center; }
.hns-btn:hover { border-color: var(--teal); color: var(--teal); }
.hns-dots { display: flex; gap: 6px; }
.hns-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; border: none; cursor: pointer; transition: all .2s; padding: 0; }
.hns-dot.active { background: var(--teal); width: 20px; border-radius: 4px; }

/* Latest grid */
.hns-grid-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; margin-bottom: 14px; }
.hns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hns-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #f3f4f6; border-radius: 12px; overflow: hidden; text-decoration: none; transition: all .2s; }
.hns-news-card:hover { border-color: #e5e7eb; box-shadow: 0 4px 16px rgba(0,0,0,.07); transform: translateY(-2px); }
.hns-nc-img-wrap { position: relative; }
.hns-nc-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.hns-nc-img--blank { width: 100%; height: 140px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.hns-nc-tag { position: absolute; bottom: 8px; left: 8px; background: rgba(0,201,167,.9); color: #fff; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.hns-nc-body { padding: 14px; }
.hns-nc-title { font-size: .85rem; font-weight: 700; color: #111827; line-height: 1.35; margin-bottom: 8px; }
.hns-nc-meta { font-size: .72rem; color: #9ca3af; display: flex; gap: 8px; }

/* ═══════════════════ CUSTOM FIELDS — MAIN SECTION ══════════════ */
.cf-group { margin-bottom: 20px; }
.cf-group:last-child { margin-bottom: 0; }
.cf-group-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #9ca3af; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #f3f4f6; }
.cf-fields-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cf-field-row { background: #f9fafb; border-radius: 10px; padding: 14px 16px; border: 1px solid #f3f4f6; }
.cf-field-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; margin-bottom: 8px; }
.cf-field-value { font-size: .88rem; color: #111827; font-weight: 500; }
.cf-pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-pill { padding: 3px 10px; background: #e0faf4; border: 1px solid #b2f0e3; border-radius: 100px; font-size: .75rem; font-weight: 600; color: #0d9488; }
.cf-url { color: var(--teal); text-decoration: none; word-break: break-all; font-size: .82rem; }
.cf-url:hover { text-decoration: underline; }

/* ═══════════════════ STICKY NAV FIX ════════════════════════════ */
/* sticky nav — see main definition above */

@media (max-width: 900px) {
  .hns-featured-card { grid-template-columns: 1fr; }
  .hns-img { min-height: 200px; }
  .hns-title { font-size: 1.1rem; }
  .hns-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .hns-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════ HOME NEWS v2 ══════════════════════════════ */
.hn2-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.hn2-col-title {
  font-size: 1.05rem; font-weight: 800; color: #111827;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: space-between;
}
/* Carousel */
.hn2-carousel { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.hn2-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.hn2-slide { min-width: 100%; }
.hn2-big-card { display: block; text-decoration: none; position: relative; border-radius: 10px; overflow: hidden; background: #f3f4f6; }
.hn2-big-img { height: 260px; background-size: cover; background-position: center; }
.hn2-big-img--blank { height: 260px; background: linear-gradient(135deg, #0f2040, #1a3260); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.hn2-big-body { padding: 14px 16px 16px; background: #fff; border: 1px solid #f3f4f6; border-top: none; border-radius: 0 0 10px 10px; }
.hn2-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); display: block; margin-bottom: 6px; }
.hn2-big-title { font-size: 1rem; font-weight: 800; color: #111827; line-height: 1.35; }
.hn2-dots { display: flex; gap: 5px; justify-content: center; padding: 8px 0 0; }
.hn2-dot { width: 7px; height: 7px; border-radius: 50%; background: #d1d5db; border: none; cursor: pointer; padding: 0; transition: all .2s; }
.hn2-dot.active { background: var(--teal); width: 18px; border-radius: 4px; }
/* Small cards */
.hn2-small-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hn2-small-card { display: block; text-decoration: none; border-radius: 8px; overflow: hidden; border: 1px solid #f3f4f6; transition: border-color .15s; }
.hn2-small-card:hover { border-color: var(--teal); }
.hn2-small-img { height: 130px; background-size: cover; background-position: center; background-color: #f3f4f6; position: relative; display: flex; align-items: center; justify-content: center; }
.hn2-small-img--blank { background: #e2e8f0; }
.hn2-small-badge { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .6rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.hn2-small-body { padding: 10px 12px; background: #fff; }
.hn2-small-title { font-size: .8rem; font-weight: 600; color: #111827; line-height: 1.4; margin: 0; }
/* Right: news list */
.hn2-news-list { display: flex; flex-direction: column; }
.hn2-list-item { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; padding: 12px 0; border-bottom: 1px solid #f3f4f6; transition: background .1s; }
.hn2-list-item:last-child { border-bottom: none; }
.hn2-list-item:hover .hn2-list-title { color: var(--teal); }
.hn2-list-thumb { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.hn2-list-thumb--blank { width: 72px; height: 56px; background: #f3f4f6; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.hn2-list-body { flex: 1; }
.hn2-list-title { font-size: .88rem; font-weight: 700; color: #111827; line-height: 1.4; transition: color .15s; }
.hn2-list-date { font-size: .74rem; color: #9ca3af; margin-top: 4px; }
.hn2-more-link, .hn2-view-all { font-size: .82rem; color: var(--teal); text-decoration: none; font-weight: 600; }
.hn2-more-link:hover, .hn2-view-all:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .hn2-layout { grid-template-columns: 1fr; }
  .hn2-big-img { height: 200px; }
}

/* ═══════ WALLPAPER ADS — FINAL (MediHub Layout) ════════════════ */

.wa-sidebar {
  position: fixed;
  z-index: 30; /* nav is higher (100+) so it overlaps ads */
  overflow: hidden;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
}
.wa-sidebar--left  { left: 0; }
.wa-sidebar--right { right: 0; }

.wa-sidebar a,
.wa-sidebar > img { 
  display: block; 
  width: 100%; 
  height: 100%; 
}

/* All images hidden by default */
.wa-img { 
  display: none; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

/* MediHub main content max width = 1280px
   So: show ads only when viewport > 1280 + 2*minAdWidth
   min ad width we want = 80px → need 1440px minimum */

@media (min-width: 1440px) {
  /* width = (viewport - 1280) / 2 */
  .wa-sidebar { width: calc((100vw - 1280px) / 2); }
  .wa-img--normal { display: block; }
}
@media (min-width: 1600px) {
  .wa-img--normal { display: none; }
  .wa-img--big    { display: block; }
}
@media (min-width: 1800px) {
  .wa-img--big    { display: none; }
  .wa-img--bigger { display: block; }
}
@media (max-width: 1439px) {
  .wa-sidebar { display: none !important; }
}

/* Nav stays above wallpaper ads (z-index: 30) */
.nav-top  { position: relative; z-index: 100; }
.nav-mid  { position: relative; z-index: 100; }
.site-nav { z-index: 100; }
