.marketplace-page { margin: 0; }
.marketplace-page *, .marketplace-page *::before, .marketplace-page *::after { box-sizing: border-box; }
/* Reserve space for the fixed navigation before both the breadcrumbs and hero. */
.mp-main { width: min(1200px, calc(100% - 80px)); margin: 0 auto; padding-top: 152px; }
.mp-main a { color: inherit; }
.mp-main :is(a, button, input, select):focus-visible, .mp-skip:focus-visible { outline: 2px solid #217a56; outline-offset: 5px; }
.mp-main [hidden] { display: none !important; }
.mp-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: #16241d; color: #fff; }
.mp-skip:focus { top: 16px; }
.mp-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; padding: 0 0 64px; align-items: end; }
.mp-eyebrow { margin: 0 0 20px; color: #536357; font-size: .73rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.mp-hero h1 { max-width: 15ch; margin: 0; font-size: clamp(2.7rem, 4.4vw, 4.25rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 400; }
.mp-intro { padding-bottom: 4px; }
.mp-intro > p { max-width: 40ch; margin: 0 0 22px; font-size: 1.1rem; line-height: 1.65; color: #526055; }
.mp-intro a { font-size: .9rem; text-underline-offset: 5px; text-decoration-color: #acb6aa; }
.mp-intro a:hover { color: #217a56; }
.mp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-top: 30px; border-top: 1px solid #ccd1c7; }
.mp-main h2 { margin: 0; font-size: 1.55rem; line-height: 1.3; font-weight: 450; letter-spacing: -.015em; text-transform: none; }
.mp-section-head > p { margin: 0; color: #566459; font-size: .85rem; font-variant-numeric: tabular-nums; }
.mp-controls { display: grid; grid-template-columns: 1fr 220px 165px; gap: 16px; margin: 25px 0 30px; }
.mp-controls label { display: flex; flex-direction: column; gap: 8px; font-size: .77rem; color: #526055; }
.mp-controls :is(input, select) { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #ccd1c7; border-radius: 5px; background: #faf9f5; font: 400 .9rem 'Outfit', sans-serif; color: #16241d; }
.mp-controls input::placeholder { color: #748073; }
.mp-controls input::-webkit-search-cancel-button { cursor: pointer; }
.mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 25px; margin-top: 28px; }
.mp-card { min-width: 0; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.mp-cover { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 6px; text-decoration: none; background: #e0e7d8; }
.mp-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mp-card:hover .mp-cover img { transform: scale(1.025); }
.mp-cover-fallback { display: flex; height: 100%; flex-direction: column; justify-content: space-between; padding: 26px; color: #294637; background: #e0e7d8 url('/assets/art/catalog-workspace-backdrop.svg') center / cover; }
.mp-cover-fallback > span { font-size: .65rem; letter-spacing: .08em; }
.mp-cover-fallback strong { max-width: 18ch; font-size: 1.65rem; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.mp-badge { position: absolute; top: 14px; left: 14px; padding: 5px 9px; background: #fffdfa; border: 1px solid #d5d9ce; border-radius: 3px; color: #233c2d; font-size: .68rem; }
.mp-card-body { display: flex; flex: 1; flex-direction: column; padding-top: 18px; }
.mp-card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; color: #536357; }
.mp-card-meta > span:last-child { color: #1c5438; white-space: nowrap; font-weight: 500; }
.mp-card h3 { margin: 11px 0 10px; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.mp-card h3 a { text-decoration: none; }
.mp-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mp-card-body > p { margin: 0 0 22px; font-size: .9rem; line-height: 1.6; color: #536055; }
.mp-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; margin-top: auto; border-top: 1px solid #d6dacf; font-size: .77rem; }
.mp-card-foot > span { color: #677264; }
.mp-card-foot > a { padding: 6px 0; color: #1b6848; text-decoration: none; font-weight: 500; }
.mp-card-foot > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mp-empty { padding: 68px 24px; text-align: center; border-bottom: 1px solid #ccd1c7; }
.mp-empty h3 { margin: 0; font-weight: 500; }
.mp-empty p { color: #536055; }
.mp-empty button { padding: 12px 20px; border: 1px solid #aebbaa; background: transparent; color: #234d36; font: inherit; cursor: pointer; }
.mp-price-note { max-width: 80ch; margin: 35px 0 0; font-size: .77rem; line-height: 1.7; color: #65715f; }
.mp-creator { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin: 75px 0; padding: 36px 0; border-top: 1px solid #ccd1c7; border-bottom: 1px solid #ccd1c7; }
.mp-creator .mp-eyebrow { margin-bottom: 14px; }
.mp-creator p:last-child { max-width: 60ch; color: #536055; line-height: 1.6; margin-bottom: 0; }
.mp-creator-link { flex-shrink: 0; padding: 14px 20px; border: 1px solid #96a58d; border-radius: 4px; font-size: .85rem; text-decoration: none; transition: background .2s ease; }
.mp-creator-link:hover { background: #e2e8da; }
.mp-creator-link:active { transform: translateY(1px); }
@media (max-width: 960px) {
  .mp-main { width: calc(100% - 48px); padding-top: 125px; }
  .mp-hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mp-hero h1 { font-size: 2.9rem; }
  .mp-controls { grid-template-columns: 1fr 190px 140px; }
  .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .mp-main { width: calc(100% - 36px); padding-top: 110px; }
  .mp-hero { grid-template-columns: 1fr; gap: 26px; padding: 0 0 38px; }
  .mp-hero h1 { font-size: 2.85rem; }
  .mp-intro > p { font-size: 1rem; margin-bottom: 15px; }
  .mp-controls { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .mp-search { grid-column: 1 / -1; }
  .mp-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-section-head { padding-top: 25px; }
  .mp-main h2 { font-size: 1.35rem; }
  .mp-creator { flex-direction: column; align-items: flex-start; gap: 24px; margin: 50px 0; }
}
@media (prefers-reduced-motion: reduce) { .mp-main * { transition: none !important; } }
