:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #e6336e;
  --blush: #fdf1ee;
  --muted: #6b6b6b;
  --line: #eaeaea;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
}

img { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.announce {
  margin: 0;
  background: var(--blush);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 10px 16px;
}

.site-header { background: var(--bg); }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 64px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.92rem;
  text-align: center;
}

.wordmark img { height: 36px; width: auto; }

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.hamburger { justify-self: start; cursor: pointer; }

.icon-btn svg,
.social svg { width: 22px; height: 22px; }

.bag { position: relative; }

.bag-count {
  position: absolute;
  top: 6px;
  right: 4px;
  font-size: 10px;
  font-weight: 500;
}

.nav {
  display: none;
  flex-direction: column;
  padding: 4px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-toggle:checked ~ .nav { display: flex; }

.hero {
  position: relative;
  background: var(--blush);
  min-height: 460px;
  display: grid;
  align-items: end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  padding: 48px 20px;
  max-width: 640px;
}

.hero-photo .hero-copy { color: #fff; }

.hero h1 {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero p { margin: 0 0 20px; font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 0;
  font: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.btn:hover { background: var(--accent); }

.btn:disabled,
.btn[disabled] {
  background: #111;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-block { width: 100%; }

.band { padding: 28px 16px 8px; }

.band h2,
.collection-head h1,
.pdp-info h1 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  padding: 8px 16px 40px;
}

.card-link { text-decoration: none; display: block; }

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--blush);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media .hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.card-title {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 400;
}

.card-price {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.card-media .badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.quick-add {
  margin-top: 8px;
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--text);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.tiles {
  display: grid;
  gap: 12px;
  padding: 0 16px 40px;
}

.tile {
  position: relative;
  display: block;
  text-decoration: none;
}

.tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.tile span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  font-weight: 500;
  font-size: 1.3rem;
}

.collection-head { text-align: center; padding: 36px 16px 8px; }

.crumbs { color: var(--muted); font-size: 0.85rem; }

.count { color: var(--muted); }

.sort {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 12px 0;
}

.sort select,
.pager a {
  min-height: 44px;
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 16px 40px;
}

.pager a {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  text-decoration: none;
  border: 1px solid var(--line);
}

.pdp-media .strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pdp-media .strip img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--blush);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}

.dots a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.pdp-desktop { display: none; }

.pdp-info { padding: 8px 16px 32px; }

.pdp-price { font-size: 1.05rem; margin: 8px 0 16px; }

.options { border: 0; margin: 0 0 12px; padding: 0; }

.options legend { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }

.option-row { display: flex; flex-wrap: wrap; gap: 8px; }

.swatch {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.swatch.is-selected { border-color: var(--text); }

.swatch.is-out,
.swatch:disabled {
  text-decoration: line-through;
  color: var(--muted);
  cursor: not-allowed;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
}

.stepper button,
.stepper input {
  min-height: 44px;
  width: 44px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  text-align: center;
}

.stepper button { cursor: pointer; }

.pdp-info details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.pdp-info summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.prose a { color: var(--accent); }

.empty-note,
.empty-state { padding: 24px 16px 48px; color: var(--muted); }

.empty-state h1 { color: var(--text); font-weight: 500; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 16px 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 16px 0;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.social {
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copyright { color: var(--muted); font-size: 0.85rem; }

.soon {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 8px;
}

.soon h1 { font-weight: 500; margin: 8px 0; }

.soon-line { color: var(--muted); margin-top: 0; }

.admin { background: var(--bg); }

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}

.admin-main { max-width: 880px; margin: 0 auto; padding: 24px 16px 64px; }

.admin h1 { font-weight: 500; font-size: 1.6rem; }

.admin input,
.admin select,
.admin button,
.admin .tab {
  font: inherit;
  min-height: 44px;
}

.admin input[type="text"],
.admin input[type="password"],
.admin input[type="number"],
.admin select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: #fff;
}

.admin label { display: block; margin: 14px 0 6px; }

.check { display: flex; align-items: center; gap: 8px; min-height: 44px; }

.check input { width: 20px; height: 20px; }

.form-error { color: var(--accent); margin: 6px 0; }

.supplier { color: var(--muted); font-size: 0.9rem; margin: 4px 0; }

.flash {
  background: var(--blush);
  padding: 12px 14px;
  margin: 0 0 16px;
}

.tabs { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0; }

.tab {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0 4px;
  border-bottom: 2px solid transparent;
}

.tab.is-on { border-bottom-color: var(--text); }

.search { display: flex; gap: 8px; align-items: end; margin: 8px 0 16px; }

.search input { flex: 1; }

.sync-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 8px 0 16px;
  color: var(--muted);
}

.admin-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-row.is-missing { color: var(--muted); }

.admin-row img {
  width: 72px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--blush);
}

.admin-row h2 { font-size: 1rem; font-weight: 500; margin: 0 0 4px; }

.admin-row h2 a { text-decoration: none; }

.row-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.thumb-empty {
  width: 72px;
  aspect-ratio: 3 / 4;
  background: var(--blush);
}

.photo-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }

.photo-row img { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; }

.note { color: var(--muted); }

.text-btn {
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 44px;
  color: var(--text);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.login-card { max-width: 420px; margin: 48px auto; padding: 0 16px; }

@media (hover: hover) and (min-width: 1024px) {
  .card:hover .hover { opacity: 1; }
}

@media (min-width: 1024px) {
  .hamburger,
  .nav-toggle { display: none; }

  .nav,
  .nav-toggle:checked ~ .nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px 22px;
    padding: 0 24px;
  }

  .grid { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; padding: 8px 40px 56px; }

  .band { padding: 36px 40px 0; }

  .tiles { grid-template-columns: repeat(3, 1fr); padding: 0 40px 56px; }

  .hero { min-height: 640px; }
  .hero h1 { font-size: 4rem; }
  .hero-copy { padding: 64px 48px; }

  .pdp {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
    padding: 24px 40px 48px;
  }

  .strip,
  .dots { display: none; }

  .pdp-desktop {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }

  .thumbs { display: flex; flex-direction: column; gap: 8px; }

  .thumb {
    border: 1px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
  }

  .thumb.is-selected { border-color: var(--text); }

  .thumb img { width: 72px; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

  #main-image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--blush); }

  .pdp-info { padding: 12px 12px 0 0; position: sticky; top: 12px; }

  .site-footer { padding: 48px 40px; }
}
