html body .bp-finish-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;border:1px solid #e1e1dc;background:#fff;color:#303632;box-shadow:0 14px 70px #0003;overflow:auto}
html body .bp-finish-dialog:not([open]){display:none}
html body .bp-finish-dialog::backdrop{background:rgb(20 26 22 / .6)}
html body .bp-finish-dialog h2{font-size:20px;font-weight:400;line-height:1.35;margin:8px 0 18px;padding:0;letter-spacing:0}
html body .bp-finish-close{display:block;margin-left:auto;padding:0 0 10px;border:0;background:none;color:#555;cursor:pointer;font-size:12px}
html body .bp-finish-dialog-art{width:100%;aspect-ratio:1;border:1px solid #e5e5e0;overflow:hidden;display:grid;place-items:center}
html body .bp-finish-dialog-art img{width:100%;height:100%;object-fit:cover;display:block}
html body .bp-finish-dialog-note{font-size:11px;color:#777;line-height:1.6;margin:15px 0 0}

/* The native control remains the input used by the product and WooCommerce. */
html body .bp-config-choice {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,.92fr) 30px 12px;
    align-items: center;
    column-gap: 12px;
    min-height: 56px;
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--bp-line,#e1e1dc);
    grid-column: 1 / -1;
    text-align: left;
}
html body .bp-config-choice:has(.bp-config-chip[hidden]) {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr) 12px;
}
html body .bp-config-label { color: var(--bp-muted,#626762); font-size: 12px; line-height: 1.45; }
html body .bp-config-value { color: var(--bp-ink,#303632); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
html body .bp-config-arrow {
    grid-column: -2;
    justify-self: center;
    width: 7px;
    height: 7px;
    border: solid #888;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}
html body .bp-config-choice > select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    z-index: 1;
}
html body .bp-config-choice > select:disabled { cursor: default; }
html body .bp-config-choice:has(select:disabled) :is(.bp-config-value,.bp-config-arrow) { opacity: .55; }
html body .bp-config-choice:has(select:focus-visible), html body .bp-config-chip:focus-visible { outline: 2px solid #9d173d; outline-offset: 2px; }
html body .bp-config-choice .bp-config-chip {
    display: block;
    position: relative;
    z-index: 2;
    grid-column: 3;
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    line-height: 1;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: zoom-in;
}
html body .bp-config-chip img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .bp-config-choice .bp-config-chip[hidden],
html body .bp-config-source-options,
html body .bp-config-unwrapped > summary,
html body .bp-config-field :is(.bp-material-picker,.bp-ostin-swatches,.bp-finish-picker,.bp-xenon-sample) { display: none !important; }
html body .bp-config-source-label:not(th) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
}
html body tr:has(td .bp-config-choice) > th.label { display: none !important; }
html body tr:has(td .bp-config-choice) > td { display: block; padding: 0; width: 100%; min-width: 0; }
html body #main.bp-model-page :is(.bp-ostin-field,.bp-sandie-field,.bp-north-cape-field,.bp-xenon-field).bp-config-field,
html body #main.bp-model-page .bp-config-unwrapped {
    display: block;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    grid-column: 1 / -1;
}
html body .bp-config-field { min-width: 0; }
@media (max-width: 420px) {
    html body .bp-config-choice { column-gap: 8px; }
}

html body #main #bp-model-purchase .bp-config-heading {
    margin: 0 !important;
    padding: 18px 0 12px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    color: var(--bp-muted,#626762);
}
html body #main.bp-model-page .bp-ostin-fixed {
    display: block;
    margin: 0;
}
html body #main.bp-model-page .bp-ostin-fixed > .bp-config-choice {
    display: grid;
    align-items: center;
    column-gap: 12px;
}
html body #main.bp-model-page .bp-ostin-fixed .bp-config-chip img {
    width: 100%;
    height: 100%;
    border: 0;
}
html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row,.bp-model-secondary) {
    flex-wrap: nowrap !important;
}
html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row) {
    align-items: flex-end !important;
}
@media (max-width: 420px) {
    html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row,.bp-model-secondary) {
        gap: 6px !important;
    }
    html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row,.bp-model-secondary) > .bp-shop-icon-action {
        flex: 0 0 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
    }
    html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row) > label:has(input[name="quantity"]) {
        flex: 0 1 64px;
        min-width: 0;
    }
    html body #main #bp-model-purchase :is(.bp-product-actions,.bp-model-cart-row) > label > input[name="quantity"] {
        width: 100% !important;
        min-width: 0 !important;
    }
}

html body #main #bp-model-purchase .bp-model-secondary:not([hidden]):has(> .bp-shop-icon-action) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
