/* Leave a review page. Matches bricktacularstudios.com (Shopify "Horizon" theme): white page, black type
   in Inter, dark strip on top, rounded 14px controls, outlined option pills that turn black when chosen,
   black primary button, teal review stars. Layout: one narrow centered column, built for phones first. */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: rgb(0 0 0 / 0.6);
  --line: #dfdfdf;
  --line-hover: #d2d2d2;
  --soft: #f2f2f2;
  --strip: #333333;
  --star: #108474;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --content: 42rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-underline-offset: 3px; }
img { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* store-style chrome */
.strip { height: 30px; background: var(--strip); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { max-width: 90rem; margin: 0 auto; padding: 10px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 28px; }
.brand { display: block; line-height: 0; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: rgb(0 0 0 / 0.75); }
.nav a:hover { color: var(--fg); }
@media (max-width: 640px) {
  .header-inner { justify-content: center; }
  .nav { display: none; }
  .brand img { width: 56px; height: 56px; }
}

/* content */
.page { max-width: var(--content); margin: 0 auto; padding: 28px 16px 40px; display: grid; gap: 28px; }
.intro { display: grid; gap: 8px; }
.stars { margin: 0; color: var(--star); font-size: 22px; letter-spacing: 3px; line-height: 1; }
h1 { margin: 0; font-size: clamp(30px, 8vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lede { margin: 0; color: rgb(0 0 0 / 0.75); font-size: 17px; max-width: 34em; }

.step { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.step h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--fg);
  font-size: 13px; font-weight: 500; flex: none; }
.hint { margin: 0; color: var(--muted); font-size: 15px; }

/* inputs, like the store's: white, light border, 14px corners, 16px text so phones do not zoom */
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: rotate(45deg); pointer-events: none; }
select, input[type="search"] { width: 100%; min-height: 52px; padding: 12px 16px; font: 400 16px var(--font); color: rgb(51 51 51);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
select:hover, input[type="search"]:hover { border-color: var(--line-hover); }
select:disabled { color: var(--muted); }

/* version picker: a dropdown whose rows show a picture and the name */
.picker { position: relative; }
.picker-button { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 8px 44px 8px 8px; text-align: left;
  font: 400 16px var(--font); color: rgb(51 51 51); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; position: relative; }
.picker-button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: rotate(45deg); }
.picker-button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.picker-button:hover:not(:disabled) { border-color: var(--line-hover); }
.picker-button:disabled { color: var(--muted); cursor: default; }
.picker-thumb { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--soft); object-fit: cover; display: block; }
.picker-button:disabled .picker-thumb { opacity: 0.5; }
.picker-text { min-width: 0; line-height: 1.3; }
.picker-text small { display: block; color: var(--muted); font-size: 13px; }
.picker-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 4px 20px rgb(0 0 0 / 0.15); overflow: hidden; }
.picker-search { padding: 10px 10px 4px; }
.picker-search input { min-height: 44px; }
.picker-list { list-style: none; margin: 0; padding: 6px; max-height: min(60vh, 420px); overflow-y: auto; overscroll-behavior: contain; }
.picker-list li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.picker-list li .picker-thumb { width: 52px; height: 52px; }
.picker-list li:hover, .picker-list li.active { background: var(--soft); }
.picker-list li[aria-selected="true"] { background: var(--fg); color: #ffffff; }
.picker-list li[aria-selected="true"] small { color: rgb(255 255 255 / 0.7); }
.picker-list li small { display: block; color: var(--muted); font-size: 13px; }
.picker-list .empty { color: var(--muted); cursor: default; }

/* the action */
.go { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.review-note { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--soft); font-size: 15px; }
.button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 14px 24px; border-radius: var(--radius);
  background: var(--fg); color: #ffffff; text-decoration: none; font-size: 16px; font-weight: 500; transition: background-color .25s ease-out; }
.button:hover { background: #262626; }
.button[aria-disabled="true"] { background: var(--soft); color: rgb(0 0 0 / 0.35); cursor: not-allowed; }
.fineprint { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--content); margin: 0 auto; padding: 22px 16px max(28px, env(safe-area-inset-bottom)); font-size: 14px; display: grid; gap: 4px; }
.footer-inner p { margin: 0; }
.footer-inner .muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
