/* Homepage (order page). */

:root {
  --bg: #080808;
  --panel: #111;
  --text: #d6a55a;
  --muted: #b8a078;
  --line: #3a3228;
  --gold: #d6a55a;
  --gold-bright: #f1cb84;
  --ink: #080808;
  --field-filled: rgb(250, 255, 189);
  --display: "Cinzel", Palatino, "Palatino Linotype", serif;
  --body: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
  --space-1: 0.5rem;
  --space-2: 1.5rem;
  --space-3: 2rem;
  --space-4: 3rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;
  --section-gap: var(--space-7);
  --subhead-gap: var(--space-6);
  --hit: 2.75rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.69rem;
  font-weight: 500;
  line-height: 1.6;
  padding: var(--space-5) var(--space-4) var(--space-7);
}
main {
  max-width: 47.3rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(var(--section-gap) / 2);
}
header, form, footer, section { min-width: 0; }
header { text-align: center; margin: 0; }
form {
  display: flex;
  flex-direction: column;
  gap: calc(var(--section-gap) / 2);
  margin: 0;
}
.logo {
  width: 22rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto var(--space-4);
}
.gold-sep {
  --w: min(62%, 28rem);
  --h: 2px;
  display: block;
  width: var(--w);
  max-width: 100%;
  min-width: 0;
  height: var(--h);
  border: 0;
  margin-block: 0;
  margin-inline: auto;
  position: relative;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #3a2a12 8%,
    #6a4e24 22%,
    #c9a15a 42%,
    #e8c989 50%,
    #c9a15a 58%,
    #6a4e24 78%,
    #3a2a12 92%,
    transparent 100%
  );
  border-radius: 1px;
  box-shadow:
    0 0 6px 0 rgba(201, 161, 90, 0.18),
    0 0 18px 1px rgba(180, 130, 50, 0.12);
}
.gold-sep::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 236, 190, 0.15) 18%,
    rgba(255, 244, 214, 0.75) 50%,
    rgba(255, 236, 190, 0.15) 82%,
    transparent 100%
  );
  pointer-events: none;
}
.gold-sep::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.55) 50%, transparent);
  pointer-events: none;
}
.gold-sep--wide  { --w: min(90%, 48rem); }
.gold-sep--short { --w: min(40%, 16rem); }
.gold-sep--thin  { --h: 1px; }
header .gold-sep { margin-block: 0 var(--space-4); }
h1, h2, .price, button, .qty-unit {
  font-family: var(--display);
}
h1 {
  margin: 0 0 var(--space-2);
  font-size: 2.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--gold-bright);
  max-width: 100%;
  overflow-wrap: break-word;
}
.lede {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}
h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold-bright);
}
section { margin: 0; }
.products { list-style: none; margin: 0; padding: 0; }
.product {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content 8.75rem;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  overflow: visible;
}
.product:has(.pick.is-open) { z-index: 2; }
.product > .line-amt { justify-self: end; text-align: right; }
.product label { margin: 0; }
.product small {
  display: block;
  margin: var(--space-1) 0 0;
  color: var(--muted);
  font-weight: 400;
}
.price {
  display: block;
  margin-top: var(--space-1);
  font-size: 1.43rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--gold-bright);
  white-space: nowrap;
}
.price-tax {
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--muted);
  text-transform: none;
}
.line-amt {
  font-family: var(--display);
  font-size: 1.43rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--gold-bright);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.line-amt.is-zero {
  color: var(--muted);
}
.total { margin: 0; }
.total-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--gold);
  font-family: var(--display);
  font-size: 1.43rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}
.errors {
  margin: 0 0 var(--space-3);
  padding-left: var(--space-4);
  color: var(--gold-bright);
}
.qty {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  overflow: visible;
  flex-shrink: 0;
}
.qty select {
  width: 8.5rem;
  min-height: var(--hit);
  cursor: pointer;
}
.qty-unit { font-size: 1.2rem; letter-spacing: 0.08em; line-height: 1; }
.note { margin: 0; color: var(--muted); font-size: 1.5rem; line-height: 1.6; }
.optional { font-weight: 400; color: var(--muted); }
label { display: block; font-weight: 600; }
.field label { margin: 0 0 var(--space-1); }
input, textarea, select { font: inherit; font-size: 1.69rem; line-height: 1.6; }
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  min-height: var(--hit);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  color: var(--gold-bright);
  caret-color: var(--gold-bright);
}
input[type="text"]:not(:placeholder-shown),
input[type="tel"]:not(:placeholder-shown),
input[type="email"]:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
  background: var(--field-filled);
  color: var(--ink);
  caret-color: var(--ink);
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: inset 0 0 0 1000px var(--field-filled);
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: var(--space-4);
  background-color: var(--panel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d6a55a' d='M0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-2) center;
  background-size: 0.75rem 0.5rem;
  cursor: pointer;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
  font-style: italic;
}
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button,
input::-webkit-credit-card-auto-fill-button {
  background-color: var(--gold-bright);
}
input::-webkit-contacts-auto-fill-button:hover,
input::-webkit-credentials-auto-fill-button:hover,
input::-webkit-credit-card-auto-fill-button:hover {
  background-color: var(--gold);
}
input[type="text"]:hover:not(:disabled),
input[type="tel"]:hover:not(:disabled),
input[type="email"]:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
  border-color: var(--gold);
}
input[type="text"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="email"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
  border-color: var(--gold);
}
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: var(--gold-bright);
}
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
}
textarea { min-height: 7.5rem; resize: vertical; }
.field { margin: 0; }
.field + .field { margin-top: var(--space-3); }
button {
  display: inline-block;
  margin-top: var(--space-4);
  width: 100%;
  min-height: var(--hit);
  padding: var(--space-3);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
}
button:hover:not(:disabled) {
  background-color: var(--gold-bright);
  border-color: var(--gold-bright);
}
button:active:not(:disabled) {
  background-color: color-mix(in srgb, var(--gold) 82%, black);
  border-color: color-mix(in srgb, var(--gold) 82%, black);
  transform: translateY(1px);
}
button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: var(--gold);
  border-color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  button:active:not(:disabled) { transform: none; }
}
footer {
  margin: 0;
  color: var(--muted);
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.6;
  text-transform: none;
  text-align: center;
}
footer p { margin: 0; }
footer nav { margin-top: var(--space-2); }
footer nav a {
  color: var(--gold-bright);
  margin: 0 var(--space-2);
  text-decoration: none;
}
footer nav a:hover,
footer nav a:focus-visible { text-decoration: underline; }
footer nav a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}
@media (max-width: 40rem) {
  body {
    padding-inline: calc(var(--space-4) / 2);
  }
}
@media (max-width: 32rem) {
  .product {
    grid-template-columns: max-content 1fr;
  }
  .product > :first-child { grid-column: 1 / -1; }
  h1 {
    font-size: 2.22rem;
    letter-spacing: 0.04em;
  }
}
