.detail-layout button.detail-add { background: #f3c775; color: #152435; font: inherit; font-weight: 700; min-height: 46px; border: 1px solid #d5a34e; padding: 8px 18px; border-radius: 9px; }
.detail-layout button.detail-add:hover { background: #ffd48b; }
dialog.basket-sheet { width: min(34rem, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-sizing: border-box; padding: clamp(14px, 4vw, 24px); overflow: auto; }
.basket-sheet .basket-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e0e6ed; padding-bottom: 10px; }
.basket-sheet h2 { margin: 0; font-size: 1.35rem; }
.basket-sheet small { color: #536478; font-size: .875rem; }
.basket-sheet button { margin: 0; min-height: 44px; background: #edf1f5; color: #23364b; padding: 4px 10px; }
.basket-sheet .basket-header button { min-width: 44px; font-size: 1.45rem; }
.basket-lines { list-style: none; display: grid; gap: 8px; padding: 0; margin: 12px 0; }
.basket-lines li { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 8px; align-items: center; border: 1px solid #e0e6ed; border-radius: 9px; padding: 8px; }
.basket-lines img { width: 46px; height: 46px; object-fit: contain; }
.basket-lines strong, .basket-lines small { display: block; overflow-wrap: anywhere; }
.basket-sheet label { font-weight: 600; }
.basket-sheet select { display: block; width: 100%; min-height: 44px; margin-block: 4px 12px; border: 1px solid #b4c1cf; border-radius: 8px; padding: 6px 10px; font: inherit; color: #152435; background: white; }
.basket-totals { padding: 10px 12px; border-radius: 9px; background: #f1f5f9; }
.basket-totals div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.basket-totals div:last-child { border-top: 1px solid #cfd9e4; margin-top: 6px; padding-top: 6px; font-weight: 700; }
.basket-sheet .basket-note { margin: 10px 0 0; color: #536478; font-size: .875rem; }
@media (max-width: 620px) { .detail-layout button.detail-add { width: 100%; } }
