/* TorreyPress DS2 page parts. Loads after /ds2/torreypress.css (design system v2, unchanged).
   Only what the system sheet does not have: the phone menu, art shown uncropped, the room-set list,
   the steps, and a skin for the existing purchase form (its markup, names and script stay as they are). */

/* ---------- header menu (no script: a details element) ---------- */
.menu{position:static}
.menu>summary{list-style:none}
.menu>summary::-webkit-details-marker{display:none}
.menu[open]>summary .i-open,.menu:not([open])>summary .i-close{display:none}
.menu__panel{position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);padding:8px 20px 20px;display:grid}
.menu__panel a{display:flex;align-items:center;min-height:52px;border-bottom:1px solid var(--line);text-decoration:none;font-weight:600}
.menu__panel a:last-child{border-bottom:0}
.hdr__in{position:relative}

/* ---------- hero: portrait art on phones, the disclosure under the buttons ---------- */
.hero picture{position:absolute;inset:0}
.hero__note{margin-top:18px;font-size:.8125rem;opacity:.86}

/* ---------- art never cropped: shown whole on warm paper, like a print on a wall ---------- */
.card__img.art{aspect-ratio:5/4;object-fit:cover;padding:0;border:8px solid var(--surface);background:var(--surface)}
.grid > .card:first-child:nth-last-child(odd) .card__img.art{aspect-ratio:5/4;padding:0}
.card__meta{color:var(--muted);font-size:.875rem;margin-top:2px}
.gal .art{object-fit:contain;padding:8%;background:var(--surface)}

/* ---------- section heads ---------- */
.head p{color:var(--muted);margin-top:12px;max-width:40ch}

/* ---------- room sets: a price list, one row per set ---------- */
.sets{list-style:none;margin:32px 0 0;padding:0;border-top:1px solid var(--line)}
.sets a{display:grid;grid-template-columns:1fr auto;gap:2px 16px;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none;min-height:56px}
.sets b{font-weight:700}
.sets .p{font-family:var(--font-head);font-size:1.375rem;grid-row:span 2;align-self:center}
.sets small{color:var(--muted);font-size:.9375rem;grid-column:1}
.sets__note{margin-top:20px;color:var(--muted);font-size:.9375rem;max-width:52ch}

/* ---------- steps (a real sequence, so numbered) ---------- */
.steps{list-style:none;counter-reset:s;margin:32px 0 0;padding:0;display:grid;gap:24px}
.steps li{counter-increment:s;display:grid;grid-template-columns:40px 1fr;gap:4px 14px}
.steps li::before{content:counter(s);grid-row:span 2;width:32px;height:32px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-items:center;font-weight:700;font-size:.875rem}
.steps b{font-weight:700}
.steps span{color:var(--muted)}

/* ---------- terms list ---------- */
.terms{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:14px}
.terms li{padding-left:26px;position:relative}
.terms li::before{content:"";position:absolute;left:2px;top:.45em;width:12px;height:7px;border-left:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(-45deg)}

/* ---------- art page ---------- */
.label{color:var(--muted);font-size:.875rem;margin-bottom:6px}
.disclose{font-size:.875rem;color:var(--muted);margin-top:14px}
.chip--off{cursor:default;opacity:.62;background:transparent;border-style:dashed}
.chip--off span:last-child{font-size:.875rem}
.pdp .buy{position:static}
.room{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--surface)}
.room>img{position:absolute;width:100%;height:auto;max-width:none;top:-40%;left:0;aspect-ratio:auto;object-fit:fill;padding:0}
.room>img.room__art{left:50%;top:22%;width:34%;aspect-ratio:5/4;object-fit:cover;transform:translate(-50%,-50%);box-shadow:3px 5px 8px rgba(37,34,28,.22)}

/* the existing purchase form, restyled; ids, names and order unchanged */
.purchase-form{margin-top:4px}
.purchase-form fieldset{border:0;padding:0;margin:0;min-width:0}
.purchase-form .delivery{margin-top:28px}
.purchase-form .delivery>legend{font-weight:700;margin-bottom:10px;padding:0}
.purchase-form .field{display:grid;gap:6px;margin-top:12px;font-size:.9375rem}
.purchase-form .field>span{font-weight:600}
.purchase-form input:not([type]),.purchase-form input[name=taxZip],.purchase-form input[name=taxCity],.purchase-form select{width:100%;min-height:52px;border:1.5px solid var(--line);border-radius:var(--radius);padding:0 14px;font:inherit;background:#fff;color:var(--ink)}
.purchase-form input:focus-visible,.purchase-form select:focus-visible{outline:3px solid var(--accent);outline-offset:1px}
.purchase-form .manual-address>p,.purchase-form [data-zip-choices]>p{margin-top:12px;font-size:.9375rem;color:var(--muted)}
.purchase-form .place-choice,.purchase-form .check-line{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 0;font-size:.9375rem;cursor:pointer}
.purchase-form .place-choice input,.purchase-form .check-line input{width:22px;height:22px;margin:1px 0 0;flex:none;accent-color:var(--ink)}
.purchase-form .order-total{margin-top:16px;font-weight:600}
.purchase-form .order-total:empty{display:none}
.purchase-form>.check-line{margin-top:12px;border-top:1px solid var(--line);padding-top:16px}
.purchase-form .seller-details,.purchase-form .purchase-policies,.purchase-form .purchase-required-note,.purchase-form .test-note{font-size:.8125rem;color:var(--muted);margin-top:10px}
.purchase-form .purchase-policies{display:flex;flex-wrap:wrap;gap:4px 18px}
.purchase-form .purchase-policies a{min-height:32px;display:inline-flex;align-items:center}
.purchase-form .test-note{color:var(--ink);background:var(--surface);border-radius:var(--radius);padding:12px 14px;font-size:.875rem}
.purchase-form button[type=submit]{width:100%}
.purchase-form button[type=submit]:disabled{opacity:.45;cursor:not-allowed;filter:none}
.purchase-form .form-status:not(:empty){margin-top:10px;font-weight:600}
.more{margin-top:8px}
.guides{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:4px}
.guides a{display:flex;align-items:center;min-height:48px;font-weight:600}

/* ---------- footer extras ---------- */
.ftr__hours{margin-top:4px;opacity:.72;font-size:.875rem}

@media (min-width:900px){
  .menu{display:none}
  .grid > .card:first-child:nth-last-child(odd) .card__img.art{aspect-ratio:5/4;padding:0}
  .sets{max-width:760px}
  .steps{grid-template-columns:repeat(3,1fr);gap:40px}
  .steps li{grid-template-columns:1fr;gap:8px}
  .steps li::before{grid-row:auto}
  .terms{grid-template-columns:1fr 1fr;gap:16px 48px;max-width:960px}
  .split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
  .split .sets{margin-top:0}
}

/* DS3: header tap targets at least 44 px (fresh-eyes P2-12) */
.hdr .brand{min-height:44px}
.hdr__nav a{min-height:44px;display:inline-flex;align-items:center;padding-inline:12px;margin-inline:-12px}
