/* === GAP Marketplace Design System === */
/* Version: ?v=20260526b                 */
/* Scope: marketplace pages only         */
/* Linked from: search.js, [slug].js, how-it-works.js, about.js, faq.js, buyer-safety.js */
/* Tokens reference :root vars from style.css — do not redeclare them here */

/* ── Marketplace-specific design tokens ── */
:root {
  /* Card */
  --mp-card-bg:             #FFFFFF;
  --mp-card-radius:         14px;
  --mp-card-shadow:         0 2px 8px rgba(11, 36, 71, 0.07);
  --mp-card-shadow-hover:   0 8px 28px rgba(11, 36, 71, 0.14);
  --mp-card-border:         1px solid rgba(11, 36, 71, 0.09);
  --mp-card-img-ratio:      4 / 3;

  /* Photo placeholder */
  --mp-placeholder-bg:      linear-gradient(145deg, #0B2447 0%, #19376D 100%);

  /* Price */
  --mp-price-color:         var(--orange);
  --mp-price-size:          1.25rem;

  /* Badges */
  --mp-badge-featured-bg:   var(--orange);
  --mp-badge-featured-text: #FFFFFF;
  --mp-badge-licensed-bg:   rgba(11, 36, 71, 0.85);
  --mp-badge-licensed-text: #FFFFFF;
  --mp-badge-radius:        6px;

  /* Filter bar */
  --mp-filter-bg:           rgba(255, 255, 255, 0.75);
  --mp-filter-blur:         12px;
  --mp-filter-border:       1px solid rgba(11, 36, 71, 0.10);
  --mp-filter-radius:       var(--radius);

  /* Gallery */
  --mp-gallery-thumb-ratio:   4 / 3;
  --mp-gallery-primary-ratio: 16 / 9;

  /* Page max-width */
  --mp-max: 1280px;

  /* Trust block */
  --mp-trust-bg:     #F5F7FA;
  --mp-trust-border: rgba(11, 36, 71, 0.09);

  /* Sample listing badge + disclosure */
  --mp-badge-sample-bg:     #19376D;
  --mp-badge-sample-text:   #FFFFFF;
  --mp-disclosure-bg:       rgba(11, 36, 71, 0.045);
  --mp-disclosure-border:   rgba(11, 36, 71, 0.12);

  /* Page padding */
  --mp-page-pad:    2rem 1.5rem;
  --mp-card-gap:    1.25rem;
  --mp-card-pad:    1rem;
  --mp-section-gap: 2.5rem;
}

/* ── Search / Grid page container ── */
.mp-page {
  max-width: var(--mp-max);
  margin: 0 auto;
  padding: var(--mp-page-pad);
}
@media (max-width: 768px) {
  .mp-page { padding: 1.5rem 1rem; }
}

/* ── Page header ── */
.mp-page-header {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.mp-page-header h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  color: var(--navy);
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.02em;
}
.mp-result-count {
  font-size: 0.9375rem;
  color: rgba(11, 36, 71, 0.45);
  margin: 0;
}

/* ── Filter bar — glassmorphic, sticky desktop ── */
.mp-filter-bar {
  background: var(--mp-filter-bg);
  border: var(--mp-filter-border);
  border-radius: var(--mp-filter-radius);
  backdrop-filter: saturate(150%) blur(var(--mp-filter-blur));
  -webkit-backdrop-filter: saturate(150%) blur(var(--mp-filter-blur));
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  position: sticky;
  top: 64px;    /* clear the 64px sticky nav */
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.mp-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 130px;
}
.mp-filter-field-pair {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.mp-filter-field-pair .mp-filter-field {
  min-width: 100px;
}
.mp-filter-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 36, 71, 0.45);
}
.mp-filter-input,
.mp-filter-select {
  border: 1px solid rgba(11, 36, 71, 0.14);
  border-radius: 8px;
  padding: 0.4rem 0.625rem;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font-family: inherit;
  transition: border-color 0.15s;
}
.mp-filter-input:focus,
.mp-filter-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200, 49, 31, 0.12);
}
.mp-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.mp-btn-filter {
  background: var(--navy);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.mp-btn-filter:hover { background: var(--steel); }
.mp-btn-reset {
  color: rgba(11, 36, 71, 0.5);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}
.mp-btn-reset:hover { color: var(--navy); }
.mp-filter-coerced {
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.5);
  width: 100%;
  margin: 0;
}

