.product-page {
 display: grid;
 gap: 16px;
 color: #30392a;
}
.product-heading,
.product-actions {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: wrap;
}
.product-heading { justify-content: space-between; gap: 12px; }
.product-heading h1 { margin: 0; }
.product-modes .choice-options { width: fit-content; max-width: 100%; }
.product-modes .choice-option { padding: 9px 14px; }
[data-product-mode-status] { margin: -6px 0 0; }
[data-product-mode-status]:empty { display: none; }
.product-table-wrap {
 border: 1px solid #dce2d0;
 border-radius: 16px;
 overflow: hidden;
 background: #fffdfa;
}
.product-table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; }
.product-table th,
.product-table td { text-align: start; padding: 12px 16px; overflow-wrap: anywhere; }
.product-table thead th { background: #ebf1dc; color: #46543c; font-weight: 700; }
.product-table th:nth-child(2) { width: 8rem; }
.product-table th:nth-child(3) { width: 18rem; }
.product-table td:nth-child(2) { font-variant-numeric: tabular-nums; }
.product-table td:first-child { font-weight: 650; }
.product-table td:last-child .product-actions { justify-content: flex-end; }
.product-table .product-actions svg { display: none; }
.product-empty { margin: 12px 16px; }
.product-dialog { display: grid; gap: 12px; }
.product-dialog p { margin: 0; }
.product-dialog .form-error { margin: 0; }
.catalog-items {
 border: 1px solid #dce2d0;
 border-radius: 13px;
 background: #fffefa;
}
.catalog-items:empty { display: none; }
.catalog-item {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding: 8px 12px;
 min-height: 62px;
}
.catalog-item + .catalog-item { border-top: 1px solid #e4e8d9; }
.catalog-item-title { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.catalog-item-title span { font-size: .875rem; color: #56634a; }
.catalog-quantity { flex: none; font-size: .9rem; }
.catalog-stepper { display: grid; grid-template-columns: 44px 2.2ch 44px; align-items: center; gap: 4px; flex: none; text-align: center; }
.bf-page .catalog-stepper button {
 min-inline-size: 44px;
 min-block-size: 44px;
 padding: 0;
 border: 1px solid #cddbb7;
 border-radius: 10px;
 background: #edf3e2;
 box-shadow: none;
 color: #34492a;
 font-size: 1.25rem;
}
.bf-page .catalog-stepper button[aria-disabled="true"] { color: #686f60; background: #f6f6ef; cursor: default; }
.catalog-stepper output { font-size: .9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.catalog-total {
 display: flex;
 justify-content: space-between;
 gap: 8px;
 margin: 10px 0 0;
 padding: 10px 12px;
 border-radius: 10px;
 background: #eff4e5;
 color: #34492a;
 font-weight: 650;
}
.catalog-free, .catalog-search { display: grid; gap: 6px; margin: 0 0 10px; font-weight: 650; }
.bf-page .catalog-free textarea { min-height: 70px; resize: vertical; }
.catalog-delivery { margin: 6px 0 0; }
[data-catalog-empty] { margin: 8px 0; }
.catalog-item[hidden], .product-table tr[hidden] { display: none; }
@media (max-width: 900px) {
 .pearl-cabinet .nav-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
 .pearl-cabinet .nav-item { padding-inline: 2px; font-size: 10px; }
}
@media (max-width: 600px) {
 .product-table th, .product-table td { padding: 8px; }
 .product-table th:nth-child(2) { width: 5.25rem; }
 .product-table th:nth-child(3) { width: 7rem; }
 .product-table .product-actions { gap: 6px; flex-wrap: nowrap; }
 .product-table .product-actions button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; }
 .product-table .product-actions span { display: none; }
 .product-table .product-actions svg { display: block; width: 18px; height: 18px; }
 .product-modes .choice-options { width: 100%; }
 .catalog-item { gap: 6px; padding-inline: 8px; }
}
