/* Sell with us — typography and sizing aligned with Zelto info pages */

.sell-with-us-page {
    --swu-blue: #006aff;
    --swu-blue-dark: #0062be;
    --swu-blue-bg: #e5f0ff;
    --swu-text: #1a1a1a;
    --swu-muted: #8c8c8c;
    --swu-border: #e0e3e8;
    --swu-bg: #f6f7f9;
    --swu-white: #ffffff;
    --swu-green: #19c56c;
    --swu-radius: 12px;
    --swu-input-radius: 8px;
    background: var(--swu-bg) !important;
    font-family: "Open Sans", sans-serif;
    color: var(--swu-text);
}

.sell-with-us-page .main-content {
    background: var(--swu-bg);
    font-family: "Open Sans", sans-serif;
    color: var(--swu-text);
}

.cms-marketplace {
    box-sizing: border-box;
    color: var(--swu-text);
    background: var(--swu-bg);
}

.cms-marketplace *,
.cms-marketplace *::before,
.cms-marketplace *::after {
    box-sizing: border-box;
}

/* ── Hero ── */
.cms-marketplace .hero {
    background: var(--swu-blue-bg);
    padding: 48px 24px 40px;
}

.cms-marketplace .hero-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cms-marketplace .hero h1 {
    font-size: var(--z-h1-size, 40px);
    font-weight: var(--z-h1-weight, 700);
    color: var(--swu-text);
    line-height: var(--z-h1-lh, 1.15);
    letter-spacing: var(--z-h1-ls, -0.02em);
    margin: 0 0 14px;
}

.cms-marketplace .hero h1 .accent {
    color: var(--swu-blue);
}

.cms-marketplace .hero-desc {
    font-size: var(--z-lead-size, 16px);
    font-weight: var(--z-lead-weight, 400);
    color: var(--swu-muted);
    line-height: var(--z-lead-lh, 1.55);
    max-width: 520px;
    margin: 0 auto;
}

.cms-marketplace .hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.cms-marketplace .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 106, 255, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--swu-text);
    background: var(--swu-white);
    white-space: nowrap;
}

.cms-marketplace .chip svg {
    width: 16px;
    height: 16px;
    color: var(--swu-blue);
    flex-shrink: 0;
}

/* ── Layout ── */
.cms-marketplace .page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}

/* ── Progress steps: equal columns, label always one line ── */
.cms-marketplace .progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 28px;
    padding: 0;
}

.cms-marketplace .prog-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}

.cms-marketplace .prog-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--swu-border);
    z-index: 0;
}

.cms-marketplace .prog-step:has(.prog-dot.done):not(:last-child)::after {
    background: var(--swu-blue);
}

.cms-marketplace .prog-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--swu-border);
    background: var(--swu-white);
    color: var(--swu-muted);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    position: relative;
    z-index: 1;
}

.cms-marketplace .prog-dot.active {
    background: var(--swu-blue);
    border-color: var(--swu-blue);
    color: #fff;
    box-shadow: 0 0 0 4px var(--swu-blue-bg);
}

.cms-marketplace .prog-dot.done {
    background: var(--swu-blue);
    border-color: var(--swu-blue);
    color: #fff;
}

.cms-marketplace .prog-dot.done::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.cms-marketplace .prog-dot.done span {
    display: none;
}

.cms-marketplace .prog-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--swu-muted);
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
}

.cms-marketplace .prog-step:has(.prog-dot.active) .prog-label {
    color: var(--swu-blue);
}

.cms-marketplace .prog-step:has(.prog-dot.done) .prog-label {
    color: var(--swu-text);
}

/* ── Form card ── */
.cms-marketplace .form-card {
    background: var(--swu-white);
    border: 1px solid var(--swu-border);
    border-radius: var(--swu-radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cms-marketplace .fhdr {
    padding: 20px 24px;
    border-bottom: 1px solid var(--swu-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cms-marketplace .fhdr-left h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    color: var(--swu-text);
}

.cms-marketplace .fhdr-left p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--swu-muted);
    margin: 0;
}

.cms-marketplace .fhdr-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--swu-blue);
    background: var(--swu-blue-bg);
    padding: 6px 12px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cms-marketplace .fbody {
    padding: 24px;
}

.cms-marketplace .fsec {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--swu-muted);
    margin: 24px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--swu-border);
}

