:root {
  --ink: #11110f;
  --paper: #f4f0e8;
  --mist: #8f938f;
  --field: #6d7f52;
  --line: #b7d7e8;
  --flag: #e44c3c;
  --sun: #f0d16a;
  --card: rgba(244, 240, 232, 0.72);
  --border: rgba(17, 17, 15, 0.18);
  --shadow: 0 18px 60px rgba(17, 17, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #787d79;
  font-family:
    "Inter",
    "Helvetica Neue",
    "Yu Gothic",
    YuGothic,
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  letter-spacing: 0;
  min-height: 100svh;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

#offside-bg,
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#offside-bg {
  z-index: -2;
}

.grain {
  z-index: -1;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(17, 17, 15, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 42%, rgba(244, 240, 232, 0.18) 0 1px, transparent 2px);
  background-size: 37px 39px, 53px 47px;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 8px 12px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.88);
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
  backdrop-filter: blur(12px);
}

.footer-brand span {
  width: max-content;
  font-weight: 900;
  line-height: 1;
  color: #f8f5ee;
  text-shadow:
    -1px -1px 0 var(--ink),
    1px -1px 0 var(--ink),
    -1px 1px 0 var(--ink),
    1px 1px 0 var(--ink),
    0 2px 0 var(--ink);
}

.header-wordmark {
  justify-self: start;
  width: max-content;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(244, 240, 232, 0.28);
  outline: 1px solid rgba(17, 17, 15, 0.2);
}

.icon-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  right: 2px;
  bottom: 1px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  color: #fff;
  background: var(--flag);
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  line-height: 1;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(82vw, 320px);
  min-height: 100svh;
  padding: 72px 24px 24px;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.92);
  transform: translateX(-102%);
  transition: transform 260ms ease;
}

.menu-panel.is-open {
  transform: translateX(0);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 35;
  width: min(92vw, 420px);
  min-height: 100svh;
  padding: 20px;
  color: var(--ink);
  background: rgba(244, 240, 232, 0.96);
  border-left: 1px solid rgba(17, 17, 15, 0.18);
  box-shadow: var(--shadow);
  transform: translateX(102%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-panel h2 {
  margin: 0;
  font-size: 1.8rem;
}

.cart-items {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.empty-cart,
.shop-status,
.form-status {
  margin: 0;
  color: rgba(17, 17, 15, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-status {
  max-width: 1200px;
  margin: -10px auto 22px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
}

.cart-item img {
  width: 74px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span {
  margin-top: 3px;
  color: rgba(17, 17, 15, 0.62);
  font-size: 0.78rem;
}

.quantity-control {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
}

.quantity-control button,
.checkout-button,
.admin-page button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.quantity-control button:hover,
.checkout-button:hover,
.admin-page button:hover {
  background: #2a2b27;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  font-size: 1rem;
}

.cart-summary {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 17, 15, 0.12);
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(17, 17, 15, 0.72);
}

.cart-summary-row.cart-total {
  padding-top: 4px;
  font-size: 1rem;
  color: var(--ink);
}

.cart-summary-row.cart-total strong {
  font-weight: 900;
}

.cart-shipping-note {
  margin: 2px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(17, 17, 15, 0.52);
  line-height: 1.45;
}

.cart-shipping-note--free {
  color: rgba(17, 17, 15, 0.72);
}

.checkout-form {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 15, 0.16);
}

.checkout-form label {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-form input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-token-form input,
.shipping-controls input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(17, 17, 15, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.58);
  outline: 0;
  padding: 10px;
}

.checkout-note {
  margin: 4px 0 0;
  color: rgba(17, 17, 15, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
}

.menu-panel a {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

.panel-close svg {
  stroke: var(--paper);
}

.search-bar {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 32;
  display: grid;
  grid-template-columns: auto minmax(180px, 320px) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px 6px 5px 14px;
  background: rgba(244, 240, 232, 0.94);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-78px);
  transition: transform 220ms ease;
}

.search-bar.is-open {
  transform: translateY(0);
}

.search-bar label {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  outline: 0;
  padding: 7px 2px;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: clip;
}

.hero-visual {
  position: relative;
  display: block;
  width: min(48vw, 560px);
  min-width: 340px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 700ms ease,
    transform 1200ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.02), rgba(17, 17, 15, 0.18)),
    radial-gradient(circle at 50% 24%, transparent 0 42%, rgba(17, 17, 15, 0.16) 100%);
  pointer-events: none;
}

.photo-base {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 17, 15, 0.08), rgba(17, 17, 15, 0.18)),
    linear-gradient(180deg, #d8d2c7 0%, #aeb6b1 45%, #626e63 100%);
}

.photo-base::before {
  content: "";
  position: absolute;
  inset: 58% -10% auto;
  height: 46%;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(244, 240, 232, 0.22) 0 2px,
      transparent 2px 26px
    );
  transform: perspective(260px) rotateX(58deg);
  transform-origin: top;
}

.photo-base::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 15, 0.08);
  backdrop-filter: grayscale(0.2);
}

