:root {
  --bg: #0c0c0d;
  --card: #141416;
  --text: #e8eef4;
  --steel: #a8b4c0;
  --line: rgba(232, 238, 244, 0.14);
  --image: #eceae6;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: Gudea, "IBM Plex Sans", sans-serif; font-size: 17px; line-height: 1.5; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.page { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 80px; }
.top { position: relative; display: grid; justify-items: center; gap: 10px; padding: 28px 0 18px; border-bottom: 1px solid var(--line); }
.logo { width: min(560px, 86%); height: auto; filter: invert(1); }
.guide { position: absolute; top: 18px; right: 0; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; }
.product-name { display: flex; align-items: center; gap: 12px; }
.mini { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--image); }
h1, h2, .product-name, .section-name { font-family: Gudea, sans-serif; font-weight: 700; letter-spacing: 0; text-transform: none; }
h1 { margin: 28px 0 8px; font-size: 42px; }
h1.title-case { font-size: 28px; text-transform: none; letter-spacing: 0; }
.totals { margin: 8px 0 0; text-align: right; line-height: 1.25; }
.section { margin-top: 32px; }
h2 { margin: 0 0 8px; font-size: 24px; }
.hint, .product p, .line p { color: var(--steel); }
.group, .product { background: var(--card); border: 1px solid #fff; border-radius: 20px; margin-top: 12px; overflow: hidden; }
.group-toggle, .product-toggle { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px; background: transparent; border: 0; text-align: left; cursor: pointer; }
.expand { color: var(--steel); font-size: 13px; text-transform: none; letter-spacing: 0; }
.panel { display: none; padding: 0 18px 18px; }
.panel.open { display: block; }
.frame { width: 120px; height: 120px; background: var(--image); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.shot { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.controls, .contact, .pay, .review { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--steel); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
input, select, textarea { width: 100%; height: 44px; background: #101012; border: 1px solid #fff; border-radius: 6px; padding: 0 12px; }
textarea { height: 88px; padding-top: 10px; resize: vertical; }
.swatches, .sizes, .size-qty { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #101012; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(255,255,255,0.35); }
.swatch:has(input:checked) { border-color: var(--text); }
.size, .size-qty label { min-height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #101012; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 15px; }
.size { min-width: 52px; cursor: pointer; }
.size.selected { border-color: var(--text); }
.size-qty label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; }
.size-qty input { width: 64px; height: 32px; }
.line { border-top: 1px solid var(--line); padding: 12px 0; display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: center; }
.line img { width: 88px; height: 88px; object-fit: cover; object-position: center; background: var(--image); border-radius: 8px; }
.checkout, .text-link, .line button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 16px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line); background: var(--text); color: #111; text-decoration: none; font-weight: 700; cursor: pointer; }
.checkout.secondary { background: transparent; color: var(--text); margin-right: 8px; }
.checkout:disabled { opacity: 0.4; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); }
.check input { width: 18px; height: 18px; }
.error { color: #e3b7b3; min-height: 1.2em; }
.hidden { display: none; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.chart { width: 100%; background: #fff; margin: 8px 0 28px; }
@media (max-width: 640px) { h1 { font-size: 32px; } .line { grid-template-columns: 72px 1fr; } }
