.checkout{border-top:1px solid #e5d9df;padding-top:22px;margin:0 0 24px}.checkout [hidden],.sales-section [hidden]{display:none!important}.checkout-total{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:22px}.checkout-total strong{font-size:21px;color:#602b38}.checkout-total p{grid-column:1/-1;font-size:12px;line-height:1.6;color:#8c737e}.checkout fieldset{border:0;min-width:0;margin:0;padding:0}.checkout legend{font-size:15px;font-weight:600;margin-bottom:15px;color:#49333e}.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkout label{font-size:12px;display:flex;flex-direction:column;gap:7px;color:#725662}.checkout input:not([type=radio]),.checkout textarea,.checkout select,.sales-section select,.sales-section textarea,.sales-section input{font:inherit;font-size:13px;border:1px solid #e4d6dd;border-radius:9px;padding:12px;min-height:43px;background:white;color:#49333e;width:100%;min-width:0}.checkout textarea{resize:vertical}.checkout-wide{grid-column:1/-1}.checkout .checkout-methods{margin-top:25px;padding:18px;border:1px solid #e5d9df;background:#fbf8f6;border-radius:13px}.payment-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-choice-grid label{position:relative;align-items:center;padding:15px 10px;border:1px solid #e4d6dd;border-radius:11px;background:white;cursor:pointer}.payment-choice-grid input{position:absolute;top:10px;left:10px;accent-color:#602b38}.payment-choice-grid label:has(input:checked){border:2px solid #602b38;background:#f4e9ee}.payment-choice-grid .ui-icon{width:24px;height:24px}.checkout-methods h3{font-size:16px;margin-top:22px}.checkout-methods p,.checkout-methods small,.checkout-notice{font-size:12px;line-height:1.7;color:#8c737e}.checkout-methods label{margin:14px 0}.payment-review-note{background:#f1e7ec;color:#602b38;font-size:12px;line-height:1.7;padding:12px;border-radius:9px;margin:14px 0}.receipt-upload{border:1px dashed #b68d9f;border-radius:10px;padding:17px;align-items:center;text-align:center;cursor:pointer}.receipt-upload .ui-icon{width:24px;height:24px}.receipt-upload input{max-width:100%;font-size:11px!important}.checkout #receipt-preview{width:100%;max-height:250px;object-fit:contain;background:#f2ecef;border-radius:9px}.checkout-notice{margin:18px 0}.checkout #place-order{width:100%;justify-content:center}.checkout button:disabled{opacity:.5;cursor:wait}.checkout-success{border:1px solid #b6c5ab;border-radius:12px;background:#f0f5e9;padding:22px;margin:16px 0}.checkout-success h3{font-size:18px;margin:0 0 12px}.checkout-success p{line-height:1.7;font-size:13px}.checkout-success a{margin-top:15px;display:inline-block}.checkout #checkout-feedback{color:#602b38;font-size:13px;line-height:1.7;min-height:24px}.admin-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.sales-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.sales-toolbar label{display:flex;flex-direction:column;gap:7px;color:#8c737e;font-size:12px;flex:1;min-width:160px}.sales-summary{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0 25px}.sales-summary p{background:#f7f1f3;border-radius:10px;padding:14px 18px;font-size:12px;color:#725662}.sales-summary strong{font-size:23px;display:block;margin-bottom:7px;color:#602b38}.sales-month>summary{padding:16px;background:#f4e9ee;border-radius:10px;color:#602b38;cursor:pointer;font-size:14px;margin:18px 0 10px;text-transform:capitalize}.sale-order{border:1px solid #e7dce1;border-radius:13px;margin-bottom:12px;overflow:hidden}.sale-order>summary{padding:20px;cursor:pointer;display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:14px;align-items:center;font-size:12px}.sale-order summary small{display:block;font-size:10px;color:#9b8290;margin-top:7px}.sale-badge{display:inline-block;background:#fff3dc;border-radius:20px;padding:7px 10px;color:#8c5b17;font-size:11px}.sale-badge.verified{background:#edf3e6;color:#456436}.sale-badge.rejected{background:#f9e6e8;color:#8e3443}.sale-detail{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:0 20px 22px;border-top:1px solid #f1ebed}.sale-detail h3{font-size:15px;margin:20px 0 14px}.sale-detail ul{padding:0;list-style:none}.sale-detail li{padding:11px 0;border-bottom:1px solid #f1ebed;font-size:12px;line-height:1.7}.sale-detail dl{font-size:12px;line-height:1.7}.sale-detail dt{font-weight:600;margin-top:12px}.sale-detail dd{margin:3px 0;color:#8c737e;overflow-wrap:anywhere;white-space:pre-wrap}.sale-form{display:grid;gap:12px}.sale-form label{font-size:11px;color:#8c737e;display:grid;gap:7px}.sale-feedback,#sales-feedback{font-size:12px;line-height:1.7;color:#602b38}.sale-receipt{display:block;margin:14px 0;font-size:12px;color:#602b38}.receipt-dialog{border:0;border-radius:16px;max-width:min(850px,94vw);max-height:92dvh;padding:20px}.receipt-dialog::backdrop{background:#22171cb3}.receipt-dialog img{display:block;max-width:100%;max-height:75dvh;object-fit:contain}.receipt-dialog button{margin-bottom:15px}.sales-empty{padding:35px 15px;text-align:center;color:#8c737e;line-height:1.8;font-size:13px}.sales-section :focus-visible,.checkout :focus-visible{outline:2px solid #a06c85;outline-offset:3px}@media(max-width:760px){.admin-tabs{grid-template-columns:1fr 1fr}.checkout-fields,.sale-detail{grid-template-columns:1fr}.sale-order>summary{grid-template-columns:1fr 1fr;padding:16px;gap:14px}.sale-detail{padding:0 15px 18px;gap:0}.sales-summary p{flex:1;padding:12px}.checkout-methods{padding:12px!important}.checkout-total strong{font-size:18px}.checkout-fields{gap:12px}.sales-toolbar{align-items:stretch}.sales-toolbar button{width:100%}}

/* Colores del carrito; la administración conserva su propio estilo. */
.basket-dialog .checkout{border-color:#ced8b9}
.basket-dialog .checkout-total strong,.basket-dialog .checkout legend,.basket-dialog .checkout #checkout-feedback{color:#233c21}
.basket-dialog .checkout-total p,.basket-dialog .checkout label,.basket-dialog .checkout-methods p,.basket-dialog .checkout-methods small,.basket-dialog .checkout-notice{color:#526447}
.basket-dialog .checkout input:not([type=radio]),.basket-dialog .checkout textarea,.basket-dialog .checkout select{border-color:#ced8b9;background:#fcfdf8;color:#233c21}
.basket-dialog .checkout .checkout-methods{border-color:#ced8b9;background:#ecf0dc}
.basket-dialog .payment-choice-grid label{border-color:#ced8b9;background:#fcfdf8}
.basket-dialog .payment-choice-grid input{accent-color:#233c21}
.basket-dialog .payment-choice-grid label:has(input:checked){border-color:#233c21;background:#dbe4c2}
.basket-dialog .payment-review-note{background:#dbe4c2;color:#233c21}
.basket-dialog .checkout #receipt-preview{background:#ecf0dc}
.basket-dialog .checkout :focus-visible{outline-color:#355331}