/* Mobile filter toggle */
@media (max-width: 768px) {
  .mp-filter-bar {
    position: static;
    flex-direction: column;
    gap: 0;
  }
  .mp-filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy);
    color: white;
    border: none;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    font-family: inherit;
    margin-bottom: 0;
  }
  .mp-filter-fields {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    width: 100%;
  }
  .mp-filter-fields.open { display: flex; }
  .mp-filter-field { min-width: 100%; }
  .mp-filter-field-pair { flex-direction: row; }
  .mp-filter-field-pair .mp-filter-field { min-width: 0; flex: 1; }
}
@media (min-width: 769px) {
  .mp-filter-toggle-btn { display: none; }
  .mp-filter-fields { display: contents; }
}

/* ── Card grid ── */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--mp-card-gap);
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .mp-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (min-width: 641px) and (max-width: 900px) {
  .mp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Listing card ── */
.mp-card {
  background: var(--mp-card-bg);
  border: var(--mp-card-border);
  border-radius: var(--mp-card-radius);
  overflow: hidden;
  box-shadow: var(--mp-card-shadow);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.mp-card:hover {
  box-shadow: var(--mp-card-shadow-hover);
  transform: translateY(-2px);
}
a.mp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.mp-card-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--mp-card-radius);
}

/* Card photo zone */
.mp-card-photo {
  position: relative;
  aspect-ratio: var(--mp-card-img-ratio);
  overflow: hidden;
  background: var(--mp-placeholder-bg);
}
.mp-card-photo img.mp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mp-card:hover .mp-card-img {
  transform: scale(1.03);
}

/* Intentional no-photo fallback */
.mp-card-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--mp-placeholder-bg);
  gap: 0.5rem;
  color: white;
}
.mp-card-no-photo svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}
.mp-card-no-photo span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Featured badge */
.mp-badge-featured {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  background: var(--mp-badge-featured-bg);
  color: var(--mp-badge-featured-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--mp-badge-radius);
  backdrop-filter: blur(4px);
}

/* Card body */
.mp-card-body {
  padding: var(--mp-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mp-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.mp-card-sub {
  /* Year · Make · Model chip — secondary, supplementary, NOT a duplicate headline */
  font-size: 0.8125rem;
  color: var(--sky);
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-card-price {
  font-family: 'Inter Tight', sans-serif;
  font-size: var(--mp-price-size);
  font-weight: 700;
  color: var(--mp-price-color);
  margin: 0.125rem 0;
}
.mp-card-price-inquire {
  font-size: 0.9375rem;
  color: rgba(11, 36, 71, 0.4);
  font-style: italic;
  margin: 0.125rem 0;
}
.mp-card-condition {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(11, 36, 71, 0.12);
  color: rgba(11, 36, 71, 0.55);
  background: var(--offwhite);
  width: fit-content;
  margin-top: 0.125rem;
}
.mp-card-location {
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.45);
  margin: 0;
}
.mp-card-dealer {
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.45);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin: 0;
}
.mp-badge-licensed {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.125rem 0.4rem;
  border-radius: 4px;
  background: var(--mp-badge-licensed-bg);
  color: var(--mp-badge-licensed-text);
}

/* ── Empty state ── */
.mp-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(11, 36, 71, 0.4);
}
.mp-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  opacity: 0.25;
  display: block;
}
.mp-empty-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.mp-empty-sub {
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
  color: rgba(11, 36, 71, 0.4);
}