.photo-two {
  background:
    linear-gradient(rgba(17, 17, 15, 0.08), rgba(17, 17, 15, 0.2)),
    linear-gradient(180deg, #bfc6be 0%, #c6a992 54%, #3f4f40 100%);
}

.photo-three {
  background:
    linear-gradient(rgba(17, 17, 15, 0.08), rgba(17, 17, 15, 0.2)),
    linear-gradient(180deg, #d6d9d1 0%, #98a89f 44%, #5d5046 100%);
}

.kit {
  position: absolute;
  z-index: 1;
  display: block;
}

.kit-shirt {
  top: 21%;
  left: 35%;
  width: 30%;
  height: 32%;
  border-radius: 38% 38% 10% 10%;
  background:
    linear-gradient(90deg, transparent 0 18%, #1b1d1a 18% 34%, #f7f2e8 34% 66%, #1b1d1a 66% 82%, transparent 82%),
    linear-gradient(#f7f2e8, #e4d9cb);
}

.kit-pants {
  top: 49%;
  left: 34%;
  width: 32%;
  height: 34%;
  clip-path: polygon(7% 0, 47% 0, 49% 100%, 22% 100%, 0 15%, 53% 0, 93% 0, 100% 16%, 77% 100%, 51% 100%, 50% 0);
  background: #8f8a80;
}

.kit-hoodie {
  top: 18%;
  left: 31%;
  width: 38%;
  height: 48%;
  border-radius: 44% 44% 16% 16%;
  background:
    linear-gradient(90deg, transparent 0 15%, #61785b 15% 30%, #e7ddcf 30% 70%, #61785b 70% 85%, transparent 85%),
    #e7ddcf;
}

.kit-bag {
  top: 57%;
  left: 54%;
  width: 18%;
  height: 20%;
  border-radius: 50% 50% 12% 12%;
  background:
    linear-gradient(90deg, transparent 18%, rgba(17, 17, 15, 0.25) 18% 24%, transparent 24% 40%, rgba(17, 17, 15, 0.24) 40% 46%, transparent 46%),
    var(--line);
}

.kit-jacket {
  top: 20%;
  left: 28%;
  width: 44%;
  height: 45%;
  border-radius: 36% 36% 10% 10%;
  background:
    linear-gradient(90deg, #1d211c 0 42%, #f3eee5 42% 46%, #1d211c 46% 100%);
}

.kit-cap {
  top: 20%;
  left: 47%;
  width: 18%;
  height: 9%;
  border-radius: 50% 50% 12% 12%;
  background: var(--flag);
}

.kit-shadow {
  left: 28%;
  bottom: 9%;
  width: 44%;
  height: 5%;
  border-radius: 50%;
  background: rgba(17, 17, 15, 0.28);
  filter: blur(7px);
}

.hero-copy {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 3;
  color: var(--paper);
  text-shadow: 0 2px 12px rgba(17, 17, 15, 0.32);
}

.hero-copy p,
.section-heading p,
.lookbook-copy p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 14px;
  max-width: 9em;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: 3.08rem;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy .hero-subcopy {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
  text-transform: none;
}

.hero-logo {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 4;
  display: block;
  width: clamp(128px, 12vw, 188px);
  height: auto;
  background: #000;
  border: 1px solid rgba(244, 240, 232, 0.4);
  box-shadow: 0 14px 36px rgba(17, 17, 15, 0.34);
}

.text-link,
.add-button,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: rgba(244, 240, 232, 0.86);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.text-link:hover,
.add-button:hover,
.tab:hover,
.tab.is-active {
  background: var(--ink);
  color: var(--paper);
}

.shop-section {
  position: relative;
  z-index: 2;
  padding: 96px 24px 82px;
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 22px;
}

.section-heading h2,
.lookbook-copy h2 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 900;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.product-card.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background:
    linear-gradient(rgba(244, 240, 232, 0.22), rgba(17, 17, 15, 0.1)),
    var(--card);
}

.product-media::before {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(17, 17, 15, 0.11);
  pointer-events: none;
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.product-media:hover img {
  transform: scale(1.035);
}

.product-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.product-meta h3,
.product-meta p {
  margin: 0;
}

.product-meta h3 {
  font-size: 1rem;
  line-height: 1.1;
}

.product-meta p {
  margin-top: 3px;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.82rem;
}

.product-meta .product-price {
  color: var(--ink);
  font-weight: 900;
}

.product-meta .order-window {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  color: rgba(17, 17, 15, 0.54);
  font-size: 0.72rem;
  line-height: 1.5;
}

.order-window-line {
  display: block;
}

.order-window-label {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.order-window--detail {
  display: grid;
  gap: 3px;
}

.order-window--detail .order-window-line {
  margin: 0;
}

.product-meta .product-color {
  font-weight: 700;
  color: var(--ink);
}

.size-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.72rem;
  color: rgba(17, 17, 15, 0.7);
}

.size-picker select {
  min-width: 72px;
  padding: 4px 8px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}

.add-button:disabled {
  color: rgba(17, 17, 15, 0.5);
  border-color: rgba(17, 17, 15, 0.2);
  background: rgba(17, 17, 15, 0.08);
  cursor: not-allowed;
}

.product-page {
  color: var(--ink);
  background: #787d79;
}

.product-page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(109, 127, 82, 0.34) 0%, transparent 38%),
    linear-gradient(135deg, #8a8f8b 0%, #787d79 48%, #6f746f 100%);
  pointer-events: none;
}

.product-page .grain {
  opacity: 0.14;
}

.product-page .site-header {
  background: rgba(244, 240, 232, 0.92);
  border-bottom: 1px solid rgba(17, 17, 15, 0.1);
  backdrop-filter: blur(12px);
}

.product-detail-shell {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 78px 24px 0;
}

.product-detail-status {
  max-width: none;
  margin: 0 0 18px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-breadcrumb a {
  color: rgba(17, 17, 15, 0.52);
  transition: color 160ms ease;
}

.product-breadcrumb a:hover {
  color: var(--ink);
}

.product-breadcrumb span:last-child {
  color: var(--ink);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}

.product-gallery-panel {
  position: relative;
}

.product-gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background:
    linear-gradient(rgba(244, 240, 232, 0.22), rgba(17, 17, 15, 0.08)),
    var(--card);
  box-shadow: var(--shadow);
}

.product-gallery-main::before {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(17, 17, 15, 0.11);
  pointer-events: none;
}

.product-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 220ms ease;
}

.product-thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-thumb {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(rgba(244, 240, 232, 0.18), rgba(17, 17, 15, 0.06)),
    #fff;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-thumb:hover {
  transform: translateY(-1px);
}

.product-thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.product-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-thumb span {
  display: block;
  padding: 8px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(244, 240, 232, 0.92);
  border-top: 1px solid rgba(17, 17, 15, 0.08);
}

.product-gallery-note {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  color: rgba(17, 17, 15, 0.68);
  font-size: 0.72rem;
  line-height: 1.45;
  background: rgba(183, 215, 232, 0.28);
  border-left: 3px solid var(--line);
}

.product-detail-panel {
  position: sticky;
  top: 72px;
}

.product-detail-card {
  padding: clamp(18px, 3vw, 28px);
  background: rgba(244, 240, 232, 0.94);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.product-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.product-detail-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.52);
}

.product-detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.product-detail-badge[data-tone="black"] {
  background: rgba(17, 17, 15, 0.92);
  color: var(--paper);
  border-color: var(--ink);
}

.product-detail-badge[data-tone="white"] {
  background: #fff;
}

.product-detail-badge[data-tone="graphic"] {
  background: rgba(240, 209, 106, 0.42);
  border-color: rgba(17, 17, 15, 0.2);
}

.product-detail-info h1 {
  margin: 0;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
}

.product-detail-color {
  margin: 10px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(17, 17, 15, 0.72);
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 15, 0.12);
}

.product-detail-price {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.product-detail-tax {
  margin: 0;
  color: rgba(17, 17, 15, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-window {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-detail-window .order-window-label {
  margin-bottom: 2px;
}

.product-detail-window .order-window-line {
  margin: 0;
  color: rgba(17, 17, 15, 0.72);
}

.product-detail-window strong {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.product-option-group {
  margin-top: 22px;
}

.product-option-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.52);
}

.variant-chip-row,
.size-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-chip,
.size-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.variant-chip:hover,
.size-chip:hover {
  border-color: var(--ink);
}

.variant-chip.is-active,
.size-chip.is-active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.variant-chip:only-child {
  cursor: default;
  pointer-events: none;
}

.product-detail-actions {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 17, 15, 0.12);
}

.product-detail-add {
  width: 100%;
  min-height: 48px;
  font-size: 0.82rem;
}

.product-detail-description {
  margin: 14px 0 0;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.78rem;
  line-height: 1.55;
}

.product-editorial.shop-section {
  max-width: none;
  width: 100%;
  margin-top: 0;
  padding: 48px 24px 24px;
  background: var(--paper);
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.product-editorial-block + .product-editorial-block {
  margin-top: 40px;
}

.product-lookbook-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.product-lookbook-card {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
}

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

.product-editorial-reels-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-editorial-reels-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.62);
  text-decoration: none;
}

.product-editorial-reels-link:hover {
  color: var(--ink);
}

.product-reels-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.reels-preview-item {
  position: relative;
  flex: 0 0 min(68vw, 240px);
  scroll-snap-align: start;
}

.reels-preview-link {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  color: var(--paper);
  text-decoration: none;
}

.reels-preview-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reels-preview-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.reels-preview-shop {
  position: static;
  display: inline-flex;
  margin-top: 8px;
}

.product-reels-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 20px 22px;
  border: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.product-reels-open span {
  color: rgba(17, 17, 15, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.product-reels-open:hover {
  border-color: var(--ink);
}

.product-reels-item {
  flex: 0 0 min(72vw, 280px);
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
}

.product-reels-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-related.shop-section {
  max-width: none;
  width: 100%;
  margin-top: 0;
  padding: 56px 24px 72px;
  background: var(--paper);
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.product-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-footer {
  margin-top: 0;
}

.product-back-link {
  text-decoration: none;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-detail-panel {
    position: static;
  }

  .product-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-detail-shell {
    padding-top: 68px;
  }

  .product-thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.lookbook {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: var(--paper);
  background: #151614;
}

.lookbook-frame {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: center;
  max-width: 1200px;
  min-height: 420px;
  margin: 0 auto;
}

.lookbook-copy {
  align-self: end;
  padding-bottom: 26px;
}

.lookbook-reel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.62);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.lookbook-reel-link:hover {
  color: var(--paper);
  background: transparent;
  border-color: var(--paper);
}

.lookbook-copy h2 {
  max-width: 10ch;
}

.lookbook-logo {
  display: none;
}

.lookbook-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  height: 340px;
}

.lookbook-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 6px;
}

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

.lookbook-strip .lookbook-card:nth-child(2) {
  margin-top: 36px;
}

.lookbook-strip .lookbook-card:nth-child(3) {
  margin-top: 12px;
}

.lookbook-strip .lookbook-card:nth-child(4) {
  margin-top: 58px;
}

.editorial-shop-link {
  position: absolute;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: rgba(244, 240, 232, 0.92);
  box-shadow: 0 10px 28px rgba(17, 17, 15, 0.24);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.editorial-shop-link:hover {
  color: var(--paper);
  background: var(--ink);
}

.gallery-section {
  position: relative;
  z-index: 2;
  padding: 92px 24px;
  background: #f7f5ef;
}

.gallery-grid {
  column-count: 4;
  column-gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 14px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: rgba(17, 17, 15, 0.08);
}

.gallery-item figcaption {
  margin-top: 5px;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reels-page {
  min-height: 100svh;
  color: var(--paper);
  background: #050606;
  overflow: hidden;
}

.reels-shell {
  position: relative;
  width: 100vw;
  height: 100svh;
  background: #050606;
  overflow: hidden;
}

.reels-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

@supports (height: 100dvh) {
  .reels-page,
  .reels-shell {
    min-height: 100dvh;
    height: 100dvh;
  }
}

.reels-track {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reels-item,
.reels-slide {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #050606;
}

.reels-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.reels-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 6, 0.34), transparent 24%, transparent 62%, rgba(5, 6, 6, 0.72)),
    linear-gradient(90deg, rgba(5, 6, 6, 0.12), transparent 28%, rgba(5, 6, 6, 0.12));
  pointer-events: none;
}

.reels-slide-meta {
  position: absolute;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 4;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.reels-look-label {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.reels-product-name {
  margin: 0;
  color: rgba(244, 240, 232, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.reels-shop-link {
  position: static;
  margin-top: 4px;
}

.reels-progress {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  color: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.24);
  border-radius: 999px;
  background: rgba(5, 6, 6, 0.52);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reels-swipe-hint {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 9;
  margin: 0;
  color: rgba(244, 240, 232, 0.42);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.reels-scroll-hint {
  position: absolute;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 9;
  margin: 0;
  color: rgba(244, 240, 232, 0.42);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.reels-nav {
  display: none;
}

.reels-nav-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.28);
  border-radius: 999px;
  background: rgba(5, 6, 6, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.reels-nav-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reels-nav-btn:hover {
  background: rgba(244, 240, 232, 0.12);
  border-color: rgba(244, 240, 232, 0.48);
}

.reels-nav-btn:active {
  transform: scale(0.96);
}

.reels-nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.reels-empty {
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  color: rgba(244, 240, 232, 0.72);
  text-align: center;
}

@supports (height: 100dvh) {
  .reels-item,
  .reels-slide {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.reels-item::after {
  content: none;
}

.reels-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.reels-back {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 0 12px 0 8px;
  color: var(--paper);
  border: 1px solid rgba(244, 240, 232, 0.34);
  border-radius: 999px;
  background: rgba(5, 6, 6, 0.58);
  box-shadow: 0 10px 28px rgba(5, 6, 6, 0.32);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reels-back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reels-logo {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 10;
  display: block;
  width: 58px;
  height: auto;
  background: #000;
  border: 1px solid rgba(244, 240, 232, 0.36);
  box-shadow: 0 10px 28px rgba(5, 6, 6, 0.32);
}

@media (min-width: 768px) {
  .reels-shell {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background:
      radial-gradient(ellipse 72% 58% at 50% 38%, rgba(36, 38, 38, 0.72), transparent 72%),
      #050606;
  }

  .reels-viewport {
    width: min(100%, 440px);
    flex: 0 0 auto;
    box-shadow:
      0 0 0 1px rgba(244, 240, 232, 0.07),
      0 28px 90px rgba(0, 0, 0, 0.58);
  }

  .reels-track {
    border-radius: 3px;
  }

  .reels-swipe-hint {
    display: none;
  }

  .reels-scroll-hint:not([hidden]) {
    display: block;
  }

  .reels-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: max(12px, env(safe-area-inset-right));
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
  }

  .reels-scroll-hint:not([hidden]) {
    bottom: max(18px, env(safe-area-inset-bottom));
    right: max(10px, env(safe-area-inset-right));
  }

  .reels-slide-meta {
    max-width: 88%;
    padding-right: 52px;
  }

  .reels-look-label {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
  }
}

@media (min-width: 1100px) {
  .reels-viewport {
    width: min(100%, 480px);
  }
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px) auto;
  gap: 20px;
  align-items: start;
  padding: 42px 24px;
  color: var(--paper);
  background: var(--ink);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
  width: 84px;
  height: 64px;
  object-fit: contain;
  background: #000;
}

.footer-brand span {
  font-size: 2.4rem;
}

.newsletter label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr 38px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.72);
}

.newsletter input {
  min-width: 0;
  color: var(--paper);
  border: 0;
  background: transparent;
  outline: 0;
  padding: 10px 4px;
}

.newsletter input::placeholder {
  color: rgba(244, 240, 232, 0.62);
}

.newsletter-status {
  margin-top: 8px;
  min-height: 1.2em;
  font-size: 0.78rem;
}

.checkout-newsletter-opt {
  margin-top: 8px;
  font-size: 0.82rem;
}

.newsletter-send-form textarea {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

.unsubscribe-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f4f0;
}

.unsubscribe-shell {
  width: min(420px, calc(100% - 32px));
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(17, 17, 15, 0.08);
}

.unsubscribe-shell h1 {
  margin: 16px 0 8px;
  font-size: 1.4rem;
}

.unsubscribe-shell p {
  color: rgba(17, 17, 15, 0.72);
  line-height: 1.6;
}

.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f4f4f0;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 20px;
  background: rgba(244, 244, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.legal-shell h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.15;
}

.legal-lead {
  margin: 0 0 28px;
  color: rgba(17, 17, 15, 0.68);
  line-height: 1.7;
}

.legal-table {
  margin: 0;
  border-top: 1px solid rgba(17, 17, 15, 0.12);
}

.legal-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 12px 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.08);
}

.legal-row dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.legal-row dd {
  margin: 0;
  color: rgba(17, 17, 15, 0.82);
  line-height: 1.7;
}

.legal-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
}

.legal-section p {
  margin: 0 0 10px;
  color: rgba(17, 17, 15, 0.82);
  line-height: 1.75;
}

.legal-list {
  margin: 0;
  padding-left: 1.2em;
  color: rgba(17, 17, 15, 0.82);
  line-height: 1.75;
}

.legal-list li + li {
  margin-top: 4px;
}

.legal-meta {
  margin-top: 12px;
  color: rgba(17, 17, 15, 0.52);
  font-size: 0.82rem;
}

.legal-nav {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 15, 0.1);
}

.legal-nav a {
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.newsletter .icon-button svg {
  stroke: var(--paper);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.footer nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-page {
  color: var(--ink);
  background: #f7f5ef;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
  backdrop-filter: blur(12px);
}

.admin-brand {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.admin-token-form {
  display: grid;
  grid-template-columns: auto minmax(180px, 320px) auto;
  gap: 8px;
  align-items: center;
}

.admin-token-form label,
.admin-form label {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-shell {
  display: grid;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-section-heading p,
.admin-section-heading h1,
.admin-section-heading h2 {
  margin: 0;
}

.admin-section-heading h1,
.admin-section-heading h2 {
  font-size: 2rem;
  line-height: 1;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.admin-form label {
  display: grid;
  gap: 6px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-field-note {
  margin: -4px 0 0;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.76rem;
  line-height: 1.45;
}

.admin-form-wide {
  grid-column: 1 / -1;
}

.admin-checkbox {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: start;
}

.admin-checkbox input {
  width: auto;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(17, 17, 15, 0.1);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-table td span {
  display: block;
  margin-top: 3px;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.76rem;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
}

.admin-product-cell img {
  width: 54px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.admin-row-actions,
.shipping-controls {
  display: grid;
  gap: 8px;
}

.shipping-controls {
  min-width: 220px;
}

.order-philosophy {
  display: block;
  margin-top: 6px;
  color: rgba(17, 17, 15, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
  font-style: italic;
}

.order-shipping-address {
  display: block;
  margin-top: 6px;
  color: rgba(17, 17, 15, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.admin-products-shopify .shopify-admin-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 20px;
  min-height: 560px;
}

.shopify-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.shopify-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 8px;
  font: inherit;
}

.shopify-new-btn {
  width: 100%;
}

.shopify-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 62vh;
  overflow: auto;
}

.shopify-product-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.shopify-product-item.is-active {
  border-color: #11110f;
  box-shadow: inset 0 0 0 1px #11110f;
}

.shopify-product-item.is-inactive {
  opacity: 0.62;
  background: #f6f6f4;
}

.shopify-product-item img {
  width: 48px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}

.shopify-product-item strong {
  display: block;
  font-size: 0.92rem;
}

.shopify-product-item span {
  display: block;
  margin-top: 2px;
  color: rgba(17, 17, 15, 0.58);
  font-size: 0.74rem;
}

.shopify-product-meta {
  color: rgba(17, 17, 15, 0.72);
}

.shopify-main {
  min-height: 420px;
}

.shopify-empty-state {
  margin: 0;
  padding: 48px 24px;
  border: 1px dashed rgba(17, 17, 15, 0.2);
  border-radius: 10px;
  color: rgba(17, 17, 15, 0.62);
  text-align: center;
}

.shopify-editor-panel {
  display: grid;
  gap: 16px;
}

.shopify-editor-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 17, 15, 0.1);
}

.shopify-editor-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.5);
}

.shopify-editor-header h2 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.shopify-editor-slug {
  display: block;
  margin-top: 4px;
  color: rgba(17, 17, 15, 0.55);
  font-size: 0.82rem;
}

.shopify-editor-header-actions {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}

.shopify-status-select {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
}

.shopify-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shopify-card {
  padding: 16px;
  border: 1px solid rgba(17, 17, 15, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.shopify-card-wide {
  grid-column: 1 / -1;
}

.shopify-card h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.shopify-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.shopify-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shopify-field-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
}

.shopify-field-wide {
  grid-column: 1 / -1;
}

.shopify-field-grid input,
.shopify-field-grid select,
.shopify-field-grid textarea,
.shopify-status-select select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 8px;
  font: inherit;
}

.shopify-variant-row {
  padding: 14px 0;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
  display: grid;
  gap: 12px;
}

.shopify-variant-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.shopify-variant-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shopify-upload-field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
}

.shopify-upload-field em {
  font-style: normal;
  color: rgba(17, 17, 15, 0.45);
}

.shopify-upload-zone {
  position: relative;
  min-height: 160px;
  border: 1px dashed rgba(17, 17, 15, 0.24);
  border-radius: 8px;
  background: rgba(17, 17, 15, 0.03);
  cursor: pointer;
  overflow: hidden;
}

.shopify-upload-zone.is-dragover {
  border-color: #11110f;
  background: rgba(17, 17, 15, 0.06);
}

.shopify-upload-preview-wrap {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 10px;
}

.shopify-upload-preview-wrap img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.shopify-upload-preview-wrap span {
  color: rgba(17, 17, 15, 0.55);
  font-size: 0.82rem;
  text-align: center;
}

.shopify-upload-status {
  margin: 6px 0 0;
  font-size: 0.76rem;
  color: rgba(17, 17, 15, 0.55);
}

.shopify-btn-primary,
.shopify-btn-secondary,
.shopify-btn-text {
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.shopify-btn-primary {
  background: #11110f;
  color: #fff;
  border: 1px solid #11110f;
}

.shopify-btn-secondary {
  background: #fff;
  color: #11110f;
  border: 1px solid rgba(17, 17, 15, 0.2);
}

.shopify-btn-text {
  background: transparent;
  border: none;
  color: rgba(17, 17, 15, 0.65);
  text-decoration: underline;
  padding: 0;
}

.shopify-btn-text-danger {
  color: #9b1c1c;
}

.shopify-btn-danger {
  background: #fff;
  color: #9b1c1c;
  border: 1px solid rgba(155, 28, 28, 0.45);
}

.shopify-btn-danger:hover {
  background: rgba(155, 28, 28, 0.08);
}

.editorial-upload-zone {
  min-height: 200px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.purchase-dialog-open {
  overflow: hidden;
}

.purchase-dialog {
  border: none;
  padding: 0;
  margin: auto;
  width: min(92vw, 520px);
  max-height: min(90vh, 720px);
  border-radius: 14px;
  background: rgba(248, 246, 240, 0.98);
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.28);
}

.purchase-dialog::backdrop {
  background: rgba(17, 17, 15, 0.58);
  backdrop-filter: blur(6px);
}

.purchase-dialog-panel {
  position: relative;
  padding: 34px 28px 28px;
  display: grid;
  gap: 0;
}

.purchase-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.purchase-step {
  display: grid;
  gap: 14px;
}

.purchase-step[hidden] {
  display: none !important;
}

.purchase-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.48);
  font-weight: 800;
}

.purchase-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.purchase-line-single {
  white-space: nowrap;
}

.purchase-step[data-purchase-step="philosophy"] .purchase-title.purchase-line-single {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: 0;
}

.purchase-step[data-purchase-step="philosophy"] .purchase-lead.purchase-line-single {
  font-size: clamp(0.78rem, 2.4vw, 0.88rem);
  letter-spacing: 0;
}

.purchase-lead,
.purchase-note,
.purchase-meta {
  margin: 0;
  color: rgba(17, 17, 15, 0.72);
  line-height: 1.7;
  font-size: 0.92rem;
}

.purchase-meta strong {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.purchase-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.purchase-primary {
  width: 100%;
}

.purchase-secondary {
  min-height: 34px;
  border: none;
  background: transparent;
  color: rgba(17, 17, 15, 0.58);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.purchase-secondary:hover {
  color: rgba(17, 17, 15, 0.86);
}

.newsletter-dialog .purchase-meta strong {
  display: block;
  word-break: break-all;
}

.purchase-step textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px;
  border: 1px solid rgba(17, 17, 15, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  line-height: 1.65;
  resize: vertical;
}

.purchase-step textarea:focus {
  outline: 2px solid rgba(17, 17, 15, 0.18);
  outline-offset: 2px;
}

.admin-dialog {
  border: none;
  padding: 0;
  border-radius: 12px;
  max-width: min(92vw, 420px);
  box-shadow: 0 24px 60px rgba(17, 17, 15, 0.28);
}

.admin-dialog::backdrop {
  background: rgba(17, 17, 15, 0.45);
}

.admin-dialog-panel {
  padding: 24px 22px 20px;
  display: grid;
  gap: 12px;
}

.admin-dialog-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 15, 0.5);
}

.admin-dialog-title {
  margin: 0;
  font-size: 1.35rem;
}

.admin-dialog-message {
  margin: 0;
  color: rgba(17, 17, 15, 0.72);
  line-height: 1.6;
  white-space: pre-line;
}

.admin-dialog .shopify-btn-primary {
  justify-self: start;
  margin-top: 4px;
}

.admin-dialog[data-tone="success"] .admin-dialog-title {
  color: #1f6b3f;
}

.admin-dialog[data-tone="error"] .admin-dialog-title {
  color: #9b1c1c;
}

.shopify-btn-primary:disabled,
.shopify-btn-secondary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.admin-form-actions button[aria-busy="true"] {
  cursor: wait;
}

@media (max-width: 900px) {
  .hero-visual {
    width: min(78vw, 480px);
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: 2.28rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lookbook-frame {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer nav {
    justify-content: start;
  }

  .admin-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-products-shopify .shopify-admin-layout {
    grid-template-columns: 1fr;
  }

  .shopify-editor-grid,
  .shopify-field-grid,
  .shopify-variant-media {
    grid-template-columns: 1fr;
  }

  .shopify-variant-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 7px;
    padding: 6px 7px;
  }

  .header-wordmark {
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 0;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .icon-button svg {
    width: 21px;
    height: 21px;
  }

  .search-bar {
    left: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-visual {
    width: min(78vw, 360px);
  }

  .hero-copy {
    left: 14px;
    bottom: 16px;
  }

  .hero-copy h1 {
    font-size: 1.55rem;
    line-height: 1.02;
  }

  .hero-copy .hero-subcopy {
    font-size: 0.86rem;
  }

  .hero-logo {
    right: 12px;
    bottom: 14px;
    width: 88px;
  }

  .shop-section,
  .lookbook,
  .gallery-section {
    padding-inline: 14px;
  }

  .lookbook-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .lookbook-copy h2 {
    font-size: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    height: auto;
  }

  .lookbook-card {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .lookbook-strip .lookbook-card:nth-child(2),
  .lookbook-strip .lookbook-card:nth-child(4) {
    margin-top: 28px;
  }

  .lookbook-strip .lookbook-card:nth-child(3) {
    margin-top: 0;
  }

  .lookbook-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
  }

  .lookbook-logo {
    display: none;
  }

  .gallery-grid {
    column-count: 1;
  }

  .admin-header,
  .admin-section-heading {
    display: grid;
  }

  .admin-token-form,
  .admin-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .menu-panel,
  .search-bar,
  .cart-panel {
    transition: none;
  }
}
