:root {
    --yellow: #FFF351;
    --black: #000000;
    --card: #1A1A1A;
    --white: #FFFFFF;
    --grey: #999999;
    --teal: #00C896;
    --border: #2A2A2A;
}

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

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* ── Header ── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    max-width: 100%;
    overflow: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 100%;
    overflow: hidden;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-accent {
    color: var(--yellow);
}

.header-tagline {
    font-size: 0.75rem;
    color: var(--grey);
    font-weight: 500;
    display: block;
    letter-spacing: 0;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 24px;
    border-left: 1px solid #222;
    padding-left: 24px;
}

/* ── Hamburger / Mobile Nav ── */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #FFF351;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
    margin-left: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hamburger-btn { display: flex; align-items: center; }
    .header { overflow: visible; }
    .header-inner { overflow: visible; }
    .logo { flex-shrink: 1; min-width: 0; }
    .header-tagline { display: none; }
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    z-index: 998;
    flex-direction: column;
}

.mobile-nav.open { display: flex; }

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #161616;
    transition: color 0.15s, background 0.15s;
    letter-spacing: 0.01em;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #FFF351;
    background: #111;
}

.nav-new-badge {
    display: inline-block;
    margin-left: 7px;
    padding: 1px 5px;
    background: #FFF351;
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 4px;
    vertical-align: middle;
    line-height: 1.5;
}

.nav-new-badge--desktop {
    position: relative;
    top: -5px;
    margin-left: 4px;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 99px;
    background: #FFF351 !important;
    color: #000 !important;
    vertical-align: top;
    line-height: 1.6;
}

.mobile-nav-divider {
    height: 1px;
    background: #333;
    margin: 4px 0;
}

.mobile-nav-email {
    padding: 12px 20px 4px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.social-icon {
    color: #555;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.social-icon:hover { color: #FFF351; }

.social-icon--wa {
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    padding: 7px;
    transition: background 0.15s, color 0.15s;
}
.social-icon--wa:hover {
    background: #1ebe5d;
    color: #fff;
}

@media (max-width: 768px) { .nav-social { display: none; } }

.nav-wa-mobile {
    display: none;
    color: var(--white);
    line-height: 0;
}
.nav-wa-mobile:hover { color: #FFF351; }
@media (max-width: 768px) {
    .nav-wa-mobile { display: flex; align-items: center; margin-right: 8px; }
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    border: none;
    font-family: inherit;
    line-height: 1.4;
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: #ffe000;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 243, 81, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    display: block;
}

/* ── Hero ── */
.hero {
    padding: 90px 0 72px;
    text-align: center;
}

.hero-headline {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--grey);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

/* ── Search Bar ── */
.search-bar-wrap {
    display: flex;
    max-width: 680px;
    margin: 0 auto 28px;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-bar-wrap:focus-within {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 243, 81, 0.08);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 16px 20px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--grey);
}

.search-btn {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #ffe000;
}

/* ── Filter Pills ── */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--grey);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
}

.pill:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(255, 243, 81, 0.06);
}

/* ── Trust Bar ── */
.trust-bar {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.trust-inner {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

/* ── How it Works ── */
.how-it-works {
    padding: 96px 0;
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 56px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
}

.step-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.step-card p {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── Pricing ── */
.pricing {
    padding: 96px 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background: #0D0D0D;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    transition: border-color 0.2s;
}

.pricing-card:hover {
    border-color: var(--yellow);
}

.pricing-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 20px;
}

.pricing-amount {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    line-height: 1;
}

.pricing-amount span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--grey);
    letter-spacing: 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
    text-align: left;
}

.pricing-features li {
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.pricing-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ── Pricing disclaimer ── */
.pricing-disclaimer {
    margin-top: 20px;
    font-size: 0.78rem;
    color: var(--grey);
    line-height: 1.6;
    text-align: center;
}

/* ── Community Banner ── */
.community-banner {
    background: #1a1a1a;
    border-top: 1px solid #FFF351;
    padding: 14px 20px;
    text-align: center;
}

.community-banner p {
    margin: 0;
    font-size: 0.875rem;
    color: #ffffff;
}

.community-banner__link {
    color: #FFF351;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.community-banner__link:hover {
    text-decoration: underline;
}

/* ── Footer ── */
.footer {
    padding: 44px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-disclaimer {
    color: var(--grey);
    font-size: 0.78rem;
    max-width: 440px;
    text-align: center;
    line-height: 1.6;
}

.footer-copy {
    color: var(--grey);
    font-size: 0.875rem;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--grey);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.18s;
}

.footer-nav a:hover {
    color: var(--yellow);
}

/* ── Placeholder pages (search, admin) ── */
.placeholder-section {
    padding: 120px 0;
    text-align: center;
}

.placeholder-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.placeholder-section p {
    color: var(--grey);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 32px;
}

.badge {
    display: inline-block;
    background: rgba(255, 243, 81, 0.1);
    border: 1px solid rgba(255, 243, 81, 0.3);
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 56px;
    }

    .hero-headline {
        letter-spacing: -1px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-inner {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .btn-outline.hide-mobile {
        display: none;
    }

    .how-it-works,
    .pricing {
        padding: 72px 0;
    }

    .pricing-card {
        padding: 36px 28px;
    }
}

@media (max-width: 540px) {
    .search-bar-wrap {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-btn {
        padding: 14px 20px;
        width: 100%;
    }

    .filter-pills {
        gap: 8px;
    }

    .pill {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .trust-inner {
        gap: 16px;
    }
}

/* ══════════════════════════════════════════════════════
   SEARCH PAGE
══════════════════════════════════════════════════════ */

.search-page {
    padding: 48px 0 96px;
    min-height: calc(100vh - 180px);
}

.search-page-heading {
    margin-bottom: 28px;
}

.search-page-heading h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.search-page-sub {
    color: var(--grey);
    font-size: 0.95rem;
}

/* Standalone search input for the search page */
.search-input-page {
    display: block;
    width: 100%;
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    padding: 15px 20px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.search-input-page:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 243, 81, 0.08);
}

.search-input-page::placeholder {
    color: var(--grey);
}

/* Filter section (category pills row) */
.filter-section {
    margin-bottom: 16px;
}

/* Filter row (stock type + budget in one line) */
.filter-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Filter pill rows (category + stock type) */
.filter-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cat-pill,
.type-pill {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--grey);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1.4;
}

.cat-pill:hover,
.type-pill:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.cat-pill.active,
.type-pill.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

/* Budget select dropdown */
.filter-select {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 7px 36px 7px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23999999' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    outline: none;
    transition: border-color 0.18s;
}

.filter-select:focus {
    border-color: var(--yellow);
}

/* Results meta bar */
.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

#results-count {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
}

.results-meta-note {
    font-size: 0.8rem;
    color: var(--grey);
}

/* ── Supplier Grid ── */
.supplier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    overflow: visible;
}

/* ── Supplier Card ── */
.supplier-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.supplier-card:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.verified-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--teal);
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.25);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.unverified-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--grey);
    background: rgba(153, 153, 153, 0.08);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.card-cat-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--yellow);
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.card-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.card-location {
    font-size: 0.8rem;
    color: var(--grey);
    margin-top: -4px;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stock type tags on cards */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stock-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.2px;
}

.stock-tag--manifest {
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.2);
    color: var(--yellow);
}

.stock-tag--joblot {
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.2);
    color: var(--teal);
}

.stock-tag--pallets {
    background: rgba(153, 153, 153, 0.08);
    border: 1px solid var(--border);
    color: var(--grey);
}

