:root {
  --navy: #171b66;
  --ink: #171b66;
  --muted: #5d6094;
  --line: #e9e9e9;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --header-offset: 122px;
  --page-heading: clamp(40px, 6.5vw, 84px);
  --page-heading-leading: 1.08;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  text-wrap: balance;
}

p,
li,
dd {
  overflow-wrap: anywhere;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(23, 27, 102, 0.08);
  backdrop-filter: blur(16px);
}

.header-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(128px, 14vw, 200px);
}

.header-logo img {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

nav {
  display: grid;
  gap: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

nav a,
.nav-button {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
.nav-button:hover {
  border-color: var(--navy);
}

.nav-button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-trigger {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.customer-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: clamp(18px, 4vw, 52px);
  width: min(240px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(23, 27, 102, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.customer-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.home-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--header-offset) 24px 48px;
  background: var(--paper);
}

.hero-logo {
  width: min(78vw, 760px);
}

.hero-slogan {
  width: min(68vw, 430px);
  max-height: calc(100vh - 190px);
  object-fit: contain;
}

.page {
  padding-top: var(--header-offset);
}

.simple-section,
.product-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 112px) 0;
}

.product-section.page {
  padding-top: calc(var(--header-offset) + clamp(48px, 7vw, 88px));
}

.about-section {
  min-height: calc(100vh - 72px);
  display: grid;
  align-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section h1,
.section-head h1,
.contact-section h2,
.detail-info h1 {
  margin: 0;
  color: var(--navy);
  font-size: var(--page-heading);
  font-weight: 900;
  line-height: var(--page-heading-leading);
  overflow-wrap: anywhere;
}

.about-section p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.72;
  word-break: keep-all;
}

.product-section {
  min-height: 100vh;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 18px;
}

.lookbook-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  display: block;
}

.product-card figure {
  position: relative;
  margin: 0;
  background: var(--soft);
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-card.is-unavailable img {
  opacity: 0.45;
}

.product-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex !important;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  background: var(--navy);
  color: var(--paper) !important;
  font-size: 12px;
  font-weight: 900;
}

.product-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.24;
}

#product .product-card h3,
#product .product-card span {
  display: none;
}

.contact-section {
  min-height: calc(100vh - 72px);
  display: grid;
  align-content: center;
}

.contact-section h2 {
  font-size: clamp(34px, 5.5vw, 76px);
}

.contact-section a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  border-bottom: 2px solid var(--navy);
}

.auth-page,
.cart-page,
.members-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: clamp(48px, 8vw, 96px);
}

.auth-panel,
.cart-panel,
.members-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  padding-top: clamp(48px, 8vw, 96px);
}

.cart-panel,
.members-panel {
  display: block;
}

.auth-intro h1,
.cart-panel h1,
.members-panel h1 {
  margin: 0;
  color: var(--navy);
  font-size: var(--page-heading);
  font-weight: 900;
  line-height: var(--page-heading-leading);
  overflow-wrap: anywhere;
}

.auth-intro p:not(.eyebrow),
.members-panel > p {
  max-width: 430px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
}

.commerce-form,
.cart-option-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.order-sheet {
  margin-top: 30px;
}

.order-sheet h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.cart-option-form {
  margin-top: 28px;
  padding: 0;
  border: 0;
}

.commerce-form label,
.cart-option-form label {
  display: grid;
  gap: 8px;
}

.commerce-form label > span,
.cart-option-form label > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.commerce-form input,
.commerce-form select,
.commerce-form textarea,
.cart-option-form input,
.cart-option-form select,
.cart-option-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 13px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.address-field {
  display: grid;
  gap: 8px;
}

.address-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.address-control button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.address-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.password-field,
.phone-verify {
  display: grid;
  gap: 8px;
}

.password-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.password-control button,
.phone-verify button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.phone-verify {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.phone-verify small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.phone-verify small.verified {
  color: var(--navy);
}

.commerce-form textarea,
.cart-option-form textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.check-line input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
}

.commerce-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  padding: 0 18px;
  background: var(--navy);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.preorder-login,
.account-login-link {
  width: max-content;
  max-width: 100%;
}

