/* podbor/ — partner wheels that fit the car. Same dark canvas as the home page; white product shots sit on white tiles. */
.pb{padding-top:calc(var(--head) + clamp(40px,6vw,88px));padding-bottom:clamp(80px,10vw,140px)}
.pb-head .display{font-size:clamp(32px,4vw,54px);max-width:14em}
.pb-head .lead{margin-top:16px}
.pb-pick{margin-top:clamp(28px,4vw,44px);padding:clamp(16px,2vw,22px)}
.pb-selects{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:10px}
.pb-selects .select{appearance:none;-webkit-appearance:none;padding-right:40px;background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ab' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center/18px;cursor:pointer}
.pb-selects .select:disabled{opacity:.45;cursor:default}
.pb-car{display:flex;flex-wrap:wrap;gap:10px 32px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.pb-car span{display:flex;flex-direction:column;font-size:12px;color:var(--muted)}
.pb-car b{font-weight:500;font-size:16px;color:var(--text)}
.pb-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:28px}
.pb-chips{display:flex;flex-wrap:wrap;gap:6px}
.pb-chips:empty{display:none}
.pb-chips .chip{border:0;cursor:pointer;transition:background .2s,color .2s}
.pb-chips .chip:hover{color:var(--text)}
.pb-chips .chip.on{background:var(--text);color:var(--bg)}
.pb-sort{width:auto;height:36px;margin-left:auto;padding:0 36px 0 14px;font-size:13px;border-radius:999px;appearance:none;-webkit-appearance:none;
  background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ab' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center/16px}
.pb-count{margin:28px 0 16px;font-size:13px;color:var(--muted)}
.pb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pb-card{display:flex;flex-direction:column;border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden;transition:box-shadow .3s}
.pb-card:hover{box-shadow:inset 0 0 0 1px var(--line-2)}
.pb-img{aspect-ratio:1;background:#fff;display:grid;place-items:center;overflow:hidden}
.pb-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.pb-card:hover .pb-img img{transform:scale(1.04)}
.pb-body{display:flex;flex-direction:column;flex:1;padding:14px 16px 16px}
.pb-shop{font-size:12px;color:var(--muted)}
.pb-t{margin:4px 0 0;font-weight:500;font-size:15px;line-height:1.3;letter-spacing:-.01em}
.pb-spec{margin:6px 0 0;font-size:12px;line-height:1.5;color:var(--text-2)}
.pb-fit{display:flex;align-items:baseline;gap:7px;margin:8px 0 0;font-size:12px;color:var(--text-2)}
.pb-fit::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--ok);transform:translateY(-1px)}
.pb-fit.warn::before{background:var(--warn)}
.pb-price{display:flex;flex-direction:column;margin-top:auto;padding-top:14px}
.pb-price b{font-weight:500;font-size:19px;letter-spacing:-.02em}
.pb-price span{font-size:12px;color:var(--muted)}
.pb-act{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.pb-act .btn{padding:0 10px}
.pb-more{display:flex;justify-content:center;margin-top:32px}
.pb-wait{display:flex;align-items:center;gap:12px;margin-top:32px;color:var(--text-2)}
.pb-wait .spin{width:18px;height:18px;border-radius:50%;border:2px solid var(--line-2);border-top-color:var(--accent);animation:pbSpin .8s linear infinite}
@keyframes pbSpin{to{transform:rotate(1turn)}}
.pb-empty{margin-top:32px;padding:32px;border-radius:var(--r-lg);background:var(--surface);text-align:center}
.pb-empty b{font-weight:500;font-size:17px}
.pb-empty p{margin:8px auto 0;max-width:32em;color:var(--text-2);font-size:14px}
.pb-note{margin:48px 0 0;font-size:12px;line-height:1.7;color:var(--muted);max-width:60em}
@media (max-width:1100px){.pb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){.pb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-selects{grid-template-columns:1fr}}
@media (max-width:560px){
  .pb-grid{gap:10px}
  .pb-body{padding:12px}
  .pb-t{font-size:14px}
  .pb-price b{font-size:17px}
  .pb-act{grid-template-columns:1fr}
  .pb-sort{margin-left:0}
}

/* set price + stock note; a card opens a window */
.pb-card{cursor:pointer}
.pb-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pb-img{position:relative}
.pb-count-ph{position:absolute;right:10px;bottom:10px;padding:3px 9px;border-radius:999px;background:rgba(10,11,13,.6);color:#fff;font-size:11px}
.pb-stock{margin-top:4px;color:var(--warn)!important}

html.pm-lock,html.pm-lock body{overflow:hidden}
.pm{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:4vh 0;opacity:0;transition:opacity .25s var(--ease)}
.pm.on{opacity:1}
.pm-backdrop{position:absolute;inset:0;background:rgba(5,6,8,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.pm-sheet{position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);width:min(1320px,75vw);height:min(860px,88vh);border-radius:var(--r-xl);
  background:var(--surface);box-shadow:0 0 0 1px var(--line-2),0 40px 120px rgba(0,0,0,.6);overflow:hidden;transform:translateY(16px) scale(.985);transition:transform .35s var(--ease)}
.pm.on .pm-sheet{transform:none}
.pm-close{position:absolute;top:14px;right:14px;z-index:3;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:var(--surface-3);color:var(--text)}
.pm-close svg,.pm-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pm-close:hover{background:var(--line-2)}
.pm-gallery{display:flex;flex-direction:column;min-height:0;background:#0d0e10}
.pm-stage{position:relative;flex:1;min-height:0;display:grid;place-items:center}
.pm-stage img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;transition:opacity .25s}
.pm-stage img.loading{opacity:.35}
.pm-nav{position:absolute;top:50%;translate:0 -50%;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(10,11,13,.55);color:#fff}
.pm-nav:hover{background:rgba(10,11,13,.8)}
.pm-prev{left:14px}.pm-next{right:14px}
.pm-n{position:absolute;left:14px;bottom:12px;padding:3px 10px;border-radius:999px;background:rgba(10,11,13,.55);color:#fff;font-size:12px}
.pm-n:empty{display:none}
.pm-thumbs{display:flex;gap:8px;padding:10px;overflow-x:auto;scrollbar-width:none;background:var(--surface-2)}
.pm-thumbs:empty{display:none}
.pm-thumbs button{flex:none;width:68px;height:68px;padding:0;border:0;border-radius:10px;overflow:hidden;background:#fff;opacity:.6;box-shadow:inset 0 0 0 2px transparent;transition:opacity .2s}
.pm-thumbs button.on{opacity:1;box-shadow:0 0 0 2px var(--accent)}
.pm-thumbs img{width:100%;height:100%;object-fit:cover}
.pm-body{overflow-y:auto;padding:36px 32px 28px}
.pm-t{margin:6px 48px 0 0;font-weight:500;font-size:clamp(22px,2vw,28px);line-height:1.2;letter-spacing:-.02em}
.pm-price{margin-top:18px;padding:16px 0 0;border-top:1px solid var(--line)}
.pm-price b{font-size:28px}
.pm-act{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.pm-spec{margin:24px 0 0;border-top:1px solid var(--line)}
.pm-spec div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.pm-spec dt{color:var(--muted)}
.pm-spec dd{margin:0;text-align:right;color:var(--text)}
.pm-desc{margin:20px 0 0;font-size:14px;line-height:1.65;color:var(--text-2)}
.pm-note{margin:18px 0 0;font-size:12px;color:var(--muted)}
@media (max-width:980px){
  .pm{padding:0;place-items:stretch}
  .pm-sheet{width:100%;height:100%;border-radius:0;grid-template-columns:1fr;grid-template-rows:auto 1fr;overflow-y:auto}
  .pm-gallery{height:min(62vh,520px)}
  .pm-body{overflow:visible;padding:24px 20px calc(28px + env(safe-area-inset-bottom,0px))}
  .pm-close{top:calc(12px + env(safe-area-inset-top,0px))}
}