/* Card bottom: min order + CTA */
.card-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.card-bottom-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.card-min-order {
    font-size: 0.82rem;
    color: var(--grey);
    white-space: nowrap;
}

.card-min-order strong {
    color: var(--white);
    font-weight: 700;
}

.card-trade-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-block;
    white-space: nowrap;
}

.card-trade-tag--required {
    background: rgba(249, 168, 37, 0.1);
    color: #F9A825;
    border: 1px solid rgba(249, 168, 37, 0.22);
}

.card-trade-tag--none {
    background: rgba(0, 200, 150, 0.08);
    color: #00C896;
    border: 1px solid rgba(0, 200, 150, 0.2);
}

.profile-trade-tag {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.profile-trade-tag--required {
    background: rgba(249, 168, 37, 0.1);
    color: #F9A825;
    border: 1px solid rgba(249, 168, 37, 0.22);
}

.profile-trade-tag--none {
    background: rgba(0, 200, 150, 0.08);
    color: #00C896;
    border: 1px solid rgba(0, 200, 150, 0.2);
}

.card-btn {
    padding: 9px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ── Card clickthrough note ── */
.card-clickthrough {
    font-size: 0.72rem;
    color: #555;
    text-align: center;
    margin-top: -4px;
}

/* ── Empty State ── */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--grey);
    font-size: 0.95rem;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Responsive (search page) ── */
@media (max-width: 900px) {
    .supplier-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .search-page {
        padding: 32px 0 72px;
    }

    .supplier-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        gap: 14px;
    }

    .results-meta-note {
        display: none;
    }

    /* Category pills: single horizontal scrolling row on mobile */
    #cat-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    #cat-pills::-webkit-scrollbar {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════════════════ */

.hidden {
    display: none !important;
}

/* ── Login Overlay ── */
.login-overlay {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}

.login-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-logo {
    display: inline-block;
    font-size: 1.7rem;
    margin-bottom: 20px;
    text-decoration: none;
}

.login-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-card > p {
    color: var(--grey);
    font-size: 0.88rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.login-input {
    /* Uses .form-input styles — override only what's different */
    margin-bottom: 0 !important;
    letter-spacing: 1.5px;
    font-size: 1rem !important;
}

.login-error {
    color: #ff6b6b;
    font-size: 0.82rem;
    margin: 10px 0 14px;
    min-height: 1.3em;
    text-align: left;
    line-height: 1.5;
}

.login-back {
    margin-top: 20px;
    font-size: 0.8rem;
}

.login-back a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.18s;
}

.login-back a:hover {
    color: var(--white);
}

/* ── Admin main ── */
.admin-main {
    padding: 40px 0 96px;
}

/* ── Admin page heading ── */
.admin-page-heading {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-page-heading h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.admin-page-heading p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* ── Stats row ── */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--grey);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── Admin two-column layout ── */
.admin-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 28px;
    align-items: start;
}

/* ── Form column ── */
.admin-form-col {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: 88px;
}

.admin-form-col h2,
.admin-list-col h2 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 22px;
}

/* ── Form fields ── */
.form-field {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}

.form-label .required {
    color: var(--yellow);
    margin-left: 1px;
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    background: var(--black);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 11px 14px;
    color: var(--white);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    line-height: 1.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--yellow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #555;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23999999' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

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

/* ── Checkboxes ── */
.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--yellow);
    cursor: pointer;
    flex-shrink: 0;
}

.verified-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    padding: 8px 0;
}

.verified-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--teal);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Form error & actions ── */
.form-error {
    color: #ff6b6b;
    font-size: 0.82rem;
    min-height: 1.3em;
    margin-bottom: 8px;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.btn-submit {
    flex: 1;
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
}

.btn-submit:hover {
    background: #ffe000;
}

.btn-cancel {
    background: transparent;
    color: var(--grey);
    border: 1.5px solid var(--border);
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
}

.btn-cancel:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* ── Supplier list rows ── */
.admin-row {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color 0.18s;
}

.admin-row:hover {
    border-color: #3a3a3a;
}

.admin-row-info {
    flex: 1;
    min-width: 0;
}

.admin-row-name {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-row-meta {
    font-size: 0.76rem;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.6;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.admin-ch-input {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--white);
    font-size: 0.72rem;
    font-family: inherit;
    padding: 5px 8px;
    width: 108px;
    outline: none;
    transition: border-color 0.18s;
}
.admin-ch-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}
.admin-ch-input::placeholder {
    color: var(--grey);
    opacity: 0.6;
}

.admin-row-website {
    font-size: 0.72rem;
    color: var(--grey);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
a.admin-row-website {
    color: var(--accent, #7c5cbf);
    text-decoration: none;
}
a.admin-row-website:hover {
    text-decoration: underline;
}
.admin-row-website--none {
    opacity: 0.45;
    font-style: italic;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--grey);
    transition: all 0.18s;
    white-space: nowrap;
}

.action-btn:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.action-edit:hover {
    background: rgba(255, 243, 81, 0.08);
    border-color: rgba(255, 243, 81, 0.3);
    color: var(--yellow);
}

.action-verify:hover {
    background: rgba(0, 200, 150, 0.08);
    border-color: rgba(0, 200, 150, 0.3);
    color: var(--teal);
}

.action-delete:hover {
    background: rgba(255, 80, 80, 0.08);
    border-color: rgba(255, 80, 80, 0.3);
    color: #ff6b6b;
}

.empty-admin {
    color: var(--grey);
    font-size: 0.9rem;
    padding: 40px 20px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* ── Logout button ── */
.btn-logout {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--grey);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
}

.btn-logout:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* ── Toast notification ── */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 12px 28px;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
    z-index: 999;
    white-space: nowrap;
}

.toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Responsive (admin) ── */
@media (max-width: 960px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-col {
        position: static;
    }
}

@media (max-width: 600px) {
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 16px 20px;
    }

    .stat-value {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .admin-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-row-actions {
        width: 100%;
    }

    .action-btn {
        flex: 1;
        text-align: center;
    }

    .login-card {
        padding: 36px 24px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }
}

/* ══════════════════════════════════════════════════════
   CARD LOGOS & NEW BADGES
══════════════════════════════════════════════════════ */

/* Logo area at top of supplier card */
.card-logo-area {
    margin-bottom: 14px;
}

.card-logo-img {
    height: 52px;
    max-width: 130px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.card-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--yellow);
}

/* Starter Friendly badge */
.starter-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.22);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   SUPPLIER PROFILE PAGE
══════════════════════════════════════════════════════ */

.profile-page {
    padding: 40px 0 96px;
    min-height: calc(100vh - 180px);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--grey);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 36px;
    transition: color 0.18s;
}

.back-link:hover {
    color: var(--white);
}

/* ── Hero ── */
.profile-hero {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.profile-logo-wrap {
    flex-shrink: 0;
}

.profile-logo-img {
    width: 104px;
    height: 104px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 10px;
    display: block;
}

.profile-logo-placeholder {
    width: 104px;
    height: 104px;
    border-radius: 14px;
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--yellow);
}

.profile-hero-content {
    flex: 1;
    min-width: 0;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.profile-name {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.profile-location {
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.profile-stock-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* ── Two-column layout ── */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ── Main content sections ── */
.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
}

.profile-section h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin-bottom: 18px;
}

.profile-description {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Sourcing details grid */
.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

/* Inline link inside a detail-value row (e.g. Companies House) */
.detail-link {
    color: var(--yellow);
    text-decoration: none;
}
.detail-link:hover { text-decoration: underline; }

/* Transparency badges (in detail value) */
.transparency-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
}

.transparency--manifest {
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.25);
    color: var(--teal);
}

