.budget-page { background: #f4f7fb; color: #001f5b; min-height: 100vh; }
.budget-main { padding: 4.5rem 1rem 5rem; }
.budget-shell { margin: 0 auto; max-width: 920px; }
.budget-heading { margin-bottom: 2rem; }
.budget-kicker { color: #168ec3; font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.budget-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: .5rem 0 .35rem; }
.budget-subtitle, .budget-total { color: #526681; margin: 0; }
.budget-submit { align-items: end; background: #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,31,91,.1); display: flex; gap: 1rem; justify-content: space-between; margin-top: 1.5rem; padding: 1.1rem 1.25rem; }
.budget-submit-field { display: grid; gap: .4rem; min-width: 0; width: min(100%, 620px); }
.budget-submit-field label { color: #526681; font-size: .82rem; font-weight: 700; }
.budget-submit-field select { background: #fff; border: 1px solid #d8e1ee; border-radius: 8px; color: #001f5b; font: inherit; min-height: 2.7rem; padding: .55rem .7rem; }
.budget-submit-field select:focus-visible { border-color: #28a9e0; outline: 3px solid rgba(40,169,224,.2); }
.budget-submit-button { align-items: center; background: #28a9e0; border: 0; border-radius: 999px; color: #fff; cursor: pointer; display: inline-flex; font-weight: 700; gap: .5rem; min-height: 2.7rem; padding: .65rem 1.2rem; white-space: nowrap; }
.budget-submit-button:hover { background: #168ec3; }
.budget-submit-button:disabled { cursor: wait; opacity: .6; }
.budget-message { border-radius: 10px; margin: 1rem 0 0; padding: .85rem 1rem; }
.budget-message-error { background: #fff0ef; color: #8e2117; }
.budget-message-success { background: #eaf8f0; color: #14723d; }
.budget-list { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.budget-item { align-items: center; background: #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,31,91,.1); display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) auto auto; padding: 1.1rem 1.25rem; }
.budget-item-code { color: #168ec3; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.budget-item-name { color: #001f5b; display: block; font-size: 1rem; font-weight: 800; margin-top: .25rem; }
.budget-item-meta { color: #526681; display: block; font-size: .85rem; line-height: 1.4; margin-top: .25rem; }
.budget-quantity { align-items: center; display: flex; gap: .5rem; white-space: nowrap; }
.budget-quantity label { color: #526681; font-size: .82rem; font-weight: 700; }
.budget-quantity input { border: 1px solid #d8e1ee; border-radius: 8px; color: #001f5b; font: inherit; font-weight: 700; padding: .55rem; text-align: center; width: 4.5rem; }
.budget-quantity input:focus-visible { border-color: #28a9e0; outline: 3px solid rgba(40,169,224,.2); }
.budget-remove { align-items: center; background: transparent; border: 1px solid #d8e1ee; border-radius: 50%; color: #b42318; cursor: pointer; display: inline-flex; height: 2.35rem; justify-content: center; width: 2.35rem; }
.budget-remove:hover { background: #fff0ef; border-color: #e7aaa4; }
.budget-empty { background: #fff; border-radius: 14px; padding: 2.5rem 1.5rem; text-align: center; }
.budget-empty p { color: #526681; margin: 0 0 1.25rem; }
.budget-back { background: #001f5b; border-radius: 999px; color: #fff; display: inline-block; font-weight: 700; padding: .7rem 1.1rem; text-decoration: none; }
.budget-back:hover { background: #168ec3; color: #fff; }
.product-detail-budget { margin: 1.8rem 0 0; }
.product-budget-button { align-items: center; background: #000; border: 0; border-radius: 999px; color: #fff; cursor: pointer; display: flex; font-size: .82rem; font-weight: 700; gap: .5rem; justify-content: center; min-height: 2.7rem; padding: .65rem 1rem; transition: background .2s ease, transform .2s ease; }
.product-budget-button:hover { background: #168ec3; color: #fff; transform: translateY(-1px); }
.product-budget-button:focus-visible { outline: 3px solid rgba(40,169,224,.45); outline-offset: 3px; }
.product-budget-button .fa { align-items: center; background: #fff; border-radius: 50%; color: #000; display: inline-flex; height: 1.35rem; justify-content: center; width: 1.35rem; }
@media (max-width: 575px) { .budget-main { padding-top: 2.8rem; } .budget-item { align-items: flex-start; grid-template-columns: minmax(0, 1fr) auto; } .budget-quantity { grid-column: 1; } .budget-remove { grid-column: 2; grid-row: 2; } .budget-submit { align-items: stretch; flex-direction: column; } .budget-submit-field { width: 100%; } .budget-submit-button { justify-content: center; } }
