/* ============================================================
   Polymers Bazaar — Modern Buy/Sell Polymer Page styles
   All classes prefixed with "pbs-" to avoid conflict with
   existing theme classes.
   ============================================================ */

:root {
    --pbs-primary: #1e3a8a;
    --pbs-primary-600: #1e40af;
    --pbs-primary-700: #1d4ed8;
    --pbs-primary-50: #eff6ff;
    --pbs-primary-100: #dbeafe;
    --pbs-accent: #16a34a;
    --pbs-accent-600: #15803d;
    --pbs-accent-50: #dcfce7;
    --pbs-accent-100: #bbf7d0;
    --pbs-ink: #0f172a;
    --pbs-ink-soft: #334155;
    --pbs-muted: #64748b;
    --pbs-surface: #ffffff;
    --pbs-surface-alt: #f8fafc;
    --pbs-border: #e2e8f0;
    --pbs-radius: 16px;
    --pbs-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --pbs-font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* =========================================================
   HERO
   ========================================================= */
.pbs-hero {
    background-color: #eaf1fd;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 100px 0 56px;
    font-family: var(--pbs-font);
    position: relative;
    overflow: hidden;
}
.pbs-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    width: 90%;
    /* max-width: 1600px; */
    margin: 0 auto;
}
.pbs-hero__title {
    font-size: clamp(32px, 4.2vw, 54px);
    line-height: 1.08;
    color: var(--pbs-ink);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0 0 16px;
}
.pbs-hero__title .pbs-accent {
    color: var(--pbs-accent);
    display: block;
}
.pbs-hero__description {
    font-size: 16px;
    line-height: 1.65;
    color: var(--pbs-ink-soft);
    max-width: 520px;
    margin: 0 0 22px;
}
.pbs-hero__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin: 0 0 28px;
}
.pbs-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.pbs-badge + .pbs-badge::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: #cfe0ff;
}
.pbs-badge__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* background: var(--pbs-accent-50); */
    color: var(--pbs-accent);
    font-size: 25px;
}
.pbs-badge--blue .pbs-badge__icon {
    background: var(--pbs-primary-50);
    color: var(--pbs-primary);
}
.pbs-badge__text {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--pbs-ink);
    line-height: 1.25;
    max-width: 110px;
    margin-bottom: 0;
}
.pbs-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--pbs-primary);
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    min-width: 320px;
    transition:
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.22);
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.pbs-hero__cta:hover {
    background: var(--pbs-primary-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(30, 58, 138, 0.3);
}
.pbs-hero__cta-text {
    text-align: left;
    display: grid;
}
.pbs-hero__cta-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
}
.pbs-hero__cta-subtitle {
    font-size: 12.5px;
    opacity: 0.85;
    margin: 3px 0 0;
    font-weight: 500;
}
.pbs-hero__cta-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Visual (right side) */
.pbs-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.pbs-hero__image-wrap {
    display: none;
}
.pbs-hero__chips {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 270px;
}
.pbs-chip {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(233, 238, 247, 0.8);
    transition: transform 0.25s ease;
}
.pbs-chip:hover {
    transform: translateX(-4px);
}
.pbs-chip__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}
.pbs-chip--blue .pbs-chip__icon {
    background: var(--pbs-primary);
}
.pbs-chip--green .pbs-chip__icon {
    background: var(--pbs-accent);
}
.pbs-chip__text {
    line-height: 1.25;
}
.pbs-chip__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--pbs-ink);
    margin: 0;
}
.pbs-chip__desc {
    font-size: 11.5px;
    color: var(--pbs-muted);
    margin: 2px 0 0;
    line-height: 1.35;
}

@media (max-width: 1199.98px) {
    .pbs-hero__visual {
        padding-right: 0;
    }
    .pbs-hero__chips {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 18px;
    }
    .pbs-chip {
        flex: 1 1 calc(50% - 7px);
        min-width: 220px;
    }
}
@media (max-width: 991.98px) {
    .pbs-hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 92%;
    }
    .pbs-hero__cta {
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 575.98px) {
    .pbs-hero {
        padding: 28px 0 36px;
    }
    .pbs-hero__inner {
        width: calc(100% - 32px);
    }
    .pbs-hero__badges {
        gap: 12px;
    }
    .pbs-badge + .pbs-badge::before {
        display: none;
    }
    .pbs-chip {
        flex: 1 1 100%;
    }
}

/* =========================================================
   STEPS (Start Selling/Buying in 4 Easy Steps)
   ========================================================= */
