/* ── Items-specific styles ── */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start }
.layout-sidebar { position: sticky; top: 5rem }
@media(max-width:680px) { .layout-sidebar { position: static; order: -1 } }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem }
.sec-label { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px }

.itbl { width: 100%; border-collapse: collapse; table-layout: fixed }
.itbl th { font-family: 'Rajdhani', sans-serif; font-size: 11px; color: var(--text3); font-weight: 600; text-align: left; padding: 0 6px 10px 0; border-bottom: 1px solid var(--border); letter-spacing: .07em; text-transform: uppercase }
.itbl th.c { text-align: center }
.itbl td { padding: 11px 6px 11px 0; border-bottom: 1px solid var(--border); vertical-align: middle }
.itbl tr:last-child td { border-bottom: none }
.iname { font-size: 14px; font-weight: 500; color: var(--text) }
.idesc { font-size: 11px; color: var(--text3); margin-top: 2px }

.qty-wrap { display: flex; align-items: center; justify-content: center; gap: 4px }
.qty-btn { width: 22px; height: 22px; border: 1px solid var(--border2); border-radius: 4px; background: var(--bg3); cursor: pointer; font-size: 13px; color: var(--text2); display: flex; align-items: center; justify-content: center; transition: all .12s; font-family: 'Rajdhani', sans-serif; font-weight: 600 }
.qty-btn:hover { border-color: var(--accent); color: var(--accent); background: #e8b84b10 }
.qty-btn:disabled { opacity: .3; cursor: not-allowed; pointer-events: none }
.qty-num { font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); min-width: 16px; text-align: center }
.qty-num.zero { color: var(--text3) }
.unit-price { font-size: 10px; color: var(--text3); text-align: center; margin-top: 3px; font-family: 'Rajdhani', sans-serif; letter-spacing: .03em }
.row-amt { text-align: right; font-size: 14px; font-weight: 600; color: var(--accent); font-family: 'Rajdhani', sans-serif }
.row-amt.zero { color: var(--text3); font-weight: 400; font-size: 13px }

.total-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--border2) }
.total-lbl { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text2) }
.total-num { font-family: 'Rajdhani', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent) }

.sbtn { width: 100%; padding: 11px; background: var(--accent); color: #0a0b0f; border: none; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .15s; margin-top: 4px; letter-spacing: .06em; text-transform: uppercase }
.sbtn:hover { background: var(--accent2) }
.sbtn:active { transform: scale(.98) }
.sbtn:disabled { opacity: .35; cursor: not-allowed }

.hint { font-size: 11px; color: var(--text3); text-align: center; margin-top: 8px; line-height: 1.5; font-family: 'Rajdhani', sans-serif; letter-spacing: .03em }

@media(max-width:680px) { .layout { grid-template-columns: 1fr } }
