:root {
    --bce-navy: #0b2f59;
    --bce-blue: #0b63ce;
    --bce-light-blue: #edf6ff;
    --bce-border: #d7e3ef;
    --bce-text: #102a43;
    --bce-muted: #557087;
    --bce-green: #2f9b62;
    --bce-gold: #f2a900;
    --bce-purple: #7b3fd1;
    --bce-teal: #0899b7;
}

.bce-storefront-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.bce-florida-storefront {
    width: 100%;
    color: var(--bce-text);
    background: #f8fbfe;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bce-storefront-kicker {
    margin: 0 0 .5rem;
    color: #0966d6;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bce-florida-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dfe9f3;
    background:
        radial-gradient(circle at 70% 25%, rgba(86, 174, 255, .22), transparent 34%),
        linear-gradient(90deg, #f7fbff 0%, #eef7ff 55%, #dceeff 100%);
}

.bce-florida-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 2.5rem;
    align-items: center;
    min-height: 430px;
    padding-block: 3.2rem;
}

.bce-florida-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #092c52;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.bce-florida-hero h1 em {
    color: #0a63ce;
    font-style: normal;
}

.bce-florida-hero__lead {
    max-width: 720px;
    margin: 1.1rem 0 1.45rem;
    color: #294b68;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.65;
}

.bce-storefront-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.bce-storefront-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: .7rem 1rem;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.bce-storefront-button:hover:not(.is-disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 68, 128, .14);
}

.bce-storefront-button--primary {
    color: #fff;
    background: #0966d6;
}

.bce-storefront-button--secondary {
    color: #0966d6 !important;
    border-color: #8ab9ec;
    background: #fff !important;
}

.bce-storefront-button--light {
    color: #0b4fa2;
    background: #fff;
}

.bce-storefront-button--outline-light {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: transparent;
}

.bce-storefront-button.is-disabled,
.bce-storefront-button:disabled {
    opacity: .46;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.bce-storefront-cart[data-cart-action] {
    color: #0966d6 !important;
    border: 1px solid #8ab9ec !important;
    background: #fff !important;
    box-shadow: none !important;
}

.bce-storefront-cart[data-cart-action] svg {
    width: 18px;
    height: 18px;
}

.bce-florida-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.3rem;
    color: #224865;
    font-size: .9rem;
    font-weight: 700;
}

.bce-florida-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.bce-florida-hero__proof i {
    color: #0a63ce;
}

.bce-florida-hero__visual {
    position: relative;
    min-height: 330px;
}

.bce-florida-hero__visual svg {
    position: absolute;
    width: 230px;
    right: 6%;
    top: 5%;
    fill: rgba(255,255,255,.55);
    filter: drop-shadow(0 12px 26px rgba(11,47,89,.08));
}

.bce-florida-hero__sun {
    position: absolute;
    inset: 16% 8% auto auto;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44,137,230,.22), rgba(44,137,230,0) 70%);
}

