.offer details{border:0;padding-top:0}
.offer summary{background:#202020;color:#fff;min-height:64px;padding:15px 17px;border-radius:9px;align-items:center;font-size:15px;line-height:1.25;box-shadow:0 3px 0 #0002}
.offer summary:hover{background:#3a3326}
.offer summary:after{content:'↓';display:flex;justify-content:center;align-items:center;flex-shrink:0;width:34px;height:34px;background:#ffda00;color:#181818;border-radius:50%;font-size:22px;line-height:1}
.offer details[open]>summary:after{content:'↑'}
.offers{align-items:start}
.offer summary .summary-label{display:flex;flex-direction:column;gap:4px}
.offer summary small{color:#e2dfd5;font-size:11px;font-weight:400}
.offer details[open] .summary-open,.offer details:not([open]) .summary-closed{display:inline}
.offer details[open] .summary-closed,.offer details:not([open]) .summary-open{display:none}
.savings-badge{display:inline-block!important;width:fit-content;background:#eef5df;color:#315617!important;border:1px solid #d0dfa9;border-radius:6px;padding:7px 10px!important;font-weight:800;font-size:13px!important;line-height:1.4;margin:0 0 12px!important;min-height:0!important;letter-spacing:0}
.offer.featured .savings-badge{background:#fff9d2;border-color:#d6b90c;color:#302a0c!important}
.savings-badge small{font-weight:400;font-size:11px;display:block}
.repair-finder{background:#fff;border:2px solid #e2bb12;border-radius:15px;padding:27px;margin:0 0 30px;box-shadow:0 8px 25px #33290008}
.repair-finder h3{font-size:27px;line-height:1.15;margin:8px 0 12px;letter-spacing:-.7px}
.repair-finder>p{font-size:14px;color:#625b4d;margin:0 0 20px}
.search-controls{display:flex;gap:10px;align-items:stretch}
.search-field{flex:1;min-width:0}
.search-field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
#model-search{width:100%;min-height:52px;background:#f8f6f1;color:#181818;border:1px solid #8c8577;border-radius:7px;padding:12px 15px;font:inherit;font-size:16px}
#model-search:focus{outline:3px solid #ffda00;outline-offset:2px}
.search-controls>button{align-self:end;border:0;cursor:pointer}
.search-examples{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}
.search-examples span{font-size:12px;color:#625b4d}
.search-examples button{font:inherit;font-size:12px;border:1px solid #d4cbb6;background:#f8f4e9;border-radius:20px;padding:7px 12px;cursor:pointer;color:#29261f}
.search-examples button:hover{background:#ffed9d}
#clear-search{background:transparent;border:0;text-decoration:underline}
#search-status{font-size:13px;color:#625b4d;margin:14px 0 0}
#search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#search-results:not(:empty){margin-top:20px}
.search-offer{padding:20px;border:1px solid #ded7c6;border-radius:10px;background:#faf8f2}
.search-offer h4{font-size:20px;line-height:1.2;margin:0 0 10px}
.matched-models{font-size:12px;color:#615b4f;margin:0 0 18px}
.search-price{font-size:38px;line-height:1.1;letter-spacing:-1px;display:inline-block;margin:0 8px 15px 0}
.search-type{font-size:11px;font-weight:700;color:#625b4d}
.search-offer .savings-badge{display:block!important}
.result-note{font-size:11px;color:#625b4d;margin:0}
button:focus-visible{outline:3px solid #ed3829;outline-offset:3px}
@media(max-width:800px){.repair-finder{padding:20px}.repair-finder h3{font-size:25px}.search-controls{flex-wrap:wrap}.search-field{flex-basis:100%}.search-controls>.button{width:100%;min-height:48px}#search-results{grid-template-columns:1fr}.offer summary{padding:15px;min-height:66px}.savings-badge{font-size:13px!important}}

/* Distinct repair categories with consistent dark text and controls. */
.offers>.offer:nth-child(2),.search-offer[data-service="battery"]{background:#dcebdc;border-color:#abc5a9}
.offers>.offer:nth-child(3),.search-offer[data-service="back"]{background:#dce8f5;border-color:#a7bdd6}
.search-offer[data-service="screen"]{background:#fff0a8;border-color:#dbc25d}
#ipad-repair{background:#e9def4;border-color:#c6afd9}
#console-repair{background:#f7dfcd;border-color:#d7b697}
#samsung-repair{background:#d4eae6;border-color:#a5c8c1}
#other-repairs{background:#f2dce2;border-color:#d5aeb9}
.ipad-exclusions{display:block;margin-top:14px;padding:12px 14px;border:1px solid #aa7f9b;border-left:4px solid #802d52;border-radius:6px;background:#fff7fa;color:#66213e;font-weight:800;line-height:1.5}
.brand-price-list{display:grid;gap:12px;margin-top:22px}.brand-price-list details{margin:0}.brand-price-list th{text-align:left;font-size:11px;padding:14px 0;border-bottom:1px solid #0002}.brand-price-list th:last-child{text-align:right}.other-search-offer table{width:100%;border-collapse:collapse;font-size:12px}.other-search-offer td{padding:12px 5px;border-bottom:1px solid #0002}.other-search-offer td:last-child{text-align:right;font-weight:800;white-space:nowrap}.other-search-offer caption{text-align:left;font-weight:700;padding:10px 0}.other-search-offer{background:#f2dce2}

/* Compact finder keeps the repair cards close, especially on mobile. */
.repair-finder{padding:16px 18px;margin-bottom:22px;border-radius:12px}
.repair-finder h3{font-size:20px;margin:0 0 11px;letter-spacing:-.3px}
.search-field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.search-controls{flex-wrap:nowrap;gap:8px}
.search-field{flex:1 1 auto}
#model-search{min-height:46px;padding:10px 12px;font-size:16px}
.search-controls>.button{width:auto;min-height:46px;padding:10px 16px;font-size:14px;flex:0 0 auto}
.search-examples{gap:7px;margin:8px 0 0;flex-wrap:wrap}
.search-examples button{font-size:11px;padding:7px 10px;min-height:32px}
#search-status:empty{display:none}
#search-status{margin-top:10px;font-size:12px}
#search-results:not(:empty){margin-top:14px}
@media(max-width:800px){.repair-finder{padding:14px;margin-bottom:20px}.repair-finder h3{font-size:19px;margin-bottom:10px}.search-field{flex-basis:auto}.search-controls>.button{padding:10px 12px;width:auto;min-height:46px}.search-examples{gap:5px}.search-examples button{padding:7px 9px}.search-examples span{font-size:11px}}

/* The accordion handler preserves the tapped header position. */
html{overflow-anchor:none}
.additional-repairs{align-items:start}
