/* FRONEER store: a fake merch shop in the site's own style. */

.store [hidden] { display: none !important; }

.store__head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(16px, env(safe-area-inset-top)) var(--pad) 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.store__logo img { display: block; width: auto; height: 15px; }
.store__tools { display: flex; align-items: center; gap: 10px; }

.store__main { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) 80px; }

.store__hero { display: grid; justify-items: center; gap: 14px; padding: clamp(64px, 12vw, 140px) 0 clamp(40px, 7vw, 80px); text-align: center; }
.store__title {
  font-family: var(--f-display);
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 700;
  font-stretch: 75%;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--bright);
  transition: font-stretch 1.4s var(--ease-out);
}
.store.is-ready .store__title { font-stretch: 100%; }
.store__intro { max-width: 36ch; font-size: 19px; color: var(--text); }
.store__note { color: var(--muted); }

.store__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.product {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.82);
}
.product__media { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; background: var(--bg-deep); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .product:hover .product__media img { transform: scale(1.04); } }
.product__kicker { color: var(--muted); }
.product__name {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--bright);
}
.product__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__price { font-size: 18px; font-weight: 500; color: var(--bright); font-variant-numeric: tabular-nums; }
.product__buy {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(239, 236, 230, 0.35);
  border-radius: 4px;
  background: none;
  color: var(--bright);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.product__buy:hover { border-color: var(--bright); }
.product__buy.is-flipped { background: var(--bright); border-color: var(--bright); color: var(--ink); }

.store__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.store__foot a:hover { color: var(--bright); }

@media (max-width: 640px) {
  .store__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product { padding: 8px 8px 12px; gap: 10px; }
  .product__name { font-size: 19px; }
  .product__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .product__price { font-size: 16px; }
  .product__buy { min-height: 44px; padding: 10px; }
}