.bce-florida-hero__blueprint {
    position: absolute;
    inset: 25% 0 2% 12%;
    border-radius: 26px;
    opacity: .48;
    background:
        linear-gradient(rgba(28,97,161,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28,97,161,.14) 1px, transparent 1px),
        linear-gradient(145deg, transparent 0 44%, rgba(9,99,206,.2) 44.2% 44.8%, transparent 45% 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
}

.bce-storefront-main {
    padding-block: 2rem 3rem;
}

.bce-pe-finder {
    border: 1px solid #cfe0f2;
    border-radius: 18px;
    padding: 1.2rem;
    background: linear-gradient(135deg, #edf6ff 0%, #f7fbff 100%);
    box-shadow: 0 12px 34px rgba(13, 70, 122, .07);
}

.bce-pe-finder__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bce-pe-finder__header h2 {
    margin: 0;
    color: #092f59;
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    line-height: 1.08;
}

.bce-pe-finder__steps {
    display: flex;
    gap: .75rem;
    margin: .15rem 0 0;
    padding: 0;
    list-style: none;
    color: #6f8498;
    font-size: .78rem;
    font-weight: 700;
}

.bce-pe-finder__steps li {
    display: flex;
    gap: .35rem;
    align-items: center;
    white-space: nowrap;
}

.bce-pe-finder__steps span,
.bce-pe-finder__number {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #a2b5c7;
    font-weight: 800;
}

.bce-pe-finder__steps .is-active span,
.bce-pe-finder__number {
    background: #0966d6;
}

.bce-pe-finder__workspace {
    display: grid;
    grid-template-columns: 1.05fr .9fr 1.15fr;
    gap: 1rem;
    align-items: stretch;
}

.bce-pe-finder__column {
    min-width: 0;
}

.bce-pe-finder__column > h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: .15rem 0 .7rem;
    color: #153a5c;
    font-size: .95rem;
}

.bce-pe-finder__specialties,
.bce-subject-panel {
    display: grid;
    gap: .65rem;
}

.bce-specialty-card {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr 20px;
    gap: .75rem;
    align-items: center;
    width: 100%;
    min-height: 92px;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: .8rem;
    color: #fff;
    text-align: left;
    cursor: pointer;
    background: #0b63ce;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.bce-specialty-card:hover,
.bce-specialty-card.is-selected {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.82);
    box-shadow: 0 10px 22px rgba(18,65,112,.18);
}

.bce-specialty-card__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 10px;
    font-size: 1.45rem;
}

.bce-specialty-card strong,
.bce-specialty-card small {
    display: block;
}

.bce-specialty-card strong {
    font-size: 1rem;
}

.bce-specialty-card small {
    margin-top: .2rem;
    color: rgba(255,255,255,.84);
    font-size: .75rem;
    line-height: 1.35;
}

