/* Size content to its panel, not to the full browser viewport. */
.catalog-card-price .price-main { color: var(--gold-light); font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; }
.catalog-detail-price .price-main { display: block; font: inherit; font-weight: 800; color: var(--gold-light); }
.catalog-card-price .price-label, .catalog-detail-price .price-label { color: var(--gold-light); font-weight: 800; letter-spacing: .05em; }
.catalog-card-price .price-cash, .catalog-detail-price .price-cash { font-size: .875rem; color: #b8b8b2; font-weight: 400; }
.catalog-detail-panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.catalog-detail-copy, .seller-modal-copy, .modal-copy { min-width: 0; max-width: 100%; container-type: inline-size; overflow-wrap: anywhere; }
.catalog-detail-copy { padding: 4.5rem clamp(1.25rem, 2.5vw, 3rem) 2rem; overflow-y: auto; }
.catalog-detail-copy > h2 { font-size: clamp(1.5rem, 3vw, 3rem); font-size: clamp(1.5rem, 8cqw, 3rem); line-height: 1.08; letter-spacing: -.04em; max-width: 100%; overflow-wrap: anywhere; }
.catalog-detail-price { font-size: clamp(1.3rem, 6.5cqw, 2.7rem); line-height: 1.2; overflow-wrap: anywhere; }
.catalog-detail-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-detail-specs span, .catalog-seller-list > a > span { min-width: 0; }
.catalog-sellers-head { flex-wrap: wrap; gap: .5rem; }
.seller-modal-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.seller-modal-copy h2 { font-size: clamp(2rem, 13cqw, 5rem); line-height: 1.08; }
.seller-modal-instagram, .seller-contact-row { flex-wrap: wrap; gap: .5rem; }
.catalog-heading > div, .catalog-heading > p, .team-head > *, .ceo-card > *, .footer-grid > * { min-width: 0; }
.catalog-heading h2, .team-head h2, .ceo-copy h3, .criterion h2, .location h2, .dream-car h2 { overflow-wrap: anywhere; line-height: 1.05; }
.catalog-card h3, .catalog-card-price b { overflow-wrap: anywhere; }
.catalog-card-price { flex-wrap: wrap; gap: .75rem; }
.catalog-card-price > div { max-width: 100%; }
.catalog-card-price b { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.nav nav { gap: clamp(.75rem, 1.5vw, 2rem); }
.nav .brand { min-width: 0; max-width: 100%; }
.catalog-detail-modal:not(.open), .seller-modal:not(.open), .vehicle-modal:not(.open) { visibility: hidden; }
@media (max-width: 900px) {
  .catalog-detail-panel { width: 100%; height: 100dvh; max-height: 100dvh; grid-template-columns: minmax(0, 1fr); grid-template-rows: 43dvh minmax(0, 1fr); overflow: hidden; }
  .catalog-detail-modal { padding: 0; }
  .catalog-detail-visual { min-height: 0; height: 100%; }
  .catalog-detail-copy { min-height: 0; padding: 1.5rem 1.25rem max(1.5rem, env(safe-area-inset-bottom)); overflow-y: auto; }
  .catalog-detail-copy > h2 { font-size: clamp(1.5rem, 8cqw, 2.75rem); }
  .seller-modal-panel { grid-template-columns: minmax(0, 1fr); }
  .catalog-heading h2 { font-size: clamp(1.5rem, 7.3vw, 4rem); }
  .catalog-seller-list .seller-buy-cta { white-space: normal; text-align: center; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .nav { grid-template-columns: minmax(140px, 1fr) auto auto; gap: 1rem; padding-inline: 1.5rem; }
  .nav .brand img { width: 170px; max-width: 100%; }
  .nav nav a, .nav-action { font-size: .75rem; }
}