.transparency--described {
    background: rgba(249, 168, 37, 0.1);
    border: 1px solid rgba(249, 168, 37, 0.25);
    color: #F9A825;
}

.transparency--blind {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #EF4444;
}

/* ── Sidebar cards ── */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 88px;
}

.profile-cta-card {
    background: var(--card);
    border: 1.5px solid var(--yellow);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.profile-cta-card--no-link {
    border-color: var(--border);
}

.profile-no-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grey);
    margin-bottom: 8px;
}

.profile-cta-note {
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--grey);
    line-height: 1.6;
}

.profile-side-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 22px;
}

.profile-side-card h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--grey);
    margin-bottom: 14px;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row:first-of-type {
    padding-top: 0;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.18s;
}

.contact-value:hover {
    color: var(--yellow);
}

.profile-address {
    font-style: normal;
    font-size: 0.875rem;
    color: var(--white);
    line-height: 1.7;
}

/* ── Responsive (profile) ── */
@media (max-width: 860px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        order: -1;
    }

    .profile-cta-card {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .profile-cta-card .btn-lg {
        width: auto;
        padding: 13px 22px;
        font-size: 0.9rem;
    }

    .profile-cta-note {
        margin-top: 0;
        grid-column: 1;
    }
}

@media (max-width: 600px) {
    .profile-hero {
        flex-direction: column;
        gap: 20px;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .profile-section {
        padding: 22px 20px;
    }

    .profile-cta-card {
        grid-template-columns: 1fr;
    }

    .profile-cta-card .btn-lg {
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════════
   ADMIN — NEW FORM ELEMENTS
══════════════════════════════════════════════════════ */

/* Section header divider inside the form */
.form-section-header {
    font-size: 0.68rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 18px 0 10px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.form-section-header:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* Optional label suffix */
.form-optional {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--grey);
    text-transform: none;
    letter-spacing: 0;
}

/* Two-column form row */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-2 .form-field {
    margin-bottom: 0;
}

/* Logo upload area */
.logo-upload-area {
    border: 1.5px dashed var(--border);
    border-radius: 10px;
    padding: 16px;
    transition: border-color 0.2s;
    min-height: 64px;
    display: flex;
    align-items: center;
}

.logo-upload-area:hover {
    border-color: rgba(255, 243, 81, 0.35);
}

.logo-upload-label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    color: var(--grey);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.18s;
}

.logo-upload-label:hover {
    color: var(--white);
}

.logo-upload-label small {
    font-size: 0.72rem;
    color: #555;
    font-weight: 400;
}

.logo-preview-img {
    max-width: 100px;
    max-height: 64px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border: 1px solid var(--border);
}

.remove-logo-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--grey);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
}

.remove-logo-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Admin row logo thumbnail */
.admin-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.admin-row-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 7px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 2px;
}

.admin-row-logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.15);
    color: var(--yellow);
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Responsive form-row-2 */
@media (max-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .form-row-2 .form-field {
        margin-bottom: 16px;
    }
    .form-row-2 .form-field:last-child {
        margin-bottom: 0;
    }
}

/* ══════════════════════════════════════════════════════
   SOCIAL MEDIA ICONS
══════════════════════════════════════════════════════ */

/* Profile page — icon row */
.social-icons-row {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--grey);
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
}

.social-icon-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.social-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    transform: translateY(-2px);
}

/* Per-platform hover tints */
.social-icon-btn--facebook:hover  { background: rgba(24, 119, 242, 0.15); border-color: rgba(24, 119, 242, 0.35); color: #4e9af1; }
.social-icon-btn--instagram:hover { background: rgba(225, 48, 108, 0.12); border-color: rgba(225, 48, 108, 0.35); color: #e1306c; }
.social-icon-btn--tiktok:hover    { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.social-icon-btn--youtube:hover   { background: rgba(255, 0, 0, 0.12); border-color: rgba(255, 0, 0, 0.3); color: #ff4444; }
.social-icon-btn--linkedin:hover  { background: rgba(10, 102, 194, 0.15); border-color: rgba(10, 102, 194, 0.35); color: #3b9eff; }

/* Admin form — small coloured platform labels */
.social-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-right: 2px;
    vertical-align: middle;
    letter-spacing: 0;
    text-transform: none;
}

.social-form-icon--facebook  { background: #1877f2; color: #fff; }
.social-form-icon--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-form-icon--tiktok    { background: #010101; color: #fff; border: 1px solid #333; }
.social-form-icon--youtube   { background: #ff0000; color: #fff; }
.social-form-icon--linkedin  { background: #0a66c2; color: #fff; }

/* ══════════════════════════════════════════════════════
   ADMIN — GALLERY IMAGE UPLOAD
══════════════════════════════════════════════════════ */

.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-slot {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-slot-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gallery-preview-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: block;
}

@media (max-width: 560px) {
    .gallery-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════
   PROFILE — STOCK IMAGE GALLERY
══════════════════════════════════════════════════════ */

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.profile-gallery:has(.gallery-item:only-child) {
    grid-template-columns: 1fr;
    max-width: 420px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--card);
    position: relative;
}

.gallery-item::after {
    content: '⤢';
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.22s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .profile-gallery {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════════════ */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.7);
    cursor: default;
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.15s;
    pointer-events: all;
    user-select: none;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════
   ADMIN — CATEGORY CHECKBOX LIST
══════════════════════════════════════════════════════ */

.category-checkbox-list {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-checkbox-list::-webkit-scrollbar {
    width: 5px;
}

.category-checkbox-list::-webkit-scrollbar-track {
    background: transparent;
}

.category-checkbox-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 99px;
}

/* ══════════════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════════════ */

.legal-page {
    padding: 56px 0 96px;
    min-height: calc(100vh - 180px);
}

.legal-container {
    max-width: 760px;
}

.legal-header {
    margin-bottom: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-meta {
    color: var(--grey);
    font-size: 0.85rem;
    line-height: 1.7;
}

.legal-meta a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.18s;
}

.legal-meta a:hover {
    color: var(--yellow);
}

.legal-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.1px;
    color: var(--yellow);
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.legal-section p {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 22px;
    margin-bottom: 12px;
    margin-top: 6px;
}

.legal-section ul li {
    margin-bottom: 6px;
}

.legal-section ul li:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--white);
    font-weight: 700;
}

.legal-section a {
    color: var(--yellow);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-contact-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
    margin-top: 8px;
}

.legal-contact-box p {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

.legal-contact-box a {
    color: var(--yellow);
    text-decoration: none;
}

.legal-contact-box a:hover {
    text-decoration: underline;
}

/* Footer legal link row */
.footer-legal-nav {
    gap: 24px;
    margin-top: -8px;
    opacity: 0.75;
}

.footer-legal-nav a {
    font-size: 0.78rem !important;
}

/* ══════════════════════════════════════════════════════
   SIGNUP / PAYMENT PAGE
══════════════════════════════════════════════════════ */

.signup-page {
    padding: 64px 0 96px;
    min-height: calc(100vh - 80px);
}

.signup-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 48px 44px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.signup-card h1 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.signup-card > p {
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.signup-price-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 243, 81, 0.06);
    border: 1px solid rgba(255, 243, 81, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.signup-price-amount {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--yellow);
    line-height: 1;
    flex-shrink: 0;
}

.signup-price-label {
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.5;
}

.signup-price-label strong {
    display: block;
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
}

.signup-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
}

.signup-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.stripe-placeholder {
    background: var(--black);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    color: #555;
    font-size: 0.88rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stripe-lock {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.terms-check-wrap {
    background: var(--black);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 28px;
    margin-bottom: 24px;
    transition: border-color 0.2s;
}

.terms-check-wrap.is-checked {
    border-color: var(--yellow);
}

.terms-check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.65;
}

.terms-check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--yellow);
    cursor: pointer;
    margin-top: 2px;
}

.terms-check-label a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}

.terms-check-label a:hover {
    text-decoration: underline;
}

.terms-check-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 8px;
    display: none;
}

.terms-check-error.visible {
    display: block;
}

.btn-signup {
    width: 100%;
    display: block;
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s, opacity 0.18s, transform 0.18s, box-shadow 0.18s;
    text-align: center;
}

.btn-signup:not(:disabled):hover {
    background: #ffe000;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 243, 81, 0.2);
}

.btn-signup:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.signup-disclaimer {
    margin-top: 20px;
    font-size: 0.77rem;
    color: var(--grey);
    text-align: center;
    line-height: 1.65;
}

.stripe-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.76rem;
    color: #555;
}

@media (max-width: 560px) {
    .signup-card {
        padding: 32px 22px;
        border-radius: 16px;
    }

    .signup-card h1 {
        font-size: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════
   SUPPLIER ATTRIBUTE BADGES
══════════════════════════════════════════════════════ */

.badge-uk-warehouse {
    font-size: 0.72rem;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.25);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.badge-dropshipping {
    font-size: 0.72rem;
    font-weight: 700;
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.25);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.badge-samples {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.22);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.listing-accuracy-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: #666;
    font-style: italic;
    line-height: 1.5;
}

/* ── Filter toggle buttons (independent on/off, used on search page) ── */
.filter-toggle {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--grey);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1.4;
}

.filter-toggle:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.filter-toggle.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

/* ── Header nav text links (Guide, Blog) ── */
.nav-link {
    color: #FFF351;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.18s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .nav-link.hide-mobile {
        display: none;
    }
}

/* ── Nav auth state ── */
.nav-auth {
    display: flex;
    align-items: center;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid #222;
}

.nav-member-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-account-email {
    font-size: 0.875rem;
    font-weight: 600;
    color: #888;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-auth { display: none; }
}


/* ══════════════════════════════════════════════════════
   SOURCING GUIDE PAGE
══════════════════════════════════════════════════════ */

.guide-banner {
    background: var(--yellow);
    color: var(--black);
    text-align: center;
    padding: 14px 24px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.guide-page {
    padding: 56px 0 96px;
}

.guide-container {
    max-width: 760px;
}

.guide-page-header {
    margin-bottom: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.guide-page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    margin-top: 20px;
    line-height: 1.1;
}

.guide-subtitle {
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.75;
    font-style: italic;
}

/* Table of contents */
.guide-toc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 44px 0 0;
}

.guide-toc-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.guide-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.guide-toc li {
    counter-increment: toc;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.guide-toc li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-toc li::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--yellow);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.guide-toc a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.18s;
    line-height: 1.4;
}

.guide-toc a:hover {
    color: var(--yellow);
}

/* Guide sections */
.guide-section {
    padding: 52px 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 90px;
}

.guide-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.guide-section-num {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.guide-section > h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 22px;
    line-height: 1.15;
}

.guide-section h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 28px;
    margin-bottom: 12px;
    letter-spacing: -0.1px;
    color: var(--white);
}

