/* ═══════════════════════════════════════════════════════════════════════════
   VINTOLOGY — EDITORIAL PAGES (marketplace, product, cart, contact, about)
   Flat, minimal surfaces. Hairline rules, generous whitespace, no glass.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── page head ── */
.page-head {
  max-width: 46rem;
  margin: 7rem auto 2.5rem;
  padding: 0 var(--main-pad);
}
.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0 0 .8rem;
}
.page-head .lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

/* ── filters ── */
.filters {
  max-width: var(--main-max);
  margin: 0 auto 2rem;
  padding: 0 var(--main-pad);
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  align-items: center;
}
.filters input[type="search"] {
  flex: 1 1 14rem;
  min-width: 10rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.filters select {
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.filters .ed-btn { padding: .7rem 1.3rem; }

/* filter pills row */
.mp-pills {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  max-width: var(--main-max);
  margin: 0 auto 1.2rem;
  padding: 0 var(--main-pad);
}
.mp-pill {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  background: transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mp-pill:hover { border-color: var(--ink); color: var(--ink); }
.mp-pill.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* active filter pills */
.filter-meta {
  max-width: var(--main-max);
  margin: 0 auto 1.6rem;
  padding: 0 var(--main-pad);
}
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.active-filters span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--ink);
  color: var(--white);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* ── PDP ── */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: var(--main-max);
  margin: 0 auto 3rem;
  padding: 0 var(--main-pad);
}
.pdp-gallery { display: flex; flex-direction: column; gap: 1.2rem; }
.pdp-main-img {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main-img .ph.big {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--grey);
  opacity: .4;
}
.pdp-view-toggle {
  display: inline-flex;
  align-self: center;
  gap: .25rem;
  padding: .25rem;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.view-tab {
  font: inherit;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-3);
  transition: color .2s ease, background .2s ease;
}
.view-tab:hover { color: var(--text); }
.view-tab.active { background: var(--ink); color: var(--white); }

.pdp-thumbs, .pdp-model-view { display: flex; gap: .6rem; flex-wrap: wrap; }
.pdp-thumb {
  width: 80px; height: 80px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .18s ease, transform .18s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { border-color: var(--ink); transform: translateY(-2px); }

.pdp-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: .2rem 0 .8rem;
}
.pdp-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 .3rem;
}
.pdp-price + .was { font-size: 1rem; }
.pdp-label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-3);
  margin: 1.6rem 0 .7rem;
}
.stock { font-weight: 600; }
.stock.out { color: var(--text-3); }

.pdp-colors .swatch-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.color-swatch {
  width: 34px; height: 34px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid var(--line);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.color-swatch:hover { transform: scale(1.06); }
.color-swatch.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 25%, transparent);
}

.pdp-sizes .size-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-btn {
  font: inherit;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  min-width: 3rem;
  padding: .55rem .9rem;
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.pdp-shipping, .pdp-withdrawal {
  display: grid;
  gap: .3rem;
  margin: 1.2rem 0 0;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.5;
}
.pdp-shipping strong, .pdp-withdrawal strong {
  color: var(--text);
  font-family: var(--font-display);
}
.pdp-withdrawal { display: block; margin-top: .7rem; }
.pdp-desc { margin-top: 1.6rem; color: var(--text-2); line-height: 1.7; }
.pdp-add-msg { min-height: 1.2rem; margin: .6rem 0 0; font-size: .85rem; color: var(--text-3); }

#pdp-add:disabled { opacity: .4; cursor: not-allowed; }

/* related */
.pdp-related { margin-top: 3.5rem; }
.pdp-related h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}
.pdp-related .grid { margin: 0; padding: 0; }

/* reviews */
.review { border-top: 1px solid var(--line); padding: .85rem 0; }
.stars { color: var(--text-3); letter-spacing: .1em; }

/* fitting room gender toggle */
.fr-gender { display: inline-flex; gap: .4rem; margin-bottom: .8rem; }
.fr-gender__btn {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--text-2);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s ease;
}
.fr-gender__btn:hover { border-color: var(--ink); color: var(--text); }
.fr-gender__btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.fr-shots { display: flex; flex-wrap: wrap; gap: .5rem; }
.fr-shots[hidden] { display: none; }
.fr-empty { width: 100%; padding: .8rem 0; font-size: .85rem; }
.fr-empty::before { content: "📷 "; }

