@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/ABCFavorit-Light-Trial.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/ABCFavorit-Book-Trial.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/ABCFavorit-Regular-Trial.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/ABCFavorit-Medium-Trial.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Favorit";
  src: url("/fonts/ABCFavorit-Bold-Trial.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #6b6b6b;
  --border: #e5e5e5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Pliant", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

.marquee {
  background: #f9b4d5;
  color: #000;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee__item {
  padding: 0 28px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 13px;
}

.nav-left, .nav-right {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-right { justify-content: flex-end; }

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.brand img {
  display: block;
  height: 25px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

nav.primary a {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

nav.primary a:hover { opacity: 0.55; }

@media (max-width: 640px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px 0;
    padding: 14px 16px;
  }
  .nav-left, .nav-right { display: contents; }
  nav.primary a { font-size: 11px; letter-spacing: 0.01em; }
  .brand { order: -1; flex: 0 0 100%; display: flex; justify-content: center; margin-bottom: 8px; }
}

main {
  padding: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

.product {
  position: relative;
  display: block;
  background: #f4f4f4;
  overflow: hidden;
}

.product .imgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product .imgwrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease;
}

.product .imgwrap img.back {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .product:hover .imgwrap img.front {
    opacity: 0;
  }
  .product:hover .imgwrap img.back {
    opacity: 1;
  }
}

.product.pressed .imgwrap img.front {
  opacity: 0;
}

.product.pressed .imgwrap img.back {
  opacity: 1;
}

.product {
  -webkit-tap-highlight-color: transparent;
}

.product .meta {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #ffffff;
}

.product .name {
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.product .price {
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

.row-label {
  position: absolute;
  top: 14px;
  left: 20px;
  font-size: 13px;
  z-index: 51;
}

.row-label.right {
  left: auto;
  right: 20px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 20px;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-size: 15px;
  line-height: 1.6;
}

.page h1 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}

.page p { margin-bottom: 14px; }

.page form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.page label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page input, .page textarea, .page select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 8px 0;
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s ease;
}

.page input:focus, .page textarea:focus, .page select:focus {
  border-bottom-color: var(--fg);
}

.page textarea { min-height: 120px; resize: vertical; }

.page button {
  margin-top: 14px;
  align-self: flex-start;
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 12px 22px;
  font: inherit;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.page button:hover { opacity: 0.8; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #f4f4f4;
  display: block;
}

footer {
  padding: 40px 20px 24px;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
