@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,560;1,9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #140804;
  --foam: #ffffff;
  --cream: #fff4ea;
  --peach: #ffb087;
  --coral: #ff4314;
  --terra: #e22700;
  --choc: #2a0f08;
  --gold: #ffcf45;
  --blush: #ffd9c4;
  --line: rgba(20, 8, 4, 0.1);
  --shadow: 0 18px 40px rgba(255, 67, 20, 0.18);
  --shadow-deep: 0 28px 60px rgba(226, 39, 0, 0.28);
  --max: 1180px;
  --dock: 64px;
  --tap: 48px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Avenir Next", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: calc(var(--dock) + 12px);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .brand-word, .display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* —— header: logo + basket, not a four-shop nav bar —— */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px;
  padding: 8px 16px;
  background: rgba(255, 244, 234, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 2px solid rgba(255, 67, 20, 0.12);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; min-height: var(--tap);
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #ffd0a8, var(--coral) 55%, var(--terra));
  color: #fff; font-family: Fraunces, Georgia, serif;
  font-style: italic; font-size: 22px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 67, 20, 0.35), inset 0 1px 0 rgba(255,255,255,0.55);
}
.brand-word {
  font-size: 28px; font-style: italic; letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--terra), #ff6a2a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-desk { display: none; gap: 22px; }
.nav-desk a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  min-height: var(--tap); display: inline-flex; align-items: center;
}
.nav-desk a:hover { color: var(--terra); }
.basket-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: var(--tap); min-width: var(--tap);
  padding: 0 14px; border-radius: 999px; text-decoration: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 20px rgba(20, 8, 4, 0.22);
}
.basket-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 99px; background: var(--coral); color: #fff;
  font-size: 12px; box-shadow: 0 0 0 2px #fff;
}

.wrap { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }

/* —— hero: full-bleed photo band, stacked on a phone —— */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid; align-items: end;
  overflow: hidden;
  background: #2a0f08;
}
.hero-media {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 6px; padding: 6px;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; filter: saturate(1.15) contrast(1.05);
}
.hero-media img:first-child { grid-row: 1 / span 2; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,8,4,0.15) 0%, rgba(20,8,4,0.15) 40%, rgba(20,8,4,0.78) 100%),
    radial-gradient(circle at 80% 10%, rgba(255,67,20,0.35), transparent 40%);
}
.hero-copy {
  position: relative; z-index: 2;
  padding: 28px 20px 32px;
  color: #fff;
}
.kicker {
  margin: 0 0 8px; letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 11px; font-weight: 800; color: var(--gold);
}
.hero-copy h1 {
  margin: 0 0 18px; font-size: clamp(42px, 12vw, 86px);
  line-height: 0.92; color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); padding: 0 22px; border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer; font-weight: 800;
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 24px rgba(20,8,4,0.18);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.45) 48%, transparent 70%);
  transform: translateX(-140%);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(140%); }
