/*
 * Shared styles for the redesigned content pages: FAQ, About, Become a seller.
 * Every selector starts with .bbp so no other page changes.
 * Design tokens: docs/superpowers/specs/2026-11-13-content-pages-redesign/design.md
 */

.bbp {
    --bbp-brand: #6262A6;
    --bbp-brand-dark: #45457e;
    --bbp-brand-deep: #2f2f5a;
    --bbp-deep-tile: #3c3c70;
    --bbp-action: #c2410c;
    --bbp-action-dark: #9a3412;
    --bbp-text: #222222;
    --bbp-text-soft: #33333f;
    --bbp-muted: #4d4d63;
    --bbp-tint: #f1f1f9;
    --bbp-tint-grey: #f6f6fa;
    --bbp-border: #dcdcec;
    --bbp-border-strong: #b9b9d4;
    --bbp-on-deep: #ffffff;
    --bbp-on-deep-soft: #d9d9ee;
    font-family: 'Public Sans', system-ui, sans-serif;
    color: var(--bbp-text);
    background: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

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

.bbp p,
.bbp h1,
.bbp h2,
.bbp h3,
.bbp ul,
.bbp figure,
.bbp blockquote {
    margin: 0;
}

/* The site stylesheet capitalizes every heading word; these pages use sentence case. */
.bbp h1,
.bbp h2,
.bbp h3,
.bbp h4,
.bbp h5 {
    text-transform: none;
}

.bbp a {
    color: var(--bbp-brand);
}

.bbp a:hover {
    color: var(--bbp-brand-dark);
}

.bbp a:focus-visible,
.bbp button:focus-visible,
.bbp input:focus-visible,
.bbp select:focus-visible,
.bbp textarea:focus-visible,
.bbp summary:focus-visible {
    outline: 3px solid var(--bbp-brand);
    outline-offset: 2px;
}

/* Sections */

.bbp-section {
    padding: 56px 24px;
}

.bbp-section--tint {
    background: var(--bbp-tint);
}

.bbp-section--grey {
    background: var(--bbp-tint-grey);
}

.bbp-section--deep {
    background: var(--bbp-brand-deep);
    color: var(--bbp-on-deep);
}

.bbp-container {
    max-width: 1080px;
    margin: 0 auto;
}

.bbp-stack {
    display: flex;
    flex-direction: column;
    gap: var(--bbp-gap, 16px);
}

/* Type */

.bbp-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bbp-brand);
}

.bbp-section--deep .bbp-eyebrow {
    color: var(--bbp-on-deep-soft);
}

.bbp-h1 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: inherit;
}

.bbp-h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: inherit;
}

.bbp-h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: inherit;
}

.bbp-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--bbp-muted);
}

.bbp-section--deep .bbp-lead {
    color: #e4e4f3;
}

.bbp-muted {
    font-size: 15px;
    line-height: 1.55;
    color: var(--bbp-muted);
}

.bbp-prose {
    font-size: 17px;
    line-height: 1.65;
    color: var(--bbp-text-soft);
}

/* Buttons */

.bbp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}

.bbp a.bbp-btn--action,
.bbp-btn--action {
    color: #ffffff;
    background: var(--bbp-action);
}

.bbp a.bbp-btn--action:hover,
.bbp-btn--action:hover {
    color: #ffffff;
    background: var(--bbp-action-dark);
}

.bbp a.bbp-btn--brand,
.bbp-btn--brand {
    color: #ffffff;
    background: var(--bbp-brand);
}

.bbp a.bbp-btn--brand:hover,
.bbp-btn--brand:hover {
    color: #ffffff;
    background: var(--bbp-brand-dark);
}

.bbp a.bbp-btn--ghost,
.bbp-btn--ghost {
    color: var(--bbp-brand-dark);
    background: #ffffff;
    border-color: var(--bbp-border-strong);
}

.bbp a.bbp-btn--ghost:hover,
.bbp-btn--ghost:hover {
    color: var(--bbp-brand-dark);
    background: var(--bbp-tint);
}

.bbp a.bbp-btn--ghost-light,
.bbp-btn--ghost-light {
    color: #ffffff;
    background: transparent;
    border-color: var(--bbp-border-strong);
}

.bbp a.bbp-btn--ghost-light:hover,
.bbp-btn--ghost-light:hover {
    color: #ffffff;
    background: var(--bbp-deep-tile);
}

