.bn-multipack-selector {
    margin: 18px 0 20px;
    padding: 15px;
    border: 1px solid #e3ebf7;
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfdff 0%, #f5f8ff 100%);
}

.bn-custom-bundle-details {
    margin: 18px 0 20px;
    padding: 15px;
    border: 1px solid #dbeee4;
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfffc 0%, #f1faf5 100%);
}

.bn-custom-bundle-price-comparison {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: -8px 0 14px;
    color: #68798d;
    font-size: 12px;
}
.bn-custom-bundle-compare-label { color: #718096; }
.bn-custom-bundle-price-comparison del { color: #8995a3; font-size: 14px; }
.bn-custom-bundle-save-label {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e8f7ed;
    color: #187445;
    font-size: 10px;
    font-weight: 800;
}

.bn-custom-bundle-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bn-custom-bundle-heading > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.bn-custom-bundle-heading > div:first-child strong { color: #193d2b; font-size: 14px; font-weight: 750; }
.bn-custom-bundle-heading > div:first-child strong i { margin-right: 5px; color: #16834e; }
.bn-custom-bundle-heading > div:first-child span,
.bn-custom-bundle-summary small { color: #718096; font-size: 11px; }
.bn-custom-bundle-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bn-custom-bundle-summary strong { color: #12613a; font-size: 17px; font-weight: 800; }
.bn-custom-bundle-items { display: grid; gap: 8px; }
.bn-custom-bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px;
    border: 1px solid #e4ede7;
    border-radius: 10px;
    background: #fff;
}
.bn-custom-bundle-item > img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 7px; background: #f7f9f8; object-fit: contain; }
.bn-custom-bundle-item-name { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 2px; }
.bn-custom-bundle-item-name strong { overflow: hidden; color: #24364b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.bn-custom-bundle-item-name small { color: #7a8792; font-size: 10px; }
.bn-custom-bundle-item-qty { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: #eaf6ef; color: #187445; font-size: 11px; font-weight: 750; white-space: nowrap; }
.bn-custom-bundle-item-price { flex: 0 0 auto; color: #24364b; font-size: 12px; font-weight: 700; white-space: nowrap; }
.bn-custom-bundle-components-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #dcebe1; color: #64748b; font-size: 11px; }
.bn-custom-bundle-components-total strong { color: #176b49; font-size: 12px; }
.bn-custom-bundle-empty { margin: 0; padding: 12px; border: 1px dashed #cbdacf; border-radius: 9px; color: #64748b; font-size: 12px; text-align: center; }

/* Give bundle contents the same clean blue card language as multipack choices. */
.bn-custom-bundle-details:not(.bn-combo-details) {
    border-color: #e3ebf7;
    background: linear-gradient(145deg, #fbfdff 0%, #f5f8ff 100%);
}
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-heading > div:first-child strong { color: #172b4d; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-heading > div:first-child strong i { color: #1b5bd8; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-summary strong { color: #1b5bd8; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item {
    border-color: #e1e8f2;
    border-radius: 11px;
}
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item > img {
    border: 1px solid #edf1f7;
    border-radius: 5px;
    background: #fff;
}
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-name strong { color: #1d2939; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-qty {
    background: #eef4ff;
    color: #1b5bd8;
}
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-price { color: #1b5bd8; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-components-total { border-top-color: #dce6f5; }
.bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-components-total strong { color: #1b5bd8; }

.bn-combo-details .bn-custom-bundle-items {
    gap: 0;
    padding: 5px 14px;
    border: 1px solid #e8eee9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(26, 54, 39, .035);
}
.bn-combo-details .bn-custom-bundle-item {
    gap: 13px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #e6e9e7;
    border-radius: 0;
    background: transparent;
}
.bn-combo-details .bn-custom-bundle-item:last-child { border-bottom: 0; }
.bn-combo-details .bn-custom-bundle-item > img {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    padding: 4px;
    border: 1px solid #d9e0dc;
    border-radius: 9px;
    background: #fff;
}
.bn-combo-details .bn-custom-bundle-item-name strong { font-size: 14px; font-weight: 600; }
.bn-combo-details .bn-custom-bundle-item-qty {
    padding: 0;
    background: transparent;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 575px) {
    .bn-custom-bundle-heading { align-items: flex-start; flex-direction: column; }
    .bn-custom-bundle-summary { align-items: flex-start; }
    .bn-custom-bundle-item { flex-wrap: wrap; }
    .bn-custom-bundle-item-price { margin-left: auto; }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-heading {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-heading > div:first-child { min-width: 0; }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-summary {
        flex: 0 0 auto;
        align-items: flex-end;
        margin-left: auto;
        white-space: nowrap;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-summary small { white-space: nowrap; }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-summary strong {
        font-size: 15px;
        line-height: 1.25;
        white-space: nowrap;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: start;
        gap: 7px 9px;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item > img {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        width: 56px;
        height: 56px;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-name {
        grid-column: 2 / 4;
        grid-row: 1;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-name strong {
        display: -webkit-box;
        overflow: hidden;
        white-space: normal;
        text-overflow: clip;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-qty {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        justify-self: start;
    }
    .bn-custom-bundle-details:not(.bn-combo-details) .bn-custom-bundle-item-price {
        grid-column: 3;
        grid-row: 2;
        align-self: end;
        justify-self: end;
        margin-left: 0;
    }
    .bn-combo-details .bn-custom-bundle-heading {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
    .bn-combo-details .bn-custom-bundle-heading > div:first-child { min-width: 0; }
    .bn-combo-details .bn-custom-bundle-summary {
        flex: 0 0 auto;
        align-items: flex-end;
        margin-left: auto;
        white-space: nowrap;
    }
    .bn-combo-details .bn-custom-bundle-summary small { white-space: nowrap; }
    .bn-combo-details .bn-custom-bundle-summary strong {
        font-size: 15px;
        line-height: 1.25;
        white-space: nowrap;
    }
    .bn-combo-details .bn-custom-bundle-item { flex-wrap: nowrap; }
    .bn-combo-details .bn-custom-bundle-item > img { flex-basis: 54px; width: 54px; height: 54px; }
    .bn-combo-details .bn-custom-bundle-item-name strong { font-size: 12px; }
    .bn-combo-details .bn-custom-bundle-item-qty { margin-left: auto; font-size: 11px; }
}

.bn-multipack-selector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bn-multipack-selector-heading > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bn-multipack-selector-heading strong {
    color: #172b4d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.bn-multipack-selector-heading span {
    color: #718096;
    font-size: 11px;
    line-height: 1.4;
}

.bn-multipack-selector-heading .bn-multipack-selected-label {
    max-width: 48%;
    padding: 5px 9px;
    overflow: hidden;
    border: 1px solid #c9d9ff;
    border-radius: 999px;
    background: #eef4ff;
    color: #1b5bd8;
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bn-multipack-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.bn-multipack-option {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    padding: 10px !important;
    border: 1px solid #e1e8f2 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #24364b !important;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bn-multipack-option:hover {
    transform: translateY(-1px);
    border-color: #a9c3ff !important;
    box-shadow: 0 4px 12px rgba(27, 91, 216, .08);
}

.bn-multipack-option.is-selected {
    border-color: #1b5bd8 !important;
    background: #f3f7ff !important;
    box-shadow: 0 0 0 2px rgba(27, 91, 216, .09);
}

.bn-multipack-option-image,
.bn-multipack-option-icon {
    display: inline-flex !important;
    flex: 0 0 46px !important;
    align-items: center;
    justify-content: center;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    overflow: hidden;
    border: 1px solid #edf1f7;
    border-radius: 8px;
    background: #f8faff;
    object-fit: contain !important;
}

.bn-multipack-option-icon {
    color: #1b5bd8;
    font-size: 17px;
}

.bn-multipack-option-info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.bn-multipack-option-info strong {
    overflow: hidden;
    color: #1d2939;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bn-multipack-option-info small {
    color: #667085;
    font-size: 10px;
    line-height: 1.2;
}

.bn-multipack-option-price {
    color: #1b5bd8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.bn-multipack-option-price del {
    margin-left: 4px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 400;
}

.bn-multipack-option-stock {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 3px 6px;
    border-radius: 999px;
    background: #eaf8f0;
    color: #16834a;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.2;
}

.bn-multipack-option.is-out-of-stock .bn-multipack-option-stock {
    background: #fff1f0;
    color: #b42318;
}

@media (max-width: 575.98px) {
    .bn-multipack-selector {
        margin: 14px 0 18px;
        padding: 12px;
    }

    .bn-multipack-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .bn-multipack-option {
        min-height: 68px;
        padding: 8px !important;
    }
}
