:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #17161a;
  background: #ecebe6;
  --line: #c6c3c3;
  --muted: #5c5861;
  --purple: #6425d8;
  --mono: ui-monospace, "SFMono-Regular", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.frame { width: min(90%, 1320px); margin-inline: auto; }
.notice { text-align: center; font: .72rem var(--mono); letter-spacing: .14em; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.notice span, .eyebrow, .tag { color: var(--purple); }
.notice b { margin: 0 6px; }
header { border-bottom: 1px solid var(--line); }
nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; font-size: 1.38rem; font-weight: 850; letter-spacing: -.045em; }
.mall { color: var(--purple); }
.tiger { display: flex; align-items: center; gap: 3px; margin-right: 10px; transform: skew(-22deg); }
.tiger i { width: 5px; height: 20px; background: var(--purple); }
.tiger i:nth-child(2) { height: 15px; }
.tiger i:nth-child(3) { height: 10px; }
.navlinks { display: flex; gap: 26px; }
.navlinks a:hover, .back:hover { color: var(--purple); }
.order-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); }
#order-count { background: #222025; color: white; padding: 2px 5px; font: .75rem var(--mono); }
main { min-height: 63vh; }
.hero { padding: clamp(40px, 8vw, 104px) 0 38px; position: relative; overflow: hidden; }
.hero::after { content: ""; pointer-events: none; position: absolute; inset: 0 0 0 48%; opacity: .55; background: repeating-linear-gradient(150deg, transparent 0 36px, #c9bddd 37px, transparent 38px 57px); mask-image: radial-gradient(ellipse at 76% 50%, #000, transparent 66%); }
.eyebrow, .tag { font: .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.55rem, 8vw, 6.2rem); line-height: .99; letter-spacing: -.075em; margin: 13px 0 15px; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; }
p { line-height: 1.55; }
.muted { color: var(--muted); }
.filters { border-block: 1px solid var(--line); display: flex; gap: 22px; margin-bottom: 24px; }
.filters a { padding: 14px 0; }
.filters [aria-current] { color: var(--purple); box-shadow: inset 0 -2px var(--purple); font-weight: bold; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: clamp(16px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.card:hover { background: #f3f0f5; }
.glyph { display: block; color: #72697c; font-size: 2rem; line-height: 1; margin-bottom: 11px; }
.card h2 { font-size: 1.25rem; }
.card p { font-size: .92rem; }
.card .price { margin-top: auto; padding-top: 10px; font: 700 1.4rem var(--mono); }
.detail { padding-top: clamp(34px, 6vw, 65px); }
.detail h1 { font-size: clamp(2.35rem, 6vw, 4.7rem); }
.back { display: inline-block; margin-bottom: 12px; color: var(--muted); text-decoration: underline; }
.columns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 26px; align-items: start; }
.panel { border: 1px solid var(--line); padding: clamp(18px, 3vw, 34px); }
.panel h2 + p, .panel h2 + div, .panel h2 + label { margin-top: 15px; }
.summary { background: #e6e1ee; }
.line { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line strong { white-space: nowrap; }
.action { display: inline-block; padding: 12px 16px; margin-top: 18px; background: #242028; color: white; border: 1px solid transparent; text-align: center; }
.action:hover { background: var(--purple); }
.secondary { background: transparent; color: #25202a; border-color: var(--line); }
.secondary:hover { color: white; }
.quantity { display: grid; gap: 8px; max-width: 180px; }
select { padding: 9px; border: 1px solid var(--line); background: #f9f7f9; color: inherit; }
.demo-card { border: 1px solid var(--line); padding: 15px; display: grid; gap: 4px; margin-bottom: 14px; }
.demo-card strong { font-family: var(--mono); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: clamp(34px, 8vw, 90px); padding: 20px 0; color: var(--muted); font: .8rem var(--mono); }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
  .columns { grid-template-columns: 1fr; }
  nav { min-height: 62px; gap: 10px; }
  .navlinks { gap: 12px; font-size: .9rem; }
  .brand { font-size: 1.1rem; }
  .tiger { margin-right: 5px; }
  .order-link { font-size: .85rem; padding: 7px; gap: 4px; }
}
.payment-fields { display: grid; gap: 14px; margin-top: 18px; }
.payment-fields label { display: grid; gap: 6px; min-width: 0; }
.payment-fields input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  background: #f9f7f9;
  color: inherit;
  padding: 10px;
  font: inherit;
}
.payment-fields input:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.action:disabled { cursor: default; opacity: .48; background: #242028; }
#forget-card[hidden] { display: none; }
#store-language { flex: none; font-size: .875rem; }
.notice #store-mode { color: inherit; }
@media (max-width: 420px) {
  #store-nav { display: grid; grid-template-columns: 1fr auto; padding-block: 10px; }
  #store-nav .navlinks { grid-row: 2; }
  #store-nav .order-link { justify-self: end; }
  #store-language { grid-column: 2; justify-self: end; }
}