.guide-section p {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.guide-section p:last-child {
    margin-bottom: 0;
}

.guide-section a { color: var(--yellow); text-decoration: none; }
.guide-section a:hover { text-decoration: underline; }

.guide-section ul,
.guide-section ol {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.85;
    padding-left: 22px;
    margin-bottom: 14px;
    margin-top: 6px;
}

.guide-section li {
    margin-bottom: 7px;
}

.guide-section li:last-child {
    margin-bottom: 0;
}

.guide-section strong {
    color: var(--white);
    font-weight: 700;
}

/* Payment callout boxes */
.guide-callout {
    border-radius: 12px;
    padding: 22px 26px;
    margin: 24px 0;
}

.guide-callout h3 {
    margin-top: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.guide-callout ul {
    margin-bottom: 0;
}

.guide-callout--safe {
    background: rgba(0, 200, 150, 0.05);
    border: 1px solid rgba(0, 200, 150, 0.2);
}
.guide-callout--safe h3 { color: var(--teal); }

.guide-callout--warn {
    background: rgba(249, 168, 37, 0.05);
    border: 1px solid rgba(249, 168, 37, 0.2);
}
.guide-callout--warn h3 { color: #F9A825; }

.guide-callout--danger {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.guide-callout--danger h3 { color: #EF4444; }

.guide-formula {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--yellow);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.8;
}

.guide-formula strong {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
    box-shadow: 0 4px 24px rgba(255, 243, 81, 0.3);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s, transform 0.25s, background 0.18s;
    pointer-events: none;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #ffe000;
}

@media (max-width: 640px) {
    .guide-toc {
        padding: 22px 20px;
    }

    .guide-section {
        padding: 40px 0;
    }

    .guide-callout {
        padding: 18px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ══════════════════════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════════════════════ */

/* ── Blog hero ── */
.blog-hero-new {
    padding: 72px 0 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.blog-hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 14px;
}

.blog-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 12px;
}

.blog-hero-sub {
    font-size: 1rem;
    color: var(--grey);
    margin-bottom: 36px;
}

/* ── Filter pills ── */
.blog-filter-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.blog-pill {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: inherit;
}

.blog-pill:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.blog-pill.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #000;
}

/* ── Blog page layout ── */
.blog-page-new {
    padding: 20px 0 96px;
    min-height: calc(100vh - 180px);
}

/* ── Featured card ── */
.blog-card-new--featured {
    background: var(--card);
    border: 1px solid var(--yellow);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    grid-column: 1 / -1;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-card-new--featured:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}

.blog-card-new--featured .blog-title-new {
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.5px;
}

.blog-card-new--featured .blog-excerpt-new {
    font-size: 0.95rem;
}

/* ── Regular cards grid ── */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-card-new {
    background: var(--card);
    border: 1px solid var(--yellow);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.blog-card-new:hover {
    border-color: var(--yellow);
    transform: translateY(-3px);
}

/* ── Card internals ── */
.blog-card-meta-new {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tag-new {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--yellow);
    color: #000;
}

/* Category colour overrides — subtle tinted backgrounds */
.blog-tag-new.cat-scam-protection  { background: rgba(255,80,80,0.12);   color: #ff6b6b; }
.blog-tag-new.cat-sourcing         { background: rgba(0,180,255,0.12);   color: #00b4ff; }
.blog-tag-new.cat-getting-started  { background: rgba(0,255,150,0.12);   color: #00e896; }
.blog-tag-new.cat-selling-tips     { background: rgba(180,100,255,0.12); color: #b464ff; }
.blog-tag-new.cat-whatnot          { background: rgba(255,243,81,0.12);  color: #FFF351; }
.blog-tag-new.cat-reselling-tips   { background: rgba(255,140,0,0.12);   color: #ff8c00; }

.blog-read-time-new {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.blog-title-new {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.35;
    color: var(--white);
}

.blog-excerpt-new {
    color: var(--grey);
    font-size: 0.875rem;
    line-height: 1.75;
    flex: 1;
}

.blog-card-footer-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.blog-date-new {
    font-size: 0.78rem;
    color: #555;
}

.blog-read-more-new {
    color: var(--yellow);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.blog-read-more-new:hover { color: #ffe000; }

/* ── Card thumbnail (regular cards with image) ── */
.blog-card-img {
    width: calc(100% + 56px);
    margin: -28px -28px 16px -28px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    display: block;
    flex-shrink: 0;
}

/* ── Featured card image (column: full-width image at top, text below) ── */
.blog-card-new--has-img {
    padding: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 0;
}

.blog-card-featured-img {
    width: 100%;
    height: 260px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.blog-card-featured-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 36px 36px 36px;
    min-width: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .blog-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .blog-cards-grid { grid-template-columns: 1fr; }
    .blog-card-new--featured { padding: 28px 24px; }
    .blog-card-new--has-img { padding: 0; }
    .blog-card-featured-img { height: 200px; }
    .blog-card-featured-body { padding: 24px; }
    .blog-filter-pills { gap: 6px; }
    .blog-hero-new { padding: 48px 0 0; }
    .blog-card-img {
        width: calc(100% + 48px);
        margin: -28px -24px 16px -24px;
    }
}

/* ── Blog hero & filter pills ── */
.blog-hero { padding: 48px 0 12px; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 10px; }
.blog-hero-sub { font-size: 1rem; color: var(--grey); margin-bottom: 24px; }
.blog-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.blog-filter-pill { background: #111; border: 1px solid #222; color: #666; font-size: 0.78rem; font-weight: 700; padding: 7px 16px; border-radius: 20px; cursor: pointer; transition: all 0.15s; letter-spacing: 0.3px; font-family: inherit; }
.blog-filter-pill:hover { color: #fff; border-color: #444; }
.blog-filter-pill.active { background: #FFF351; color: #000; border-color: #FFF351; }

/* ── Legacy blog styles (kept for blog-post.html compatibility) ── */
.blog-page { padding: 56px 0 96px; min-height: calc(100vh - 180px); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.2s, transform 0.2s; }
.blog-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.blog-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--yellow); background: rgba(255,243,81,0.08); border: 1px solid rgba(255,243,81,0.2); padding: 4px 10px; border-radius: 100px; align-self: flex-start; }
.blog-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.2px; line-height: 1.35; color: var(--white); }
.blog-excerpt { color: var(--grey); font-size: 0.875rem; line-height: 1.75; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.blog-date { font-size: 0.78rem; color: var(--grey); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Newsletter section ── */
.newsletter-section { border-top: 1px solid #1a1a1a; }

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.newsletter-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFF351;
    margin-bottom: 14px;
}

.newsletter-heading {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 12px;
}

.newsletter-sub {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.15s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-input::placeholder { color: #555; }
.newsletter-input:focus { border-color: #FFF351; }

.newsletter-btn {
    background: #FFF351;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    text-align: center;
}

.newsletter-btn:hover { background: #ffe000; }
.newsletter-btn:disabled { opacity: 0.6; cursor: default; }

.newsletter-message {
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
}

/* ── Footer newsletter strip ── */
.footer-newsletter-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 20px;
}

.footer-nl-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
}

.footer-nl-form {
    display: flex;
    gap: 8px;
}

.footer-nl-input {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.85rem;
    color: #fff;
    font-family: inherit;
    outline: none;
    width: 220px;
    transition: border-color 0.15s;
}

.footer-nl-input::placeholder { color: #555; }
.footer-nl-input:focus { border-color: #FFF351; }

.footer-nl-btn {
    background: #FFF351;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.footer-nl-btn:hover { background: #ffe000; }

@media (max-width: 768px) {
    .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-newsletter-strip { flex-direction: column; gap: 10px; text-align: center; }
    .footer-nl-input { width: 200px; }
}

/* ── Blog post share bar ── */
.blog-post-share { margin-top: 48px; padding: 28px; background: #111; border: 1px solid #1a1a1a; border-radius: 12px; }
.blog-post-share-label { font-size: 0.88rem; color: var(--grey); margin-bottom: 16px; font-weight: 600; }
.blog-post-share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { padding: 11px 22px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; text-decoration: none; transition: opacity 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.share-btn:hover { opacity: 0.85; }
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }

/* ══════════════════════════════════════════════════════
   ACCOUNT PAGE
══════════════════════════════════════════════════════ */

.account-page {
    padding: 64px 0 96px;
    min-height: 60vh;
}

/* Gate — shown when not logged in */
.account-gate {
    max-width: 440px;
    margin: 0 auto;
}

.account-gate h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.account-gate > p {
    color: var(--grey);
    margin-bottom: 28px;
    line-height: 1.6;
}

.account-gate-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.15s;
}

.account-input:focus {
    border-color: var(--yellow);
}

.account-error {
    color: #FF5A5A;
    font-size: 0.84rem;
    min-height: 1.2em;
}

/* Details card — shown when logged in */
.account-card {
    max-width: 520px;
    margin: 0 auto;
}

.account-card-header {
    margin-bottom: 28px;
}

.account-card-header h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.account-card-header p {
    color: var(--grey);
}

.account-details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 24px;
    margin-bottom: 20px;
}

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}

.account-row:last-child {
    border-bottom: none;
}

.account-label {
    font-size: 0.78rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    flex-shrink: 0;
}

.account-value {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

.status-badge--active {
    background: rgba(0, 200, 150, 0.12);
    color: var(--teal);
    border: 1px solid rgba(0, 200, 150, 0.2);
}

.status-badge--cancels {
    background: rgba(255, 180, 0, 0.1);
    color: #FFB400;
    border: 1px solid rgba(255, 180, 0, 0.2);
}

.status-badge--inactive {
    background: rgba(153, 153, 153, 0.1);
    color: var(--grey);
    border: 1px solid rgba(153, 153, 153, 0.2);
}

.status-badge--failed {
    background: rgba(255, 90, 90, 0.1);
    color: #FF5A5A;
    border: 1px solid rgba(255, 90, 90, 0.2);
}

/* Notice box */
.account-notice {
    background: rgba(255, 243, 81, 0.05);
    border: 1px solid rgba(255, 243, 81, 0.18);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.87rem;
    color: var(--grey);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Cancel button */
.btn-danger {
    display: block;
    width: 100%;
    background: transparent;
    color: #FF5A5A;
    border: 1px solid rgba(255, 90, 90, 0.3);
    border-radius: 8px;
    padding: 13px 24px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-align: center;
    margin-bottom: 10px;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(255, 90, 90, 0.07);
    border-color: rgba(255, 90, 90, 0.55);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sign-out link row */
.account-signout {
    margin-top: 8px;
    text-align: center;
}

.account-signout button {
    background: none;
    border: none;
    color: var(--grey);
    font-family: inherit;
    font-size: 0.84rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
}

.account-signout button:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════════════
   BLOG POST PAGE
══════════════════════════════════════════════════════ */

.blog-post-page {
    padding: 56px 0 96px;
}

.blog-post-container-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--grey);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.15s;
}

.back-link:hover {
    color: var(--yellow);
}

.blog-post-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 32px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.blog-post-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 36px;
}

.blog-post-body {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
}

.blog-post-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 40px 0 12px;
}

.blog-post-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 28px 0 10px;
}

.blog-post-body p {
    margin-bottom: 18px;
}

.blog-post-body strong {
    font-weight: 700;
}

.blog-post-body em {
    font-style: italic;
}

/* ══════════════════════════════════════════════════════
   VETTING PAGE
══════════════════════════════════════════════════════ */

.vetting-page {
    padding: 48px 0 96px;
    min-height: calc(100vh - 180px);
}

.vetting-content {
    max-width: 700px;
}

.vetting-hero-block {
    padding: 32px 0 52px;
    border-bottom: 1px solid var(--border);
}

.vetting-headline {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.vetting-sub {
    font-size: 1.05rem;
    color: var(--grey);
    line-height: 1.8;
}

/* ── Sections ── */
.vetting-section {
    padding: 52px 0;
    border-bottom: 1px solid var(--border);
}

.vetting-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vetting-section-heading {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 900;
    letter-spacing: -0.3px;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.2;
}

.vetting-intro {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.vetting-body {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.85;
}

.vetting-body strong {
    color: var(--white);
    font-weight: 700;
}

/* ── Teal check list ── */
.vet-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.vet-checklist li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.5;
}

.vet-checklist li::before {
    content: '✓';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(0, 200, 150, 0.1);
    border: 1px solid rgba(0, 200, 150, 0.28);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
}

/* ── Red cross list ── */
.vet-crosslist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.vet-crosslist li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--grey);
    line-height: 1.5;
}

.vet-crosslist li::before {
    content: '✕';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(153, 153, 153, 0.07);
    border: 1px solid rgba(153, 153, 153, 0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 900;
    color: #666;
    line-height: 1;
}

/* ── Vetting check cards ── */
.vet-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vet-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s;
}

.vet-card:hover {
    border-color: rgba(255, 243, 81, 0.22);
    transform: translateY(-2px);
}

.vet-card-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.vet-card-label {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 7px;
    letter-spacing: -0.1px;
}

.vet-card-desc {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.65;
    margin: 0;
}

/* ── Promise section highlight ── */
.vetting-section--promise {
    background: rgba(255, 243, 81, 0.03);
    border: 1px solid rgba(255, 243, 81, 0.12) !important;
    border-radius: 16px;
    padding: 36px 40px !important;
    margin-top: 4px;
}

.vetting-section--promise .vetting-section-heading {
    color: var(--yellow);
}

/* ── Joblot notice callout ── */
.vet-notice {
    margin-top: 28px;
    background: rgba(255, 243, 81, 0.04);
    border: 1px solid rgba(255, 243, 81, 0.15);
    border-radius: 12px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vet-notice-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.vet-notice-body {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.8;
}

.vet-notice-body strong {
    color: var(--yellow);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 640px) {
    .vetting-page {
        padding: 36px 0 72px;
    }

    .vetting-hero-block {
        padding: 24px 0 40px;
    }

    .vetting-section {
        padding: 40px 0;
    }

    .vet-cards {
        grid-template-columns: 1fr;
    }

    .vetting-section--promise {
        padding: 28px 24px !important;
    }
}

/* ══════════════════════════════════════════════════════
   BROWSE BY CATEGORY SECTION
══════════════════════════════════════════════════════ */

.categories-section {
    padding: 80px 0 96px;
    background: var(--black);
}

.cat-group {
    margin-bottom: 48px;
}

.cat-group:last-child {
    margin-bottom: 0;
}

.cat-group-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.cat-section-badge,
.cat-section-divider {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--yellow);
    display: block;
    margin-bottom: 32px;
}

.cat-section-divider {
    margin-top: 8px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.cat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
    text-align: center;
}

.cat-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
    background: rgba(255, 243, 81, 0.04);
}

.cat-icon {
    font-size: 1.75rem;
    line-height: 1;
    display: block;
}

.cat-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    transition: color 0.2s;
}

.cat-card:hover .cat-label {
    color: var(--yellow);
}

@media (max-width: 640px) {
    .categories-section {
        padding: 56px 0 72px;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .cat-card {
        padding: 16px 12px;
    }
}

/* ══════════════════════════════════════════════════════
   MEMBER BAR (search page — shown when authenticated)
══════════════════════════════════════════════════════ */

.member-bar {
    background: rgba(0, 200, 150, 0.06);
    border-bottom: 1px solid rgba(0, 200, 150, 0.18);
    padding: 10px 0;
}

.member-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.member-bar-text {
    font-size: 0.82rem;
    color: var(--teal);
    font-weight: 600;
}

.member-bar-email {
    color: var(--white);
    font-weight: 700;
}

.member-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-bar-account {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 100px;
    transition: color 0.18s;
    white-space: nowrap;
}

.member-bar-account:hover {
    color: var(--white);
}

.member-bar-logout {
    background: none;
    border: 1px solid rgba(0, 200, 150, 0.3);
    color: var(--teal);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
    white-space: nowrap;
}

.member-bar-logout:hover {
    background: rgba(0, 200, 150, 0.1);
    border-color: rgba(0, 200, 150, 0.5);
}

/* ══════════════════════════════════════════════════════
   PAYWALL (search page — shown when not authenticated)
══════════════════════════════════════════════════════ */

.paywall-wrapper {
    position: relative;
    overflow: visible;
}

#supplier-grid.paywall-blurred {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    max-height: 560px;
    overflow: hidden;
}

.paywall-gate {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.88) 38%, rgba(0,0,0,1) 58%);
    z-index: 10;
    padding: 20px;
}

.paywall-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 11;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

.paywall-lock {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1;
}

.paywall-card h2 {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.paywall-card > p {
    color: var(--grey);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.paywall-cancel-note {
    font-size: 0.78rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.paywall-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: #555;
    font-size: 0.78rem;
}

.paywall-divider::before,
.paywall-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--border);
}

.paywall-login-row {
    display: flex;
    gap: 8px;
}

.paywall-email-input {
    flex: 1;
    background: var(--black);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 10px 14px;
    color: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.paywall-email-input:focus {
    border-color: var(--yellow);
}

.paywall-email-input::placeholder {
    color: #555;
}

.paywall-login-btn {
    background: var(--card);
    border: 1.5px solid var(--border);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.18s;
}

.paywall-login-btn:hover:not(:disabled) {
    border-color: var(--yellow);
    color: var(--yellow);
}

.paywall-login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.paywall-login-error {
    font-size: 0.8rem;
    color: #ff6b6b;
    margin-top: 10px;
    line-height: 1.55;
    text-align: left;
}

/* Google Sign-In button wrapper */
.google-signin-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 44px;      /* reserve space while GSI renders */
    overflow: hidden;      /* prevent iframe overflow on small screens */
    border-radius: 8px;
}

/* Smaller "or" divider between Google and email options */
.paywall-divider--or {
    margin: 16px 0;
    font-size: 0.72rem;
    color: #444;
}

@media (max-width: 540px) {
    .paywall-card {
        padding: 32px 22px;
        border-radius: 16px;
    }

    .paywall-login-row {
        flex-direction: column;
    }
}

/* ══════════════════════════════════════════════════════
   SUCCESS PAGE (post-payment confirmation)
══════════════════════════════════════════════════════ */

.success-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.success-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 48px;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.success-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--grey);
    font-size: 0.92rem;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-tick {
    width: 72px;
    height: 72px;
    background: rgba(0, 200, 150, 0.1);
    border: 2px solid rgba(0, 200, 150, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--teal);
    margin: 0 auto 24px;
    font-weight: 900;
}

.success-tick--error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

#success-confirmed h1,
#success-error h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

#success-confirmed p,
#success-error p {
    color: var(--grey);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 6px;
}

.success-redirect {
    color: #555 !important;
    font-size: 0.8rem !important;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════
   FAVOURITE (HEART) BUTTON ON SUPPLIER CARDS
══════════════════════════════════════════════════════ */

.fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #777;
    padding: 0;
    transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.15s;
    z-index: 2;
    flex-shrink: 0;
}

.fav-btn:hover {
    color: var(--yellow);
    border-color: rgba(255, 243, 81, 0.35);
    background: rgba(255, 243, 81, 0.08);
    transform: scale(1.12);
}

.fav-btn--active {
    color: var(--yellow);
    border-color: rgba(255, 243, 81, 0.4);
    background: rgba(255, 243, 81, 0.08);
}

.fav-btn--active:hover {
    background: rgba(255, 243, 81, 0.15);
}

.fav-icon {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.fav-btn--active .fav-icon {
    fill: var(--yellow);
    stroke: var(--yellow);
}

/* ══════════════════════════════════════════════════════
   ADMIN — AUTH LOADING STATE & LOGOUT BUTTON
══════════════════════════════════════════════════════ */

/* Full-screen loading spinner shown while verifying admin token */
.admin-auth-loading {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    z-index: 200;
    color: #555;
    font-size: 0.88rem;
}

/* "Log out of Admin" button inside the admin panel heading */
.btn-admin-logout {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--grey);
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.18s;
    flex-shrink: 0;
}

.btn-admin-logout:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

@media (max-width: 560px) {
    .login-card {
        padding: 36px 24px;
    }
}

/* Reuse stripe-info-note on signup.html */
.stripe-info-note {
    background: var(--black);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    color: #666;
    font-size: 0.83rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   REPORT THIS SUPPLIER
══════════════════════════════════════════════════════ */

/* ── Sidebar trigger button ── */
.btn-report-supplier {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(200, 50, 50, 0.28);
    color: #b84040;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    margin-top: 14px;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.btn-report-supplier:hover {
    background: rgba(200, 50, 50, 0.07);
    border-color: rgba(200, 50, 50, 0.5);
    color: #e05050;
}

/* ── Modal overlay ── */
.report-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.report-modal-overlay.hidden {
    display: none;
}

/* ── Modal card ── */
.report-modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
}

.report-modal h2 {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.report-modal-notice {
    font-size: 0.8rem;
    color: var(--grey);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* ── Radio group ── */
.report-radio-group {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.report-radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
}

.report-radio-label input[type="radio"] {
    accent-color: #e05050;
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── File hint ── */
.report-file-hint {
    font-size: 0.75rem;
    color: var(--grey);
    margin-top: 6px;
    line-height: 1.5;
}

/* ── Error message ── */
.report-error-msg {
    color: #ff6b6b;
    font-size: 0.82rem;
    min-height: 0;
    margin-bottom: 12px;
    display: none;
    line-height: 1.5;
}

.report-error-msg.visible {
    display: block;
}

/* ── Submit button ── */
.btn-report-submit {
    flex: 1;
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
}

.btn-report-submit:hover:not(:disabled) {
    background: #e74c3c;
}

.btn-report-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 560px) {
    .report-modal {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .report-radio-group {
        gap: 14px;
    }
}

/* ── Profile — stats bar ── */
.profile-stats-bar {
    display: flex;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 0;
}

.profile-stat {
    flex: 1 1 120px;
    text-align: center;
    padding: 4px 12px;
}

.profile-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--yellow);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.profile-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--grey);
    margin-top: 3px;
}

.profile-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Profile — ratings row ── */
.profile-ratings-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.profile-rating-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.15s;
}

.profile-rating-item:hover { border-color: var(--yellow); }

.rating-platform {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
}

.rating-stars { font-size: 1rem; color: var(--yellow); letter-spacing: 1px; }
.star--half   { font-size: 0.9rem; opacity: 0.8; }
.star--empty  { color: #444; }

.rating-score {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--yellow);
}

/* ── Profile — hero meta items ── */
.profile-ch-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px 10px;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}
.profile-ch-link:hover { color: var(--yellow); border-color: var(--yellow); }

.profile-reviewed-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--teal);
    border: 1px solid rgba(0, 200, 150, 0.3);
    border-radius: 100px;
    padding: 3px 10px;
}

/* ── Profile — 2×2 gallery grid ── */
.profile-gallery--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 500px) {
    .profile-gallery--grid { grid-template-columns: 1fr; }
}

/* ── Profile — social section ── */
.profile-section--social { border-top: 1px solid var(--border); padding-top: 28px; }

/* ── Profile — sidebar actions (save + share) ── */
.profile-side-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.btn-profile-save,
.btn-profile-share {
    flex: 1;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    text-align: center;
}

.btn-profile-save:hover  { border-color: #e75480; color: #e75480; }
.btn-profile-save--saved { color: #e75480; border-color: #e75480; }
.btn-profile-share:hover { border-color: var(--yellow); color: var(--yellow); }

/* ── Similar suppliers section ── */
.similar-suppliers-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

/* ── Profile — in-person badge ── */
.badge-in-person {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 243, 81, 0.08);
    border: 1px solid rgba(255, 243, 81, 0.25);
    color: var(--yellow);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 100px;
}

/* ── Stats bar mobile ── */
@media (max-width: 640px) {
    .profile-stats-bar {
        padding: 16px 20px;
        gap: 0;
    }
    .profile-stat { flex: 1 1 80px; padding: 4px 8px; }
    .profile-stat-value { font-size: 1rem; }
    .profile-stat-divider { height: 28px; }
    .profile-ratings-row { flex-direction: column; }
}

/* ── Admin — pending applications section ── */
.pending-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.pending-header h2 { font-size: 1.1rem; font-weight: 800; }
.pending-count-badge {
    background: var(--yellow);
    color: var(--black);
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 100px;
    padding: 2px 9px;
}
.pending-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 243, 81, 0.04);
    border: 1px solid rgba(255, 243, 81, 0.18);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.pending-row-name { font-weight: 700; font-size: 0.95rem; }
.pending-row-meta { font-size: 0.78rem; color: var(--grey); margin-top: 2px; }
.pending-row-actions { display: flex; gap: 8px; flex-shrink: 0; }
.action-approve {
    background: rgba(0, 200, 150, 0.12);
    color: var(--teal);
    border: 1px solid rgba(0, 200, 150, 0.3);
}
.action-approve:hover { background: rgba(0, 200, 150, 0.22); }
.action-reject {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.25);
}
.action-reject:hover { background: rgba(220, 53, 69, 0.18); }
.pending-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0 32px;
}

/* ── Admin — status badge ── */
.status-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 100px;
    vertical-align: middle;
    margin-left: 4px;
}
.status-badge--rejected {
    background: rgba(220, 53, 69, 0.12);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* ── Admin — WhatsApp social icon ── */
.social-form-icon--whatsapp {
    background: #25d366;
    color: #fff;
}

/* ── Apply page ── */
.apply-page { padding: 48px 0 96px; }

.apply-container { max-width: 700px; }

.apply-hero { margin-bottom: 40px; }

.apply-heading {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.apply-subheading {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
}

.apply-vet-link { color: var(--yellow); text-decoration: none; font-weight: 600; }
.apply-vet-link:hover { text-decoration: underline; }

/* ── Apply why cards ── */
.apply-why { margin-bottom: 48px; }

.apply-why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.apply-why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
}

.apply-why-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1;
}

.apply-why-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.apply-why-body {
    font-size: 0.88rem;
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

.apply-why-note {
    font-size: 0.78rem;
    color: var(--grey);
    text-align: center;
    margin: 0;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .apply-why-cards { grid-template-columns: 1fr; }
}

/* ── Apply form layout ── */
.apply-form { display: flex; flex-direction: column; gap: 0; }

.apply-section-header {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--yellow);
    margin: 32px 0 16px;
}

.apply-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .apply-form-row-2 { grid-template-columns: 1fr; }
}

.apply-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 16px;
    margin-bottom: 8px;
}

