/* Shared phone and tablet refinements. Desktop layouts retain their own styles. */
@media (max-width: 800px) {
  main, main section, main article, main form, .form-grid > *, .site-footer > * { min-width: 0; }
  .form-grid input, .form-grid select, .form-grid textarea { min-width: 0; max-width: 100%; font-size: 16px; }
  .mobile-nav nav { max-height: calc(100dvh - 80px - var(--offer-height)); overscroll-behavior: contain; }
  .mobile-nav nav a { min-height: 44px; display: flex; align-items: center; }
  .specialty-tabs button, .shop-departments button, .text-link, #add-handpiece { min-height: 44px; }
  .text-link { display: inline-flex; align-items: center; }
  .resource-links { flex-wrap: wrap; }
  .site-footer a, .contact-page-grid a { overflow-wrap: anywhere; }
  #auction-nudge-0c3eb9061 .an-item-wrap { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 680px) {
  header { gap: 12px; height: 80px; }
  header .official-brand { width: clamp(120px,40vw,175px); min-width: 0; }
  header .header-actions { gap: 7px; flex-shrink: 0; }
  header .header-actions .button.small { font-size: 11px; padding: 10px 12px; min-height: 44px; }
  header .header-actions .button.small span { max-width: 90px; }
  .mobile-nav summary { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 9px 11px; }
  .first-customer-banner { gap: 6px; font-size: 12px; padding: 9px 12px; }
  .home-equipment-hero { padding-top: calc(120px + var(--offer-height)); min-height: 0; }
  .home-equipment-hero .equipment-scene { top: calc(80px + var(--offer-height)); height: 610px; left: 0; right: 0; }
  .home-equipment-hero .equipment-scene img { width: 100%; height: 100%; transform: none; object-fit: cover; object-position: 76% center; }
  .home-equipment-hero .equipment-scene:after { background: linear-gradient(90deg,#030608a8,#03060838),linear-gradient(0deg,#040607 0%,#04060770 24%,transparent 70%); }
  .home-equipment-hero .hero-content { position: relative; z-index: 1; margin-bottom: 38px; }
  .home-equipment-hero .eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: .14em; }
  .home-equipment-hero h1 { font-size: clamp(60px,16vw,100px); line-height: 1.02; margin: 24px 0; }
  .home-equipment-hero .hero-content > p { width: auto; font-size: 16px; line-height: 1.75; max-width: 34ch; color: #eef2f5; }
  .home-equipment-hero .hero-content > .button { min-height: 48px; padding: 16px 24px; }
  .hero-specialties a { padding: 24px 0; }
  .hero-specialties .specialty-description { font-size: 14px; line-height: 1.7; }
  .hero-bottom { gap: 20px; flex-wrap: wrap; }
  .specialty-hero { min-height: 680px; padding: calc(120px + var(--offer-height)) 6% 44px; align-items: center; }
  .specialty-hero .specialty-hero-image { top: calc(80px + var(--offer-height)); bottom: 0; height: auto; }
  .specialty-hero .specialty-hero-image img { width: 100%; height: 100%; max-width: 100%; transform: none; object-fit: cover; object-position: 70% center; }
  .specialty-hero:after { background: linear-gradient(90deg,#05090cce,#05090c70),linear-gradient(0deg,#06090b,transparent 70%); }
  .specialty-hero .back { margin-bottom: 26px; }
  .specialty-hero h1 { font-size: clamp(46px,12vw,72px); }
  .specialty-hero-copy > p { font-size: 16px; line-height: 1.75; color: #edf1f4; }
  .specialty-hero .specialty-actions { gap: 14px 24px; }
  .specialty-tabs { position: relative; }
  .specialty-tabs button { padding: 12px 6px; font-size: 12px; }
  .content-main .lede { font-size: 18px; line-height: 1.7; }
  .medical-price-table { min-width: 0; font-size: 13px; table-layout: fixed; }
  .medical-price-table th,.medical-price-table td { padding: 13px 10px; overflow-wrap: anywhere; }
  .medical-price-table th:first-child { width: 39%; }
  .medical-price-table tbody th { white-space: normal; }
  .medical-price-table th:last-child { width: 22%; }
  .medical-price-group h3 { font-size: 23px; }
  .cleaning-price { gap: 12px; padding: 20px; }
  .cleaning-price h3 { font-size: 20px; }
  .cleaning-price > strong { font-size: 30px; }
  .work-order { gap: 28px; }
  .work-order aside { order: 0; }
  .work-order form,.inquiry-section { padding: 20px; border-radius: 10px; }
  .work-order .form-grid,.inquiry-section .form-grid { grid-template-columns: minmax(0,1fr); }
  .work-order form > .button,.inquiry-section form > .button { width: 100%; justify-content: center; min-height: 48px; }
  .choice-row { gap: 8px 14px; }
  .choice-row label { min-height: 44px; }
  .handpiece-row { padding-bottom: 10px; }
  .inquiry-choice { padding: 24px; gap: 16px; }
  .inquiry-choice-brand { height: auto; margin-bottom: 12px; }
  .inquiry-choice-action { font-size: 14px; padding: 16px; gap: 12px; }
  .support-launcher { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom,0px)); font-size: 12px; padding: 12px 15px; min-height: 44px; gap: 8px; }
  #support-panel { left: 12px; right: auto; bottom: calc(12px + env(safe-area-inset-bottom,0px)); width: calc(100vw - 24px); max-width: 420px; max-height: calc(100dvh - 24px - env(safe-area-inset-bottom,0px)); }
  .support-head { padding: 22px; }
  .support-body { padding: 0 20px 20px; }
  .photo-close { min-width: 44px; min-height: 44px; }
  .support-close { min-width: 44px; min-height: 44px; top: 10px; right: 8px; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom,0px)); }
  #shop-query { font-size: 16px; }
  #auction-nudge-0c3eb9061 .an-item-wrap { grid-template-columns: minmax(0,1fr) !important; }
}
@media (max-width: 380px) {
  header { gap: 6px; }
  header .official-brand { width: 120px; }
  header .header-actions { gap: 5px; }
  header .header-actions .button.small { padding: 9px; font-size: 10px; }
  header .header-actions .button.small span { max-width: 83px; }
  .mobile-nav summary { padding: 8px; font-size: 11px; }
  .site-footer { grid-template-columns: minmax(0,1fr); }
  .inquiry-choice,.work-order form,.inquiry-section { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,.hero-image,.split { animation: none !important; }
}
