/* Category order flow: guidance, accessible choices and compact mobile layout. */
.bd-order-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 16px 0 24px;
    padding: 20px;
    border: 1px solid #e5daef;
    border-radius: 14px;
    background: #faf7fd;
    color: #25143d;
}
.bd-order-start-copy {
    min-width: 0;
}
.bd-order-start-copy strong {
    display: block;
    margin-bottom: 5px;
    color: #54208f;
    font-size: 1.1rem;
    line-height: 1.35;
}
.bd-order-start-copy p {
    max-width: 620px;
    margin: 0;
    line-height: 1.55;
}
.bd-order-start-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.bd-order-start-primary,
.bd-order-start-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 9px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}
.bd-order-start-primary {
    border: 1px solid #e18b12;
    background: #f39b21;
    color: #241306;
    text-decoration: none;
}
.bd-order-start-primary:hover {
    background: #eda01f;
    color: #241306;
    text-decoration: underline;
}
.bd-order-start-secondary,
.bd-order-start-secondary:hover {
    color: #54208f;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bd-brochure-guide {
    max-width: 850px;
    margin: 0 0 28px;
    padding: 0 2px;
    color: #25143d;
}
.bd-brochure-guide h2 {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    line-height: 1.3;
}
.bd-brochure-guide p {
    margin: 0 0 10px;
    line-height: 1.6;
}
.bd-brochure-guide a {
    color: #54208f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bd-brochure-guide a:focus-visible {
    outline: 3px solid #54208f;
    outline-offset: 3px;
}
#productInfo .bd-order-start-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0 0 18px;
    padding: 10px 18px;
    border: 1px solid #54208f;
    border-radius: 9px;
    background: #54208f;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
}
#productInfo .bd-order-start-product[hidden] {
    display: none !important;
}
#productInfo .bd-order-start-product:hover {
    background: #3e126e;
    color: #fff;
    text-decoration: underline;
}
#bd-order-configurator,
#productInfo #cartAdd {
    scroll-margin-top: calc(var(--bd-sticky-header-height, 138px) + 24px);
}
.bd-category-wizard .bd-configurator-option {
    position: relative;
    min-width: 0;
}
.bd-category-wizard .bd-configurator-option[aria-pressed="true"] {
    border-color: #54208f;
    background: #f6effc;
    box-shadow: 0 0 0 2px #54208f;
}
.bd-category-wizard .bd-configurator-option[aria-pressed="true"]::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #54208f;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}
.bd-category-wizard .bd-configurator-reset {
    min-height: 44px;
}
.bd-order-start a:focus-visible,
#productInfo .bd-order-start-product:focus-visible,
.bd-category-wizard .bd-configurator-option:focus-visible,
.bd-category-wizard .bd-configurator-reset:focus-visible,
.bd-category-wizard .bd-configurator-product:focus-visible,
#bd-order-configurator:focus-visible {
    outline: 3px solid #54208f;
    outline-offset: 4px;
}
@media (max-width: 767px) {
    .bd-order-start {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }
    .bd-order-start-actions {
        align-items: stretch;
        gap: 4px;
    }
    #productInfo .bd-order-start-product {
        display: flex;
        width: 100%;
    }
    #bd-order-configurator .bd-configurator-options:not([hidden]) {
        display: grid;
        min-width: 0;
        /* The existing category bundle uses an important auto-fit override. */
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
    .bd-category-wizard .bd-configurator-option {
        min-width: 0;
        min-height: 150px;
        padding-right: 8px;
        padding-left: 8px;
    }
    .bd-category-wizard .bd-configurator-option .bd-option-label {
        overflow-wrap: anywhere;
    }
    .bd-category-wizard .bd-configurator-option .bd-option-format {
        white-space: normal;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bd-category-wizard .bd-configurator-option,
    .bd-category-wizard .bd-configurator-product {
        transition: none;
        transform: none;
    }
}
