/* Calmer button motion, size chart, and checkout error list. Loaded last so it overrides earlier rules. */

/* Buttons: a small lift on hover and a quick press. No long wobble. */
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); animation: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn { transition: transform .12s ease, box-shadow .12s ease; }

/* Size chart */
.size-chart-btn { font-size: .78rem; text-transform: none; letter-spacing: 0; margin-left: 8px; }
.size-chart { margin: 8px 0 14px; border: 2px solid var(--ink); border-radius: 16px; padding: 12px; background: #fff; }
.size-chart.hide { display: none; }
.sc-wrap { overflow-x: auto; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sc-table th, .sc-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid #eee; }
.sc-table th { background: var(--ink); color: var(--lime); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.sc-table tr.mine td { background: #fff0f7; font-weight: 700; }
.size-chart .meta { margin: 10px 0 0; font-size: .85rem; }

/* Checkout: all problems listed together, and each wrong field outlined */
.co-errors {
  background: #fff0f7; border: 2px solid var(--pink); border-radius: 14px; padding: 12px 14px;
  color: #8a0b4d; font-weight: 600;
}
.co-errors[hidden] { display: none; }
.co-errors ul { margin: 6px 0 0; padding-left: 20px; }
.co-errors li { margin: 3px 0; }
.input.bad { border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink); }

/* Buttons: a gentle lift on hover and a small press. No wobble. */
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); animation: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