/* ── cart ── */
.cart { max-width: 46rem; margin: 7rem auto 3rem; padding: 0 var(--main-pad); }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty p { color: var(--text-2); margin: 0 0 1.4rem; }
.cart-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.8rem; }
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .9rem;
}
.cart-row__img {
  display: block;
  width: 72px; height: 72px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--off-white);
}
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__img .ph {
  display: grid; place-items: center; height: 100%;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--grey); opacity: .5;
}
.cart-row__info h3 {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600;
  margin: 0 0 .2rem; line-height: 1.3;
}
.cart-row__info a { color: var(--text); }
.cart-row__price { color: var(--text-2); font-size: .85rem; margin: 0; }
.cart-row__qty { display: inline-flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 30px; height: 30px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  display: grid; place-items: center;
  transition: border-color .2s ease;
}
.qty-btn:hover { border-color: var(--ink); }
.qty-val { min-width: 1.4rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty-input {
  width: 3.2rem; height: 30px;
  padding: 0 .2rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  text-align: center;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.cart-row__line { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 5rem; text-align: right; }
.cart-row__remove {
  width: 32px; height: 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: none;
  color: var(--text-3);
  font-size: 1.3rem; line-height: 1;
  transition: color .2s ease, border-color .2s ease;
}
.cart-row__remove:hover { color: #c0392b; border-color: rgba(192, 57, 43, .35); }
.cart-summary { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 1.2rem; }
.cart-total strong { font-family: var(--font-display); font-size: 1.5rem; }
.cart .small { font-size: .8rem; }
.checkout-page { max-width: 46rem; margin: 7rem auto 3rem; padding: 0 var(--main-pad); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr); gap: 1rem; }
.checkout-card { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 2px; padding: 1.4rem; }
.checkout-card h2 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 1rem; }
.checkout-lines { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.2rem; }
.checkout-line { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-2); }
.checkout-line strong { color: var(--text); font-variant-numeric: tabular-nums; }
.checkout-form--page { display: flex; flex-direction: column; gap: .8rem; }
.checkout-form--page label { display: flex; flex-direction: column; gap: .35rem; color: var(--text-2); font-size: .9rem; }
.checkout-form--page input { width: 100%; box-sizing: border-box; }
.checkout-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .8rem; }
.checkout-form input {
  flex: 1 1 14rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
#checkout-msg { min-height: 1.2rem; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--text-2); }

@media (max-width: 640px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cart-row { grid-template-columns: 60px 1fr auto; grid-template-areas:
    "img info remove" "qty line line"; row-gap: .6rem; }
  .cart-row__img { grid-area: img; width: 60px; height: 60px; }
  .cart-row__info { grid-area: info; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__line { grid-area: line; text-align: left; }
  .cart-row__remove { grid-area: remove; justify-self: end; }
}

/* ═══ EDITORIAL CONTACT PAGE (JUUN.J-style) ═══ */
.ct-hero {
  max-width: var(--main-max);
  margin: 6.5rem auto 0;
  padding: 0 var(--main-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: end;
  position: relative;
}
.ct-hero__text {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
  /* let the huge heading bleed under the media column for a true editorial overlap */
  margin-right: -6rem;
}
.ct-hero__title {
  font-family: var(--font-display);
  font-weight: var(--ed-w-display, 800);
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .86;
  letter-spacing: var(--ed-tracking-tight, -0.02em);
  color: var(--text);
  margin: 0 0 1.4rem;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.ct-hero__intro {
  max-width: 34ch;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 2.6rem;
}
.ct-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;
}
.ct-block__label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 .7rem;
}
.ct-block__name {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  margin: 0 0 .45rem;
}
.ct-block__line {
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 .2rem;
}
.ct-block__line a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.ct-block__line a:hover { color: var(--text); border-bottom-color: var(--text); }
.ct-hero__media {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: min(42rem, 62vh);
  pointer-events: none;
}
.ct-hero__img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 100%;
  max-height: 40rem;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  filter: contrast(1.02);
}

/* ── contact form ── */
.ct-form-section {
  max-width: var(--main-max);
  margin: 7rem auto 0;
  padding: 0 var(--main-pad);
}
.ct-section-title {
  font-family: var(--font-display);
  font-weight: var(--ed-w-display, 800);
  font-size: var(--ed-h2-size, clamp(1.5rem, 3.5vw, 2.5rem));
  letter-spacing: var(--ed-tracking-tight, -0.02em);
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 .6rem;
}
.ct-section-lede {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 48ch;
  margin: 0 0 2rem;
}
.ct-form-wrap { max-width: 46rem; }
.ct-form { display: grid; gap: 1.4rem; }
.ct-field { display: grid; gap: .5rem; }
.ct-field span {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ct-field input, .ct-field textarea {
  width: 100%;
  padding: .85rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  transition: border-color .2s;
}
.ct-field input:focus-visible,
.ct-field textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-bottom-color: var(--text);
}
.ct-field textarea { resize: vertical; min-height: 8rem; }
.ct-submit {
  justify-self: start;
  margin-top: .5rem;
  padding: .95rem 2.4rem;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ct-submit:hover { background: transparent; color: var(--text); }
.ct-submit:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.ct-submit:disabled { opacity: .5; cursor: default; }
.ct-msg { min-height: 1.2rem; font-size: .9rem; margin: 0; }
.ct-msg.is-ok { color: var(--text); }
.ct-msg.is-error { color: var(--danger, #c0392b); }
.ct-consent { font-size: .8rem; color: var(--text-2); margin: 0; }

/* ── FAQ accordion ── */
.ct-faq {
  max-width: var(--main-max);
  margin: 7rem auto 0;
  padding: 0 var(--main-pad);
}
.ct-faq__title { margin-bottom: 2.4rem; }
.ct-faq__list { border-top: 1px solid var(--line); }
.ct-faq__item { border-bottom: 1px solid var(--line); }
.ct-faq__heading { margin: 0; font: inherit; font-weight: inherit; }
.ct-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
}
.ct-faq__q:hover { color: var(--text-2); }
.ct-faq__q:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.ct-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.ct-faq__icon::before,
.ct-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.ct-faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.ct-faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.ct-faq__item.is-open .ct-faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.ct-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.ct-faq__a > * { overflow: hidden; min-height: 0; }
.ct-faq__item.is-open .ct-faq__a { grid-template-rows: 1fr; }
.ct-faq__a p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 1.6rem;
  max-width: 70ch;
}
.ct-faq__a a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ── closing CTA ── */
.ct-cta {
  text-align: center;
  padding: 7rem var(--main-pad) 6rem;
}
.ct-cta__link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.ct-cta__arrow { transition: transform .25s; display: inline-block; }
.ct-cta__link:hover .ct-cta__arrow { transform: translateX(8px); }

@media (max-width: 1024px) {
  .ct-hero__intro { max-width: 46ch; }
  .ct-hero__title { font-size: clamp(3rem, 9vw, 5rem); }
  .ct-hero__text { margin-right: 0; }
}

@media (max-width: 860px) {
  .ct-hero { grid-template-columns: 1fr; align-items: start; }
  .ct-hero__media { min-height: 0; margin-top: 2rem; justify-content: center; pointer-events: auto; }
  .ct-hero__img { height: auto; width: auto; max-width: 26rem; max-height: none; }
  .ct-blocks { grid-template-columns: 1fr; gap: 1.8rem; }
  .ct-hero__title { font-size: clamp(3rem, 15vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-faq__a, .ct-faq__icon::before, .ct-faq__icon::after,
  .ct-cta__arrow, .ct-submit, .ct-block__line a,
  .ct-field input, .ct-field textarea { transition: none !important; }
}

/* ── about ── */
.about-body {
  max-width: 46rem;
  margin: 7rem auto 3rem;
  padding: 0 var(--main-pad);
  display: grid;
  gap: 1.6rem;
}
.about-card {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.about-card h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .8rem; }
.about-card p { color: var(--text-2); line-height: 1.7; margin: 0 0 1rem; }
.about-card p:last-child { margin-bottom: 0; }
.about-steps, .about-rules { padding-left: 1.2rem; margin: 0; }
.about-steps li, .about-rules li { color: var(--text-2); line-height: 1.7; margin-bottom: .7rem; }
.about-steps li:last-child, .about-rules li:last-child { margin-bottom: 0; }
.about-steps strong, .about-rules strong { color: var(--text); }

/* ── order confirmation ── */
.order { max-width: 40rem; margin: 7rem auto 3rem; padding: 0 var(--main-pad); }
.order-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  color: var(--text-2); font-size: .9rem;
}
.order-meta strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); }
.order-lines { display: flex; flex-direction: column; }
.order-line {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: center;
}
.order-line__title { font-weight: 500; }
.order-line__qty { color: var(--text-2); }
.order-line__total { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 5rem; text-align: right; }
.order-total { margin-top: 1rem; }
.order .ed-btn { margin-top: 1.2rem; }

/* ── ship info bar ── */
.ship-info {
  max-width: var(--main-max);
  margin: 0 auto 1.6rem;
  padding: .9rem var(--main-pad);
  display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.ship-info__label { font-weight: 700; color: var(--text); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .card, .card .thumb img, .product-card__quick-add, .color-swatch, .size-btn, .view-tab { transition: none !important; }
  .card:hover { transform: none !important; }
  .pdp-thumb:hover { transform: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MARKETPLACE HERO + CATEGORY TILES (Shopify-style editorial layout)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── marketplace hero: model photo + overlapping "MARKETPLACE" heading ── */
.mp-hero {
  position: relative;
  margin: 0 0 2.5rem;
  color: var(--text);
}
.mp-hero__bg {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  max-height: 860px;
  overflow: hidden;
}
.mp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--ink) 30%, transparent) 0%,
    transparent 55%
  );
}
.mp-hero__intro {
  position: absolute;
  top: 50%;
  left: var(--main-pad);
  transform: translateY(-50%);
  max-width: 28rem;
  z-index: 2;
}
.mp-hero__lede {
  margin: 1rem 0 0;
  font-weight: 500;
}
.mp-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: .88;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ── category tiles: full-bleed grid of images with labels ── */
.mp-categories {
  margin: 0 0 3rem;
}
.mp-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  max-width: var(--main-max);
  margin: 0 auto;
  padding: 0 var(--main-pad);
}
.mp-cat {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.mp-cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.mp-cat:hover .mp-cat__img { transform: scale(1.04); }
.mp-cat__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(.95rem, 2.2vw, 1.3rem);
  color: var(--white);
  background: linear-gradient(transparent, color-mix(in srgb, var(--ink) 70%, transparent));
}

