.service-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(410px, 37vw, 540px);
}
.service-feature > .breadcrumb {
  margin: 0 0 clamp(24px, 4vw, 60px);
}
.service-feature-media {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 25%;
}
.service-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.service-feature-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg), transparent 28%),
    linear-gradient(90deg, var(--bg) 2%, color-mix(in srgb, var(--bg) 88%, transparent) 19%, transparent 65%);
  content: '';
}
.service-feature-copy {
  width: min(100%, 630px);
  margin-block: auto;
  padding: 12px 0 clamp(24px, 3vw, 40px);
}
#page-content .service-feature-copy h1 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.service-feature-copy .body-copy {
  max-width: 43ch;
  font-size: clamp(16px, 1.5vw, 20px);
  margin: 0;
}
.service-feature-copy .service-facts {
  gap: 14px 0;
  margin: 26px 0 0;
}
.service-feature-copy .service-facts > div {
  max-width: 100%;
  padding-inline: 18px;
  border-inline-start: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
}
.service-feature-copy .service-facts > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
.service-feature-copy .service-facts dt { font-size: 13px; }
.service-feature-copy .service-facts dd {
  margin-top: 4px;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.25;
}
.service-warranty { margin-top: 12px; }
.service-warranty summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.service-warranty summary::-webkit-details-marker { display: none; }
.service-warranty p {
  max-width: 43ch;
  margin: 0;
  color: var(--paper);
  font-size: 14px;
}
.service-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: clamp(14px, 2.1vw, 24px);
  border: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--paper) 5%, var(--bg));
}
.service-actions:has(.service-vehicle[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
.service-actions [hidden] { display: none; }
.service-actions .estimate-selected-car {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.service-actions .estimate-selected-car strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.25;
}
.service-actions .estimate-selected-car .estimate-car-class {
  grid-column: 1;
  color: var(--muted);
}
.service-actions .estimate-selected-car .estimate-link {
  grid-area: 1 / 2 / span 2;
  justify-self: end;
}
.service-actions .detail-price {
  margin: 0;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.service-actions .service-vehicle:not([hidden]) + .detail-price {
  padding-inline-start: 22px;
  border-inline-start: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
}
.service-actions .service-work-link {
  width: auto;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 36px);
  white-space: nowrap;
}
.service-class-picker .estimate-class-aux { margin: 4px 0 0; }
.service-class-picker .estimate-class-aux > summary { width: fit-content; }
@media (max-width: 767px) {
  .service-feature { display: block; min-height: 0; }
  .service-feature > .breadcrumb { margin-bottom: 14px; }
  .service-feature-media {
    position: relative;
    inset: auto;
    margin-inline: -10px;
    height: clamp(170px, 49vw, 315px);
  }
  .service-feature-media::after { background: linear-gradient(0deg, var(--bg), transparent 38%); }
  .service-feature-copy { position: relative; margin-top: -20px; padding: 0 0 20px; }
  #page-content .service-feature-copy h1 {
    font-size: clamp(31px, 8.3vw, 46px);
    line-height: 1.06;
    margin-bottom: 12px;
    text-wrap: wrap;
  }
  .service-feature-copy .service-facts { margin-top: 18px; gap: 12px; }
  .service-feature-copy .service-facts > div { padding-inline: 0; border: 0; }
  .service-feature-copy .service-facts dt { font-size: 12px; }
  .service-warranty { margin-top: 6px; }
  .service-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 12px;
  }
  .service-actions .service-vehicle {
    grid-column: 1 / -1;
    border-bottom: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
    padding-bottom: 6px;
  }
  .service-actions .service-vehicle:not([hidden]) + .detail-price {
    padding-inline-start: 0;
    border: 0;
  }
  .service-actions .service-work-link { gap: 8px; padding-inline: 12px; font-size: 14px; }
  .service-actions .service-work-link .arrow { width: 16px; height: 16px; }
}
@media (max-width: 360px) {
  .service-actions .service-work-link { font-size: 13px; padding-inline: 9px; }
  .service-actions .detail-price { font-size: 18px; }
}

