/* Shared customer pages reuse the tire department's heading, card and button language. */
.commerce-page { padding-bottom: 64px; }
.shop-intro > p { max-width: 64ch; }
.commerce-page .btn { border-radius: 5px; }
.purchase-steps { display: flex; gap: 28px; padding: 16px 0; border-block: 1px solid #c9c8c1; font-size: 13px; }
.purchase-steps [aria-current] { color: #b4261d; font-weight: 700; }
.commerce-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(270px,1fr); gap: 24px; margin-top: 28px; }
.commerce-card { overflow: hidden; border: 1px solid #b9b6ae; border-radius: 9px; background: #fffdf8; color: #171819; }
.commerce-card-top { display: block; padding: 12px 20px; border-bottom: 1px solid #b9b6ae; font: 700 11px/1.4 monospace; letter-spacing: .04em; }
.commerce-card > div { padding: 28px; }
.commerce-card h2 { font-size: 36px; margin-top: 0; }
.commerce-card p { font-size: 14px; line-height: 1.65; }
.empty-cart > div { padding: 50px 28px; }
.text-link { display: block; width: fit-content; margin-top: 16px; font-size: 13px; font-weight: 600; }
.summary-card dl { margin: 22px 0; }
.summary-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #d6d2ca; font-size: 13px; }
.summary-card dd { margin: 0; }
.summary-card .btn { width: 100%; }
.checkout-fields { border: 0; padding: 0; margin: 20px 0; display: grid; gap: 16px; }
.checkout-fields legend { margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.checkout-fields input, .checkout-fields select { border-radius: 4px; font-size: 16px; }
.checkout-fields:disabled { opacity: .7; }
.login-card { max-width: 520px; margin: 12px auto; }
.login-page .shop-intro { text-align: center; }
.login-page .shop-intro p { margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.commerce-card :disabled { cursor: not-allowed; }
@media(max-width:760px) { .commerce-grid { grid-template-columns: 1fr; } .commerce-card > div { padding: 24px; } .purchase-steps { gap: 18px; flex-wrap: wrap; } }

body.night .commerce-card { background:#fffdf8; color:#171819; color-scheme:light; }
body.night .commerce-card .small { color:#555; }
@media(max-width:760px){body:has(.commerce-page) .shop-shell>main,body:has(.wheel-catalog-page) .shop-shell>main{margin-left:0!important}}
