:root {
  --paper: #f7f4ee;
  --porcelain: #fffdfa;
  --ink: #20201d;
  --muted: #6c6861;
  --line: #ded7ca;
  --sage: #5f7567;
  --moss: #31483b;
  --clay: #9d5e46;
  --rosewood: #7b3f35;
  --mist: #e7eef0;
  --brass: #b38a3d;
  --shadow: 0 22px 50px rgba(46, 39, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid rgba(222, 215, 202, 0.72);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 10px 30px rgba(32, 32, 29, 0.08);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  gap: 11px;
  min-width: 220px;
}

.brand-mark {
  align-items: center;
  background: url("/assets/logo-round.png?v=2026062205") center / cover no-repeat;
  border-radius: 999px;
  color: transparent;
  display: inline-flex;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}

.nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

.nav a,
.auth-link,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.auth-link:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--moss);
}

.header-actions {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 26px;
  justify-content: flex-end;
}

.header-cta,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  background: var(--ink);
  color: var(--porcelain);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .brand {
    min-width: 190px;
  }

  .nav {
    gap: 18px;
  }

  .header-cta {
    padding: 0 18px;
  }
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-collage,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-collage img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 15, 0.72), rgba(16, 18, 15, 0.38) 45%, rgba(16, 18, 15, 0.14)),
    linear-gradient(180deg, rgba(16, 18, 15, 0.12), rgba(16, 18, 15, 0.48));
}

.hero-content {
  color: var(--porcelain);
  max-width: 720px;
  padding: 24vh clamp(22px, 6vw, 80px) 18vh;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1dca8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6vw, 82px);
  margin-bottom: 24px;
  max-width: 680px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 253, 250, 0.88);
  font-size: 19px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-atelier {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(247, 244, 238, 0.96), rgba(231, 238, 240, 0.86)),
    var(--paper);
  display: grid;
  gap: clamp(34px, 5vw, 78px);
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  min-height: 100vh;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 72px) 72px;
}

.home-atelier::before {
  background: rgba(179, 138, 61, 0.18);
  content: "";
  height: 1px;
  left: clamp(20px, 5vw, 72px);
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  top: 104px;
}

.home-atelier .hero-content {
  color: var(--ink);
  max-width: 670px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.home-atelier .eyebrow {
  color: var(--rosewood);
}

.home-atelier h1 {
  color: var(--ink);
  font-size: 64px;
  margin-bottom: 24px;
}

.home-atelier p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
}

.home-atelier .button.primary {
  background: var(--ink);
}

.home-atelier .button.secondary {
  background: var(--porcelain);
  border-color: var(--line);
  color: var(--ink);
}

.hero-proof-row {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin-top: 44px;
}

.hero-proof-row span {
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
  padding: 15px 0;
  text-transform: uppercase;
}

.hero-proof-row span + span {
  border-top: 1px solid var(--line);
}

.hero-showcase {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: 0.78fr 0.64fr 0.8fr;
  min-height: 620px;
  position: relative;
  z-index: 1;
}

.hero-showcase::before {
  background: rgba(255, 253, 250, 0.62);
  border: 1px solid rgba(222, 215, 202, 0.68);
  border-radius: 8px;
  content: "";
  height: 76%;
  position: absolute;
  right: -28px;
  top: 12%;
  width: 72%;
  z-index: -1;
}

.hero-frame {
  background: var(--porcelain);
  border: 1px solid rgba(222, 215, 202, 0.92);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(46, 39, 30, 0.14);
  margin: 0;
  overflow: hidden;
}

.hero-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-frame figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 12px 14px;
  text-transform: uppercase;
}

.hero-frame-large {
  align-self: start;
  height: 520px;
}

.hero-frame-small {
  height: 330px;
  margin-bottom: 54px;
}

.hero-frame-tall {
  height: 590px;
}

@media (max-width: 1180px) {
  .home-atelier h1 {
    font-size: 56px;
  }

  .hero-showcase {
    min-height: 540px;
  }

  .hero-frame-large {
    height: 470px;
  }

  .hero-frame-small {
    height: 290px;
  }

  .hero-frame-tall {
    height: 520px;
  }
}

.button.primary {
  background: var(--moss);
  color: var(--porcelain);
}

.button.secondary {
  background: rgba(255, 253, 250, 0.14);
  border: 1px solid rgba(255, 253, 250, 0.55);
  color: var(--porcelain);
}