.apply-radio-group {
    display: flex;
    gap: 24px;
    padding: 10px 0;
}

.apply-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.apply-char-count {
    font-size: 0.75rem;
    color: var(--grey);
    text-align: right;
    margin-top: 4px;
}

.apply-file-input { cursor: pointer; }
.apply-file-hint {
    font-size: 0.78rem;
    color: var(--grey);
    margin-top: 6px;
}

.apply-error-msg {
    color: #ff6b7a;
    font-size: 0.85rem;
    min-height: 1.2em;
    margin: 12px 0 0;
}

.apply-actions { margin-top: 28px; }
.apply-submit-btn { width: 100%; justify-content: center; }

.apply-disclaimer {
    font-size: 0.75rem;
    color: #555;
    margin-top: 16px;
    line-height: 1.6;
}
.apply-disclaimer a { color: var(--grey); }
.apply-disclaimer a:hover { color: var(--yellow); }

/* ── Apply success state ── */
.apply-success {
    text-align: center;
    padding: 60px 24px;
    background: var(--card);
    border: 1px solid rgba(0, 200, 150, 0.25);
    border-radius: 20px;
}
.apply-success.hidden { display: none; }
.apply-success-icon {
    width: 60px;
    height: 60px;
    background: var(--teal);
    color: var(--black);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.apply-success h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.apply-success p { color: var(--grey); font-size: 0.95rem; line-height: 1.7; }

/* ── Listing-type selector (apply page) ── */
.listing-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.listing-type-card {
    border: 1px solid #FFF351;
    border-radius: 14px;
    padding: 28px 24px;
    cursor: pointer;
    text-align: center;
    background: var(--card);
    transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
    user-select: none;
}

.listing-type-card:hover { border-color: rgba(255, 243, 81, 0.5); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.listing-type-card.selected {
    border-color: #FFF351;
    background: rgba(255, 243, 81, 0.04);
}

.listing-type-card-icon { font-size: 2rem; margin-bottom: 10px; }

.listing-type-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--light);
}