.bce-accent-civil,
.bce-specialty-card[data-bce-specialty="civil"] { --bce-accent: #0966d6; }
.bce-accent-transportation { --bce-accent: #e47e0b; }
.bce-accent-mechanical,
.bce-specialty-card[data-bce-specialty="mechanical"] { --bce-accent: #2f9b62; }
.bce-accent-environmental,
.bce-specialty-card[data-bce-specialty="environmental"] { --bce-accent: #f2a900; }
.bce-accent-wastewater { --bce-accent: #0796b4; }
.bce-accent-core,
.bce-specialty-card[data-bce-specialty="core"] { --bce-accent: #7b3fd1; }

.bce-specialty-card[data-bce-specialty] {
    background: var(--bce-accent);
}

.bce-subject-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    border: 1px solid #bcd0e4;
    border-radius: 10px;
    padding: .8rem .9rem;
    color: #173b5c;
    background: #fff;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.bce-subject-button:hover,
.bce-subject-button.is-selected {
    color: #fff;
    border-color: #0966d6;
    background: #0966d6;
}

.bce-package-preview {
    height: calc(100% - 2.1rem);
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
    border: 1px solid #d6e3ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(13,70,122,.06);
}

.bce-package-preview__media {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bce-accent, #0966d6);
}

.bce-package-preview__media img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    background: #fff;
}

.bce-package-preview__media i {
    font-size: 2.3rem;
}

.bce-package-preview__body {
    min-width: 0;
    padding: 1rem;
}

.bce-package-preview__eyebrow {
    margin: 0 0 .25rem;
    color: #0966d6;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.bce-package-preview h4 {
    margin: 0;
    color: #0b2f59;
    font-size: 1.25rem;
}

.bce-package-preview__body > p:not(.bce-package-preview__eyebrow) {
    margin: .25rem 0 .55rem;
    color: #4a667d;
    font-size: .86rem;
}

.bce-package-preview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.bce-package-preview__meta span {
    border-radius: 99px;
    padding: .25rem .55rem;
    color: #0d5cb9;
    background: #eef6ff;
    font-size: .72rem;
    font-weight: 800;
}

.bce-package-preview__price {
    margin: .7rem 0;
    color: #0b2f59;
    font-size: 1.65rem;
    font-weight: 900;
}

.bce-package-preview__status,
.bce-product-card__status {
    display: block;
    margin-top: .45rem;
    color: #6b7e90;
    font-size: .72rem;
}

.bce-pe-finder__footer {
    margin-top: .9rem;
    text-align: right;
}

.bce-pe-finder__footer a {
    color: #0966d6;
    font-weight: 800;
    text-decoration: none;
}

.bce-package-why {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-top: 1.35rem;
}

.bce-package-why__intro {
    padding: 1rem .5rem 1rem 0;
}

.bce-package-why h2,
.bce-storefront-section h2,
.bce-storefront-support-grid h2,
.bce-storefront-final-cta h2 {
    margin: 0;
    color: #0b2f59;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.bce-package-why__intro p:last-child,
.bce-storefront-section__heading p,
.bce-storefront-support-grid p {
    color: #547087;
    line-height: 1.55;
}

.bce-package-compare {
    position: relative;
    border: 1px solid #d5e4f1;
    border-radius: 12px;
    padding: 1rem;
    background: #eef7ff;
}

.bce-package-compare--complete {
    background: #effaf3;
}

.bce-package-compare h3 {
    margin: 0 0 .25rem;
    color: #173b5c;
}

.bce-package-compare p {
    margin: 0 0 .6rem;
    color: #6c8192;
    font-size: .8rem;
}

.bce-package-compare ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #294a64;
    font-size: .82rem;
}

.bce-package-compare li {
    display: flex;
    gap: .45rem;
    align-items: flex-start;
    margin-top: .38rem;
}

.bce-package-compare li i {
    margin-top: .12rem;
    color: #20905a;
}

.bce-package-compare > strong {
    position: absolute;
    right: .8rem;
    bottom: .75rem;
    border-radius: 8px;
    padding: .4rem .55rem;
    color: #0b2f59;
    background: rgba(255,255,255,.62);
}

.bce-storefront-section {
    margin-top: 2rem;
}

.bce-storefront-section__heading {
    margin-bottom: .8rem;
}

.bce-storefront-section__heading--split {
    display: flex;
    gap: 1rem;
    align-items: end;
    justify-content: space-between;
}

.bce-storefront-section__heading--split > a {
    color: #0966d6;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
}

.bce-package-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .65rem;
}

.bce-product-card,
.bce-course-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9e4ee;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(12,52,88,.06);
}

.bce-product-card__image {
    position: relative;
    height: 128px;
    overflow: hidden;
    background: #eef4f9;
}

.bce-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.bce-product-card__image > span {
    position: absolute;
    left: .45rem;
    top: .45rem;
    border-radius: 99px;
    padding: .2rem .45rem;
    color: #0b2f59;
    background: rgba(255,255,255,.92);
    font-size: .68rem;
    font-weight: 900;
}

.bce-product-card__fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bce-accent, #0966d6);
    font-size: 2rem;
}

.bce-product-card__body {
    padding: .7rem;
}

.bce-product-card h3 {
    min-height: 2.3em;
    margin: 0;
    color: #0c3158;
    font-size: .92rem;
    line-height: 1.15;
}

.bce-product-card__body > p {
    min-height: 2.6em;
    margin: .25rem 0 .45rem;
    color: #5b7387;
    font-size: .72rem;
    line-height: 1.3;
}

.bce-product-card__price,
.bce-course-card__price {
    margin: .2rem 0 .55rem;
    color: #0b2f59;
    font-size: 1.25rem;
    font-weight: 900;
}

.bce-product-card__actions,
.bce-course-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .35rem;
}

.bce-product-card__actions .bce-storefront-button,
.bce-course-card__actions .bce-storefront-button {
    min-height: 36px;
    width: 100%;
    padding: .45rem .55rem;
    font-size: .74rem;
}

.bce-course-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .8rem 0 .75rem;
}

.bce-course-filters span {
    border: 1px solid #cfdeeb;
    border-radius: 99px;
    padding: .35rem .75rem;
    color: #2c4d68;
    background: #fff;
    font-size: .76rem;
    font-weight: 700;
}

.bce-course-filters .is-active {
    color: #fff;
    border-color: #0966d6;
    background: #0966d6;
}

.bce-course-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .7rem;
}

.bce-course-card {
    padding: .7rem;
}

.bce-course-card__header {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: .6rem;
}

