.pd-upsell-dialog{box-sizing:border-box;color:var(--pd-ink,#102344);background:#fff;font-family:var(--pd-font,inherit);border:1px solid #e1e7ef;border-radius:18px;padding:0;box-shadow:0 24px 80px #10234430;max-height:calc(100dvh - 32px)}
.pd-upsell-dialog::backdrop{background:#08172b80}
.pd-upsell-dialog button,.pd-upsell-dialog a,.pd-upsell-section button,.pd-upsell-section a{font:inherit}
.pd-upsell-dialog :focus-visible,.pd-upsell-section :focus-visible{outline:3px solid var(--pd-button,#065bff);outline-offset:3px}
.pd-upsell-open{overflow:hidden!important}
.pd-upsell-dialog h2{font-size:1.3rem;line-height:1.25;margin:4px 0 18px;letter-spacing:-.02em}
.pd-upsell-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e1e7ef;border-radius:50%;background:white;color:var(--pd-ink,#102344);cursor:pointer;font-size:26px!important;line-height:1}
.pd-upsell-section{margin-block:28px 36px}
.pd-upsell-section h2{font-size:1.4rem;line-height:1.3;margin-bottom:18px}
.pd-upsell-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:16px}
.pd-upsell-card{min-width:0;overflow:hidden;border:1px solid #e1e7ef;border-radius:12px;background:#fff;display:flex;flex-direction:column;text-align:left;color:var(--pd-ink,#102344)}
.pd-upsell-card img{width:100%;height:180px;object-fit:contain;background:#f4f7fb;display:block;padding:12px;box-sizing:border-box}
.pd-upsell-card-body{padding:16px;display:flex;flex-direction:column;flex:1;gap:10px;min-width:0}
.pd-upsell-card h3{font-size:1rem!important;line-height:1.4!important;overflow-wrap:anywhere;margin:0!important;font-weight:650}
.pd-upsell-prices{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0;font-size:1.15rem}
.pd-upsell-prices del{font-size:.85rem;color:#546176}
.pd-upsell-rating{font-size:.85rem;margin:0}
.pd-upsell-rating span{color:#a96600}
.pd-upsell-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:4px}
.pd-upsell-actions .btn{flex:1 1 auto;display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 12px;font-size:.9rem!important;border-radius:8px;white-space:normal;text-align:center;line-height:1.25}
.pd-upsell-actions .btn.primary{background:var(--pd-button,#065bff);color:var(--pd-on-button,#fff);border:1px solid var(--pd-button,#065bff)}
.pd-upsell-actions .btn.ghost{background:#fff;color:var(--pd-ink,#102344);border:1px solid #aebacf}
.pd-upsell-actions button:disabled{opacity:.65;cursor:wait}
.pd-upsell-card-note{margin:0;font-size:.83rem;line-height:1.4}
.pd-upsell-card-note:empty{display:none}
.pd-upsell-quick{width:min(1120px,calc(100% - 32px));height:min(900px,calc(100dvh - 32px));overflow:hidden}
.pd-upsell-quick[open]{display:flex;flex-direction:column}
.pd-upsell-quick-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #e1e7ef;flex-shrink:0}
.pd-upsell-quick-head h2{margin:0 0 4px;font-size:1.05rem}
.pd-upsell-quick-head a{color:var(--pd-button,#065bff);font-size:.85rem;text-decoration:underline}
#pd-upsell-frame{border:0;width:100%;flex:1;min-height:0;background:white}
#pd-upsell-loading{padding:8px 20px;margin:0}
.pd-upsell-status:empty{display:none}
.pd-upsell-status:not(:empty){position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:1300;margin:0;padding:12px 18px;background:var(--pd-ink,#102344);color:var(--pd-on-ink,#fff);border-radius:10px;box-shadow:0 4px 20px #10234430;max-width:calc(100% - 28px)}
body.pd-quickview{background:white!important;margin:0!important;padding:0!important;min-width:0}
.pd-quickview .pd-sale{width:100%;max-width:100%;padding:20px!important;margin:0!important}
.pd-quickview .pd-breadcrumb,.pd-quickview #buyNow,.pd-quickview #stickyBuy{display:none!important}
.pd-quickview .pd-product-layout{padding-top:0!important;gap:24px}
.pd-quickview .pd-product-buy h1{font-size:clamp(1.3rem,2.8vw,2rem)!important;line-height:1.2}
.pd-quickview .pd-gallery{position:static!important}
@media(max-width:600px){
  .pd-upsell-quick{width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:12px}
  .pd-upsell-quick-head{padding:10px 12px;gap:8px}
  .pd-upsell-grid{grid-template-columns:1fr}
  .pd-upsell-section .pd-upsell-card{display:grid;grid-template-columns:100px minmax(0,1fr)}
  .pd-upsell-section .pd-upsell-card img{height:130px;align-self:start;padding:8px}
  .pd-upsell-section .pd-upsell-card-body{padding:12px;gap:8px}
  .pd-quickview .pd-sale{padding:14px!important}
}
