.bb-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
.bb-choice {
    min-width:0;
    padding:.68rem .53rem;
    text-align:center;
    border:1px solid #d8d8d8;
    border-radius:8px;
    background:#fff;
}
.bb-choice h3 {
    margin:0 0 .4rem;
    font-family:inherit;
    font-weight:bold;
    font-size:1.02rem;
    line-height:1.2;
}
.bb-choice-price { display:block; color:#161616; font-size:1.34rem; line-height:1.2; }
.bb-choice-quantity { display:block; color:#454545; font-size:.84rem; margin:.2rem 0 .55rem; }
.bb-choice-button {
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    min-height:39px;
    padding:.3rem .2rem;
    border:1px solid #b8201a;
    border-radius:6px;
    font-size:.9rem;
    font-weight:bold;
    line-height:1.2;
}
.bb-choice-single { background:#bf1c17; color:#fff; }
.bb-choice-single:hover { background:#a41813; color:#fff; }
.bb-choice-bundle { background:#fff; color:#ac1b16; }
.bb-choice-bundle:hover { background:#fff0ef; color:#8f1914; }
.bb-choice-button:focus-visible, .bb-close:focus-visible { outline:2px solid #1664af; outline-offset:2px; }
.bb-provider { margin-top:.4rem; font-size:.73rem; color:#555; line-height:1.2; }
.bb-detail-options { padding-right:.35rem; }
dialog.bb-choice-dialog {
    width:min(30rem,calc(100% - 1.25rem));
    max-height:calc(100% - 1.25rem);
    margin:auto;
    padding:1rem;
    color:#222;
    border:1px solid #ccc;
    border-radius:10px;
    box-shadow:0 14px 34px #0004;
    background:white;
}
.bb-choice-dialog::backdrop { background:#0007; }
.bb-dialog-header { display:flex; align-items:center; justify-content:space-between; column-gap:.55rem; margin-bottom:.7rem; }
.bb-dialog-header h2 { margin:0; font-size:1.27rem; line-height:1.2; }
.bb-close { width:36px; min-height:36px; flex:none; border-radius:5px; background:#f3f3f3; color:#333; font-size:1.35rem; cursor:pointer; }
.bb-close:hover { background:#eaeaea; }
@media (max-width:639px) {
    .bb-detail-options { padding-inline:.45rem; }
}
@media (max-width:380px) {
    .bb-choice { padding-inline:.3rem; }
    .bb-choice h3 { font-size:.91rem; }
    .bb-choice-quantity { font-size:.76rem; }
    .bb-choice-button { font-size:.82rem; }
    dialog.bb-choice-dialog { padding:.65rem; }
}
.bb-choice-price-line {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:.2rem .38rem;
}
.bb-saving {
    display:inline-block;
    padding:.14rem .3rem;
    border-radius:4px;
    background:#e7f4e9;
    color:#165522;
    white-space:nowrap;
    font-size:.7rem;
    font-weight:bold;
    line-height:1.25;
}
.bb-choice [hidden] { display:none; }