.bbp a.bbp-btn--dark,
.bbp-btn--dark {
    color: #ffffff;
    background: var(--bbp-text);
}

.bbp a.bbp-btn--dark:hover,
.bbp-btn--dark:hover {
    color: #ffffff;
    background: #000000;
}

.bbp-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bbp-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
}

/* Layout helpers */

.bbp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--bbp-min, 240px), 1fr));
    gap: 16px;
}

.bbp-split {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.bbp-split > * {
    flex: 1 1 340px;
    min-width: 0;
}

/* Cards */

.bbp-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--bbp-border);
    border-radius: 12px;
}

.bbp-icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bbp-brand);
    color: #ffffff;
}

.bbp-icon-tile svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.bbp-icon {
    width: 26px;
    height: 26px;
    stroke: var(--bbp-brand);
}

/* Number band */

.bbp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 36px 32px;
    background: var(--bbp-brand-deep);
    border-radius: 16px;
}

.bbp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bbp-stat-value {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.bbp-stat-label {
    font-size: 15px;
    color: var(--bbp-on-deep-soft);
}

/* Images */

.bbp-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Highlight panel */

.bbp-panel {
    padding: 36px 32px;
    background: var(--bbp-tint);
    border-radius: 16px;
}

/* Form fields */

.bbp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bbp-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bbp-text);
}

.bbp-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--bbp-text);
    background: #ffffff;
    border: 1px solid var(--bbp-border-strong);
    border-radius: 10px;
}

.bbp textarea.bbp-input {
    padding: 12px 14px;
    resize: vertical;
}

.bbp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 575px) {
    .bbp-section {
        padding: 40px 16px;
    }

    .bbp-h1 {
        font-size: 32px;
    }

    .bbp-h2 {
        font-size: 24px;
    }

    .bbp-lead {
        font-size: 16px;
    }

    .bbp-split {
        gap: 32px;
    }

    .bbp-split > * {
        flex-basis: 100%;
    }

    .bbp-stats,
    .bbp-panel {
        padding: 24px 20px;
    }
}

/* ==== FAQ page (start) ==== */

/* Elements switched off by faq.js (or by the hidden attribute) stay off even with a display rule. */
.bbp-faq [hidden] {
    display: none !important;
}

.bbp-faq .bbp-h2 {
    font-size: 28px;
    font-weight: 700;
}

/* Hero */

.bbp-faq-hero-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.bbp-faq-hero-lead {
    max-width: 620px;
    line-height: 1.5;
}

.bbp-faq-search {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin-top: 8px;
}

.bbp-faq-search svg {
    position: absolute;
    left: 18px;
    top: 18px;
    pointer-events: none;
}

.bbp-faq-search input {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 20px 0 50px;
    font-family: inherit;
    font-size: 16px;
    color: var(--bbp-text);
    background: #ffffff;
    border: 1px solid var(--bbp-border-strong);
    border-radius: 12px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.bbp-faq-search input::placeholder {
    color: var(--bbp-muted);
    opacity: 1;
}

.bbp-faq-facts {
    --bbp-min: 220px;
    margin-top: 36px;
}

.bbp-faq-fact {
    gap: 6px;
    padding: 20px;
}

.bbp-faq-fact .bbp-icon-tile {
    margin-bottom: 6px;
}

.bbp-faq-fact-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--bbp-text);
}

.bbp-faq-fact-text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--bbp-muted);
}

/* Topics and questions */

.bbp-faq-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.bbp-faq-topics {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bbp-faq-topics-title {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bbp-muted);
}

.bbp-faq-topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    color: var(--bbp-text);
    background: #ffffff;
    border: 1px solid var(--bbp-border);
    border-radius: 10px;
    cursor: pointer;
}

.bbp-faq-topic:hover {
    border-color: var(--bbp-border-strong);
}

.bbp-faq-topic-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--bbp-muted);
}

.bbp-faq-topic[aria-pressed="true"] {
    font-weight: 700;
    color: #ffffff;
    background: var(--bbp-brand);
    border-color: var(--bbp-brand);
}

.bbp-faq-topic[aria-pressed="true"] .bbp-faq-topic-count {
    color: #ffffff;
}