.button.outline-dark {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button.danger-button {
  border-color: #a33a2b;
  color: #a33a2b;
}

.intro-band,
.collections,
.craft-split,
.process,
.studio,
.studio-page,
.auth-page,
.footer {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.intro-band {
  align-items: center;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  padding-bottom: 76px;
  padding-top: 76px;
}

.intro-copy {
  max-width: 760px;
}

.intro-band h2,
.intro-band .intro-copy p:not(.eyebrow) {
  color: var(--porcelain);
}

.intro-band .eyebrow {
  color: #e7c982;
}

.intro-proof {
  background: rgba(255, 253, 250, 0.06);
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  padding: 8px 22px;
}

.intro-proof div {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(110px, 0.42fr) 1fr;
  padding: 21px 0;
}

.intro-proof div + div {
  border-top: 1px solid rgba(255, 253, 250, 0.18);
}

.intro-proof strong {
  color: #e7c982;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
}

.intro-proof span {
  align-self: center;
  color: rgba(255, 253, 250, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.collections,
.process,
.stories {
  padding-bottom: 96px;
  padding-top: 96px;
}

.collections {
  background: var(--porcelain);
}

.section-heading {
  margin-bottom: 36px;
  max-width: 760px;
}

.section-heading-row {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading-row .section-heading {
  margin-bottom: 0;
}

.collection-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr 1fr;
}

.product-card {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card.large {
  min-height: 0;
}

.product-card:hover {
  border-color: rgba(123, 63, 53, 0.42);
  transform: translateY(-3px);
}

.product-card img {
  aspect-ratio: 1 / 0.92;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.product-card.large img {
  height: auto;
}

.product-copy {
  display: grid;
  padding: 22px;
}

.product-copy p {
  font-size: 15px;
}

.product-copy span {
  color: var(--moss);
  font-size: 15px;
  font-weight: 800;
  margin-top: auto;
}

.product-kicker {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.craft-split {
  align-items: center;
  background: #ebece4;
  display: grid;
  gap: clamp(32px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  padding-bottom: 90px;
  padding-top: 90px;
}

.craft-images {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 0.72fr;
}

.craft-images img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 330px;
  object-fit: cover;
  width: 100%;
}

.craft-images img:first-child {
  grid-row: span 2;
  height: 676px;
}

.craft-copy {
  max-width: 620px;
}

.text-link {
  border-bottom: 1px solid var(--moss);
  color: var(--moss);
  display: inline-flex;
  font-weight: 800;
  padding-bottom: 5px;
}

.process {
  background: #eef2ee;
}

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

.process-step {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 270px;
  padding: 28px;
}

.process-step span {
  color: var(--clay);
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 38px;
  margin-bottom: 42px;
}

.process-step p {
  font-size: 15px;
}

.studio {
  align-items: center;
  background: #f1e7dd;
  color: var(--ink);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  padding-bottom: 90px;
  padding-top: 90px;
}

.studio p {
  color: var(--muted);
}

.studio h2 {
  color: var(--ink);
}

.studio .eyebrow {
  color: var(--rosewood);
}

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

.studio-gallery img {
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(46, 39, 30, 0.13);
  height: 360px;
  object-fit: cover;
  width: 100%;
}

.studio-gallery img:nth-child(2),
.studio-gallery img:nth-child(4) {
  margin-top: 44px;
}

.studio-more-button {
  background: var(--ink);
  color: var(--porcelain);
  grid-column: 2;
  justify-self: start;
}

.studio-page,
.auth-page {
  padding-bottom: 86px;
  padding-top: 150px;
}

.studio-hero,
.auth-shell {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.studio-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 58px;
}

.studio-hero-copy {
  display: grid;
  justify-items: start;
}

.studio-hero-copy > p:not(.eyebrow) {
  max-width: 640px;
}

.studio-hero-action {
  margin-top: 24px;
  min-width: 220px;
}

.studio-hero-visual {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.studio-hero-visual img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.studio-hero-visual::after {
  content: none;
}

.studio-hero h1,
.auth-shell h1,
.auth-required-panel h1 {
  color: var(--ink);
  font-size: clamp(44px, 6vw, 76px);
}

.studio-case-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 54px 0;
}

.studio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
}

.studio-filter-button,
.option-clear-button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 16px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.studio-filter-button:hover,
.studio-filter-button.is-active,
.option-clear-button:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--porcelain);
}

.studio-case {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.studio-case img {
  height: 340px;
  object-fit: cover;
  width: 100%;
}

.studio-case div {
  padding: 22px;
}

.studio-case h2 {
  font-size: clamp(18px, 1.7vw, 24px);
  overflow-wrap: anywhere;
}

.studio-case p {
  font-size: 15px;
}

.studio-case-action {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  margin-top: 16px;
  min-height: 42px;
  padding: 0 18px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.studio-case-action:hover {
  background: var(--ink);
  color: var(--porcelain);
  transform: translateY(-1px);
}

.auth-shell {
  min-height: calc(100vh - 240px);
}

.auth-copy {
  max-width: 720px;
}

.auth-proof {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.auth-proof span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 16px 0;
  text-transform: uppercase;
}

.auth-proof span + span {
  border-top: 1px solid var(--line);
}

.clerk-panel,
.auth-required-panel {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.clerk-panel h1,
.clerk-panel h2,
.clerk-panel [class*="headerTitle"] {
  font-family: "Inter", Arial, sans-serif !important;
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.08 !important;
  margin-bottom: 10px !important;
}

.clerk-panel [class*="card"] {
  max-width: 520px;
}

.clerk-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.auth-required-panel {
  margin: 88px auto;
  max-width: 760px;
}

.auth-user-button {
  align-items: center;
  display: inline-flex;
}

.account-session-card {
  background: var(--porcelain);
}

.account-session-card [data-account-user-button] {
  margin-top: 20px;
}

.account-orders-page {
  padding-top: 66px;
}

.orders-console {
  padding: 40px clamp(18px, 5vw, 72px) 70px;
}

.orders-heading {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.orders-heading h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 0;
}

.account-mini-card {
  align-items: center;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px 14px;
  grid-template-columns: 1fr auto;
  min-width: 270px;
  padding: 14px 16px;
}

.account-mini-card span,
.account-mini-card small {
  display: block;
}

.account-mini-card span {
  font-weight: 800;
}

.account-mini-card small {
  color: var(--muted);
  font-size: 13px;
}

.account-mini-card [data-account-user-button] {
  grid-row: span 2;
}

.orders-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.order-list-panel,
.order-detail-panel {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(32, 32, 29, 0.06);
}

.order-list-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.orders-layout.is-detail-open .order-list-panel {
  display: none;
}

.order-list-entry {
  border-bottom: 1px solid var(--line);
}

.order-list-entry:last-child {
  border-bottom: 0;
}

.order-list-item {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  padding: 18px 20px;
  text-align: left;
  width: 100%;
}

.order-list-summary {
  color: var(--ink);
  display: grid;
  gap: 6px;
  min-width: 0;
}

.order-list-item:hover,
.order-list-item.is-active {
  background: #f1eee7;
}

.order-list-summary > span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.order-list-summary strong {
  color: var(--ink);
  font-size: 16px;
}

.order-list-summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-list-toggle {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--moss);
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.order-list-toggle::before {
  content: "+";
  transform: translateY(-1px);
}

.order-list-item[aria-expanded="true"] .order-list-toggle::before {
  content: "-";
}

.order-inline-detail {
  background: #fbfaf7;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding: 20px;
}

.order-inline-detail[hidden] {
  display: none;
}

.order-inline-top {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.order-inline-top h2 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.order-inline-top p:last-child {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.order-inline-grid {
  margin: 0;
}

.order-empty-state {
  color: var(--muted);
  display: grid;
  gap: 6px;
  min-height: 180px;
  place-content: center;
  padding: 24px;
  text-align: center;
}

.order-empty-state strong {
  color: var(--ink);
  font-size: 18px;
}

.order-empty-state span {
  font-size: 14px;
  font-weight: 700;
}

.order-detail-panel {
  display: none;
  padding: 24px;
  min-width: 0;
}

.orders-layout.is-detail-open .order-detail-panel {
  display: block;
}

.order-back-button {
  background: transparent;
  border: 0;
  color: var(--clay);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 18px;
  padding: 0;
}

.order-detail-top {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.order-detail-top h2 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.order-detail-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}

.order-detail-grid div {
  padding: 16px 18px 16px 0;
}

.order-detail-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.order-detail-grid dd {
  font-weight: 800;
  margin: 0;
}

.compact-progress {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compact-progress span {
  background: #ede8df;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  min-height: 36px;
  padding: 11px 10px;
  text-align: center;
  min-width: 0;
  overflow-wrap: anywhere;
}

.compact-progress span.done {
  background: rgba(95, 117, 103, 0.16);
  color: var(--moss);
}

.compact-progress span.active {
  background: var(--moss);
  color: var(--porcelain);
}

.order-note {
  background: #f4f0e8;
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.order-note p {
  margin-bottom: 0;
}

.order-photo-panel {
  background: #f6f2ea;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.order-photo-panel strong {
  color: var(--ink);
  font-size: 15px;
}

.order-photo-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}

.order-photo-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.order-photo-grid img {
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.editable-order-photo {
  display: grid;
  gap: 7px;
}

.editable-order-photo button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  min-height: 28px;
}

.editable-order-photo button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.order-editor-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.order-editor-button {
  align-items: center;
  appearance: none;
  background: var(--moss);
  border: 0;
  border-radius: 999px;
  color: var(--porcelain);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
}

.order-editor-button input {
  display: none;
}

.order-editor-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.order-editor-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.order-editor-message[data-type="error"] {
  color: #9d4b35;
}

.order-editor-message[data-type="success"] {
  color: var(--moss);
}

.order-note-textarea {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  margin-top: 10px;
  min-height: 96px;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.order-note-history {
  border-top: 1px solid rgba(215, 205, 190, 0.9);
  margin-top: 14px;
  padding-top: 12px;
}

.order-note-history summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.order-note-history-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.order-note-history-list li {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(215, 205, 190, 0.8);
  border-radius: 8px;
  padding: 10px;
}

.order-note-history-list time,
.order-history-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-note-history-list p {
  margin: 5px 0 0;
}

.admin-customer-note-current {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(215, 205, 190, 0.9);
  border-radius: 8px;
  margin: 10px 0 0;
  min-height: 56px;
  overflow-wrap: anywhere;
  padding: 12px;
  white-space: pre-wrap;
}

.admin-note-history {
  margin-top: 14px;
}

.admin-note-history-list p strong {
  color: var(--ink);
}

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

.story-grid article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.story-grid img {
  border-radius: 8px;
  height: 430px;
  object-fit: cover;
  width: 100%;
}

.story-grid p {
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  margin: 20px 0 0;
}

.start {
  align-items: center;
  background: var(--clay);
  color: var(--porcelain);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding-bottom: 70px;
  padding-top: 70px;
}

.start div {
  max-width: 760px;
}

.start p {
  color: rgba(255, 253, 250, 0.8);
}

.start .eyebrow {
  color: #f4d89d;
}

.start .button.primary {
  background: var(--porcelain);
  color: var(--ink);
  flex: 0 0 auto;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--porcelain);
  display: flex;
  justify-content: space-between;
  padding-bottom: 32px;
  padding-top: 32px;
}

.footer p {
  color: rgba(255, 253, 250, 0.66);
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 253, 250, 0.72);
}

.legal-page {
  padding: 136px clamp(20px, 5vw, 72px) 84px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  margin: 0 auto 42px;
  max-width: 920px;
  padding-bottom: 34px;
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 18px;
}

.legal-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 760px;
}

.legal-content {
  display: grid;
  gap: 34px;
  margin: 0 auto;
  max-width: 920px;
}

.legal-section {
  border-bottom: 1px solid rgba(222, 215, 202, 0.86);
  padding-bottom: 30px;
}

.legal-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

.legal-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.legal-section p {
  margin-bottom: 14px;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-section a {
  color: var(--moss);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 24px;
  padding: 18px 20px;
}

.products-page {
  padding-top: 66px;
}

.products-hero,
.product-list-section,
.products-seo-copy {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.products-hero {
  align-items: center;
  background: var(--porcelain);
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  padding-bottom: 78px;
  padding-top: 78px;
}

.products-hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 72px);
}

.products-hero-copy {
  max-width: 720px;
}

.products-hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.product-list-section {
  padding-bottom: 94px;
  padding-top: 88px;
}

.collection-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex: 0 1 360px;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  padding-top: 18px;
}

.all-products-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.catalog-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(32, 32, 29, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.catalog-card > img,
.catalog-media img {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  width: 100%;
}

.catalog-media {
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  position: relative;
}

.catalog-media img {
  height: 100%;
}

.catalog-carousel-button {
  align-items: center;
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(32, 32, 29, 0.12);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 26px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
  width: 38px;
  z-index: 2;
}

.catalog-carousel-button:hover {
  background: var(--porcelain);
  transform: translateY(-50%) scale(1.04);
}

.catalog-carousel-button.prev {
  left: 12px;
}

.catalog-carousel-button.next {
  right: 12px;
}

.catalog-carousel-count {
  background: rgba(32, 32, 29, 0.72);
  border-radius: 999px;
  bottom: 12px;
  color: var(--porcelain);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  position: absolute;
  right: 12px;
  z-index: 2;
}

.catalog-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.catalog-copy p {
  font-size: 15px;
}

.catalog-copy dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 18px;
}

.catalog-copy dl div {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.catalog-copy dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-copy dd {
  color: var(--moss);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.catalog-link {
  border-bottom: 1px solid var(--moss);
  color: var(--moss);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-top: 18px;
  padding-bottom: 5px;
  width: fit-content;
}

.products-seo-copy {
  background: #ebece4;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  padding-bottom: 84px;
  padding-top: 84px;
}

.products-seo-copy p:last-child {
  margin-bottom: 0;
}

.product-detail-page {
  padding-top: 66px;
}

.mobile-sticky-purchase {
  display: none;
}

.breadcrumb,
.product-detail-hero,
.product-trust-bar,
.detail-section {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.breadcrumb {
  align-items: center;
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  padding-bottom: 18px;
  padding-top: 22px;
}

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

.product-detail-hero {
  align-items: start;
  background: var(--porcelain);
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.72fr);
  padding-bottom: 86px;
  padding-top: 54px;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-main-media {
  aspect-ratio: 1 / 0.78;
  background: var(--porcelain);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.product-main-image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
}

.gallery-arrow {
  align-items: center;
  background: rgba(251, 250, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 34px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
  width: 48px;
  z-index: 2;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  background: var(--porcelain);
}

.product-main-media:hover .gallery-arrow,
.product-main-media:focus-within .gallery-arrow {
  opacity: 1;
}

.gallery-arrow-prev {
  left: 16px;
}

.gallery-arrow-next {
  right: 16px;
}

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

.thumb-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.thumb-button.is-active {
  border-color: var(--moss);
  box-shadow: 0 0 0 2px rgba(49, 72, 59, 0.16);
}

.thumb-button img {
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
  width: 100%;
}

.product-purchase-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  position: sticky;
  top: 92px;
}

.product-purchase-panel h1 {
  color: var(--ink);
  font-size: clamp(36px, 4vw, 58px);
  margin-bottom: 18px;
}

.price-row {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 24px 0;
  padding: 18px 0;
}

.price {
  color: var(--moss);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

.price-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.product-options fieldset {
  border: 0;
  margin: 0 0 22px;
  padding: 0;
}

.product-options legend {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}

.product-detail-options {
  display: grid;
  gap: 22px;
}

.option-choice-group {
  display: grid;
  gap: 12px;
}

.option-choice-heading {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.option-choice-heading strong {
  color: var(--ink);
  font-weight: 800;
}

.option-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.option-choice-button {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(49, 72, 59, 0.24);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 58px;
  padding: 14px 16px;
  text-align: left;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.option-choice-button:hover {
  border-color: rgba(49, 72, 59, 0.55);
}

.option-choice-button.is-selected {
  background: rgba(49, 72, 59, 0.08);
  border-color: var(--moss);
  box-shadow: inset 0 0 0 1px var(--moss);
  color: var(--moss);
}

.option-choice-button:disabled {
  background: rgba(236, 231, 222, 0.48);
  color: rgba(36, 35, 31, 0.42);
  cursor: not-allowed;
}

.option-match-message {
  color: #9d4b35;
  font-size: 14px;
  font-weight: 700;
  margin: -6px 0 0;
}

.custom-amount-options {
  gap: 12px;
}

.custom-amount-field {
  background: #fff;
  border: 1px solid rgba(49, 72, 59, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.custom-amount-field span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.custom-amount-field input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  min-height: 58px;
  padding: 12px 14px;
  width: 100%;
}

.custom-amount-field small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.product-option-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.option-card {
  align-items: center;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  margin-bottom: 10px;
  padding: 14px;
}

.option-card:has(input:checked) {
  border-color: var(--moss);
  box-shadow: 0 0 0 2px rgba(49, 72, 59, 0.12);
}

.option-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.option-card input,
.segmented-options input {
  accent-color: var(--moss);
}

.option-card strong {
  display: block;
  margin-bottom: 4px;
}

.option-card small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.option-card em {
  color: var(--moss);
  font-style: normal;
  font-weight: 800;
}

.segmented-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.segmented-options label,
.upload-placeholder,
.product-options select {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 14px;
}

.segmented-options label {
  cursor: pointer;
}

.product-options select {
  width: 100%;
}

.customer-order-fields {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin: 18px 0 20px;
  padding-top: 18px;
}

.customer-upload-box {
  background: var(--porcelain);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.customer-upload-box input {
  display: none;
}

.customer-upload-box > span,
.customer-note-field {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.customer-upload-box strong {
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: var(--moss);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  padding: 9px 14px;
  width: fit-content;
}

.customer-upload-box small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.customer-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-upload-thumb {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  height: 64px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 64px;
}

.customer-upload-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.customer-upload-thumb span {
  align-items: center;
  background: #b84f3a;
  border: 2px solid var(--porcelain);
  border-radius: 999px;
  color: var(--porcelain);
  display: flex;
  font-size: 16px;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  position: absolute;
  left: 5px;
  top: 5px;
  width: 26px;
}

.customer-note-field textarea {
  margin-top: 8px;
  resize: vertical;
}

.upload-placeholder {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.upload-placeholder input {
  display: none;
}

.upload-placeholder strong {
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: var(--moss);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  padding: 9px 14px;
  width: fit-content;
}

.upload-placeholder small,
.microcopy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.detail-cart-button {
  border: 0;
  cursor: pointer;
  margin-bottom: 12px;
  width: 100%;
}

.detail-cart-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.checkout-message {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 14px;
  padding: 0;
}

.checkout-message:not(:empty) {
  background: rgba(49, 72, 59, 0.1);
  color: var(--moss);
  padding: 11px 12px;
}

.checkout-message[data-type="error"] {
  background: rgba(157, 94, 70, 0.12);
  color: var(--clay);
}

.checkout-message a {
  color: inherit;
  display: inline-flex;
  font-weight: 900;
  margin-left: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-popup-page {
  background: var(--paper);
}

.auth-popup-page .site-header,
.auth-popup-page .auth-copy {
  display: none;
}

.auth-popup-page .auth-page {
  min-height: 100vh;
  padding: 20px;
}

.auth-popup-page .auth-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: block;
  min-height: 0;
  padding: 0;
}

.auth-popup-page .clerk-panel {
  margin: 0 auto;
  max-width: 420px;
}

.auth-popup-complete {
  align-items: center;
  background: var(--paper);
  display: flex;
  min-height: 100vh;
  justify-content: center;
}

.auth-popup-complete-panel {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(32, 32, 29, 0.08);
  padding: 28px;
  text-align: center;
}

.auth-popup-complete-panel strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.auth-popup-complete-panel p {
  color: var(--muted);
  margin: 0;
}

.product-trust-bar {
  background: var(--moss);
  color: var(--porcelain);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.product-trust-bar div {
  border-left: 1px solid rgba(255, 253, 250, 0.18);
  padding: 28px;
}

.product-trust-bar div:first-child {
  border-left: 0;
}

.product-trust-bar strong {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.product-trust-bar span {
  color: rgba(255, 253, 250, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.detail-section {
  padding-bottom: 86px;
  padding-top: 86px;
}

.product-custom-detail {
  overflow: hidden;
  padding: 0 clamp(20px, 5vw, 72px) 86px;
}

.product-custom-detail-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.split-detail,
.product-faq {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
}

.photo-guide,
.product-faq {
  background: var(--porcelain);
}

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

.guide-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 190px;
  padding: 24px;
}

.guide-grid p,
.timeline p {
  font-size: 15px;
}

.process-detail {
  background: #ebece4;
}

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

.timeline div {
  border-top: 1px solid rgba(49, 72, 59, 0.28);
  padding-top: 18px;
}

.timeline span {
  color: var(--clay);
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 34px;
  margin-bottom: 26px;
}

.timeline strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  font-size: 15px;
  margin: 14px 0 0;
}

.console-body {
  background: #f1eee8;
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  min-height: 100vh;
}

.console-sidebar {
  background: var(--ink);
  bottom: 0;
  color: var(--porcelain);
  display: flex;
  flex-direction: column;
  gap: 28px;
  left: 0;
  padding: 24px;
  position: fixed;
  top: 0;
  width: 280px;
  z-index: 40;
}

.console-brand {
  color: var(--porcelain);
  min-width: 0;
}

.console-nav {
  display: grid;
  gap: 8px;
}

.console-nav button,
.console-nav a {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 253, 250, 0.72);
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: 800;
  padding: 13px 14px;
  text-align: left;
}

.console-nav button.is-active,
.console-nav button:hover,
.console-nav a.is-active,
.console-nav a:hover {
  background: rgba(255, 253, 250, 0.1);
  color: var(--porcelain);
}

.console-sidebar-note {
  border-top: 1px solid rgba(255, 253, 250, 0.16);
  color: rgba(255, 253, 250, 0.68);
  display: grid;
  font-size: 13px;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.console-sidebar-note strong {
  color: var(--porcelain);
}

.console-main {
  margin-left: 280px;
  padding: 34px;
}

.console-topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.console-topbar h1 {
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 0;
}

.console-actions {
  display: flex;
  gap: 12px;
}

.console-actions .button.primary,
.admin-form .button.primary,
.order-detail .button.primary {
  border: 0;
}

.console-panel {
  display: none;
}

.console-panel.is-active {
  display: block;
}

.metric-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.metric-grid article,
.tool-surface,
.customer-panel,
.account-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.metric-grid span,
.metric-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid strong {
  color: var(--moss);
  font-family: inherit;
  font-size: 34px;
}

.order-status-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.status-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 12px;
  min-height: 166px;
  padding: 24px;
  position: relative;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.status-card::before {
  background: transparent;
  border-radius: 8px 8px 0 0;
  content: "";
  height: 4px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.status-card:hover,
.status-card.is-active {
  border-color: rgba(49, 72, 59, 0.5);
  box-shadow: 0 14px 34px rgba(46, 39, 30, 0.1);
  transform: translateY(-1px);
}

.status-card.is-active {
  background: #f8fbf5;
}

.status-card.is-active::before {
  background: var(--moss);
}

.status-card span,
.status-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-card strong {
  color: var(--moss);
  font-family: inherit;
  font-size: 42px;
  line-height: 1;
}

.order-list-surface {
  margin-bottom: 18px;
}

.order-list-surface > .order-list-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  overflow: hidden;
  background: var(--porcelain);
}

.order-list-surface > .order-list-panel.is-active {
  display: block;
}

.order-list-row {
  align-items: center;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(150px, 0.95fr) 0.9fr minmax(180px, 1.35fr) 0.65fr minmax(180px, 1.25fr);
  min-height: 62px;
  padding: 16px 18px;
}

a.order-list-row:hover {
  background: #f8fbf5;
}

.order-list-row + .order-list-row {
  border-top: 1px solid var(--line);
}

.order-list-row.header {
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  min-height: 48px;
}

.order-list-row span {
  line-height: 1.45;
  min-width: 0;
}

.order-list-row:not(.header) span:first-child {
  color: var(--moss);
  font-weight: 900;
}

.admin-chat-console {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 1fr);
  min-height: calc(100vh - 150px);
}

.admin-chat-list,
.admin-chat-thread {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.admin-chat-list {
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 8px;
}

.admin-chat-list-item {
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: block;
  margin-bottom: 8px;
  min-height: 76px;
  padding: 11px 12px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease;
  width: 100%;
}

.admin-chat-list-item:hover,
.admin-chat-list-item.is-active {
  background: #f8fbf5;
  border-color: rgba(49, 72, 59, 0.28);
}

.admin-chat-list-item span {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 5px;
}

.admin-chat-list-item strong {
  font-size: 14px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chat-list-item b {
  align-items: center;
  background: var(--clay);
  border-radius: 999px;
  color: var(--porcelain);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 7px;
}

.admin-chat-list-item small,
.admin-chat-list-item p {
  color: var(--muted);
  margin: 0;
}

.admin-chat-list-item small {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 7px;
}

.admin-chat-list-item p {
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.admin-chat-thread {
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto auto;
  overflow: hidden;
}

.admin-chat-thread-head {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 22px;
}

.admin-chat-thread-head h2 {
  font-family: inherit;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 6px;
}

.admin-chat-thread-head p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.admin-chat-messages {
  background: #f7f4ee;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 20px;
}

.admin-chat-message {
  display: grid;
  gap: 6px;
  max-width: min(72%, 680px);
}

.admin-chat-message p {
  border-radius: 8px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
  word-break: break-word;
}

.admin-chat-image-link {
  display: block;
}

.admin-chat-image-link img {
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 220px;
  max-width: min(280px, 100%);
  object-fit: cover;
}

.admin-chat-message time {
  color: var(--muted);
  font-size: 12px;
}

.admin-chat-read-state {
  color: var(--moss);
  font-weight: 800;
}

.admin-chat-message.is-customer {
  align-self: flex-start;
}

.admin-chat-message.is-customer p {
  background: var(--porcelain);
  border: 1px solid var(--line);
}

.admin-chat-message.is-admin {
  align-self: flex-end;
}

.admin-chat-message.is-admin p {
  background: var(--moss);
  color: var(--porcelain);
}

.admin-chat-message.is-admin time {
  text-align: right;
}

.admin-chat-reply {
  align-items: stretch;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.admin-chat-upload-row {
  align-items: center;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-chat-upload-row .button {
  min-height: 36px;
  padding: 0 14px;
}

.admin-chat-upload-row span {
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-chat-reply textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 70px;
  padding: 12px;
  resize: vertical;
}

.admin-chat-reply .button {
  border: 0;
}

.console-grid,
.customer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  margin-bottom: 18px;
}

.customer-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.tool-surface,
.customer-panel {
  padding: 24px;
}

.tool-surface.wide,
.customer-panel.wide {
  grid-column: span 1;
}

.tool-heading {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tool-heading h2,
.tool-surface h2,
.customer-panel h2,
.account-card h2 {
  font-family: inherit;
  font-size: clamp(25px, 3vw, 34px);
}

.tool-heading select,
.field-label input,
.field-label textarea,
.field-label select,
.admin-form select,
.tool-surface select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

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

.kanban-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 360px;
  padding: 14px;
}

.kanban-grid h3 {
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.order-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 14px;
}

.order-card span,
.order-card small {
  color: var(--muted);
  line-height: 1.45;
}

.detail-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 18px 0;
}

.detail-list div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-width: 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd {
  color: var(--ink);
  font-weight: 700;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
  word-break: break-word;
}

.admin-timeline,
.customer-progress {
  display: grid;
  gap: 10px;
}

.admin-timeline {
  margin-bottom: 20px;
}

.admin-timeline span,
.status-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 12px;
}

.admin-timeline .done,
.customer-progress .done span {
  background: rgba(49, 72, 59, 0.12);
  color: var(--moss);
}

.admin-timeline .active,
.status-pill,
.customer-progress .active span {
  background: var(--moss);
  color: var(--porcelain);
}

.field-label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.field-label input,
.field-label textarea,
.field-label select {
  text-transform: none;
  width: 100%;
}

.admin-form {
  display: grid;
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.admin-upload {
  margin-top: 4px;
}

.admin-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 0.65fr 0.65fr 0.65fr;
  padding: 15px 16px;
}

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

.admin-row.header {
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.customers-table .admin-row {
  grid-template-columns: 0.9fr 1.2fr 0.5fr 0.8fr;
}

.product-manager-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.product-library {
  align-self: start;
}

.product-admin-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-admin-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 12px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-admin-card:hover,
.product-admin-card.is-active {
  background: #f8fbf5;
  border-color: rgba(49, 72, 59, 0.48);
  transform: translateY(-1px);
}

.product-admin-card img {
  aspect-ratio: 1;
  border-radius: 8px;
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.product-admin-card span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-admin-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.product-admin-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-editor-panel {
  display: none;
}

.product-editor-surface {
  display: none;
}

.product-editor-panel.is-active {
  display: grid;
  gap: 22px;
}

.product-editor-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
}

.product-media-editor {
  align-content: start;
  align-self: start;
  display: grid;
  gap: 10px;
  grid-auto-rows: max-content;
}

.product-media-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.product-media-header > span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.product-media-editor > img,
.product-main-slider > img {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.product-main-slider {
  display: grid;
  position: relative;
}

.product-main-slider > img {
  grid-area: 1 / 1;
  max-height: 340px;
}

.slider-arrow {
  align-self: center;
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  font-weight: 800;
  grid-area: 1 / 1;
  height: 44px;
  justify-self: start;
  margin-inline: 12px;
  width: 44px;
  z-index: 2;
}

.slider-arrow[data-main-slide="next"] {
  justify-self: end;
}

.admin-image-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
}

.admin-image-thumb {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 92px;
  height: 92px;
  padding: 0;
  position: relative;
  scroll-snap-align: start;
  text-align: left;
}

.product-media-editor .admin-image-thumb {
  flex-basis: 66px;
  height: 66px;
}

.main-upload-only {
  align-items: center;
  background: transparent;
  border: 0;
  justify-items: start;
  justify-self: start;
  margin: 2px 0 4px;
  min-height: 0;
  padding: 0;
}

.main-upload-only strong {
  margin: 0;
  white-space: nowrap;
}

.admin-image-thumb.is-active {
  border-color: var(--moss);
  box-shadow: 0 0 0 2px rgba(49, 72, 59, 0.14);
}

.admin-image-thumb img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-image-thumb b {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--porcelain);
  display: flex;
  font-size: 14px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: -6px;
  top: -6px;
  width: 24px;
  z-index: 2;
}

.studio-admin-grid {
  grid-auto-columns: unset;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  width: 100%;
}

.studio-admin-card {
  color: inherit;
  position: relative;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.studio-delete-button {
  background: rgba(163, 58, 43, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--porcelain);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 14px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
}

.studio-delete-button:hover {
  background: #842f23;
}

.studio-delete-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.studio-admin-card:hover {
  border-color: rgba(49, 72, 59, 0.45);
  box-shadow: 0 14px 34px rgba(46, 39, 30, 0.1);
  transform: translateY(-1px);
}

.studio-admin-card .studio-case-action {
  display: none;
}

.studio-edit-surface {
  margin-bottom: 40px;
}

.compact-upload {
  min-height: 150px;
}

.product-edit-form {
  align-content: start;
}

.option-editor {
  background: #fffbea;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 22px;
  padding: 18px;
}

.option-editor-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.option-editor-heading h3 {
  margin: 0;
}

.option-editor-heading p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin: 6px 0 0;
}

.option-editor-heading p span {
  background: #d2d2d2;
  color: var(--ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-right: 8px;
  padding: 4px 9px;
}

.option-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sku-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
}

.option-builder {
  display: grid;
  gap: 20px;
}

.option-group-board {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.option-group-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.option-group-move,
.option-group-title,
.choice-row,
.choice-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.option-group-move {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
}

.option-group-move button,
.option-group-title button,
.choice-row button {
  background: transparent;
  border: 0;
  color: var(--moss);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 36px;
  padding: 0;
}

.option-group-move button:disabled {
  color: #c9c6bd;
  cursor: not-allowed;
}

.option-group-move button:last-child {
  text-align: right;
}

.option-group-title {
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.option-group-title strong,
.choice-row span {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.option-group-title input,
.choice-row input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  padding: 11px 12px;
  width: 100%;
}

.choice-list {
  display: grid;
}

.choice-row {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.choice-actions {
  grid-template-columns: auto minmax(0, 1fr);
}

.choice-actions small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sku-combo-heading {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.generated-sku-table {
  background: var(--porcelain);
}

.sku-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.1fr) minmax(90px, 0.38fr) minmax(110px, 0.42fr) minmax(150px, 0.62fr) minmax(260px, 1.2fr);
  padding: 14px 16px;
}

.sku-row-wide {
  grid-template-columns:
    minmax(160px, 0.8fr)
    minmax(160px, 0.8fr)
    minmax(160px, 0.8fr)
    minmax(90px, 0.4fr)
    minmax(110px, 0.42fr)
    minmax(150px, 0.62fr)
    minmax(260px, 1.1fr)
    minmax(90px, 0.3fr);
}

.sku-row-dynamic {
  grid-template-columns:
    repeat(var(--sku-level-count, 2), minmax(150px, 0.75fr))
    minmax(90px, 0.36fr)
    minmax(110px, 0.42fr)
    minmax(150px, 0.58fr)
    minmax(260px, 1fr)
    minmax(90px, 0.32fr);
  min-width: var(--sku-row-min-width, 1160px);
  width: var(--sku-row-min-width, 1160px);
}

.generated-sku-row {
  grid-template-columns:
    minmax(180px, 1fr)
    repeat(var(--sku-level-count, 1), minmax(120px, 0.7fr))
    minmax(90px, 0.35fr)
    minmax(170px, 0.5fr)
    minmax(210px, 0.72fr);
  min-width: var(--sku-row-min-width, 960px);
  width: var(--sku-row-min-width, 960px);
}

.generated-sku-row strong {
  color: var(--moss);
  overflow-wrap: anywhere;
}

.generated-sku-row > span {
  overflow-wrap: anywhere;
}

.sku-empty {
  color: var(--muted);
  font-weight: 800;
  padding: 18px;
}

.is-hidden {
  display: none !important;
}

.compact-action {
  min-height: 44px;
  padding-inline: 14px;
}

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

.sku-row.header {
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sku-purchasable-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sku-purchasable-head b {
  color: inherit;
  font: inherit;
  margin-right: 2px;
}

.sku-purchasable-head button {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--moss);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 28px;
  padding: 5px 10px;
  white-space: nowrap;
}

.sku-purchasable-head button:hover {
  border-color: var(--moss);
}

.sku-row input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  padding: 11px 12px;
  width: 100%;
}

.sku-image-control {
  align-items: start;
  display: grid;
  gap: 6px 8px;
  grid-template-columns: minmax(150px, 1fr) auto;
}

.sku-image-upload {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: 48px minmax(86px, 1fr);
  min-height: 58px;
  padding: 6px;
}

.sku-image-preview-box {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(246, 239, 229, 0.92), rgba(255, 253, 250, 0.88));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 48px;
  overflow: hidden;
  width: 48px;
}

.sku-image-upload img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sku-image-upload img[hidden] {
  display: none;
}

.sku-image-upload input {
  display: none;
}

.sku-image-upload-button {
  align-items: center;
  background: var(--moss);
  border: 1px solid var(--moss);
  border-radius: 999px;
  color: #fffaf3;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-width: 64px;
  min-height: 32px;
  padding: 7px 13px;
  white-space: nowrap;
}

.sku-image-upload-button span {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
}

.sku-image-remove {
  background: transparent;
  border: 1px solid #b84f3a;
  border-radius: 999px;
  color: #b84f3a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 32px;
  padding: 7px 10px;
  white-space: nowrap;
}

.sku-image-remove[hidden] {
  display: none;
}

.sku-image-control small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  grid-column: 1 / -1;
  min-height: 1em;
  overflow-wrap: anywhere;
}

.sku-image-control small[data-type="success"] {
  color: var(--moss);
}

.sku-image-control small[data-type="error"] {
  color: #b84f3a;
}

.admin-checkbox {
  align-items: center;
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
}

.admin-checkbox input {
  width: auto;
}

.image-console {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 270px;
  min-height: 720px;
  overflow: hidden;
}

.image-folder-panel,
.image-detail-panel {
  background: #f5f5f3;
  padding: 16px;
}

.image-folder-panel {
  border-right: 1px solid var(--line);
}

.image-detail-panel {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
}

.image-mode-tabs {
  background: #d5d5d5;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
  padding: 2px;
}

.image-mode-tabs button,
.image-view-toggle button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 8px 10px;
}

.image-mode-tabs button {
  background: transparent;
  color: #fff;
}

.image-mode-tabs .is-active,
.image-view-toggle .is-active {
  background: #1598ee;
  color: #fff;
}

.image-detail-toggle {
  justify-content: flex-end;
  margin: 8px 0 22px;
}

.compact-field {
  gap: 8px;
}

.folder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
}

.folder-actions .button {
  min-height: 36px;
  padding: 7px 10px;
}

.image-folder-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
  max-height: 440px;
  overflow-y: auto;
  padding-top: 10px;
}

.image-folder-list button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  gap: 8px;
  padding: 7px 8px;
  text-align: left;
}

.image-folder-list button.is-active,
.image-folder-list button:hover {
  background: #e7f2ff;
  color: #0878c8;
}

.folder-icon {
  background: #ffc22b;
  border-radius: 3px;
  display: inline-block;
  height: 15px;
  position: relative;
  width: 21px;
}

.folder-icon::before {
  background: #ffc22b;
  border-radius: 3px 3px 0 0;
  content: "";
  height: 6px;
  left: 2px;
  position: absolute;
  top: -4px;
  width: 10px;
}

.image-library-panel {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  min-width: 0;
  padding: 16px;
}

.image-library-header,
.image-list-toolbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.image-library-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.image-library-header h2 {
  font-size: 18px;
  margin: 0;
}

.image-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.image-header-actions input {
  display: none;
}

.image-bulk-bar {
  align-items: center;
  background: #f0f0f0;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
}

.image-bulk-bar span {
  font-weight: 900;
  margin-right: auto;
}

.image-bulk-bar .button,
.image-list-toolbar select {
  min-height: 34px;
  padding: 6px 12px;
}

.image-list-toolbar {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.image-list-toolbar label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.image-view-toggle {
  background: #d0d0d0;
  border-radius: 999px;
  display: flex;
  padding: 2px;
}

.image-view-toggle button {
  background: transparent;
  color: #fff;
  min-width: 38px;
}

.image-card-grid {
  align-content: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  overflow-y: auto;
  padding: 6px 2px 18px;
}

.image-card-grid.is-list-view {
  grid-template-columns: 1fr;
}

.image-card-grid.is-list-view .image-asset-card {
  align-items: center;
  grid-template-columns: 86px 120px minmax(0, 1fr) 150px;
}

.image-card-grid.is-list-view .image-asset-card > img {
  aspect-ratio: 1;
}

.image-card-grid.is-list-view .image-card-caption {
  margin-top: 0;
}

.image-asset-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(25, 24, 21, 0.1);
  cursor: pointer;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.image-asset-card.is-active {
  border-color: #1598ee;
  box-shadow: 0 0 0 2px rgba(21, 152, 238, 0.22), 0 2px 8px rgba(25, 24, 21, 0.12);
}

.image-card-tools {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.image-card-tools button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.image-asset-card > img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.image-card-caption {
  background: rgba(25, 24, 21, 0.68);
  color: #fffdfa;
  display: grid;
  gap: 3px;
  margin-top: -62px;
  min-height: 52px;
  padding: 8px 10px;
  position: relative;
}

.image-card-caption strong,
.image-card-caption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-card-grid:not(.show-image-details) .image-card-caption span {
  display: none;
}

.image-url-copy {
  background: #fff;
  border: 1px solid var(--muted);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
}

.storage-meter {
  background: #ececec;
  border-radius: 4px;
  height: 20px;
  overflow: hidden;
}

.storage-meter span {
  background: #2d7fba;
  display: block;
  height: 100%;
}

.storage-copy {
  color: var(--ink);
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.image-detail-preview img {
  aspect-ratio: 1;
  background: #fff;
  object-fit: cover;
  width: 100%;
}

.image-meta-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.image-meta-list div {
  display: grid;
  gap: 5px;
}

.image-meta-list dt {
  color: var(--ink);
  font-weight: 900;
}

.image-meta-list dd {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.image-meta-list input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 9px 10px;
  width: 100%;
}

.detail-main {
  margin-left: 0;
  min-height: 100vh;
  padding: 34px clamp(24px, 4vw, 56px);
}

.detail-admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
}

.detail-hero-image {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.detail-section-block {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.detail-section-block h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.customer-image-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-image-grid img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.admin-image-list {
  display: grid;
  gap: 10px;
}

.check-list {
  color: var(--muted);
  display: grid;
  gap: 12px;
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
}

.account-page {
  padding-top: 66px;
}

.account-hero,
.customer-dashboard,
.register-band {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.account-hero {
  align-items: center;
  background: var(--porcelain);
  display: grid;
  gap: clamp(32px, 5vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  padding-bottom: 78px;
  padding-top: 78px;
}

.account-hero > * {
  min-width: 0;
}

.account-hero h1 {
  color: var(--ink);
  font-size: clamp(44px, 6vw, 80px);
}

.account-card {
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 28px;
}

.account-card .button {
  border: 0;
  margin-bottom: 16px;
  width: 100%;
}

.success-hero {
  align-items: start;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.74fr);
}

.success-copy {
  display: grid;
  gap: 20px;
}

.success-copy .button {
  justify-self: start;
}

.success-order-number {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.success-order-number span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.success-order-number strong {
  color: var(--moss);
  font-size: clamp(22px, 4vw, 34px);
  overflow-wrap: anywhere;
}

.success-detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.success-card:first-child {
  grid-column: 1 / -1;
}

.success-card h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.customer-dashboard {
  padding-bottom: 80px;
  padding-top: 80px;
}

.customer-summary {
  align-items: center;
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 26px;
}

.customer-summary h2 {
  margin-bottom: 8px;
}

.customer-progress {
  grid-template-columns: repeat(2, 1fr);
}

.customer-progress div {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 178px;
  padding: 18px;
}

.customer-progress span {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 20px;
  width: 34px;
}

.customer-progress p {
  font-size: 14px;
  margin-bottom: 0;
}

.customer-progress strong {
  display: block;
  line-height: 1.25;
  margin-bottom: 10px;
}

.register-band {
  align-items: center;
  background: var(--clay);
  color: var(--porcelain);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding-bottom: 70px;
  padding-top: 70px;
}

.register-band p {
  color: rgba(255, 253, 250, 0.8);
}

.register-band .eyebrow {
  color: #f4d89d;
}

.register-band .button.primary {
  background: var(--porcelain);
  border: 0;
  color: var(--ink);
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    padding-bottom: 12px;
  }

  .nav {
    background: #f2ede5;
    border: 1px solid rgba(222, 215, 202, 0.82);
    border-radius: 999px;
    display: flex;
    flex: 0 0 100%;
    gap: 4px;
    justify-content: center;
    order: 3;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .nav a:hover {
    background: var(--porcelain);
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-actions {
    gap: 14px;
    margin-left: 0;
  }

  .auth-link {
    font-size: 12px;
    white-space: nowrap;
  }

  .account-orders-page {
    padding-top: 108px;
  }

  .intro-band,
  .home-atelier,
  .collection-grid,
  .craft-split,
  .process-grid,
  .studio,
  .studio-hero,
  .auth-shell,
  .products-hero,
  .products-seo-copy,
  .product-detail-hero,
  .split-detail,
  .product-faq {
    grid-template-columns: 1fr;
  }

  .home-atelier {
    min-height: 0;
    padding-top: 154px;
  }

  .home-atelier::before {
    top: 128px;
  }

  .home-atelier h1 {
    font-size: 52px;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .hero-frame-large,
  .hero-frame-tall {
    height: 410px;
  }

  .hero-frame-small {
    height: 300px;
    margin-bottom: 0;
  }

  .hero-frame-tall {
    grid-column: span 2;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .all-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-trust-bar,
  .guide-grid,
  .timeline,
  .metric-grid,
  .order-status-grid,
  .kanban-grid,
  .customer-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .console-sidebar {
    bottom: auto;
    position: static;
    width: auto;
  }

  .console-main {
    margin-left: 0;
    padding: 24px;
  }

  .console-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .console-grid,
  .customer-grid,
  .admin-chat-console,
  .product-manager-grid,
  .detail-admin-grid,
  .account-hero,
  .success-hero,
  .orders-layout {
    grid-template-columns: 1fr;
  }

  .admin-chat-list {
    max-height: 320px;
  }

  .success-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .tool-surface.wide,
  .customer-panel.wide,
  .tool-surface,
  .customer-panel {
    grid-column: auto;
    min-width: 0;
  }

  .product-card,
  .product-card.large {
    min-height: 0;
  }

  .product-card img,
  .product-card.large img {
    aspect-ratio: 1 / 0.78;
    height: auto;
  }

  .craft-images img:first-child {
    height: 520px;
  }

  .studio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-more-button {
    grid-column: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 8px 10px;
    padding: 10px 12px 9px;
  }

  .brand {
    font-size: 14px;
    gap: 8px;
    line-height: 1.08;
  }

  .brand-mark {
    height: 42px;
    width: 42px;
  }

  .brand span:last-child {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .auth-link {
    font-size: 11px;
    font-weight: 800;
  }

  .nav {
    justify-content: space-between;
    width: 100%;
  }

  .nav a {
    font-size: 11px;
    padding: 8px 9px;
  }

  .hero {
    min-height: 88vh;
  }

  .home-atelier {
    gap: 30px;
    min-height: 0;
    padding: 134px 20px 58px;
  }

  .home-atelier::before {
    left: 20px;
    right: 20px;
    top: 112px;
  }

  .hero-content {
    padding: 20vh 20px 12vh;
  }

  .home-atelier .hero-content {
    padding: 0;
  }

  .home-atelier h1 {
    font-size: 40px;
  }

  .home-atelier p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-proof-row {
    margin-top: 30px;
  }

  .hero-showcase {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .hero-showcase::before {
    display: none;
  }

  .hero-frame,
  .hero-frame-tall {
    grid-column: auto;
  }

  .hero-frame-large,
  .hero-frame-small,
  .hero-frame-tall {
    height: auto;
  }

  .hero-frame img {
    aspect-ratio: 1 / 0.82;
    height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 15, 0.76), rgba(16, 18, 15, 0.46)),
      linear-gradient(180deg, rgba(16, 18, 15, 0.15), rgba(16, 18, 15, 0.56));
  }

  h1 {
    font-size: 40px;
  }

  .success-page {
    padding-top: 108px;
  }

  .success-hero {
    padding-bottom: 42px;
    padding-top: 34px;
  }

  .success-hero h1 {
    font-size: 40px;
  }

  .success-detail-grid {
    gap: 12px;
  }

  .success-card,
  .success-order-number {
    padding: 16px;
  }

  h2 {
    font-size: 30px;
  }

  .intro-band,
  .collections,
  .craft-split,
  .process,
  .studio,
  .studio-page,
  .auth-page,
  .products-hero,
  .product-list-section,
  .products-seo-copy,
  .detail-section {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .button.outline-dark {
    width: 100%;
  }

  .intro-proof div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .craft-images {
    grid-template-columns: 1fr;
  }

  .craft-images img,
  .craft-images img:first-child,
  .story-grid img {
    height: 360px;
  }

  .studio-gallery {
    grid-template-columns: 1fr;
  }

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

  .studio-case img {
    height: 220px;
  }

  .studio-case div {
    padding: 16px;
  }

  .studio-case-action {
    font-size: 12px;
    min-height: 36px;
    padding: 0 14px;
  }

  .studio-hero-visual {
    min-height: 300px;
  }

  .auth-shell {
    min-height: 0;
  }

  .orders-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .orders-console {
    padding: 24px 14px 52px;
  }

  .orders-heading h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .account-mini-card {
    min-width: 0;
    width: 100%;
  }

  .order-list-item {
    padding: 16px;
  }

  .order-detail-panel {
    padding: 18px;
  }

  .order-detail-top {
    flex-direction: column;
  }

  .order-detail-top h2 {
    font-size: 32px;
  }

  .order-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .studio-gallery img,
  .studio-gallery img:nth-child(2),
  .studio-gallery img:nth-child(4) {
    height: 330px;
    margin-top: 0;
  }

  .products-hero-image img {
    height: 360px;
  }

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

  .catalog-card {
    border-radius: 8px;
    min-width: 0;
  }

  .catalog-card > img,
  .catalog-media {
    aspect-ratio: 1 / 0.92;
  }

  .catalog-copy {
    padding: 12px;
  }

  .catalog-copy .product-kicker {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .catalog-copy h3 {
    display: -webkit-box;
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 8px;
    min-height: 36px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalog-copy > p:not(.product-kicker) {
    display: none;
  }

  .catalog-copy dl {
    gap: 6px;
    padding-top: 10px;
  }

  .catalog-copy dl div {
    align-items: flex-start;
    display: grid;
    gap: 2px;
  }

  .catalog-copy dt {
    font-size: 10px;
  }

  .catalog-copy dd {
    font-size: 12px;
  }

  .catalog-link {
    font-size: 12px;
    margin-top: 10px;
  }

  .catalog-carousel-button {
    font-size: 18px;
    height: 28px;
    width: 28px;
  }

  .catalog-carousel-button.prev {
    left: 6px;
  }

  .catalog-carousel-button.next {
    right: 6px;
  }

  .catalog-carousel-count {
    bottom: 6px;
    font-size: 10px;
    padding: 4px 7px;
    right: 6px;
  }

  .product-detail-page {
    padding-bottom: 82px;
    padding-top: 64px;
  }

  .mobile-sticky-purchase {
    align-items: center;
    background: rgba(255, 253, 250, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -12px 30px rgba(32, 32, 29, 0.12);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 12px 20px;
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .mobile-sticky-purchase span {
    color: var(--moss);
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
  }

  .mobile-sticky-purchase strong {
    background: var(--moss);
    border-radius: 999px;
    color: var(--porcelain);
    font-size: 14px;
    padding: 12px 18px;
  }

  .breadcrumb {
    display: none;
  }

  .product-detail-hero {
    padding-top: 34px;
  }

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

  .price-row,
  .segmented-options {
    grid-template-columns: 1fr;
  }

  .price-row {
    align-items: flex-start;
    display: grid;
  }

  .price-note {
    text-align: left;
  }

  .product-trust-bar,
  .guide-grid,
  .timeline,
  .metric-grid,
  .order-status-grid,
  .kanban-grid,
  .customer-progress {
    grid-template-columns: 1fr;
  }

  .console-main {
    padding: 18px;
  }

  .console-topbar,
  .console-actions,
  .tool-heading,
  .customer-summary,
  .register-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-actions,
  .console-actions .button,
  .register-band .button {
    width: 100%;
  }

  .console-nav {
    grid-template-columns: 1fr;
  }

  .admin-chat-console {
    min-height: 0;
  }

  .admin-chat-thread {
    grid-template-rows: auto minmax(260px, 52vh) auto auto;
  }

  .admin-chat-thread-head {
    flex-direction: column;
  }

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

  .admin-chat-message {
    max-width: 88%;
  }

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

  .admin-table {
    overflow-x: auto;
  }

  .order-list-panel {
    overflow-x: auto;
  }

  .product-admin-list,
  .product-editor-layout,
  .customer-image-grid {
    grid-template-columns: 1fr;
  }

  .sku-table {
    overflow-x: auto;
  }

  .image-console {
    grid-template-columns: 1fr;
  }

  .image-folder-panel,
  .image-detail-panel {
    border: 0;
  }

  .image-folder-list {
    max-height: 220px;
  }

  .image-library-header,
  .image-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .admin-row,
  .customers-table .admin-row,
  .order-list-row,
  .sku-row {
    min-width: 820px;
  }

  .start,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