.pbs-steps {
    padding: 42px 0 0px;
    background: #fff;
    font-family: var(--pbs-font);
}
.pbs-steps__inner {
    width: 90%;
    /* max-width: 1600px; */
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--pbs-border);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    margin-bottom: -16px;
}
.pbs-steps__grid {
    display: grid;
    grid-template-columns: minmax(170px, auto) repeat(4, 1fr);
    align-items: center;
    gap: 16px;
}
.pbs-steps__title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    color: var(--pbs-ink);
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0;
    position: relative;
    padding-bottom: 12px;
}
.pbs-steps__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--pbs-accent);
    border-radius: 2px;
}
.pbs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 10px;
}
.pbs-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 22px;
    font-size: 20px;
    color: #94a3b8;
    font-weight: 400;
}
.pbs-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}
.pbs-step__icon--blue {
    background: var(--pbs-primary-50);
    color: var(--pbs-primary);
}
.pbs-step__icon--green {
    background: var(--pbs-accent-50);
    color: var(--pbs-accent);
}
.pbs-step__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pbs-ink);
    margin: 0 0 4px;
}
.pbs-step__desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--pbs-muted);
    margin: 0;
    max-width: 180px;
}

@media (max-width: 1199.98px) {
    .pbs-steps__grid {
        grid-template-columns: 1fr 1fr;
    }
    .pbs-steps__title {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 16px;
    }
    .pbs-steps__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .pbs-step:not(:last-child)::after {
        display: none;
    }
}
@media (max-width: 575.98px) {
    .pbs-steps__inner {
        width: calc(100% - 32px);
        padding: 22px 18px;
    }
    .pbs-steps__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BENEFITS STRIP (dark blue band with 5 features)
   ========================================================= */
.pbs-benefits {
    padding: 0 0 40px;
    /* background: #fff; */
    font-family: var(--pbs-font);
}
.pbs-benefits__wrap {
    width: 90%;
    /* max-width: 1600px; */
    margin: 0 auto;
}
.pbs-benefits__heading {
    text-align: center;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 800;
    color: var(--pbs-ink);
    letter-spacing: -0.3px;
    margin: 0 0 18px;
}
.pbs-benefits__inner {
    background: var(--pbs-primary);
    border-radius: 16px;
    padding: 26px 32px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.18);
}
.pbs-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: flex-start;
}
.pbs-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.pbs-benefit__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #86efac;
    border: 1.5px solid rgba(134, 239, 172, 0.4);
    flex-shrink: 0;
}
.pbs-benefit__icon--blue-ring {
    color: #bfdbfe;
    border-color: rgba(191, 219, 254, 0.4);
}
.pbs-benefit__text {
    line-height: 1.35;
}
.pbs-benefit__title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px;
}
.pbs-benefit__desc {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 1199.98px) {
    .pbs-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 24px;
    }
}
@media (max-width: 575.98px) {
    .pbs-benefits__wrap {
        width: calc(100% - 32px);
    }
    .pbs-benefits__inner {
        padding: 22px 18px;
    }
    .pbs-benefits__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =========================================================
   FAQ (reused from home modern styles but scoped here)
   ========================================================= */
.pbs-faq {
    padding: 32px 0 40px;
    background: #fff;
    font-family: var(--pbs-font);
}
.pbs-faq__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.pbs-faq__header {
    text-align: center;
    margin-bottom: 24px;
}
.pbs-faq__title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--pbs-ink);
    margin: 0 0 12px;
}
.pbs-faq__underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: var(--pbs-accent);
    border-radius: 2px;
}
.pbs-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}
.pbs-faq__item {
    background: #fff;
    border: 1px solid var(--pbs-border);
    border-radius: 10px;
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    align-self: start;
}
.pbs-faq__item:hover {
    border-color: var(--pbs-primary-100);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.pbs-faq__q {
    background: none;
    border: none;
    width: 100%;
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--pbs-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.pbs-faq__q::after {
    content: "+";
    font-size: 22px;
    color: var(--pbs-primary);
    flex-shrink: 0;
    font-weight: 300;
    line-height: 1;
}
.pbs-faq__q[aria-expanded="true"]::after {
    content: "–";
}
.pbs-faq__body {
    padding: 0 18px 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--pbs-muted);
}
@media (max-width: 767.98px) {
    .pbs-faq__grid {
        grid-template-columns: 1fr;
    }
    .pbs-faq__inner {
        width: calc(100% - 32px);
    }
}
