.sb-baget-order, .sb-baget-requests { --baget-ink:#3d3d3d; --baget-accent:#a72d56; --baget-line:#e5e2db; color:var(--baget-ink); font-family:"Roboto Slab",Georgia,serif; }
.sb-baget-calculator [hidden], .sb-baget-order [hidden] { display:none !important; }
.sb-baget-order { margin-top:24px; padding:24px; background:#faf8f4; border:1px solid var(--baget-line); min-width:0; }
.sb-baget-order__price { display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.sb-baget-calculator .sb-baget-order h3, .sb-baget-requests h2 { margin:0; font-size:22px; line-height:1.3; color:#3d3d3d; }
.sb-baget-order__price strong { font-size:30px; line-height:1.2; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sb-baget-order p { font-size:14px; line-height:1.55; margin:12px 0; }
.sb-baget-order__breakdown { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; margin:20px 0; font-size:14px; }
.sb-baget-order__breakdown dd { margin:0; font-variant-numeric:tabular-nums; text-align:right; }
.sb-baget-order__reason { padding:16px; margin:20px 0; background:#f0ece4; }
.sb-baget-order__reason p { margin-bottom:0; }
.sb-baget-order .sb-baget-order__button, .sb-baget-requests .sb-baget-order__button { display:block; width:100%; min-height:48px; padding:13px 18px; margin:16px 0 10px; background:var(--baget-accent); border:1px solid var(--baget-accent); border-radius:0; color:#fff; font:700 15px/1.4 "Roboto Slab",Georgia,serif; text-align:center; cursor:pointer; white-space:normal; }
.sb-baget-order .sb-baget-order__button--outline { color:var(--baget-accent); background:transparent; }
.sb-baget-order__button:hover:not(:disabled) { background:#8c2548; color:#fff; }
.sb-baget-order__button:disabled { opacity:1; color:#59534d; background:#e8e3dc; border-color:#d8d2c9; cursor:wait; }
.sb-baget-order .sb-baget-order__link, .sb-baget-requests .sb-baget-order__link { appearance:none; border:0; background:none; color:#8c2548; padding:10px 0; min-height:44px; font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.sb-baget-order :is(a,button,input,textarea):focus-visible, .sb-baget-requests :is(a,button,summary):focus-visible, .sb-baget-edit:focus-visible { outline:2px solid #842043; outline-offset:4px; }
.sb-baget-order .sb-baget-order__caption, .sb-baget-requests .sb-baget-order__caption { color:#655f58; font-size:12px; line-height:1.55; }
.sb-baget-order__status { overflow-wrap:anywhere; }
.sb-baget-order__form { margin-top:24px; padding-top:20px; border-top:1px solid var(--baget-line); }
.sb-baget-order__form h4 { margin:0 0 12px; font-size:20px; }
.sb-baget-order__form label { display:block; margin:14px 0; font-size:14px; line-height:1.5; }
.sb-baget-order__form input:not([type=checkbox]), .sb-baget-order__form textarea { box-sizing:border-box; display:block; width:100%; max-width:100%; padding:11px; margin-top:6px; min-height:46px; border:1px solid #9b9389; border-radius:0; background:#fff; color:#3d3d3d; font:inherit; font-size:16px; caret-color:#a72d56; }
.sb-baget-order__form textarea { resize:vertical; }
.sb-baget-order__form :is(input,textarea)::placeholder { color:#6b655e; opacity:1; }
.sb-baget-order__form .sb-baget-order__consent { display:flex; align-items:flex-start; gap:10px; }
.sb-baget-order__consent input { width:20px; height:20px; flex:0 0 20px; margin:2px 0; accent-color:#a72d56; }
.sb-baget-order a, .sb-baget-requests a, .sb-baget-edit { color:#8c2548; text-underline-offset:3px; }
.sb-baget-order ::selection, .sb-baget-requests ::selection { background:#ecd3dc; color:#3d3d3d; }
.sb-baget-edit, .sb-baget-approved { display:inline-block; margin:10px 0 8px; font-size:13px; font-weight:400; }
.sb-baget-cart-item .variation { font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.sb-baget-cart-item .variation dd { margin:0 0 8px; }
.sb-baget-cart-item .variation dd p { margin:0; }
.sb-baget-frame { display:flex; box-sizing:border-box; width:112px; max-width:100%; max-height:150px; aspect-ratio:var(--frame-ratio,1); padding:10px; background:var(--frame-color,#9f8c70); border:3px ridge var(--frame-color,#9f8c70); }
.sb-baget-frame>span { display:block; flex:1; background:#f7f5ef; border:1px solid #887c6b; }
.sb-baget-requests { margin-top:32px; padding:24px 0; border-top:1px solid var(--baget-line); }
.sb-baget-requests>p { font-size:14px; max-width:65ch; line-height:1.5; }
.sb-baget-request { margin:24px 0; padding:20px; background:#faf8f4; border:1px solid var(--baget-line); }
.sb-baget-request h3 { font-size:18px; margin:0 0 12px; }
.sb-baget-request p, .sb-baget-request details { font-size:14px; line-height:1.5; }
.sb-baget-request summary { cursor:pointer; min-height:34px; color:#8c2548; text-decoration:underline; text-underline-offset:3px; }
.sb-baget-request dl { margin:14px 0; }
.sb-baget-request dt { font-weight:600; }
.sb-baget-request dd { margin:0 0 8px; overflow-wrap:anywhere; }
.sb-baget-pickup { padding:16px; background:#faf8f4; border:1px solid #e5e2db; font-size:14px; line-height:1.5; }
@media (max-width:640px) { .sb-baget-order { padding:18px 14px; } .sb-baget-order__price { display:block; } .sb-baget-order__price strong { display:block; margin-top:10px; font-size:28px; } .sb-baget-request { padding:16px; } .sb-baget-order__breakdown { gap:10px; } }

.sb-baget-quantity { display:inline-flex; align-items:center; gap:2px; }
.sb-baget-quantity button { flex:0 0 32px; width:32px; min-height:44px; padding:0; border:1px solid #d8d2c9; background:#faf8f4; color:#3d3d3d; border-radius:0; font:20px/1 Georgia,serif; cursor:pointer; }
.sb-baget-quantity .quantity input.qty { width:44px; min-height:44px; padding:4px; }
.sb-baget-cart-item .variation dt, .sb-baget-cart-item .variation dd { font-weight:400; }
.sb-baget-cart-item .product-thumbnail { vertical-align:top; }
.sb-baget-quantity button:focus-visible { outline:2px solid #842043; outline-offset:2px; }
@media (max-width:640px) {
 .sb-cart-table tbody tr.sb-baget-cart-item { grid-template-areas:"thumb name remove" "quantity quantity quantity" "total total total"; }
 .sb-cart-table tbody tr.sb-baget-cart-item .product-quantity { display:flex !important; grid-area:quantity; align-items:center; gap:14px; padding-top:12px; }
 .sb-cart-table.shop_table_responsive tbody tr.sb-baget-cart-item .product-quantity::before { content:"Количество"; display:block !important; font-size:14px; font-weight:400; }
 .woocommerce-cart-form:has(.sb-baget-cart-item) .sb-cart-table td.actions button[name="update_cart"] { display:block !important; width:100%; min-height:48px; margin-top:12px; }
 .sb-baget-quantity button { width:44px; flex-basis:44px; }
}
