/* Pink Hippo Club pre-order page (Nov 17 2026): the shirt, price and notes on the left, the form on the right (stacked on a phone). */
.po {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start;
  max-width: 1120px; margin: 0 auto; padding: 32px 20px 12px;
}
.po-copy { min-width: 0; }
.po h1 { font-size: clamp(32px, 4.2vw, 52px); }
.po .form-card { position: sticky; top: 92px; }

.po-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 18px; }
.po-price b { font: 800 34px/1 var(--display, var(--body)); color: var(--green); }
.po-price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.po-intro { max-width: 560px; margin: -6px 0 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* The big photo and two labeled thumbs that switch it. */
.po-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; align-items: start; max-width: 560px; }
.po-big { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); background: #e9e9ec; }
.po-thumbs { display: grid; gap: 10px; }
.po-thumb {
  display: grid; gap: 4px; padding: 4px 4px 6px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--panel);
  color: var(--muted); font: 600 12px/1.2 var(--body); cursor: pointer; transition: border-color .2s;
}
.po-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: #e9e9ec; }
.po-thumb[aria-pressed="true"] { border-color: var(--green); color: var(--text); }
.po-thumb:hover { border-color: var(--purple); }
.po-thumb:focus-visible { outline: 3px solid var(--purple-2, var(--purple)); outline-offset: 2px; }

.po-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.po-facts li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.po-facts b { display: block; font-size: 15px; }
.po-facts span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Preferred Payment Method: four pill choices, two per row. */
.po-pay { margin: 0; padding: 0; border: 0; min-width: 0; }
.po-pay legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--lavender); }
.po-pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.po-opt { position: relative; display: block; gap: 0; }
.po-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.po-opt span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; text-align: center;
  border: 1px solid rgba(164, 107, 255, .3); border-radius: 12px; background: rgba(11, 6, 20, .7);
  color: var(--text); font: 600 15px/1.2 var(--body); transition: border-color .2s, background .2s;
}
.po-opt:hover span { border-color: var(--purple); }
.po-opt input:checked + span { border-color: var(--green); background: rgba(126, 224, 138, .14); color: var(--green); }
.po-opt input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.po-pay.is-invalid .po-opt span { border-color: #ff7a8a; }
.po-pay .field-error { display: block; margin-top: 6px; }
.po .form-done .btn { margin-top: 8px; }
.po .form-done h2 { font-size: 24px; }

/* Sizes and Quantity: Small to 2XL, each with − count +, two per row (one per row on a narrow phone). */
.po-sizes { margin: 0; padding: 0; border: 0; min-width: 0; }
.po-sizes legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--lavender); }
.po-size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.po-size {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 2px 4px 2px 12px;
  border: 1px solid rgba(164, 107, 255, .3); border-radius: 12px; background: rgba(11, 6, 20, .7); transition: border-color .2s, background .2s;
}
.po-size.on { border-color: var(--green); background: rgba(126, 224, 138, .1); }
.po-size-name { min-width: 0; font: 600 15px/1.2 var(--body); color: var(--text); white-space: nowrap; }
.po-size.on .po-size-name { color: var(--green); }
.po-step { display: flex; align-items: center; gap: 2px; flex: none; }
.po-step button {
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: rgba(164, 107, 255, .16);
  color: var(--text); font: 700 20px/1 var(--body); cursor: pointer;
}
.po-step button:hover:not(:disabled) { background: rgba(164, 107, 255, .32); }
.po-step button:disabled { opacity: .35; cursor: default; }
.po-step button:focus-visible { outline: 3px solid var(--purple); outline-offset: 1px; }
.po .po-step input {
  width: 38px; height: 36px; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center;
  color: var(--text); font: 700 17px/1 var(--body); -moz-appearance: textfield; appearance: textfield;
}
.po-step input::-webkit-outer-spin-button, .po-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.po-total { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.po-total.has { color: var(--green); }
.po-sizes.is-invalid .po-size { border-color: #ff7a8a; }
.po-sizes .field-error { display: block; margin-top: 6px; }
@media (max-width: 400px) { .po-size-grid { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .po { grid-template-columns: 1fr; gap: 26px; max-width: 640px; }
  .po .form-card { position: static; }
}
@media (max-width: 680px) {
  .po { padding: 16px 16px 8px; gap: 20px; }
  .po .pill { margin-bottom: 14px; }
  .po-price { margin: 10px 0 14px; }
  .po-price b { font-size: 30px; }
  .po-gallery { grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; }
}