.bbp-faq-content {
    display: flex;
    flex: 999 1 560px;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* With JavaScript off every group shows, so groups need space between them. */
.bbp-faq-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bbp-faq-group + .bbp-faq-group {
    margin-top: 24px;
}

.bbp-faq--searching .bbp-faq-group + .bbp-faq-group {
    margin-top: 0;
}

.bbp-faq--searching .bbp-faq-content {
    gap: 10px;
}

.bbp-faq--searching #faq-search-head {
    margin-bottom: 6px;
}

.bbp-faq--searching .bbp-faq-group-head {
    display: none;
}

.bbp-faq-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.bbp-faq-count {
    font-size: 14px;
    color: var(--bbp-muted);
}

.bbp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbp-faq-item {
    background: #ffffff;
    border: 1px solid var(--bbp-border);
    border-radius: 12px;
}

.bbp-faq-item[open] {
    border-color: #9a9acb;
}

.bbp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 20px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bbp-text);
    border-radius: 12px;
    cursor: pointer;
    list-style: none;
}

.bbp-faq-question::-webkit-details-marker {
    display: none;
}

.bbp-faq-question::marker {
    content: "";
}

.bbp-faq-chevron {
    flex: none;
}

.bbp-faq-item[open] .bbp-faq-chevron {
    transform: rotate(180deg);
}

.bbp-faq-answer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 20px;
}

.bbp-faq-answer-text {
    max-width: 680px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bbp-text-soft);
    overflow-wrap: anywhere;
}

.bbp-faq-answer-link {
    align-self: flex-start;
}

.bbp-faq-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 24px;
    border: 1px dashed var(--bbp-border-strong);
    border-radius: 12px;
}

.bbp-faq-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bbp-text);
}

/* Still need help? */

.bbp-faq-help-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bbp-faq-help-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bbp-faq-help-lead {
    font-size: 16px;
    color: var(--bbp-muted);
}

.bbp-faq-card-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--bbp-text);
}

.bbp-faq-card-action {
    align-self: flex-start;
    margin-top: 6px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Section spacing from the mock (the shared default is 56px top and bottom) */
@media (min-width: 576px) {
    .bbp-faq-hero {
        padding-bottom: 40px;
    }

    .bbp-faq-main {
        padding-top: 48px;
    }

    .bbp-faq-help {
        padding-top: 48px;
        padding-bottom: 64px;
    }
}

@media (max-width: 575px) {
    .bbp-faq .bbp-h2 {
        font-size: 24px;
    }

    .bbp-faq-facts {
        margin-top: 28px;
    }

    .bbp-faq-layout {
        gap: 28px;
    }

    .bbp-faq-question {
        padding: 12px 16px;
        font-size: 16px;
    }

    .bbp-faq-answer {
        padding: 0 16px 16px;
    }
}
/* ==== FAQ page (end) ==== */

/* ==== About page (start) ==== */

/* Section spacing from the mock (the shared default is 56px) */

.bbp-about-hero,
.bbp-about-team {
    padding-top: 64px;
    padding-bottom: 64px;
}

.bbp-about-what,
.bbp-about-reviews {
    padding-top: 64px;
    padding-bottom: 24px;
}

.bbp-about-band {
    padding-top: 40px;
    padding-bottom: 40px;
}

.bbp-about-cta {
    padding-top: 40px;
    padding-bottom: 72px;
}

/* Hero and story columns */

.bbp-about-hero-text {
    --bbp-gap: 18px;
}

.bbp-about-hero-actions {
    margin-top: 8px;
}

.bbp-about-story-text {
    --bbp-gap: 14px;
}

.bbp .bbp-about-story-text .bbp-h2 {
    margin-bottom: 6px;
}

/* Posters are 1000 x 1200: shown whole, never cropped */

.bbp-about-poster {
    display: flex;
    justify-content: center;
}

.bbp-about-poster .bbp-img {
    max-width: 400px;
}

.bbp-about-poster--story .bbp-img {
    max-width: 340px;
}

@media (min-width: 576px) {
    .bbp-about-hero-text {
        flex: 1 1 420px;
    }

    .bbp-about-poster--story {
        flex: 1 1 280px;
    }

    .bbp-about-story-text {
        flex: 2 1 480px;
    }
}

/* Section heads */

.bbp-about-block {
    --bbp-gap: 28px;
}

.bbp-about-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbp-about-head--narrow {
    max-width: 680px;
}

.bbp-about-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--bbp-muted);
}

