/* ===== KMJEE Marketplace — embeds inside WordPress theme ===== */

/* CSS variables — navy + professional blue palette */
:root {
    --cpp-mp-primary: #C6912A;
    --cpp-mp-primary-dark: #A9791F;
    --cpp-mp-navy: #0f172a;
    --cpp-mp-navy-2: #1e293b;
    --cpp-mp-accent: #F0C060;
    --cpp-mp-ink: #1a1f36;
    --cpp-mp-muted: #64748b;
    --cpp-mp-border: #e2e8f0;
    --cpp-mp-bg: #f8fafc;
}

/* Reset everything inside the marketplace wrap so the theme doesn't bleed in */
.cpp-marketplace-wrap {
    background: #fff;
    color: var(--cpp-mp-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}
.cpp-marketplace-wrap *,
.cpp-marketplace-wrap *::before,
.cpp-marketplace-wrap *::after { box-sizing: border-box; }
.cpp-marketplace-wrap h1,
.cpp-marketplace-wrap h2,
.cpp-marketplace-wrap h3 {
    font-family: inherit;
    color: var(--cpp-mp-ink);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}
.cpp-marketplace-wrap p { margin: 0; }
.cpp-marketplace-wrap ul { list-style: none; padding: 0; margin: 0; }
.cpp-marketplace-wrap a { color: var(--cpp-mp-primary); text-decoration: none; }
.cpp-marketplace-wrap a:hover { color: var(--cpp-mp-primary-dark); }

.cpp-marketplace-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ HERO ============ */
.cpp-mp-hero {
    background: linear-gradient(135deg, var(--cpp-mp-navy) 0%, var(--cpp-mp-primary) 100%);
    color: #fff;
    padding: 70px 0 60px;
    margin: 0 -24px 48px;
}
.cpp-mp-hero-sm { padding: 50px 0 40px; margin-bottom: 32px; }
.cpp-mp-pad-y { padding: 40px 0; }
.cpp-mp-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; text-align: center; }
.cpp-mp-hero-kicker {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.cpp-mp-hero-title {
    font-size: 44px; font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.15;
    color: #fff !important;
    margin-bottom: 16px;
}
.cpp-mp-hero-title span { color: #0f172a !important; }
.cpp-mp-hero-sub {
    font-size: 18px; color: rgba(255,255,255,0.82);
    margin-bottom: 32px; line-height: 1.5;
}

/* Hero inline search */
.cpp-mp-hero-search {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 12px 36px -12px rgba(0,0,0,0.35);
    text-align: left;
    color: var(--cpp-mp-ink);
}
.cpp-mp-hero-search-row {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 10px;
    align-items: center;
}
.cpp-mp-hero-search-row-compact {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--cpp-mp-border);
}
.cpp-mp-range-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}
.cpp-mp-range {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 150px;
}
.cpp-mp-range label {
    font-size: 12px;
    font-weight: 700;
    color: var(--cpp-mp-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.cpp-mp-range span { color: var(--cpp-mp-muted); font-size: 13px; }
.cpp-mp-range input[type=number] {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.cpp-mp-range input[type=number]:focus {
    outline: none;
    border-color: var(--cpp-mp-accent);
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06), 0 0 0 3px rgba(238,181,65,.25);
}
.cpp-mp-range--select select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.cpp-mp-range--select select:focus {
    outline: none;
    border-color: var(--cpp-mp-accent);
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06), 0 0 0 3px rgba(238,181,65,.25);
}
@media (max-width: 700px) {
    .cpp-mp-range { flex: 1 1 100%; }
}
.cpp-mp-hero-search input[type=search],
.cpp-mp-hero-search input[type=number],
.cpp-mp-hero-search select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: var(--cpp-mp-ink);
}
.cpp-mp-hero-search input:focus,
.cpp-mp-hero-search select:focus {
    outline: none;
    border-color: var(--cpp-mp-primary);
    box-shadow: 0 0 0 3px rgba(30,64,175,0.12);
}
.cpp-mp-mini-range {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 6px;
    align-items: center;
    font-size: 12px;
}
.cpp-mp-mini-range label {
    font-size: 11px; font-weight: 700;
    color: var(--cpp-mp-muted);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.cpp-mp-mini-range span { color: #cbd5e1; font-size: 12px; padding: 0 2px; }
.cpp-mp-mini-range input { padding: 7px 8px !important; font-size: 13px !important; }

@media (max-width: 768px) {
    .cpp-mp-hero { padding: 40px 0 32px; }
    .cpp-mp-hero-title { font-size: 30px; }
    .cpp-mp-hero-sub { font-size: 16px; }
    .cpp-mp-hero-search-row,
    .cpp-mp-hero-search-row-compact { grid-template-columns: 1fr; }
}

/* ============ TRUST / STATS ============ */
.cpp-mp-trust { margin-bottom: 64px; }
.cpp-mp-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cpp-mp-stat {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
}
.cpp-mp-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -10px rgba(15,23,42,0.18);
}
.cpp-mp-stat-num {
    font-size: 36px; font-weight: 800;
    color: var(--cpp-mp-primary);
    line-height: 1; margin-bottom: 8px;
}
.cpp-mp-stat-lbl {
    font-size: 13px; color: var(--cpp-mp-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .cpp-mp-trust-stats { grid-template-columns: repeat(2, 1fr); }
    .cpp-mp-stat-num { font-size: 28px; }
}

/* ============ CATALOG SECTION HEAD ============ */
.cpp-mp-catalog { margin-bottom: 64px; }
.cpp-mp-catalog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; gap: 14px;
    margin-bottom: 20px;
}
.cpp-mp-catalog-head h2 {
    font-size: 26px; font-weight: 700;
    letter-spacing: -0.01em;
}
.cpp-mp-catalog-meta {
    display: flex; align-items: center; gap: 18px;
    color: var(--cpp-mp-muted); font-size: 14px;
}
.cpp-mp-sort { display: flex; gap: 8px; align-items: center; }
.cpp-mp-sort label { font-size: 13px; font-weight: 600; }
.cpp-mp-sort select {
    padding: 7px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: var(--cpp-mp-ink);
}

/* ============ CATALOG TABLE ============ */
.cpp-mp-table-wrap {
    border: 1px solid var(--cpp-mp-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.cpp-mp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.cpp-mp-table thead th {
    background: linear-gradient(180deg, #FBF0DA 0%, #F5E3BA 100%);
    text-align: left;
    padding: 16px 20px;
    font-size: 12.5px; font-weight: 800;
    font-family: var(--vfx-font-display, inherit);
    color: var(--cpp-mp-primary-dark);
    text-transform: uppercase; letter-spacing: 0.06em;
    border-bottom: 2px solid #EEB541;
}
.cpp-mp-table thead th.num { text-align: right; }
.cpp-mp-table tbody td {
    padding: 18px 20px;
    box-shadow: inset 0 -1px 0 #f1f5f9;
    font-size: 14.5px;
    color: var(--cpp-mp-ink);
    transition: background .15s ease;
}
.cpp-mp-table tbody tr:last-child td { box-shadow: none; }
.cpp-mp-table tbody tr:hover td { background: #FBF0DA; }
.cpp-mp-table td.num { text-align: right; }
.cpp-mp-table td.num b { font-weight: 800; font-family: var(--vfx-font-display, inherit); }
.cpp-mp-table-domain {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 14.5px;
}
.cpp-mp-table-domain a {
    color: var(--cpp-mp-ink); word-break: break-all;
}
.cpp-mp-table-domain a:hover { color: var(--cpp-mp-primary); }
.cpp-mp-table-price {
    font-weight: 800;
    color: var(--cpp-mp-ink);
    font-size: 15px;
}

@media (max-width: 768px) {
    /* Hide secondary columns on mobile */
    .cpp-mp-table thead th:nth-child(3),
    .cpp-mp-table thead th:nth-child(5),
    .cpp-mp-table thead th:nth-child(6),
    .cpp-mp-table tbody td:nth-child(3),
    .cpp-mp-table tbody td:nth-child(5),
    .cpp-mp-table tbody td:nth-child(6) { display: none; }
    .cpp-mp-table thead th,
    .cpp-mp-table tbody td { padding: 12px 10px; font-size: 13px; }
}

/* ============ BADGES ============ */
.cpp-mp-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    white-space: nowrap;
}
.cpp-mp-badge-available { background: #ecfdf5; color: #047857; }
.cpp-mp-badge-trending  { background: #FDF1D6; color: #C6912A; }
.cpp-mp-badge-hot       { background: #fef2f2; color: #b91c1c; }
.cpp-mp-badge-off       { background: #f1f5f9; color: #64748b; }

/* ============ BUTTONS ============ */
.cpp-mp-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px; font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.4;
}
.cpp-mp-btn-primary {
    background: var(--cpp-mp-primary);
    color: #fff !important;
    border-color: var(--cpp-mp-primary);
}
.cpp-mp-btn-primary:hover {
    background: var(--cpp-mp-primary-dark);
    border-color: var(--cpp-mp-primary-dark);
    color: #fff !important;
}
.cpp-mp-btn-sm { padding: 6px 12px; font-size: 13px; }
.cpp-mp-btn-lg { padding: 14px 32px; font-size: 16px; }
.cpp-mp-btn-block { display: block; width: 100%; text-align: center; padding: 14px; }
.cpp-mp-btn-link {
    color: var(--cpp-mp-muted) !important;
    font-size: 14px; font-weight: 500;
    padding: 8px 4px;
}
.cpp-mp-btn-link:hover { color: var(--cpp-mp-primary) !important; }

/* ============ PAGINATION ============ */
.cpp-mp-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 24px;
    padding: 18px 0;
}
.cpp-mp-pagination > :first-child { justify-self: start; }
.cpp-mp-pagination > :last-child  { justify-self: end; }
.cpp-mp-pagination-info {
    color: var(--cpp-mp-muted);
    font-size: 14px; font-weight: 500;
    justify-self: center;
}

/* ============ EMPTY STATE ============ */
.cpp-mp-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--cpp-mp-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}
.cpp-mp-empty h3 {
    margin-bottom: 12px;
    color: var(--cpp-mp-ink);
    font-size: 20px; font-weight: 700;
}
.cpp-mp-empty p { margin-bottom: 18px; }

/* ============ SECTION HEAD ============ */
.cpp-mp-eyebrow {
    font-size: 13px; font-weight: 700;
    color: var(--cpp-mp-primary);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.cpp-mp-process-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.cpp-mp-process-head h2 {
    font-size: 32px; font-weight: 800;
    letter-spacing: -0.02em;
}

/* ============ PROCESS STEPS ============ */
.cpp-mp-process {
    background: var(--cpp-mp-bg);
    padding: 64px 0;
    margin: 0 -24px 64px;
}
.cpp-mp-process > .cpp-mp-process-head,
.cpp-mp-process > .cpp-mp-process-grid {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.cpp-mp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cpp-mp-step {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
}
.cpp-mp-step-num {
    width: 38px; height: 38px;
    background: var(--cpp-mp-primary);
    color: #fff;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    margin-bottom: 14px;
}
.cpp-mp-step h3 {
    font-size: 17px; font-weight: 700;
    margin-bottom: 8px;
}
.cpp-mp-step p {
    color: var(--cpp-mp-muted);
    font-size: 14px; line-height: 1.55;
}

@media (max-width: 992px) {
    .cpp-mp-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cpp-mp-process-grid { grid-template-columns: 1fr; }
}

/* ============ FEATURE GRID ============ */
.cpp-mp-features { margin-bottom: 64px; }
.cpp-mp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cpp-mp-feature {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cpp-mp-feature:hover {
    border-color: var(--cpp-mp-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -12px rgba(30,64,175,0.22);
}
.cpp-mp-feature-icon {
    width: 44px; height: 44px;
    background: #FDF1D6;
    color: var(--cpp-mp-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    margin-bottom: 14px;
}
.cpp-mp-feature h3 {
    font-size: 17px; font-weight: 700;
    margin-bottom: 8px;
}
.cpp-mp-feature p {
    color: var(--cpp-mp-muted);
    font-size: 14px; line-height: 1.55;
}

@media (max-width: 992px) {
    .cpp-mp-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cpp-mp-features-grid { grid-template-columns: 1fr; }
}

/* ============ FINAL CTA ============ */
.cpp-mp-cta {
    background: linear-gradient(135deg, var(--cpp-mp-navy) 0%, var(--cpp-mp-primary) 100%);
    color: #fff;
    padding: 56px 0;
    border-radius: 18px;
    margin-bottom: 56px;
    text-align: center;
}
.cpp-mp-cta-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cpp-mp-cta h2 {
    color: #fff !important;
    font-size: 30px; font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.cpp-mp-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    margin-bottom: 24px;
}
.cpp-mp-cta .cpp-mp-btn-primary {
    background: #fff;
    color: var(--cpp-mp-primary) !important;
    border-color: #fff;
}
.cpp-mp-cta .cpp-mp-btn-primary:hover {
    background: #fef2f2;
    color: var(--cpp-mp-primary-dark) !important;
}

/* ============ DETAIL PAGE ============ */
.cpp-mp-detail { padding-bottom: 64px; }
.cpp-mp-back {
    margin-bottom: 18px;
    font-size: 14px;
}
.cpp-mp-back a {
    color: var(--cpp-mp-muted);
    font-weight: 500;
}
.cpp-mp-back a:hover { color: var(--cpp-mp-primary); }

.cpp-mp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
}
@media (max-width: 992px) {
    .cpp-mp-detail-grid { grid-template-columns: 1fr; }
}
.cpp-mp-detail-main {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    padding: 32px;
}
.cpp-mp-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}
.cpp-mp-detail-head h1 {
    font-size: 28px; font-weight: 800;
    letter-spacing: -0.01em;
    word-break: break-all;
}
.cpp-mp-detail-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
@media (max-width: 640px) {
    .cpp-mp-detail-metrics { grid-template-columns: repeat(2, 1fr); }
}
.cpp-mp-detail-metrics > div {
    background: var(--cpp-mp-bg);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}
.cpp-mp-detail-metrics b {
    display: block;
    font-size: 22px; font-weight: 800;
    color: var(--cpp-mp-ink);
    line-height: 1;
}
.cpp-mp-detail-metrics span {
    display: block;
    font-size: 11px;
    color: var(--cpp-mp-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.cpp-mp-detail-metrics span small {
    text-transform: none; letter-spacing: 0;
    color: #94a3b8;
    font-size: 10px; font-weight: 500;
}
.cpp-mp-detail-section { margin-top: 28px; }
.cpp-mp-detail-section h2 {
    font-size: 18px; font-weight: 700;
    margin-bottom: 12px;
}
.cpp-mp-detail-section p {
    color: #475569;
    line-height: 1.6;
}
.cpp-mp-includes li {
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.cpp-mp-includes li:last-child { border-bottom: 0; }

/* Buy card sidebar */
.cpp-mp-detail-buy { align-self: start; }
.cpp-mp-buy-card {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    padding: 26px;
    position: sticky;
    top: 20px;
}
.cpp-mp-buy-price { text-align: center; margin-bottom: 20px; }
.cpp-mp-buy-amount {
    display: block;
    font-size: 40px; font-weight: 800;
    color: var(--cpp-mp-ink);
    line-height: 1;
}
.cpp-mp-buy-label {
    display: block;
    font-size: 12px; color: var(--cpp-mp-muted);
    margin-top: 8px;
    text-transform: uppercase; letter-spacing: 0.04em;
    font-weight: 600;
}
.cpp-mp-buy-note {
    margin: 14px 0 18px;
    text-align: center;
    font-size: 12px;
    color: var(--cpp-mp-muted);
}
.cpp-mp-buy-meta {
    border-top: 1px solid #f1f5f9;
}
.cpp-mp-buy-meta li {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}
.cpp-mp-buy-meta li:last-child { border-bottom: 0; }
.cpp-mp-buy-meta span { color: var(--cpp-mp-muted); }
.cpp-mp-buy-meta b { color: var(--cpp-mp-ink); font-weight: 700; }

/* Checkout / form fields */
.cpp-mp-field { margin-bottom: 18px; }
.cpp-mp-field label {
    display: block;
    font-size: 13px; font-weight: 700;
    color: var(--cpp-mp-ink);
    margin-bottom: 6px;
}
.cpp-mp-field input[type=text],
.cpp-mp-field input[type=email],
.cpp-mp-field input[type=tel],
.cpp-mp-field input[type=url],
.cpp-mp-field input[type=number],
.cpp-mp-field input[type=file],
.cpp-mp-field textarea,
.cpp-mp-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--cpp-mp-ink);
}
.cpp-mp-field input:focus,
.cpp-mp-field textarea:focus,
.cpp-mp-field select:focus {
    outline: none;
    border-color: var(--cpp-mp-primary);
    box-shadow: 0 0 0 3px rgba(30,64,175,0.12);
}
.cpp-mp-field textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.55;
}
.cpp-mp-err {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #b91c1c;
    font-weight: 500;
}

/* ============ MY ORDERS PAGE ============ */
.cpp-mp-page-head { margin-bottom: 24px; }
.cpp-mp-page-head h1 {
    font-size: 30px; font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.cpp-mp-page-head p {
    color: var(--cpp-mp-muted);
    font-size: 15px;
}

/* FAQ accordion */
.cpp-mp-faq-list { display: flex; flex-direction: column; gap: 12px; }
.cpp-mp-faq-item {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cpp-mp-faq-item[open] {
    border-color: var(--cpp-mp-primary);
    box-shadow: 0 4px 16px -10px rgba(30,64,175,0.16);
}
.cpp-mp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 16px; font-weight: 600;
    color: var(--cpp-mp-ink);
    position: relative;
    padding-right: 48px;
}
.cpp-mp-faq-item summary::-webkit-details-marker { display: none; }
.cpp-mp-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-size: 22px; font-weight: 400;
    color: var(--cpp-mp-primary);
    line-height: 1;
}
.cpp-mp-faq-item[open] summary::after { content: "–"; }
.cpp-mp-faq-answer {
    padding: 0 22px 20px;
    color: #475569;
    font-size: 15px; line-height: 1.65;
}

/* Long-form prose */
.cpp-mp-prose h2 { font-size: 22px; margin-bottom: 14px; }
.cpp-mp-prose p { margin-bottom: 14px; color: #475569; line-height: 1.65; font-size: 16px; }
.cpp-mp-prose ul { margin-bottom: 14px; }
.cpp-mp-prose li { padding: 6px 0; color: #475569; font-size: 15px; }
.cpp-mp-prose strong { color: var(--cpp-mp-ink); }

/* Resource grid */
.cpp-mp-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 920px) { .cpp-mp-resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cpp-mp-resource-grid { grid-template-columns: 1fr; } }
.cpp-mp-resource-card {
    background: #fff;
    border: 1px solid var(--cpp-mp-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.cpp-mp-resource-card:hover {
    transform: translateY(-3px);
    border-color: var(--cpp-mp-primary);
    box-shadow: 0 12px 28px -14px rgba(30,64,175,0.20);
}
.cpp-mp-resource-thumb {
    display: block;
    aspect-ratio: 16/9;
    background: var(--cpp-mp-bg);
    overflow: hidden;
}
.cpp-mp-resource-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
.cpp-mp-resource-body { padding: 18px 20px 20px; }
.cpp-mp-resource-date {
    font-size: 12px; color: var(--cpp-mp-muted);
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
}
.cpp-mp-resource-card h3 {
    font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.3;
}
.cpp-mp-resource-card h3 a { color: var(--cpp-mp-ink); }
.cpp-mp-resource-card h3 a:hover { color: var(--cpp-mp-primary); }
.cpp-mp-resource-card p {
    color: #475569; font-size: 14px; line-height: 1.55; margin-bottom: 12px;
}

/* Marketplace sub-nav (links bar under the theme menu) */
.cpp-mp-subnav {
    background: #fff;
    border-bottom: 1px solid var(--cpp-mp-border);
    margin: 0 -24px 32px;
    padding: 14px 24px;
}
.cpp-mp-subnav-inner {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    font-size: 14px;
}
.cpp-mp-subnav a {
    color: var(--cpp-mp-muted);
    font-weight: 500;
}
.cpp-mp-subnav a:hover, .cpp-mp-subnav a.is-active {
    color: var(--cpp-mp-primary);
}

/* Marketplace footer (sits inside the theme footer area) */
.cpp-mp-footer-links {
    background: var(--cpp-mp-navy);
    color: #cbd5e1;
    margin: 64px -24px 0;
    padding: 56px 24px 32px;
}
.cpp-mp-footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}
@media (max-width: 768px) { .cpp-mp-footer-grid { grid-template-columns: repeat(2, 1fr); } }
.cpp-mp-footer-col h4 {
    color: #fff;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.cpp-mp-footer-col ul li { padding: 4px 0; }
.cpp-mp-footer-col a {
    color: #cbd5e1;
    font-size: 14px;
}
.cpp-mp-footer-col a:hover { color: #fff; }
.cpp-mp-footer-bottom {
    max-width: 1240px;
    margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hide theme's inner banner on marketplace pages (we have our own hero) */
body.cpp-marketplace-body.home .wraper_inner_banner,
body.cpp-marketplace-body .wraper_inner_banner { display: none !important; }

/* ============================================================
   Homepage ([cpp_home]) + ghost button — added for vefogix-style home
   ============================================================ */
.cpp-mp-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.55);
}
.cpp-mp-btn-ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff !important;
}
.cpp-home-hero .cpp-mp-hero-title { line-height: 1.15; }
.cpp-home-hero-cta {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-top: 26px;
}
.cpp-home-hero-trust {
    margin-top: 18px; font-size: 13px; opacity: .8; color: #e2e8f0;
}
.cpp-home-lead {
    max-width: 720px; margin: 12px auto 0; color: #475569; font-size: 16px;
}
.cpp-home-teaser { padding-top: 56px; }
.cpp-home-testimonials .cpp-mp-feature p { font-style: italic; color: #334155; }
.cpp-home-testimonials .cpp-mp-feature h3 { font-size: 14px; color: var(--cpp-mp-primary); }
.cpp-home-contact-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px;
}
.cpp-home-services .cpp-mp-step h3 { margin-bottom: 8px; }

/* ============ Lead form (CF7) on contact page ============ */
.cpp-lead-section { max-width: 760px; margin: 0 auto; }
.cpp-lead-form-wrap { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:32px; box-shadow:0 8px 30px rgba(15,23,42,.06); }
.cpp-lead-row { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.cpp-lead-row > span { flex:1 1 220px; }
.cpp-lead-form-wrap input[type=text],
.cpp-lead-form-wrap input[type=email],
.cpp-lead-form-wrap input[type=tel],
.cpp-lead-form-wrap select,
.cpp-lead-form-wrap textarea {
    width:100%; padding:12px 14px; border:1.5px solid #cbd5e1; border-radius:9px; font-size:15px; font-family:inherit; box-sizing:border-box; margin-bottom:16px; background:#fff;
}
.cpp-lead-form-wrap textarea { min-height:120px; resize:vertical; }
.cpp-lead-form-wrap input:focus, .cpp-lead-form-wrap select:focus, .cpp-lead-form-wrap textarea:focus { outline:none; border-color:var(--cpp-mp-primary); }
.cpp-lead-form-wrap .wpcf7-acceptance { display:block; font-size:13px; color:#64748b; margin-bottom:18px; }
.cpp-lead-form-wrap input[type=submit] {
    background:var(--cpp-mp-primary); color:#fff; border:none; padding:14px 34px; border-radius:9px; font-size:16px; font-weight:600; cursor:pointer; transition:background .15s;
}
.cpp-lead-form-wrap input[type=submit]:hover { background:var(--cpp-mp-primary-dark); }

/* ============================================================
   3D / premium polish layer (added — gold brand, depth, lift)
   Appended rather than rewriting existing rules above, so all
   the precise layout/width/flex logic above stays untouched;
   these rules only add shadow/gradient/hover treatment.
   ============================================================ */
.cpp-mp-table-wrap {
    box-shadow: 0 18px 40px -18px rgba(198,145,42,.25), 0 4px 10px -4px rgba(15,23,42,.08);
}

/* Inputs & selects — inset depth + gold focus ring */
.cpp-mp-hero-search input[type=search],
.cpp-mp-hero-search input[type=number],
.cpp-mp-hero-search select,
.cpp-mp-field input[type=text],
.cpp-mp-field input[type=email],
.cpp-mp-field input[type=tel],
.cpp-mp-field input[type=url],
.cpp-mp-field input[type=number],
.cpp-mp-field select,
.cpp-lead-form-wrap input[type=text],
.cpp-lead-form-wrap input[type=email],
.cpp-lead-form-wrap input[type=tel] {
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.cpp-mp-hero-search input[type=search]:focus,
.cpp-mp-hero-search input[type=number]:focus,
.cpp-mp-hero-search select:focus,
.cpp-mp-field input:focus,
.cpp-mp-field select:focus,
.cpp-lead-form-wrap input:focus {
    outline: none;
    border-color: var(--cpp-mp-accent) !important;
    box-shadow: inset 0 2px 4px rgba(15,23,42,.06), 0 0 0 3px rgba(238,181,65,.25);
}

/* Buttons — gold bevel + lift */
.cpp-mp-filterform-btn,
.cpp-lead-form-wrap input[type=submit],
.cpp-mp-cta,
button[type=submit] {
    box-shadow: 0 2px 0 rgba(255,255,255,.5) inset, 0 10px 24px -10px rgba(198,145,42,.5);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cpp-mp-filterform-btn:hover,
.cpp-lead-form-wrap input[type=submit]:hover,
.cpp-mp-cta:hover,
button[type=submit]:hover {
    transform: translateY(-2px);
}
