/* Product detail only: shared buying/bidding flows, photo first, persistent actions. */
body.lk-product-detail {
  --pd-orange: #ff7900;
  --pd-ink: #171b23;
  --pd-muted: #657080;
  --pd-line: #e8e9ed;
  --pd-safe-top: max(env(safe-area-inset-top, 0px), var(--wtn-safe-top, 0px));
  --pd-bar-height: calc(84px + env(safe-area-inset-bottom, 0px));
  padding-bottom: var(--pd-bar-height) !important;
}
body.lk-product-detail .spd-page { padding-bottom: 32px; }
.lk-product-detail .spd-event-jump,
.lk-product-detail .spd-event-head,
.lk-product-detail .spd-sticky,
.lk-product-detail .spd-bid-cta__main,
.lk-product-detail .spd-bidpanel__morelink { display: none !important; }
.lk-product-detail .spd-bid-cta__bot { width: auto; padding: 10px 14px; border: 1px solid var(--pd-line); }
.lk-product-detail .spd-bid-cta__bot::after { content: 'Bietbot'; margin-left: 8px; font-size: 13px; }
.lk-product-detail .spd-buybox__hero,
.lk-product-detail .spd-ebay-or { display: none; }
.lk-product-detail .spd-ebay-price .spd-uvp-proof > .spd-uvp { display: none; }
.lk-product-detail .spd-btn-primary,
.lk-product-detail .spd-buybox__cta,
.lk-product-detail .spd-buy-sheet__go { background: var(--pd-orange); color: #171b23; box-shadow: none; }
.lk-pd-event { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 0 0 16px; background: #fff6ed; border: 1px solid #ffdfbf; border-radius: 12px; color: var(--pd-ink); text-decoration: none; min-width: 0; }
.lk-pd-event:hover { color: var(--pd-ink); background: #ffefdf; }
.lk-pd-event > img, .lk-pd-event__icon { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lk-pd-event__icon { display: grid; place-items: center; color: #aa4b00; background: #ffe6cc; }
.lk-pd-event__copy { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.lk-pd-event__copy small { color: var(--pd-muted); font-size: 11px; }
.lk-pd-event__copy strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.lk-pd-event__copy > span { font-size: 12px; font-weight: 650; color: #974100; line-height: 1.4; overflow-wrap: anywhere; }
.lk-pd-event__copy i { font-size: 10px; margin-left: 4px; }
.lk-pd-back { display: none; }
.lk-pd-actions { position: fixed; z-index: 1040; inset: auto 0 0; background: #fff; border-top: 1px solid var(--pd-line); padding: 12px max(20px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 -6px 28px rgb(23 27 35 / 4%); }
.lk-pd-actions__inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; }
.lk-pd-actions__summary { min-width: 0; display: grid; grid-template-columns: auto auto; column-gap: 16px; align-items: center; }
.lk-pd-actions__summary > strong { grid-column: 2; grid-row: 1 / span 2; font-size: 23px; white-space: nowrap; line-height: 1.2; color: var(--pd-ink); }
.lk-pd-actions__title { max-width: 48vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 650; }
.lk-pd-actions__price-label { color: var(--pd-muted); font-size: 12px; }
.lk-pd-actions__buttons { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.lk-pd-button { display: flex; align-items: center; justify-content: center; min-height: 50px; min-width: 172px; padding: 12px 20px; border: 1px solid var(--pd-orange); border-radius: 10px; background: var(--pd-orange); color: #171b23; text-decoration: none; font-size: 16px; line-height: 1.25; font-weight: 750; cursor: pointer; text-align: center; }
.lk-pd-button:hover { background: #f27200; color: #171b23; }
.lk-pd-button--outline { background: #fff; border-color: #ca6000; color: #a84c00; }
.lk-pd-button--outline:hover { background: #fff6ed; color: #a84c00; }
.lk-pd-button:focus-visible, .lk-pd-event:focus-visible, .lk-pd-back:focus-visible { outline: 3px solid #212a38; outline-offset: 3px; }
.lk-pd-button:disabled, .lk-pd-button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.lk-pd-actions__state { font-size: 14px; font-weight: 650; color: var(--pd-muted); overflow-wrap: anywhere; }
.lk-pd-actions [hidden] { display: none !important; }
body.lk-product-detail.modal-open .lk-pd-actions { visibility: hidden; }
.lk-product-detail .spd-bid-safe { color: var(--pd-muted); font-size: 12px; }
.lk-product-detail #spdBidModal .spd-bid-step-info { background: #fff5eb; border-color: #ffdfbf; }
.lk-product-detail #mktBtnAgent { background: #fff; border-color: var(--pd-line); color: var(--pd-muted); }
@media (min-width: 1024px) {
  .lk-product-detail .spd-container { max-width: 1280px; padding-top: 20px; }
  .lk-product-detail .spd-desktop { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr) !important; gap: 32px !important; }
  .lk-product-detail .spd-gallery__stage { max-width: none; }
  .lk-product-detail .spd-main-media__frame { max-width: none; }
  .lk-product-detail .spd-side { position: sticky; top: calc(var(--lk-top-h, 72px) + var(--lk-mainnav-h, 0px) + 20px); }
  .lk-product-detail .spd-card--ebay-desk { border-radius: 16px; padding: 24px; box-shadow: none; }
  .lk-product-detail .spd-auction-title { font-size: clamp(24px, 2vw, 32px); line-height: 1.25; }
  .lk-product-detail .spd-event-pop + .lk-ed-note { margin-bottom: 18px; }
}
@media (max-width: 1023.98px) {
  body.lk-product-detail, body.lk-product-detail .main-content { background: #fff; }
  body.lk-product-detail .main-content,
  body.lk-product-detail.lk-app .main-content,
  html.wtn-android-app-root body.lk-product-detail.lk-app .main-content,
  body.wtn-android-app.lk-product-detail.lk-app .main-content { padding-top: 0 !important; margin-top: 0 !important; }
  body.lk-product-detail .lk-top,
  html.wtn-android-app-root body.lk-product-detail .lk-top,
  body.wtn-android-app.lk-product-detail .lk-top,
  body.lk-product-detail #mainNav,
  body.lk-product-detail .lk-mainnav,
  body.lk-product-detail .lk-side,
  body.lk-product-detail .mobile-bottom-nav,
  body.lk-product-detail .lk-mobile-bottom-nav,
  body.lk-product-detail .lk-bottom,
  body.lk-product-detail .footer { display: none !important; }
  body.lk-product-detail .spd-container { padding: 0 0 24px !important; max-width: none; display: flex; flex-direction: column; }
  body.lk-product-detail .spd-page { padding-top: 0; }
  .lk-product-detail .spd-container > .spd-mobile { order: -1; }
  .lk-product-detail .spd-container > .spd-lot-nav { order: 0; margin: 12px 16px; }
  .lk-product-detail .spd-page > .lk-no-fee-bar,
  .lk-product-detail .spd-page > .lk-fee-bar { display: none !important; }
  .lk-product-detail .spd-mobile { gap: 0 !important; padding-bottom: 0; }
  .lk-product-detail .spd-mobile > * { order: 10; }
  .lk-product-detail .spd-mobile > .spd-mobile-media { order: 0; margin: 0; border-radius: 0; border: 0; width: 100%; height: clamp(320px, 54svh, 620px); aspect-ratio: auto; max-height: none; background: #f1f1ef; }
  .lk-product-detail .spd-mobile-media .spd-swipe__media { object-fit: cover !important; background: #f1f1ef; padding: 0 !important; }
  .lk-product-detail .spd-mobile-media .spd-badge-row { top: auto; bottom: 16px; left: 16px; }
  .lk-product-detail .spd-mobile-media .spd-badge-live { font-size: 10px; background: rgb(255 255 255 / 92%); color: #292f3a; border: 0; padding: 5px 8px; }
  .lk-product-detail .spd-mobile .spd-media-top-actions { top: calc(var(--pd-safe-top) + 12px); right: max(16px, env(safe-area-inset-right, 0px)); gap: 8px; }
  .lk-product-detail .spd-mobile .spd-media-top-actions .spd-media-share,
  .lk-product-detail .spd-mobile .spd-media-top-actions .spd-media-watch,
  .lk-product-detail .lk-pd-back { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: #171b23; box-shadow: 0 2px 10px rgb(0 0 0 / 8%); display: flex; justify-content: center; align-items: center; text-decoration: none; }
  .lk-product-detail .spd-mobile .spd-media-top-actions i,
  .lk-product-detail .spd-mobile .spd-media-top-actions svg { color: #171b23 !important; stroke: currentColor; }
  .lk-product-detail .lk-pd-back { position: absolute; top: calc(var(--pd-safe-top) + 12px); left: max(16px, env(safe-area-inset-left, 0px)); z-index: 8; }
  .lk-product-detail .spd-mobile .spd-media-count { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); border-radius: 20px; background: rgb(23 27 35 / 55%); color: #fff; font-size: 11px; padding: 4px 9px; }
  .lk-product-detail .spd-mobile .spd-nav-btn--mobile { display: none !important; }
  .lk-product-detail .spd-mobile .spd-expand-btn { bottom: 12px; width: 38px; height: 38px; min-height: 38px; background: rgb(255 255 255 / 92%); color: #171b23; }
  .lk-product-detail .spd-mobile > .lk-pd-event { order: 1; margin: 16px 16px 0; }
  .lk-product-detail .spd-mobile > .spd-cond-row { order: 2; padding-top: 14px; }
  .lk-product-detail .spd-mobile > .spd-ebay-title { order: 3; font-size: 23px; line-height: 1.26; padding: 16px 20px 6px; font-weight: 750; }
  .lk-product-detail .spd-mobile > .spd-ebay-price { order: 4; padding: 6px 20px 16px; }
  .lk-product-detail .spd-mobile .spd-ebay-amount { font-size: 29px; letter-spacing: -.6px; }
  .lk-product-detail .spd-mobile .spd-ebay-cond { font-size: 13px; color: var(--pd-muted); margin: 0 0 8px; }
  .lk-product-detail .spd-mobile .spd-ebay-timer { border-top: 1px solid var(--pd-line); padding-top: 12px; margin-top: 12px; }
  .lk-product-detail .spd-mobile .spd-ebay-seller { order: 7; padding: 18px 20px; margin: 8px 0; border-top: 8px solid #f5f6f7; border-bottom: 8px solid #f5f6f7; }
  .lk-product-detail .spd-mobile > .spd-ebay-rows { order: 5; padding: 0 20px; }
  .lk-product-detail .spd-mobile .spd-ebay-row { padding: 12px 0; }
  .lk-product-detail .spd-mobile .spd-ebay-row--pay { display: none; }
  .lk-product-detail .spd-mobile > .spd-ebay-cta { order: 6; padding: 0 20px; gap: 0; border: 0; }
  .lk-product-detail .spd-mobile .spd-ebay-cta > .spd-ebay-outline { display: none; }
  .lk-product-detail .spd-mobile .spd-buybox { padding: 0; border: 0; background: transparent; }
  .lk-product-detail .spd-mobile .spd-buybox__qty { margin: 8px 0 14px; }
  .lk-product-detail .spd-mobile .spd-card,
  .lk-product-detail .spd-desc-row > .spd-card { border: 0; border-top: 8px solid #f5f6f7; border-radius: 0; box-shadow: none; padding: 20px; margin: 0; }
  .lk-product-detail .spd-desc-row { margin: 0; gap: 0; }
  .lk-product-detail .spd-related { padding: 16px; }
  .lk-pd-actions { padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .lk-pd-actions__inner { gap: 16px; }
  .lk-pd-actions__title { display: none; }
  .lk-pd-actions__summary { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; flex-shrink: 0; }
  .lk-pd-actions__summary > strong { font-size: 22px; }
  .lk-pd-actions__price-label { font-size: 11px; }
  .lk-pd-actions[data-listing-type="buynow"] .lk-pd-actions__summary { display: none; }
  .lk-pd-actions__buttons { flex: 1; gap: 10px; min-width: 0; }
  .lk-pd-button { min-width: 0; flex: 1; font-size: 15px; padding: 12px 8px; }
  .lk-pd-actions[data-listing-type="auction"] .lk-pd-actions__buttons { max-width: 62%; }
  .lk-product-detail #spdBidModal .modal-dialog,
  .lk-product-detail #spdBuyModal .modal-dialog,
  .lk-product-detail #spdProposeModal .modal-dialog { margin: 0; max-width: none; min-height: 100%; align-items: flex-end; }
  .lk-product-detail #spdBidModal .modal-content,
  .lk-product-detail #spdBuyModal .modal-content,
  .lk-product-detail #spdProposeModal .modal-content { border: 0; border-radius: 22px 22px 0 0; max-height: calc(100dvh - var(--pd-safe-top) - 12px); overflow: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .lk-product-detail #spdBidModal .modal-content::before,
  .lk-product-detail #spdBuyModal .modal-content::before,
  .lk-product-detail #spdProposeModal .modal-content::before { content: ''; width: 38px; height: 4px; border-radius: 4px; background: #d6d8dd; margin: 10px auto 0; flex-shrink: 0; }
  .lk-product-detail #spdBidModal .modal-body { overflow: auto; padding: 16px 20px 20px; }
  .lk-product-detail #spdBidModal .modal-header { padding: 14px 20px; }
  .lk-product-detail #spdBidModal .spd-bid-actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0 4px; }
  .lk-product-detail #mktAmountInput { font-size: 24px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .lk-product-detail .modal.fade .modal-dialog { transition: none; }
}