.cms-marketplace .fsec:first-child {
    margin-top: 0;
}

.cms-marketplace .frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cms-marketplace .fg {
    margin-bottom: 16px;
}

.cms-marketplace .fg:last-child {
    margin-bottom: 0;
}

.cms-marketplace .fg > label {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--swu-text);
    margin-bottom: 8px;
    letter-spacing: 0;
    white-space: nowrap;
}

.cms-marketplace .req {
    color: var(--swu-blue);
}

.cms-marketplace .fg input,
.cms-marketplace .fg select,
.cms-marketplace .fg textarea {
    width: 100%;
    min-height: 50px;
    padding: 15px;
    border: 1px solid var(--swu-border);
    border-radius: var(--swu-input-radius);
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    color: var(--swu-text);
    background: var(--swu-white);
    outline: none;
    transition: border-color 0.15s;
}

.cms-marketplace .fg input:focus,
.cms-marketplace .fg select:focus,
.cms-marketplace .fg textarea:focus {
    border-color: var(--swu-blue);
    box-shadow: none;
}

.cms-marketplace .fg input::placeholder,
.cms-marketplace .fg textarea::placeholder {
    color: var(--swu-muted);
}

.cms-marketplace .fg textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.cms-marketplace .fg select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.cms-marketplace .fg-hint {
    font-size: 13px;
    font-weight: 400;
    color: var(--swu-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.cms-marketplace .fg-error {
    display: none;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f24646;
    line-height: 1.4;
}

.cms-marketplace .fg.is-invalid .fg-error {
    display: block;
}

.cms-marketplace .fg.is-invalid .pill-grid,
.cms-marketplace .fg.is-invalid .radio-stack {
    border-radius: 8px;
    box-shadow: 0 0 0 1px #f24646;
}

.cms-marketplace .pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.cms-marketplace .pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--swu-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    color: var(--swu-text);
    background: var(--swu-white);
    transition: all 0.14s;
    white-space: nowrap;
}

.cms-marketplace .pill:hover,
.cms-marketplace .pill:has(input:checked) {
    border-color: var(--swu-blue);
    color: var(--swu-blue);
    background: var(--swu-blue-bg);
}

.cms-marketplace .radio-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.cms-marketplace .rrow {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    min-height: 50px;
    border: 1px solid var(--swu-border);
    border-radius: var(--swu-input-radius);
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--swu-text);
    transition: all 0.14s;
}

.cms-marketplace .rrow:hover,
.cms-marketplace .rrow:has(input:checked) {
    border-color: var(--swu-blue);
    color: var(--swu-blue);
    background: #f8fbff;
}

.cms-marketplace .rrow-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--swu-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.14s;
}

.cms-marketplace .rrow:has(input:checked) .rrow-dot {
    border-color: var(--swu-blue);
    background: var(--swu-blue);
}

.cms-marketplace .rrow:has(input:checked) .rrow-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    display: block;
}

.cms-marketplace .ffooter {
    padding: 16px 24px;
    border-top: 1px solid var(--swu-border);
    background: #fcfcfd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cms-marketplace .ffooter-note {
    font-size: 13px;
    color: var(--swu-muted);
}

.cms-marketplace .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}

.cms-marketplace .btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cms-marketplace .btn-primary {
    background: var(--swu-blue);
    border-color: var(--swu-blue);
    color: #fff;
}

.cms-marketplace .btn-primary:hover {
    background: var(--swu-blue-dark);
    border-color: var(--swu-blue-dark);
    color: #fff;
}

.cms-marketplace .btn-back {
    background: var(--swu-white);
    color: var(--swu-text);
    border-color: var(--swu-border);
}

.cms-marketplace .btn-back:hover {
    border-color: #c5ccd5;
    color: var(--swu-text);
    background: var(--swu-bg);
}

.cms-marketplace .sp {
    display: none;
}

.cms-marketplace .sp.on {
    display: block;
}

.cms-marketplace .suc {
    display: none;
    padding: 56px 28px;
    text-align: center;
}

.cms-marketplace .suc.on {
    display: block;
}

.cms-marketplace .suc-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--swu-blue-bg);
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cms-marketplace .suc-ring svg {
    width: 32px;
    height: 32px;
    color: var(--swu-green);
}

.cms-marketplace .suc h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
}