.commerce-submit:disabled {
  background: #b8b8b8;
  cursor: not-allowed;
}

.stock-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.form-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.mode-tabs button {
  min-height: 42px;
  border: 0;
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mode-tabs button.active {
  background: var(--navy);
  color: var(--paper);
}

.agreement-box {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--soft);
}

.agreement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 40px;
}

.agreement-row + .agreement-row {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.agreement-box label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.agreement-box input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.agreement-view {
  min-height: 32px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  padding: 0;
  background: transparent;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.policy-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 12, 54, 0.54);
}

.policy-modal {
  width: min(860px, 100%);
  max-height: min(88vh, 900px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid var(--navy);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(10, 12, 54, 0.24);
}

.policy-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.policy-modal-head .eyebrow {
  margin: 0 0 5px;
}

.policy-modal-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.policy-modal-head button {
  min-width: 52px;
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.policy-modal-body {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 42px);
  overscroll-behavior: contain;
}

.policy-page {
  width: min(900px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--header-offset) + clamp(48px, 7vw, 88px)) 0 clamp(64px, 9vw, 110px);
}

.policy-document {
  color: var(--ink);
}

.policy-header {
  padding-bottom: clamp(34px, 6vw, 64px);
}

.policy-header .eyebrow {
  margin: 0 0 12px;
}

.policy-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.policy-header > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.policy-lead {
  margin: 0 0 38px;
  padding: 20px;
  border-left: 4px solid var(--navy);
  background: var(--soft);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.75;
  word-break: keep-all;
}

.policy-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-section:last-child {
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
}

.policy-section p,
.policy-section li,
.policy-note {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  word-break: keep-all;
}

.policy-section p {
  margin: 0;
}

.policy-section p + p {
  margin-top: 10px;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.policy-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.policy-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
}

.policy-table th,
.policy-table td {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
  word-break: keep-all;
}

.policy-table tr:last-child th,
.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-table th:last-child,
.policy-table td:last-child {
  border-right: 0;
}

