/* Photo picker and vehicle recommendations share the neutral storefront theme. */
.wheel-photo-trigger{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:#fff;color:#1d1d1f;border:1px solid #d2d2d7;border-radius:14px;padding:12px 16px;margin:0 0 24px;cursor:pointer;font:inherit}
.wheel-photo-trigger img,.picker-placeholder{width:76px;height:76px;object-fit:contain;border-radius:8px;background:#f5f5f7;flex-shrink:0}.picker-placeholder{display:grid;place-items:center;font-size:36px}.wheel-photo-trigger>span:nth-last-child(2){flex:1}.wheel-photo-trigger strong,.wheel-photo-trigger small{display:block}.wheel-photo-trigger small{font-size:14px;color:#66686b;margin-top:6px}
.wheel-photo-dialog{width:min(920px,calc(100% - 32px));max-height:88dvh;padding:24px;border:1px solid #dedee0;border-radius:20px;background:#fff;color:#1d1d1f;color-scheme:light;box-shadow:0 20px 80px #0003}.wheel-photo-dialog::backdrop{background:#0008;backdrop-filter:blur(4px)}
.wheel-photo-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.wheel-photo-head h2{font-size:28px;letter-spacing:-.8px;margin:8px 0 20px;color:#1d1d1f}.wheel-photo-head .eyebrow{color:#66686b;font-size:12px;margin:0}.picker-close{width:44px;height:44px;flex-shrink:0;font-size:28px;background:#f5f5f7;border:1px solid #dedee0;color:#232323;border-radius:10px;cursor:pointer}.wheel-search-label{display:block;font-size:14px}.wheel-photo-dialog input{display:block;width:100%;padding:14px;border:1px solid #d2d2d7;border-radius:10px;background:#fff;color:#1d1d1f;font:inherit;margin-top:6px}.photo-count,.photo-note{font-size:14px;color:#66686b}.wheel-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wheel-photo-option{min-width:0;padding:0;overflow:hidden;border:1px solid #dedee0;background:white;color:#1d1d1f;text-align:left;border-radius:12px;cursor:pointer;font:inherit}.wheel-photo-option[aria-pressed=true]{border:2px solid #425c22}.wheel-photo-option:hover{border-color:#425c22}.wheel-photo-option img{display:block;width:100%;height:160px;object-fit:contain;background:#f5f5f7}.wheel-photo-option>span{display:block;padding:14px}.wheel-photo-option strong{font-size:16px;line-height:1.4;display:block}.wheel-photo-option small{display:block;font-size:14px;color:#66686b;margin-top:6px}
.vehicle-helper{border:1px solid #dedee0;border-radius:18px;background:#fff;margin:24px 0 32px;scroll-margin-top:95px}.vehicle-helper>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;cursor:pointer;list-style:none}.vehicle-helper>summary::-webkit-details-marker{display:none}.vehicle-helper>summary strong{font-size:23px;letter-spacing:-.5px;display:block}.vehicle-helper>summary small{font-size:16px;color:#66686b;display:block;margin-top:6px;line-height:1.5}.vehicle-helper>summary>span:last-child{font-size:28px}.vehicle-helper[open]>summary{border-bottom:1px solid #dedee0}.vehicle-helper-body{padding:24px}.vehicle-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.vehicle-helper label{font-size:14px;color:#1d1d1f}.vehicle-helper input,.vehicle-helper select,.vehicle-helper textarea{font-size:16px;background:#fff;color:#1d1d1f;border:1px solid #d2d2d7;border-radius:8px}.vehicle-extra{margin:0 0 20px}.vehicle-extra summary,.fitment-reference summary{cursor:pointer;font-size:15px}.vehicle-extra[open] summary{margin-bottom:14px}.fitment-scope,.fitment-disclaimer,.fitment-reference p{font-size:14px!important;line-height:1.6;color:#66686b}.vehicle-helper .button{background:#232323;color:#fff;border-radius:8px;min-height:48px}.vehicle-results{scroll-margin-top:95px}.vehicle-results:empty{display:none}.vehicle-results h3{font-size:26px;letter-spacing:-.6px;margin-top:30px}.vehicle-results p{font-size:16px;line-height:1.6}.fitment-review{border:1px solid #d2d2d7;padding:20px;background:#f5f5f7;border-radius:12px;margin:20px 0}.fitment-review ul{padding-left:20px;font-size:15px;line-height:1.6;margin-bottom:0}.fitment-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.fitment-card{border:1px solid #dedee0;border-radius:14px;overflow:hidden;min-width:0}.fitment-card>a{display:block;background:#f5f5f7}.fitment-card img{display:block;width:100%;height:220px;object-fit:contain}.fitment-card>div{padding:22px}.fitment-card h4{font-size:20px;line-height:1.35;margin:8px 0}.fitment-card .fitment-size{font-size:23px;font-weight:600;letter-spacing:-.5px;margin:0}.fitment-card .ring-note{font-size:14px;color:#66686b}.fitment-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:22px}.fitment-actions a{font-size:15px}.fitment-reference{border-top:1px solid #dedee0;padding-top:18px;margin-top:24px}.fitment-reference a{font-size:14px}.vehicle-helper [hidden]{display:none!important}
.wheel-photo-trigger:focus-visible,.wheel-photo-dialog :focus-visible,.vehicle-helper :focus-visible{outline:2px solid #232323;outline-offset:3px}
@media(max-width:650px){.wheel-photo-dialog{padding:18px;width:calc(100% - 16px);max-height:90dvh}.wheel-photo-head h2{font-size:23px}.wheel-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wheel-photo-option img{height:130px}.wheel-photo-option>span{padding:12px}.vehicle-helper>summary,.vehicle-helper-body{padding:18px}.vehicle-helper>summary strong{font-size:21px}.vehicle-fields,.fitment-cards{grid-template-columns:1fr}.fitment-card img{height:230px}.wheel-photo-trigger img{width:64px;height:64px}.fitment-actions .button{width:100%}.vehicle-helper .button{white-space:normal;text-align:center}.wheel-photo-trigger strong{font-size:16px}}

.vehicle-helper>summary::after{display:none!important}.photo-count{margin:14px 0}.vehicle-helper[open]>summary>span:last-child{font-size:0}.vehicle-helper[open]>summary>span:last-child::after{content:"−";font-size:28px}

.vehicle-lookup{border-bottom:1px solid #dedee0;margin-bottom:24px;padding-bottom:16px}.vehicle-lookup .back-link{margin-bottom:12px}.vehicle-results>h3{scroll-margin-top:100px}

/* Keep the picker within the mobile viewport without disabling browser zoom. */
.wheel-photo-dialog,.wheel-photo-dialog *{box-sizing:border-box}
.wheel-photo-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;margin:auto}
.wheel-photo-dialog input{font-size:16px}
.wheel-photo-head>div{min-width:0}
.wheel-photo-option{cursor:default}
.wheel-photo-option[data-selected=true]{border:2px solid #232323}
.picker-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;background:#f5f5f7}
.wheel-photo-option .picker-gallery img{flex:0 0 100%;min-width:100%;scroll-snap-align:start;scroll-snap-stop:always;object-fit:contain}
.picker-gallery-controls{display:flex;align-items:center;justify-content:space-between;padding:0 6px;background:#f5f5f7}
.picker-gallery-controls button{width:44px;height:44px;background:transparent;color:#232323;border:0;font-size:26px;cursor:pointer}
.picker-photo-position{font-size:13px;color:#66686b}
.picker-select{display:block;width:100%;padding:14px;border:0;background:#fff;color:#1d1d1f;text-align:left;font:inherit;cursor:pointer}
.picker-select-label{display:block;margin-top:12px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.wheel-photo-dialog{width:calc(100vw - 24px);padding:16px;border-radius:16px}.wheel-photo-head{gap:12px}.wheel-photo-head h2{font-size:22px;line-height:1.2}.wheel-photo-grid{gap:10px}.picker-select{padding:10px}.wheel-photo-option strong{font-size:15px}.wheel-photo-option small{font-size:14px}.wheel-photo-option .picker-gallery img{height:140px}}
@media(max-width:350px){.wheel-photo-grid{grid-template-columns:1fr}}
