.bz-portions-host[hidden] {
    display: none;
}
.bz-portions [hidden] {
    display: none;
}
.bz-portions {
    background: #faf7f2;
    border: 1px solid #ddd5ca;
    border-radius: 14px;
    margin-top: 20px;
    min-width: 0;
}
.bz-portions > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    min-height: 56px;
    padding: 15px 18px;
}
.bz-portions > summary::-webkit-details-marker {
    display: none;
}
.bz-portions > summary > span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.bz-portions > summary > small {
    align-items: center;
    color: #69625c;
    display: flex;
    flex-shrink: 0;
    font-size: 11px;
    gap: 10px;
}
.bz-portions > summary > small:after {
    color: #df0017;
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
.bz-portions[open] > summary > small:after {
    content: "−";
}
.bz-portions__body {
    border-top: 1px solid #e7dfd4;
    display: grid;
    gap: 18px;
    padding: 16px 18px 20px;
}
.bz-portions__intro {
    color: #68615b;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
}
.bz-portions__field {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.bz-portions__field > label {
    font-size: 13px;
    font-weight: 600;
}
.bz-portions__detail {
    color: #69625c;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
#berezia-pedido .bz-portions__field > input {
    background: #fff;
    border: 1px solid #cfc5b8;
    border-radius: 9px;
    color: #22221f;
    font: inherit;
    font-size: 16px;
    min-height: 44px;
    min-width: 0;
    padding: 10px 12px;
    width: 100%;
}
#berezia-pedido .bz-portions__field > input[aria-invalid="true"] {
    border-color: #c60018;
}
.bz-portions__error {
    color: #ae0016;
    font-size: 12px;
    line-height: 1.5;
}
.bz-portions__error[hidden] {
    display: none;
}
.bz-portions__suggestions {
    display: none;
    gap: 7px;
    margin-top: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}
.bz-portions__field:focus-within .bz-portions__suggestions {
    display: flex;
}
.bz-portions__chip {
    align-items: center;
    background: #fff;
    border: 1px solid #d9cfc2;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    max-width: 100%;
    overflow: hidden;
}
.bz-portions__chip button {
    background: transparent;
    border: 0;
    color: #544b43;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    min-height: 44px;
    padding: 7px 12px;
}
.bz-portions__chip button:first-child {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bz-portions__chip button:last-child {
    border-left: 1px solid #e9e1d7;
    font-size: 19px;
    min-width: 40px;
    padding-inline: 9px;
}
.bz-portions__chip button:hover {
    background: #f4ece2;
}
.bz-portions__remember {
    align-items: start;
    cursor: pointer;
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1.6;
    min-height: 44px;
    padding-block: 6px;
}
#berezia-pedido .bz-portions__remember > input {
    accent-color: #e30613;
    flex: 0 0 18px;
    height: 18px;
    margin: 1px 0 0;
    min-height: 18px;
    padding: 0;
    width: 18px;
}
.bz-portions__clear,
.bz-portions__status button {
    background: transparent;
    border: 0;
    color: #b80014;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    justify-self: start;
    min-height: 44px;
    padding: 4px 0;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.bz-portions__status {
    background: #fff1eb;
    border-radius: 8px;
    color: #943414;
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 12px;
}
.bz-portions__status p {
    margin: 0;
}
.bz-portions__review {
    border-top: 1px solid #e1d9cd;
    margin-top: 12px;
    padding-top: 12px;
}
.bz-portions__review > strong {
    font-size: 13px;
}
.bz-portions__review p {
    font-size: 13px;
    line-height: 1.6;
    margin: 6px 0;
    overflow-wrap: anywhere;
}
.bz-order__summary .bz-portions__assigned {
    color: #ab0015;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.bz-portions :is(button, input, summary):focus-visible {
    outline: 2px solid #d40016;
    outline-offset: 3px;
}
.bz-portions button:disabled {
    cursor: wait;
    opacity: 0.55;
}
@media (max-width: 560px) {
    .bz-portions > summary {
        padding: 13px;
    }
    .bz-portions__body {
        padding: 14px 13px 16px;
    }
    .bz-portions > summary > span {
        font-size: 13px;
    }
    .bz-portions > summary > small {
        font-size: 10px;
        gap: 8px;
    }
}