.listing-type-card-desc {
    font-size: 0.85rem;
    color: var(--grey);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 540px) {
    .listing-type-selector { grid-template-columns: 1fr; }
}

/* ── Listing-type badges on supplier cards ── */
.listing-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 9px;
    border-radius: 100px;
    white-space: nowrap;
    color: #fff;
    display: inline-block;
}

.listing-badge--business {
    background: transparent;
    color: var(--yellow);
    border: 1px solid rgba(255,243,81,0.3);
}
.listing-badge--reseller { background: #7B2FBE; }

/* ── Reseller-specific admin fields ── */
#reseller-fields .form-section-header { margin-top: 4px; }

/* ─────────────────────────────────────────────────────────────────────────────
   Supplier Login page
───────────────────────────────────────────────────────────────────────────── */
.sl-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.sl-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 52px 44px;
    width: 100%;
    max-width: 440px;
    text-align: center;
}

.sl-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    line-height: 1;
}

.sl-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.sl-subtitle {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 28px;
}

.sl-card .form-field { text-align: left; margin-bottom: 0; }

.sl-submit-btn {
    width: 100%;
    margin-top: 16px;
    background: var(--yellow);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    padding: 14px;
    cursor: pointer;
    transition: opacity 0.15s;
    letter-spacing: -0.2px;
}
.sl-submit-btn:hover    { opacity: 0.88; }
.sl-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.sl-error {
    color: #f87171;
    font-size: 0.82rem;
    min-height: 20px;
    margin-top: 8px;
    text-align: left;
}