.btn-hero {
  background: linear-gradient(180deg, #ff7a3d 0%, var(--coral) 48%, var(--terra) 100%);
  color: #fff; min-width: 160px; font-size: 17px;
  box-shadow: 0 14px 34px rgba(255, 67, 20, 0.45), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn.ghost {
  background: #fff; color: var(--ink); border: 2px solid var(--ink);
}
.btn.wide { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ship-chip {
  margin: 14px 0 0; font-size: 13px; font-weight: 600;
  color: #ffe7d6; max-width: 36ch;
}

/* —— rooms: horizontal photo chips, not an icon grid —— */
.rooms { padding: 16px 0 8px; }
.rooms-track {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 4px 16px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.rooms-track::-webkit-scrollbar { height: 0; }
.room {
  flex: 0 0 auto; scroll-snap-align: start;
  width: 148px; height: 148px; border-radius: 28px;
  position: relative; overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow);
}
.room img { width: 100%; height: 100%; object-fit: cover; }
.room span {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.92);
  font-weight: 800; font-size: 13px; text-align: center;
  box-shadow: 0 6px 16px rgba(20,8,4,0.12);
}

/* —— lookbook / product tiles —— */
.lookbook { padding: 8px 0 36px; }
.look-head h2 { font-size: clamp(30px, 7vw, 52px); margin: 8px 0 16px; }
.look {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.tile {
  background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 14px 30px rgba(255, 67, 20, 0.12), inset 0 1px 0 #fff;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.tile-pic {
  display: block; aspect-ratio: 4 / 5; background: var(--blush);
  overflow: hidden;
}
.tile-pic img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.tile:hover .tile-pic img { transform: scale(1.06); }
.tile-body { padding: 10px 12px 12px; display: grid; gap: 8px; }
.tile-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tile-line h3 { flex: 1; min-width: 0; }
.tile-line .price { flex: 0 0 auto; font-size: 14px; white-space: nowrap; }
.tile-body h3 {
  margin: 0; font-size: 15px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-body a { text-decoration: none; }
.price { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--terra); }
.add {
  min-height: var(--tap); border: 0; border-radius: 16px;
  background: linear-gradient(180deg, #ff7a3d, var(--coral));
  color: #fff; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 67, 20, 0.28), inset 0 1px 0 rgba(255,255,255,0.4);
}
.add:hover { filter: brightness(1.05); }
.add.is-on { background: var(--ink); }

/* —— shop —— */
.shop-main { padding: 18px 0 40px; }
.shop-head h1 { font-size: clamp(36px, 10vw, 64px); margin: 0 0 12px; }
.seek {
  display: block; margin-bottom: 12px;
}
.seek input {
  width: 100%; min-height: var(--tap);
  border: 2px solid var(--ink); border-radius: 18px;
  padding: 0 16px; background: #fff;
  box-shadow: 0 8px 20px rgba(255, 67, 20, 0.08);
}
.chips {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 12px; scroll-snap-type: x mandatory;
}
.chips::-webkit-scrollbar { height: 0; }
.chip {
  flex: 0 0 auto; scroll-snap-align: start;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff;
  text-decoration: none; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center;
}
.chip.on {
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 16px rgba(20,8,4,0.2);
}
.count { margin: 0 0 14px; font-weight: 700; color: #6a3a28; }
.pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* —— product —— */
.pdp { display: grid; gap: 18px; padding: 0 0 48px; }
.gallery { display: grid; gap: 8px; }
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  background: var(--blush);
}
.pdp-copy { padding: 8px 16px 0; }
.pdp-copy h1 { font-size: clamp(26px, 7vw, 44px); margin: 0; flex: 1; min-width: 0; }
.pdp-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 0 8px; }
.pdp-copy .price { font-size: 18px; white-space: nowrap; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.variants button {
  min-height: var(--tap); padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff; cursor: pointer; font-weight: 700;
}
.variants button.on { background: var(--ink); color: #fff; }
.ship-box {
  margin: 14px 0; padding: 14px 16px; border-radius: 18px;
  background: #ffe0c8; font-size: 14px; font-weight: 600;
}

/* —— cart / forms —— */
.section { padding: 22px 0 40px; }
.section h1, .prose h1 { font-size: clamp(34px, 9vw, 60px); margin: 8px 0 12px; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr;
  gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 18px; background: var(--blush);
}
.qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button {
  width: var(--tap); height: var(--tap); border-radius: 50%;
  border: 2px solid var(--ink); background: #fff; font-size: 20px;
}
.sum-row, .cart-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 14px 0; }
.form { display: grid; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--tap); background: #fff;
  border: 2px solid var(--line); border-radius: 16px; padding: 10px 14px;
}
.merchant-country {
  margin: 16px 0; padding: 18px; border-radius: 22px;
  background: linear-gradient(160deg, #2a0f08, #5a1c0c);
  color: #ffe7d6;
}
.merchant-country strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 26px; color: #fff; }
.notice {
  background: #fff; border: 2px solid var(--blush); border-radius: 16px;
  padding: 12px 14px; font-size: 14px; color: #5a3324;
}
.prose { max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 28px 0 8px; }
.prose p, .prose li { color: #4a2a1c; }
.placeholder {
  font-family: ui-monospace, monospace; background: #ffe0c8;
  padding: 2px 6px; border-radius: 6px; color: var(--ink);
}
.ok, .err { padding: 12px 14px; border-radius: 12px; margin: 12px 0; }
.ok { background: #d8f0c8; }
.err { background: #ffd0c2; }

/* —— footer: stacked colophon, not four columns —— */
.site-footer {
  margin-top: 20px; padding: 28px 16px 28px;
  background: var(--choc); color: #f7dcc8;
}
.foot {
  display: grid; gap: 18px; width: min(var(--max), 100%); margin: 0 auto;
}
.foot .brand-word { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.foot a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.legal-box { font-size: 13px; color: #e8c2aa; }
.legal-box .placeholder { background: #5a2614; color: #fff; }

/* —— mobile dock —— */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 6px; border-radius: 22px;
  background: rgba(20, 8, 4, 0.94);
  box-shadow: 0 16px 40px rgba(20,8,4,0.35);
}
.dock a {
  min-height: 52px; border-radius: 16px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-weight: 800;
}
.dock a.on { background: var(--coral); }

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .nav-desk { display: flex; }
  .site-header { padding: 10px 28px; }
  .hero { min-height: 720px; align-items: center; }
  .hero-media { grid-template-columns: 1.4fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .hero-copy { padding: 0 64px 40px; max-width: 720px; }
  .rooms-track { padding: 8px 28px 22px; }
  .room { width: 180px; height: 180px; }
  .look { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .look .tile:first-child { grid-column: span 2; }
  .page-shop .look .tile:first-child { grid-column: auto; }
  .page-shop .look { grid-template-columns: repeat(4, 1fr); }
  .pdp { grid-template-columns: 1.05fr 0.95fr; align-items: start; padding: 28px 0 64px; }
  .gallery img { border-radius: 28px; }
  .pdp-copy { padding: 24px 8px 0 8px; }
  .section, .prose.section { padding-top: 36px; }
}

@media (min-width: 860px) {
  .page-shop .look { grid-template-columns: repeat(3, 1fr); }
}


/* currency + suggest */
.head-seek { flex: 1; min-width: 0; max-width: 240px; position: relative; }
.head-seek input {
  width: 100%; min-height: 40px; border: 2px solid var(--ink); border-radius: 999px;
  padding: 0 12px; background: #fff;
}
.head-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.fx-wrap { display: inline-flex; align-items: center; }
.fx-select {
  min-height: 40px; border-radius: 999px; border: 2px solid var(--ink);
  padding: 0 8px; background: #fff; font-weight: 700; font-size: 13px;
}
.seek { position: relative; display: block; }
.suggest-host { position: relative; }
.suggest[hidden] { display: none !important; }
.suggest {
  display: flex; flex-direction: column; align-items: stretch;
  position: fixed; z-index: 9999; isolation: isolate;
  background-color: #fff; color: #140804;
  border: 1px solid #140804; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(20, 8, 4, 0.22);
  max-height: min(55vh, 360px); overflow-y: auto;
}
.suggest-row {
  position: relative; display: flex; gap: 8px; align-items: center;
  padding: 10px 12px; text-decoration: none; min-height: 52px;
  color: #140804;
}
.suggest-row.is-on, .suggest-row:hover { background-color: #ffe8d8; }
.suggest-row img {
  width: 40px; height: 40px; flex: 0 0 40px;
  object-fit: cover; border-radius: 8px; background-color: var(--blush);
}
.suggest-name {
  flex: 1 1 auto; min-width: 0;
  font-size: 13px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.suggest-price {
  flex: 0 0 auto; font-weight: 800; font-size: 13px; color: var(--terra);
  white-space: nowrap; padding: 4px 8px; border-radius: 999px; background-color: #ffe8d8;
}
.suggest-empty { padding: 12px; font-weight: 700; }
@media (max-width: 859px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
  }
  .brand { order: 1; }
  .nav-desk { order: 4; }
  .head-tools {
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .head-seek {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
  .brand-word { display: none; }
}

/* We accept + required terms checkbox */
.we-accept { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0 4px; }
.we-accept-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.we-accept-marks { display: flex; align-items: center; gap: 8px; }
.card-mark { width: 54px; height: 36px; display: block; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.terms-agree { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0 6px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.terms-agree input[type="checkbox"] {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  margin: 0; flex: 0 0 44px; cursor: pointer;
}
.terms-agree-err { color: #b42318; font-size: 14px; margin: 0 0 8px; }
.terms-agree-err[hidden] { display: none !important; }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