.bce-course-card__thumb {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: var(--bce-accent, #0966d6);
}

.bce-course-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bce-course-card h3 {
    margin: 0;
    color: #153a5c;
    font-size: .75rem;
    line-height: 1.25;
}

.bce-course-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .45rem;
}

.bce-course-card__badges span {
    border: 1px solid #c7dcf0;
    border-radius: 99px;
    padding: .18rem .35rem;
    color: #0f5cb3;
    font-size: .62rem;
    font-weight: 800;
}

.bce-storefront-support-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: .8rem;
    margin-top: 1.5rem;
}

.bce-storefront-support-grid > article {
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
}

.bce-support-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: #0966d6;
    margin-bottom: .55rem;
}

.bce-storefront-support-grid h2 {
    font-size: 1.1rem;
}

.bce-storefront-support-grid p {
    margin: .3rem 0;
    font-size: .82rem;
}

.bce-storefront-support-grid a {
    display: inline-block;
    margin-top: .45rem;
    color: #0966d6;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.bce-how-list {
    display: grid;
    gap: .65rem;
    margin: .7rem 0 0;
    padding: 0;
    list-style: none;
}

.bce-how-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: .5rem;
}

.bce-how-list li > span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #0966d6;
    font-size: .75rem;
    font-weight: 800;
}

.bce-how-list strong,
.bce-how-list small {
    display: block;
}

.bce-how-list strong {
    color: #173a5a;
    font-size: .8rem;
}

.bce-how-list small {
    color: #6b8092;
    font-size: .72rem;
}

.bce-faq-list details {
    border-bottom: 1px solid #e1e9f0;
    padding: .45rem 0;
}

.bce-faq-list summary {
    color: #355570;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}

.bce-faq-list p {
    margin: .35rem 0 0;
    font-size: .75rem;
}

.bce-storefront-final-cta {
    color: #fff;
    background: linear-gradient(90deg, #063b72, #0b2f59);
}

.bce-storefront-final-cta .bce-storefront-shell {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.5rem;
}

.bce-storefront-final-cta h2,
.bce-storefront-final-cta p,
.bce-storefront-final-cta .bce-storefront-kicker {
    color: #fff;
}

.bce-storefront-final-cta p {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.78);
}

@media (max-width: 1100px) {
    .bce-package-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bce-course-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bce-pe-finder__workspace {
        grid-template-columns: 1fr 1fr;
    }

    .bce-pe-finder__preview-column {
        grid-column: 1 / -1;
    }

    .bce-package-preview {
        grid-template-columns: 180px 1fr;
    }
}

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

    .bce-florida-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 2.4rem 1.6rem;
    }

    .bce-florida-hero__visual {
        min-height: 180px;
    }

    .bce-pe-finder__header,
    .bce-storefront-section__heading--split,
    .bce-storefront-final-cta .bce-storefront-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .bce-pe-finder__steps {
        width: 100%;
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .bce-package-why,
    .bce-storefront-support-grid {
        grid-template-columns: 1fr;
    }

    .bce-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .bce-pe-finder {
        padding: .9rem;
        border-radius: 14px;
    }

    .bce-pe-finder__workspace {
        grid-template-columns: 1fr;
    }

    .bce-pe-finder__preview-column {
        grid-column: auto;
    }

    .bce-package-preview {
        grid-template-columns: 1fr;
    }

    .bce-package-preview__media {
        min-height: 165px;
    }

    .bce-package-grid,
    .bce-course-grid {
        grid-template-columns: 1fr;
    }

    .bce-product-card__image {
        height: 180px;
    }

    .bce-florida-hero__proof {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bce-storefront-actions {
        width: 100%;
    }

    .bce-storefront-actions .bce-storefront-button {
        flex: 1 1 100%;
    }
}

/* Homepage variant: keep the finder compact inside the existing routing page. */
.builderce-home .bce-pe-finder {
    width: min(1180px, calc(100% - 40px));
    margin: 2rem auto;
}

.builderce-home .bce-pe-finder--compact .bce-specialty-card {
    min-height: 82px;
}

.builderce-home .bce-pe-finder--compact .bce-package-preview__media {
    min-height: 190px;
}