/* ── Pagination ── */
.mp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0 1rem;
}
.mp-page-btn {
  background: white;
  border: var(--mp-card-border);
  border-radius: 8px;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.mp-page-btn:hover { background: var(--offwhite); border-color: var(--navy); }
.mp-page-btn-disabled {
  background: var(--offwhite);
  border: var(--mp-card-border);
  border-radius: 8px;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  color: rgba(11, 36, 71, 0.3);
}
.mp-page-info {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.45);
}

/* ── Detail page ── */
.mp-detail {
  background: var(--offwhite);
  min-height: 100vh;
}
.mp-detail-container {
  max-width: var(--mp-max);
  margin: 0 auto;
  padding: var(--mp-page-pad);
}
@media (max-width: 768px) {
  .mp-detail-container { padding: 1.5rem 1rem; }
}

/* Breadcrumb */
.mp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.45);
  margin-bottom: 1.25rem;
}
.mp-breadcrumb a {
  color: var(--sky);
  text-decoration: none;
}
.mp-breadcrumb a:hover { color: var(--navy); }
.mp-breadcrumb-sep { opacity: 0.4; }

/* Detail header */
.mp-detail-header {
  margin-bottom: 0.75rem;
}
.mp-detail-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.mp-detail-price {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--mp-price-color);
  display: block;
  margin: 0.5rem 0 1rem;
}
.mp-detail-price-inquire {
  font-size: 1.25rem;
  color: rgba(11, 36, 71, 0.4);
  font-style: italic;
  display: block;
  margin: 0.5rem 0 1rem;
}
.mp-detail-featured-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* ── Gallery ── */
.mp-gallery {
  margin: 1.25rem 0 2rem;
  position: relative;
}
.mp-gallery-primary {
  position: relative;
  aspect-ratio: var(--mp-gallery-primary-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mp-placeholder-bg);
  cursor: zoom-in;
}
.mp-gallery-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}
.mp-gallery-primary img.mp-img-loading {
  opacity: 0;
}
.mp-gallery-expand {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(11, 36, 71, 0.55);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 6px;
  padding: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s, background 0.15s;
  color: white;
}
.mp-gallery-expand:hover { opacity: 1; background: rgba(11, 36, 71, 0.8); }
.mp-gallery-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(11, 36, 71, 0.55);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  pointer-events: none;
}
.mp-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.mp-gallery-thumbs::-webkit-scrollbar { display: none; }
.mp-gallery-thumb {
  flex: 0 0 80px;
  aspect-ratio: var(--mp-gallery-thumb-ratio);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.7;
}
.mp-gallery-thumb.active {
  border-color: var(--orange);
  opacity: 1;
}
.mp-gallery-thumb:hover { opacity: 1; }
.mp-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .mp-gallery-thumb { flex: 0 0 64px; }
}

/* Gallery empty / no-photo state */
.mp-gallery-empty {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #0B2447 0%, #19376D 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  color: rgba(255, 255, 255, 0.35);
}
.mp-gallery-empty span {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Spec grid ── */
.mp-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem 1.5rem;
  background: white;
  border: var(--mp-card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.mp-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mp-spec-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 36, 71, 0.4);
}
.mp-spec-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.35;
}

/* ── Description ── */
.mp-description {
  margin: 2rem 0;
}
.mp-description h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.mp-description-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  white-space: pre-wrap;
}

/* ── CTA block ── */
.mp-cta-block {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.mp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2.25rem;
  border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
}
.mp-btn-primary:hover {
  background: #e85a26;
  color: white;
  transform: translateY(-1px);
}
.mp-btn-primary:active { transform: translateY(0); }
.mp-cta-sub {
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.45);
  margin: 0;
}

/* ── Trust block / dealer card (glassmorphic) ── */
.mp-trust-block {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(11, 36, 71, 0.09);
  border-radius: var(--radius);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  padding: 1.5rem;
  margin: 2rem 0 1.5rem;
}
.mp-trust-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.mp-trust-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.25rem 0;
}
.mp-trust-meta {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.5);
  margin: 0.25rem 0 0 0;
}
.mp-trust-website {
  font-size: 0.875rem;
  color: var(--sky);
  display: inline-block;
  margin-top: 0.375rem;
}
.mp-trust-website:hover { color: var(--navy); }