.sl-footer-note {
    font-size: 0.82rem;
    color: var(--grey);
    margin-top: 20px;
}

.sl-link {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
}
.sl-link:hover { text-decoration: underline; }

.sl-back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--yellow);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.sl-back-link:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────────────
   Supplier Dashboard page
───────────────────────────────────────────────────────────────────────────── */
.sd-page {
    min-height: calc(100vh - 70px);
    padding: 52px 20px 80px;
}

.sd-container {
    max-width: 720px;
    margin: 0 auto;
}

.sd-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--grey);
    font-size: 0.95rem;
}

.sd-header {
    margin-bottom: 32px;
}

.sd-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.sd-subtitle {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.6;
}

.sd-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}

.sd-notice {
    font-size: 0.82rem;
    color: var(--grey);
    background: rgba(255, 243, 81, 0.05);
    border: 1px solid rgba(255, 243, 81, 0.12);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.sd-section-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--yellow);
    margin: 28px 0 14px;
}

.sd-section-label:first-of-type { margin-top: 0; }

.sd-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sd-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.sd-checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sd-submit-btn {
    width: 100%;
    margin-top: 28px;
    background: var(--yellow);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    padding: 14px;
    cursor: pointer;
    transition: opacity 0.15s;
    letter-spacing: -0.2px;
}
.sd-submit-btn:hover    { opacity: 0.88; }
.sd-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.sd-error {
    color: #f87171;
    font-size: 0.82rem;
    min-height: 20px;
    margin-top: 10px;
    text-align: center;
}