.bbp-about-services {
    --bbp-min: 260px;
}

/* Team */

.bbp-team-grid {
    --bbp-min: 190px;
}

.bbp-team-card {
    gap: 8px;
    padding: 20px;
    border-color: #e0e0ec;
}

.bbp-team-photo {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    background: var(--bbp-border);
}

.bbp .bbp-team-name {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: inherit;
}

.bbp-team-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--bbp-brand);
}

.bbp-team-bio {
    font-size: 14px;
    line-height: 1.5;
    color: var(--bbp-muted);
}

/* Reviews */

.bbp-about-review-grid {
    --bbp-min: 280px;
}

.bbp-about-review {
    gap: 14px;
}

.bbp-about-review-text {
    padding: 0;
    border: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bbp-text-soft);
    overflow-wrap: anywhere;
}

.bbp-about-review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--bbp-text);
}

.bbp-about-review-position {
    display: block;
    font-weight: 400;
    color: var(--bbp-muted);
}

/* Seller call-to-action */

.bbp-about-cta-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.bbp-about-cta-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 380px;
    min-width: 0;
}

.bbp-about-cta-title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: inherit;
}

.bbp-about-cta-text .bbp-about-sub {
    line-height: 1.5;
}

@media (max-width: 575px) {
    .bbp-about-hero,
    .bbp-about-team {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .bbp-about-what,
    .bbp-about-reviews {
        padding-top: 40px;
        padding-bottom: 16px;
    }

    .bbp-about-band {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .bbp-about-cta {
        padding-top: 24px;
        padding-bottom: 48px;
    }

    .bbp-about-cta-title {
        font-size: 22px;
    }
}

/* ==== About page (end) ==== */

/* ==== Become a seller page (start) ==== */

/* Section spacing from the mock (the shared default is 56px) */

.bbp-seller-hero {
    padding-top: 72px;
    padding-bottom: 72px;
}

.bbp-seller-why {
    padding-top: 64px;
    padding-bottom: 32px;
}

.bbp-seller-steps {
    padding-top: 48px;
    padding-bottom: 64px;
}

.bbp-seller-apply {
    padding-top: 64px;
    padding-bottom: 72px;
}

/* Hero on the dark band */

.bbp-seller-hero-text {
    --bbp-gap: 18px;
    flex: 1 1 460px;
}

.bbp .bbp-seller-hero .bbp-h1 {
    font-size: 46px;
    line-height: 1.12;
    color: #ffffff;
}

.bbp-seller-hero .bbp-lead {
    max-width: 520px;
}

.bbp-seller-hero-actions {
    margin-top: 8px;
}

.bbp-seller-btn-lg {
    min-height: 50px;
    padding: 0 28px;
}

.bbp-seller-btn-lg.bbp-btn--action {
    font-weight: 700;
}

.bbp-seller-tiles {
    flex: 1 1 320px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bbp-seller-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background: var(--bbp-deep-tile);
    border-radius: 12px;
}

.bbp-seller-tile-value {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.bbp-seller-tile-label {
    font-size: 14px;
    line-height: 1.45;
    color: var(--bbp-on-deep-soft);
}

/* Section heads */

.bbp-seller-block {
    --bbp-gap: 28px;
}

.bbp-seller-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 680px;
}

.bbp-seller-intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--bbp-muted);
}

/* Benefits */

.bbp-seller-benefits {
    --bbp-min: 230px;
}

.bbp .bbp-seller-benefits .bbp-h3 {
    font-size: 18px;
}

/* Steps */

.bbp-step-grid {
    --bbp-min: 300px;
}

.bbp-step-card {
    gap: 12px;
    padding: 28px;
    border-radius: 14px;
}

.bbp-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bbp-tint);
    color: var(--bbp-brand);
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}

.bbp-step-num--solid {
    background: var(--bbp-brand);
    color: #ffffff;
}

.bbp .bbp-step-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: inherit;
}

.bbp-step-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--bbp-muted);
}

.bbp-step-card .bbp-link {
    align-self: flex-start;
}