.policy-table thead th {
  background: var(--navy);
  color: var(--paper);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-table thead th:first-child,
.policy-table tbody th {
  width: 150px;
}

.policy-table tbody th {
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
}

.policy-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.legal-footer {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: inherit;
}

.legal-footer nav a,
.legal-footer > a {
  border-bottom: 1px solid transparent;
}

.legal-footer nav a:hover,
.legal-footer > a:hover {
  border-color: var(--navy);
}

.legal-footer > a {
  justify-self: end;
  text-transform: lowercase;
}

.cart-user,
.empty-state,
.inline-link {
  display: inline-flex;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.inline-link {
  border-bottom: 2px solid var(--navy);
}

.cart-list,
.member-table {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.preorder-page {
  min-height: 100vh;
  padding: calc(var(--header-offset) + clamp(34px, 5vw, 64px)) clamp(18px, 4vw, 52px) 70px;
}

.preorder-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.preorder-product-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.preorder-product-picker button {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.preorder-product-picker button.active {
  box-shadow: inset 0 0 0 2px var(--navy);
}

.preorder-product-picker img {
  width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.preorder-product-picker span,
.preorder-product-picker strong,
.preorder-product-picker small,
.preorder-product-picker em {
  min-width: 0;
  display: block;
}

.preorder-product-picker strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.preorder-product-picker small {
  margin-top: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.preorder-product-picker em {
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.preorder-product-picker em.available {
  color: var(--navy);
}

.preorder-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(380px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 28px;
}

.preorder-media {
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-offset) + 18px);
}

.preorder-visual {
  margin: 0;
  display: grid;
  gap: 16px;
}

.preorder-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}

.preorder-visual figcaption {
  color: var(--navy);
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

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

.preorder-thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.preorder-thumbs button.active {
  border-color: var(--navy);
}

.preorder-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.preorder-form {
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
}

.preorder-price,
.preorder-total,
.preorder-complete {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.preorder-price {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.preorder-price strong,
.preorder-total strong {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.preorder-cart {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.preorder-cart h2,
.preorder-complete h2,
.size-chart h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.preorder-cart article {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.preorder-cart img {
  width: 72px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
}

.preorder-cart strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.preorder-cart span {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.preorder-cart button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.preorder-form textarea {
  min-height: 92px;
}

.preorder-complete {
  margin-top: 32px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.preorder-complete dl {
  grid-template-columns: 104px 1fr;
  padding-top: 18px;
}

.preorder-complete ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.completion-page {
  min-height: 100vh;
  padding-top: calc(var(--header-offset) + clamp(44px, 7vw, 92px));
  padding-bottom: clamp(64px, 9vw, 120px);
  background: var(--paper);
}

.completion-panel {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  color: var(--ink);
}

.completion-kicker {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.completion-panel > h1 {
  max-width: none;
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.completion-message {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.completion-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  margin-top: 36px;
  padding: 22px 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.completion-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.completion-summary strong {
  min-width: 0;
  color: var(--navy);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.completion-summary em {
  color: var(--navy);
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.completion-details {
  grid-template-columns: 96px minmax(0, 1fr);
  padding: 28px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.completion-details dd {
  overflow-wrap: anywhere;
}

.completion-items {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.completion-items h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 18px;
}

.completion-items article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.completion-items img {
  width: 64px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
}

.completion-items strong,
.completion-items span {
  display: block;
}

.completion-items strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.4;
}

.completion-items span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.completion-items b {
  color: var(--navy);
  font-size: 14px;
  white-space: nowrap;
}

.completion-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.completion-actions .commerce-submit,
.completion-home,
.completion-login {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin: 0;
  text-align: center;
  text-decoration: none;
}

.completion-home {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.completion-login {
  width: min(280px, 100%);
  margin-top: 28px;
}

.lookup-page {
  padding-top: calc(var(--header-offset) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(56px, 8vw, 96px);
}

.lookup-panel {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.lookup-list {
  display: grid;
  gap: 16px;
}

.lookup-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.lookup-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.lookup-card-head strong {
  color: var(--navy);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lookup-card-head span {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lookup-card dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px 16px;
  margin: 0;
}

.lookup-card dt {
  color: var(--muted);
  font-weight: 900;
}

.lookup-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.lookup-card ul {
  margin: 0;
  padding: 16px 0 0 18px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
  font-weight: 800;
}

.size-chart {
  margin-top: 42px;
  overflow-x: auto;
}

.size-chart table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.size-chart th,
.size-chart td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.size-chart th {
  color: var(--navy);
  background: var(--soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 110px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.cart-item h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.24;
}

.cart-item p {
  margin: 4px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.cart-item button,
.cart-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 900;
}

.sheet-button {
  padding: 0 18px;
}

.member-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.member-tools input,
.member-row input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.member-row {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 0.75fr 1.25fr 1.1fr 1.1fr 120px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.member-row.head {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-address-edit {
  display: grid;
  gap: 6px;
}

.member-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.member-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--soft);
}

.admin-login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.admin-login-card img {
  width: 130px;
  margin-bottom: 24px;
}

.admin-login-card h1,
.admin-dashboard h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
}

.admin-login-card label span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-login-card input {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 13px;
  font: inherit;
  font-weight: 700;
}

.admin-site {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--paper);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.admin-logo img {
  width: 130px;
}

.admin-sidebar nav {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 14px;
  margin-top: 48px;
}

.admin-sidebar nav a,
.admin-sidebar .nav-button {
  width: max-content;
}

.admin-dashboard,
.admin-site .members-page {
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) 0;
}

.admin-site .members-page {
  min-height: auto;
  display: block;
}

.admin-site .members-panel {
  padding-top: 0;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
}

.admin-metrics article {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: var(--paper);
}

.admin-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-metrics strong {
  color: var(--navy);
  font-size: 52px;
  line-height: 1.12;
}

.admin-main-link {
  width: max-content;
  margin-top: 28px;
  padding: 0 18px;
}

.order-list,
.coupon-list,
.product-admin-list,
.preorder-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.order-card,
.coupon-card,
.product-admin-list article,
.preorder-admin-list article {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.order-card strong,
.coupon-card strong,
.product-admin-list strong,
.preorder-admin-list strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
}

.order-card span,
.order-card p,
.coupon-card span,
.product-admin-list span,
.preorder-admin-list span {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.order-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.order-actions,
.coupon-card {
  align-items: center;
}

.order-actions {
  display: flex;
  gap: 8px;
}

.order-actions select,
.coupon-card select {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.order-actions button,
.coupon-card button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.coupon-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  margin-top: 28px;
}

.coupon-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.coupon-card {
  grid-template-columns: 1fr 1fr 0.8fr 120px auto;
}

.library-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}

.library-title-row p {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
}

.library-add-button,
.library-editor-head button,
.library-editor-actions button,
.media-upload-button,
.media-url-row button,
.library-item-actions button,
.lookbook-card-actions button,
.lookbook-card-actions a,
.media-preview-list button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.library-add-button,
.media-upload-button {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.library-editor {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--navy);
  background: var(--paper);
}

.library-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.library-editor-head .eyebrow {
  margin: 0 0 8px;
}

.library-editor-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

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

.library-editor-grid > label {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.library-editor-grid > label > span,
.media-manager-head strong {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.library-editor-grid input,
.library-editor-grid textarea,
.media-url-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 13px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.library-editor-grid textarea {
  min-height: 112px;
  padding-top: 13px;
  line-height: 1.55;
  resize: vertical;
}

.library-editor-grid small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.library-editor-grid .editor-wide {
  grid-column: 1 / -1;
}

.library-editor-grid .size-chart-editor {
  min-height: 150px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
}

.editor-publish-toggle {
  min-height: 52px;
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
}

.editor-publish-toggle input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  padding: 0;
  accent-color: var(--navy);
}

.editor-publish-toggle span {
  text-transform: none !important;
}

.library-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.library-editor-actions .commerce-submit {
  min-width: 130px;
  min-height: 46px;
  border-color: var(--navy);
  color: var(--paper);
}

.media-manager {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.media-manager-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.media-upload-button {
  position: relative;
  overflow: hidden;
}

.media-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.media-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
}

.media-preview-list figure {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.media-preview-list img {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  background: var(--paper);
}

.media-preview-list button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 30px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.94);
}

.media-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.media-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.library-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.library-item-actions button {
  min-height: 32px;
  padding: 0 10px;
}

.lookbook-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.lookbook-admin-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.lookbook-admin-card > img {
  width: 128px;
  aspect-ratio: 4 / 5;
  grid-row: span 3;
  object-fit: cover;
  background: var(--soft);
}

.lookbook-admin-card strong,
.lookbook-admin-card span,
.lookbook-admin-card small {
  display: block;
}

.lookbook-admin-card strong {
  margin-top: 6px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lookbook-admin-card span,
.lookbook-admin-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.45;
  text-transform: uppercase;
}

.lookbook-admin-card small {
  margin-top: 7px;
}

.lookbook-publish-toggle {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
}

.lookbook-publish-toggle input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.lookbook-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lookbook-card-actions button,
.lookbook-card-actions a {
  min-height: 32px;
  padding: 0 10px;
}

.product-admin-list article {
  grid-template-columns: 90px 1fr;
}

.product-ops-list .product-library-card {
  grid-template-columns: 110px minmax(180px, 0.8fr) minmax(320px, 1.4fr);
  grid-template-areas:
    "image info publish"
    "image sale sale"
    "preorder preorder preorder"
    "stock stock stock"
    "preview preview preview";
  align-items: start;
  padding: 22px;
}

.product-library-card > img {
  grid-area: image;
  width: 110px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.product-ops-info {
  grid-area: info;
  min-width: 0;
}

.product-destination-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.product-destination-badges b {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 9px;
  font-weight: 900;
}

.product-destination-badges b.active {
  border-color: var(--navy);
  color: var(--paper);
  background: var(--navy);
}

.product-publish-controls {
  grid-area: publish;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-publish-controls label {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
}

.product-publish-controls input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.product-publish-controls strong,
.product-publish-controls small {
  display: block;
}

.product-publish-controls strong {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.product-publish-controls small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.product-ops-controls {
  grid-area: sale;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 10px;
  align-items: end;
  padding-top: 4px;
}

.product-ops-controls label {
  display: grid;
  gap: 6px;
}

.product-ops-controls label span {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-ops-controls input,
.product-ops-controls select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 10px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.preorder-settings-grid {
  grid-area: preorder;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.preorder-settings-grid.is-muted {
  opacity: 0.62;
}

.preorder-settings-grid > strong {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.preorder-settings-grid label {
  display: grid;
  gap: 6px;
}

.preorder-settings-grid label span {
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.preorder-settings-grid input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 10px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.preorder-settings-grid .preorder-shipping-notice {
  grid-column: span 2;
}

.variant-stock-grid {
  grid-area: stock;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.variant-stock-grid > strong {
  grid-column: 1 / -1;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.variant-stock-grid label {
  display: grid;
  gap: 5px;
}

.variant-stock-grid label span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.variant-stock-grid input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 8px;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.library-preview-link {
  grid-area: preview;
  width: max-content;
  max-width: 100%;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preorder-closed {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.preorder-admin-list article {
  grid-template-columns: 88px 0.9fr 1.1fr 1.2fr auto;
}

.product-admin-list img,
.preorder-admin-list img {
  width: 90px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.preorder-admin-list ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.pos-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  margin-top: 34px;
}

.pos-form,
.pos-ticket {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pos-form label,
.pos-ticket label {
  display: grid;
  gap: 8px;
}

.pos-form span,
.pos-ticket label span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pos-form select,
.pos-form input,
.pos-ticket select {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.pos-ticket-head,
.pos-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.pos-ticket-head strong,
.pos-ticket-head span,
.pos-summary strong {
  color: var(--navy);
  font-weight: 900;
}

.pos-ticket-list,
.pos-sales-list {
  display: grid;
  gap: 10px;
}

.pos-ticket-list article {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.pos-ticket-list img {
  width: 64px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper);
}

.pos-ticket-list strong,
.pos-sales-list strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.pos-ticket-list span,
.pos-sales-list span,
.pos-sales-list li,
.pos-summary span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.pos-ticket-list button,
.pos-sales-list button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.pos-summary {
  margin-top: 18px;
  background: var(--line);
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.pos-summary article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--paper);
}

.pos-sales-list {
  margin-top: 24px;
}

.pos-sales-list article {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pos-sales-list ul {
  margin: 0;
  padding-left: 18px;
}

.detail-page {
  display: grid;
  grid-template-columns: minmax(300px, 34vw) minmax(0, 1fr);
  min-height: 100vh;
  padding-top: var(--header-offset);
}

.detail-info {
  position: sticky;
  top: var(--header-offset);
  align-self: start;
  min-width: 0;
  min-height: calc(100vh - var(--header-offset));
  padding: clamp(30px, 5vw, 64px);
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.back-link {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-info h1 {
  max-width: 100%;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.detail-note {
  margin: 24px 0 34px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.detail-size-chart {
  margin-top: 24px;
  overflow: visible;
}

.detail-size-chart h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.detail-size-chart table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.detail-size-chart th,
.detail-size-chart td {
  padding: 9px 4px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.detail-size-chart th {
  color: var(--navy);
  background: var(--soft);
}

dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 16px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

dt,
dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

dt {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  font-weight: 800;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.detail-gallery img {
  width: 100%;
  min-height: 420px;
  height: 100%;
  object-fit: contain;
  background: var(--soft);
}

.detail-gallery img:nth-child(n + 3) {
  background: var(--paper);
}

@media (max-width: 900px) {
  :root {
    --header-offset: 106px;
    --page-heading: clamp(38px, 9vw, 70px);
  }

  .site-header {
    min-height: 86px;
  }

  .product-grid,
  .lookbook-grid,
  .detail-page,
  .detail-gallery,
  .auth-panel,
  .preorder-layout,
  .cart-item,
  .admin-site,
  .admin-metrics,
  .order-card,
  .coupon-card,
  .preorder-admin-list article,
  .product-ops-list article,
  .product-ops-controls,
  .variant-stock-grid,
  .coupon-form,
  .form-row,
  .pos-layout,
  .preorder-cart article,
  .pos-ticket-list article,
  .pos-sales-list article,
  .pos-summary {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
  }

  .page {
    padding-top: var(--header-offset);
  }

  .detail-page {
    padding-top: var(--header-offset);
  }

  .detail-info {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preorder-media {
    position: static;
  }

  .completion-panel {
    width: min(100% - 32px, 760px);
  }

  .completion-summary {
    grid-template-columns: 1fr;
  }

  .completion-summary em {
    margin-top: 8px;
  }

  .completion-items article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .completion-items img {
    width: 56px;
  }

  .completion-items b {
    grid-column: 2;
  }

  .completion-actions {
    grid-template-columns: 1fr;
  }

  .detail-gallery img {
    min-height: auto;
  }

  .product-ops-list .product-library-card {
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-areas:
      "image info"
      "publish publish"
      "sale sale"
      "preorder preorder"
      "stock stock"
      "preview preview";
  }

  .product-library-card > img {
    width: 90px;
  }

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

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

  .legal-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .legal-footer > a {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  :root {
    --header-offset: 96px;
    --page-heading: clamp(34px, 13vw, 54px);
  }

  .site-header {
    min-height: 80px;
    padding: 12px 14px;
  }

  .header-logo {
    width: 124px;
  }

  .header-logo img {
    max-height: 58px;
  }

  nav {
    gap: 10px;
    font-size: 12px;
  }

  .home-hero {
    padding-inline: 18px;
  }

  .hero-logo {
    width: 86vw;
  }

  .hero-slogan {
    width: min(84vw, 360px);
    max-height: calc(100vh - 170px);
  }

  .section-head {
    display: block;
  }

  .product-section.page,
  .lookup-page {
    padding-top: calc(var(--header-offset) + 40px);
  }

  .simple-section,
  .product-section {
    width: min(100% - 28px, 1180px);
    padding-bottom: 64px;
  }

  .auth-panel,
  .cart-panel,
  .members-panel {
    padding-top: 40px;
  }

  .auth-intro p:not(.eyebrow),
  .members-panel > p,
  .about-section p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.68;
  }

  .preorder-page {
    padding-top: calc(var(--header-offset) + 40px);
  }

  .preorder-visual figcaption {
    font-size: clamp(30px, 11vw, 44px);
    line-height: 1.12;
  }

  .preorder-product-picker,
  .product-publish-controls,
  .preorder-settings-grid {
    grid-template-columns: 1fr;
  }

  .preorder-settings-grid .preorder-shipping-notice {
    grid-column: auto;
  }

  .product-ops-list .product-library-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "info"
      "publish"
      "sale"
      "preorder"
      "stock"
      "preview";
  }

  .product-library-card > img {
    width: min(180px, 100%);
  }

  .library-title-row,
  .library-editor-head,
  .media-manager-head {
    align-items: stretch;
    flex-direction: column;
  }

  .library-add-button,
  .media-upload-button {
    width: 100%;
  }

  .library-editor-grid,
  .media-url-row,
  .lookbook-admin-card {
    grid-template-columns: 1fr;
  }

  .library-editor-grid .editor-wide {
    grid-column: auto;
  }

  .library-editor-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .library-editor-actions button,
  .library-editor-actions .commerce-submit {
    width: 100%;
  }

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

  .lookbook-admin-card > img {
    width: 100%;
    max-height: 420px;
    grid-row: auto;
  }

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

  .agreement-view {
    width: max-content;
    margin-left: 28px;
  }

  .policy-modal-backdrop {
    padding: 10px;
  }

  .policy-modal {
    max-height: 94vh;
  }

  .policy-modal-head {
    padding: 16px;
  }

  .policy-modal-body {
    padding: 20px 16px 28px;
  }

  .policy-page {
    width: min(100% - 28px, 900px);
  }

  .policy-lead {
    padding: 16px;
    font-size: 14px;
  }

  .policy-section {
    padding: 24px 0;
  }

  .member-row {
    grid-template-columns: 1fr;
  }

  .member-tools {
    grid-template-columns: 1fr;
  }

  .address-control {
    grid-template-columns: 1fr;
  }

  .password-control,
  .phone-verify {
    grid-template-columns: 1fr;
  }

  .member-actions {
    justify-content: flex-start;
  }
}
