/* Bleacher Babe Tees — one stylesheet for every page. Colors live in :root. */
:root {
  color-scheme: light;
  --ink: #271c26;
  --plum: #6e294a;
  --plum-dark: #571f3a;
  --pink: #f9e3e9;
  --pink-deep: #f2c9d5;
  --bg: #fdf7f8;
  --card: #ffffff;
  --border: #e5d6dc;
  --muted: #675760;
  --ok: #2f6b3f;
  --error: #a3262f;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: var(--plum); font-weight: 650; }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px; }

/* Header */
header.site { background: var(--pink); border-bottom: 1px solid var(--border); }
header.site .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 800; color: var(--plum); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; text-decoration: none; }
nav.site a { margin-left: 14px; font-size: .95rem; text-decoration: none; }
nav.site a:first-child { margin-left: 0; }

/* Type */
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.05; margin: 8px 0 10px; }
h2 { font-size: 1.25rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 4px; }
p { margin: 0 0 12px; }
.muted, small, .hint { color: var(--muted); }

/* Hero */
.hero { background: var(--pink); border-bottom: 1px solid var(--border); }
.hero .wrap { padding-top: 32px; padding-bottom: 36px; }
.hero p.lead { font-size: 1.15rem; max-width: 34em; }

/* Cards and buttons */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 15px; padding: 20px; margin: 0 0 16px; }
.button, button { display: inline-block; font: inherit; font-weight: 700; border: 1px solid var(--plum); border-radius: 10px; background: var(--plum); color: #fff; padding: 12px 18px; cursor: pointer; text-decoration: none; }
.button:hover, button:hover { background: var(--plum-dark); }
.button.alt, button.alt { background: #fff; color: var(--plum); }
button:disabled { opacity: .55; cursor: default; }
.big { font-size: 1.1rem; padding: 14px 24px; }

/* Design gallery */
.designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 16px; }
.design { background: var(--card); border: 1px solid var(--border); border-radius: 15px; overflow: hidden; }
.design .pic { aspect-ratio: 1 / 1; background: var(--pink); display: flex; align-items: center; justify-content: center; }
.design .pic img, .design .pic svg { width: 100%; height: 100%; object-fit: cover; }
.design .info { padding: 12px 14px 14px; }
.design .price { font-weight: 800; color: var(--plum); }

/* Order form */
label { display: block; font-weight: 650; margin: 0 0 12px; }
input, textarea, select { display: block; width: 100%; margin-top: 5px; border: 1px solid #bdaab4; border-radius: 8px; padding: 10px; background: #fff; color: var(--ink); font: inherit; }
textarea { min-height: 78px; resize: vertical; }
.row { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr .8fr; gap: 10px; }
.item { padding: 12px 0; border-top: 1px solid var(--border); }
.item:first-child { border-top: 0; padding-top: 0; }
.item .remove { background: #fff; color: var(--error); border-color: var(--error); padding: 6px 10px; font-size: .9rem; }
.choice { display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 12px; }
.choice label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.choice input { display: inline; width: auto; margin: 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; font-weight: 800; }
.status { margin: 12px 0 0; font-weight: 650; }
.status.error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Thank-you / pay box */
.paybox { background: var(--card); border: 2px solid var(--plum); border-radius: 15px; padding: 20px; margin: 0 0 16px; }
.paybox .amount { font-size: 2rem; font-weight: 800; color: var(--plum); }
.paybox .ordernum { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.5rem; font-weight: 800; letter-spacing: .08em; background: var(--pink); padding: 4px 10px; border-radius: 8px; }
.paybuttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
table.lines { width: 100%; border-collapse: collapse; }
table.lines th, table.lines td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--border); }
table.lines td:last-child, table.lines th:last-child { text-align: right; }

/* Footer */
footer.site { text-align: center; padding: 24px 16px 32px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--border); margin-top: 24px; }
footer.site p { margin: 0 0 6px; }

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr 1fr; }
  .row label.design-pick { grid-column: 1 / -1; }
  .card, .paybox { padding: 15px; }
  nav.site a { margin-left: 10px; }
}
