/* ZIGGY SOCIETY — Product submission portal
   Brand palette + type. Swap the font @imports for your real
   licensed fonts (Heading Now / LovelyMay) when you have the files. */

:root {
  /* Ziggy Society brand system.
     Signal Red does one job: attention — the page heading, the primary
     action, required markers and errors. It is never used on a price
     label or on body copy. */
  --signal:      #D93025;  /* Signal Red — heading, submit button, rules */
  --signal-dark: #B3271E;  /* pressed / hover state of the submit button */
  --signal-tint: #FBEAE8;  /* faintest red wash, for hover grounds only */
  --ink:         #1C1B19;  /* body copy */
  --paper:       #F4F4F5;  /* ground — neutral off-white, not a warm cream */
  --stone:       #C9C2B4;  /* quiet neutral — field borders and rules */
  --stone-tint:  #EAEAEC;  /* quiet neutral ground, matched to the paper */
  /* Stone is 1.6:1 on Paper, so it can outline but never letter. Muted is
     the same warm neutral taken dark enough to read (5.2:1) and is what
     helper text, notes and small labels actually use. */
  --muted:       #6B6459;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 760px;
  --shadow: 0 10px 40px rgba(28, 27, 25, 0.08);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Times New Roman", Times, Georgia, serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* --- Header / logo --- */
.brand {
  text-align: center;
  margin: 24px 0 8px;
}
.brand img { width: 76px; height: 76px; display: inline-block; }
.brand .name {
  font-family: var(--font-head);
  letter-spacing: 0.28em;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 10px;
}

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--signal);
  text-align: center;
  margin: 18px 0 10px;
}
.lede {
  text-align: center;
  font-size: 19px;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 8px;
}
.section-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 40px 0 4px;
}
.helper { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

/* --- Landing choice cards --- */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 620px) { .choices { grid-template-columns: 1fr; } }
.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--muted); }
.card h3 { font-family: var(--font-head); font-weight: 600; margin: 8px 0 6px; font-size: 21px; color: var(--ink); }
.card p { margin: 0; font-size: 16px; color: var(--ink); }
.card .tag { font-family: var(--font-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* --- Forms --- */
form { margin-top: 8px; }
.field { margin: 22px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 7px;
}
label .req { color: var(--signal); }
input[type=text], input[type=email], input[type=url], input[type=number],
select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.18);
}

/* File upload */
.dropzone {
  border: 1.5px dashed var(--stone);
  border-radius: 12px;
  background: var(--stone-tint);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 15px;
}
.dropzone input { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs .thumb { position: relative; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--stone); }
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .thumb button { position: absolute; top: 2px; right: 2px; border: 0; background: rgba(35,36,17,.75); color: #fff; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; line-height: 1; }

/* Buttons */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  border: 0;
  border-radius: 10px;
  padding: 15px 28px;
  cursor: pointer;
  background: var(--signal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217,48,37,.24);
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--signal-dark); transform: translateY(-1px); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn-row { margin-top: 30px; display: flex; align-items: center; gap: 16px; }

/* Social links: platform label + link input */
.social-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.social-label { flex: 0 0 132px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.social-label .optional { font-weight: 400; }
.social-row input { flex: 1; }
@media (max-width: 560px) {
  .social-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .social-label { flex: none; }
}
.btn-secondary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 0 18px;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.optional { font-family: var(--font-head); font-weight: normal; font-size: 13px; color: var(--muted); }

/* Address block: stacked inputs inside a single field */
.addr > input, .addr > select, .addr > .grid2 { margin-bottom: 10px; }
.addr > :last-child { margin-bottom: 0; }
.addr .grid2 { gap: 10px; }

/* Inline confirmation checkbox */
.check { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-body); font-weight: normal; font-size: 16px; color: var(--ink); cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--signal); }

/* Variant repeater */
.variants-wrap { margin: 8px 0 4px; }
.varhead, .varrow { display: grid; grid-template-columns: 1fr 90px 34px; gap: 10px; align-items: center; }
.varhead { font-family: var(--font-head); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.varrow { margin-bottom: 9px; }
.var-remove {
  width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--stone); background: var(--white); color: var(--signal);
  border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s ease, border-color .12s ease;
}
.var-remove:hover { background: var(--signal-tint); border-color: var(--signal); }
.add-variant { margin-top: 4px; }

/* Photo spec guide — kept simple */
.specguide {
  background: var(--white);
  border: 1px solid var(--stone);
  border-left: 3px solid var(--signal);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0 22px;
  font-size: 16px;
}
.specguide > strong { font-family: var(--font-head); font-size: 14px; color: var(--ink); display: block; margin-bottom: 6px; }
.specguide p strong { font-weight: 600; color: var(--ink); }
.specguide p { margin: 6px 0; }
.specguide .angles { margin-top: 8px; }
.specguide .angle {
  display: inline-block;
  background: var(--stone-tint);
  border-radius: 6px;
  padding: 2px 9px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--ink);
  margin: 2px 4px 2px 0;
}
.specguide .snote { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); font-style: italic; }
.back { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: 15px; }
.back:hover { text-decoration: underline; }

/* Status message */
.status { margin-top: 16px; font-size: 16px; }
.status.err { color: var(--signal); }

/* Live price box (retail + shipping) */
.pricebox {
  margin-top: 10px;
  background: var(--stone-tint);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.pricebox strong { font-size: 16px; }
.pricebox .pnote { color: var(--muted); }

/* Thank you */
.center-card { text-align: center; }