/* darker text on light theme */
@media (prefers-color-scheme: light) {
  .mp-hero__title { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mp-cat__img { transition: none !important; }
  .mp-cat:hover .mp-cat__img { transform: none !important; }
}

/* responsive: single column on mobile, 4-up on wide */
@media (min-width: 560px) {
  .mp-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .mp-cats { grid-template-columns: repeat(4, 1fr); }
}

/* ── marketplace hero text color in dark theme ── */
[data-theme="dark"] .mp-hero__title { color: var(--white); }
[data-theme="dark"] .mp-hero__overlay {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--ink) 30%, transparent) 0%,
    transparent 55%
  );
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE (Sonora/photography-studio style: black bg, white text,
   vertical team strips)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── about hero ── */
.ab-hero {
  position: relative;
  margin: 0 0 3rem;
  color: var(--text);
}
.ab-hero__bg {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  max-height: 900px;
  overflow: hidden;
}
.ab-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%);
}
.ab-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--ink) 40%, transparent) 0%,
    transparent 55%
  );
}
.ab-hero__intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
.ab-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .88;
  font-size: clamp(2.2rem, 7vw, 5rem);
  color: var(--white);
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ── services / philosophy rows ── */
.ab-services { margin: 0 0 3rem; padding: 0 var(--main-pad); max-width: var(--main-max); margin-inline: auto; }
.ab-serv__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -.02em;
  margin: 0 auto 2rem;
  text-align: center;
  display: block;
}
.ab-serv__list { display: flex; flex-direction: column; gap: .3rem; }
.ab-serv__row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.ab-serv__num {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.ab-serv__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
  color: var(--text);
}
.ab-serv__desc {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 42ch;
}

