:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: #fff; color: #161616; }
a { color: inherit; text-decoration: none; }
header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 5vw; background: #fff; border-bottom: 1px solid #ececec; }
.brand img { height: 46px; width: auto; display: block; }
nav { display: flex; gap: 8px; }
nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 650; }
nav a.on, nav a:hover { background: #f3f3f3; }
main { width: min(1080px, 100%); margin: 0 auto; padding: 28px 5vw 72px; }
h2 { font-size: 20px; margin: 0 0 14px; }
.lead { margin: 0 0 22px; color: #5c5c5c; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
article { border: 1px solid #ececec; border-radius: 16px; overflow: hidden; background: #fff; }
article img { width: 100%; height: 180px; object-fit: contain; background: #fff; }
article div { padding: 14px; }
article strong { display: block; min-height: 40px; }
.price { margin: 8px 0 12px; font-size: 18px; }
button, .btn { background: #161616; color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 700; }
button.light { background: #fff; color: #161616; border: 1px solid #d9d9d9; }
.panel { margin-top: 28px; border: 1px solid #ececec; border-radius: 16px; padding: 18px; }
.muted { color: #5c5c5c; }
.line { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
label { display: block; font-size: 13px; margin-top: 12px; }
input, select { width: 100%; margin-top: 4px; padding: 11px; border: 1px solid #d9d9d9; border-radius: 10px; font-size: 16px; background: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ship { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: #fff; color: #161616; border: 1px solid #d9d9d9; margin-top: 8px; }
.ship.on { border-color: #161616; }
.err { color: #9b2c2c; }
.ok { color: #176b3a; }
.gate { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; }
.card { width: min(420px, 100%); border: 1px solid #ececec; border-radius: 16px; padding: 24px; }
.switch { display: block; width: 100%; margin: 16px 0 0; padding: 0; background: none; border: 0; color: #333; text-align: center; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 10px 8px; border-bottom: 1px solid #ececec; font-size: 14px; vertical-align: top; }
.paid { color: #176b3a; font-weight: 700; }
.pending { color: #8a5a00; font-weight: 700; }
@media (max-width: 720px) {
  header { align-items: flex-start; flex-direction: column; }
  .brand img { height: 38px; }
  .row { grid-template-columns: 1fr; }
}
