@import url("/fonts.css");

:root {
  color-scheme: dark;
  --black: #0a0b0a;
  --gold: #dab55e;
  --cream: #f5f2ea;
  --muted: #c9c0ad;
  --ink: #201912;
  --line: #66532d;
  --heading: Forum, Georgia, serif;
}
.figma-route { background: #000; }
.figma-route > :is(header, footer, .demo-banner),
.prototype-route > :is(header, footer, .demo-banner) { display: none; }
.figma-frame { width: 100%; height: 100vh; border: 0; display: block; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--black); color: var(--cream); font: 16px/1.55 Montserrat, Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; vertical-align: middle; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a47830; outline-offset: 4px; }
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 106px; padding: 20px clamp(16px, 3vw, 48px); position: relative; z-index: 2; background: #080808; }
.header nav { display: flex; justify-self: start; gap: clamp(8px, 1.8vw, 24px); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.header nav a, footer a { color: var(--gold); text-decoration: none; font: 16px var(--heading); }
.header nav a { text-transform: uppercase; }
a:hover { text-decoration: underline; }
.brand { display: inline-flex; flex: none; gap: 12px; align-items: center; text-decoration: none; }
.brand img { object-fit: contain; }
.tools { display: flex; justify-self: end; align-items: center; gap: 12px; }
.icon { display: inline-grid; place-items: center; position: relative; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; text-decoration: none; }
.cart-icon span { position: absolute; top: 0; right: -4px; min-width: 20px; padding: 0 4px; background: var(--gold); color: var(--ink); border-radius: 999px; font-size: 12px; text-align: center; }
.menu { display: none; }
.demo-banner { text-align: center; background: #20190e; color: #e7c98a; padding: 5px 12px; font-size: 12px; }
h1, h2, h3 { font: 400 1.7rem/1.12 var(--heading); margin: 0 0 .5em; }
h1, .section > h2 { color: var(--gold); text-transform: uppercase; }
h1 { font-size: clamp(2rem, 4vw, 3.55rem); }
.section > h2 { font-size: clamp(1.9rem, 3.3vw, 2.65rem); }
.hero { position: relative; isolation: isolate; min-height: clamp(520px, 58vw, 840px); display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: clamp(36px, 6vw, 82px) 16px clamp(30px, 5vw, 72px); background: #090909 url(/assets/concierge.png) center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0009, transparent 42%, transparent 65%, #0008); }
.hero h1 { margin-bottom: .18em; text-shadow: 0 2px 14px #000; }
.script { font: italic clamp(1.6rem, 3.6vw, 2.9rem)/1.2 "Snell Roundhand", Georgia, serif; margin: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); font: 400 1.1rem/1.2 var(--heading); text-transform: uppercase; text-decoration: none; text-align: center; }
.button:hover { background: #efcd82; text-decoration: none; }
.secondary { background: transparent; color: var(--gold); }
.secondary:hover { background: #dab55e24; }
.section { padding: clamp(42px, 6vw, 88px) max(18px, 4vw); text-align: center; border-top: 1px solid #42351c; }
.section > p { margin: 0 auto 24px; max-width: 680px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px auto 0; padding: 0; list-style: none; max-width: 1100px; }
.features li { border: 1px solid var(--line); border-radius: 8px; padding: 22px 14px; color: var(--gold); font: 1.25rem/1.2 var(--heading); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 6vw, 80px); max-width: 1050px; margin: auto; }
.product { display: flex; flex-direction: column; align-items: center; padding: 8px 12px 24px; }
.product-picture { position: relative; overflow: hidden; width: min(100%, 380px); aspect-ratio: 1; }
.product-picture img { position: absolute; max-width: none; height: 195.78%; width: 140.32%; top: -26.28%; left: -22.78%; }
.product h3 { margin: 8px 0; text-transform: uppercase; }
.edition { color: var(--gold); border: 1px solid var(--line); border-radius: 8px; padding: 5px 14px; font: 1.2rem var(--heading); text-transform: uppercase; }
.product p { color: var(--muted); margin: 14px 0; }
.product .price { color: var(--cream); }
.product .button { margin-top: auto; }
.collection { display: block; max-height: 600px; margin: 40px auto 0; object-fit: contain; width: min(100%, 1120px); }
.concierge { min-height: 430px; background: linear-gradient(#07070780, #0a0b0a80), url(/assets/service.png) center / cover; }
.contact { background: #111; }
.panel { color-scheme: light; background: var(--cream); color: var(--ink); padding: clamp(16px, 3vw, 32px); border-radius: 14px; }
.panel .secondary { color: #594016; }
.panel h1 { color: #715322; }
.care { margin: auto; max-width: 650px; text-align: left; }
.care .button { margin-top: 16px; }
.tasting img { max-height: 540px; object-fit: contain; }
footer { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 24px; padding: 42px 16px; border-top: 1px solid var(--line); }
.page { max-width: 1280px; padding: clamp(24px, 5vw, 64px) 16px; margin: auto; min-height: 55vh; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr); gap: 20px; align-items: start; }
.basket-row { display: grid; grid-template-columns: 96px 1fr auto; align-items: start; gap: 14px; padding: 14px 0; }
.basket-row + .basket-row { border-top: 1px solid #ded6c7; }
.basket-row img { object-fit: cover; border-radius: 8px; background: #101010; }
.basket-row h2 { font-size: 1.45rem; }
.basket-row p { font-size: .9rem; margin: 0 0 8px; }
.quantity { display: flex; align-items: center; gap: 7px; }
.quantity button { background: #fffaf0; border: 1px solid #c8ae7d; border-radius: 6px; color: var(--ink); width: 38px; height: 38px; }
.text-button { border: 0; background: transparent; color: inherit; text-decoration: underline; padding: 8px 0; }
.summary .button { width: 100%; }
.totals { margin: 0 0 18px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals dd { margin: 0; white-space: nowrap; }
.total { border-top: 1px solid #c8ae7d; margin-top: 12px; padding-top: 10px; font-size: 1.15rem; font-weight: 700; }
.order-items { padding-left: 20px; }
label { display: grid; gap: 4px; margin: 12px 0; }
input, select, textarea { display: block; min-width: 0; width: 100%; padding: 10px 12px; border-radius: 7px; border: 1px solid #b69b65; background: #fffdf8; color: var(--ink); }
input:read-only { background: #eae4d9; }
small { color: #5d4c32; }
.form-fields h2:not(:first-child) { margin-top: 20px; }
.narrow { max-width: 540px; margin: auto; }
.prototype-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: #0d0d0d;
}
.sign-in-screen {
  --form-scale: 1;
  --card-height: calc(415px * var(--form-scale));
  min-height: max(100svh, calc(var(--card-height) + 210px));
  padding-top: max(16px, calc((100svh - var(--card-height)) / 2 - 32px));
  align-items: start;
}
.sign-in {
  display: grid;
  justify-items: center;
  width: min(100%, calc(541px * var(--form-scale)));
}
.sign-in-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(40px * var(--form-scale));
  width: 100%;
  min-height: var(--card-height);
  border-radius: calc(20px * var(--form-scale));
  background: white;
  color: black;
  padding: calc(40px * var(--form-scale));
  color-scheme: light;
  text-align: center;
}
.sign-in-card.verify-code { min-height: 0; }
.sign-in-card h1 {
  font: 400 calc(30px * var(--form-scale))/1.3 var(--heading);
  color: var(--gold);
  margin: 0;
}
.sign-in-card p {
  margin: 0;
  font: 300 calc(20px * var(--form-scale))/1.3 Montserrat, Arial, sans-serif;
}
.sign-in-card label {
  width: min(100%, calc(340px * var(--form-scale)));
  gap: calc(8px * var(--form-scale));
  margin: 0;
  color: var(--gold);
  font: 300 calc(12px * var(--form-scale))/1.5 Montserrat, Arial, sans-serif;
  letter-spacing: .36px;
  text-align: left;
}
.sign-in-card input {
  min-height: calc(42px * var(--form-scale));
  padding: calc(9px * var(--form-scale)) calc(18px * var(--form-scale));
  border: 1.3px solid var(--gold);
  border-radius: calc(8px * var(--form-scale));
  background: white;
  font-size: max(16px, calc(16px * var(--form-scale)));
}
.sign-in-card .button {
  min-width: calc(183px * var(--form-scale));
  min-height: calc(58px * var(--form-scale));
  padding: 8px calc(30px * var(--form-scale));
  border-radius: calc(8px * var(--form-scale));
  color: white;
  font-size: calc(20px * var(--form-scale));
  letter-spacing: 1px;
}
.sign-in-card .error {
  margin-block: calc(-23px * var(--form-scale));
  font-size: 14px;
}
.sign-in-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.verify-code + .sign-in-actions { margin-top: 44px; }
.sign-in .invalid-code { margin-top: 18px; }
.prototype-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--gold);
  color: #0d0d0d;
  font: 18px/normal var(--heading);
  text-decoration: none;
  text-align: center;
}
.prototype-button.outline { background: transparent; color: var(--gold); }
.payment-card {
  width: min(100%, 510px);
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 16px;
  background: #faf7f0;
  color: #0d0d0d;
  text-align: center;
}
.payment-card h1 {
  margin: 0;
  color: inherit;
  font: 28px/normal var(--heading);
  text-transform: none;
}
.payment-card p { margin: 0; font: 300 16px/normal Montserrat, Arial, sans-serif; }
.payment-card .outline { color: #4a3617; }
/* The original prototype uses a 900 ms Ease out transition from the number to the code. */
@media (prefers-reduced-motion: no-preference) {
  .verify-code > :is(h1, p:not(.error), label) {
    animation: authentication-content 900ms ease-out both;
  }
  @keyframes authentication-content {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
.error { color: #9a2520; }
.toast { position: fixed; z-index: 4; right: 16px; bottom: 16px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 8px; background: #272013; color: var(--cream); }
@media (max-width: 980px) {
  .header { min-height: 72px; padding: 8px 12px; }
  .menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .menu span { width: 24px; border-top: 1px solid var(--gold); }
  .header nav { display: none; position: absolute; top: calc(100% - 2px); left: 12px; flex-direction: column; background: #14110d; }
  .menu[aria-expanded=true] + nav { display: flex; }
}
@media (max-width: 680px) {
  .header { column-gap: 4px; }
  .header .brand { gap: 6px; }
  .header .brand img:first-child { width: 29px; height: 22px; }
  .header .brand img:last-child { width: clamp(92px, 29vw, 140px); height: auto; }
  .tools { gap: 0; }
  .hero { min-height: 575px; background-image: url(/assets/hero-mobile.png); }
  .hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .features, .products, .order-grid { grid-template-columns: 1fr; }
  .product-picture { width: min(100%, 324px); }
  .basket-row { grid-template-columns: 62px 1fr; }
  .basket-row img { width: 62px; height: 62px; }
  .basket-row > .text-button { grid-column: 2; justify-self: start; }
  .sign-in-screen { --form-scale: .74; }
  .sign-in-actions { gap: 8px; }
  .sign-in-actions .prototype-button, .invalid-code { font-size: 16px; padding-inline: 12px; }
}
.seller-details, .legal-links { flex: 1 1 260px; max-width: 400px; }
.seller-details p { margin: 0; color: rgba(208, 196, 174, .77); }
.seller-details a { color: inherit; font: inherit; }
.legal-links, .footer-documents { display: grid; gap: 7px; justify-items: start; }
.footer-documents { margin-top: 12px; }
.seller-details p, .footer-documents a, .legal-links a { font: 400 11px/1.35 Arial, sans-serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: normal; text-transform: none; }
.legal-document { max-width: 800px; margin: auto; padding: 40px 20px; }
.legal-document h2 { margin-top: 28px; }
