/* Cart and order views: native controls in the site's industrial theme. */
.commerce-main { width: min(1280px, calc(100% - 3rem)); margin: 0 auto; padding: 2.5rem 0 5rem; }
.commerce-heading { padding: 2rem 0 2.5rem; border-bottom: 1px solid #595c5b; margin-bottom: 2rem; }
.commerce-heading h1 { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(2.5rem, 6vw, 5.7rem); line-height: 1.04; letter-spacing: -.065em; text-transform: uppercase; margin: .7rem 0 1.2rem; }
.commerce-kicker, .commerce-panel-title { font: 700 .72rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .11em; }
.commerce-heading p { color: #bdc1bc; max-width: 65ch; margin: 0; }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, 1fr); gap: 2rem; align-items: start; }
.commerce-panel { border: 1px solid #595c5b; background: #111412; padding: 1.4rem; min-width: 0; }
.commerce-panel-title { display: block; margin: 0 0 1.25rem; color: #d7dad2; }
.commerce-summary { position: sticky; top: 10.5rem; }
.commerce-empty { padding: 2.8rem 1.5rem; border: 1px solid #595c5b; }
.commerce-empty h2, .commerce-order h2 { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.25rem, 3vw, 1.9rem); }
.commerce-items { margin: 0; padding: 0; list-style: none; }
.commerce-item { padding: 1.4rem 0; border-bottom: 1px solid #414540; }
.commerce-item:first-child { padding-top: 0; }
.commerce-item:last-child { border-bottom: 0; padding-bottom: 0; }
.commerce-item-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.commerce-item h3 { margin: 0; font: 700 1.05rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.commerce-item-price { font: 700 1rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.commerce-item-details { color: #bec2bb; margin: .65rem 0 1rem; font-size: .88rem; overflow-wrap: anywhere; }
.commerce-item-controls { display: flex; gap: 1rem; justify-content: space-between; align-items: end; }
.commerce-quantity { display: flex; gap: .75rem; align-items: center; font-size: .85rem; }
.commerce-page input, .commerce-page select { font: inherit; }
.commerce-page select { color: #f1f1e9; background: #191d19; border: 1px solid #6d736a; border-radius: 0; min-height: 44px; padding: .55rem .75rem; max-width: 100%; }
.commerce-quantity select { width: 4.5rem; }
.commerce-remove { font: inherit; color: #eee; border: 0; background: none; padding: .55rem .1rem; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.commerce-field { margin-bottom: 1.2rem; }
.commerce-field > label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; }
.commerce-field > select { width: 100%; }
.commerce-choice-group { border: 0; padding: 0; margin: 0 0 1.2rem; }
.commerce-choice-group legend { font-size: .9rem; font-weight: 600; margin-bottom: .6rem; }
.commerce-choice { display: flex; align-items: flex-start; gap: .7rem; margin: .6rem 0; padding: .75rem; border: 1px solid #464d43; cursor: pointer; }
.commerce-choice input, .commerce-consent input { accent-color: #e2e8d1; width: 18px; height: 18px; min-height: 0; padding: 0; margin: .17rem 0 0; flex-shrink: 0; }
.commerce-choice span { display: block; }
.commerce-choice small { display: block; color: #bec2bb; font-size: .78rem; margin-top: .15rem; }
.commerce-delivery-note, .commerce-help, .commerce-vat-note { font-size: .82rem; color: #bec2bb; }
.commerce-delivery-note { margin: -.25rem 0 1.2rem; }
.commerce-totals { padding: 1rem 0; border-top: 1px solid #595c5b; border-bottom: 1px solid #595c5b; margin: 1.25rem 0; }
.commerce-total-row { display: flex; justify-content: space-between; gap: 1rem; margin: .45rem 0; }
.commerce-grand-total { font: 700 1.3rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; padding-top: .6rem; }
.commerce-total-row dt, .commerce-total-row dd { margin: 0; }
.commerce-consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0; font-size: .84rem; }
.commerce-page a { text-underline-offset: .2rem; }
.commerce-consent a, .commerce-help a, .commerce-status a { text-decoration: underline; }
.commerce-pay { width: 100%; min-height: 50px; margin-top: .7rem; justify-content: center; }
.commerce-page button:disabled { opacity: .5; cursor: not-allowed; }
.commerce-page button:focus-visible, .commerce-page select:focus-visible, .commerce-page input:focus-visible { outline: 2px solid #f2f7df; outline-offset: 4px; }
.commerce-status { line-height: 1.6; overflow-wrap: anywhere; margin: 1rem 0; font-size: .9rem; }
.commerce-status:empty { display: none; }
.commerce-status.is-error { border-left: 3px solid #f1c9b2; padding: .75rem 1rem; background: #291d17; color: #fff1e7; }
.commerce-status.is-success { border-left: 3px solid #dfeacd; padding: .75rem 1rem; background: #1a2216; color: #edf5e4; }
.commerce-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.commerce-order { max-width: 780px; }
.commerce-order-number { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.commerce-loading { color: #bec2bb; }
.commerce-page [hidden] { display: none !important; }
.commerce-noscript { padding: 1rem; border: 1px solid #999; }
@media (max-width: 850px) {
  .commerce-layout { grid-template-columns: minmax(0, 1fr); }
  .commerce-summary { position: static; }
  .commerce-main { width: min(100% - 2rem, 700px); padding-top: 1.25rem; }
  .commerce-heading { padding-top: 1rem; }
}
@media (max-width: 400px) {
  .commerce-panel { padding: 1rem; }
  .commerce-item-heading { display: block; }
  .commerce-item-price { display: block; margin-top: .4rem; }
  .commerce-item-controls { flex-wrap: wrap; }
}