/* ── Disclaimer ── */
.mp-disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(11, 36, 71, 0.35);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ── Footer (marketplace-scoped) ── */
.mp-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}
.mp-footer-inner {
  max-width: var(--mp-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.mp-footer-copy {
  font-size: 0.875rem;
  margin: 0;
}
.mp-footer-links {
  display: flex;
  gap: 1.25rem;
}
.mp-footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.mp-footer-links a:hover { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 600px) {
  .mp-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Alias notice ── */
.mp-alias-notice {
  font-size: 0.875rem;
  color: rgba(11, 36, 71, 0.45);
  margin: 0.25rem 0 0;
}

/* ── Sample Listing badge — card (photo overlay, top-right) ── */
/* D6 §5.2: visually prominent on search grid card, non-dismissable */
.mp-badge-sample {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  background: var(--mp-badge-sample-bg);
  color: var(--mp-badge-sample-text);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.225rem 0.625rem;
  border-radius: var(--mp-badge-radius);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  /* Sits above featured badge in z-order — both can coexist in theory but
     seeded listings will never be marked featured. */
  z-index: 2;
}

/* ── Sample Listing badge — detail page (inline, above gallery) ── */
/* D6 §5.2: visible above the fold before any contact action */
.mp-sample-badge-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--mp-badge-sample-bg);
  color: var(--mp-badge-sample-text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 6px;
  margin-bottom: 0.875rem;
}
.mp-sample-badge-detail svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* ── Sample Disclosure block — detail page ── */
/* D6 §5.2 req. 2: verbatim disclosure, above CTA / inquiry form */
.mp-sample-disclosure {
  background: var(--mp-disclosure-bg);
  border: 1px solid var(--mp-disclosure-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.mp-sample-disclosure-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--navy);
  opacity: 0.45;
}
.mp-sample-disclosure-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(11, 36, 71, 0.65);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   F.3.2b — Content trust pages (How It Works, About, FAQ, Buyer Safety)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Content page shell ── */
.mp-content-page {
  max-width: var(--mp-max);
  margin: 0 auto;
}

/* ── Hero header ── */
.mp-content-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #19376D 100%);
  padding: 5rem 1.5rem 4rem;
}
.mp-content-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.mp-content-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.75rem;
}
.mp-content-hero h1 {
  color: #FFFFFF;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
  line-height: 1.15;
}
.mp-content-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
  max-width: 640px;
}

