/* The page behind the market's locker sign: the same look as /remind and /next. */
:root {
  --bg: #f3f1ec;
  --text: #1d2327;
  --muted: #5a656c;
  --rule: #dddad2;
  --accent: #2f5d4f;
  --accent-dark: #244a3f;
  --soft: #e1e9e5;
  --field: #fbfaf7;         /* off-white inside the boxes and on the button's label, never pure white */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: 'Source Sans 3', 'Segoe UI', Roboto, sans-serif; font-size: 1.15rem; line-height: 1.5; padding: 0 16px 3rem; }
.screen { max-width: 26rem; margin: 0 auto; }

/* The site's menu, the same as on the other pages (copied from style.css: change both together).
   It sits in its own wider strip so the badge and links land where they do on the other pages. */
.page-head { max-width: 38rem; margin: 0 auto; }
header { --logo: clamp(4.2rem, 100vw - 21rem, 7.6rem); position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: clamp(0.8rem, 4vw, 2.6rem); padding: 0.5rem 0; border-bottom: 1px solid var(--rule); view-transition-name: header; transition: transform 0.3s ease; }
header.tucked:not(:focus-within) { transform: translateY(calc(-100% - 1rem)); }   /* extra 1rem hides its shadow too */
header::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--bg); transition: box-shadow 0.2s; }
header.stuck::before { box-shadow: 0 1px 0 var(--rule), 0 6px 12px -10px rgba(29, 35, 39, 0.35); }
.logo { grid-column: 2; grid-row: 1; position: relative; z-index: 1; display: block; }
.badge-logo { display: block; width: var(--logo); height: auto; }
.menu { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: center; font-size: 1.05rem; font-weight: 600; }
.menu-left, .menu-right { display: flex; gap: clamp(0.7rem, 2.5vw, 1.6rem); }
.menu-left { grid-column: 1; justify-self: end; }      /* left of the badge: Services, Shop */
.menu-right { grid-column: 3; justify-self: start; }   /* right of the badge: Locker, About */
.menu a { position: relative; color: var(--muted); text-decoration: none; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.menu a::after { content: ""; position: absolute; inset: -0.6rem -0.5rem; }   /* invisible: makes each link a bigger target for a finger */
.menu a:hover { color: var(--text); }
.menu a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
@media (min-width: 40rem) { header { padding: 0.9rem 0; } }
@media (max-width: 21.5rem) { .menu { font-size: 0.95rem; } }
@media (prefers-reduced-motion: reduce) { header { transition: none; } }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.photo { display: block; width: 100%; height: auto; margin-top: 1rem; border-radius: 8px; }
.addr { margin-top: 0.9rem; }
.addr b { display: block; font-size: 1.35rem; line-height: 1.25; }
.addr a { color: var(--accent); font-weight: 600; }

/* The steps, as on the door card: the label in bold above the sentence */
.steps { margin: 1.4rem 0 0; padding-left: 1.4rem; }
.steps li + li { margin-top: 0.6rem; }
.steps li b { display: block; text-transform: uppercase; letter-spacing: 0.04em; }
.steps a { color: var(--accent); font-weight: 600; }
.timing { margin-top: 1.2rem; font-weight: 600; }
.timing.closed { color: #9b2c2c; }

.go { display: flex; align-items: center; gap: 0.9rem; width: 100%; margin-top: 0.8rem; padding: 0.85rem 1rem; border: 1.5px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--field); font: inherit; font-weight: 700; font-size: 1.2rem; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; }
.go:hover { background: var(--accent-dark); }
.go.second { background: var(--field); color: var(--accent-dark); }
.go.second:hover { background: var(--soft); }
.go:disabled { opacity: 0.6; cursor: wait; }
.go svg { flex: none; width: 1.7rem; height: 1.7rem; }

form { margin-top: 1.6rem; }
.field > label.title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.field > label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
input[type=email] { width: 100%; font: inherit; color: var(--text); background: var(--field); border: 1.5px solid #cfcabf; border-radius: 8px; padding: 0.65rem 0.8rem; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 93, 79, 0.18); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* only robots fill it in */

.stop { margin-top: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.error { margin-top: 0.4rem; color: #9b2c2c; font-size: 1rem; }
.done { margin-top: 0.8rem; padding: 0.9rem 1rem; border-radius: 8px; background: var(--soft); color: var(--accent-dark); font-weight: 600; }
[hidden] { display: none !important; }
