@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --navy: #0a1628;
    --navy2: #0f2040;
    --blue: #1255cc;
    --blue-light: #1e6ef5;
    --blue-pale: #e8f0fe;
    --green: #00c98d;
    --green-dark: #00a874;
    --green-pale: #e6faf4;
    --gold: #f5a623;
    --red: #e84040;
    --purple: #7c3aed;
    --white: #fff;
    --gray: #f0f4fb;
    --gray2: #dde5f4;
    --text: #1a2540;
    --muted: #6b7fa3;
    --border: rgba(18, 85, 204, .13);
    --shadow: 0 4px 24px rgba(10, 22, 40, .09);
    --shadow-lg: 0 16px 48px rgba(10, 22, 40, .16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #f0f4fb;
    color: var(--text);
    overflow-x: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}
/* ── BREADCRUMB ── */
.breadcrumb {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.bc-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    font-size: 12.5px;
    color: var(--muted);
}

.bc-inner a {
    color: var(--blue);
    transition: opacity .15s;
}

.bc-inner a:hover {
    opacity: .7;
}

.bc-sep {
    color: var(--gray2);
}

/* ── HERO COVER ── */
.cover {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    height: 160px;
    position: relative;
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(18, 85, 204, .45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 100%, rgba(0, 201, 141, .12) 0%, transparent 60%);
}

.cover-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ── LAYOUT ── */
.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ── PROFILE CARD ── */
.profile-card {
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
    margin-top: -52px;
    position: relative;
    padding: 24px 28px 20px;
    margin-bottom: 24px;
}

.pc-top {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pc-avatar {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    flex-shrink: 0;
    overflow: hidden;
    background: var(--gray2);
    margin-top: -44px;
    position: relative;
    z-index: 1;
}

.pc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-online {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green);
    border: 3px solid white;
}

.pc-offline {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--muted);
    border: 3px solid white;
}

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

.pc-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}

.pc-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.pc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.pb-dropshipping {
    background: #fff3e0;
    color: #e65100;
}

.pb-internet-store {
    background: var(--blue-pale);
    color: var(--blue);
}

.pb-offline-store {
    background: var(--green-pale);
    color: var(--green-dark);
}

.pb-wholesale-warehouse {
    background: #f3e8ff;
    color: var(--purple);
}

.pc-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--muted);
}

.pc-since {
    font-size: 13px;
    color: var(--muted);
}

.pc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(18, 85, 204, .3);
    transition: transform .15s, box-shadow .15s;
    border: none;
    cursor: pointer;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(18, 85, 204, .4);
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: white;
    color: var(--navy);
    border: 2px solid var(--border);
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: border-color .15s, background .15s;
    cursor: pointer;
}

.btn-save:hover {
    border-color: var(--blue);
    background: var(--blue-pale);
    color: var(--blue);
}

.btn-save.saved {
    border-color: var(--red);
    color: var(--red);
    background: #fee2e2;
}

/* stats strip */
.pc-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    margin: 0 -28px -20px;
    padding: 0 28px;
    flex-wrap: wrap;
}

.pcs {
    flex: 1;
    min-width: 120px;
    padding: 16px 0;
    text-align: center;
    border-right: 1px solid var(--border);
}

.pcs:last-child {
    border-right: none;
}

.pcs-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
}

.pcs-label {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
}

/* ── MAIN GRID ── */
.main-grid {
    display: grid;
    grid-template-columns:1fr 340px;
    gap: 22px;
    align-items: start;
}

@media (max-width: 860px) {
    .main-grid {
        grid-template-columns:1fr;
    }
}

