/* Marketplace-only catalog UI. Resume and shared generator styles remain untouched. */
.marketplace-storefront { overflow-wrap: anywhere; }
.marketplace-storefront h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.035em; }
.marketplace-storefront .storefront-hero { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-block: 38px 24px; }
.marketplace-storefront .storefront-hero .section-kicker { margin-bottom: 12px; }
.marketplace-storefront h1 { font-size: clamp(2rem, 3.1vw, 3rem); letter-spacing: -.045em; }
.marketplace-storefront .storefront-lede { color: var(--muted); font-size: 15px; max-width: 700px; margin: 15px 0 0; }
.marketplace-storefront .storefront-hero > .text-link { flex-shrink: 0; font-size: 13px; }
.marketplace-storefront .storefront-catalog { padding-block: 12px 38px; }
.marketplace-storefront .catalog-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; margin-bottom: 17px; }
.marketplace-storefront .catalog-heading h2 { font-size: 18px; }
.marketplace-storefront .catalog-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.marketplace-storefront .storefront-category-nav { border-block: 1px solid var(--line); padding-block: 12px; }
.marketplace-storefront .storefront-category-nav > div { display: flex; flex-wrap: wrap; gap: 8px; }
.marketplace-storefront .storefront-category-nav a, .marketplace-storefront .storefront-category-nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 3px; background: var(--bg); color: var(--muted); font-size: 12px; line-height: 1.3; text-align: left; }
.marketplace-storefront .storefront-category-nav button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.marketplace-storefront .storefront-category-nav a:hover, .marketplace-storefront .storefront-category-nav button:hover { border-color: var(--accent); }
.marketplace-storefront .catalog-results { color: var(--muted); font: 11px/1.6 var(--mono); margin: 15px 0; }
.marketplace-storefront .storefront-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.marketplace-storefront .storefront-concept { display: flex; flex-direction: column; min-width: 0; position: relative; background: var(--surface); border: 1px solid var(--line2); border-radius: 4px; overflow: visible; }
.marketplace-storefront .storefront-concept:hover, .marketplace-storefront .storefront-concept:focus-within { border-color: var(--accent); }
.marketplace-storefront .category-anchor { position: absolute; top: 0; left: 0; }
.marketplace-storefront .product-cover { position: relative; height: 140px; display: flex; align-items: center; justify-content: center; color: var(--accent); border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.marketplace-storefront .product-cover svg { width: 62px; height: 62px; }
.marketplace-storefront .cover-number { position: absolute; left: 18px; top: 16px; font: 10px var(--mono); color: var(--muted); }
.marketplace-storefront .cover-caption { position: absolute; bottom: 13px; right: 17px; color: var(--muted); font: 9px/1.5 var(--mono); }
.marketplace-storefront .cover-business-software { background: var(--surface2); }
.marketplace-storefront .cover-developer-tools { background: var(--bg); }
.marketplace-storefront .cover-templates-automation { background: var(--surface2); }
.marketplace-storefront .product-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.marketplace-storefront .concept-category { font-size: 11px; color: var(--accent); margin: 0 0 10px; }
.marketplace-storefront .storefront-concept h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; min-height: 0; margin-bottom: 11px; }
.marketplace-storefront .product-description { color: var(--muted); font-size: 13px; line-height: 1.6; min-height: 0; margin-bottom: 15px; }
.marketplace-storefront .concept-status { color: var(--accent); font-size: 11px; line-height: 1.5; margin: auto 0 12px; padding-left: 10px; border-left: 2px solid var(--accent); min-height: 0; }
.marketplace-storefront .concept-preview { border-top: 1px solid var(--line); }
.marketplace-storefront .concept-preview summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; padding-top: 12px; font-size: 12px; list-style: none; cursor: pointer; }
.marketplace-storefront .concept-preview summary::-webkit-details-marker { display: none; }
.marketplace-storefront .concept-preview summary > span { color: var(--accent); font-size: 18px; flex: 0 0 auto; }
.marketplace-storefront .concept-preview[open] summary > span { transform: rotate(45deg); }
.marketplace-storefront .concept-preview > div { padding-top: 12px; }
.marketplace-storefront .concept-preview p { font-size: 13px; color: var(--muted); }
.marketplace-storefront .concept-preview .text-link { font-size: 12px; }
.marketplace-storefront .storefront-pathways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-block: 0 32px; }
.marketplace-storefront .storefront-pathways a { display: block; padding: 17px; border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.marketplace-storefront .storefront-pathways a:hover { background: var(--accent-soft); border-color: var(--accent); }
.marketplace-storefront .storefront-pathways strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.marketplace-storefront .storefront-pathways span { display: block; font-size: 11px; color: var(--muted); }
.marketplace-storefront .storefront-section { padding-block: 36px; }
.marketplace-storefront .storefront-section .section-kicker { margin-bottom: 14px; }
.marketplace-storefront .storefront-section-heading, .marketplace-storefront .storefront-split, .marketplace-storefront .storefront-closing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.marketplace-storefront .storefront-section-heading { margin-bottom: 24px; }
.marketplace-storefront .storefront-section-heading > p, .marketplace-storefront .storefront-split p, .marketplace-storefront .storefront-closing p { color: var(--muted); font-size: 14px; }
.marketplace-storefront .storefront-section-heading > p { margin: 0; }
.marketplace-storefront .storefront-services, .marketplace-storefront .storefront-ventures, .marketplace-storefront .storefront-brief { border-block: 1px solid var(--line); background: var(--accent-soft); }
.marketplace-storefront .storefront-split h2 { margin-bottom: 18px; }
.marketplace-storefront .storefront-services .button { font-size: 12px; min-height: 44px; padding: 11px 18px; }
.marketplace-storefront .storefront-service-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.marketplace-storefront .storefront-service-links li { border-top: 1px solid var(--line); }
.marketplace-storefront .storefront-service-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; font-size: 12px; }
.marketplace-storefront .storefront-service-links a:hover { color: var(--accent); }
.marketplace-storefront .opportunity-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.marketplace-storefront .opportunity-project { display: block; padding-block: 18px; }
.marketplace-storefront .opportunity-identity { height: 110px; max-width: none; padding: 15px; margin-bottom: 15px; }
.marketplace-storefront .opportunity-identity picture { width: 110px; height: 90px; }
.marketplace-storefront .opportunity-identity > img { width: min(100%, 180px); }
.marketplace-storefront .opportunity-project h3 { font-size: 20px; margin-block: 10px 12px; }
.marketplace-storefront .opportunity-project p { font-size: 12px; }
.marketplace-storefront .opportunity-maturity { font-size: 10px; }
.marketplace-storefront .storefront-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 24px 0 0; gap: 24px; list-style: none; }
.marketplace-storefront .storefront-process li { padding-top: 14px; border-top: 1px solid var(--line2); }
.marketplace-storefront .storefront-process h3 { font-size: 17px; margin-block: 12px 10px; }
.marketplace-storefront .storefront-process p, .marketplace-storefront .conversation-note { color: var(--muted); font-size: 12px; }
.marketplace-storefront .conversation-note { margin: 20px 0 0; }
.marketplace-storefront .storefront-brief { background: var(--surface); }
.marketplace-storefront .brief-layout { gap: 40px; }
.marketplace-storefront .brief-intro > h2 { margin-bottom: 20px; }
.marketplace-storefront .storefront-closing { align-items: center; }
.marketplace-storefront .storefront-closing h2 { margin-top: 14px; }
@media (max-width: 1100px) {
  .marketplace-storefront .storefront-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketplace-storefront .storefront-pathways, .marketplace-storefront .storefront-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .marketplace-storefront .storefront-hero { align-items: start; flex-direction: column; gap: 18px; }
  .marketplace-storefront .storefront-section-heading, .marketplace-storefront .storefront-split, .marketplace-storefront .storefront-closing { grid-template-columns: 1fr; gap: 20px; }
  .marketplace-storefront .catalog-heading { display: block; }
  .marketplace-storefront .catalog-heading p { margin-top: 8px; }
  .marketplace-storefront .storefront-pathways { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .marketplace-storefront .storefront-product-grid, .marketplace-storefront .opportunity-projects { grid-template-columns: 1fr; }
  .marketplace-storefront .storefront-product-grid { gap: 16px; }
  .marketplace-storefront .product-cover { height: 125px; }
  .marketplace-storefront .storefront-concept h3, .marketplace-storefront .product-description, .marketplace-storefront .concept-status { min-height: 0; }
  .marketplace-storefront .storefront-pathways, .marketplace-storefront .storefront-process { grid-template-columns: 1fr; }
  .marketplace-storefront .storefront-pathways a { padding: 14px; }
  .marketplace-storefront .storefront-service-links { grid-template-columns: 1fr; }
  .marketplace-storefront .storefront-hero { padding-top: 28px; }
}
/* Native fallback links/details and the default full grid need no JS or animation. */
