/* All branding lives in these tokens. TEMPORARY neutral palette until the approved
   brand direction arrives (ChatGPT guidance, LaKisha picks). Swap values only. */
:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --ink: #26232a;
  --line: #e7e3dc;
  --accent: #6b6570;        /* buttons, tags, highlights */
  --accent-ink: #ffffff;
  --soft: #f1eeea;          /* order bump and banner tint */
  --gold: #b58d3d;          /* stars */
  --radius: 14px;
  --radius-sm: 10px;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.45; }
a { color: inherit; }
h1, h2 { font-family: var(--font-head); line-height: 1.2; }

.bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg); }
.logo { font-family: var(--font-head); font-size: 20px; font-weight: 700; text-decoration: none; }
.secure { font-size: 11px; opacity: .7; }

.timer { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; font-weight: 600; padding: 9px 12px; }
.timer b { font-variant-numeric: tabular-nums; font-size: 15px; margin-left: 4px; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 18px; }
.wrap.narrow { max-width: 460px; }

.img { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; opacity: .8; text-align: center; padding: 6px; aspect-ratio: 1 / 1; }

.price { font-weight: 700; font-size: 16px; display: inline-block; margin-top: 6px; }
.price s { font-weight: 400; opacity: .5; font-size: 13px; margin-right: 6px; }

/* shop */
.shop-title { font-size: 30px; margin-top: 8px; }
.tagline { opacity: .75; margin: 6px 0 22px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.shop-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; display: block; }
.shop-card h2 { font-size: 17px; margin: 10px 0 4px; }
.shop-card p { font-size: 13px; opacity: .75; }

/* product */
.product-hero { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.product-hero h1 { font-size: 24px; }
.lead { opacity: .8; font-size: 14px; margin-top: 4px; }
.copy { margin-top: 20px; font-size: 14px; }

/* checkout */
.prod { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.prod h2 { font-size: 17px; margin-bottom: 4px; }
.prod p { font-size: 12px; opacity: .75; }
.sec { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .65; margin: 18px 0 8px; }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xb { border: 0; border-radius: var(--radius-sm); padding: 12px; font-weight: 600; font-size: 14px; background: #111; color: #fff; cursor: pointer; }
.xb.pp { background: #ffc439; color: #111; grid-column: span 2; }
.or { text-align: center; font-size: 11px; opacity: .55; margin: 12px 0 2px; }
.field { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); padding: 12px; font-size: 16px; margin-bottom: 8px; font-family: inherit; color: var(--ink); }
.field.placeholder { color: #888; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.bump { display: block; border: 2px dashed var(--accent); background: var(--soft); border-radius: var(--radius); padding: 12px; margin-top: 14px; cursor: pointer; }
.bump-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.bump-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.bump-body { font-size: 12px; opacity: .8; }
.tag { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; margin-bottom: 6px; letter-spacing: .05em; }

.sum { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; }
.line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.line[hidden] { display: none; }
.line.tot { font-weight: 700; font-size: 16px; margin-top: 8px; }
.coupon { font-size: 12px; opacity: .7; display: inline-block; margin-top: 6px; }

.pay { display: block; width: 100%; margin-top: 14px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: var(--radius-sm); padding: 15px; text-align: center; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; font-family: inherit; }

.quote { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; font-size: 12.5px; }
.quote i { display: block; font-style: normal; font-weight: 600; margin-top: 6px; font-size: 12px; opacity: .7; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.refund { margin-top: 14px; font-size: 11.5px; opacity: .75; text-align: center; }
.links { margin: 8px 0 22px; font-size: 10.5px; opacity: .55; text-align: center; }

/* Checkout, login and library additions */
.coupon-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.coupon-box .field { margin-bottom: 0; }
.msg { font-size: 13px; margin: 6px 0; min-height: 1em; }
.msg.err { color: #b3261e; }
.lib-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.lib-item .pay { margin-top: 8px; }
.linkbtn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.secure a { color: inherit; }
.admin-nav { display: flex; gap: 16px; margin: 8px 0 12px; font-weight: 600; }
table.admin { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
table.admin th, table.admin td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
textarea.field { resize: vertical; }
