/* Watchlist page-owned presentation. */

.nb-watchlist-page{max-width:1180px;margin:0 auto;padding:26px 28px 56px}.nb-watchlist-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.nb-watchlist-header h1{margin:0}.nb-watchlist-total{color:#86868b;padding-bottom:4px;white-space:nowrap}.nb-watchlist-section{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:20px;margin-bottom:18px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.02)}.nb-watchlist-section-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px 12px}.nb-watchlist-section-head h2{margin:0}.nb-watchlist-count{min-width:25px;height:25px;border-radius:999px;background:#f2f2f7;color:#6e6e73;display:inline-flex;align-items:center;justify-content:center}.nb-watchlist-list{border-top:1px solid rgba(0,0,0,.045)}.nb-watchlist-item{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto auto 18px;gap:14px;align-items:center;padding:14px 18px;background:#fff;cursor:pointer;transition:background .15s ease;border-bottom:1px solid rgba(0,0,0,.045)}.nb-watchlist-item:last-child{border-bottom:0}.nb-watchlist-item:hover{background:#fafafa}.nb-watchlist-thumb{grid-column:1;width:50px;height:36px;border-radius:10px;background:#f5f5f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.nb-watchlist-thumb img{display:block;max-width:92%;max-height:92%;object-fit:contain}.nb-watchlist-thumb.is-logo img{max-width:78%;max-height:68%}.nb-watchlist-thumb.is-fallback b{color:#6e6e73}.nb-watchlist-copy{grid-column:2;display:flex;flex-direction:column;min-width:0}.nb-watchlist-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb-watchlist-copy small{margin-top:4px;color:#86868b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb-watchlist-value{grid-column:3;color:#1d1d1f;white-space:nowrap}.nb-watchlist-status{grid-column:4;padding:5px 9px;border-radius:999px;white-space:nowrap;background:#f2f2f7;color:#6e6e73}.nb-watchlist-status.tone-active{background:#eef5ff;color:#2767c7}.nb-watchlist-status.tone-pending{background:#fff6e5;color:#9a6400}.nb-watchlist-status.tone-success{background:#edf8f0;color:#277943}.nb-watchlist-status.tone-danger{background:#fff0f0;color:#b33939}.nb-watchlist-chevron{grid-column:6;font-size:22px;line-height:1;color:#b0b0b5}.nb-watchlist-section-empty{border-top:1px solid rgba(0,0,0,.045);padding:20px;color:#9a9aa0;}.nb-watchlist-history{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:18px;overflow:hidden}.nb-watchlist-history-head{width:100%;border:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:17px 20px;cursor:pointer;color:#1d1d1f;}.nb-watchlist-history-head>span:first-child{display:flex;align-items:center;gap:10px}.nb-watchlist-history-head strong{}.nb-watchlist-history-head small{color:#86868b;background:#f2f2f7;border-radius:999px;padding:3px 8px}.nb-watchlist-history-chevron{font-size:22px;color:#b0b0b5;transform:rotate(0deg);transition:transform .16s ease}.nb-watchlist-history.is-open .nb-watchlist-history-chevron{transform:rotate(90deg)}.nb-watchlist-history-body{border-top:1px solid rgba(0,0,0,.045)}.nb-watchlist-empty{text-align:center;padding:72px 20px;background:#fff;border:1px solid rgba(0,0,0,.055);border-radius:22px}.nb-watchlist-empty-icon{width:54px;height:54px;border-radius:50%;margin:0 auto 14px;background:#f5f5f7;display:flex;align-items:center;justify-content:center;font-size:25px;color:#86868b}.nb-watchlist-empty h2{margin:0;}.nb-watchlist-empty p{margin:8px auto 20px;color:#86868b;max-width:460px}.wishlist-page.nb-watchlist-page .offer-grid,.wishlist-page.nb-watchlist-page .wishlist-unavailable,.wishlist-page.nb-watchlist-page .mock-page-top{display:none!important}@media(max-width:780px){.nb-watchlist-page{padding:20px 16px 40px}.nb-watchlist-header{align-items:flex-start;flex-direction:column;gap:8px}.nb-watchlist-header h1{}.nb-watchlist-item{grid-template-columns:48px minmax(0,1fr) auto auto 16px;gap:10px}.nb-watchlist-thumb{grid-column:1}.nb-watchlist-copy{grid-column:2}.nb-watchlist-value{display:none}.nb-watchlist-status{grid-column:3;padding:4px 7px}.nb-watchlist-chevron{grid-column:5}.nb-watchlist-thumb{width:44px;height:32px}}
.wishlist-page.nb-watchlist-page{padding-top:0!important}
.nb-watchlist-item.is-saved{grid-template-columns:56px minmax(0,1fr) auto 18px}.nb-watchlist-item.is-saved .nb-watchlist-chevron{grid-column:4}@media(max-width:780px){.nb-watchlist-item.is-saved{grid-template-columns:48px minmax(0,1fr) 16px}.nb-watchlist-item.is-saved .nb-watchlist-chevron{grid-column:3}}

/* V1 polish: section headings carry grouping; row lists keep the quiet container. */
.wishlist-page.nb-watchlist-page .nb-watchlist-section{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  margin-bottom:32px;
}
.wishlist-page.nb-watchlist-page .nb-watchlist-section-head{padding:0 2px 11px}
.wishlist-page.nb-watchlist-page .nb-watchlist-list{
  background:#fff;
  border:1px solid rgba(0,0,0,.055);
  border-radius:16px;
  overflow:hidden;
  border-top-width:1px;
}
.wishlist-page.nb-watchlist-page .nb-watchlist-item{padding:15px 16px}
.wishlist-page.nb-watchlist-page .nb-watchlist-section-empty{
  border:0;
  border-radius:14px;
  background:rgba(0,0,0,.025);
  padding:18px 16px;
}
.wishlist-page.nb-watchlist-page .nb-watchlist-history{
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.wishlist-page.nb-watchlist-page .nb-watchlist-history-head{
  background:transparent;
  padding:15px 2px;
  border-top:1px solid rgba(0,0,0,.065);
}
.wishlist-page.nb-watchlist-page .nb-watchlist-history-body{
  margin-top:2px;
  border:1px solid rgba(0,0,0,.055);
  border-radius:16px;
  overflow:hidden;
}
.wishlist-page.nb-watchlist-page .nb-watchlist-history-body .nb-watchlist-item:last-child{border-bottom:0}

@media(max-width:780px){
  .wishlist-page.nb-watchlist-page .nb-watchlist-section{margin-bottom:26px}
  .wishlist-page.nb-watchlist-page .nb-watchlist-section-head{padding-bottom:9px}
  .wishlist-page.nb-watchlist-page .nb-watchlist-list,
  .wishlist-page.nb-watchlist-page .nb-watchlist-history-body{border-radius:14px}
  .wishlist-page.nb-watchlist-page .nb-watchlist-item{padding:14px 14px}
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-item{
    grid-template-columns:48px minmax(0,1fr) auto 16px;
    grid-template-rows:auto auto;
    column-gap:10px;
    row-gap:3px;
    align-items:center;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-thumb{
    grid-column:1;
    grid-row:1 / span 2;
    align-self:center;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-copy{
    grid-column:2;
    grid-row:1;
    align-self:end;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-copy small{display:none}
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-value{
    display:block;
    grid-column:2;
    grid-row:2;
    align-self:start;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-status{
    grid-column:3;
    grid-row:1 / span 2;
    align-self:center;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-deal-complete{
    grid-column:3;
    grid-row:2;
    align-self:start;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-item:has(.nb-watchlist-deal-complete) .nb-watchlist-status{
    grid-row:1;
    align-self:end;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.in-progress .nb-watchlist-chevron{
    grid-column:4;
    grid-row:1 / span 2;
    align-self:center;
  }

  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-item{
    grid-template-columns:48px minmax(0,1fr) 16px;
    grid-template-rows:auto auto;
    column-gap:10px;
    row-gap:3px;
    align-items:center;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-thumb{
    grid-column:1;
    grid-row:1 / span 2;
    align-self:center;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-copy{
    grid-column:2;
    grid-row:1;
    align-self:end;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-copy small{display:none}
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-value{
    display:block;
    grid-column:2;
    grid-row:2;
    align-self:start;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-status{display:none}
  .wishlist-page.nb-watchlist-page .nb-watchlist-section.saved .nb-watchlist-chevron{
    grid-column:3;
    grid-row:1 / span 2;
    align-self:center;
  }
}


/* Deal completion is a Watchlist page action, not a post-render patch. */
.nb-watchlist-deal-complete{grid-column:5;appearance:none;border:0;border-radius:999px;background:#f2f2f7;color:#1d1d1f;padding:7px 11px;cursor:pointer;white-space:nowrap;justify-self:end}.nb-watchlist-deal-complete:hover{background:#e8e8ed}.nb-watchlist-deal-complete:focus-visible{outline:2px solid #0071e3;outline-offset:2px}@media(max-width:780px){.nb-watchlist-deal-complete{grid-column:4;justify-self:end;padding:6px 10px}}