.cms-marketplace .suc p {
    font-size: 16px;
    font-weight: 400;
    color: var(--swu-muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Sidebar process ── */
.cms-marketplace .sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cms-marketplace .sc {
    background: var(--swu-white);
    border: 1px solid var(--swu-border);
    border-radius: var(--swu-radius);
    padding: 24px;
    box-shadow: none;
}

.cms-marketplace .sc-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 18px;
    color: var(--swu-text);
}

.cms-marketplace .plist {
    display: flex;
    flex-direction: column;
}

.cms-marketplace .pi {
    display: flex;
    gap: 12px;
    position: relative;
}

.cms-marketplace .pi:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    width: 2px;
    height: calc(100% - 8px);
    background: var(--swu-border);
}

.cms-marketplace .pi-n {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--swu-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
}

.cms-marketplace .pi-b {
    padding: 4px 0 18px;
    min-width: 0;
}

.cms-marketplace .pi:last-child .pi-b {
    padding-bottom: 0;
}

.cms-marketplace .pi-b h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    color: var(--swu-text);
    white-space: nowrap;
}

.cms-marketplace .pi-b p {
    font-size: 14px;
    font-weight: 400;
    color: var(--swu-muted);
    line-height: 1.45;
    margin: 0;
}

.cms-marketplace .cb {
    background: none;
    border-radius: 0;
    padding: 0;
}

.cms-marketplace .cb-label {
    font-size: 14px;
    color: var(--swu-muted);
    margin-bottom: 10px;
}

.cms-marketplace .cl {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    min-height: 50px;
    border-radius: var(--swu-input-radius);
    border: 1px solid var(--swu-border);
    background: var(--swu-white);
    color: var(--swu-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.14s;
    white-space: nowrap;
}

.cms-marketplace .cl:last-child {
    margin-bottom: 0;
}

.cms-marketplace .cl:hover {
    border-color: var(--swu-blue);
    color: var(--swu-blue);
}

.cms-marketplace .cl svg {
    width: 18px;
    height: 18px;
    color: var(--swu-blue);
    flex-shrink: 0;
}

.cms-marketplace .help-outer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.cms-marketplace .hbox {
    background: var(--swu-blue-bg);
    border-radius: var(--swu-radius);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cms-marketplace .hbox h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 6px;
    color: var(--swu-text);
}

.cms-marketplace .hbox p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--swu-muted);
    margin: 0;
}

.cms-marketplace .hbtns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cms-marketplace .hbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all 0.14s;
    white-space: nowrap;
}

.cms-marketplace .hbtn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cms-marketplace .hbtn-blue {
    background: var(--swu-blue);
    border: 1px solid var(--swu-blue);
    color: #fff;
}

.cms-marketplace .hbtn-blue:hover {
    background: var(--swu-blue-dark);
    border-color: var(--swu-blue-dark);
    color: #fff;
}

.cms-marketplace .hbtn-out {
    background: var(--swu-white);
    color: var(--swu-blue);
    border: 1px solid var(--swu-blue);
}

.cms-marketplace .hbtn-out:hover {
    background: var(--swu-blue-bg);
}

@media (max-width: 880px) {
    .cms-marketplace .page {
        grid-template-columns: 1fr;
    }

    .cms-marketplace .pi-b h4 {
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .cms-marketplace .hero {
        padding: 32px 20px 28px;
    }

    .cms-marketplace .hero h1 {
        font-size: 28px;
    }

    .cms-marketplace .hero-desc {
        font-size: 15px;
    }

    .cms-marketplace .page,
    .cms-marketplace .help-outer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cms-marketplace .prog-dot {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .cms-marketplace .prog-step:not(:last-child)::after {
        top: 13px;
        left: calc(50% + 16px);
        width: calc(100% - 32px);
    }

    .cms-marketplace .prog-label {
        font-size: 12px;
    }

    .cms-marketplace .frow {
        grid-template-columns: 1fr;
    }

    .cms-marketplace .fhdr,
    .cms-marketplace .fbody,
    .cms-marketplace .ffooter {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cms-marketplace .hbox {
        padding: 24px 20px;
    }

    .cms-marketplace .hbox h3 {
        font-size: 20px;
    }

    .cms-marketplace .hbtn,
    .cms-marketplace .cl {
        width: 100%;
        justify-content: center;
    }
}