.bbp-step-final {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.bbp-step-final-text {
    --bbp-gap: 14px;
    flex: 1 1 400px;
    min-width: 0;
}

.bbp .bbp-step-final-title {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    color: inherit;
}

.bbp-step-final-actions {
    margin-top: 8px;
}

.bbp-step-store-btn {
    padding: 0 20px;
    font-size: 15px;
}

.bbp-step-store-btn svg {
    flex: none;
}

.bbp-step-final-media {
    flex: 0 1 260px;
    min-width: 0;
    margin: 0 auto;
}

.bbp-step-final-media img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
    aspect-ratio: 540 / 960;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 12px;
}

.bbp .bbp-seller-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.bbp-seller-checklist li {
    display: flex;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--bbp-text-soft);
}

.bbp-seller-checklist svg {
    flex: none;
    margin-top: 1px;
}

/* Application form */

.bbp-seller-apply-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.bbp-seller-apply-text {
    --bbp-gap: 14px;
    flex: 1 1 300px;
    min-width: 0;
}

.bbp-seller-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--bbp-border);
}

.bbp-seller-contact-title {
    font-size: 15px;
    font-weight: 700;
}

.bbp-seller-contact .bbp-link {
    align-self: flex-start;
}

.bbp-seller-form {
    flex: 2 1 520px;
    min-width: 0;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e0e0ec;
    border-radius: 16px;
}

.bbp-seller-alert {
    margin-bottom: 18px;
}

.bbp-seller-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.bbp-seller-form-grid .bbp-field {
    min-width: 0;
}

.bbp-seller-full {
    grid-column: 1 / -1;
}

.bbp .bbp-seller-form .bbp-field label {
    margin: 0;
}

.bbp-seller-optional {
    font-weight: 400;
    color: var(--bbp-muted);
}

.bbp-seller-form select.bbp-input {
    height: 48px;
}

.bbp-seller-form .bbp-input.is-invalid {
    border-color: #b91c1c;
}

/* Bootstrap hides .invalid-feedback unless it follows an .is-invalid sibling */
.bbp .invalid-feedback,
.bbp-seller-form .phone-validation-error {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #b91c1c;
}

/* The phone component prints the server error too; the .invalid-feedback beside it is the one shown */
.bbp-seller-form .phone-input-group ~ .text-danger:not(.phone-validation-error) {
    display: none;
}

/* Phone component (shared Blade component with Bootstrap input-group markup) */

.bbp-seller-form .phone-input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.bbp-seller-form .phone-input-group .input-group-prepend {
    display: flex;
    flex: none;
    margin: 0;
}

.bbp-seller-form .phone-input-group .phone-country-select,
.bbp-seller-form .phone-input-group .phone-number-input {
    height: 48px;
    min-height: 48px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    color: var(--bbp-text);
    background-color: #ffffff;
    border: 1px solid var(--bbp-border-strong);
    box-shadow: none;
}

.bbp-seller-form .phone-input-group .phone-country-select {
    width: 124px;
    /* the component sets max-width: 185px inline */
    max-width: 124px !important;
    padding-right: 6px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
}

.bbp-seller-form .phone-input-group .phone-number-input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-radius: 0 10px 10px 0;
}

.bbp-seller-form .phone-input-group .phone-number-input.is-invalid {
    border-color: #b91c1c;
    background-image: none;
}

.bbp-seller-submit {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.bbp-seller-submit .bbp-btn {
    min-height: 50px;
    padding: 0 32px;
    font-weight: 700;
}

.bbp-seller-submit-note {
    font-size: 14px;
    color: var(--bbp-muted);
}

@media (max-width: 575px) {
    .bbp-seller-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .bbp-seller-why {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .bbp-seller-steps {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .bbp-seller-apply {
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .bbp .bbp-seller-hero .bbp-h1 {
        font-size: 32px;
    }

    .bbp-seller-tile {
        padding: 16px;
    }

    .bbp-seller-tile-value {
        font-size: 24px;
    }

    .bbp-step-grid {
        --bbp-min: 240px;
    }

    .bbp-step-card {
        padding: 22px;
    }

    .bbp-step-final,
    .bbp-seller-apply-inner {
        gap: 28px;
    }

    .bbp .bbp-step-final-title {
        font-size: 22px;
    }

    .bbp-seller-form {
        padding: 20px;
    }

    .bbp-seller-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bbp-seller-submit .bbp-btn {
        width: 100%;
    }
}

/* ==== Become a seller page (end) ==== */
