/* Content follows the available CSS width; phones are the primary layout. */
:is(.hero,.parts-panel,.section-head,.bulk-heading,.catalog-heading,.seo-hero,
    .seo-contact,.form-row,.active-car-content,.request-top,.admin-info)>* {
  min-width: 0;
}
.bulk-heading>div:first-child { flex: 1; width: 100%; }
.bulk-heading h2 { font-size: clamp(28px,3vw,40px); line-height: 1.15; margin: 12px 0; }
.bulk-heading>div:first-child>p { max-width: none; font-size: 16px; line-height: 1.65; }
.bulk-section { padding-top: clamp(28px,3.5vw,44px); }
.bulk-heading { margin-bottom: 20px; }
.bulk-search input { padding-inline-start: 44px; }
.parts-intro>p { max-width: none; }
.section-head { flex-wrap: wrap; gap: 16px 32px; }
.section-head>div { flex: 1 1 380px; }
.section-head>p { flex: 0 1 360px; min-width: 0; font-size: 15px; }
.section-head>p br,.service-card p br { display: none; }
.promo {
  display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px;
  padding: 18px; align-items: center;
}
.promo-icon { width: 44px; height: 44px; grid-column: 1; grid-row: 1; }
.promo-icon .tech-icon { width: 34px; height: 34px; }
.promo>div:nth-child(2) { display: contents; }
.promo .eyebrow { grid-column: 2; font-size: 10px; line-height: 1.5; letter-spacing: .08em; }
.promo h2 { grid-column: 1/-1; font-size: clamp(23px,2.2vw,28px); line-height: 1.2; margin: 0; }
.promo p { grid-column: 1/-1; font-size: 14px; line-height: 1.55; }
.promo .button { grid-column: 1/-1; width: 100%; margin: 0; min-height: 52px; font-size: 16px; white-space: normal; }
.seo-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.seo-hero { grid-template-columns: minmax(0,1fr); }
.seo-visual { min-width: 0; }
.product-tabs { flex-wrap: wrap; }
.product-tabs button { overflow-wrap: anywhere; }
.product-option { min-width: 0; overflow-wrap: anywhere; }
.product-tab-panel .product-attributes dd { overflow-wrap: anywhere; }
:is(.request-card,.car-card,.catalog-offer,.active-car,.admin-item) { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .seasonal-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .seasonal-hero .hero-content { padding-block: 0; }
  .seasonal-hero .hero-actions { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
  .seasonal-hero .quick-orders { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); }
  .seasonal-hero .hero-visual { min-height: 240px; height: clamp(240px,32vw,320px); max-height: 320px; }
  .service-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); }
  .parts-panel { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 700px) {
  .promo { grid-template-columns: 52px minmax(0,1fr) auto; padding: 20px 24px; gap: 20px; }
  .promo-icon { width: 52px; height: 52px; }
  .promo-icon .tech-icon { width: 40px; height: 40px; }
  .promo>div:nth-child(2) { display: block; }
  .promo h2 { margin: 6px 0; }
  .promo .button { grid-column: 3; width: auto; max-width: 240px; font-size: 15px; }
  .seo-hero { grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); }
}
@media (max-width: 620px) {
  .promo { grid-template-columns: 32px minmax(0,1fr); padding: 16px; gap: 8px; }
  .promo-icon { width: 32px; height: 32px; border-radius: 9px; }
  .promo-icon .tech-icon { width: 28px; height: 28px; }
  .bulk-heading h2 { font-size: clamp(28px,7.4vw,32px); }
  .section-head>div,.section-head>p { flex-basis: 100%; }
  .section-head>p { margin-top: 12px; }
  .bulk-toolbar { align-items: stretch; }
  .bulk-search { flex-basis: 100%; max-width: none; }
  .bulk-filters { flex-wrap: wrap; }
  .seasonal-hero .hero-actions,.seasonal-hero .quick-orders { grid-template-columns: minmax(0,1fr); }
  .seasonal-hero .hero-actions .button { min-height: 64px; }
  .seasonal-hero .quick-order { min-height: 80px; padding-block: 14px; }
  .seasonal-hero .hero-visual { min-height: 240px; height: 240px; }
  .category-grid button { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
  .category-grid .tech-icon { flex-shrink: 0; }
  .combo-strip>span { min-width: 0; }
  :is(.dialog,.cart-dialog,.product-dialog,.account-dialog) { max-height: calc(100dvh - 24px); }
  .dialog-head h2 { overflow-wrap: anywhere; min-width: 0; }
  .close { flex-shrink: 0; }
  .product-tabs { gap: 8px 14px; justify-content: flex-start; }
  .product-tabs button { font-size: 14px; min-height: 48px; }
  .product-option small { font-size: 12px; line-height: 1.45; }
  .seo-hero .hero-actions .button,.seo-contact .hero-actions .button { font-size: 16px; }
  .seo-hero { padding-bottom: 28px; gap: 20px; }
  .seo-hero h1 { font-size: clamp(30px,8.2vw,40px); }
  .seo-visual { padding: 18px; gap: 12px; }
  .seo-visual strong { font-size: 20px; }
  .seo-section { padding-block: 28px; }
  .seo-contact { gap: 18px; }
  .seo-contact h2 { font-size: 27px; overflow-wrap: anywhere; }
  .admin-tools label,.closure-controls label { min-width: 0; }
}
@media (max-width: 380px) {
  .category-grid { grid-template-columns: minmax(0,1fr); }
  .header-actions { gap: 8px; }
  .header .phone { font-size: 12px; }
}
