.bbc-inline {
    background: #ffffff;
    color: #111;
    border-radius: 2.5rem;
    padding: 1.85rem 1.6rem 1.6rem;
    font-family: "Work Sans", sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-sizing: border-box;
    box-shadow: 14px 18px 28px rgba(0, 0, 0, 0.16);
}

.bbc-inline__title {
    margin: 0 0 1.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #F25C24;
    line-height: 1.2;
}

.bbc-field {
    margin: 0 0 1rem;
    border: 0;
    padding: 0;
    min-width: 0;
}

.bbc-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
}

.bbc-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bbc-size-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.4rem 0.9rem;
    border: 2px solid #E5E7EB;
    border-radius: 9999px;
    background: #fff;
    color: #111;
}

.bbc-size-option.is-selected,
.bbc-size-option:has(input:checked) {
    border-color: #F25C24;
    background: #fff7f3;
    color: #F25C24;
}

.bbc-size-option input {
    margin: 0;
    accent-color: #F25C24;
}

.bbc-inline input.bbc-input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #F25C24;
    border-radius: 9999px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    background: #fff;
    font-family: inherit;
    color: #111;
    -webkit-appearance: none;
    appearance: none;
}

.bbc-inline input.bbc-input:focus {
    outline: none;
    border-color: #1F1F1F;
    box-shadow: 0 0 0 4px rgba(31, 31, 31, 0.1);
}

.bbc-overage {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0.15rem 0 1.25rem;
    cursor: pointer;
    line-height: 1.4;
    color: #111;
}

.bbc-overage input {
    appearance: none;
    -webkit-appearance: none;
    margin-top: 0.05rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid #F25C24;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.bbc-overage input:checked {
    background-color: #F25C24;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.bbc-results {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0.25rem 0 1.35rem;
}

.bbc-result {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.bbc-result__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

.bbc-result__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    text-align: right;
}

.bbc-result--price .bbc-result__value {
    color: #F25C24;
}

.bbc-boxes-field {
    margin-top: auto;
    margin-bottom: 0;
}

.bbc-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bbc-inline input.bbc-stepper__input {
    flex: 1;
    text-align: center;
    -moz-appearance: textfield;
}

.bbc-stepper__input::-webkit-outer-spin-button,
.bbc-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bbc-stepper__btn {
    width: 42px;
    height: 42px;
    border: 2px solid #F25C24;
    background: #fff;
    color: #F25C24;
    border-radius: 9999px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.bbc-stepper__btn:hover {
    background: #F25C24;
    color: #fff;
}

@media (max-width: 1023px) {
    .bbc-inline {
        border-radius: 2rem;
        min-height: 0;
    }
}