.service-gallery{margin-top:40px;min-width:0}
.service-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.service-gallery-heading h2{font-size:17px;line-height:24px;font-weight:400;margin:0;color:var(--paper)}
.service-gallery-heading p{font-size:11px;line-height:18px;color:var(--muted);margin:4px 0 0}
.service-gallery-navigation{display:flex;align-items:center;gap:14px;flex:none}
.service-gallery-navigation>span{min-width:40px;text-align:center;color:var(--bronze);font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.service-gallery-control{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;padding:10px;border:1px solid var(--control-border);border-radius:8px;background:transparent;color:var(--bronze);cursor:pointer}
.service-gallery-control svg{width:22px;height:22px}
.service-gallery-control.is-previous svg{transform:rotate(180deg)}
.service-gallery-control:disabled{opacity:.3;cursor:default}
.service-gallery-control:focus-visible,.service-gallery-open:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}
.service-gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--gallery-columns,4) - 1)*16px)/var(--gallery-columns,4));gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:none;padding:3px 0 5px}
.service-gallery-track::-webkit-scrollbar{display:none}
.service-gallery-track:focus-visible{outline:1px solid var(--bronze);outline-offset:4px;border-radius:12px}
.service-gallery-frame{min-width:0;margin:0;scroll-snap-align:start}
.service-gallery-open{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border:0;border-radius:11px;background:#171613;padding:0;cursor:zoom-in}
.service-gallery-open img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.service-gallery-zoom{position:absolute;right:12px;bottom:12px;width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(200,186,164,.4);border-radius:7px;color:#eee7dc;background:rgba(12,11,10,.55);backdrop-filter:blur(8px)}
.service-gallery-zoom svg{width:19px;height:19px}
.service-gallery-frame figcaption{display:flex;align-items:baseline;gap:12px;padding-top:14px;color:var(--paper);font-size:13px;line-height:20px}
.service-gallery-number{color:var(--bronze);font-size:10px;font-variant-numeric:tabular-nums}
.service-gallery.gallery-fits [data-gallery-prev],.service-gallery.gallery-fits [data-gallery-next]{display:none}
.service-photo-open{overflow:hidden}
.service-photo-dialog{width:min(1320px,calc(100% - 64px));max-width:none;max-height:calc(100svh - 48px);padding:24px;margin:auto;border:1px solid var(--control-border);border-radius:14px;background:#141311;color:var(--paper);overflow:auto;outline:none}
.service-photo-dialog::backdrop{background:rgba(0,0,0,.88);backdrop-filter:blur(12px)}
.service-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.service-photo-heading h2{font-size:22px;line-height:28px;font-weight:400;margin:0;outline:none}
.service-photo-stage{display:grid;place-items:center;background:#090909;border-radius:9px;overflow:hidden;min-height:180px;touch-action:pan-y}
.service-photo-stage img{display:block;width:auto;max-width:100%;height:auto;max-height:min(68svh,850px);object-fit:contain}
.service-photo-stage img[hidden],.service-photo-stage p[hidden]{display:none}
.service-photo-stage p{font-size:13px;color:var(--muted);padding:32px;max-width:500px;text-align:center}
.service-photo-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:18px}
.service-photo-footer>p{font-size:11px;color:var(--muted);margin:0}
@media(hover:hover){.service-gallery-open:hover img{transform:scale(1.035)}.service-gallery-control:not(:disabled):hover{background:rgba(200,186,164,.08)}}
@media(min-width:768px) and (max-width:1279px){.service-gallery-track{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:767px){.service-gallery{margin-top:32px}.service-gallery-heading{gap:12px;margin-bottom:14px}.service-gallery-heading h2{font-size:15px;line-height:22px}.service-gallery-heading p{font-size:10px}.service-gallery-navigation{gap:8px}.service-gallery-navigation>span{min-width:28px;font-size:10px}.service-gallery-track{grid-auto-columns:86%;gap:12px}.service-gallery-frame figcaption{font-size:12px;gap:10px;padding-top:11px}.service-gallery-zoom{right:10px;bottom:10px}.service-photo-dialog{width:calc(100% - 24px);max-height:calc(100svh - 24px);padding:14px;border-radius:12px}.service-photo-heading{margin-bottom:12px;gap:12px}.service-photo-heading h2{font-size:17px;line-height:23px}.service-photo-stage img{max-height:61svh}.service-photo-footer{margin-top:12px;gap:8px}.service-photo-footer>p{font-size:9px}}
@media(max-width:360px){.service-gallery-heading{align-items:flex-end}.service-gallery-heading h2{font-size:14px}.service-gallery-navigation{gap:6px}.service-photo-footer{flex-wrap:wrap}.service-photo-footer .service-gallery-navigation{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.service-gallery-open img{transition:none}}

.service-photo-footer>p{display:grid;gap:4px}.service-photo-footer [data-photo-credit]{color:var(--bronze);text-decoration:underline;text-underline-offset:3px}.service-photo-footer [data-photo-credit][hidden]{display:none}

.service-intro .service-actions .service-vehicle > button.estimate-link[data-car-intro] {
  text-decoration: none;
}

.service-gallery-track.is-mouse-scrolling {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

@media (any-pointer: fine) {
  :where(body:not(.cms-editing, .bullrain-editing) .service-gallery:not(.gallery-fits)) :is(.service-gallery-track, .service-gallery-open) {
    cursor: grab;
  }
  .service-gallery-open .service-gallery-zoom {
    cursor: zoom-in;
  }
  .service-gallery-track.is-dragging,
  .service-gallery-track.is-dragging :is(.service-gallery-open, .service-gallery-zoom) {
    cursor: grabbing;
    user-select: none;
  }
}
