:root {
  --display-font: "Garamond", "Iowan Old Style", "Palatino", "Book Antiqua",
    "Times New Roman", serif;
  --body-font: "Avenir Next", "Gill Sans", "Optima", "Helvetica Neue",
    "Segoe UI", sans-serif;
  --ink: #1e1712;
  --muted: #766653;
  --paper: #f2eee6;
  --paper-soft: #fffaf2;
  --porcelain: #f7f7f1;
  --line: #d7c8b1;
  --gold: #f0cf92;
  --night: #130f0d;
  --jade: #27695d;
  --steel: #344d57;
  --oxblood: #6d2e2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgb(19 15 13 / 0.022) 1px, transparent 1px),
    linear-gradient(180deg, #f7f4ed 0%, #eee7dc 48%, #f7f4ee 100%);
  background-size: 72px 72px, auto;
  color: var(--ink);
  font-family: var(--body-font);
  overflow-x: hidden;
}

body:has(.merchant-sticky-cta) {
  padding-bottom: 96px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.top-strip {
  background: var(--night);
  color: #f1ddbd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  padding: 9px 16px;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  background: rgb(246 240 229 / 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 58px;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.site-nav a {
  color: #59422d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-nav a[aria-current="page"] {
  color: var(--jade);
}

.hero {
  min-height: clamp(560px, 70svh, 690px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      104deg,
      rgb(9 7 6 / 0.92) 0%,
      rgb(9 7 6 / 0.72) 36%,
      rgb(9 7 6 / 0.24) 66%,
      rgb(9 7 6 / 0.7) 100%
    ),
    linear-gradient(180deg, transparent 68%, rgb(9 7 6 / 0.88) 100%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgb(240 207 146 / 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgb(240 207 146 / 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero__nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  color: #f7ecda;
  position: relative;
  z-index: 2;
}

.display {
  font-family: var(--display-font);
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  font-family: var(--body-font);
  gap: 10px;
  line-height: 1;
  padding: 0;
  position: relative;
  white-space: nowrap;
}

.brand-mark--compact {
  gap: 9px;
}

.brand-mark__icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 5px 12px rgb(51 31 15 / 0.18))
    drop-shadow(0 0 16px rgb(240 207 146 / 0.2));
  height: 36px;
  justify-content: center;
  overflow: hidden;
  width: 45px;
}

.brand-mark__icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-mark__text {
  background: linear-gradient(180deg, #3d2c1b 0%, #b78039 48%, #1f150d 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
  -webkit-background-clip: text;
}

.brand-mark--compact .brand-mark__text {
  font-size: clamp(20px, 2vw, 28px);
}

.hero__nav .brand-mark {
  color: #fff4de;
  gap: 12px;
  text-shadow:
    0 2px 18px rgb(0 0 0 / 0.62),
    0 0 28px rgb(240 207 146 / 0.24);
}

.hero__nav .brand-mark__icon {
  filter:
    drop-shadow(0 8px 16px rgb(0 0 0 / 0.42))
    drop-shadow(0 0 18px rgb(240 207 146 / 0.3));
  height: 42px;
  width: 52px;
}

.hero__nav .brand-mark__text {
  background: linear-gradient(180deg, #fff6df 0%, #f0cf92 48%, #b78039 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: #ead3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 760px;
  padding-block: clamp(32px, 4vw, 56px);
  color: #fff8ea;
  position: relative;
  z-index: 2;
}

.hero__copy h1 {
  font-family: var(--display-font);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
}

.hero__copy p {
  color: #eedbc1;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.68;
  max-width: 640px;
}

.eyebrow--light {
  color: #f0cf92;
}

.hero__actions {
  margin-top: 22px;
}

.hero__actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  min-height: 42px;
  justify-content: center;
  letter-spacing: 0.16em;
  min-width: 148px;
  padding: 11px 22px;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button--primary {
  background: var(--gold);
  color: #23170f;
}

.button--ghost {
  color: var(--gold);
}

.button--dark {
  border-color: #8b724f;
  color: #5e442a;
}

.button--dark:hover {
  background: #201813;
  border-color: #201813;
  color: #fff4de;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  max-width: 760px;
}

.stat {
  border: 1px solid rgb(240 207 146 / 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgb(13 9 7 / 0.62), rgb(255 255 255 / 0.08));
  backdrop-filter: blur(18px);
  color: #edd8ba;
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 13px 15px 12px;
}

.stat span,
.stat small {
  color: #c9b491;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat strong {
  color: #fff7e8;
  font-family: var(--display-font);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 0.95;
}

.section {
  padding-block: clamp(32px, 4vw, 54px);
}

.category-section,
.featured-section,
.catalog-preview,
.service-section,
.portal-directory-section,
.request-preview-section,
.request-list-section,
.merchant-entry-section,
.concierge-section,
.faq-section {
  position: relative;
}

.section--border {
  border-top: 1px solid #d7c8b2;
}

.section--contrast {
  background: #18120e;
  color: #f6ead8;
}

.section--contrast .section-title,
.section--contrast .eyebrow {
  color: #f6ead8;
}

.section--contrast .muted {
  color: #d8c2a3;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.eyebrow {
  color: #887059;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--display-font);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  margin: 8px 0 0;
}

.brand-row {
  background: #15100d;
  border-block: 1px solid #2e241e;
  box-shadow: inset 0 1px 0 rgb(240 207 146 / 0.12);
  overflow: hidden;
  padding-block: 26px;
  white-space: nowrap;
}

.brand-track {
  display: flex;
  gap: 38px;
  min-width: max-content;
  animation: marquee 46s linear infinite;
}

.brand-chip {
  appearance: none;
  background: transparent;
  border: 0;
  color: #c8ad82;
  cursor: pointer;
  font-family: var(--display-font);
  font-size: clamp(26px, 4vw, 48px);
  padding: 0;
}

.brand-chip:hover {
  color: #fff6e4;
}

.editorial-grid,
.catalog-grid,
.related-grid {
  display: grid;
  gap: 20px;
}

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

.featured-section .editorial-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.featured-section .product-card:first-child {
  grid-row: span 2;
}

.featured-section .product-card:first-child .product-card__image {
  aspect-ratio: 16 / 10;
}

.featured-section .product-card:not(:first-child) {
  min-height: 0;
}

.featured-section .product-card:not(:first-child) a {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) minmax(0, 1fr);
}

.featured-section .product-card:not(:first-child) .product-card__image {
  aspect-ratio: auto;
  height: 100%;
}

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

.catalog-grid .product-card__image,
.related-grid .product-card__image {
  aspect-ratio: 1 / 1.08;
}

.product-card {
  background: linear-gradient(180deg, #fffaf2 0%, #f7efe3 100%);
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgb(51 31 15 / 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: #b99c6c;
  box-shadow: 0 18px 44px rgb(51 31 15 / 0.14);
  transform: translateY(-2px);
}

.product-card a {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card__image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgb(240 207 146 / 0.18), transparent 42%),
    #e7ddcf;
  overflow: hidden;
}

.product-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

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

.product-card__body {
  display: grid;
  flex: 1;
  gap: 6px;
  padding: 14px 14px 16px;
}

.product-card__body .eyebrow,
.product-card__body .muted,
.product-card__body .price {
  margin: 0;
}

.product-card__name {
  color: #21170f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.product-card__body .muted {
  font-size: 12px;
  line-height: 1.45;
}

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

.price {
  color: #21170f;
  font-family: var(--display-font);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
}

.price span {
  color: #8a7158;
  display: block;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.card-cta {
  align-items: center;
  border-top: 1px solid #e4d6c1;
  color: #6f5132;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 8px;
  padding-top: 10px;
  text-transform: uppercase;
}

.card-cta::after {
  content: ">";
  margin-left: 8px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

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

.filters select,
.filters input {
  background: rgb(255 250 242 / 0.9);
  border: 1px solid #ccbba1;
  border-radius: 8px;
  color: var(--ink);
  height: 42px;
  padding-inline: 14px;
  min-width: 0;
}

.filters select:focus,
.filters input:focus {
  border-color: #8f663b;
  box-shadow: 0 0 0 3px rgb(143 102 59 / 0.14);
  outline: none;
}

.filters .button {
  min-width: 0;
}

.product-list-section {
  padding-top: clamp(14px, 2vw, 24px);
}

.product-filter-panel {
  background:
    linear-gradient(180deg, rgb(255 250 242 / 0.94), rgb(247 239 226 / 0.94)),
    linear-gradient(90deg, rgb(39 105 93 / 0.08), transparent);
  border: 1px solid #d6c5aa;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgb(51 31 15 / 0.07);
  margin-bottom: 24px;
  padding: clamp(16px, 2.4vw, 22px);
}

.product-filter-panel__head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.product-filter-panel__head .eyebrow {
  margin: 0 0 6px;
}

.product-filter-panel__head strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.product-filter-panel__head span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.product-filter-panel__meta {
  display: grid;
  gap: 2px;
}

.product-filter-panel .filters {
  margin-bottom: 0;
}

.portal-search {
  align-items: end;
  background:
    linear-gradient(180deg, rgb(255 250 242 / 0.14), rgb(240 207 146 / 0.08)),
    rgb(18 13 10 / 0.56);
  border: 1px solid rgb(240 207 146 / 0.32);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
  max-width: 760px;
  padding: 12px;
}

.portal-search label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.portal-search span {
  color: #e5c791;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-search input {
  background: #fffaf2;
  border: 1px solid rgb(240 207 146 / 0.34);
  border-radius: 999px;
  color: var(--ink);
  min-height: 42px;
  min-width: 0;
  padding-inline: 16px;
}

.portal-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(240 207 146 / 0.18);
  outline: none;
}

.home-membership-card {
  align-items: center;
  background:
    linear-gradient(110deg, rgb(240 207 146 / 0.18), rgb(255 255 255 / 0.06)),
    rgb(18 13 10 / 0.7);
  border: 1px solid rgb(240 207 146 / 0.48);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 14px;
  max-width: 760px;
  padding: 14px;
}

.home-membership-card__mark {
  align-items: center;
  background: linear-gradient(145deg, #f6d99b, #b78039);
  border-radius: 50%;
  color: #24170e;
  display: flex;
  font-family: var(--display-font);
  font-size: 22px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.home-membership-card__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-membership-card__copy .eyebrow {
  color: #e5c791;
  font-size: 10px;
  margin: 0;
}

.home-membership-card__copy strong {
  color: #fff8ea;
  font-size: 17px;
}

.home-membership-card__copy span {
  color: #d7c3a5;
  font-size: 12px;
  line-height: 1.5;
}

.home-membership-card .button {
  min-width: 132px;
}

.portal-brand-grid,
.portal-category-grid,
.request-grid {
  display: grid;
  gap: 14px;
}

.portal-brand-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.portal-brand-grid a,
.portal-category-grid a {
  background:
    linear-gradient(135deg, rgb(39 105 93 / 0.08), transparent 46%),
    linear-gradient(180deg, #fffaf2, #f7efe3);
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgb(51 31 15 / 0.07);
  display: grid;
  gap: 8px;
  min-height: 112px;
  min-width: 0;
  padding: 16px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.portal-brand-grid a:hover,
.portal-category-grid a:hover {
  border-color: #b99c6c;
  box-shadow: 0 18px 42px rgb(51 31 15 / 0.12);
  transform: translateY(-2px);
}

.portal-brand-grid strong,
.portal-category-grid strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.05;
}

.portal-brand-grid span,
.portal-category-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.request-card,
.request-empty,
.request-filter-panel,
.request-detail-panel,
.request-detail-aside {
  background:
    linear-gradient(135deg, rgb(240 207 146 / 0.08), transparent 42%),
    #fffaf2;
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgb(51 31 15 / 0.08);
  min-width: 0;
}

.request-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.request-card:hover {
  border-color: #b99c6c;
  box-shadow: 0 20px 48px rgb(51 31 15 / 0.14);
  transform: translateY(-2px);
}

.request-card__content-link,
.request-empty,
.request-detail-panel,
.request-detail-aside {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.5vw, 26px);
}

.request-card__content-link {
  flex: 1;
  grid-template-rows: auto auto auto auto 1fr;
}

.request-card__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.request-card__head .eyebrow {
  margin: 0;
}

.request-card__head span {
  background: rgb(39 105 93 / 0.12);
  border: 1px solid rgb(39 105 93 / 0.24);
  border-radius: 999px;
  color: var(--jade);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
}

.request-card h3,
.request-empty h3,
.request-detail-panel h1 {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

.request-card h3 {
  display: -webkit-box;
  min-block-size: 2.16em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.request-card p,
.request-empty p,
.request-detail-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.request-card__summary {
  display: -webkit-box;
  min-block-size: 3.3em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.request-card__meta {
  align-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-card__meta small {
  background: #f2e4d0;
  border: 1px solid #dac6aa;
  border-radius: 999px;
  color: #6f5132;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.request-card__contact,
.request-public-contact dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.request-card__contact {
  background: rgb(240 207 146 / 0.13);
  border: 1px solid #e1cba9;
  border-radius: 6px;
  box-sizing: border-box;
  min-block-size: 82px;
  padding: 12px;
}

.request-card__contact div,
.request-public-contact dl div {
  align-items: baseline;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr);
}

.request-card__contact dt,
.request-public-contact dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.request-card__contact dd,
.request-public-contact dd {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.request-public-contact {
  background: #f2e4d0;
  border: 1px solid #dac6aa;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.request-filter-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
}

.request-filter-panel .portal-search {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 0;
}

.request-filter-panel .portal-search span {
  color: var(--muted);
}

.request-filter-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.request-filter-panel__chips a {
  border: 1px solid #d8c9b5;
  border-radius: 999px;
  color: #6f5132;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}

.request-detail-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
}

.request-detail-panel .hero__actions {
  margin-top: 6px;
}

.request-process-timeline {
  display: grid;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.request-process-timeline__item {
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding-bottom: 28px;
  position: relative;
}

.request-process-timeline__item::after {
  background: #d7b875;
  bottom: 0;
  content: "";
  left: 22px;
  position: absolute;
  top: 46px;
  width: 2px;
}

.request-process-timeline__item:last-child {
  padding-bottom: 0;
}

.request-process-timeline__item:last-child::after {
  display: none;
}

.request-process-timeline__marker {
  align-items: center;
  background: var(--gold);
  border: 1px solid #c9a45d;
  border-radius: 50%;
  color: #2b1e15;
  display: flex;
  font-family: var(--display-font);
  font-size: 17px;
  height: 46px;
  justify-content: center;
  position: relative;
  width: 46px;
  z-index: 1;
}

.request-process-timeline__content {
  min-width: 0;
  padding-top: 2px;
}

.request-process-timeline__content h3 {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
}

.request-process-timeline__content p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.pagination {
  align-items: center;
  background:
    linear-gradient(180deg, rgb(255 250 242 / 0.96), rgb(246 237 224 / 0.96)),
    linear-gradient(90deg, rgb(39 105 93 / 0.08), transparent);
  border: 1px solid #d6c5aa;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgb(51 31 15 / 0.07);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: 10px 12px;
}

.pagination__status {
  min-width: 112px;
}

.pagination__summary {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0;
}

.pagination__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
  margin-left: auto;
}

.pagination__range {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
}

.pagination__controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.pagination__page,
.pagination__arrow,
.pagination__gap {
  align-items: center;
  border: 1px solid #d2b98f;
  border-radius: 8px;
  color: #5e442a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 32px;
  min-width: 32px;
  padding: 6px 10px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.pagination__arrow {
  min-width: 68px;
}

.pagination a:hover {
  background: #fff4df;
  border-color: #b6915a;
  transform: translateY(-1px);
}

.pagination__page[aria-current="page"] {
  background: #201813;
  border-color: #201813;
  color: #fff4de;
}

.pagination__gap {
  border-color: transparent;
  color: #9a8469;
  min-width: 20px;
  padding-inline: 2px;
}

.detail-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(18px, 2.4vw, 28px) 16px;
}

.detail-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.08fr 0.92fr;
  padding-block: 34px 48px;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery__main {
  border: 1px solid #d8c8b0;
  border-radius: 8px;
  overflow: hidden;
}

.gallery__main img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.gallery__thumbs img {
  aspect-ratio: 1;
  border: 1px solid #d8c8b0;
  border-radius: 9px;
  object-fit: cover;
  width: 100%;
}

.panel {
  background: var(--paper-soft);
  border: 1px solid #d8c8b0;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  min-width: 0;
}

.detail-title {
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  margin: 12px 0;
}

.product-public-contact {
  background: rgb(240 207 146 / 0.18);
  border: 1px solid #e1cba9;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
}

.product-public-contact .eyebrow {
  margin: 0;
}

.product-public-contact dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.product-public-contact dl div {
  align-items: baseline;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
}

.product-public-contact dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-public-contact dd {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.spec-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 22px;
}

.spec {
  background: white;
  border: 1px solid #dac8ae;
  border-radius: 8px;
  padding: 16px;
}

.note-panel {
  background: linear-gradient(155deg, #2f2218, #1f1710);
  border-radius: 8px;
  color: #f0dfc8;
  padding: 22px;
}

.portal-grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: 0.85fr 1.15fr;
}

.portal-grid > * {
  min-width: 0;
}

.portal-grid--sourcing {
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.portal-copy {
  align-content: center;
  background:
    linear-gradient(145deg, rgb(47 34 24 / 0.95), rgb(31 23 16 / 0.98)),
    linear-gradient(90deg, rgb(241 214 170 / 0.18), transparent);
  border: 1px solid #3d2b1d;
  border-radius: 8px;
  color: #f3e4ce;
  display: grid;
  min-height: 100%;
  padding: clamp(22px, 4vw, 36px);
}

.portal-copy .section-title {
  color: #fff7e7;
}

.portal-copy .muted {
  color: #e5d0b2;
  font-size: 15px;
  line-height: 1.7;
}

.service-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.service-steps div {
  align-items: center;
  border-top: 1px solid rgb(241 214 170 / 0.26);
  display: flex;
  gap: 18px;
  padding-top: 12px;
}

.service-steps strong {
  color: var(--gold);
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 400;
}

.inquiry-form {
  background: #fff8ef;
  border: 1px solid #d8c8b0;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.inquiry-form--compact {
  margin-top: 22px;
}

.form-heading h2 {
  font-family: var(--display-font);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1;
  margin: 8px 0 0;
}

.form-heading--sourcing {
  border-bottom: 1px solid #e2d1b8;
  margin-bottom: 2px;
  padding-bottom: 16px;
}

.form-heading--sourcing h3 {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  line-height: 1;
  margin: 6px 0 0;
}

.form-note {
  color: #7c6248;
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0 0;
}

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

.inquiry-form label,
.field {
  color: #5e4934;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
}

.field__label {
  align-items: center;
  color: #4e3927;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.25;
}

.field__label em {
  background: #ead8bd;
  border-radius: 999px;
  color: #725338;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  padding: 3px 8px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  background: #fbf4e9;
  border: 1px solid #cdb89b;
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

.inquiry-form textarea {
  line-height: 1.6;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #9a8873;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #8f663b;
  box-shadow: 0 0 0 3px rgb(143 102 59 / 0.15);
}

.inquiry-form--sourcing {
  background:
    linear-gradient(180deg, rgb(255 250 243 / 0.98), rgb(249 239 224 / 0.98)),
    radial-gradient(circle at top right, rgb(241 214 170 / 0.32), transparent 34%);
  border-color: #d5bea0;
  box-shadow: 0 24px 70px rgb(69 43 22 / 0.14);
  gap: 18px;
  overflow: hidden;
  position: relative;
}

.inquiry-form--sourcing::before {
  background: linear-gradient(90deg, #26180f, #c6a06b, #f1d6aa);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.inquiry-form--sourcing .button--primary {
  box-shadow: 0 12px 26px rgb(150 103 43 / 0.18);
  justify-self: start;
  margin-top: 2px;
  min-width: 190px;
}

.form-status {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  min-height: 22px;
}

.form-status[data-state="success"] {
  background: #ecf6ee;
  border: 1px solid #b8d9bf;
  color: #255c31;
  padding: 10px 12px;
}

.form-status[data-state="error"] {
  background: #fff1ee;
  border: 1px solid #e2b9ad;
  color: #8b2d1b;
  padding: 10px 12px;
}

.footer {
  background:
    linear-gradient(90deg, rgb(33 23 15 / 0.026) 1px, transparent 1px),
    linear-gradient(180deg, #faf6ee 0%, #f2ebe0 100%);
  background-size: 72px 72px, auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 56px;
}

.footer__directory {
  align-items: start;
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, 0.8fr);
  padding-block: clamp(28px, 4vw, 46px) clamp(18px, 3vw, 30px);
}

.footer__group {
  border-right: 1px solid #d9c9b2;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.footer__group:nth-child(3) {
  border-right: 0;
}

.footer__group h2 {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.footer__group div {
  display: grid;
  gap: 11px 32px;
  grid-template-columns: repeat(2, minmax(0, max-content));
}

.footer__group a {
  color: #6f624f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.footer__contact {
  align-items: end;
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.footer__contact a {
  color: var(--jade);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.footer__contact span {
  color: #6f624f;
  font-size: 14px;
  font-weight: 800;
}

.footer__legal-band {
  background:
    linear-gradient(90deg, rgb(240 207 146 / 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #21170f 0%, #17110d 100%);
  background-size: 72px 72px, auto;
  border-top: 1px solid rgb(240 207 146 / 0.2);
  color: #fff4de;
  padding-block: 22px;
}

.footer__legal {
  color: #ead3af;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-items: center;
  line-height: 1.5;
  text-align: center;
}

.footer__legal p {
  margin: 0;
}

.footer__legal a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal span {
  color: rgb(240 207 146 / 0.55);
  margin-inline: 6px;
}

.footer__group a:hover {
  color: var(--jade);
}

.footer__contact a:hover,
.footer__legal a:hover {
  color: #fff1cf;
}

.sub-hero {
  padding-block: clamp(22px, 3vw, 38px) clamp(12px, 2vw, 18px);
  max-width: 1200px;
}

.sub-hero--catalog {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  max-width: 1200px;
}

.sub-hero__content {
  display: grid;
  gap: clamp(8px, 1.2vw, 14px);
  max-width: 760px;
}

.sub-hero__content > * {
  margin: 0;
}

.sub-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.sub-hero__content > p:last-child {
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.65;
  max-width: 720px;
}

.sourcing-section {
  padding-top: clamp(8px, 1.4vw, 16px);
}

.merchant-hero {
  background:
    linear-gradient(110deg, rgb(19 15 13 / 0.92), rgb(28 22 17 / 0.76) 48%, rgb(19 15 13 / 0.88)),
    #1a130e;
  color: #fff7e8;
  isolation: isolate;
  min-height: clamp(520px, 66svh, 660px);
  overflow: hidden;
  position: relative;
}

.merchant-hero__image {
  filter: saturate(0.72) contrast(0.92);
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.34;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.merchant-hero::after {
  background:
    linear-gradient(90deg, rgb(240 207 146 / 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgb(240 207 146 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.merchant-hero__content {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.56fr);
  min-height: inherit;
  padding-block: clamp(58px, 8vw, 96px);
}

.merchant-hero__content h1 {
  font-family: var(--display-font);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 0.96;
  margin: 0;
  max-width: 780px;
}

.merchant-hero__content p {
  color: #ead7bc;
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.75;
  max-width: 680px;
}

.merchant-hero__panel {
  background:
    linear-gradient(145deg, rgb(255 250 242 / 0.14), rgb(240 207 146 / 0.06)),
    rgb(19 15 13 / 0.48);
  border: 1px solid rgb(240 207 146 / 0.36);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.26);
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: clamp(22px, 3.2vw, 34px);
}

.merchant-hero__panel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.merchant-hero__panel strong {
  color: #fff7e8;
  font-family: var(--display-font);
  font-size: clamp(31px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.merchant-benefits {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(-64px, -4vw, -36px);
  position: relative;
  z-index: 2;
}

.merchant-benefits article {
  background: linear-gradient(180deg, #fffaf2, #f5ead8);
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgb(51 31 15 / 0.14);
  min-width: 0;
  padding: clamp(18px, 2.4vw, 24px);
}

.merchant-benefits span {
  color: var(--jade);
  font-family: var(--display-font);
  font-size: 28px;
}

.merchant-benefits h2 {
  font-family: var(--display-font);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 400;
  line-height: 1.05;
  margin: 8px 0 10px;
}

.merchant-benefits p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.merchant-checkin-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr);
}

.merchant-checkin-copy {
  align-content: center;
  background:
    linear-gradient(150deg, rgb(30 23 18 / 0.96), rgb(19 15 13 / 0.98)),
    linear-gradient(90deg, rgb(39 105 93 / 0.2), transparent);
  border: 1px solid #3d2b1d;
  border-radius: 8px;
  color: #f3e4ce;
  display: grid;
  padding: clamp(22px, 4vw, 36px);
}

.merchant-checkin-copy h2 {
  color: #fff7e7;
  font-family: var(--display-font);
  font-size: clamp(29px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1;
  margin: 8px 0 16px;
}

.merchant-checkin-copy p {
  color: #e5d0b2;
  line-height: 1.72;
  margin: 0;
}

.inquiry-form--merchant {
  background:
    linear-gradient(180deg, rgb(255 250 243 / 0.98), rgb(248 238 222 / 0.98)),
    linear-gradient(135deg, rgb(39 105 93 / 0.12), transparent 42%);
  border-color: #d5bea0;
  box-shadow: 0 24px 70px rgb(69 43 22 / 0.14);
  gap: 18px;
  overflow: hidden;
  position: relative;
}

.inquiry-form--merchant::before {
  background: linear-gradient(90deg, var(--jade), #c6a06b, var(--gold));
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.inquiry-form--merchant .button--primary {
  justify-self: start;
  min-width: 190px;
}

.form-success-panel {
  background: #ecf6ee;
  border: 1px solid #b8d9bf;
  border-radius: 8px;
  color: #255c31;
  display: grid;
  gap: 4px;
  line-height: 1.55;
  padding: 12px 14px;
}

.form-success-panel strong {
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 400;
}

.merchant-flow {
  margin-top: clamp(8px, 1.5vw, 18px);
}

.merchant-flow__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merchant-flow__grid article {
  background:
    linear-gradient(135deg, rgb(240 207 146 / 0.1), transparent 42%),
    #201813;
  border: 1px solid #4c3826;
  border-radius: 8px;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
}

.merchant-flow__grid span {
  color: var(--gold);
  font-family: var(--display-font);
  font-size: 32px;
}

.merchant-flow__grid h3 {
  color: #fff7e7;
  font-family: var(--display-font);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 400;
  margin: 10px 0 12px;
}

.merchant-flow__grid p {
  color: #d8c2a3;
  line-height: 1.68;
  margin: 0;
}

.merchant-sticky-cta {
  align-items: center;
  background: rgb(24 18 14 / 0.96);
  border-top: 1px solid #4c3826;
  bottom: 0;
  box-shadow: 0 -12px 34px rgb(0 0 0 / 0.18);
  color: #f6ead8;
  display: flex;
  gap: 18px;
  justify-content: center;
  left: 0;
  min-height: 78px;
  padding: 14px 20px;
  position: fixed;
  right: 0;
  z-index: 42;
}

.merchant-sticky-cta span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.catalog-category-nav {
  align-items: center;
  background:
    linear-gradient(90deg, rgb(19 15 13 / 0.92), rgb(36 28 22 / 0.9)),
    linear-gradient(90deg, rgb(240 207 146 / 0.1), transparent);
  border: 1px solid rgb(240 207 146 / 0.24);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
}

.catalog-category-nav__label {
  color: #d8c4a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-inline: 4px 8px;
  text-transform: uppercase;
}

.catalog-category-nav__chip {
  border: 1px solid rgb(240 207 146 / 0.28);
  border-radius: 999px;
  color: #ead8be;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 34px;
  padding: 8px 14px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.catalog-category-nav__chip:hover {
  border-color: rgb(240 207 146 / 0.65);
  color: #fff7e7;
  transform: translateY(-1px);
}

.catalog-category-nav__chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #23170f;
}

.category-grid,
.service-grid,
.step-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.category-card {
  background: #19120d;
  border: 1px solid rgb(240 207 146 / 0.2);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgb(51 31 15 / 0.1);
  color: #fff4de;
  display: block;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.category-card:hover {
  border-color: rgb(240 207 146 / 0.62);
  box-shadow: 0 20px 46px rgb(51 31 15 / 0.16);
  transform: translateY(-2px);
}

.category-card::after {
  background:
    linear-gradient(180deg, transparent 20%, rgb(19 15 13 / 0.86) 100%),
    linear-gradient(45deg, rgb(39 105 93 / 0.42), transparent 46%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.category-card__image {
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
}

.category-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card__body {
  bottom: 0;
  display: grid;
  gap: 6px;
  left: 0;
  padding: 14px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.category-card span {
  color: #fff7e7;
  font-family: var(--display-font);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1;
}

.category-card small {
  color: #d9c6a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.service-card,
.step-card,
.info-panel,
.faq-strip,
.faq-list article {
  background: linear-gradient(180deg, #fffaf2 0%, #f7efe3 100%);
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  min-width: 0;
}

.service-card,
.step-card,
.info-panel,
.faq-strip,
.faq-list article {
  padding: clamp(18px, 2.4vw, 24px);
}

.service-card,
.info-panel,
.faq-list article {
  box-shadow: 0 14px 38px rgb(51 31 15 / 0.08);
}

.service-card span,
.step-card span {
  color: var(--jade);
  font-family: var(--display-font);
  font-size: 30px;
}

.service-card {
  position: relative;
}

.service-card::before {
  background: linear-gradient(90deg, var(--jade), rgb(240 207 146 / 0.9));
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.service-card:nth-child(2n)::before {
  background: linear-gradient(90deg, var(--steel), rgb(240 207 146 / 0.9));
}

.service-card:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--oxblood), rgb(240 207 146 / 0.9));
}

.service-card h3,
.info-panel h2,
.faq-strip h2,
.faq-list h2 {
  font-family: var(--display-font);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}

.service-card p,
.step-card p,
.info-panel p,
.faq-strip p,
.faq-list p {
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 0;
}

.merchant-entry {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(39 105 93 / 0.12), transparent 44%),
    linear-gradient(180deg, #fffaf2 0%, #f6eddf 100%);
  border: 1px solid #d8c9b5;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgb(51 31 15 / 0.08);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
}

.merchant-entry h2 {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.05;
  margin: 8px 0 10px;
}

.merchant-entry p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
  max-width: 760px;
}

.merchant-entry .button {
  justify-self: end;
}

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

.step-card {
  background:
    linear-gradient(135deg, rgb(240 207 146 / 0.1), transparent 42%),
    #201813;
  border-color: #4c3826;
  min-height: 138px;
  position: relative;
}

.step-card p {
  color: #ead8be;
  font-weight: 700;
  margin: 18px 0 0;
}

.step-card span {
  color: var(--gold);
}

.faq-strip {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(39 105 93 / 0.18), transparent 42%),
    linear-gradient(180deg, #fffaf2, #f4e8d6);
  display: grid;
  gap: 22px;
  grid-template-columns: 0.75fr 1.4fr auto;
}

.faq-strip p {
  margin-block: 0 12px;
}

.faq-strip p:last-child {
  margin-bottom: 0;
}

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

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

.contact-grid .info-panel {
  min-height: 220px;
}

.contact-grid .info-panel h2 {
  font-size: clamp(23px, 2.5vw, 32px);
  max-width: 100%;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  body:has(.mobile-purchase-bar) {
    padding-bottom: 82px;
  }

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

  .hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .request-card__content-link {
    grid-template-rows: none;
  }

  .request-card h3,
  .request-card__summary {
    display: block;
    min-block-size: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .request-card__contact {
    min-block-size: 0;
  }

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

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

  .editorial-grid,
  .catalog-grid,
  .related-grid,
  .service-grid,
  .step-grid,
  .contact-grid,
  .portal-brand-grid,
  .portal-category-grid,
  .request-grid,
  .filters,
  .filters--advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-strip,
  .portal-grid,
  .form-row,
  .detail-grid,
  .request-detail-layout,
  .spec-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-section .product-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .featured-section .product-card:first-child .product-card__image,
  .featured-section .product-card:not(:first-child) .product-card__image {
    aspect-ratio: 1 / 1.08;
    height: auto;
  }

  .featured-section .product-card:not(:first-child) a {
    display: flex;
  }

  .section-head,
  .detail-header,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__directory {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__group {
    border-right: 0;
    border-bottom: 1px solid #d9c9b2;
    padding-bottom: 18px;
  }

  .footer__group:nth-child(3) {
    border-bottom: 0;
  }

  .footer__contact {
    align-items: start;
    justify-items: start;
    text-align: left;
  }

  .portal-grid--sourcing {
    grid-template-columns: minmax(0, 1fr);
  }

  .merchant-entry {
    grid-template-columns: 1fr;
  }

  .merchant-entry .button {
    justify-self: start;
  }

  .merchant-hero__content,
  .merchant-checkin-layout,
  .merchant-flow__grid {
    grid-template-columns: 1fr;
  }

  .merchant-checkin-layout {
    grid-template-columns: 1fr;
  }

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

  .merchant-hero__panel {
    min-height: auto;
  }

  .product-filter-panel__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-filter-panel__head span {
    text-align: left;
  }

  .portal-search {
    grid-template-columns: 1fr;
  }

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

  .pagination__actions {
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
  }

  .pagination__controls {
    justify-content: flex-start;
    width: 100%;
  }

  .mobile-purchase-bar {
    align-items: center;
    background: rgb(24 18 14 / 0.96);
    border-top: 1px solid #4c3826;
    bottom: 0;
    color: #f6ead8;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    padding: 10px 16px;
    position: fixed;
    right: 0;
    z-index: 40;
  }

  .mobile-purchase-bar span {
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-purchase-bar .button {
    min-height: 40px;
    min-width: 116px;
    padding-inline: 14px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 24px, 1280px);
  }

  .hero {
    min-height: 760px;
  }

  .hero__copy {
    padding-block: 28px 34px;
  }

  .hero__copy h1,
  .sub-hero h1 {
    font-size: 32px;
  }

  .hero__copy p {
    font-size: 15px;
  }

  .hero__nav .brand-mark {
    gap: 9px;
  }

  .hero__nav .brand-mark__icon {
    height: 34px;
    width: 42px;
  }

  .hero__nav .brand-mark__text {
    font-size: 21px;
  }

  .brand-mark--compact .brand-mark__icon {
    height: 32px;
    width: 40px;
  }

  .brand-mark--compact .brand-mark__text {
    font-size: 20px;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    overflow: visible;
  }

  .home-membership-card {
    grid-template-columns: 1fr;
  }

  .home-membership-card .button {
    width: 100%;
  }

  .stat {
    min-width: 0;
    min-height: 78px;
    padding: 10px 9px;
  }

  .stat span,
  .stat small {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .stat strong {
    font-size: clamp(18px, 5vw, 22px);
    overflow-wrap: anywhere;
  }

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

  .catalog-category-nav {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -12px;
    overflow-x: auto;
    padding: 10px 12px;
    scrollbar-width: none;
  }

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

  .catalog-category-nav__label,
  .catalog-category-nav__chip {
    flex: 0 0 auto;
  }

  .product-filter-panel {
    margin-inline: -2px;
    padding: 14px;
  }

  .pagination {
    margin-inline: -2px;
    padding: 10px 12px;
  }

  .pagination__range {
    white-space: normal;
  }

  .pagination__arrow {
    flex: 1 1 120px;
  }

  .editorial-grid,
  .catalog-grid,
  .related-grid,
  .service-grid,
  .step-grid,
  .merchant-benefits,
  .contact-grid,
  .portal-brand-grid,
  .portal-category-grid,
  .request-grid,
  .filters,
  .filters--advanced {
    grid-template-columns: 1fr;
  }

  .portal-search .button {
    width: 100%;
  }

  body:has(.merchant-sticky-cta) {
    padding-bottom: 118px;
  }

  .merchant-hero {
    min-height: 690px;
  }

  .merchant-hero__content {
    padding-block: 38px 62px;
  }

  .merchant-sticky-cta {
    align-items: stretch;
    flex-direction: column;
    min-height: 108px;
    padding: 12px 16px;
    text-align: center;
  }

  .merchant-sticky-cta .button {
    width: 100%;
  }

  .merchant-entry .button {
    width: 100%;
  }

  .merchant-benefits {
    grid-template-columns: 1fr;
  }

  .category-card__body {
    padding: 12px;
  }

  .category-card span {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }

  .hero__actions .button,
  .mobile-purchase-bar .button {
    width: auto;
  }

  .brand-mark {
    font-size: 28px;
  }
}

/* Member atelier --------------------------------------------------------- */
.member-nav {
  align-items: center;
  border-left: 1px solid rgb(139 104 62 / 0.28);
  display: inline-flex;
  gap: 9px;
  margin-left: 4px;
  padding-left: 14px;
}

.member-nav__register {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 12px;
}

.member-nav__identity {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.member-nav__identity span {
  align-items: center;
  background: var(--jade);
  border-radius: 50%;
  color: #fff8e9;
  display: inline-flex;
  font-family: var(--display-font);
  font-size: 15px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.member-nav button,
.member-sidebar button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px;
}

.member-nav button:disabled,
.member-sidebar button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.auth-stage,
.member-stage {
  background:
    radial-gradient(circle at 14% 18%, rgb(39 105 93 / 0.13), transparent 27%),
    radial-gradient(circle at 86% 12%, rgb(197 153 87 / 0.14), transparent 24%),
    linear-gradient(145deg, #eee6d9, #faf6ee 54%, #e9dfd0);
  min-height: 70svh;
  overflow: hidden;
  position: relative;
}

.auth-stage::before,
.member-stage::before {
  background:
    linear-gradient(90deg, rgb(68 47 27 / 0.045) 1px, transparent 1px),
    linear-gradient(rgb(68 47 27 / 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.68fr);
  padding-block: clamp(46px, 7vw, 94px);
  position: relative;
  z-index: 1;
}

.auth-card__story,
.auth-card__form {
  min-height: 540px;
  padding: clamp(30px, 5vw, 68px);
}

.auth-card__story {
  background:
    linear-gradient(145deg, rgb(16 14 12 / 0.9), rgb(35 28 21 / 0.96)),
    var(--night);
  border-radius: 8px 0 0 8px;
  color: #f2dfbf;
  display: grid;
  align-content: center;
  overflow: hidden;
  position: relative;
}

.auth-card__story::after {
  border: 1px solid rgb(240 207 146 / 0.22);
  content: "";
  inset: 18px;
  pointer-events: none;
  position: absolute;
}

.auth-card__story h1 {
  color: #fff8ea;
  font-family: var(--display-font);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.95;
  margin: 16px 0 22px;
  max-width: 620px;
}

.auth-card__story > p:last-of-type {
  color: #dbc8aa;
  line-height: 1.8;
  max-width: 530px;
}

.auth-card__seal {
  align-items: center;
  border: 1px solid rgb(240 207 146 / 0.48);
  border-radius: 50%;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  height: 92px;
  justify-content: center;
  position: absolute;
  right: 44px;
  transform: rotate(-8deg);
  width: 92px;
}

.auth-card__seal span {
  color: var(--gold);
  font-family: var(--display-font);
  font-size: 34px;
}

.auth-card__seal small {
  font-size: 8px;
  letter-spacing: 0.2em;
}

.auth-card__form {
  align-content: center;
  background: rgb(255 250 242 / 0.96);
  border: 1px solid #d4c2a7;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 30px 80px rgb(46 30 17 / 0.17);
  display: grid;
}

.auth-form,
.member-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.auth-form input,
.member-form input,
.member-form select,
.member-filters select {
  background: #fffdf8;
  border: 1px solid #cdbb9f;
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

.auth-form input:focus,
.member-form input:focus,
.member-form select:focus,
.member-filters select:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgb(39 105 93 / 0.13);
}

.auth-form__submit {
  justify-content: center;
  width: 100%;
}

.auth-form__text-link,
.auth-card__alternate a,
.member-section-head > a {
  color: var(--jade);
  font-weight: 900;
}

.auth-card__alternate {
  border-top: 1px solid #dfd0ba;
  color: var(--muted);
  margin-top: 24px;
  padding-top: 18px;
}

.member-hero {
  align-items: end;
  display: flex;
  justify-content: space-between;
  min-height: 250px;
  padding-block: 54px 34px;
  position: relative;
  z-index: 1;
}

.member-hero h1,
.member-section-head h2 {
  font-family: var(--display-font);
  font-weight: 400;
  margin: 8px 0;
}

.member-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
}

.member-hero p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.member-hero__monogram {
  align-items: center;
  border: 1px solid #b99b6f;
  border-radius: 50%;
  color: #76532e;
  display: flex;
  flex: 0 0 auto;
  font-family: var(--display-font);
  font-size: 62px;
  height: 126px;
  justify-content: center;
  margin-left: 24px;
  position: relative;
  width: 126px;
}

.member-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 1fr);
  padding-bottom: 68px;
  position: relative;
  z-index: 1;
}

.member-sidebar,
.member-panel,
.member-metrics article,
.member-filters {
  background: rgb(255 250 242 / 0.9);
  border: 1px solid #d7c5a8;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgb(65 42 21 / 0.08);
}

.member-sidebar {
  display: grid;
  gap: 20px;
  padding: 22px;
  position: sticky;
  top: 82px;
}

.member-sidebar nav {
  display: grid;
  gap: 4px;
}

.member-sidebar nav a {
  border-left: 2px solid transparent;
  color: #695641;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 12px;
}

.member-sidebar nav a[aria-current="page"] {
  background: rgb(39 105 93 / 0.09);
  border-left-color: var(--jade);
  color: var(--jade);
}

.member-sidebar button {
  border-top: 1px solid #dfd0ba;
  color: var(--oxblood);
  padding-top: 18px;
  text-align: left;
}

.member-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.member-section-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.member-section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
}

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

.member-metrics article {
  display: grid;
  min-height: 170px;
  padding: 22px;
}

.member-metrics span,
.member-metrics small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-metrics strong {
  align-self: center;
  color: var(--jade);
  font-family: var(--display-font);
  font-size: 58px;
  font-weight: 400;
}

.member-status-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.member-status-summary > span {
  background: rgb(255 250 242 / 0.9);
  border: 1px solid #d7c5a8;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
}

.member-status-summary strong {
  color: var(--jade);
  margin-left: 4px;
}

.member-panel {
  padding: clamp(20px, 3vw, 30px);
}

.member-panel > .member-section-head {
  border-bottom: 1px solid #dfd0ba;
  margin-bottom: 16px;
  padding-bottom: 14px;
}

.membership-current h3,
.membership-payment h3,
.membership-history h3 {
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 400;
  margin: 6px 0;
}

.membership-plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.membership-plan-card,
.membership-payment-method,
.membership-order {
  background: rgb(255 250 242 / 0.9);
  border: 1px solid #d7c5a8;
  border-radius: 8px;
}

.membership-plan-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.membership-plan-card > p,
.membership-plan-card > span {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.membership-plan-card > strong {
  color: var(--jade);
  font-family: var(--display-font);
  font-size: 42px;
  font-weight: 400;
}

.membership-plan-card button,
.membership-order button,
.membership-order a {
  background: transparent;
  border: 1px solid #b99b6f;
  border-radius: 999px;
  color: #5c452d;
  cursor: pointer;
  font: inherit;
  padding: 9px 13px;
  text-align: center;
}

.membership-plan-card button[aria-pressed="true"] {
  background: var(--jade);
  color: #fff;
}

.membership-payment-methods,
.membership-payment {
  display: grid;
  gap: 16px;
}

.membership-payment-methods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.membership-payment-method {
  padding: 18px;
}

.membership-payment-method h3,
.membership-payment-method p {
  margin: 4px 0;
}

.membership-payment-method img {
  display: block;
  height: 180px;
  margin-top: 12px;
  max-width: 100%;
  object-fit: contain;
  width: 180px;
}

.membership-order-form {
  display: grid;
  gap: 16px;
}

.membership-form-hint,
.membership-pending-lock,
.membership-unavailable {
  color: var(--muted);
  margin: 0;
}

.membership-proof-preview {
  align-items: center;
  background: #f6eee2;
  border: 1px dashed #b99b6f;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.membership-proof-preview img {
  height: 92px;
  object-fit: contain;
  width: 92px;
}

.membership-proof-preview p {
  margin: 0;
  overflow-wrap: anywhere;
}

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

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

.membership-order p,
.membership-order time {
  margin: 0;
}

.membership-order time {
  color: var(--muted);
  font-size: 13px;
}

.membership-order__actions,
.membership-order__actions form {
  align-items: center;
  display: flex;
  gap: 8px;
}

.membership-order__note {
  color: var(--muted);
  grid-column: 1 / -1;
}

.membership-admin-filters,
.membership-admin-orders,
.membership-admin-review,
.membership-admin-order,
.membership-admin-order dl {
  display: grid;
  gap: 16px;
}

.membership-admin-filters {
  align-items: end;
  grid-template-columns: minmax(180px, 260px) auto;
  margin: 24px 0;
}

.membership-admin-order {
  background: rgb(255 250 242 / 0.9);
  border: 1px solid #d7c5a8;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}

.membership-admin-order > header,
.membership-admin-order__actions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.membership-admin-order h2,
.membership-admin-order p {
  margin: 0;
}

.membership-admin-order dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.membership-admin-order dl div {
  border-top: 1px solid #e4d7c4;
  min-width: 0;
  padding-top: 10px;
}

.membership-admin-order dt {
  color: var(--muted);
  font-size: 13px;
}

.membership-admin-order dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}

.membership-admin-order__actions a {
  border: 1px solid #b99b6f;
  border-radius: 999px;
  color: #5c452d;
  padding: 9px 13px;
}

.member-records {
  display: grid;
}

.member-record {
  align-items: center;
  border-bottom: 1px solid #e4d7c4;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr) auto;
  padding: 17px 4px;
}

.member-record:last-child {
  border-bottom: 0;
}

.member-record > div {
  display: grid;
  gap: 5px;
}

.member-record span,
.member-record time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.member-record h3,
.member-empty h3,
.member-signout h3 {
  font-family: var(--display-font);
  font-size: 25px;
  font-weight: 400;
  margin: 0;
}

.member-record strong,
.member-detail-status {
  background: #efe2ce;
  border-radius: 999px;
  color: #6b4d2f;
  font-size: 11px;
  padding: 7px 11px;
}

.member-record strong[data-status="completed"],
.member-record strong[data-status="published"],
.member-detail-status[data-status="completed"],
.member-detail-status[data-status="published"] {
  background: rgb(39 105 93 / 0.12);
  color: var(--jade);
}

.member-empty {
  padding: 32px 10px;
  text-align: center;
}

.member-empty .button {
  margin-top: 12px;
}

.member-filters {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  padding: 14px;
}

.member-form .button {
  justify-self: start;
}

.member-detail dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.member-detail dl div {
  border-bottom: 1px solid #e4d7c4;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(110px, 0.25fr) minmax(0, 1fr);
  padding: 15px 0;
}

.member-detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-detail dd {
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
}

.member-detail footer,
.member-signout {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 20px;
}

.member-detail footer {
  color: var(--muted);
  font-size: 12px;
}

.member-signout p {
  color: var(--muted);
  margin-bottom: 0;
}

.market-quota,
.market-review-note,
.market-product-form small {
  color: var(--muted);
  line-height: 1.65;
}

.market-section {
  padding-block: 36px 68px;
}

.market-filters {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(130px, 1fr)) auto;
}

.market-filters input {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 44px;
  padding: 10px 12px;
}

.market-hint,
.market-empty {
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0;
}

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

.market-card {
  background: var(--paper-soft);
  border: 1px solid #e4d7c4;
  min-width: 0;
}

.market-card > a {
  display: block;
  height: 100%;
}

.market-card img {
  aspect-ratio: 1 / 0.78;
  background: #efe6d8;
  object-fit: cover;
  width: 100%;
}

.market-card__body {
  padding: 16px;
}

.market-card__meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-card h2 {
  font-family: var(--display-font);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.12;
  margin: 12px 0 8px;
}

.market-card p {
  margin: 7px 0;
}

.market-member-badge {
  background: #e6c989;
  border-radius: 999px;
  color: #312211;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 7px;
}

.market-pagination {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.market-pagination a,
.market-back {
  color: var(--jade);
  font-weight: 800;
}

.market-detail {
  padding-block: 30px 68px;
}

.market-back {
  display: inline-block;
  margin-bottom: 20px;
}

.market-detail__grid {
  align-items: start;
  display: grid;
  gap: clamp(24px, 5vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.market-detail__grid > img {
  background: #efe6d8;
  max-height: 680px;
  object-fit: cover;
  width: 100%;
}

.market-detail h1 {
  font-family: var(--display-font);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.04;
  margin: 9px 0 16px;
}

.market-detail__price {
  color: var(--oxblood);
  font-family: var(--display-font);
  font-size: 34px;
  margin: 0 0 16px;
}

.market-detail__description {
  line-height: 1.8;
  white-space: pre-wrap;
}

.market-contact {
  background: var(--paper-soft);
  border: 1px solid #ddc79f;
  margin-top: 28px;
  padding: 20px;
}

.market-contact h2 {
  font-family: var(--display-font);
  font-size: 27px;
  font-weight: 400;
  margin: 4px 0;
}

.market-contact__phone {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.market-contact--masked {
  border-style: dashed;
}

.market-seller-products,
.market-admin-products {
  display: grid;
  gap: 14px;
}

.market-seller-product,
.market-admin-product,
.market-admin-seller {
  align-items: center;
  border-bottom: 1px solid #e4d7c4;
  display: grid;
  gap: 16px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  padding: 14px 0;
}

.market-seller-product:last-child,
.market-admin-product:last-child,
.market-admin-seller:last-child {
  border-bottom: 0;
}

.market-seller-product img,
.market-admin-product > img,
.market-form-preview {
  background: #efe6d8;
  border-radius: 6px;
  height: 96px;
  object-fit: cover;
  width: 96px;
}

.market-seller-product h3 {
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}

.market-seller-product p {
  margin: 5px 0;
}

.market-seller-product footer {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.market-admin-filters,
.market-seller-search,
.market-admin-product form,
.market-admin-seller form {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.market-admin-filters {
  margin: 20px 0;
}

.market-admin-product form {
  margin-top: 12px;
}

.market-admin-product textarea {
  min-height: 58px;
}

.market-admin-seller {
  grid-template-columns: minmax(0, 1fr) auto;
}

.market-admin-seller p {
  color: var(--muted);
  margin: 5px 0 0;
}

@media (max-width: 900px) {
  .member-nav strong,
  .member-nav > button {
    display: none;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-card__story,
  .auth-card__form {
    min-height: auto;
  }

  .auth-card__story {
    border-radius: 8px 8px 0 0;
    padding-bottom: 110px;
  }

  .auth-card__form {
    border-left: 1px solid #d4c2a7;
    border-radius: 0 0 8px 8px;
  }

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

  .member-sidebar {
    position: static;
  }

  .member-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-sidebar button {
    display: none;
  }

  .market-admin-product,
  .market-admin-seller {
    align-items: start;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .market-admin-product form,
  .market-admin-seller form {
    grid-column: 1 / -1;
  }

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

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

  .market-detail__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .auth-card {
    width: min(100% - 24px, 1200px);
  }

  .auth-card__story,
  .auth-card__form {
    padding: 28px 22px;
  }

  .auth-card__story {
    padding-bottom: 116px;
  }

  .auth-card__seal {
    bottom: 22px;
    right: 22px;
  }

  .member-hero__monogram {
    display: none;
  }

  .member-sidebar nav,
  .member-metrics,
  .member-filters {
    grid-template-columns: 1fr 1fr;
  }

  .membership-plans,
  .membership-payment-methods,
  .membership-order,
  .membership-admin-order dl {
    grid-template-columns: 1fr;
  }

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

  .membership-order__actions {
    align-items: start;
    flex-direction: column;
  }

  .member-record {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .member-record > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .member-detail dl div,
  .member-form .form-row {
    grid-template-columns: 1fr;
  }

  .market-seller-product,
  .market-admin-product,
  .market-admin-seller {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .market-seller-product img,
  .market-admin-product > img {
    height: 72px;
    width: 72px;
  }

  .market-seller-product footer,
  .market-admin-product form,
  .market-admin-seller form {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .market-grid,
  .market-filters {
    grid-template-columns: 1fr;
  }

  .market-card h2 {
    font-size: 22px;
  }
}