/* ── SECTIONS ── */
.section-card {
    background: white;
    border-radius: 18px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.sc-hdr {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sc-body {
    padding: 18px 22px;
}

/* About */
.about-text {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.78;
}

/* Categories */
.cat-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: border-color .15s, background .15s;
}

.cat-tag:hover {
    border-color: var(--blue);
    background: var(--blue-pale);
    color: var(--blue);
}

.cat-tag.prim {
    background: var(--blue-pale);
    border-color: var(--blue);
    color: var(--blue);
}

/* Purchase requests */
.request-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.req-card {
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    transition: border-color .2s, box-shadow .2s;
}

.req-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.req-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.req-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.req-active {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--green-pale);
    color: var(--green-dark);
    flex-shrink: 0;
}

.req-closed {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--gray2);
    color: var(--muted);
    flex-shrink: 0;
}

.req-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--muted);
}

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

.req-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    color: white;
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
}

.req-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* Similar buyers */
.similar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.similar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color .15s, background .15s;
}

.similar-card:hover {
    border-color: var(--blue);
    background: var(--blue-pale);
}

.sim-av {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    overflow: hidden;
    flex-shrink: 0;
}

.sim-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.sim-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.sim-type {
    font-size: 11px;
    color: var(--muted);
}

.sim-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
}

/* Contact form */
.contact-card {
    background: var(--navy);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 85, 204, .35) 0%, transparent 70%);
}

.cc-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 900;
    color: white;
    line-height: 1.3;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.cc-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cc-form {
    position: relative;
    z-index: 1;
}

.cf-input {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 13.5px;
    outline: none;
    margin-bottom: 10px;
    transition: border-color .2s;
}

.cf-input:focus {
    border-color: rgba(255, 255, 255, .45);
}

.cf-input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.cf-textarea {
    resize: none;
    height: 80px;
}

.cc-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 201, 141, .35);
    transition: opacity .15s, transform .15s;
}

.cc-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

/* Info card sidebar */
.info-card {
    background: white;
    border-radius: 18px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.ic-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.ic-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}

.ic-row:last-child {
    border: none;
}

.ic-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.ic-label {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.ic-val {
    font-weight: 600;
    color: var(--text);
    margin-left: auto;
    text-align: right;
}

/* supplier-only block */
.sup-only {
    background: linear-gradient(135deg, var(--blue-pale), #dce8ff);
    border: 2px solid rgba(18, 85, 204, .2);
    border-radius: 14px;
    padding: 16px;
    font-size: 13px;
    color: var(--blue);
    line-height: 1.65;
    margin-bottom: 20px;
}

.sup-only strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.sup-only a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
}

/* back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    margin-top: 20px;
}

.back-link:hover {
    opacity: .75;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    padding: 48px 40px 28px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    text-align: left;
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap: 24px;
    }
}

.footer-brand svg {
    height: 26px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .35);
    line-height: 1.65;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    padding: 4px 0;
    transition: color .15s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .25);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: var(--green);
}

.left-logo-text-img {
    margin-left: 10px;
}

.footer-logo-img {
    display: inline;
}

.footer-logo-text-img {
    display: inline;
    margin-left: 8px;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.sim-badge.dropshipping {
    background: #fff3e0;
    color: #e65100;
}

.sim-badge.internet-store {
    background: var(--blue-pale);
    color: var(--blue);
}

.sim-badge.offline-store {
    background: var(--green-pale);
    color: var(--green-dark);
}

.sim-badge.wholesale-warehouse {
    background: #f3e8ff;
    color: var(--purple);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

.modal .modal-content {
    position: relative;
    padding: 1em 2em;
    margin: 1em;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: #fafbff;
    outline: none;
    transition: border-color .2s;
    width: 600px;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    overflow: auto;
}

.modal .modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .modal-body {
    display: block;
    width: 100%;
    margin: 10px 0 30px;
}

.modal .modal-body a {
    color: var(--green);
    text-decoration: none;
}
.modal .modal-body a:hover {
    text-decoration: underline;
}

.modal .modal-close {
    font-size: 36px;
    text-decoration: none;
}

.modal .error {
    color: var(--rose);
    text-align: center;
    visibility: hidden;
}