/* ── Content body ── */
.mp-content-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── Info block ── */
.mp-info-block {
  margin-bottom: 3rem;
}
.mp-info-block h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
}
.mp-info-block p,
.mp-info-block li {
  color: rgba(11, 36, 71, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.875rem;
}
.mp-info-block--highlight {
  background: rgba(11, 36, 71, 0.04);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
}
.mp-info-block--highlight h2 {
  margin-top: 0;
}
.mp-info-block--role {
  background: rgba(11, 36, 71, 0.03);
  border: 1px solid rgba(11, 36, 71, 0.09);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.mp-info-block--role h2 {
  margin-top: 0;
}

/* ── Legal block (verbatim Esquire content) ── */
.mp-legal-block {
  border-left: 2px solid rgba(11, 36, 71, 0.18);
  padding-left: 1.25rem;
  margin: 0;
}
.mp-legal-block p,
.mp-legal-block li {
  color: rgba(11, 36, 71, 0.72);
  font-size: 0.9375rem;
  line-height: 1.68;
  margin-bottom: 0.75rem;
}
.mp-legal-block ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0.75rem;
}
.mp-legal-block--prominent {
  border-left: 3px solid var(--navy);
  background: rgba(11, 36, 71, 0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.mp-legal-block--prominent p,
.mp-legal-block--prominent li {
  color: rgba(11, 36, 71, 0.82);
}

/* ── Legal framing sentence (precedes checklists) ── */
.mp-legal-framing {
  font-style: italic;
  color: rgba(11, 36, 71, 0.65) !important;
  font-size: 0.9375rem !important;
  margin-bottom: 1.25rem !important;
}

/* ── How It Works steps ── */
.mp-steps-section {
  margin-bottom: 3rem;
}
.mp-steps-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.5rem;
}
.mp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mp-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.mp-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--orange);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0.125rem;
}
.mp-step-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.375rem;
}
.mp-step-body p {
  color: rgba(11, 36, 71, 0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Buyer Safety checklist ── */
.mp-checklist {
  padding-left: 0;
  list-style: none;
  margin: 0;
  counter-reset: checklist;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mp-checklist li {
  counter-increment: checklist;
  position: relative;
  padding-left: 3rem;
  color: rgba(11, 36, 71, 0.78) !important;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 !important;
}
.mp-checklist li::before {
  content: counter(checklist);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: rgba(11, 36, 71, 0.07);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-checklist li strong {
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* ── Red flags list ── */
.mp-redflags {
  padding-left: 0;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mp-redflags li {
  position: relative;
  padding-left: 1.75rem;
  color: rgba(11, 36, 71, 0.78) !important;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 !important;
}
.mp-redflags li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.125rem;
  height: 1.125rem;
  background: #FFE8E0;
  color: #C94A1A;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── FAQ accordion ── */
.mp-faq-legend {
  font-size: 0.8125rem;
  color: rgba(11, 36, 71, 0.55);
  margin-bottom: 2.5rem;
  padding: 0.75rem 1rem;
  background: rgba(11, 36, 71, 0.04);
  border-radius: 8px;
}
.mp-faq-legal-marker {
  color: var(--orange);
  font-size: 0.625rem;
  vertical-align: middle;
  margin: 0 0.15em;
}
.mp-faq-section {
  margin-bottom: 2.5rem;
}
.mp-faq-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11, 36, 71, 0.45);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(11, 36, 71, 0.09);
}
.mp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mp-faq-item {
  border-bottom: 1px solid rgba(11, 36, 71, 0.08);
}
.mp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  padding: 1.125rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}
.mp-faq-q:hover {
  color: var(--orange);
}
.mp-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: rgba(11, 36, 71, 0.4);
}
.mp-faq-q[aria-expanded="true"] .mp-faq-chevron {
  transform: rotate(180deg);
}
.mp-faq-a {
  display: none;
  padding: 0 0 1.25rem;
  color: rgba(11, 36, 71, 0.75);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.mp-faq-a.open {
  display: block;
}
.mp-faq-a p {
  margin: 0 0 0.875rem;
}
.mp-faq-a p:last-child {
  margin-bottom: 0;
}

/* ── Inline links (content pages) ── */
.mp-inline-link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mp-inline-link:hover {
  color: var(--navy);
}

/* ── Secondary button ── */
.mp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mp-btn-secondary:hover {
  background: var(--navy);
  color: #FFFFFF;
}

/* ── CTA row (content pages) ── */
.mp-content-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin: 2.5rem 0 3rem;
}

/* ── Legal disclaimer block (Block 4-A, in-page) ── */
.mp-legal-disclaimer {
  background: rgba(11, 36, 71, 0.04);
  border: 1px solid rgba(11, 36, 71, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 3rem;
}
.mp-legal-disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(11, 36, 71, 0.58);
  margin: 0 0 0.5rem;
}
.mp-legal-disclaimer p:last-child {
  margin-bottom: 0;
}
.mp-terms-placeholder {
  color: rgba(11, 36, 71, 0.45);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .mp-content-hero {
    padding: 3.5rem 1.25rem 3rem;
  }
  .mp-content-body {
    padding: 2rem 1.25rem 4rem;
  }
  .mp-content-cta-row {
    flex-direction: column;
  }
  .mp-step {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* === MARKETPLACE STYLES END === */
