/* Shop pages. The film palette, Barlow, and Noto come from design.css. */
html, body { background: #11100e; }
.shop-page {
  background: #11100e;
  color: #eae7dc;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.shop-page.theme-film::before { display: none; }
.shop-page { --page-photo: url(/assets/outerwear-wall-original.jpg); }
.shop-page[data-shop-page="list"] { --page-photo: url(/assets/racks.jpg); }
.shop-page[data-shop-page="favorites"] { --page-photo: url(/assets/denim-display-original.jpg); }
.shop-page[data-shop-page="item"] { --page-photo: url(/assets/store.jpg); }
.shop-page[data-shop-page="cart"] { --page-photo: url(/assets/used.jpg); }
.shop-page[data-shop-page="checkout"],
.shop-page[data-shop-page="success"],
.shop-page[data-shop-page="cancel"] { --page-photo: url(/assets/hangers-original.jpg); }
.shop-page[data-shop-page="policy"] { --page-photo: url(/assets/storefront.jpg); }
.shop-page[data-shop-page="faq"] { --page-photo: url(/assets/street.jpg); }
.shop-page[data-shop-page="privacy"] { --page-photo: url(/assets/arcade-original.jpg); }
.shop-page[data-shop-page="legal"] { --page-photo: url(/assets/outerwear-original.jpg); }
.shop-page[data-shop-page="admin"] { --page-photo: url(/assets/outerwear-wall-original.jpg); }
.shop-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(#11100eec, #11100ef7),
    var(--page-photo) center 42% / cover no-repeat;
}
.shop-page[data-shop-page="cart"]::after,
.shop-page[data-shop-page="checkout"]::after,
.shop-page[data-shop-page="item"]::after,
.shop-page[data-shop-page="favorites"]::after,
.shop-page[data-shop-page="success"]::after,
.shop-page[data-shop-page="cancel"]::after {
  background:
    linear-gradient(#11100ef2, #11100ef5),
    var(--page-photo) center / cover no-repeat;
}
.shop-page[data-shop-page="policy"]::after,
.shop-page[data-shop-page="faq"]::after,
.shop-page[data-shop-page="privacy"]::after,
.shop-page[data-shop-page="legal"]::after {
  background:
    linear-gradient(#11100eec, #11100ef7),
    var(--page-photo) center / cover no-repeat;
}
.shop-page .nav,
.shop-page .shop-main,
.shop-page .footer { position: relative; z-index: 1; }
.shop-page .nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  min-height: 52px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  background: transparent;
  border-bottom: none;
}
.shop-page .brand { width: 64px; height: 44px; flex: 0 0 auto; }
.shop-page .brand::before { content: none; }
.shop-page .brand img { object-fit: contain; mix-blend-mode: normal; opacity: 1; }
.desk-clip, .sheet-clip { display: contents; }
.desk {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-width: 0;
  border: 0;
  padding: 0;
  overflow-x: auto;
}
.desk button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  background: #f4f1e8;
  color: #11100e;
  border: 0;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1;
}
.desk button[aria-expanded="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px #11100e; }
.desk .pill-icon { display: inline-flex; width: 14px; height: 14px; }
.desk .pill-icon svg { width: 14px; height: 14px; display: block; }
.find {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 32px;
  background: #f4f1e8;
  color: #11100e;
  border-radius: 999px;
  padding: 4px 8px 4px 10px;
}
.find input {
  width: 128px;
  border: 0;
  background: transparent;
  color: #11100e;
  font: inherit;
  font-size: 16px;
  padding: 0;
  outline: none;
}
.find input::placeholder { color: #6d685f; }
.shop-page .find button {
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #11100e;
  font-size: 16px;
  line-height: 1;
}
.desk button.tools-close { display: none; }
.filter-row { display: flex; align-items: center; gap: 10px; }
.filter-row > span { flex: 0 0 auto; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: #eae7dc; }
.size-picks { display: flex; gap: 8px; }
.shop-page .size-picks button {
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #eae7dc66;
  background: transparent;
  color: #eae7dc;
  font-family: var(--sans);
  font-size: 12px;
}
.shop-page .size-picks button[aria-pressed="true"] { background: #f4f1e8; color: #11100e; border-color: #f4f1e8; }
.shop-page .sold-toggle {
  height: 34px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #eae7dc66;
  background: transparent;
  color: #eae7dc;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .08em;
}
.shop-page .sold-toggle[aria-pressed="true"] { background: #f4f1e8; color: #11100e; border-color: #f4f1e8; }
.sheet { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 12px 0 4px; }
.sheet[hidden] { display: none; }
.sheet.filter-sheet {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.sheet.filter-sheet[hidden] { display: none; }
.filter-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 22px;
  width: auto;
  max-width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.price-row { flex-wrap: nowrap; }
.price-row .range { width: 160px; flex: 0 0 auto; margin: 0 16px 0 8px; }
.price-row .range-readout { min-width: 0; margin: 0; white-space: nowrap; color: #a09d94; }
.sheet button { background: none; border: 0; color: #a09d94; font-family: var(--sans); font-size: 13px; padding: 8px 0; }
.sheet button[aria-pressed="true"] { color: #eae7dc; border-bottom: 1px solid #eae7dc; }
.banner { margin: 14px auto 6px; width: 85%; }
@media (max-width: 700px) {
  .banner { width: 100%; }
  .shop-page .banner { margin-top: 0; }
  .shop-page[data-shop-page="list"] .shop-main { padding-top: 8px; }
}
.banner-frame { overflow: hidden; }
.banner-track { display: flex; gap: 12px; will-change: transform; }
.banner-slide { flex: 0 0 84%; aspect-ratio: 4 / 1; border-radius: 12px; overflow: hidden; background: #1a1916; }
.banner-slide a { display: block; width: 100%; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-single .banner-slide { flex-basis: 100%; }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.banner-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #eae7dc90; padding: 0; background: #eae7dc45; }
.banner-dots button[aria-pressed="true"] { background: #eae7dc; }
.seller-quiet { font-size: 12px; line-height: 1.9; color: #a09d94; max-width: 42rem; }
.legal-long h2 { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.shop-embed .nav, .shop-embed .footer, .shop-embed .skip { display: none; }
.shop-embed .shop-main { width: min(1100px, calc(100% - 28px)); padding-top: 12px; }
.shop-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; position: relative; }
.lang { display: flex; gap: 8px; margin-right: 8px; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; }
.lang button { background: none; border: 0; padding: 8px 2px; color: #a09d94; }
.lang button[aria-pressed="true"] { color: #eae7dc; border-bottom: 1px solid #eae7dc; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; padding: 0; color: #eae7dc; position: relative;
}
.icon-btn svg { width: 22px; height: 22px; display: block; }
.icon-btn .count {
  position: absolute; top: 2px; right: 0; min-width: 14px; height: 14px; padding: 0 3px;
  border-radius: 7px; background: #eae7dc; color: #11100e;
  font-family: var(--sans); font-size: 9px; line-height: 14px; text-align: center;
}
.icon-btn[aria-current="page"] { opacity: .55; }
.account-pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  min-width: 196px; background: #171715; border: 1px solid #eae7dc40; padding: 6px 0;
}
.account-pop a, .account-pop button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 12px 16px; font-size: 13px;
}
.account-pop a:hover, .account-pop button:hover { background: #ffffff10; }
.shop-scroll { display: flex; flex-direction: column; flex: 1 0 auto; width: 100%; }
.shop-main { width: min(1320px, calc(100% - 12vw)); margin: 0 auto; padding: 22px 0 80px; flex: 1 0 auto; }
.cats, .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.cats { border-bottom: 1px solid #eae7dc30; padding-bottom: 10px; }
.cats button, .tools button, .sort select {
  font-family: var(--sans); font-size: 10px; letter-spacing: .12em;
  background: none; border: 0; color: #a09d94; padding: 8px 0;
}
.cats button[aria-pressed="true"], .tools button[aria-pressed="true"], .tools button[aria-expanded="true"] {
  color: #eae7dc; border-bottom: 1px solid #eae7dc;
}
.search { margin-top: 14px; }
.search input, .field input, .field select, .field textarea, .sort select, .panel select {
  width: 100%; background: transparent; color: #eae7dc; border: 0;
  border-bottom: 1px solid #eae7dc55; border-radius: 0; font: inherit; font-size: 16px; padding: 8px 0;
  color-scheme: dark;
}
.tools { margin-top: 8px; }
.sort { display: flex; align-items: center; }
.sort select { width: auto; border: 0; padding: 8px 0; font-size: 10px; letter-spacing: .12em; }
.panel { margin-top: 8px; padding: 8px 0 4px; border-top: 1px solid #eae7dc30; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; }
.panel[hidden] { display: none; }
.panel label, .check { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; }
.panel select { width: auto; min-width: 140px; font-size: 14px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.shop-page button { background: transparent; color: inherit; }
.shop-page .desk button {
  background: #f4f1e8;
  color: #11100e;
}
.shop-page .desk button[aria-expanded="true"] { background: #fff; color: #11100e; }
.shop-page a:focus-visible, .shop-page button:focus-visible { outline: 2px solid #eae7dc; outline-offset: 3px; }
.shop-page .primary { background: #eae7dc; color: #11100e; }
.more { display: flex; justify-content: center; margin: 28px 0 4px; overflow-anchor: none; }
.shop-scroll, .grid { overflow-anchor: none; }
.more[hidden] { display: none; }
.shop-page .more button {
  min-height: 48px;
  min-width: min(240px, 72vw);
  padding: 12px 32px;
  border: 1px solid #eae7dc66;
  border-radius: 999px;
  background: transparent;
  color: #eae7dc;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .08em;
}
.presets button { border-bottom: 1px solid transparent; font-family: var(--sans); font-size: 10px; letter-spacing: .08em; padding: 8px 0; color: #a09d94; }
.presets button[aria-pressed="true"] { color: #eae7dc; border-bottom-color: #eae7dc; }
.shop-page .footer > a { white-space: nowrap; }
.range { position: relative; height: 44px; width: min(420px, 100%); touch-action: none; margin: 0 8px; }
.range-track, .range-fill { position: absolute; top: 21px; height: 2px; }
.range-track { left: 0; right: 0; background: #eae7dc40; }
.range-fill { background: #eae7dc; }
.range-handle {
  position: absolute; top: 0; width: 44px; height: 44px; transform: translateX(-50%);
  background: none; border: 0; padding: 0; z-index: 2;
}
.range-handle::before {
  content: ""; position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: #11100e; border: 1.5px solid #eae7dc; box-shadow: 0 0 0 4px #11100ee6;
}
.range-handle:focus-visible { z-index: 3; }
.range-readout { font-family: var(--sans); font-size: 11px; letter-spacing: .06em; color: #eae7dc; min-width: 100%; }
.result-line { margin: 14px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 14px; margin-top: 18px; }
.card {
  position: relative;
  display: block;
  background: #141311;
  border: 1px solid #eae7dc24;
  border-radius: 8px;
  overflow: hidden;
}
.card-hit { display: flex; flex-direction: column; min-height: 100%; color: inherit; }
.card-hit::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-photo { position: relative; z-index: 2; pointer-events: none; width: 100%; aspect-ratio: 1 / 1; background: #1a1916; overflow: hidden; border-radius: 8px 8px 0 0; }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
.card-kicker {
  font-family: var(--sans); font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: #c9c4b8; line-height: 1.4;
}
.card-meta { font-family: var(--sans); font-size: 10px; color: #a09d94; letter-spacing: .02em; line-height: 1.4; }
.card-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.card-price b {
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.35vw, 26px);
  letter-spacing: -.02em; line-height: 1; color: #f4f1e8;
}
.card-price small { font-family: var(--sans); font-size: 9px; letter-spacing: .04em; color: #a09d94; }
.card-more { margin-top: 6px; font-family: var(--sans); font-size: 10px; letter-spacing: .04em; color: #ddd8cc; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-pill {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; pointer-events: none;
  background: #11100ecc; color: #fff; border-radius: 999px; padding: 4px 8px;
  font-family: var(--sans); font-size: 12px; line-height: 1.2; letter-spacing: .02em;
}
.badge-new {
  position: absolute; top: 12px; left: 0; z-index: 2; pointer-events: none;
  background: #c4362a; color: #fff; font-family: var(--sans); font-size: 9px; letter-spacing: .14em;
  padding: 4px 12px 4px 8px; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.sold {
  position: absolute; left: 0; right: 0; top: 46%; z-index: 2; pointer-events: none; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.2vw, 20px); letter-spacing: .08em; color: #fff;
  text-shadow: 0 2px 16px #000;
}
.card.is-sold .card-photo img { filter: brightness(.55); }
.card-name {
  display: block; margin-top: 2px; font-family: var(--display); font-weight: 700;
  font-size: clamp(16px, 1.15vw, 22px); letter-spacing: -.02em; line-height: 1.15; color: #f4f1e8;
}
.shop-page .heart {
  position: absolute; right: 8px; top: 8px; z-index: 3; pointer-events: auto; width: 32px; height: 32px;
  display: grid; place-items: center; background: #11100ecc; border: 1px solid #fff; border-radius: 50%;
  color: #fff; padding: 0; cursor: pointer;
}
.heart svg { width: 20px; height: 20px; }
.heart.is-on, .heart.is-on svg { color: #e53935; }
.heart.is-on svg path { fill: #e53935; stroke: #e53935; }
.heart svg { transform-origin: center; display: block; }
@media (hover: hover) {
  .shop-page .card-photo img {
    transition: transform 280ms cubic-bezier(.34, 1.56, .64, 1), filter 280ms cubic-bezier(.34, 1.56, .64, 1);
  }
  .shop-page .card:hover .card-photo img {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45));
  }
  .shop-page .card.is-sold:hover .card-photo img {
    filter: brightness(.55) drop-shadow(0 12px 16px rgba(0, 0, 0, .45));
  }
}
.heart.is-pop svg { animation: heart-pop 280ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes heart-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.32); }
  100% { transform: scale(1); }
}
.page-title {
  font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.03em; line-height: .95; margin: 4px 0 22px;
}
.quiet { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; border-bottom: 1px solid currentColor; padding: 8px 0; display: inline-flex; }
.empty { margin-top: 28px; color: #a09d94; }
.detail { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 36px; align-items: start; justify-content: start; }
.detail > div:first-child { width: 100%; max-width: 520px; }
.detail-photo { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; background: #1a1916; overflow: hidden; }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.2vw, 48px); letter-spacing: -.03em; line-height: 1.15; margin: 12px 0; }
.detail .yen { font-family: var(--display); font-size: 32px; letter-spacing: .02em; }
.meta { margin: 22px 0; }
.meta div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #eae7dc30; }
.meta dt { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; }
.meta dd { margin: 0; }
.buy { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; }
.buy-actions { flex: 1; display: grid; gap: 10px; }
.buy-actions .primary { width: 100%; box-sizing: border-box; text-align: center; }
.buy-actions a.primary { display: block; text-decoration: none; }
.buy-actions .primary.ghost { background: transparent; color: #eae7dc; border: 1px solid #eae7dc70; }
.buy .primary, .primary {
  background: #eae7dc; color: #11100e; border: 0; padding: 14px 22px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .12em; cursor: pointer;
}
.primary:disabled { opacity: .45; cursor: default; }
.admin-login { display: inline-block; margin-top: 18px; text-decoration: none; }
.live-title { font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; margin: 8px 0 4px; }
.live-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #eae7dc24; }
.live-row img { width: 64px; height: 80px; object-fit: cover; background: #1a1916; }
.live-row strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; }
.live-row span { font-family: var(--sans); font-size: 11px; color: #a09d94; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; height: 80px; padding: 0; border: 1px solid transparent; background: #1a1916; }
.thumbs button[aria-pressed="true"] { border-color: #eae7dc; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid #eae7dc30; }
.swipe-wrap { position: relative; overflow: hidden; }
.swipe-del { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 22px; background: #b3261e; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.swipe-wrap > .cart-row { position: relative; background: #11100e; touch-action: pan-y; }
.cart-row img { width: 92px; height: 122px; object-fit: cover; background: #1a1916; }
.cart-row h2 { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.totals { margin-top: 18px; max-width: 420px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #eae7dc30; font-size: 13px; }
.totals dt { font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; }
.note-line { color: #a09d94; font-size: 12px; line-height: 1.8; margin-top: 8px; }
.preopen-note { margin: 0 0 16px; padding: 8px 12px; border: 1px solid #eae7dc30; border-radius: 8px; color: #c9c5ba; font-size: 12px; line-height: 1.7; text-align: center; }
.preopen-note[hidden] { display: none; }
.checkout { max-width: 640px; }
.badge-proto {
  display: inline-block; margin: 0 0 18px; padding: 8px 12px; border: 1px solid #eae7dc;
  font-family: var(--display); font-weight: 600; letter-spacing: .06em; font-size: 18px;
}
.offers { border: 0; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.offers legend { font-family: var(--sans); font-size: 12px; color: #a09d94; margin-bottom: 6px; }
.field { margin: 0 0 16px; }
.field span, .field legend { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; margin-bottom: 4px; }
.form-error { color: #e7b2a8; min-height: 1.2em; font-size: 13px; }
.jpyc-panel { margin-top: 18px; padding: 20px 18px 8px; border: 1px solid #eae7dc22; border-radius: 14px; background: rgba(14, 13, 10, .8); }
.jpyc-head { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; margin: 0 0 6px; }
.jpyc-panel input[type="text"] {
  width: 100%; box-sizing: border-box; padding: 12px; background: #1a1916; color: #eae7dc;
  border: 1px solid #eae7dc30; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
}
.jpyc-addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; margin: 4px 0 0; }
.jpyc-qr { width: 184px; margin: 14px 0 4px; }
.jpyc-qr svg { display: block; width: 100%; height: auto; background: #fff; }
.pay-methods { margin-top: 28px; background: rgba(14, 13, 10, .8); border: 1px solid #eae7dc22; border-radius: 14px; padding: 16px 18px 4px; }
.pay-select-title { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: #bdb8ab; font-weight: 500; margin: 0 0 6px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; box-sizing: border-box; background: transparent; border: 0; border-top: 1px solid #eae7dc30; padding: 16px 2px; color: #eae7dc; font: inherit; text-align: left; cursor: pointer; }
.pay-row:last-child { border-bottom: 1px solid #eae7dc30; }
.pay-row .pay-name { display: block; font-weight: 600; font-size: 16px; line-height: 1.45; }
.pay-row .pay-sub { display: block; font-size: 12px; color: #bdb8ab; margin-top: 2px; line-height: 1.5; }
.pay-row .pay-arrow { font-size: 20px; color: #a09d94; flex: 0 0 auto; }
.pay-row.disabled { opacity: .45; cursor: default; }
.pay-soon { flex: 0 0 auto; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; border: 1px solid #eae7dc55; border-radius: 999px; padding: 3px 10px; color: #eae7dc; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.legal-links a { font-family: var(--sans); font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid #eae7dc55; }
.legal { width: 100%; border-collapse: collapse; margin-top: 12px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 16px 12px 16px 0; border-top: 1px solid #eae7dc30; }
.legal th { width: 34%; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; font-weight: 500; }
.legal caption, .policy-banner { text-align: left; color: #eae7dc; margin: 0 0 18px; font-size: 13px; }
.policy h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -.02em; margin: 28px 0 8px;
}
.policy p { margin: 0 0 16px; max-width: 42rem; line-height: 1.9; color: #d9d4c8; }
.shop-legal-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 8px; }
.shop-legal-links a { font-family: var(--sans); font-size: 9px; letter-spacing: .08em; border-bottom: 1px solid #eae7dc55; }
/* Shop footer: compact height. Logo is always the transparent asset itself
   (design.css hides the img and paints a masked silhouette instead — undo that here). */
.shop-page .footer { padding-top: 18px; padding-bottom: 20px; gap: 14px 28px; }
.shop-page .footer-logo { flex: 0 0 56px; width: 56px; height: 56px; }
.shop-page .footer-logo::before { content: none; }
.shop-page .footer-logo img { width: 100%; height: 100%; opacity: 1; mix-blend-mode: normal; }
.shop-page .shop-legal-links { padding-top: 2px; }
@media (max-width: 700px) {
  .shop-page .footer { padding-top: 16px; padding-bottom: 18px; gap: 12px 20px; flex-wrap: nowrap; }
  .shop-page .shop-legal-links { flex: 1 1 auto; flex-basis: auto; min-width: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 8px 18px; }
  .shop-page .shop-legal-links a:nth-child(3) { grid-area: 2 / 2; }
  .shop-page .shop-legal-links a:nth-child(4) { grid-area: 2 / 1; }
  .shop-page .footer > div { flex-basis: auto; flex: 0 0 auto; }
}
.drop {
  border: 1px dashed #eae7dc55; padding: 28px 18px; text-align: center; color: #d9d4c8; line-height: 1.7;
}
.drop.over { border-color: #eae7dc; background: #ffffff10; }
.progress { height: 2px; background: #eae7dc30; margin: 14px 0; }
.progress span { display: block; height: 100%; background: #eae7dc; width: 0; }
.granularity { display: flex; gap: 18px; margin: 8px 0 18px; }
.granularity button { background: none; border: 0; border-bottom: 1px solid transparent; color: #a09d94; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; padding: 8px 0; }
.granularity button[aria-pressed="true"] { color: #eae7dc; border-bottom-color: #eae7dc; }
.groups { display: flex; flex-direction: column; gap: 22px; }
.group { border-top: 1px solid #eae7dc30; padding-top: 16px; }
.group h2 { font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; }
.filmstrip { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 14px; }
.filmstrip button.shot {
  flex: 0 0 92px; height: 122px; padding: 0; border: 1px solid transparent; background: #1a1916; position: relative;
}
.filmstrip button.shot[aria-pressed="true"] { border-color: #eae7dc; }
.filmstrip img { width: 100%; height: 100%; object-fit: cover; }
.group-actions, .pub-fields { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.group-actions button, .text-btn { background: none; border: 0; border-bottom: 1px solid #eae7dc55; color: #eae7dc; padding: 6px 0; font-family: var(--sans); font-size: 10px; letter-spacing: .1em; }
.pub-fields label { display: flex; flex-direction: column; gap: 4px; font-family: var(--sans); font-size: 10px; letter-spacing: .12em; color: #a09d94; }
.pub-fields input, .pub-fields select { background: transparent; color: #eae7dc; border: 0; border-bottom: 1px solid #eae7dc55; font: inherit; font-size: 16px; padding: 6px 0; min-width: 140px; color-scheme: dark; }
.status { min-height: 1.4em; margin-top: 10px; color: #d9d4c8; }
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; gap: 18px; }
  .detail > div:first-child, .detail-photo { max-width: none; }
  .detail-photo { width: 100%; aspect-ratio: auto; height: min(100vw, 46vh); max-height: 46vh; }
  .shop-main { width: min(1320px, calc(100% - 12vw)); }
}
@media (max-width: 900px) {
  .legal, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: 100%; }
  .legal th { padding: 14px 0 2px; }
  .legal td { padding: 0 0 14px; }
}
@media (max-width: 700px) {
  html:has(body.shop-page:not([data-shop-page="admin"])),
  body.shop-page:not([data-shop-page="admin"]) {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    background: #11100e;
  }
  /* iOS Safari auto-zooms on focus when an input is under 16px; keep shop inputs at 16px on phones. */
  .shop-page:not([data-shop-page="admin"]) input[type="search"],
  .shop-page:not([data-shop-page="admin"]) input[type="text"],
  .shop-page:not([data-shop-page="admin"]) input[type="number"],
  .shop-page:not([data-shop-page="admin"]) input[type="email"],
  .shop-page:not([data-shop-page="admin"]) input[type="tel"],
  .shop-page:not([data-shop-page="admin"]) input[type="url"],
  .shop-page:not([data-shop-page="admin"]) input:not([type]),
  .shop-page:not([data-shop-page="admin"]) textarea {
    font-size: 16px;
  }
  .shop-page:not([data-shop-page="admin"]) .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
  }
  .shop-page:not([data-shop-page="admin"]) .nav::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: -50vh;
    height: calc(var(--shop-bar, 88px) + 50vh);
    background: transparent;
    z-index: -1;
  }
  .shop-page:not([data-shop-page="admin"]) .shop-scroll {
    position: fixed;
    top: var(--shop-bar, 88px);
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }
  .shop-page:not([data-shop-page="admin"]) .footer {
    background: #11100e;
  }
  .shop-page:not([data-shop-page="admin"]) .footer::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: -70vh;
    height: 70vh;
    background: #11100e;
    pointer-events: none;
  }
  .shop-page[data-shop-page="list"] .desk {
    display: grid;
    grid-template-rows: 1fr;
    overflow: hidden;
    transition: grid-template-rows .28s ease, opacity .28s ease;
  }
  .shop-page[data-shop-page="list"] .desk-clip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 0;
    overflow: hidden;
  }
  .shop-page[data-shop-page="list"] .sheet:not([hidden]) {
    display: grid;
    grid-template-rows: 1fr;
    position: sticky;
    top: 0;
    z-index: 15;
    max-height: calc(100dvh - var(--shop-bar, 80px));
    overflow: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin-top: 0;
    margin-left: -6vw;
    margin-right: -6vw;
    padding-left: calc(6vw + 12px);
    padding-right: calc(6vw + 12px);
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: #11100ef2;
    transition: grid-template-rows .28s ease, opacity .28s ease, padding .28s ease;
  }
  .shop-page[data-shop-page="list"] .sheet-clip {
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }
  .shop-page[data-shop-page="list"] .sheet-clip > button { margin: 0 18px 6px 0; }
  .sheet.filter-sheet .sheet-clip { overflow-x: hidden; }
  .filter-box {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
  }
  .filter-row { flex-wrap: wrap; min-width: 0; }
  .price-row { flex-wrap: wrap; }
  .price-row .range { flex: 1 1 150px; width: auto; min-width: 0; margin: 0 10px; }
  .price-row .range-readout { flex: 0 0 auto; }
  .size-picks { flex-wrap: wrap; }
  .shop-page.is-tools-collapsed[data-shop-page="list"] .desk,
  .shop-page.is-tools-collapsed[data-shop-page="list"] .sheet:not([hidden]) {
    grid-template-rows: 0fr;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
  }
  .desk { order: 3; flex-basis: 100%; flex-wrap: wrap; }
  .desk button.tools-close {
    display: inline-flex;
    background: transparent;
    border: 1px solid #eae7dc55;
    color: #eae7dc;
  }
  .find { max-width: 100%; }
  .find input { flex: 1 1 auto; width: 9em; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .cart-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; }
  .cart-row img { width: 72px; height: 96px; }
  .cart-row h2 { font-size: 22px; }
  .page-title { font-size: clamp(34px, 10vw, 48px); }
  .card-name { font-size: 16px; }
  .card-body { padding: 8px 8px 10px; }
  .card-kicker, .card-meta, .card-more { font-size: 9px; }
  .card-price b { font-size: 18px; }
}
@media (max-width: 380px) {
  .shop-page .icon-btn { width: 34px; }
  .shop-page .brand { width: 58px; height: 40px; }
  .lang { margin-right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .card-photo img { transition: none; }
  .shop-page .card:hover .card-photo img,
  .shop-page .card.is-sold:hover .card-photo img { transform: none; filter: none; }
  .shop-page .card.is-sold .card-photo img,
  .shop-page .card.is-sold:hover .card-photo img { filter: brightness(.55); }
  .heart.is-pop svg { animation: none; }
  .shop-page[data-shop-page="list"] .desk,
  .shop-page[data-shop-page="list"] .sheet { transition: none; }
}
html:has(body[data-shop-page="admin"]),
body[data-shop-page="admin"] {
  height: auto;
  overflow: auto;
  overscroll-behavior: auto;
}
.shop-page[data-shop-page="admin"] { background: #fff; color: #111; }
.shop-page[data-shop-page="admin"]::after { display: none; }
.shop-page[data-shop-page="admin"] .shop-main { width: min(960px, calc(100% - 24px)); padding-top: 12px; }
.shot { touch-action: pan-y; }
.studio { font-family: var(--sans); font-size: 17px; line-height: 1.45; color: #111; }
.studio h1 { font-family: var(--sans); font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.studio .lead, .studio .hint { color: #333; margin: 0 0 12px; }
.studio .missing { font-weight: 700; margin: 0 0 12px; }
.dropbox, .shop-page .studio button, .studio input, .studio select {
  font: inherit; font-size: 17px;
}
.dropbox {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  border: 2px dashed #111; border-radius: 14px; padding: 16px; margin: 0 0 16px; background: #fafafa;
}
.shop-page .studio button {
  min-height: 48px; padding: 10px 14px; border: 1px solid #111; border-radius: 12px; background: #fff; color: #111;
}
.shop-page .studio button.primary { background: #111; color: #fff; width: 100%; margin-top: 12px; }
@media (max-width: 700px) {
  .shop-page[data-shop-page="admin"] .studio button.primary#save-all {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    z-index: 30;
    margin: 0;
  }
  .shop-page[data-shop-page="admin"] .studio { padding-bottom: 84px; }
}
.shop-page .studio button.primary.slim { width: auto; margin: 0; }
.shop-page .studio button.danger { background: #fff; color: #8d1d1d; border-color: #8d1d1d; width: 100%; }
.shop-page[data-shop-page="admin"] .confirm-modal { position: fixed; inset: 0; z-index: 80; background: rgba(17,16,14,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.shop-page[data-shop-page="admin"] .confirm-box { background: #fff; color: #111; border-radius: 14px; padding: 20px; width: 100%; max-width: 340px; font-family: var(--sans); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.shop-page[data-shop-page="admin"] .confirm-text { margin: 0 0 16px; font-size: 17px; line-height: 1.45; }
.shop-page[data-shop-page="admin"] .confirm-actions { display: flex; gap: 24px; }
.shop-page[data-shop-page="admin"] .confirm-actions button { flex: 1; min-height: 48px; min-width: 44px; padding: 10px 14px; border: 1px solid #111; border-radius: 12px; background: #fff; color: #111; font: inherit; font-size: 17px; cursor: pointer; }
.shop-page[data-shop-page="admin"] .confirm-actions button.danger { color: #8d1d1d; border-color: #8d1d1d; }
@media (max-width: 400px) {
  .shop-page[data-shop-page="admin"] .confirm-box { max-width: none; }
  .shop-page[data-shop-page="admin"] .confirm-actions { flex-direction: column; gap: 20px; }
  .shop-page[data-shop-page="admin"] .confirm-actions button { width: 100%; }
}
.shop-page .studio button.back { border: 0; padding-left: 0; min-height: 40px; }
.studio-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.group-card, .manage-card {
  border: 1px solid #ddd; border-radius: 16px; padding: 12px; margin: 0 0 14px; background: #fff;
}
.group-card.needs-price { border-color: #111; box-shadow: inset 4px 0 0 #111; }
.group-card header, .manage-card { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.group-card h2, .manage-card strong { font-size: 18px; margin: 0; }
.shots { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.shot { position: relative; flex: 0 0 112px; }
.shot img, .manage-card > img, .banner-table img, .banner-preview { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; background: #eee; display: block; }
.shot b { position: absolute; left: 6px; top: 6px; background: #111; color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 8px; }
.shot-tools { display: flex; gap: 4px; margin-top: 4px; }
.shop-page .studio .shot-tools button { min-height: 40px; padding: 6px; font-size: 14px; flex: 1; }
.shot.is-selected img { outline: 3px solid #111; }
.shot.is-dragging { opacity: .45; }
.is-drop { outline: 3px solid #111; }
.shot[data-edit-shot] { cursor: grab; }
.shot[data-edit-shot].is-drop img { outline: 3px solid #111; }
.pos-editor { border: 1px solid #ddd; border-radius: 16px; padding: 12px; margin: 0 0 16px; background: #fafafa; }
.pos-title { font-weight: 700; margin: 0 0 8px; }
.pos-stage { position: relative; width: min(78vw, 340px); aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: #1a1916; touch-action: none; margin: 0 0 10px; cursor: grab; }
.pos-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pos-slider { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 6px 0; max-width: 340px; }
.pos-slider input[type="range"] { flex: 1; min-height: 32px; }
.pos-slider span { min-width: 44px; text-align: right; font-weight: 500; }
.pos-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pos-actions button { flex: 1; }
.shop-page .studio .pos-actions button.primary { width: auto; margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; font-weight: 700; }
.field input, .studio .tools input, .studio .tools select {
  font: inherit; font-weight: 500; font-size: 18px; border: 1px solid #111; border-radius: 12px; padding: 12px; background: #fff; color: #111; width: 100%;
}
.yen-field { display: flex; align-items: center; gap: 8px; border: 1px solid #111; border-radius: 12px; padding: 0 12px; background: #fff; }
.yen-field input { border: 0; padding: 12px 0; }
.field.is-auto em, .field em { font-style: normal; font-weight: 700; font-size: 12px; background: #111; color: #fff; border-radius: 8px; padding: 2px 6px; margin-left: 6px; }
.measures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.measures label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.measures input { min-height: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-page .studio .chips button { min-width: 64px; }
.shop-page .studio .chips button[aria-pressed="true"] { background: #111; color: #fff; }
.new-drop { border: 2px dashed #111; border-radius: 14px; padding: 16px; text-align: center; margin-bottom: 12px; }
.movebar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: sticky; bottom: 0; background: #fff; padding: 8px 0; }
.manage-card { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.manage-card.is-draft { background: #fff8e8; border-color: #111; }
.draft-note { color: #111; font-weight: 700; }
.noprice-badge { display: inline-block; background: #8d1d1d; color: #fff; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.shop-page .studio button.switch[aria-pressed="true"] { background: #111; color: #fff; }
.shop-page .studio button.switch[disabled],
.shop-page .studio button.switch[aria-busy="true"] { opacity: 0.55; pointer-events: none; }
#studio-msg.is-error, .studio-msg.is-error { color: #b00020; font-weight: 700; }
.manage-card p { margin: 2px 0; font-weight: 500; }
.status { font-weight: 700; }
.shop-page .studio .status { color: #111; }
.shop-page .studio .s-live { color: #0b5c28; }
.shop-page .studio .s-hidden { color: #4a4a4a; }
.shop-page .studio .s-draft { color: #8a4b00; }
.shop-page .studio .s-sold { color: #8d1d1d; }
.toggles { display: flex; gap: 8px; }
.shop-page .studio .toggles button { flex: 1; }
.shop-page .studio .toggles button[aria-pressed="true"] { background: #111; color: #fff; }
.banner-table { width: 100%; border-collapse: collapse; }
.banner-table th, .banner-table td { text-align: left; border-bottom: 1px solid #ddd; padding: 10px 8px; vertical-align: top; }
.banner-table img { width: 120px; height: 64px; }
.tools { display: flex; gap: 8px; margin-bottom: 12px; }
@media (max-width: 700px) {
  .manage-card { grid-template-columns: 88px minmax(0, 1fr); }
  .manage-card .edit { grid-column: 1 / -1; }
  .banner-table thead { display: none; }
  .banner-table tr { display: block; border: 1px solid #ddd; border-radius: 16px; margin: 0 0 12px; padding: 8px; }
  .banner-table td { display: block; border: 0; }
  .banner-table td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; }
}

.ship-note{margin:0 0 16px}
.ship-note p{margin:2px 0}
.ship-note .ship-note-title{font-weight:700;margin-bottom:4px}
.guest-buy{margin-top:18px}
.guest-buy .guest-buy-btn{display:inline-block;text-decoration:none;text-align:center}

.policy{font-size:13px}
.policy .page-title{font-size:24px;letter-spacing:0;line-height:1.35}
.policy h2{font-family:var(--sans);font-weight:600;font-size:15px;letter-spacing:.04em}

.shop-page .footer, .shop-page.theme-film .footer { background: none; }

/* Embedded checkout overlay: the Stripe form mounts in-page. */
#pay-overlay{position:fixed;inset:0;z-index:120;background:rgba(10,9,8,.72);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:18px 10px}
#pay-overlay[hidden]{display:none}
.pay-sheet{position:relative;background:#fff;border-radius:14px;width:100%;max-width:460px;padding:26px 18px 18px;margin:auto 0}
#pay-close{position:absolute;top:4px;right:8px;background:none;border:0;font-size:26px;line-height:1;color:#333;cursor:pointer;padding:8px;z-index:2}
#embedded-checkout{min-height:320px}
/* Loading skeleton for the product grid (shown only until the first list arrives) */
.card.is-skeleton { pointer-events: none; }
.card.is-skeleton .card-photo { aspect-ratio: 1 / 1; background: #1c1b18; border-radius: 4px; animation: sk-pulse 1.2s ease-in-out infinite; }
.card.is-skeleton .sk-line { display: block; height: 12px; margin-top: 10px; border-radius: 3px; background: #1c1b18; animation: sk-pulse 1.2s ease-in-out infinite; }
.card.is-skeleton .sk-line.short { width: 55%; }
@keyframes sk-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .card.is-skeleton .card-photo, .card.is-skeleton .sk-line { animation: none; } }

/* ---- 商品管理: stage tabs, inline price, toast, readiness (phone friendly) ---- */
.shop-page .studio .stage-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shop-page .studio .stage-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 2px solid #111; border-radius: 999px; background: #fff; color: #111; font-weight: 700; white-space: nowrap; cursor: pointer; }
.shop-page .studio .stage-tab.is-active { background: #111; color: #fff; }
.shop-page .studio .stage-tab .count { display: inline-block; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: #e8e8e8; color: #111; font-size: 14px; text-align: center; }
.shop-page .studio .stage-tab.is-active .count { background: #fff; color: #111; }
.shop-page .studio .stage-tab .count.is-alert { background: #b00020; color: #fff; }
.shop-page .studio .manage-card.s-price { border-color: #b00020; border-width: 2px; }
.shop-page .studio .manage-card.s-filling { background: #fff8e8; }
.shop-page .studio .manage-card.s-live { border-left: 6px solid #0b5c28; }
.shop-page .studio .manage-card.s-hidden { border-left: 6px solid #777; }
.shop-page .studio .manage-card.s-sold { border-left: 6px solid #8d1d1d; opacity: .9; }
.shop-page .studio .draft-note { color: #8a4b00; font-weight: 700; }
.shop-page .studio .hint-line { color: #444; margin: 6px 0 0; }
.shop-page .studio .price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.shop-page .studio .price-row .yen-field { display: inline-flex; align-items: center; gap: 4px; border: 2px solid #111; border-radius: 10px; padding: 0 10px; background: #fff; min-height: 48px; }
.shop-page .studio .price-row .inline-price { width: 8ch; min-width: 7ch; border: 0; outline: 0; font-size: 20px; font-weight: 700; background: transparent; padding: 6px 0; }
.shop-page .studio .price-row button { min-height: 48px; }
.shop-page .studio button.switch.go { background: #111; color: #fff; font-weight: 700; }
.shop-page .studio button.switch.go[disabled] { background: #bbb; color: #fff; opacity: 1; }
.shop-page .studio button.ghost { background: #fff; color: #111; border: 2px solid #111; }
.shop-page .studio button.ghost[disabled] { opacity: .4; }
.shop-page .studio button.switch { min-height: 46px; }
.shop-page .studio button.switch.is-on { background: #0b5c28; color: #fff; border-color: #0b5c28; }
.shop-page .studio button.switch[aria-pressed="false"]:not(.go) { background: #fff; color: #111; border: 2px solid #111; }
.shop-page .studio .tools input[type="search"] { width: 100%; min-height: 46px; }
.shop-page .studio .ready { padding: 10px 12px; border-radius: 10px; font-weight: 700; margin: 0 0 12px; }
.shop-page .studio .ready.is-missing { background: #fff1d6; color: #7a3d00; border: 2px solid #c77700; }
.shop-page .studio .ready.is-ready { background: #e3f4e8; color: #0b5c28; border: 2px solid #0b5c28; }
.shop-page .studio .req { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; background: #b00020; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; vertical-align: middle; }
.shop-page .studio input.is-missing { border-color: #b00020; background: #fff6f6; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9999; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; font: 700 16px/1.4 var(--sans, system-ui, sans-serif); color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.toast[hidden] { display: none; }
.toast.is-ok { background: #0b5c28; }
.toast.is-busy { background: #333; }
.toast.is-error { background: #b00020; }
@media (max-width: 640px) {
  .shop-page .studio .manage-card { grid-template-columns: 88px minmax(0, 1fr); }
  .shop-page .studio .price-row .inline-price { width: 7ch; }
  .shop-page .studio .price-row button { flex: 1 1 100%; }
  .shop-page .studio .stage-tab { min-height: 48px; }
}

/* Product numbers and sold registration */
.product-no { font-family: var(--mono, ui-monospace, monospace); font-weight: 700; letter-spacing: 0.04em; font-size: 15px; color: #111; margin: 0 0 4px; }
.product-no.big { font-size: 28px; line-height: 1.2; margin: 0 0 10px; }
.manage-card .product-no { font-size: 18px; }
.sold-page .lead { margin-bottom: 16px; }
.sold-find { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; align-items: center; }
.sold-find input { flex: 1 1 160px; min-height: 48px; font-size: 22px; font-family: var(--mono, ui-monospace, monospace); letter-spacing: 0.06em; padding: 8px 12px; border: 1px solid #ccc; border-radius: 8px; }
.sold-find .primary, .sold-find .ghost { min-height: 48px; padding: 0 16px; }
.sold-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; background: #f6f6f4; border-radius: 12px; padding: 12px; margin: 0 0 20px; }
.sold-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.sold-card.is-sold { opacity: 0.85; }
.ship-card { background: #f6f6f4; border-radius: 12px; padding: 12px; margin: 0 0 20px; }
.sold-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 0; }
.sold-actions .primary, .sold-actions .ghost { min-height: 44px; min-width: 44px; padding: 8px 16px; }
.sold-reminders { margin: 14px 0 0; }
.sold-reminders p { margin: 0 0 6px; color: #555; font-size: 14px; font-weight: 400; line-height: 1.5; }
.sold-reminders p:last-child { margin-bottom: 0; }
.sold-banner { margin: 10px 0 0; padding: 12px 14px; background: #111; color: #fff; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.sold-meta { margin: 0; }
.sold-price-field .yen-field { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; }
.sold-price-field .yen-field b { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.sold-price-field .yen-field input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border: 0;
  padding: 12px 0;
  background: transparent;
}
.sold-price-field .yen-field input::placeholder { color: #888; font-weight: 500; font-size: 16px; opacity: 1; }
.sold-price-error { color: #8d1d1d; font-size: 14px; margin: 6px 0 0; min-height: 1.2em; }
.sold-h { font-size: 18px; margin: 24px 0 8px; }
.sold-recent { list-style: none; padding: 0; margin: 0; }
.sold-recent li { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0; border-top: 1px solid #e4e4e0; font-size: 15px; }
.sold-recent-info { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.sold-recent-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sold-recent-actions .ghost, .sold-recent-actions .primary { min-height: 44px; min-width: 44px; padding: 8px 16px; }
.sold-cam { width: 100%; max-height: 280px; background: #111; border-radius: 12px; margin: 12px 0; }
@media (max-width: 640px) {
  .sold-card { grid-template-columns: 1fr; }
  .sold-card img { width: 100%; height: 200px; }
  .sold-find { flex-direction: column; align-items: stretch; }
  .sold-find input, .sold-find .primary, .sold-find .ghost { width: 100%; flex: 1 1 auto; font-size: 20px; }
  .sold-recent-actions { align-items: stretch; }
  .sold-recent-actions button { width: 100%; }
}
@media (max-width: 400px) {
  .sold-actions { flex-direction: column; align-items: stretch; }
  .sold-actions .primary, .sold-actions .ghost { width: 100%; }
}

/* ---- 部門（古着 / セレクト / オリジナル） ---------------------------- */
.shop-page[data-shop-page="depts"] { --page-photo: url(/assets/racks.jpg); }
.shop-page[data-shop-dept="select"] { --page-photo: url(/assets/store.jpg); }
.shop-page[data-shop-dept="original"] { --page-photo: url(/assets/street.jpg); }
.dept-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.dept-tile {
  position: relative; display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; max-height: 70vh;
  background: #1a1916; border: 1px solid #eae7dc24; color: #fff; text-decoration: none;
}
.dept-tile picture, .dept-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dept-tile img { transition: transform .5s ease; }
.dept-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #11100e10 30%, #11100ed9 100%); }
.dept-tile:hover img, .dept-tile:focus-visible img { transform: scale(1.03); }
.dept-tile.is-logo { background: #1a1916; }
.dept-tile.is-logo img.dept-logo {
  object-fit: contain; object-position: center; box-sizing: border-box; z-index: 1;
  width: 46%; height: 46%; max-width: 168px; max-height: 168px;
  inset: auto; top: 42%; left: 50%; padding: 0;
  transform: translate(-50%, -50%);
}
.dept-tile.is-logo:hover img.dept-logo, .dept-tile.is-logo:focus-visible img.dept-logo { transform: translate(-50%, -50%) scale(1.03); }
.dept-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 22px 22px 24px; }
.dept-copy small { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .22em; color: #eae7dcb3; }
.dept-copy strong { font-family: var(--body); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: .04em; }
.dept-lead { font-family: var(--sans); font-size: 13px; line-height: 1.6; color: #eae7dcd9; }
.dept-count { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; color: #a09d94; min-height: 1em; }
.dept-go { margin-top: 6px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; }
.dept-note { margin: 14px 0 6px; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: #eae7dc; }
.entrance-vintage { margin-top: 28px; }
.entrance-vintage .grid { margin-top: 8px; }
@media (max-width: 700px) {
  .dept-tiles { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .dept-tile { aspect-ratio: auto; height: clamp(176px, 28svh, 240px); }
  .dept-copy { padding: 16px 18px 18px; }
  .dept-copy strong { font-size: 30px; }
}

.dept-switch {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 14px 0 4px;
  border: 1px solid #eae7dc2e; border-radius: 999px; background: #141311cc; max-width: 560px;
}
.dept-switch a {
  display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 10px 8px; border-radius: 999px;
  color: #a09d94; text-decoration: none; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .04em;
}
.dept-switch a small { font-family: var(--display); font-size: 10px; letter-spacing: .18em; font-weight: 700; opacity: .8; }
.dept-switch a[aria-current="page"] { background: #eae7dc; color: #11100e; }
@media (max-width: 700px) {
  .dept-switch { max-width: none; margin-top: 6px; }
  .dept-switch a { gap: 4px; padding: 8px 2px; font-size: 13px; }
  .dept-switch a small { letter-spacing: .08em; font-size: 9px; }
}

.brand-strip { margin: 16px 0 4px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-tile {
  display: grid; gap: 2px; padding: 0 0 12px; text-align: left; cursor: pointer;
  background: #141311; border: 1px solid #eae7dc24; border-radius: 8px; color: #eae7dc; overflow: hidden;
}
.brand-tile[aria-pressed="true"] { border-color: #eae7dc; box-shadow: 0 0 0 1px #eae7dc inset; }
.brand-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #1a1916; overflow: hidden; margin-bottom: 8px; }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-tile.is-sold .brand-photo img { filter: grayscale(.6) brightness(.55); }
.brand-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: .06em; color: #eae7dc;
  background: repeating-linear-gradient(135deg, #1a1916 0 12px, #1e1d1a 12px 24px);
}
.brand-name, .brand-kana, .brand-note { padding: 0 12px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.brand-kana { font-family: var(--sans); font-size: 11px; color: #a09d94; min-height: 1.3em; }
.brand-note { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; color: #a09d94; }
.brand-tile.is-sold .brand-note { color: #d98f7f; }
.brand-tile.is-live .brand-note { color: #eae7dc; }
@media (max-width: 700px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-name { font-size: 14px; }
  .brand-photo { aspect-ratio: 1 / 1; }
}

.original-block { margin: 46px 0 10px; padding-top: 28px; border-top: 1px solid #eae7dc24; }
.original-title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: .04em; line-height: 1.1; color: #eae7dc; }
.original-title small { font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: 2.5px; color: #9c9c99; }
