/* Repair finder and four-column price list. No dependence on item order. */
.repair-entry,#tire-prices-table{scroll-margin-top:12px}
.tire-service-duration{font-size:15px;margin:0}.tire-service-caution{font-size:14px;color:var(--muted);margin:6px 0 18px}
.tire-service-caution>span{display:inline-block;white-space:nowrap}
.repair-entry:target,.repair-entry:focus,#tire-prices-table:target,#tire-prices-table:focus{outline:2px solid #98b5a2;outline-offset:4px}
.repair-finder{padding:26px 26px 12px;border:1px solid var(--line);border-radius:10px;background:#f8faf7;scroll-margin-top:12px}
.finder-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:18px}
.finder-heading h2{font-size:24px}.finder-heading p{font-size:14px;color:var(--muted)}
.photo-navigation{background:#fff;border:1px solid #e8ede8;border-radius:8px;padding:18px}
.repair-photo{position:relative;width:min(660px,100%);margin:auto}
.repair-photo>img{display:block;width:100%;height:auto}
.photo-hotspot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.photo-hotspot>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid white;border-radius:50%;background:#294d42;color:white;font-size:13px;font-weight:700;box-shadow:0 1px 5px #203c4350}
.photo-hotspot:hover>span,.photo-hotspot:focus>span{background:#507caa}

.part-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0 14px}
.part-buttons>a{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:6px;font-size:14px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.part-number{font-size:12px;color:#53755f;font-variant-numeric:tabular-nums;min-width:17px}.part-arrow{margin-left:auto;color:var(--muted)}.part-buttons>a:hover{background:var(--mint)}
.repair-price-notice{margin-top:28px;margin-bottom:38px}.repair-price-notice h2{font-size:19px}
.category-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}
.category-heading h2{font-size:24px}.category-heading>a{color:var(--muted);font-size:13px;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.repair-category,.tire-section,.unlisted-item{scroll-margin-top:12px}
.repair-category:target,.tire-section:target,.unlisted-item:target{outline:2px solid #98b5a2;outline-offset:8px;border-radius:4px}
.repair-table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin-bottom:30px}
.repair-table thead{background:var(--mint);font-size:14px}
.repair-table thead th{padding:14px 18px;font-weight:600}
.repair-table thead th:nth-child(1){width:40%}.repair-table thead th:nth-child(2){width:12%}.repair-table thead th:nth-child(3){width:24%}.repair-table thead th:nth-child(4){width:24%}
.repair-entry{border-bottom:1px solid var(--line)}.repair-data-row{height:92px}
.repair-data-row>th,.repair-data-row>td{padding:16px 18px;vertical-align:middle;overflow-wrap:anywhere}
.repair-description h3{font-size:18px;line-height:1.5}.repair-description .repair-specification{font-size:13px;font-weight:400;margin-top:4px}
.repair-fee strong{font-size:21px;font-variant-numeric:tabular-nums}.repair-time{font-size:14px;color:var(--muted)}
.repair-note-button{display:inline-flex;gap:5px;align-items:center;justify-content:center;border:1px solid #b8ccbe;border-radius:5px;min-height:44px;padding:8px 10px;background:#fff;font-size:13px;white-space:nowrap}
.repair-note-button:hover,.repair-note-button[aria-expanded=true]{background:var(--mint)}.note-indicator{font-size:15px}
.repair-note-content[hidden]{display:none!important}.repair-note-content>td{padding:0 18px 18px}
.repair-note-body{padding:18px 20px;background:var(--soft);border-left:3px solid #9ab7a3;font-size:14px;font-weight:400}
.repair-note-link{display:block;width:fit-content;max-width:100%;margin-top:8px;padding-block:8px;min-height:44px;color:#175ca6;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.repair-note-link:hover{color:#12477f}
.unlisted-repairs{margin-top:48px}.unlisted-repairs>h2{font-size:22px;margin-bottom:8px}
.unlisted-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:18px}
.unlisted-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.unlisted-item h3{font-size:15px}.unlisted-item span,.unlisted-item a{font-size:12px;color:var(--muted)}.unlisted-item a{display:flex;min-height:44px;align-items:center;text-decoration:underline}
.unlisted-message{padding:20px 0;color:var(--muted)}

@media(max-width:1000px){.repair-table thead th:nth-child(1){width:35%}.repair-table thead th:nth-child(2){width:15%}.repair-table thead th:nth-child(3){width:25%}.repair-table thead th:nth-child(4){width:25%}.repair-data-row>th,.repair-data-row>td,.repair-table thead th{padding-inline:12px}}
@media(max-width:900px){
 .repair-finder{padding:22px 18px 20px}.finder-heading{display:block;margin-bottom:16px}.finder-heading h2{font-size:22px}.finder-heading p{font-size:13px;margin-top:8px}
 .part-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}.part-buttons>a{font-size:13px;padding:10px 11px}
}
@media(max-width:760px){
 .photo-navigation{padding:8px}.photo-hotspot>span{width:27px;height:27px;font-size:12px}
 .repair-finder{padding:20px 14px 18px}.repairs-page .page-heading{padding-bottom:24px}.repairs-page .page-heading h1{font-size:27px}.repair-price-notice{margin-top:22px}
 .category-heading{align-items:flex-start;gap:8px}.category-heading h2{font-size:22px}.category-heading>a{font-size:11px;min-height:36px;text-align:right;flex-shrink:0}
 .repair-table,.repair-entry,.repair-table caption{display:block}.repair-table thead{display:none}.repair-entry{padding:18px 0}.repair-entry:first-of-type{border-top:1px solid var(--line)}
 .repair-data-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 10px;height:auto}
 .repair-data-row>th,.repair-data-row>td{display:block;padding:0}.repair-description{grid-column:1;grid-row:1;align-self:center}.repair-description h3{font-size:18px}.repair-note-cell{grid-column:2;grid-row:1;align-self:center;justify-self:end}
 .repair-fee{grid-column:1;grid-row:2;align-self:center}.repair-time{grid-column:2;grid-row:2;text-align:right;align-self:center;font-size:12px;max-width:125px}.repair-fee strong{font-size:22px}.repair-time .mobile-time-label{font-size:10px;margin-bottom:3px}
 .repair-note-button{padding:9px 12px}.repair-note-content{display:block;margin-top:14px}.repair-note-content>td{display:block;padding:0}.repair-note-body{font-size:13px;padding:16px}
 .unlisted-grid{grid-template-columns:1fr;gap:0}.unlisted-item{gap:12px}.unlisted-repairs>h2{font-size:21px}.unlisted-item h3{font-size:14px}.unlisted-item span{font-size:12px}
 .tire-section .category-heading{flex-wrap:wrap}.tire-section .category-heading h2{font-size:22px}
}
@media(max-width:360px){.part-buttons>a{font-size:12px;padding:9px 7px;gap:4px}.part-arrow{display:none}.repair-finder{padding-inline:10px}.category-heading{flex-wrap:wrap}.repair-time{max-width:105px}.repair-note-button{padding-inline:10px}}

/* Names and supporting details share a line when there is room. */
.price-description{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}
.price-description>.price-name{max-width:100%;margin:0;overflow-wrap:normal}
.price-description>.repair-specification,.price-description>.price-row-note{display:inline;margin:0;font-size:13px;font-weight:400;color:var(--muted);max-width:100%;overflow-wrap:normal}
.repair-category[data-price-alignment] .price-description{display:grid;grid-template-columns:minmax(0,var(--price-name-width)) minmax(0,1fr)}
.repair-category[data-price-alignment] .price-description>.price-row-note{grid-column:2}
.repair-category[data-price-alignment="stacked"] .price-description{grid-template-columns:minmax(0,1fr)}
.repair-category[data-price-alignment="stacked"] .price-description>.price-row-note{grid-column:1}
.tire-table th:first-child{width:28%}
.tire-table thead th{padding-inline:10px}
.tire-heading-line{display:block;word-break:keep-all;overflow-wrap:normal}
.tire-card dt{overflow-wrap:normal}
.repair-consultation{margin-top:28px;font-size:14px}

/* A quiet heading band groups mobile prices without enclosing every category. */
@media(max-width:760px){
 .repairs-page .repair-category{margin-top:32px}
 .repairs-page .category-heading{padding:10px 12px;margin-bottom:0;align-items:center;background:var(--mint);border-left:3px solid #9ab7a3;border-bottom:1px solid var(--line)}
 .repairs-page .category-heading h2{font-size:20px;line-height:1.5}
 .repairs-page .repair-category:target{outline:none;border-radius:0}
 .repairs-page .repair-category:target>.category-heading{border-left-color:var(--green);box-shadow:inset 0 0 0 1px #9ab7a3}
 .repairs-page .repair-table{margin-bottom:0}
 .repairs-page .repair-entry:first-of-type{border-top:0}
 .repairs-page .tire-cards{margin-top:16px}
}

.repair-related-guides{margin:4px 0 14px;font-size:14px;line-height:1.7}.repair-related-guides ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}.repair-related-guides a{display:inline-block;max-width:100%;padding:5px 0;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
@media(max-width:760px){.repair-category>.repair-related-guides{margin:6px 0 2px;padding-inline:12px}}
