/* consign-request.html: the "Consign with us" request form with photos (logic in shop/consign-request.js). Phone first. */
.cr-page { padding: 44px 0 72px; }
.cr-grid-page { display: grid; gap: 34px; }
.cr-lede { max-width: 520px; margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.cr-tips { max-width: 520px; padding: 18px 20px; border: 1px solid var(--ink); border-radius: 14px; background: var(--pink-pale); }
.cr-tips .mono { margin: 0 0 8px; color: var(--pink-dark); }
.cr-tips ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; line-height: 1.5; }
.cr-call { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cr-call a, .cr-fine a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }

.cr-card [hidden] { display: none !important; }
.cr-card { min-width: 0; padding: 22px 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.cr-form { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cr-field { display: grid; gap: 6px; min-width: 0; }
.cr-field label, .cr-photos legend { color: var(--ink); font: 500 11px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.cr-field label span, .cr-photos legend span { color: var(--muted); text-transform: none; letter-spacing: 0; }
.cr-field input, .cr-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #b9aab0; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; outline-color: var(--pink); }
.cr-field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.cr-field input[aria-invalid="true"], .cr-field textarea[aria-invalid="true"] { border-color: #9a2e48; box-shadow: 0 0 0 2px #f6d3dc; }

.cr-photos { min-width: 0; margin: 0; padding: 0; border: 0; }
.cr-photos legend { padding: 0; margin-bottom: 10px; }
.cr-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.cr-tiles:empty { display: none; }
.cr-tile { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 10px; background: #f6f1f3; }
.cr-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cr-tile .cr-busy { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; color: var(--muted); font: 10px "DM Mono", monospace; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.cr-tile .cr-busy::before { content: ""; position: absolute; top: calc(50% - 26px); width: 18px; height: 18px; border: 2px solid var(--pink-pale); border-top-color: var(--pink-dark); border-radius: 50%; animation: cr-spin .8s linear infinite; }
.cr-remove { position: absolute; top: 5px; right: 5px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 18, 23, .78); color: #fff; font-size: 20px; line-height: 32px; text-align: center; }
.cr-remove:hover, .cr-remove:focus-visible { background: var(--pink-dark); }
.cr-photo-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cr-pick { position: relative; overflow: hidden; cursor: pointer; }
.cr-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cr-pick:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }
.cr-pick.disabled { opacity: .45; pointer-events: none; }
.cr-count { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cr-count.warn { color: #9a2e48; }
@media (hover: hover) and (pointer: fine) { .cr-camera { display: none; } }

.cr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cr-error { margin: 0; padding: 12px 14px; border: 1px solid #9a2e48; border-radius: 10px; background: #fdf0f3; color: #7d2238; font-size: 14px; line-height: 1.5; }
.cr-send { width: 100%; min-height: 52px; font-size: 13px; }
.cr-send:disabled { opacity: .6; cursor: wait; transform: none; }
.cr-fine { margin: -4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

.cr-done { padding: 8px 2px; outline: none; }
.cr-done h2 { margin-bottom: 14px; }
.cr-done-text { margin: 0 0 22px; color: var(--ink); font-size: 17px; line-height: 1.6; }

@keyframes cr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cr-tile .cr-busy::before { animation: none; } }

@media (min-width: 560px) {
  .cr-card { padding: 30px 28px; }
  .cr-form { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .cr-full, .cr-error, .cr-send, .cr-fine { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .cr-page { padding: 74px 0 96px; }
  .cr-grid-page { grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
  .cr-intro { position: sticky; top: 120px; }
  .cr-card { padding: 38px 36px; }
}