/* ── professional team: vertical strips ── */
.ab-team { margin: 0 0 3rem; }
.ab-team__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -.02em;
  margin: 0 auto 2.5rem;
  text-align: center;
  display: block;
  padding: 0 var(--main-pad);
}
.ab-team__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--main-max);
  margin: 0 auto;
  padding: 0 var(--main-pad);
}
.ab-team__member {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 120px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.ab-team__img {
  display: block;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ab-team__info {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.ab-team__member:hover .ab-team__info { opacity: 1; }
.ab-team__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
}
.ab-team__role {
  display: block;
  font-family: var(--font-body);
  font-size: .72rem;
  color: var(--grey);
  margin-top: .2rem;
}

/* ── services grid (3-column list) ── */
.ab-services-grid { margin: 0 0 3rem; padding: 0 var(--main-pad); }
.ab-sg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--main-max);
  margin: 0 auto;
}
.ab-sg__col { display: flex; flex-direction: column; gap: .5rem; }
.ab-sg h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  color: var(--text-3);
  margin: 0;
}

@media (max-width: 860px) {
  .mp-hero__intro { left: var(--main-pad); max-width: 20rem; }
  .mp-hero__title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .ab-team__img { height: 50vh; max-height: 500px; }
  .ab-sg { grid-template-columns: 1fr; }
}