.sd-success-msg {
    text-align: center;
    background: rgba(0, 200, 150, 0.08);
    border: 1px solid rgba(0, 200, 150, 0.25);
    border-radius: 12px;
    padding: 36px 24px;
    color: var(--white);
    font-weight: 600;
}

@media (max-width: 540px) {
    .sl-card          { padding: 36px 24px; }
    .sd-form-card     { padding: 24px 20px; }
    .sd-two-col       { grid-template-columns: 1fr; }
    .sd-checkbox-group { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Admin — pending changes tab
───────────────────────────────────────────────────────────────────────────── */
.change-fields {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.change-field {
    font-size: 0.82rem;
    line-height: 1.5;
}

.change-key {
    font-weight: 700;
    color: var(--white);
    margin-right: 4px;
}

.change-val {
    color: var(--grey);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Cookie consent banner + modal
───────────────────────────────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #111;
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}

.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--grey);
    line-height: 1.6;
    min-width: 220px;
}

.cookie-link {
    color: var(--yellow);
    text-decoration: none;
}
.cookie-link:hover { text-decoration: underline; }

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 9px 18px;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.85; }

.cookie-btn-accept {
    background: var(--yellow);
    color: #000;
}

.cookie-btn-manage {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--grey);
}
.cookie-btn-manage:hover { border-color: #555; color: var(--white); }

/* Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    padding: 20px;
    backdrop-filter: blur(4px);
}

.cookie-modal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    width: 100%;
    max-width: 460px;
}

.cookie-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.cookie-pref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.cookie-pref-row:last-of-type { border-bottom: none; }

.cookie-pref-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.cookie-pref-desc {
    font-size: 0.78rem;
    color: var(--grey);
    line-height: 1.5;
}

.cookie-toggle-on {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    white-space: nowrap;
}

/* Toggle switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-slider {
    position: absolute;
    inset: 0;
    background: #333;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-switch-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    bottom: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-switch-slider { background: var(--yellow); }
.cookie-switch input:checked + .cookie-switch-slider::before { transform: translateX(18px); }

.cookie-modal-actions {
    margin-top: 24px;
}
.cookie-modal-actions .cookie-btn { width: 100%; text-align: center; padding: 12px; font-size: 0.9rem; }

@media (max-width: 500px) {
    .cookie-banner-inner  { flex-direction: column; align-items: flex-start; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn           { flex: 1; text-align: center; }
}
