:root {
    --teal: #08b9a8;
    --teal-dark: #007f77;
    --blue: #087fda;
    --ink: #111a2d;
    --muted: #6b7280;
    --line: #e3e8ed;
    --soft: #effbfb;
    --surface: #ffffff;
    --danger: #d9364f;
    --warning: #d97706;
    --success: #087f5b;
    --shadow: 0 16px 45px rgba(26, 54, 78, .11);
    --radius: 24px;
}

/* Marketplace usability and mobile pass */
body { font-weight: 400; line-height: 1.65; }
p, small, .muted { line-height: 1.7; }
h1, h2, h3, h4, strong { font-weight: 600; letter-spacing: -.015em; }
.nav-count { display:inline-grid; min-width:22px; height:22px; margin-left:auto; padding:0 6px; place-items:center; border-radius:999px; background:#ef4444; color:#fff; font-size:.68rem; font-weight:600; }
.notification-list { display:grid; gap:8px; }
.notification-list > a { display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px; border:1px solid var(--line); border-radius:14px; color:inherit; }
.notification-list > a.unread { border-color:#6dd9ce; background:#effcf9; }
.notification-list span { display:grid; gap:3px; }
.notification-list small, .notification-list time { color:var(--muted); font-size:.78rem; }
.dispute-room { margin-top:18px; }
.dispute-context { padding:16px 20px; border-bottom:1px solid var(--line); background:#fff9ed; }
.dispute-context p { margin:5px 0; }
.dispute-close-form { padding:0 20px 18px; text-align:right; }
.delivery-group-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.delivery-copy-source { position:fixed; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media (max-width: 760px) {
    .page-section { padding:26px 0 50px; }
    .dashboard-head, .dashboard-card-head, .section-head { align-items:flex-start; flex-direction:column; gap:12px; }
    .dashboard-head .button, .dashboard-card-head .button { width:100%; }
    .dashboard-sidebar { margin-inline:-2px; padding:10px; }
    .dashboard-nav { display:flex; overflow-x:auto; gap:7px; padding-bottom:4px; scrollbar-width:none; }
    .dashboard-nav a { flex:0 0 auto; min-height:44px; }
    .dashboard-main { min-width:0; }
    .dashboard-card, .card-pad { padding:18px 15px; border-radius:16px; }
    .table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .order-row { grid-template-columns:48px minmax(0,1fr); padding:14px 12px; }
    .order-thumb { width:48px; height:48px; }
    .order-side { grid-column:1 / -1; width:100%; align-items:stretch; }
    .order-side form, .order-side .button { width:100%; }
    .buyer-chat-window, .dispute-room { border-radius:0; margin-inline:-14px; }
    .buyer-chat-head { padding:12px; }
    .buyer-chat-head h1, .buyer-chat-head h2 { font-size:1rem; }
    .buyer-chat-messages { min-height:48vh; max-height:58vh; padding:14px 10px; }
    .buyer-chat-messages > div { max-width:90%; }
    .buyer-chat-compose { grid-template-columns:minmax(0,1fr) 42px; padding:10px; }
    .buyer-chat-compose textarea { grid-column:1 / -1; min-height:72px; }
    .buyer-chat-compose .button, .buyer-chat-compose .buyer-primary-button { min-height:42px; }
    .notification-list > a { grid-template-columns:30px minmax(0,1fr); }
    .notification-list time { grid-column:2; }
    .delivery-group-actions .button { flex:1 1 120px; }
}

/* Final type/mobile normalization (kept last so legacy theme layers cannot override it). */
body { font-weight: 400; line-height: 1.65; }
p, small, td, label, input, select, textarea, button { font-weight: 400; }
h1, h2, h3, h4, strong, .button, .buyer-primary-button, .buyer-outline-button { font-weight: 600; }
@media (max-width: 760px) {
    .dashboard-sidebar { position: static; overflow-x: auto; }
    .dashboard-nav { display: flex; min-width: max-content; }
    .dashboard-nav a { flex: 0 0 auto; }
    .buyer-chat-window, .dispute-room { max-width: 100vw; }
    .buyer-chat-compose { grid-template-columns: minmax(0,1fr) 42px; }
    .buyer-chat-compose textarea { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
    html { font-size:15px; }
    .shell, .narrow-shell { width:min(100% - 20px, 1180px); }
    .form-grid, .form-grid-four, .stats-grid { grid-template-columns:1fr !important; }
    input, select, textarea, button { font-size:16px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #f8fbfc;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.page-section { padding: 62px 0; }
.page-section.compact { padding: 38px 0; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.section-head h1, .section-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.045em; }
.section-head p { margin: 7px 0 0; color: var(--muted); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--teal); }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(218, 226, 232, .9);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(23, 46, 67, .06);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #08d7b6, #087fda);
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(8, 165, 180, .25);
}
.brand-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; }
.brand-name span { color: var(--teal); }
.header-search {
    display: flex;
    align-items: center;
    width: min(390px, 34vw);
    height: 45px;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #f7fafb;
}
.header-search span { color: var(--muted); font-size: 1.4rem; }
.header-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: .94rem; font-weight: 650; }
.desktop-nav > a:hover, .desktop-nav > a.active { color: var(--teal-dark); }
.desktop-marketplace-dropdown { position: relative; }
.desktop-marketplace-trigger {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
}
.desktop-marketplace-trigger:hover,
.desktop-marketplace-trigger.active,
.desktop-marketplace-dropdown.is-open .desktop-marketplace-trigger {
    background: #ecfaf8;
    color: var(--teal-dark);
}
.desktop-marketplace-trigger > span {
    font-size: .78rem;
    transition: transform .18s ease;
}
.desktop-marketplace-dropdown.is-open .desktop-marketplace-trigger > span { transform: rotate(180deg); }
.desktop-marketplace-panel {
    position: fixed;
    z-index: 80;
    top: 76px;
    left: 50%;
    width: min(790px, calc(100vw - 42px));
    max-height: min(570px, calc(100vh - 96px));
    padding: 20px;
    overflow-y: auto;
    border: 1px solid #e3e9eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(28, 61, 72, .16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity .18s ease, transform .18s ease;
}
.desktop-marketplace-dropdown.is-open .desktop-marketplace-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.desktop-marketplace-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
    padding: 1px 3px 16px;
    border-bottom: 1px solid var(--line);
}
.desktop-marketplace-head > div { display: grid; gap: 2px; }
.desktop-marketplace-head strong { color: var(--ink); font-size: .96rem; }
.desktop-marketplace-head small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.desktop-marketplace-head > a { color: var(--teal-dark); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.desktop-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}
.desktop-service-grid a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 9px;
    color: #53606d;
    font-size: .78rem;
    font-weight: 650;
}
.desktop-service-grid a span:last-child { color: #b5bdc3; opacity: 0; transform: translateX(-3px); transition: .15s ease; }
.desktop-service-grid a:hover { background: #edfbf9; color: var(--teal-dark); }
.desktop-service-grid a:hover span:last-child { opacity: 1; transform: translateX(0); }
.account-link { display: inline-flex; align-items: center; gap: 8px; }
.avatar {
    display: inline-grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 50%;
    background: #eaf0f4;
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(29, 45, 66, .13);
}
.mobile-menu-button { display: none; margin-left: auto; padding: 7px; border: 0; background: transparent; }
.mobile-menu-button span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; border-radius: 3px; background: var(--ink); }
.mobile-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    min-height: calc(100vh - 78px);
    padding: 24px;
    background: white;
    border-top: 1px solid var(--line);
    overflow-y: auto;
}
.mobile-menu a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mobile-marketplace-dropdown { border-bottom: 1px solid var(--line); }
.mobile-marketplace-dropdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}
.mobile-marketplace-dropdown summary::-webkit-details-marker { display: none; }
.mobile-marketplace-dropdown summary span:last-child { color: #87919a; font-size: .8rem; transition: transform .18s ease; }
.mobile-marketplace-dropdown[open] summary span:last-child { transform: rotate(180deg); }
.mobile-marketplace-body { padding: 0 0 14px; }
.mobile-marketplace-body .mobile-marketplace-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(120deg, #e9fcf8, #edf8ff);
    color: var(--teal-dark);
    font-size: .78rem;
    font-weight: 800;
}
.mobile-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(46vh, 420px);
    gap: 3px 5px;
    overflow-y: auto;
}
.mobile-service-grid a {
    padding: 8px 9px;
    border: 0;
    border-radius: 8px;
    color: #64707a;
    font-size: .73rem;
    font-weight: 650;
}
.mobile-service-grid a:hover { background: #edf9f7; color: var(--teal-dark); }
.mobile-search { display: flex; gap: 8px; margin-bottom: 15px; }
.mobile-search input { min-width: 0; flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mobile-search button { border: 0; border-radius: 12px; padding: 0 16px; background: var(--teal); color: white; font-weight: 700; }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--teal-dark);
    color: white;
    font-weight: 750;
    box-shadow: 0 9px 20px rgba(3, 127, 119, .16);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 13px 25px rgba(3, 127, 119, .22); }
