.attribute-grid-cart-package {
    margin-top: 0.5rem;
}

.attribute-grid-cart-line {
    display: none;
}

.attribute-grid-cart-package__label {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    color: #0b69f6;
    font-weight: 600;
    background: #eef5ff;
    border: 1px solid #bfd6ff;
    border-radius: 0.375rem;
}

.product-line:has(.attribute-grid-cart-package-badge) .product-line__quantity-button {
    display: none;
}

.product-line:has(.attribute-grid-cart-package) .product-line__quantity-button {
    display: none;
}

.attribute-grid-cart-package {
    margin-top: 0.75rem;
}

.attribute-grid-cart-package .attribute-grid-cart-package__label {
    margin-top: 0.5rem;
}

.attribute-grid-grouped-line--duplicate {
    display: none;
}

.attribute-grid-grouped-line .product-line__item--info[hidden] {
    display: none;
}

.attribute-grid-grouped-line .js-cart-line-product-quantity[readonly] {
    pointer-events: none;
    background: #f6f7f9;
}

.attribute-grid-cart-package__quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    min-height: 3rem;
    padding: 0.5rem 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
    background: #f6f7f9;
    border: 1px solid #d8dde3;
    border-radius: 0.375rem;
}

@media (max-width: 767.98px) {
    .attribute-grid-cart-package__quantity {
        min-width: auto;
        min-height: 2.5rem;
        font-size: 1rem;
    }
}

.ag-your-selections { margin-top: .4rem; font-size: .875rem; }
.ag-your-selections > summary { display: list-item; width: fit-content; color: #8066b0; text-decoration: underline; cursor: pointer; padding: .25rem 0; }
.ag-your-selections > summary:focus-visible { outline: 2px solid #967cc9; outline-offset: 3px; }
.ag-your-selections__scroll { max-width: 100%; overflow-x: auto; margin-top: .5rem; }
.ag-your-selections table { width: 100%; border-collapse: collapse; background: #fff; color: #232323; }
.ag-your-selections th, .ag-your-selections td { padding: .4rem .6rem; border: 1px solid #e1d2eb; text-align: left; overflow-wrap: anywhere; }
.ag-your-selections thead, .ag-your-selections tfoot { background: #f0eaf5; }
.ag-your-selections tfoot { font-weight: 600; }
.ag-your-selections td:last-child { white-space: nowrap; text-align: right; }