/* ═══ MARKETPLACE closing CTA ═══ */
.mp-cta {
  text-align: center;
  padding: 6rem var(--main-pad) 5rem;
}
.mp-cta__link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.mp-cta__arrow { transition: transform .25s; display: inline-block; }
.mp-cta__link:hover .mp-cta__arrow { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) {
  .mp-cta__arrow { transition: none !important; }
}

/* ═══ ABOUT closing CTA ═══ */
.ab-cta {
  text-align: center;
  padding: 6rem var(--main-pad) 5rem;
}
.ab-cta__link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.ab-cta__arrow { transition: transform .25s; display: inline-block; }
.ab-cta__link:hover .ab-cta__arrow { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) {
  .ab-cta__arrow { transition: none !important; }
}

/* ═══ ABOUT FAQ ═══ */
.ab-faq {
  max-width: var(--main-max);
  margin: 6rem auto 0;
  padding: 0 var(--main-pad);
}
.ab-faq__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--ed-h2-size, clamp(1.5rem, 3.5vw, 2.5rem));
  letter-spacing: var(--ed-tracking-tight, -0.02em);
  margin: 0 0 2.4rem;
}
.ab-faq__list { border-top: 1px solid var(--line); }
.ab-faq__item { border-bottom: 1px solid var(--line); }
.ab-faq__heading { margin: 0; font: inherit; font-weight: inherit; }
.ab-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
}
.ab-faq__q:hover { color: var(--text-2); }
.ab-faq__q:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.ab-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.ab-faq__icon::before,
.ab-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.ab-faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.ab-faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.ab-faq__item.is-open .ab-faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.ab-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.ab-faq__a > * { overflow: hidden; min-height: 0; }
.ab-faq__item.is-open .ab-faq__a { grid-template-rows: 1fr; }
.ab-faq__a p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 1.6rem;
  max-width: 70ch;
}
@media (prefers-reduced-motion: reduce) {
  .ab-faq__a, .ab-faq__icon::before, .ab-faq__icon::after { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THRIFT STORE — editorial hub, shop, and vendor markets
   Uses the loaded editorial tokens (--text, --line, --ink, --font-display).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── thrift hub hero (full-bleed photo + oversized title) ── */
.thr-hero {
  position: relative;
  margin: 0 0 3rem;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.thr-hero__bg,
.thr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(.25) brightness(.72);
  transform: scale(1.04);
}
.thr-hero__bg { z-index: 1; background-size: cover; background-position: center; }
.thr-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 35%, transparent), color-mix(in srgb, var(--ink) 82%, transparent));
}
.thr-hero__copy {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 6vw, 4.5rem) var(--main-pad);
  max-width: 46rem;
}
.thr-hero__copy .lp-eyebrow { color: #e9e9e4; }
.thr-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: .94;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: .5rem 0 .9rem;
}
.thr-hero__lede {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: #e9e9e4;
}
.thr-hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; }
/* on the dark hero the ghost button must read light, not ink */
.thr-hero__cta .ed-btn--ghost {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.thr-hero__cta .ed-btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

/* ── destination cards (two big entries: Shop + Vendors) ── */
.thr-destination-cards {
  max-width: var(--main-max);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: 0 var(--main-pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.thr-card { position: relative; }
.thr-card__link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  color: var(--text);
  background: var(--surface-solid);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.thr-card__link:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.thr-card__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  filter: grayscale(.3) brightness(.85);
  transition: transform .5s cubic-bezier(.2,.8,.25,1), filter .4s ease;
}
.thr-card__link:hover .thr-card__img { transform: scale(1.04); filter: grayscale(0) brightness(1); }
.thr-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.thr-card__body h3 { margin: 0 0 .5rem; }
.thr-card__desc { color: var(--text-2); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ── marquee ── */
.thr-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
  background: var(--surface-solid);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.thr-marquee__track {
  display: inline-flex;
  gap: 2.2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  animation: thr-marquee 32s linear infinite;
}
@keyframes thr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── how-it-works steps ── */
.thr-steps { max-width: var(--main-max); margin: 0 auto; padding: 0 var(--main-pad) clamp(2.5rem, 6vw, 4rem); }
.thr-steps h2 { margin: 0 0 1.8rem; }
.thr-step-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.thr-step-grid li {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.6rem;
}
.thr-step-n {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  color: var(--text-3); letter-spacing: .14em;
}
.thr-step-grid h3 { font-family: var(--font-display); font-size: 1.02rem; margin: .6rem 0 .5rem; }
.thr-step-grid p { color: var(--text-2); font-size: .9rem; line-height: 1.6; margin: 0; }

/* ── condition grade key ── */
.thr-grades { max-width: var(--main-max); margin: 0 auto; padding: 0 var(--main-pad) clamp(2.5rem, 6vw, 4rem); }
.thr-grades h2 { margin: 0 0 1.6rem; }
.thr-grade-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.thr-grade { background: var(--surface-solid); border: 1px solid var(--line); border-radius: 2px; padding: 1.1rem; }
.thr-grade__chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .7rem;
  color: #0a1512;
}
.thr-grade--excellent { background: #7fb069; }
.thr-grade--good { background: #c9a45c; }
.thr-grade--worn { background: #d98e5f; }
.thr-grade--vintage { background: #9aa6b2; }
.thr-grade p { color: var(--text-2); font-size: .84rem; line-height: 1.55; margin: 0; }

/* ── featured racks grid ── */
.thrift-grid-section { max-width: var(--main-max); margin: 0 auto; padding: 0 var(--main-pad) clamp(2.5rem, 6vw, 4rem); scroll-margin-top: 80px; }
.thrift-grid-head { text-align: center; margin-bottom: 2rem; }
.thrift-grid-head h2 { margin: 0 0 .5rem; }
.thrift-grid-head .lede { margin: 0 auto; }

/* ── sustainability note ── */
.thr-note {
  max-width: var(--main-max);
  margin: 0 auto clamp(3rem, 7vw, 4.5rem);
  padding: 0 var(--main-pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.thr-note__img {
  width: 100%; height: 300px; object-fit: cover;
  border-radius: 2px;
  filter: grayscale(.25) brightness(.88);
}
.thr-note__body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .7rem; }
.thr-note__body p { color: var(--text-2); line-height: 1.7; margin: 0; }

/* ── thrift SHOP page ── */
.thrift-filter-bar {
  max-width: var(--main-max);
  margin: 7rem auto 1.6rem;
  padding: 0 var(--main-pad);
}
.thrift-filter-bar .filter-form { display: flex; flex-direction: column; gap: .8rem; }
.thrift-filter-bar .filter-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.thrift-filter-bar .filter-search {
  flex: 1 1 16rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.thrift-filter-bar select,
.thrift-filter-bar .filter-price {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.thrift-filter-bar .filter-price { width: 8rem; }
.thrift-filter-bar .filter-btn { padding: .8rem 1.4rem; }
.thrift-results-head {
  max-width: var(--main-max);
  margin: 0 auto 1.4rem;
  padding: 0 var(--main-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.thrift-results-head .result-count {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
}
.thrift-store-page .grid { max-width: var(--main-max); margin: 0 auto; padding: 0 var(--main-pad); }
.thrift-store-page .pagination { margin: 2.5rem auto 0; }
.ed-btn--sm { padding: .55rem 1rem; font-size: .72rem; }

/* ── pagination (shared by marketplace + thrift shop) ── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  align-items: center;
}
.pagination .page-link,
.pagination .page-btn {
  min-width: 2.4rem;
  padding: .5rem .7rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.pagination .page-link:hover,
.pagination .page-btn:hover { border-color: var(--ink); color: var(--text); }
.pagination .page-link.is-current,
.pagination .page-btn.is-current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.pagination .page-ellipsis { color: var(--text-3); padding: 0 .3rem; }

/* ── vendor cards (registered vendors on the ports page) ── */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.vendor-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface-solid);
  overflow: hidden;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.vendor-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.vendor-card__logo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--off-white);
}
.vendor-card__body { padding: 1.2rem 1.3rem 1.4rem; position: relative; }
.vendor-card__body h3 { margin: 0 0 .4rem; }
.vendor-card__desc { color: var(--text-2); font-size: .88rem; line-height: 1.6; margin: 0; }
.vendor-card__ext {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  color: var(--text-3);
  font-size: .9rem;
}
@media (max-width: 900px) { .vendor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vendor-grid { grid-template-columns: 1fr; } }

/* ── thrift VENDORS page: port markets ── */
.port-hero {
  max-width: var(--main-max);
  margin: 7rem auto 2.5rem;
  padding: 0 var(--main-pad);
}
.port-hero h1 { margin: 0 0 .8rem; }
.port-hero .lede { max-width: 46rem; }
.port-grid {
  max-width: var(--main-max);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: 0 var(--main-pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.port-card {
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--surface-solid);
}
.port-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: grayscale(.2) brightness(.9);
  transition: transform .5s cubic-bezier(.2,.8,.25,1), filter .4s ease;
}
.port-card:hover .port-card__img { transform: scale(1.03); filter: grayscale(0) brightness(1); }
.port-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.port-card__kicker {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 .6rem;
}
.port-card__name {
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin: 0 0 .7rem;
}
.port-card__desc { color: var(--text-2); line-height: 1.7; margin: 0 0 1rem; }
.port-card__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
}
.port-card__meta span { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; }

/* ── thrift responsive ── */
@media (max-width: 900px) {
  .thr-step-grid, .thr-grade-row { grid-template-columns: 1fr 1fr; }
  .thr-note { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .thr-destination-cards { grid-template-columns: 1fr; }
  .thr-hero { min-height: 60vh; }
}
@media (max-width: 520px) {
  .thr-step-grid, .thr-grade-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .thr-marquee__track { animation: none !important; }
  .thr-card__img, .port-card__img, .thr-card__link, .card { transition: none !important; }
  .thr-card__link:hover, .card:hover { transform: none !important; }
}

/* ── Track Your Order ──────────────────────────────────────────────── */
.track-hero { margin-bottom: 2rem; }
.track-hero .ed-eyebrow { color: var(--muted); }

.track-form { max-width: 480px; }
.track-form .ed-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1rem;
}
.track-form .ed-field label { font-size: .85rem; color: var(--text); }
.track-form .ed-field input {
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
}
.track-form .ed-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.track-result { margin-top: 2rem; max-width: 640px; }
.track-order-meta {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1rem;
}
.track-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 0;
}
.status-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.status--paid .status-dot { background: #50c750; }
.status--pending .status-dot { background: #e0a800; }
.status--refunded .status-dot { background: var(--muted); }

.track-shipping { margin: 1rem 0; padding: 1rem 0; border-top: 1px solid var(--line); }
.track-shipping p { margin: .25rem 0; }

.track-items {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.track-item {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.track-item__title { flex: 2; }
.track-item__qty { color: var(--muted); }
.track-item__price { text-align: right; }