.button:disabled, .button.disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button-small { min-height: 40px; padding: 8px 17px; border-radius: 11px; }
.button-large { min-height: 56px; padding: 14px 30px; }
.button-gradient { background: linear-gradient(120deg, #05d4ad, #087fda); }
.button-outline { border-color: var(--teal); background: transparent; color: var(--teal-dark); box-shadow: none; }
.button-soft { background: #eaf9f7; color: var(--teal-dark); box-shadow: none; }
.button-danger { background: #fff0f2; color: var(--danger); box-shadow: none; }
.button-dark { background: var(--ink); }
.button-full { width: 100%; }

.flash-stack { position: fixed; z-index: 80; top: 92px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 680px;
    margin: 0 auto 10px;
    padding: 14px 18px;
    border: 1px solid #a7e5da;
    border-radius: 14px;
    background: #edfffb;
    color: var(--success);
    box-shadow: var(--shadow);
    pointer-events: auto;
}
.flash-error { border-color: #ffc9d0; background: #fff4f5; color: var(--danger); }
.flash-info { border-color: #b9dff7; background: #eff8ff; color: #14699c; }
.flash button { border: 0; background: transparent; color: currentColor; font-size: 1.4rem; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 72px;
    background:
        radial-gradient(circle at 86% 20%, rgba(8, 185, 168, .22), transparent 27%),
        radial-gradient(circle at 66% 82%, rgba(8, 127, 218, .16), transparent 30%),
        linear-gradient(135deg, #f0fffc, #e6f8ff 55%, #f8fbfc);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 310px; height: 310px; right: -140px; top: -150px; border: 54px solid rgba(255,255,255,.45); }
.hero::after { width: 160px; height: 160px; left: 49%; bottom: -110px; background: rgba(255,255,255,.5); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.02; letter-spacing: -.065em; }
.hero h1 span { color: transparent; background: linear-gradient(115deg, #00bda1, #087fda); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 620px; margin: 24px 0; color: #465568; font-size: 1.09rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; align-items: center; gap: 15px; margin-top: 28px; }
.avatar-stack { display: flex; }
.avatar-stack span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-left: -8px;
    place-items: center;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    background: var(--ink);
    font-size: .74rem;
    font-weight: 800;
}
.avatar-stack span:first-child { margin-left: 0; background: #ff8c42; }
.avatar-stack span:nth-child(2) { background: #087fda; }
.avatar-stack span:nth-child(3) { background: #7c4dff; }
.avatar-stack span:nth-child(4) { background: var(--teal); }
.trust-row strong { display: block; }
.trust-row small { color: var(--muted); }
.hero-showcase { position: relative; min-height: 470px; }
.showcase-panel {
    position: absolute;
    inset: 20px 0 0 35px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 34px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 30px 80px rgba(18, 79, 105, .18);
    backdrop-filter: blur(18px);
    transform: rotate(2deg);
}
.showcase-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 15px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 30px rgba(33, 65, 87, .09);
}
.showcase-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; color: white; background: linear-gradient(145deg,#ff7a18,#e1306c); font-weight: 800; }
.showcase-card:nth-child(2) .showcase-icon { background: linear-gradient(145deg,#2aabee,#168acd); }
.showcase-card:nth-child(3) .showcase-icon { background: linear-gradient(145deg,#17181c,#ff0050); }
.showcase-card strong, .showcase-card small { display: block; }
.showcase-card small { margin-top: 4px; color: var(--muted); }
.showcase-price { margin-left: auto; color: var(--teal-dark); font-weight: 800; }
.showcase-floating {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 35px;
    padding: 18px 21px;
    border-radius: 18px;
    background: var(--ink);
    color: white;
    box-shadow: 0 22px 50px rgba(17, 26, 45, .25);
}
.showcase-floating span { display: block; color: #8ee7db; font-size: .78rem; }

.category-strip { margin-top: -25px; position: relative; z-index: 3; }
.category-panel {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: white;
    box-shadow: var(--shadow);
    overflow-x: auto;
}
.category-panel strong { padding: 0 12px; white-space: nowrap; }
.category-chip {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f7fafb;
    color: #526071;
    font-weight: 700;
}
.category-chip:hover, .category-chip.active { border-color: #99e5d9; background: linear-gradient(120deg,#e7fff9,#ebf7ff); color: var(--teal-dark); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    min-width: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 12px 32px rgba(30, 62, 82, .07);
    transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 52px rgba(30, 62, 82, .13); }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 3px 13px; }
.pill, .stock-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: white; font-size: .76rem; font-weight: 650; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(120deg,var(--teal),var(--blue)); }
.pill-muted { color: var(--muted); }
.stock-pill { color: #526071; }
.product-visual {
    position: relative;
    display: grid;
    min-height: 255px;
    overflow: hidden;
    place-items: center;
    border-radius: 19px;
    background:
        radial-gradient(circle at 50% 100%, rgba(85, 226, 255, .25), transparent 30%),
        linear-gradient(145deg, #071a2a, #072e54);
}
.product-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent); transform: translateX(-100%); transition: transform .6s; }
.product-card:hover .product-visual::after { transform: translateX(100%); }
.brand-orb {
    position: relative;
    z-index: 2;
    display: grid;
    width: 125px;
    height: 125px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 50%;
    background: var(--product-gradient);
    color: white;
    font-size: 2.5rem;
    font-weight: 850;
    letter-spacing: -.08em;
    box-shadow: 0 25px 45px rgba(0, 0, 0, .32), inset 0 10px 20px rgba(255,255,255,.2);
}
.visual-shine { position: absolute; width: 170px; height: 28px; bottom: 34px; border-radius: 50%; background: rgba(98, 225, 255, .18); filter: blur(10px); }
.discount { position: absolute; z-index: 3; top: 16px; left: 16px; padding: 8px 11px; border-radius: 9px; background: rgba(10, 19, 31, .75); color: white; font-size: .75rem; font-weight: 700; }
.product-body { padding: 17px 5px 5px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .76rem; font-weight: 650; }
.rating { color: #768494; }
.rating::first-letter { color: var(--teal); }
.product-body h3 { min-height: 52px; margin: 10px 0 6px; font-size: 1.08rem; line-height: 1.35; }
.product-body h3 a:hover { color: var(--teal-dark); }
.seller-name { margin: 0; color: var(--muted); font-size: .82rem; }
.product-price-row { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.product-price-row strong { color: var(--success); font-size: 1.32rem; }
.product-price-row del { color: #9aa4af; font-size: .82rem; }
.round-link { display: grid; width: 36px; height: 36px; margin-left: auto; place-items: center; border-radius: 50%; background: #edf9f8; color: var(--teal-dark); font-weight: 800; }
.empty-state { padding: 45px; border: 1px dashed #b8c4ce; border-radius: 22px; background: white; text-align: center; color: var(--muted); }
.empty-state h3 { margin: 0 0 8px; color: var(--ink); }

.feature-band { padding: 58px 0; background: var(--ink); color: white; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-item { padding: 3px 18px; border-left: 1px solid rgba(255,255,255,.16); }
.feature-item:first-child { border-left: 0; }
.feature-icon { display: grid; width: 44px; height: 44px; margin-bottom: 15px; place-items: center; border-radius: 13px; background: rgba(54, 233, 199, .12); color: #65e8d7; font-weight: 900; }
.feature-item h3 { margin: 0 0 6px; font-size: 1rem; }
.feature-item p { margin: 0; color: #afbac7; font-size: .86rem; }

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 12px 35px rgba(31, 65, 88, .07);
}
.card-pad { padding: 26px; }
.card h2, .card h3 { margin-top: 0; }
.muted { color: var(--muted); }
.text-link { color: var(--teal-dark); font-weight: 750; }
.divider { height: 1px; margin: 24px 0; background: var(--line); }
.info-note { padding: 14px 16px; border-left: 4px solid var(--blue); border-radius: 9px; background: #eff8ff; color: #315b75; font-size: .9rem; }
.warning-note { border-left-color: var(--warning); background: #fff8e9; color: #7e5518; }
.success-note { border-left-color: var(--teal); background: #edfffb; color: #17675f; }

.auth-layout { display: grid; min-height: calc(100vh - 78px); grid-template-columns: .95fr 1.05fr; }
.auth-art {
    display: flex;
    min-height: 680px;
    align-items: center;
    padding: 70px;
    color: white;
    background:
        radial-gradient(circle at 25% 20%, rgba(76, 232, 209, .25), transparent 27%),
        linear-gradient(145deg, #081d2f, #073c58 62%, #056f76);
}
.auth-art h1 { max-width: 570px; margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.04; letter-spacing: -.065em; }
.auth-art h1 span { color: #61ead8; }
.auth-art p { max-width: 540px; color: #bfd1da; font-size: 1.04rem; }
.auth-benefits { display: grid; gap: 14px; margin-top: 30px; }
.auth-benefits div { display: flex; align-items: center; gap: 12px; }
.auth-benefits i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: rgba(97,234,216,.13); color: #61ead8; font-style: normal; }
.auth-form-side { display: grid; place-items: center; padding: 50px 24px; background: white; }
.auth-box { width: min(460px, 100%); }
.auth-box h2 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.auth-box > p { margin: 8px 0 25px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label { color: #26364a; font-size: .86rem; font-weight: 750; }
.field input, .field textarea, .field select {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #d9e1e7;
    border-radius: 12px;
    outline: none;
    background: #fbfcfd;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8,185,168,.12); }
.field small { color: var(--muted); font-size: .78rem; }
.form-error { margin: -4px 0 18px; padding: 12px 14px; border-radius: 10px; background: #fff1f3; color: var(--danger); font-size: .88rem; }
.role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-option { position: relative; }
.role-option input { position: absolute; opacity: 0; }
.role-option span { display: block; padding: 13px; border: 1px solid var(--line); border-radius: 12px; text-align: center; font-weight: 700; cursor: pointer; }
.role-option input:checked + span { border-color: var(--teal); background: #ecfffb; color: var(--teal-dark); }
.auth-switch { margin-top: 22px; text-align: center; color: var(--muted); }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.product-detail-visual { position: sticky; top: 110px; }
.large-product-visual { min-height: 500px; }
.large-product-visual .brand-orb { width: 210px; height: 210px; font-size: 4.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .85rem; }
.product-detail-content h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.055em; }
.product-detail-content .lead { color: #526071; font-size: 1rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 18px 0; color: var(--muted); font-size: .88rem; }
.detail-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.detail-price strong { color: var(--ink); font-size: 2.2rem; }
.detail-price del { color: #9aa4af; }
.stock-tag { display: inline-flex; padding: 8px 12px; border-radius: 99px; background: #eafffa; color: var(--teal-dark); font-size: .82rem; font-weight: 750; }
.buy-form { display: grid; gap: 14px; margin: 25px 0; }
.quantity-control { display: grid; min-height: 54px; grid-template-columns: 54px 1fr 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #f8fafb; }
.quantity-control button { border: 0; background: transparent; color: #8491a0; font-size: 1.25rem; }
.quantity-control input { min-width: 0; border: 0; outline: 0; background: transparent; text-align: center; font-weight: 800; }
.seller-card { display: flex; align-items: center; gap: 16px; margin-top: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fbfdfd; }
.seller-logo { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; border-radius: 17px; background: linear-gradient(145deg,#08d7b6,#087fda); color: white; font-size: 1.4rem; font-weight: 850; }
.seller-card strong, .seller-card small { display: block; }
.seller-card small { color: var(--muted); }
.seller-stat { margin-left: auto; text-align: right; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.review-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.review-stars { color: #f2b705; letter-spacing: 2px; }
.review-card p { color: #4d5a6a; }
.review-card small { color: var(--muted); }

.checkout-grid { display: grid; grid-template-columns: 1fr 390px; gap: 30px; align-items: start; }
.checkout-steps { display: flex; gap: 10px; margin-bottom: 23px; }
.checkout-step { flex: 1; padding: 12px; border-radius: 12px; background: #edf2f5; color: #758292; text-align: center; font-size: .78rem; font-weight: 750; }
.checkout-step.active { background: #e7fffa; color: var(--teal-dark); }
.payment-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.payment-option { position: relative; }
.payment-option input { position: absolute; opacity: 0; }
.payment-option span { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; cursor: pointer; }
.payment-option strong, .payment-option small { display: block; }
.payment-option small { margin-top: 3px; color: var(--muted); }
.payment-option input:checked + span { border-color: var(--teal); background: #efffFC; box-shadow: 0 0 0 3px rgba(8,185,168,.1); }
.order-summary { position: sticky; top: 108px; }
.summary-product { display: flex; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary-icon { display: grid; width: 64px; height: 64px; flex: 0 0 auto; place-items: center; border-radius: 17px; background: linear-gradient(145deg,#071a2a,#087fda); color: white; font-weight: 850; }
.summary-product h3 { margin: 0 0 5px; font-size: .98rem; }
.summary-product small { color: var(--muted); }
.summary-line { display: flex; justify-content: space-between; gap: 20px; margin: 15px 0; color: #526071; }
.summary-total { padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.wallet-box { margin-top: 20px; padding: 18px; border: 1px solid #aee9df; border-radius: 15px; background: #eefffb; }
.wallet-address { overflow-wrap: anywhere; padding: 12px; border-radius: 10px; background: white; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

.dashboard-wrap { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 28px; padding: 42px 0 70px; }
.dashboard-sidebar { position: sticky; top: 102px; height: fit-content; padding: 15px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(31,65,88,.06); }
.dashboard-user { padding: 10px 9px 17px; border-bottom: 1px solid var(--line); }
.dashboard-user strong, .dashboard-user small { display: block; }
.dashboard-user small { color: var(--muted); }
.dashboard-nav { display: grid; gap: 5px; margin-top: 13px; }
.dashboard-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; color: #5f6c7b; font-size: .9rem; font-weight: 650; }
.dashboard-nav a:hover, .dashboard-nav a.active { background: #eafff9; color: var(--teal-dark); }
.dashboard-nav i { width: 22px; font-style: normal; text-align: center; }
.dashboard-main { min-width: 0; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.dashboard-head h1 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.dashboard-head p { margin: 4px 0 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 19px; background: white; box-shadow: 0 10px 28px rgba(31,65,88,.05); }
.stat-card span { color: var(--muted); font-size: .82rem; font-weight: 650; }
.stat-card strong { display: block; margin-top: 8px; font-size: 1.8rem; letter-spacing: -.04em; }
.stat-card.teal { color: white; background: linear-gradient(125deg,#05caa8,#087fda); border: 0; }
.stat-card.teal span { color: rgba(255,255,255,.78); }
.dashboard-card { margin-bottom: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: 0 10px 30px rgba(31,65,88,.05); }
.dashboard-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.dashboard-card-head h2 { margin: 0; font-size: 1.18rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 10px; border-bottom: 1px solid #edf0f3; text-align: left; vertical-align: middle; font-size: .86rem; }
th { color: #7a8795; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
td strong { display: block; }
td small { color: var(--muted); }
.table-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.table-actions .button { min-height: 34px; padding: 6px 10px; border-radius: 9px; font-size: .76rem; }
.status { display: inline-flex; padding: 6px 9px; border-radius: 99px; background: #edf1f4; color: #5f6b78; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.status-completed, .status-approved, .status-active, .status-released { background: #e4fff3; color: #08734e; }
.status-pending, .status-pending_payment, .status-payment_submitted, .status-held { background: #fff4db; color: #9b6407; }
.status-rejected, .status-suspended, .status-refunded { background: #ffe9ed; color: #b82940; }
.status-disputed, .status-under_review, .status-frozen { background: #eaf3ff; color: #25629b; }
.order-list { display: grid; gap: 13px; }
.order-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.order-thumb { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#092033,#087fda); color: white; font-weight: 800; }
.order-row h3 { margin: 0 0 4px; font-size: .96rem; }
.order-row p { margin: 2px 0; color: var(--muted); font-size: .8rem; }
.order-side { display: grid; justify-items: end; gap: 9px; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
.tab-button { flex: 0 0 auto; padding: 10px 15px; border: 1px solid var(--line); border-radius: 11px; background: white; color: #647181; font-weight: 700; }
.tab-button.active { border-color: var(--teal); background: #eafffa; color: var(--teal-dark); }
.inventory-items { display: grid; gap: 10px; }
.delivery-item { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #f9fbfc; }
.delivery-item pre { margin: 10px 0 0; padding: 13px; overflow-x: auto; border-radius: 10px; background: var(--ink); color: #d8fff8; white-space: pre-wrap; overflow-wrap: anywhere; }

.site-footer { padding: 58px 0 22px; border-top: 1px solid #26324a; background: var(--ink); color: #c2ccd7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 42px; }
.footer-brand { color: white; margin-bottom: 17px; }
.site-footer p { max-width: 390px; color: #98a7b6; font-size: .88rem; }
.site-footer h3 { margin: 0 0 14px; color: white; font-size: .9rem; }
.site-footer a:not(.brand) { display: block; margin: 9px 0; color: #aebac6; font-size: .86rem; }
.site-footer a:hover { color: #5ee4d2; }
.trust-line { display: flex; flex-wrap: wrap; gap: 12px; color: #69e0d1; font-size: .78rem; }
.footer-note { padding-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #778697; font-size: .75rem; }

@media (max-width: 1050px) {
    .desktop-nav, .header-search { display: none; }
    .mobile-menu-button { display: block; }
    .hero-grid { gap: 25px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .feature-item:nth-child(3) { border-left: 0; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-wrap { grid-template-columns: 190px minmax(0,1fr); }
    .checkout-grid { grid-template-columns: 1fr 340px; }
}

@media (max-width: 760px) {
    .shell, .narrow-shell { width: min(100% - 28px, 1180px); }
    .header-inner { height: 68px; }
    .brand-mark { width: 38px; height: 38px; font-size: 1.5rem; }
    .brand-name { font-size: 1.25rem; }
    .mobile-menu { inset: 68px 0 auto 0; }
    .hero { padding: 55px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); text-align: center; }
    .hero-copy > p { text-align: center; }
    .hero-actions, .trust-row { justify-content: center; }
    .hero-showcase { min-height: 390px; }
    .showcase-panel { inset: 15px 5px 0; padding: 17px; transform: none; }
    .showcase-floating { right: 7px; bottom: 16px; }
    .page-section { padding: 45px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .product-visual { min-height: 300px; }
    .feature-grid, .footer-grid { grid-template-columns: 1fr; }
    .feature-item, .feature-item:nth-child(3) { padding: 7px 0 18px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .footer-bottom { flex-direction: column; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-art { min-height: auto; padding: 54px 24px; }
    .auth-form-side { padding: 42px 18px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .product-detail-grid, .checkout-grid { grid-template-columns: 1fr; }
    .product-detail-visual, .order-summary { position: static; }
    .large-product-visual { min-height: 390px; }
    .large-product-visual .brand-orb { width: 170px; height: 170px; font-size: 3.5rem; }
    .reviews-grid, .payment-options { grid-template-columns: 1fr; }
    .dashboard-wrap { display: block; padding-top: 20px; }
    .dashboard-sidebar { position: static; margin-bottom: 18px; overflow-x: auto; }
    .dashboard-user { display: none; }
    .dashboard-nav { display: flex; margin: 0; }
    .dashboard-nav a { flex: 0 0 auto; }
    .stats-grid { grid-template-columns: 1fr; }
    .dashboard-head { align-items: flex-start; flex-direction: column; }
    .order-row { grid-template-columns: 58px 1fr; }
    .order-thumb { width: 54px; height: 54px; }
    .order-side { grid-column: 1 / -1; justify-items: start; }
    .section-head { align-items: flex-start; flex-direction: column; }
}

/* AccVilla buyer panel */
.buyer-panel-page {
    --buyer-teal: #0ca7a4;
    --buyer-teal-dark: #078b89;
    --buyer-navy: #0d1835;
    --buyer-text: #121a30;
    --buyer-muted: #6f788b;
    --buyer-border: #e4e8ef;
    --buyer-surface: #ffffff;
    margin: 0;
    background: #f8fafc;
    color: var(--buyer-text);
}

.buyer-panel-page main { min-width: 0; }
.buyer-panel-page a { text-decoration: none; }
.buyer-app { min-height: 100vh; background: #fbfcfe; }
.buyer-sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    display: flex;
    width: 292px;
    flex-direction: column;
    padding: 24px 16px 22px;
    overflow-y: auto;
    border-right: 1px solid var(--buyer-border);
    background: #fff;
}
.buyer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 82px;
    padding: 4px 12px 20px;
    color: var(--buyer-navy);
}
.buyer-brand-bag {
    position: relative;
    display: grid;
    width: 55px;
    height: 51px;
    flex: 0 0 auto;
    place-items: center;
    border: 3px solid var(--buyer-teal);
    border-radius: 8px 8px 12px 12px;
    color: var(--buyer-teal);
    font-size: 1.25rem;
}
.buyer-brand-bag::before {
    position: absolute;
    top: -18px;
    width: 25px;
    height: 23px;
    border: 3px solid var(--buyer-teal);
    border-bottom: 0;
    border-radius: 17px 17px 0 0;
    content: "";
}
.buyer-brand > span:last-child { display: grid; line-height: 1; }
.buyer-brand strong { font-size: 2rem; letter-spacing: -.055em; }
.buyer-brand strong span { color: var(--buyer-teal); }
.buyer-brand small {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #2e3546;
    font-size: .72rem;
    letter-spacing: .02em;
}
.buyer-brand small::before,
.buyer-brand small::after { width: 18px; height: 1px; background: var(--buyer-teal); content: ""; }
.buyer-nav { display: grid; gap: 6px; margin-top: 20px; }
.buyer-nav a {
    display: flex;
    min-height: 51px;
    align-items: center;
    gap: 17px;
    padding: 12px 18px;
    border-radius: 9px;
    color: #171f36;
    font-size: .95rem;
    font-weight: 650;
    transition: .18s ease;
}
.buyer-nav a i { width: 22px; color: #273047; font-size: 1.08rem; text-align: center; }
.buyer-nav a:hover,
.buyer-nav a.active { background: #eaf8f8; color: var(--buyer-teal-dark); }
.buyer-nav a.active i { color: var(--buyer-teal); }
.buyer-nav .seller-nav-link { margin-top: 6px; border: 1px solid #cfeceb; }
.buyer-help-card {
    display: grid;
    margin: auto 8px 0;
    padding: 24px 20px 20px;
    border-radius: 13px;
    background: #f7f9fb;
    text-align: center;
}
.buyer-help-card > i { margin-bottom: 11px; color: var(--buyer-teal); font-size: 2rem; }
.buyer-help-card strong { font-size: 1rem; }
.buyer-help-card p { margin: 8px 0 16px; color: var(--buyer-muted); font-size: .76rem; line-height: 1.7; }
.buyer-help-card a {
    padding: 11px;
    border: 1px solid var(--buyer-teal);
    border-radius: 7px;
    color: var(--buyer-teal-dark);
    font-size: .8rem;
    font-weight: 700;
}
.buyer-workspace { min-height: 100vh; margin-left: 292px; }
.buyer-topbar {
    position: sticky;
    z-index: 35;
    top: 0;
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    border-bottom: 1px solid var(--buyer-border);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
}
.buyer-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--buyer-navy);
    cursor: pointer;
    font-size: 1.4rem;
}
.buyer-mobile-brand { display: none; color: var(--buyer-navy); font-size: 1.35rem; font-weight: 800; }
.buyer-mobile-brand span { color: var(--buyer-teal); }
.buyer-topbar-actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.buyer-notification {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-right: 1px solid var(--buyer-border);
    color: var(--buyer-navy);
    font-size: 1.25rem;
}
.buyer-notification span {
    position: absolute;
    top: 3px;
    right: -3px;
    display: grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid white;
    border-radius: 20px;
    background: var(--buyer-teal);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
}
.buyer-profile { display: flex; align-items: center; gap: 12px; }
.buyer-profile { position: relative; }
.buyer-profile summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.buyer-profile summary::-webkit-details-marker { display: none; }
.buyer-profile summary > span:nth-child(2) { display: grid; min-width: 130px; }
.buyer-profile strong { font-size: .94rem; }
.buyer-profile small { margin-top: 3px; color: var(--buyer-muted); font-size: .7rem; }
.buyer-profile summary > i { color: #7a8292; font-size: .72rem; transition: transform .18s ease; }
.buyer-profile[open] summary > i { transform: rotate(180deg); }
.buyer-profile-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 14px);
    right: 0;
    display: grid;
    width: 225px;
    padding: 8px;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(13, 24, 53, .16);
}
.buyer-profile-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: var(--buyer-text); font-size: .78rem; }
.buyer-profile-menu a:hover { background: #eaf8f8; color: var(--buyer-teal-dark); }
.buyer-profile-menu i { width: 17px; text-align: center; }
.buyer-avatar,
.buyer-avatar-large {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg,#12bdb7,#078b89);
    color: #fff;
    font-weight: 750;
}
.buyer-avatar { width: 47px; height: 47px; font-size: 1.15rem; }
.buyer-content { width: min(100% - 56px, 1260px); margin: 0 auto; padding: 40px 0 72px; }
.buyer-page-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.buyer-page-head h1 { margin: 0; color: var(--buyer-navy); font-size: 1.9rem; letter-spacing: -.035em; }
.buyer-page-head p { margin: 6px 0 0; color: var(--buyer-muted); font-size: .92rem; }
.buyer-primary-button,
.buyer-outline-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
}
.buyer-primary-button { border: 1px solid var(--buyer-teal); background: var(--buyer-teal); color: #fff; }
.buyer-primary-button:hover { border-color: var(--buyer-teal-dark); background: var(--buyer-teal-dark); color: #fff; }
.buyer-outline-button { border: 1px solid var(--buyer-teal); background: #fff; color: var(--buyer-teal-dark); }
.buyer-outline-button:hover { background: #eaf9f8; color: var(--buyer-teal-dark); }
.buyer-full-button { width: 100%; }
.buyer-panel-card {
    margin-bottom: 24px;
    padding: 25px;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(24,38,60,.025);
}
.buyer-table-card { padding: 0; overflow: hidden; }
.buyer-card-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.buyer-card-head h2 { margin: 0; font-size: 1.06rem; }
.buyer-card-head p { margin: 4px 0 0; color: var(--buyer-muted); font-size: .78rem; }
.buyer-card-head > a { color: var(--buyer-teal-dark); font-size: .8rem; font-weight: 750; }
.buyer-overview-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 17px; margin-bottom: 24px; }
.buyer-stat-card {
    position: relative;
    display: grid;
    min-height: 147px;
    align-content: center;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: #fff;
}
.buyer-stat-card > i { position: absolute; top: 20px; right: 19px; color: #d7eceb; font-size: 1.5rem; }
.buyer-stat-card > span { color: var(--buyer-muted); font-size: .78rem; font-weight: 650; }
.buyer-stat-card > strong { margin-top: 8px; color: var(--buyer-navy); font-size: 1.75rem; }
.buyer-stat-balance { border: 0; background: linear-gradient(135deg,#0da9a5,#087f8f); }
.buyer-stat-balance::after { position: absolute; right: -34px; bottom: -62px; width: 160px; height: 160px; border: 25px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; }
.buyer-stat-balance > span,
.buyer-stat-balance > strong,
.buyer-stat-balance > a { position: relative; z-index: 1; color: #fff; }
.buyer-stat-balance > a { margin-top: 13px; font-size: .72rem; font-weight: 750; }
.buyer-table-head,
.buyer-table-row { display: grid; align-items: center; }
.buyer-table-head {
    min-height: 58px;
    padding: 0 19px;
    background: #fbfcfe;
    color: #20283e;
    font-size: .72rem;
    font-weight: 750;
}
.buyer-order-table .buyer-table-head,
.buyer-order-table .buyer-table-row { grid-template-columns: 1.05fr 2.2fr 1.45fr .8fr 1.05fr 1.05fr 1.05fr; }
.buyer-overview-grid + .buyer-panel-card .buyer-order-table .buyer-table-head,
.buyer-overview-grid + .buyer-panel-card .buyer-order-table .buyer-table-row { grid-template-columns: 1.1fr 2fr 1.35fr .8fr 1fr 1fr; }
.buyer-dispute-table .buyer-table-head,
.buyer-dispute-table .buyer-table-row { grid-template-columns: 1fr 1fr 1.65fr 1.15fr 1.8fr .9fr 1.05fr .9fr; }
.buyer-table-row { min-height: 102px; padding: 15px 19px; border-top: 1px solid var(--buyer-border); font-size: .78rem; }
.buyer-table-row > div { min-width: 0; padding-right: 12px; }
.buyer-table-row strong { display: block; overflow: hidden; color: #1b2339; text-overflow: ellipsis; }
.buyer-table-row small { display: block; margin-top: 5px; overflow: hidden; color: var(--buyer-muted); text-overflow: ellipsis; }
.buyer-table-row small .fa-star,
.buyer-table-row small.fa-star { color: #ffbc21; }
.buyer-product-cell { display: flex; align-items: center; gap: 10px; }
.buyer-product-cell > span,
.buyer-product-icon {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: var(--product-bg);
    color: #fff;
    font-size: .73rem;
    font-weight: 850;
}
.buyer-product-cell > div { min-width: 0; }
.verified { color: #128de5; font-size: .7rem; }
.buyer-panel-page .status { border-radius: 5px; font-size: .68rem; }
.buyer-panel-page .status-pending_payment { background: #fff3de; color: #b16b0a; }
.buyer-panel-page .status-payment_submitted,
.buyer-panel-page .status-under_review { background: #e5f1ff; color: #2671bd; }
.buyer-panel-page .status-completed,
.buyer-panel-page .status-approved,
.buyer-panel-page .status-released,
.buyer-panel-page .status-resolved,
.buyer-panel-page .status-closed { background: #e4f7e9; color: #247b3c; }
.buyer-panel-page .status-held { background: #fff3de; color: #b16b0a; }
.buyer-panel-page .status-frozen { background: #e5f1ff; color: #2671bd; }
.buyer-panel-page .status-rejected,
.buyer-panel-page .status-refunded { background: #ffe9ed; color: #ba2f45; }
.buyer-empty { display: grid; min-height: 270px; place-items: center; align-content: center; padding: 40px; text-align: center; }
.buyer-empty > i { margin-bottom: 12px; color: #b8dedd; font-size: 2.2rem; }
.buyer-empty h3 { margin: 0; }
.buyer-empty p { margin: 8px 0 18px; color: var(--buyer-muted); }
.buyer-balance-card {
    display: flex;
    max-width: 520px;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: #fff;
}
.buyer-balance-card > div { display: grid; }
.buyer-balance-card span,
.buyer-balance-card small { color: var(--buyer-muted); font-size: .75rem; }
.buyer-balance-card strong { margin: 7px 0; color: #168845; font-size: 1.8rem; }
.buyer-balance-card > i { display: grid; width: 57px; height: 57px; place-items: center; border-radius: 10px; background: #e5f7ee; color: #16914b; font-size: 1.4rem; }
.buyer-topup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.buyer-topup-layout .buyer-panel-card { margin: 0; }
.buyer-step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; }
.buyer-step-title span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e8f8f7; color: var(--buyer-teal-dark); font-size: .75rem; font-weight: 800; }
.buyer-step-title h2 { margin: 0; font-size: 1rem; }
.buyer-amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.buyer-amount-grid label { position: relative; }
.buyer-amount-grid input { position: absolute; opacity: 0; }
.buyer-amount-grid label > span {
    position: relative;
    display: grid;
    min-height: 81px;
    place-items: center;
    align-content: center;
    border: 1px solid var(--buyer-border);
    border-radius: 8px;
    cursor: pointer;
}
.buyer-amount-grid strong { font-size: 1rem; }
.buyer-amount-grid small { margin-top: 5px; color: var(--buyer-muted); font-size: .68rem; }
.buyer-amount-grid i { position: absolute; top: 8px; right: 8px; display: none; color: var(--buyer-teal); }
.buyer-amount-grid input:checked + span { border-color: var(--buyer-teal); background: #f0fbfa; }
.buyer-amount-grid input:checked + span i { display: block; }
.buyer-field,
.buyer-settings-form label,
.buyer-seller-form label,
.buyer-new-chat label { display: grid; gap: 8px; margin-top: 18px; color: #293149; font-size: .76rem; font-weight: 700; }
.buyer-field input,
.buyer-field select,
.buyer-settings-form input,
.buyer-seller-form input,
.buyer-seller-form textarea,
.buyer-new-chat input,
.buyer-new-chat select,
.buyer-new-chat textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--buyer-border);
    border-radius: 7px;
    background: #fff;
    color: var(--buyer-text);
    font: inherit;
}
.buyer-seller-form textarea,
.buyer-new-chat textarea { min-height: 105px; resize: vertical; }
.buyer-input-prefix { display: flex; align-items: center; border: 1px solid var(--buyer-border); border-radius: 7px; overflow: hidden; }
.buyer-input-prefix i { padding: 0 13px; color: var(--buyer-muted); font-style: normal; }
.buyer-input-prefix input { border: 0; border-left: 1px solid var(--buyer-border); border-radius: 0; }
.buyer-fee-summary { display: grid; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 8px; background: #f5faf9; }
.buyer-fee-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--buyer-muted); font-size: .74rem; }
.buyer-fee-summary > div:last-child { padding-top: 9px; border-top: 1px solid var(--buyer-border); color: var(--buyer-navy); }
.buyer-fee-summary strong { color: var(--buyer-navy); font-size: .84rem; }
.buyer-payment-list { display: grid; gap: 11px; }
.buyer-payment-list label {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 69px;
    padding: 12px 15px;
    border: 1px solid var(--buyer-border);
    border-radius: 8px;
    cursor: pointer;
}
.buyer-payment-list label:has(input:checked) { border-color: var(--buyer-teal); background: #f0fbfa; }
.buyer-payment-list label.disabled { opacity: .48; cursor: not-allowed; }
.buyer-payment-list input { position: absolute; opacity: 0; }
.buyer-payment-list .crypto-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #13ad78; color: #fff; font-size: 1rem; font-weight: 800; }
.buyer-payment-list label:nth-child(2) .crypto-icon { background: #f5b820; }
.buyer-payment-list label:nth-child(3) .crypto-icon { background: #f04f4f; }
.buyer-payment-list label:nth-child(4) .crypto-icon { background: #627eea; }
.buyer-payment-list strong,
.buyer-payment-list small { display: block; overflow: hidden; text-overflow: ellipsis; }
.buyer-payment-list strong { font-size: .8rem; }
.buyer-payment-list small { margin-top: 4px; color: var(--buyer-muted); font-size: .65rem; white-space: nowrap; }
.buyer-payment-list label:has(input:checked) > i::before { color: var(--buyer-teal); content: "\f058"; font-weight: 900; }
.buyer-deposit-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 11px 14px;
    align-items: center;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #a9dfda;
    border-radius: 10px;
    background: #effbf9;
}
.buyer-deposit-address[hidden] { display: none; }
.buyer-deposit-address > span { display: grid; }
.buyer-deposit-address > span small { margin-top: 3px; color: var(--buyer-muted); font-size: .67rem; }
.buyer-deposit-address code { grid-column: 1 / -1; padding: 11px; overflow-wrap: anywhere; border-radius: 7px; background: #fff; color: #075f5c; font-size: .76rem; }
.buyer-topup-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--buyer-border);
    border-radius: 10px;
    background: #fff;
}
.buyer-topup-note > div { display: flex; align-items: flex-start; gap: 12px; }
.buyer-topup-note > div > i { color: var(--buyer-teal); font-size: 1.1rem; }
.buyer-topup-note span { display: grid; }
.buyer-topup-note small { margin-top: 4px; color: var(--buyer-muted); font-size: .7rem; line-height: 1.55; }
.buyer-compact-list > div { display: grid; grid-template-columns: 1.6fr .7fr .7fr .7fr; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--buyer-border); font-size: .76rem; }
.buyer-compact-list > div:first-child { border-top: 0; }
.buyer-compact-list span { display: grid; }
.buyer-compact-list small { color: var(--buyer-muted); }
.buyer-wallet-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.buyer-wallet-layout .buyer-panel-card { margin: 0; }
.buyer-withdrawal-list,
.seller-withdrawal-list { display: grid; gap: 12px; }
.buyer-withdrawal-list article,
.seller-withdrawal-list article { display: grid; gap: 7px; padding: 15px; border: 1px solid var(--buyer-border, var(--line)); border-radius: 10px; background: #fbfdfd; }
.buyer-withdrawal-list article > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.buyer-withdrawal-list small,
.seller-withdrawal-list small { color: var(--buyer-muted, var(--muted)); font-size: .7rem; overflow-wrap: anywhere; }
.wallet-address-inline { overflow-wrap: anywhere; word-break: break-word; }
.buyer-filter-tabs {
    display: flex;
    margin-bottom: 28px;
    overflow-x: auto;
    border: 1px solid var(--buyer-border);
    border-radius: 10px;
    background: #fff;
}
.buyer-filter-tabs a {
    position: relative;
    display: flex;
    min-width: 155px;
    min-height: 65px;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    color: #161e34;
    font-size: .84rem;
    font-weight: 700;
}
.buyer-filter-tabs a::after { position: absolute; right: 18px; bottom: 0; left: 18px; height: 3px; border-radius: 5px 5px 0 0; background: transparent; content: ""; }
.buyer-filter-tabs a.active { color: var(--buyer-teal-dark); }
.buyer-filter-tabs a.active::after { background: var(--buyer-teal); }
.buyer-filter-tabs span { display: grid; min-width: 25px; height: 25px; padding: 0 6px; place-items: center; border-radius: 8px; background: #edf2f6; font-size: .72rem; }
.buyer-filter-tabs a.active span { background: var(--buyer-teal); color: #fff; }
.buyer-new-chat { position: relative; }
.buyer-new-chat summary { list-style: none; }
.buyer-new-chat summary::-webkit-details-marker { display: none; }
.buyer-new-chat > form {
    position: absolute;
    z-index: 20;
    top: 48px;
    right: 0;
    width: min(380px, calc(100vw - 32px));
    padding: 20px;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(26,38,60,.16);
}
.buyer-new-chat summary { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 7px; background: var(--buyer-teal); color: #fff; cursor: pointer; font-size: .8rem; font-weight: 750; }
.buyer-chat-list-head,
.buyer-chat-list > a { display: grid; grid-template-columns: 1.2fr 1.5fr .55fr; align-items: center; gap: 22px; }
.buyer-chat-list-head { min-height: 59px; padding: 0 22px; background: #fbfcfe; font-size: .73rem; font-weight: 750; }
.buyer-chat-list > a { min-height: 101px; padding: 17px 22px; border-top: 1px solid var(--buyer-border); color: var(--buyer-text); }
.buyer-chat-list > a:hover { background: #fbfefe; }
.buyer-chat-list > a > span { min-width: 0; }
.buyer-chat-list strong,
.buyer-chat-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyer-chat-list small { margin-top: 5px; color: var(--buyer-muted); font-size: .76rem; }
.buyer-chat-user { display: flex; align-items: center; gap: 14px; }
.buyer-chat-user > i,
.buyer-chat-avatar { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #dff7ed; color: #178660; font-style: normal; font-weight: 800; }
.buyer-chat-list > a > span:last-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.buyer-chat-list b { display: grid; min-width: 28px; height: 28px; padding: 0 7px; place-items: center; border-radius: 8px; background: var(--buyer-teal); color: #fff; font-size: .72rem; }
.buyer-list-end { padding: 17px; border-top: 1px solid var(--buyer-border); color: var(--buyer-muted); text-align: center; font-size: .75rem; }
.buyer-chat-window { overflow: hidden; border: 1px solid var(--buyer-border); border-radius: 12px; background: #fff; }
.buyer-chat-head { display: flex; min-height: 82px; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--buyer-border); }
.buyer-chat-head > a { color: var(--buyer-muted); }
.buyer-chat-head > div { min-width: 0; flex: 1; }
.buyer-chat-head h2,
.buyer-chat-head p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buyer-chat-head h2 { font-size: .94rem; }
.buyer-chat-head p { margin-top: 4px; color: var(--buyer-muted); font-size: .72rem; }
.buyer-chat-messages { display: grid; gap: 14px; min-height: 420px; max-height: 58vh; padding: 25px; overflow-y: auto; background: #f8fbfc; }
.buyer-chat-messages > div { display: grid; max-width: 72%; justify-items: start; }
.buyer-chat-messages > div.mine { margin-left: auto; justify-items: end; }
.buyer-chat-messages > div > span { padding: 12px 15px; border-radius: 5px 15px 15px 15px; background: #fff; box-shadow: 0 3px 12px rgba(20,40,60,.05); font-size: .83rem; line-height: 1.55; }
.buyer-chat-messages > div.mine > span { border-radius: 15px 5px 15px 15px; background: var(--buyer-teal); color: #fff; }
.buyer-chat-messages small { margin-top: 5px; color: var(--buyer-muted); font-size: .64rem; }
.buyer-chat-compose { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 16px; border-top: 1px solid var(--buyer-border); }
.buyer-chat-compose textarea { min-height: 48px; max-height: 125px; padding: 12px; resize: vertical; border: 1px solid var(--buyer-border); border-radius: 8px; font: inherit; }
.chat-file-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--buyer-border, var(--line)); border-radius: 9px; background: #fff; color: var(--buyer-teal-dark, var(--ink)); cursor: pointer; }
.chat-file-button:hover { border-color: var(--buyer-teal, #17a798); background: #effbf9; }
.chat-file-button.has-file { border-color: var(--buyer-teal, #17a798); background: #dff7f2; color: #08786d; box-shadow: 0 0 0 3px rgba(23, 167, 152, .1); }
.chat-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chat-attachment { display: grid; gap: 7px; max-width: 320px; margin-top: 6px; padding: 9px; border: 1px solid rgba(30, 100, 110, .16); border-radius: 10px; background: #edf9f7; color: #176f67; font-size: .75rem; font-weight: 700; overflow-wrap: anywhere; }
.chat-attachment img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 7px; }
.buyer-chat-messages > div.mine .chat-attachment { background: #d8f3ed; color: #0f625a; }
.buyer-review-list { display: grid; }
.buyer-review-list article { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; padding: 20px 0; border-top: 1px solid var(--buyer-border); }
.buyer-review-list article:first-child { border-top: 0; }
.buyer-review-list h3 { margin: 0; font-size: .9rem; }
.buyer-review-list p { margin: 5px 0; color: var(--buyer-muted); font-size: .72rem; }
.buyer-review-list blockquote { margin: 9px 0 0; color: #3a4357; font-size: .82rem; }
.buyer-review-list time { color: var(--buyer-muted); font-size: .7rem; }
.buyer-stars { color: #f6b918; font-size: .78rem; letter-spacing: 2px; }
.buyer-stars span { color: #dfe3e8; }
.buyer-settings-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 22px; align-items: start; }
.buyer-profile-card { display: grid; justify-items: center; text-align: center; }
.buyer-avatar-large { width: 86px; height: 86px; font-size: 2rem; }
.buyer-profile-card h2 { margin: 14px 0 3px; }
.buyer-profile-card p { margin: 0 0 14px; color: var(--buyer-muted); }
.buyer-profile-card > small { margin-top: 15px; color: var(--buyer-muted); }
.buyer-settings-form > label { display: grid; gap: 8px; color: #293149; font-size: .76rem; font-weight: 700; }
.buyer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.buyer-form-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 2px; color: var(--buyer-muted); font-size: .72rem; }
.buyer-form-divider::after { height: 1px; flex: 1; background: var(--buyer-border); content: ""; }
.buyer-settings-form .buyer-primary-button { margin-top: 22px; }
.buyer-seller-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; align-items: start; }
.buyer-seller-intro {
    position: sticky;
    top: 120px;
    padding: 36px;
    overflow: hidden;
    border-radius: 13px;
    background: linear-gradient(145deg,#0f1f42,#0b787c);
    color: #fff;
}
.buyer-eyebrow { color: #81e4dc; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.buyer-seller-intro h2 { margin: 12px 0; font-size: 1.8rem; line-height: 1.15; }
.buyer-seller-intro > p { color: rgba(255,255,255,.72); font-size: .83rem; line-height: 1.7; }
.buyer-seller-steps { display: grid; gap: 18px; margin-top: 28px; }
.buyer-seller-steps > div { display: grid; grid-template-columns: 35px 1fr; gap: 3px 11px; }
.buyer-seller-steps > div > span { display: grid; width: 35px; height: 35px; grid-row: 1 / 3; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #89eee4; font-size: .75rem; font-weight: 800; }
.buyer-seller-steps strong { font-size: .82rem; }
.buyer-seller-steps small { color: rgba(255,255,255,.62); font-size: .68rem; line-height: 1.5; }
.buyer-seller-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.buyer-seller-form label:first-of-type,
.buyer-seller-form label:nth-of-type(4),
.buyer-seller-form label:nth-of-type(5),
.buyer-seller-form .buyer-primary-button { grid-column: 1 / -1; }
.seller-brand-upload-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.buyer-seller-form .seller-brand-upload {
    align-content: start;
    padding: 14px;
    border: 1px solid var(--buyer-border);
    border-radius: 10px;
    background: #fbfcfd;
}
.seller-brand-upload > span:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.seller-brand-upload > span:first-child small {
    color: var(--buyer-muted);
    font-weight: 500;
}
.seller-brand-upload-preview {
    display: grid;
    width: 100%;
    height: 118px;
    overflow: hidden;
    place-items: center;
    border: 1px dashed #cfd8df;
    border-radius: 9px;
    color: #82909b;
    background: #f2f6f8;
    font-size: 1.5rem;
}
.seller-logo-preview {
    width: 118px;
}
.seller-brand-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buyer-seller-form .seller-brand-upload input[type="file"] {
    min-height: 40px;
    padding: 8px;
    background: #fff;
    font-size: .7rem;
}
.buyer-seller-form .seller-brand-upload > small {
    color: var(--buyer-muted);
    font-size: .64rem;
    font-weight: 500;
    line-height: 1.45;
}
.seller-brand-summary {
    position: relative;
    height: 150px;
    margin: -4px 0 24px;
    overflow: visible;
    border: 1px solid var(--buyer-border);
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf8f7, #eef0ff);
}
.seller-brand-summary-banner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.seller-brand-summary-logo {
    position: absolute;
    left: 18px;
    bottom: -18px;
    display: grid;
    width: 70px;
    height: 70px;
    overflow: hidden;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, var(--buyer-teal), #087f8f);
    box-shadow: 0 9px 24px rgba(27, 43, 61, .18);
    font-size: 1.3rem;
    font-weight: 900;
}
.seller-brand-summary-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buyer-sidebar-backdrop { display: none; }
.buyer-flash-stack { position: fixed; z-index: 100; top: 105px; right: 28px; display: grid; width: min(420px, calc(100vw - 32px)); gap: 9px; }
.buyer-flash-stack .flash { box-shadow: 0 14px 38px rgba(20,35,55,.14); }

@media (max-width: 1180px) {
    .buyer-sidebar { width: 248px; }
    .buyer-workspace { margin-left: 248px; }
    .buyer-brand strong { font-size: 1.6rem; }
    .buyer-brand-bag { width: 47px; height: 45px; }
    .buyer-nav a { gap: 12px; padding-inline: 13px; }
    .buyer-content { width: min(100% - 36px, 1260px); }
    .buyer-overview-grid { grid-template-columns: repeat(2,1fr); }
    .buyer-table-card { overflow-x: auto; }
    .buyer-order-table,
    .buyer-dispute-table { min-width: 1040px; }
}

@media (max-width: 900px) {
    .buyer-sidebar { transform: translateX(-100%); width: 286px; transition: transform .22s ease; }
    .buyer-app.sidebar-open .buyer-sidebar { transform: translateX(0); }
    .buyer-sidebar-backdrop {
        position: fixed;
        z-index: 45;
        inset: 0;
        background: rgba(9,18,38,.42);
        backdrop-filter: blur(2px);
    }
    .buyer-app.sidebar-open .buyer-sidebar-backdrop { display: block; }
    .buyer-workspace { margin-left: 0; }
    .buyer-topbar { min-height: 76px; padding: 0 20px; }
    .buyer-mobile-brand { display: block; margin-left: 8px; }
    .buyer-content { width: min(100% - 32px, 1260px); padding-top: 28px; }
    .buyer-topup-layout,
    .buyer-wallet-layout,
    .buyer-settings-layout,
    .buyer-seller-layout { grid-template-columns: 1fr; }
    .buyer-seller-intro { position: static; }
}

@media (max-width: 640px) {
    .buyer-topbar { padding: 0 13px; }
    .buyer-topbar-actions { gap: 6px; }
    .buyer-profile > span:nth-child(2),
    .buyer-profile > a { display: none; }
    .buyer-notification { width: 41px; border-right: 0; }
    .buyer-page-head { align-items: flex-start; flex-direction: column; }
    .buyer-page-head h1 { font-size: 1.55rem; }
    .buyer-overview-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
    .buyer-stat-card { min-height: 125px; padding: 17px; }
    .buyer-stat-balance { grid-column: 1 / -1; }
    .buyer-stat-card > strong { font-size: 1.42rem; }
    .buyer-panel-card { padding: 18px; }
    .buyer-table-card { padding: 0; }
    .buyer-order-table,
    .buyer-dispute-table { min-width: 0; }
    .buyer-table-head { display: none; }
    .buyer-order-table .buyer-table-row,
    .buyer-overview-grid + .buyer-panel-card .buyer-order-table .buyer-table-row,
    .buyer-dispute-table .buyer-table-row {
        display: grid;
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 18px;
    }
    .buyer-table-row > div { padding: 0; }
    .buyer-table-row > div::before {
        display: block;
        margin-bottom: 5px;
        color: #9098a8;
        content: attr(data-label);
        font-size: .62rem;
        font-weight: 750;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .buyer-product-cell { align-items: flex-start; }
    .buyer-filter-tabs a { min-width: 125px; min-height: 57px; font-size: .74rem; }
    .buyer-balance-card { max-width: none; }
    .buyer-amount-grid { grid-template-columns: repeat(2,1fr); }
    .buyer-topup-note { align-items: stretch; flex-direction: column; }
    .buyer-chat-compose { grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; }
    .buyer-chat-compose textarea { min-width: 0; }
    .buyer-compact-list > div { grid-template-columns: 1fr auto; }
    .buyer-compact-list > div > :nth-child(3),
    .buyer-compact-list > div > :nth-child(4) { justify-self: end; }
    .buyer-new-chat { width: 100%; }
    .buyer-new-chat summary { justify-content: center; }
    .buyer-new-chat > form { right: auto; left: 0; }
    .buyer-chat-list-head { display: none; }
    .buyer-chat-list > a { grid-template-columns: 1fr auto; gap: 10px; padding: 15px; }
    .buyer-chat-list > a > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-left: 60px; }
    .buyer-chat-list > a > span:last-child { grid-column: 2; grid-row: 1; }
    .buyer-chat-messages { min-height: 360px; padding: 16px; }
    .buyer-chat-messages > div { max-width: 88%; }
    .buyer-chat-compose { grid-template-columns: 1fr auto; }
    .buyer-chat-compose button span { display: none; }
    .buyer-review-list article { grid-template-columns: 42px 1fr; }
    .buyer-review-list time { grid-column: 2; }
    .buyer-form-grid,
    .buyer-seller-form { grid-template-columns: 1fr; }
    .seller-brand-upload-grid { grid-template-columns: 1fr; }
    .buyer-seller-form label,
    .buyer-seller-form .buyer-primary-button { grid-column: auto !important; }
    .buyer-seller-intro { padding: 27px; }
    .buyer-flash-stack { top: 86px; right: 16px; }
}

@media (max-width: 430px) {
    .hero-actions .button { width: 100%; }
    .showcase-card { padding: 11px; }
    .showcase-icon { width: 47px; height: 47px; }
    .showcase-price { font-size: .84rem; }
    .product-visual { min-height: 260px; }
    .role-options { grid-template-columns: 1fr; }
    .checkout-steps { gap: 5px; }
    .checkout-step { padding: 9px 5px; font-size: .66rem; }
    .dashboard-card { padding: 18px; }
}

/* V3 dashboard composition — matches the horizontal icon panel in the references */
.dashboard-wrap {
    display: block;
    max-width: 1180px;
}

.dashboard-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 34px;
    padding: 12px;
    overflow-x: auto;
    border-radius: 24px;
}

.dashboard-user {
    display: none;
}

.dashboard-nav {
    display: flex;
    align-items: stretch;
    gap: 7px;
    margin: 0;
}

.dashboard-nav a {
    min-width: 108px;
    flex: 1 0 auto;
    justify-content: center;
    padding: 15px 17px;
    border-radius: 15px;
}

.dashboard-nav a.active {
    background: linear-gradient(115deg, #e3fcf7, #e8f6ff);
    color: #078d83;
}

.dashboard-main {
    max-width: 1060px;
    margin-inline: auto;
}

@media (max-width: 760px) {
    .dashboard-wrap {
        padding-top: 28px;
    }

    .dashboard-sidebar {
        margin-bottom: 28px;
    }

    .dashboard-nav a {
        min-width: 76px;
        flex-direction: column;
        gap: 4px;
        padding: 12px 10px;
        font-size: .69rem;
    }
}

/* ==========================================================================
   V2 — spacious white marketplace direction
   Based on the supplied mobile references: white space, pale aqua surfaces,
   rounded cards, restrained shadows, and teal-to-blue calls to action.
   ========================================================================== */

:root {
    --teal: #08cdb1;
    --teal-dark: #078c82;
    --blue: #0a88ce;
    --ink: #111827;
    --muted: #707b88;
    --line: #e6ecef;
    --soft: #effcfb;
    --surface: #ffffff;
    --shadow: 0 14px 38px rgba(28, 67, 79, .075);
    --radius: 27px;
}

body {
    background: #ffffff;
    color: var(--ink);
}

main {
    background: #ffffff;
}

.shell {
    width: min(1240px, calc(100% - 56px));
}

.page-section {
    padding: 92px 0;
}

.page-section.compact {
    padding: 64px 0;
}

.site-header {
    border-bottom: 1px solid #edf1f3;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 7px 24px rgba(35, 65, 77, .055);
}

.header-inner {
    height: 92px;
    gap: 38px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #02d4b5, #0a8fc9);
    box-shadow: 0 9px 20px rgba(7, 178, 174, .18);
}

.brand-name {
    font-size: 1.55rem;
}

.header-search {
    height: 48px;
    border-color: #e7edef;
    background: #fbfdfd;
    box-shadow: none;
}

.desktop-nav {
    gap: 26px;
    color: #5f6874;
}

.header-quick {
    display: none;
    align-items: center;
    gap: 9px;
    margin-left: auto;
}

.header-avatar,
.header-icon-link {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid #edf0f2;
    border-radius: 50%;
    background: #f0f3f5;
    color: #242a33;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(34, 58, 67, .09);
}

.header-icon-link {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #68737d;
    font-size: 1.7rem;
    font-weight: 400;
}

.button {
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(5, 172, 166, .12);
}

.button-gradient {
    background: linear-gradient(120deg, #05d1af, #0a84cd);
}

.button-outline {
    border-color: #a9e7de;
    background: #ffffff;
    color: var(--teal-dark);
}

.button-soft {
    background: #ecfbf8;
}

.hero {
    padding: 112px 0 122px;
    background:
        radial-gradient(circle at 79% 25%, rgba(15, 206, 183, .12), transparent 24%),
        linear-gradient(180deg, #effdfb 0%, #eefaff 72%, #ffffff 100%);
}

.hero::before {
    display: none;
}

.hero::after {
    width: 360px;
    height: 360px;
    left: auto;
    right: -170px;
    bottom: -190px;
    background: rgba(255, 255, 255, .55);
}

.hero-grid {
    grid-template-columns: 1.05fr .82fr;
    gap: 90px;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: 1.04;
}

.hero-copy > p {
    max-width: 660px;
    margin: 30px 0;
    color: #536273;
    font-size: 1.11rem;
    line-height: 1.75;
}

.hero-actions {
    gap: 16px;
}

.hero-actions .button {
    min-width: 150px;
}

.trust-row {
    margin-top: 34px;
}

.trust-stars {
    color: #08afa3;
    letter-spacing: 3px;
}

.showcase-panel {
    inset: 0;
    padding: 30px;
    border: 1px solid rgba(224, 236, 239, .95);
    border-radius: 34px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 25px 65px rgba(26, 90, 104, .11);
    transform: none;
}

.showcase-card {
    margin-bottom: 17px;
    padding: 18px;
    border: 1px solid #eef2f4;
    box-shadow: 0 8px 22px rgba(37, 70, 82, .055);
}

.showcase-floating {
    right: -24px;
    bottom: 15px;
    border: 1px solid #dfeaed;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 18px 42px rgba(34, 76, 89, .12);
}

.showcase-floating span {
    color: var(--teal-dark);
}

.services-section {
    padding: 82px 0 58px;
    background: #ffffff;
}

.services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.services-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.7rem);
    letter-spacing: -.045em;
}

.service-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
}

.service-tabs button,
.service-tabs a {
    padding: 12px 24px;
    border: 1px solid #edf0f2;
    border-radius: 13px;
    background: #ffffff;
    color: #566170;
    font-weight: 750;
    box-shadow: 0 6px 18px rgba(34, 67, 79, .05);
}

.service-tabs button.active,
.service-tabs a.active {
    border-color: transparent;
    background: linear-gradient(120deg, #05d1af, #0a84cd);
    color: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    margin-bottom: 46px;
}

.service-item {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    color: #252d39;
    text-align: center;
}

.service-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid #edf1f2;
    border-radius: 21px;
    background: var(--service-color);
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.06em;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--service-color) 18%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-item:hover .service-icon {
    transform: translateY(-4px);
    box-shadow: 0 17px 30px color-mix(in srgb, var(--service-color) 24%, transparent);
}

.service-item strong {
    max-width: 100%;
    overflow: hidden;
    font-size: .88rem;
    text-overflow: ellipsis;
}

.category-panel {
    padding: 12px;
    border-color: #edf1f2;
    background: #fbfdfd;
    box-shadow: none;
}

.category-chip {
    padding: 11px 18px;
    background: #ffffff;
}

.category-chip:hover,
.category-chip.active {
    border-color: #b7ebe3;
    background: #eafbf8;
}

.section-head {
    margin-bottom: 38px;
}

.section-head p {
    margin-top: 10px;
}

.eyebrow {
    color: #058f84;
}

.products-grid {
    gap: 32px;
}

.product-card {
    padding: 18px;
    border: 1px solid #e6eaed;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 13px 34px rgba(31, 72, 84, .065);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(31, 72, 84, .10);
}

.product-topline {
    padding: 3px 3px 16px;
}

.product-visual {
    min-height: 292px;
    border: 1px solid #e9f3f4;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 86%, rgba(13, 184, 181, .14), transparent 28%),
        linear-gradient(150deg, #f4ffff, #eaf8fb);
}

.brand-orb {
    width: 134px;
    height: 134px;
    box-shadow: 0 24px 42px rgba(49, 91, 105, .17), inset 0 9px 18px rgba(255,255,255,.22);
}

.visual-shine {
    background: rgba(11, 167, 179, .13);
}

.discount {
    background: rgba(255, 255, 255, .9);
    color: #4c5966;
    box-shadow: 0 5px 16px rgba(38, 67, 77, .09);
}

.product-body {
    padding: 21px 7px 8px;
}

.product-body h3 {
    margin-top: 12px;
    font-size: 1.13rem;
}

.product-price-row {
    margin-top: 18px;
}

.round-link {
    background: linear-gradient(120deg, #ecfbf8, #eef8ff);
}

.feature-band {
    margin: 30px 0 0;
    padding: 82px 0;
    background: #effbf9;
    color: var(--ink);
}

.feature-grid {
    gap: 24px;
}

.feature-item,
.feature-item:first-child {
    padding: 26px;
    border: 1px solid #e2efee;
    border-radius: 22px;
    background: #ffffff;
}

.feature-icon {
    background: #e7fbf7;
    color: var(--teal-dark);
}

.feature-item p {
    color: var(--muted);
}

.card,
.dashboard-card,
.stat-card,
.dashboard-sidebar {
    border-color: #e7ecef;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(33, 73, 84, .055);
}

.card-pad {
    padding: 34px;
}

.auth-layout {
    background: #ffffff;
}

.auth-art {
    color: var(--ink);
    background:
        radial-gradient(circle at 24% 18%, rgba(9, 201, 177, .15), transparent 28%),
        linear-gradient(150deg, #effdfb, #eef9ff);
}

.auth-art h1 span {
    color: transparent;
    background: linear-gradient(120deg, #05bda1, #0a84cd);
    -webkit-background-clip: text;
    background-clip: text;
}

.auth-art p {
    color: #5c6b79;
}

.auth-benefits i {
    background: #dff8f4;
    color: var(--teal-dark);
}

.auth-form-side {
    padding: 76px 42px;
}

.product-detail-visual .product-visual,
.large-product-visual {
    background:
        radial-gradient(circle at 50% 84%, rgba(12, 185, 178, .14), transparent 28%),
        linear-gradient(150deg, #f4ffff, #eaf8fb);
}

.seller-card {
    padding: 22px;
    border-color: #e7edef;
    background: #fbfefe;
}

.checkout-grid {
    gap: 38px;
}

.checkout-step {
    background: #f4f7f8;
}

.checkout-step.active {
    background: #e8fbf8;
}

.dashboard-wrap {
    gap: 34px;
    padding: 58px 0 96px;
}

.dashboard-sidebar {
    padding: 18px;
}

.dashboard-nav a {
    padding: 13px 14px;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: #e9fbf8;
}

.dashboard-main {
    padding: 6px 0;
}

.dashboard-card {
    padding: 30px;
}

.stat-card {
    padding: 26px;
}

.stat-card.teal {
    background: linear-gradient(125deg, #08ccb0, #0a84cd);
}

.order-row {
    padding: 20px;
    border-color: #e7ecef;
    border-radius: 19px;
    background: #ffffff;
}

.order-thumb,
.summary-icon {
    background: linear-gradient(145deg, #e7fbf7, #e8f5ff);
    color: #087f86;
}

.delivery-item {
    padding: 18px;
    border-color: #e5edef;
    border-radius: 16px;
    background: #fbfefe;
}

.delivery-item pre {
    background: #eff9f8;
    color: #284b4d;
}

.site-footer {
    padding: 78px 0 28px;
    border-top: 1px solid #e5efef;
    background: #f3fbfa;
    color: #5d6875;
}

.footer-brand {
    color: var(--ink);
}

.site-footer p,
.site-footer a:not(.brand) {
    color: #6c7884;
}

.site-footer h3 {
    color: var(--ink);
}

.site-footer a:hover,
.trust-line {
    color: var(--teal-dark);
}

.footer-bottom {
    border-top-color: #dce9e8;
    color: #84909b;
}

@media (max-width: 1050px) {
    .header-quick {
        display: flex;
    }

    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 760px) {
    .shell,
    .narrow-shell {
        width: min(100% - 34px, 1240px);
    }

    .header-inner {
        height: 76px;
        gap: 8px;
    }

    .header-quick {
        margin-left: auto;
    }

    .header-avatar,
    .header-icon-link {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-button {
        margin-left: 0;
    }

    .mobile-menu {
        inset: 76px 0 auto 0;
    }

    .hero {
        min-height: 640px;
        padding: 78px 0 108px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 12vw, 4.15rem);
    }

    .hero-copy {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-copy > p {
        margin-inline: auto;
        font-size: 1rem;
    }

    .hero-showcase {
        display: none;
    }

    .hero-actions .button {
        min-width: 132px;
        width: auto;
    }

    .services-section {
        padding: 70px 0 48px;
    }

    .services-heading {
        align-items: center;
    }

    .service-tabs {
        margin-bottom: 32px;
        overflow-x: auto;
    }

    .service-tabs button,
    .service-tabs a {
        flex: 0 0 auto;
    }

    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px 14px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .category-panel {
        margin-top: 8px;
    }

    .page-section {
        padding: 68px 0;
    }

    .product-visual {
        min-height: 335px;
    }

    .feature-item,
    .feature-item:first-child,
    .feature-item:nth-child(3) {
        padding: 24px;
        border: 1px solid #e2efee;
    }

    .dashboard-wrap {
        padding: 30px 0 76px;
    }

    .dashboard-sidebar {
        padding: 11px;
        border-radius: 19px;
    }

    .dashboard-nav {
        padding-bottom: 2px;
    }

    .dashboard-nav a {
        min-width: 72px;
        padding: 12px;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        font-size: .72rem;
    }

    .dashboard-nav i {
        font-size: 1.1rem;
    }

    .dashboard-card {
        padding: 24px;
        border-radius: 24px;
    }

    .auth-art {
        padding: 72px 28px;
    }
}

@media (max-width: 430px) {
    .shell,
    .narrow-shell {
        width: min(100% - 26px, 1240px);
    }

    .brand-name {
        font-size: 1.22rem;
    }

    .header-quick {
        gap: 4px;
    }

    .header-icon-link {
        width: 34px;
    }

    .hero {
        min-height: 610px;
        padding-top: 66px;
    }

    .hero h1 {
        font-size: 2.72rem;
    }

    .hero-actions {
        flex-wrap: nowrap;
    }

    .hero-actions .button {
        width: 50%;
        min-width: 0;
    }

    .trust-row {
        align-items: flex-start;
        margin-top: 32px;
    }

    .trust-row small {
        display: block;
        max-width: 190px;
    }

    .services-heading .button {
        display: none;
    }

    .service-grid {
        gap: 27px 9px;
    }

    .service-icon {
        width: 57px;
        height: 57px;
        border-radius: 16px;
        font-size: 1.2rem;
    }

    .service-item strong {
        font-size: .75rem;
    }

    .product-card {
        padding: 15px;
    }

    .product-visual {
        min-height: 300px;
    }

    .card-pad {
        padding: 24px;
    }
}

/* V4 compact marketplace scale */
body {
    font-size: 15px;
}

.shell {
    width: min(1180px, calc(100% - 42px));
}

.header-inner {
    height: 72px;
    gap: 24px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.brand-name {
    font-size: 1.3rem;
}

.header-search {
    height: 41px;
}

.page-section {
    padding: 62px 0;
}

.page-section.compact {
    padding: 44px 0;
}

.hero {
    padding: 76px 0 86px;
}

.hero-grid {
    gap: 55px;
}

.hero h1 {
    font-size: clamp(2.7rem, 5.2vw, 4.45rem);
}

.hero-copy > p {
    margin: 22px 0;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-showcase {
    min-height: 385px;
}

.showcase-panel {
    padding: 22px;
    border-radius: 25px;
}

.showcase-card {
    margin-bottom: 12px;
    padding: 14px;
}

.services-section {
    padding: 58px 0 42px;
}

.service-tabs {
    margin-bottom: 28px;
}

.service-tabs button,
.service-tabs a {
    padding: 10px 19px;
    border-radius: 11px;
}

.service-grid {
    gap: 18px;
    margin-bottom: 34px;
}

.service-icon {
    width: 57px;
    height: 57px;
    border-radius: 16px;
    font-size: 1.28rem;
}

.section-head {
    margin-bottom: 28px;
}

.products-grid {
    gap: 21px;
}

.product-card {
    padding: 13px;
    border-radius: 21px;
}

.product-topline {
    padding-bottom: 10px;
}

.product-visual {
    min-height: 215px;
    border-radius: 16px;
}

.brand-orb {
    width: 96px;
    height: 96px;
}

.product-body {
    padding: 15px 4px 5px;
}

.product-body h3 {
    margin-top: 8px;
    font-size: 1rem;
}

.product-price-row {
    margin-top: 12px;
}

.feature-band {
    padding: 58px 0;
}

.feature-item,
.feature-item:first-child {
    padding: 20px;
    border-radius: 17px;
}

.card-pad,
.dashboard-card {
    padding: 22px;
}

.auth-art {
    padding: 56px;
}

.auth-art h1 {
    font-size: clamp(2.35rem, 4vw, 3.9rem);
}

.auth-form-side {
    padding: 52px 32px;
}

.product-detail-grid {
    gap: 30px;
}

.large-product-visual {
    min-height: 420px;
}

.product-detail-content h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}

.seller-card {
    padding: 17px;
}

.checkout-grid {
    grid-template-columns: 1fr 350px;
    gap: 26px;
}

.dashboard-wrap {
    display: block;
    max-width: 1120px;
    padding: 38px 0 68px;
}

.dashboard-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 26px;
    padding: 9px;
    overflow-x: auto;
    border-radius: 18px;
}

.dashboard-user {
    display: none;
}

.dashboard-nav {
    display: flex;
    gap: 5px;
    margin: 0;
}

.dashboard-nav a {
    min-width: 92px;
    flex: 1 0 auto;
    justify-content: center;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: .78rem;
}

.dashboard-main {
    max-width: 1020px;
    margin-inline: auto;
}

.dashboard-head {
    margin-bottom: 18px;
}

.dashboard-head h1 {
    font-size: 1.72rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    padding: 19px;
}

.stat-card strong {
    font-size: 1.75rem;
}

.dashboard-card {
    margin-bottom: 17px;
    border-radius: 18px;
}

.order-row {
    padding: 14px;
    border-radius: 14px;
}

.order-thumb {
    width: 52px;
    height: 52px;
    border-radius: 13px;
}

.seller-application-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 18px;
    align-items: start;
}

.seller-application-intro {
    position: sticky;
    top: 92px;
    background: linear-gradient(145deg, #effdfb, #edf8ff);
}

.seller-application-intro h2 {
    margin: 9px 0 10px;
}

.application-steps {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.application-steps > div {
    display: grid;
    grid-template-columns: 31px 1fr;
    gap: 2px 10px;
}

.application-steps span {
    display: grid;
    width: 31px;
    height: 31px;
    grid-row: 1 / 3;
    place-items: center;
    border-radius: 50%;
    background: #dff9f4;
    color: #078b82;
    font-size: .76rem;
    font-weight: 850;
}

.application-steps strong {
    font-size: .84rem;
}

.application-steps small {
    color: #6b7782;
    font-size: .72rem;
}

.application-review-list {
    display: grid;
    gap: 15px;
}

.application-review-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
}
.application-brand-preview {
    position: relative;
    height: 150px;
    margin: 0 0 25px;
    border-radius: 13px;
    background: linear-gradient(135deg, #e7f8f5, #eff0ff);
}
.application-brand-banner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.application-brand-logo {
    position: absolute;
    left: 17px;
    bottom: -19px;
    display: grid;
    width: 68px;
    height: 68px;
    overflow: hidden;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--teal), #078b89);
    box-shadow: 0 8px 20px rgba(26, 52, 66, .2);
    font-weight: 900;
}
.application-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-review-head,
.application-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.application-review-head h3,
.application-review-head p {
    margin: 0;
}

.application-review-head p {
    color: var(--muted);
    font-size: .75rem;
}

.application-answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.application-answer-grid > div {
    padding: 13px;
    border-radius: 11px;
    background: #f7fbfb;
}

.application-answer-grid strong {
    font-size: .73rem;
}

.application-answer-grid p {
    margin: 5px 0 0;
    color: #67737f;
    font-size: .76rem;
}

.application-actions {
    align-items: center;
    margin-top: 15px;
}

.application-reject-form {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
}

.application-reject-form input {
    width: min(310px, 100%);
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.homepage-product-section {
    background: #f1fbfb;
}

.homepage-featured {
    background: #fff;
}

.homepage-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.section-text-link {
    color: var(--teal-dark);
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

.market-rating-summary {
    padding: 8px 12px;
    border: 1px solid #dce9e9;
    border-radius: 999px;
    background: #fff;
    color: var(--teal-dark);
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

.market-testimonials-section {
    padding: 64px 0;
    background: linear-gradient(180deg, #f3fbfb, #eef9fb);
}

.market-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.market-testimonial-card {
    padding: 22px;
    border: 1px solid #e1eaec;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(30, 69, 80, .055);
}

.market-testimonial-top {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 11px;
}

.market-review-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #05cfb0, #0a88ce);
    color: #fff;
    font-size: .76rem;
    font-weight: 850;
}

.market-testimonial-top div {
    display: grid;
    min-width: 0;
}

.market-testimonial-top strong {
    font-size: .86rem;
}

.market-testimonial-top small {
    overflow: hidden;
    color: #7a858f;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-testimonial-top > span:last-child {
    color: #f6b800;
    font-size: .68rem;
    letter-spacing: .06em;
}

.market-testimonial-card > p {
    min-height: 91px;
    margin: 18px 0;
    color: #53606c;
    font-size: .82rem;
    line-height: 1.7;
}

.market-testimonial-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1f2;
    color: #89939c;
    font-size: .68rem;
}

.market-testimonial-card footer span {
    color: var(--teal-dark);
    font-weight: 750;
}

.market-faq-section {
    padding: 68px 0;
    background: #fff;
}

.market-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 64px;
}

.market-faq-intro {
    position: sticky;
    top: 100px;
}

.market-faq-intro h2 {
    margin: 10px 0 13px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.055em;
}

.market-faq-intro p {
    max-width: 430px;
    margin: 0 0 22px;
    color: #697580;
    font-size: .88rem;
}

.market-faq-intro > a {
    color: var(--teal-dark);
    font-size: .8rem;
    font-weight: 800;
}

.market-faq-list {
    display: grid;
    gap: 9px;
}

.market-faq-item {
    border: 1px solid #e2e9eb;
    border-radius: 14px;
    background: #fff;
}

.market-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: #26313d;
    font-size: .86rem;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.market-faq-item summary::-webkit-details-marker {
    display: none;
}

.market-faq-item summary span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #eafbf8;
    color: var(--teal-dark);
    transition: transform .2s ease;
}

.market-faq-item[open] summary span {
    transform: rotate(45deg);
}

.market-faq-item p {
    margin: 0;
    padding: 0 18px 17px;
    color: #66727d;
    font-size: .8rem;
    line-height: 1.7;
}

.market-home-cta {
    padding: 0 0 68px;
    background: #fff;
}

.market-home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 38px;
    border: 1px solid #cfe9e6;
    border-radius: 22px;
    background:
        radial-gradient(circle at 85% 20%, rgba(9, 150, 209, .12), transparent 26%),
        linear-gradient(125deg, #eafbf8, #edf8ff);
}

.market-home-cta h2 {
    margin: 7px 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -.045em;
}

.market-home-cta p {
    margin: 0;
    color: #64717d;
    font-size: .84rem;
}

.market-home-cta-inner > div:last-child {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

@media (max-width: 1050px) {
    .homepage-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-application-layout {
        grid-template-columns: 1fr;
    }

    .seller-application-intro {
        position: static;
    }

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

    .market-testimonials-grid,
    .market-faq-layout {
        grid-template-columns: 1fr;
    }

    .market-faq-layout {
        gap: 30px;
    }

    .market-faq-intro {
        position: static;
    }

    .market-testimonial-card > p {
        min-height: 0;
    }

    .market-home-cta-inner {
        display: grid;
    }
}

@media (max-width: 760px) {
    .shell,
    .narrow-shell {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        height: 66px;
    }

    .hero {
        min-height: 500px;
        padding: 56px 0 70px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .services-section,
    .page-section {
        padding-block: 48px;
    }

    .product-visual {
        min-height: 240px;
    }

    .large-product-visual {
        min-height: 320px;
    }

    .dashboard-wrap {
        padding: 24px 0 54px;
    }

    .dashboard-sidebar {
        margin-bottom: 20px;
    }

    .dashboard-nav a {
        min-width: 70px;
        padding: 9px;
        font-size: .65rem;
    }

    .dashboard-card {
        padding: 18px;
    }

    .application-answer-grid {
        grid-template-columns: 1fr;
    }

    .application-actions,
    .application-reject-form {
        align-items: stretch;
        flex-direction: column;
    }

    .application-reject-form input {
        width: 100%;
    }

    .homepage-products-grid {
        grid-template-columns: 1fr;
    }

    .section-text-link,
    .market-rating-summary {
        display: none;
    }

    .market-home-cta-inner {
        padding: 28px 24px;
    }

    .market-home-cta-inner > div:last-child {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.chat-admin-layout { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 20px; align-items: start; }
.chat-admin-list { padding: 0; overflow: hidden; }
.chat-admin-list .dashboard-card-head { padding: 22px 22px 4px; }
.chat-admin-list > a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.chat-admin-list > a:hover,
.chat-admin-list > a.active { background: #effbf9; }
.chat-admin-list > a > span:nth-child(2) { min-width: 0; }
.chat-admin-list strong,
.chat-admin-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-admin-list small { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.chat-admin-thread { min-height: 550px; }
.chat-admin-messages { display: grid; gap: 13px; max-height: 480px; padding: 18px; overflow-y: auto; border-radius: 14px; background: #f5f9f9; }
.chat-admin-messages > div { max-width: 78%; padding: 13px; border-radius: 5px 14px 14px; background: #fff; }
.chat-admin-messages > div.mine { margin-left: auto; border-radius: 14px 5px 14px 14px; background: #ddf8f3; }
.chat-admin-messages > .chat-conversation-empty { display: grid; max-width: none; min-height: 290px; place-items: center; align-content: center; text-align: center; background: transparent; color: var(--muted); }
.chat-conversation-empty i { margin-bottom: 10px; color: var(--teal); font-size: 2rem; }
.chat-conversation-empty p { margin: 5px 0 0; }
.chat-admin-messages p { margin: 6px 0; font-size: .84rem; line-height: 1.55; }
.chat-admin-messages small { color: var(--muted); font-size: .66rem; }
.chat-admin-compose { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; margin-top: 15px; }
.chat-admin-compose textarea { min-height: 54px; padding: 12px; resize: vertical; border: 1px solid var(--line); border-radius: 11px; font: inherit; }
.chat-close-form { margin-top: 10px; text-align: right; }
.seller-wallet-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.withdrawal-admin-list { display: grid; gap: 14px; }
.withdrawal-admin-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 320px); gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.withdrawal-admin-card h3,
.withdrawal-admin-card p { margin: 0 0 7px; }
.withdrawal-admin-card p { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.withdrawal-admin-form { display: grid; gap: 8px; width: 100%; }
.withdrawal-admin-form input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
@media (max-width: 900px) {
    .chat-admin-layout { grid-template-columns: 1fr; }
    .seller-wallet-layout,
    .withdrawal-admin-card { grid-template-columns: 1fr; }
}

/* Marketplace product-grid upgrade: preserve the theme while matching the
   compact product layout supplied for desktop and mobile. */
.desktop-cart-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
.desktop-cart-link b,
.header-cart-icon b {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding-inline: 4px;
    border-radius: 999px;
    color: #fff;
    background: #087f8f;
    font-size: .62rem;
    line-height: 1;
}
.header-cart-icon {
    position: relative;
}
.header-cart-icon b {
    position: absolute;
    top: -6px;
    right: -7px;
}

.homepage-products-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e4e7f1;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(39, 49, 80, .08);
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: #cec9f6;
    box-shadow: 0 18px 38px rgba(45, 51, 89, .13);
}
.product-card .product-visual {
    position: relative;
    display: grid;
    min-height: 158px;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,.97), rgba(242,243,250,.9) 58%, #eceef7),
        var(--product-gradient);
}
.product-card .product-visual::after {
    background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.5), transparent 75%);
}
.product-card .brand-orb {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border: 0;
    border-radius: 23px;
    color: #fff;
    background: var(--product-gradient);
    box-shadow: 0 12px 22px rgba(25, 33, 64, .22);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -.06em;
}
.product-card-image {
    width: 94px;
    height: 94px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 12px 22px rgba(25, 33, 64, .2);
}
.product-card .stock-pill,
.product-featured-pill,
.product-card .discount {
    position: absolute;
    z-index: 3;
    top: 13px;
    border-radius: 999px;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 13px rgba(12, 116, 90, .2);
}
.product-card .stock-pill {
    left: 13px;
    padding: 8px 11px;
    background: #0eb281;
}
.product-featured-pill {
    right: 13px;
    padding: 8px 10px;
    background: #0ca7a4;
}
.product-card .discount {
    top: auto;
    right: 12px;
    bottom: 10px;
    padding: 6px 8px;
    background: rgba(36, 42, 68, .76);
}
.product-card .product-body {
    display: flex;
    min-height: 188px;
    flex: 1;
    flex-direction: column;
    padding: 17px 17px 15px;
}
.product-card .product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #7d8496;
    font-size: .64rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.product-card .product-meta span:last-child {
    color: #efaa12;
    white-space: nowrap;
}
.product-card .product-body h3 {
    min-height: 43px;
    margin: 9px 0 6px;
    overflow: hidden;
    color: #1c2234;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-card .seller-name {
    margin: 0;
    overflow: hidden;
    color: #858b99;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card .product-price-row {
    margin-top: 10px;
}
.product-card .product-price-row > span {
    display: flex;
    align-items: baseline;
    gap: 7px;
}
.product-card .product-price-row strong {
    color: #078b89;
    font-size: 1.23rem;
    font-weight: 850;
}
.product-card .product-price-row del {
    color: #a1a6b3;
    font-size: .68rem;
}
.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
}
.product-card-actions form {
    margin: 0;
}
.product-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #596074;
    font-size: .78rem;
    font-weight: 700;
}
.product-view-link:hover {
    color: #087f8f;
}
.product-cart-button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, #12bdb7, #078b89);
    box-shadow: 0 8px 18px rgba(8, 139, 137, .27);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(8, 139, 137, .34);
}
.product-cart-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.homepage-product-section {
    padding-block: 62px;
}
.homepage-featured {
    background: #fbfbfe;
}
.homepage-best-selling {
    background: #fff;
}

.top-stores-section {
    background: linear-gradient(180deg, #f8fbfb, #fff);
}
.top-stores-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}
.top-store-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 22px;
    border: 1px solid #e1e8ea;
    border-radius: 20px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 10px 27px rgba(31, 60, 76, .07);
}
.top-store-card:hover {
    transform: translateY(-3px);
    border-color: #a9ddd5;
    box-shadow: 0 18px 36px rgba(31, 60, 76, .12);
}
.top-store-logo,
.store-hero-logo {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--teal), #087f8f);
    box-shadow: 0 9px 19px rgba(14, 155, 142, .22);
    font-size: 1.35rem;
    font-weight: 900;
}
.top-store-card h3 {
    margin: 2px 0 4px;
    font-size: 1rem;
}
.top-store-card p {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
}
.top-store-card dl {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 4px 0 0;
}
.top-store-card dl div {
    padding: 10px 8px;
    border-radius: 12px;
    background: #f5f8fa;
    text-align: center;
}
.top-store-card dt {
    color: var(--muted);
    font-size: .62rem;
}
.top-store-card dd {
    margin: 3px 0 0;
    font-size: .9rem;
    font-weight: 800;
}
.top-store-link {
    grid-column: 1 / -1;
    color: var(--teal-dark);
    font-size: .76rem;
    font-weight: 800;
}
.marketplace-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}
.cart-product-list {
    display: grid;
    gap: 14px;
}
.cart-product-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 120px 125px;
    gap: 17px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 60, 74, .06);
}
.cart-product-media {
    display: grid;
    min-height: 110px;
    place-items: center;
    border-radius: 15px;
    background: #f1f3f9;
}
.cart-product-media span {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: var(--product-gradient);
    font-weight: 900;
    box-shadow: 0 8px 17px rgba(32, 45, 81, .18);
}
.cart-product-copy h2 {
    margin: 5px 0;
    font-size: 1rem;
}
.cart-product-copy p,
.cart-product-copy strong,
.cart-product-category {
    display: block;
    margin: 4px 0;
    color: var(--muted);
    font-size: .72rem;
}
.cart-product-copy strong {
    color: #078b89;
    font-size: .88rem;
}
.cart-quantity-form {
    display: grid;
    gap: 8px;
}
.cart-quantity-form label {
    color: var(--muted);
    font-size: .68rem;
}
.cart-quantity-form input {
    width: 100%;
    margin-top: 5px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.cart-row-total {
    display: grid;
    gap: 7px;
    justify-items: end;
}
.cart-row-total > span {
    color: var(--muted);
    font-size: .68rem;
}
.cart-row-total > strong {
    color: #1d2734;
    font-size: 1rem;
}
.cart-remove-button {
    padding: 0;
    border: 0;
    color: #be3945;
    background: transparent;
    font-size: .7rem;
    cursor: pointer;
}
.cart-summary-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 13px;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 32px rgba(28, 55, 70, .09);
}
.cart-summary-card > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .83rem;
}
.cart-summary-card .cart-summary-total {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}
.cart-summary-card .cart-summary-total strong {
    color: #087f8f;
    font-size: 1.25rem;
}
.cart-summary-card p {
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.55;
}
.cart-empty-icon {
    display: block;
    margin-bottom: 10px;
    font-size: 3rem;
}
.product-detail-cart-form {
    margin-top: 10px;
}

.store-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0;
    color: #fff;
    background: linear-gradient(125deg, #053f4c, #087e79 58%, #087f8f);
}
.store-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6, 25, 38, .9), rgba(6, 52, 60, .74) 58%, rgba(40, 31, 97, .72));
    content: "";
}
.store-hero-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.store-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
}
.store-hero-logo {
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255,255,255,.38);
    font-size: 1.8rem;
}
.store-hero-logo img,
.seller-logo img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}
.store-hero h1 {
    margin: 5px 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}
.store-hero p {
    max-width: 680px;
    margin: 4px 0;
    color: rgba(255,255,255,.78);
}
.store-hero dl {
    display: grid;
    grid-template-columns: repeat(3, 92px);
    gap: 8px;
}
.store-hero dl div {
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 13px;
    background: rgba(255,255,255,.1);
    text-align: center;
}
.store-hero dt {
    font-size: .62rem;
}
.store-hero dd {
    margin: 3px 0 0;
    font-size: 1rem;
    font-weight: 850;
}
.official-product-form,
.official-stock-form {
    display: grid;
    gap: 4px;
    margin-top: 20px;
}
.official-feature-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 7px 0 16px;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 940px) {
    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .top-stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary-card {
        position: static;
    }
    .cart-product-row {
        grid-template-columns: 105px minmax(0, 1fr) 110px;
    }
    .cart-row-total {
        grid-column: 2 / -1;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        justify-items: start;
    }
    .store-hero-inner {
        grid-template-columns: auto 1fr;
    }
    .store-hero dl {
        grid-column: 1 / -1;
    }
}
@media (max-width: 700px) {
    .homepage-products-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .product-card {
        border-radius: 17px;
    }
    .product-card .product-visual {
        min-height: 132px;
    }
    .product-card .brand-orb,
    .product-card-image {
        width: 72px;
        height: 72px;
        border-radius: 19px;
        font-size: 1.35rem;
    }
    .product-card .stock-pill,
    .product-featured-pill {
        top: 10px;
        padding: 7px 8px;
        font-size: .58rem;
    }
    .product-card .stock-pill {
        left: 10px;
    }
    .product-featured-pill {
        right: 10px;
    }
    .product-card .discount {
        right: 9px;
        bottom: 8px;
        font-size: .55rem;
    }
    .product-card .product-body {
        min-height: 178px;
        padding: 14px 13px 12px;
    }
    .product-card .product-meta {
        font-size: .55rem;
    }
    .product-card .product-body h3 {
        min-height: 42px;
        font-size: .8rem;
    }
    .product-card .seller-name {
        font-size: .61rem;
    }
    .product-card .product-price-row strong {
        font-size: 1.08rem;
    }
    .product-card .product-price-row del {
        display: none;
    }
    .product-view-link {
        font-size: .69rem;
    }
    .product-cart-button {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .top-stores-grid,
    .marketplace-category-grid {
        grid-template-columns: 1fr;
    }
    .cart-product-row {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 12px;
    }
    .cart-product-media {
        min-height: 88px;
    }
    .cart-product-media span {
        width: 56px;
        height: 56px;
    }
    .cart-quantity-form {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: end;
    }
    .cart-row-total {
        grid-column: 1 / -1;
    }
    .store-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .store-hero-logo {
        margin-inline: auto;
    }
    .store-hero dl {
        grid-column: auto;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 420px) {
    .homepage-products-grid,
    .products-grid {
        gap: 9px;
    }
    .product-card .product-visual {
        min-height: 118px;
    }
    .product-card .product-body {
        min-height: 169px;
        padding: 12px 11px 10px;
    }
    .product-card .product-meta span:last-child,
    .product-featured-pill {
        display: none;
    }
    .product-card .product-body h3 {
        font-size: .75rem;
    }
    .product-cart-button {
        width: 37px;
        height: 37px;
    }
}

/* Expanded multi-category marketplace */
.form-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.catalog-account-fields {
    margin: 4px 0 18px;
    padding: 18px;
    border: 1px solid #dce8ee;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7fbff, #f1fffb);
}
.catalog-account-fields[hidden] {
    display: none;
}
.compliance-confirm {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 18px 0;
    padding: 15px 17px;
    border: 1px solid #cde6dd;
    border-radius: 14px;
    background: #f1fbf7;
    color: #23443a;
    font-size: .87rem;
    font-weight: 650;
    line-height: 1.55;
}
.compliance-confirm input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--teal);
}
.inventory-upload-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
    align-items: stretch;
}
.inventory-upload-grid .field {
    padding: 16px;
    border: 1px solid #dfe8ed;
    border-radius: 16px;
    background: #fbfdfe;
}
.file-row-count,
[data-row-count] {
    color: #078e7d;
}
.marketplace-live-stats {
    position: relative;
    z-index: 4;
    margin-top: -26px;
}
.marketplace-live-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(13, 55, 66, .1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(18, 56, 65, .12);
}
.marketplace-live-stats-grid div {
    display: grid;
    gap: 3px;
    padding: 20px 24px;
    border-right: 1px solid #e7eef1;
}
.marketplace-live-stats-grid div:last-child {
    border-right: 0;
}
.marketplace-live-stats-grid strong {
    color: #102f38;
    font-size: 1.55rem;
    letter-spacing: -.04em;
}
.marketplace-live-stats-grid span {
    color: #6a7f86;
    font-size: .78rem;
    font-weight: 650;
}
.homepage-catalog-preview {
    padding: 54px 0 46px;
    background: #fff;
}
.homepage-catalog-preview-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
}
.homepage-catalog-preview-head h2 {
    margin: 7px 0 8px;
    color: #102f38;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -.045em;
}
.homepage-catalog-preview-head p {
    max-width: 760px;
    margin: 0;
    color: #647b82;
}
.homepage-catalog-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}
.homepage-catalog-preview-grid > a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid #dfe9ec;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f9fcfd);
    color: #173740;
    box-shadow: 0 9px 24px rgba(25, 60, 69, .055);
}
.homepage-catalog-preview-grid > a:hover {
    border-color: var(--catalog-color);
    transform: translateY(-2px);
}
.homepage-catalog-preview-grid > a > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--catalog-color) 12%, white);
    color: var(--catalog-color);
    font-size: .9rem;
    font-weight: 850;
}
.homepage-catalog-preview-grid > a > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.homepage-catalog-preview-grid > a strong {
    font-size: .8rem;
}
.homepage-catalog-preview-grid > a small {
    overflow: hidden;
    color: #778b91;
    font-size: .61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.homepage-catalog-preview-grid > a b {
    grid-column: 2;
    color: #078e7d;
    font-size: .63rem;
}
.catalog-page-hero {
    padding: 74px 0 64px;
    background:
        radial-gradient(circle at 80% 20%, rgba(16, 185, 168, .18), transparent 32%),
        linear-gradient(135deg, #102f38, #164a56);
    color: #fff;
    text-align: center;
}
.catalog-page-hero h1 {
    max-width: 850px;
    margin: 10px auto 14px;
    font-size: clamp(2rem, 5vw, 3.65rem);
    letter-spacing: -.055em;
}
.catalog-page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #c7dadd;
}
.catalog-page-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 760px;
    margin: 28px auto 0;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 15px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
}
.catalog-page-search input {
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: #fff;
}
.catalog-directory-section {
    background: #f7fafb;
}
.catalog-page-category-grid {
    margin-top: 0;
}
.catalog-category-card.active {
    border-color: var(--catalog-color);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--catalog-color) 15%, transparent), 0 16px 36px rgba(31,64,73,.1);
}
.catalog-products-section {
    background: #fff;
}
.catalog-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 26px;
}
.catalog-category-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e0e8ec;
    border-radius: 18px;
    background: #fff;
    color: #16343d;
    box-shadow: 0 10px 28px rgba(31, 64, 73, .06);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.catalog-category-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--catalog-color) 35%, #dce7eb);
    box-shadow: 0 16px 36px rgba(31, 64, 73, .11);
}
.catalog-category-card .service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--catalog-color) 12%, #fff);
    color: var(--catalog-color);
    font-size: 1rem;
    font-weight: 850;
}
.catalog-category-card > span:nth-child(2) {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.catalog-category-card strong {
    font-size: .92rem;
    line-height: 1.25;
}
.catalog-category-card small {
    overflow: hidden;
    color: #75888e;
    font-size: .68rem;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catalog-category-card dl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 5px 0 0;
    padding-top: 12px;
    border-top: 1px solid #edf2f4;
}
.catalog-category-card dl div {
    display: grid;
    gap: 2px;
}
.catalog-category-card dt {
    color: #8a9ba0;
    font-size: .61rem;
    font-weight: 650;
    text-transform: uppercase;
}
.catalog-category-card dd {
    margin: 0;
    color: #16343d;
    font-size: .88rem;
    font-weight: 800;
}
.marketplace-filter-bar {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, minmax(130px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin: 28px 0 18px;
    padding: 18px;
    border: 1px solid #dce7eb;
    border-radius: 18px;
    background: #f8fbfc;
}
.marketplace-filter-bar .field {
    margin: 0;
}
.marketplace-filter-bar label {
    font-size: .68rem;
}
.marketplace-filter-bar input,
.marketplace-filter-bar select {
    min-height: 44px;
    padding: 10px 11px;
    font-size: .78rem;
}
.seller-leaderboards-section {
    background: linear-gradient(180deg, #f8fbfc, #fff);
}
.seller-leaderboards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.seller-leaderboard-card {
    overflow: hidden;
    border: 1px solid #dce7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(24, 55, 64, .07);
}
.seller-leaderboard-card > header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    background: linear-gradient(135deg, #ecfffa, #f5fbff);
    border-bottom: 1px solid #e2ecef;
}
.seller-leaderboard-card.monthly > header {
    background: linear-gradient(135deg, #f5f0ff, #f7fbff);
}
.seller-leaderboard-card header span {
    color: #078e7d;
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.seller-leaderboard-card header h3 {
    margin: 3px 0 0;
    font-size: 1.14rem;
}
.seller-leaderboard-card header > strong {
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    color: #5f737a;
    font-size: .67rem;
}
.seller-leaderboard-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.seller-leaderboard-card li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 1px solid #edf2f4;
}
.seller-leaderboard-card li:last-child {
    border-bottom: 0;
}
.leader-rank {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: #eff6f7;
    color: #60777e;
    font-size: .7rem;
    font-weight: 800;
}
.seller-leaderboard-card li:first-child .leader-rank {
    background: #fff1bd;
    color: #9a6800;
}
.seller-leaderboard-card li a {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
    color: #183640;
}
.seller-leaderboard-card li a > i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: linear-gradient(145deg, #08b9a8, #167dc4);
    color: #fff;
    font-style: normal;
    font-weight: 800;
}
.seller-leaderboard-card li a > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.seller-leaderboard-card li a strong {
    overflow: hidden;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seller-leaderboard-card li a small {
    overflow: hidden;
    color: #7b8e94;
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seller-leaderboard-card li > b {
    color: #0b8175;
    font-size: .74rem;
    white-space: nowrap;
}
.product-card .product-body {
    min-height: 242px;
}
.product-summary {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    color: #6e8187;
    font-size: .7rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-attribute-row {
    display: flex;
    gap: 5px;
    overflow: hidden;
}
.product-attribute-row span {
    overflow: hidden;
    padding: 4px 7px;
    border-radius: 7px;
    background: #f0f6f7;
    color: #577078;
    font-size: .58rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0;
}
.product-spec-grid div {
    padding: 11px 12px;
    border: 1px solid #e3ecef;
    border-radius: 12px;
    background: #fbfdfe;
}
.product-spec-grid dt {
    color: #84969b;
    font-size: .61rem;
    font-weight: 700;
    text-transform: uppercase;
}
.product-spec-grid dd {
    margin: 3px 0 0;
    color: #1c3b44;
    font-size: .75rem;
    font-weight: 750;
}
.product-detail-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-description-block {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e0eaed;
    border-radius: 16px;
    background: #fbfdfe;
}
.detail-description-block h2,
.detail-description-block h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}
.detail-description-block h3 {
    margin-top: 16px;
    font-size: .85rem;
}
.detail-description-block p {
    margin: 0;
    color: #61777e;
    font-size: .82rem;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .form-grid-four,
    .catalog-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .marketplace-filter-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .homepage-catalog-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .inventory-upload-grid,
    .seller-leaderboards-grid {
        grid-template-columns: 1fr;
    }
    .marketplace-live-stats {
        margin-top: 0;
    }
    .marketplace-live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0;
    }
    .marketplace-live-stats-grid div:nth-child(2) {
        border-right: 0;
    }
    .marketplace-live-stats-grid div:nth-child(-n+2) {
        border-bottom: 1px solid #e7eef1;
    }
    .catalog-category-grid,
    .form-grid-four,
    .marketplace-filter-bar {
        grid-template-columns: 1fr;
    }
    .marketplace-filter-bar .button {
        width: 100%;
    }
    .product-card .product-body {
        min-height: 226px;
    }
    .product-spec-grid {
        grid-template-columns: 1fr;
    }
    .homepage-catalog-preview {
        padding: 38px 0;
    }
    .homepage-catalog-preview-head {
        display: grid;
        align-items: start;
    }
    .homepage-catalog-preview-head .button {
        width: 100%;
    }
    .homepage-catalog-preview-grid,
    .catalog-page-search {
        grid-template-columns: 1fr;
    }
    .catalog-page-hero {
        padding: 52px 0 46px;
    }
}

/* Final usability override: intentionally last in the cascade. */
body { font-weight: 400; line-height: 1.65; }
p, small, td, label, input, select, textarea, button { font-weight: 400; }
h1, h2, h3, h4, strong, .button, .buyer-primary-button, .buyer-outline-button { font-weight: 600; }
@media (max-width: 760px) {
    .dashboard-sidebar { position: static; overflow-x: auto; }
    .dashboard-nav { display: flex; min-width: max-content; }
    .dashboard-nav a { flex: 0 0 auto; }
    .buyer-chat-window, .dispute-room { max-width: 100vw; }
    .buyer-chat-compose { grid-template-columns: minmax(0,1fr) 42px; }
    .buyer-chat-compose textarea { grid-column: 1 / -1; }
}

/* Unified AccVilla teal marketplace theme and buyer-style seller workspace. */
:root {
    --purple: #0ca7a4;
    --purple-dark: #078b89;
    --teal: #0ca7a4;
    --teal-dark: #078b89;
}
.button,
.button-gradient { background: #0ca7a4; border-color: #0ca7a4; color: #fff; }
.button:hover,
.button-gradient:hover { background: #078b89; border-color: #078b89; color: #fff; }
.button-outline { background: #fff; border-color: #0ca7a4; color: #078b89; }
.button-outline:hover { background: #eaf9f8; color: #078b89; }
.seller-panel-page { min-height: 100vh; background: #fbfcfe; }
.seller-overview-grid { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); }
.seller-wallet-stats { grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr)); }
.seller-recent-sales-card { padding: 0; overflow: hidden; }
.seller-recent-sales-card .buyer-card-head { margin: 0; padding: 20px 22px; }
.seller-sales-table .buyer-table-head,
.seller-sales-table .buyer-table-row { grid-template-columns: 1.1fr 2fr 1.2fr .9fr 1fr 1fr !important; }
.seller-products-table .buyer-table-head,
.seller-products-table .buyer-table-row { grid-template-columns: 2.35fr .85fr .8fr .7fr .7fr 1.55fr; }
.seller-orders-table .buyer-table-head,
.seller-orders-table .buyer-table-row { grid-template-columns: 1.1fr 1.8fr 1fr .75fr 1fr 1.15fr .9fr; }
.seller-disputes-table .buyer-table-head,
.seller-disputes-table .buyer-table-row { grid-template-columns: 1fr 1fr 1.65fr 1fr 1.65fr .9fr .9fr; }
.seller-form-card > h2 { margin: 8px 0; }
.seller-form-card form > .buyer-primary-button { margin-top: 18px; }
.seller-data-card .seller-card-heading { margin: 0; padding: 20px 22px; }
.seller-data-card .table-wrap { border-top: 1px solid var(--buyer-border); }
.seller-data-card table { margin: 0; }
.seller-data-card th { background: #fbfcfe; }
.seller-data-card th,
.seller-data-card td { padding: 16px 19px; }
.seller-panel-page .table-actions .buyer-outline-button { min-height: 36px; padding: 7px 12px; white-space: nowrap; }
@media (max-width: 1180px) {
    .seller-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .seller-overview-grid,
    .seller-wallet-stats { grid-template-columns: 1fr 1fr; }
    .seller-overview-grid .buyer-stat-balance,
    .seller-wallet-stats .buyer-stat-balance { grid-column: 1 / -1; }
    .seller-sales-table .buyer-table-row,
    .seller-products-table .buyer-table-row,
    .seller-orders-table .buyer-table-row,
    .seller-disputes-table .buyer-table-row { grid-template-columns: 1fr 1fr !important; }
    .seller-data-card .seller-card-heading { padding: 18px; }
}
@media (max-width: 620px) {
    .buyer-profile summary > span:nth-child(2) { display: none; }
    .buyer-deposit-address { grid-template-columns: 1fr; }
    .buyer-deposit-address .buyer-outline-button { width: 100%; }
}

/* Global AccVilla identity: one homepage-derived palette for every page and panel. */
.accvilla-theme {
    --teal: #0ca7a4;
    --teal-dark: #078b89;
    --blue: #087fda;
    --ink: #111a2d;
    --muted: #687587;
    --line: #dce9e8;
    --soft: #edf9f7;
    --purple: #0ca7a4;
    --purple-dark: #078b89;
    --market-accent: #0ca7a4;
    --market-accent-dark: #078b89;
    --market-pink: #19c5b4;
    --market-bg: #f2faf9;
    --market-card: #fff;
    --market-ink: #111a2d;
    --market-muted: #687587;
    --market-border: #dce9e8;
    --market-shadow: 0 16px 42px rgba(8, 127, 119, .09);
    --market-shadow-hover: 0 24px 58px rgba(8, 127, 119, .15);
}
.accvilla-theme .brand-mark,
.accvilla-theme .market-brand-mark,
.accvilla-theme .top-store-logo,
.accvilla-theme .store-hero-logo,
.accvilla-theme .seller-logo,
.accvilla-theme .header-avatar {
    background: linear-gradient(145deg, #12bdb7, #078b89);
    box-shadow: 0 10px 22px rgba(7, 139, 137, .22);
}
.accvilla-theme .brand-name span,
.accvilla-theme .market-brand-name span { color: #0ca7a4; }
.accvilla-theme .header-action-icon b,
.accvilla-theme .desktop-cart-link b,
.accvilla-theme .header-cart-icon b { background: #0ca7a4; }
.accvilla-theme .product-price-row strong,
.accvilla-theme .cart-product-copy strong,
.accvilla-theme .cart-summary-card .cart-summary-total strong { color: #078b89; }
.accvilla-theme .product-view-link:hover { color: #078b89; }
.accvilla-theme .product-cart-button {
    background: linear-gradient(145deg, #0ca7a4, #078b89);
    box-shadow: 0 8px 18px rgba(8, 139, 137, .25);
}
.accvilla-theme .product-cart-button:hover { box-shadow: 0 11px 22px rgba(8, 139, 137, .32); }
.accvilla-theme .application-brand-logo,
.accvilla-theme .seller-brand-summary-logo { background: linear-gradient(145deg, #0ca7a4, #087f8f); }
.accvilla-theme .store-hero { background: linear-gradient(125deg, #0d2b31, #087e79 58%, #087f8f); }
.accvilla-theme .auth-art,
.accvilla-theme .buyer-seller-intro { background: linear-gradient(145deg, #0d2b31, #087f77); }
