/* ============================================================================
   eBay CLASSIC — hard override of modern “clean app” design
   Loaded as classic.css. Forces 2000–2012 utilitarian look:
   Arial only, square corners, no shadows, dense layout, table-ish UI.
   ============================================================================ */

html[data-theme="classic"]{
  color-scheme:light;
  --bg:#fff;
  --bg-soft:#f0f0f0;
  --bg-muted:#e8e8e8;
  --text:#000;
  --text-soft:#555;
  --line:#999;
  --blue:#00c;
  --blue-link:#00c;
  --blue-dark:#009;
  --blue-soft:#eef;
  --red:#c00;
  --red-ebay:#e53238;
  --green:#060;
  --green-bin:#390;
  --yellow:#fc0;
  --yellow-btn:#fc0;
  --accent:#00c;
  --accent-dark:#009;
  --accent-soft:#eef;
  --display:Arial,Helvetica,sans-serif;
  --font:Arial,Helvetica,sans-serif;
  --radius:0;
  --radius-sm:0;
  --shadow:none;
  --shadow-lg:none;
  --tap:28px;
  --nav-h:auto;
  --mob-nav-h:48px;
  /* --topbar-h measured by JS from #site-header */
}

/* ---- nuke modern polish globally under classic ---- */
html[data-theme="classic"],
html[data-theme="classic"] body,
html[data-theme="classic"] button,
html[data-theme="classic"] input,
html[data-theme="classic"] select,
html[data-theme="classic"] textarea,
html[data-theme="classic"] a,
html[data-theme="classic"] h1,
html[data-theme="classic"] h2,
html[data-theme="classic"] h3,
html[data-theme="classic"] h4,
html[data-theme="classic"] p,
html[data-theme="classic"] span,
html[data-theme="classic"] li,
html[data-theme="classic"] td,
html[data-theme="classic"] th,
html[data-theme="classic"] label,
html[data-theme="classic"] summary{
  font-family:Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}
html[data-theme="classic"] *{
  border-radius:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:none!important;
  animation:none!important;
  transform:none!important;
}
html[data-theme="classic"] body{
  background:#fff!important;
  color:#000!important;
  font-size:12px!important;
  line-height:1.35!important;
  padding-top:0!important;
  padding-bottom:0!important;
  min-height:0!important;
}
/* Content links only — do NOT paint chrome/CTAs (that caused dark text on blue) */
html[data-theme="classic"] a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-cherry):not(.btn-sm):not(.buy-now-btn):not(.bin-btn):not(.bid-btn):not(.dash-head-cta):not(.dash-quick-card):not(.dash-quick-card--primary):not(.ebay-tab):not(.ebay-tab--buy):not(.ebay-tab--sub):not(.ebay-sell-cta):not(.chip):not(.chip-active):not(.theme-opt):not(.theme-opt-active):not(.theme-opt-mini):not(.nav-sell):not(.nav-sell-btn):not(.nav-sell-mob):not(.nav-join):not(.nav-join-mob):not(.browse-view-btn):not(.browse-view-link):not(.browse-quick-link):not(.browse-go):not(.account-sell-cta):not(.badge-link):not(.mob-link):not(.mob-sell):not(.ticker-item):not(.market-action):not(.cat-tile):not(.listing-card):not(.home-card):not(.card){
  color:#00c!important;
  text-decoration:underline;
}
html[data-theme="classic"] a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-cherry):not(.btn-sm):not(.buy-now-btn):not(.bin-btn):not(.bid-btn):not(.dash-head-cta):not(.dash-quick-card):not(.dash-quick-card--primary):not(.ebay-tab):not(.ebay-tab--buy):not(.ebay-tab--sub):not(.ebay-sell-cta):not(.chip):not(.chip-active):not(.theme-opt):not(.theme-opt-active):not(.theme-opt-mini):not(.nav-sell):not(.nav-sell-btn):not(.nav-sell-mob):not(.nav-join):not(.nav-join-mob):not(.browse-view-btn):not(.browse-view-link):not(.browse-quick-link):not(.browse-go):not(.account-sell-cta):not(.badge-link):not(.mob-link):not(.mob-sell):not(.ticker-item):not(.market-action):not(.cat-tile):not(.listing-card):not(.home-card):not(.card):hover{
  color:#c00!important;
}
html[data-theme="classic"] a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.btn-cherry):not(.btn-sm):not(.buy-now-btn):not(.bin-btn):not(.bid-btn):not(.dash-head-cta):not(.dash-quick-card):not(.dash-quick-card--primary):not(.ebay-tab):not(.ebay-tab--buy):not(.ebay-tab--sub):not(.ebay-sell-cta):not(.chip):not(.chip-active):not(.theme-opt):not(.theme-opt-active):not(.theme-opt-mini):not(.nav-sell):not(.nav-sell-btn):not(.nav-sell-mob):not(.nav-join):not(.nav-join-mob):not(.browse-view-btn):not(.browse-view-link):not(.browse-quick-link):not(.browse-go):not(.account-sell-cta):not(.badge-link):not(.mob-link):not(.mob-sell):not(.ticker-item):not(.market-action):not(.cat-tile):not(.listing-card):not(.home-card):not(.card):visited{
  color:#551a8b!important;
}
html[data-theme="classic"] img{border:0;max-width:100%}
html[data-theme="classic"] .wrap,
html[data-theme="classic"] .container{
  max-width:980px!important;
  margin:0 auto!important;
  padding-left:6px!important;
  padding-right:6px!important;
}

/* Hide modern app chrome */
html[data-theme="classic"] .chat-fab,
html[data-theme="classic"] .chat-mini,
html[data-theme="classic"] .scroll-top,
html[data-theme="classic"] .pwa-install,
html[data-theme="classic"] .notify-banner,
html[data-theme="classic"] .page-banner,
html[data-theme="classic"] .home-hero-banner,
html[data-theme="classic"] .home-strip,
html[data-theme="classic"] .home-tools,
html[data-theme="classic"] .home-why,
html[data-theme="classic"] .home-sell-cta,
html[data-theme="classic"] .home-cats,
html[data-theme="classic"] .home-featured,
html[data-theme="classic"] .home-ending,
html[data-theme="classic"] .home-auctions,
html[data-theme="classic"] .topbar--modern{display:none!important}

/* ========== UTILITY BAR ========== */
html[data-theme="classic"] .site-header{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  width:100%!important;z-index:250!important;
  background:#fff!important;
  border:0!important;
  box-shadow:0 1px 0 #999!important;
}
html[data-theme="classic"] .ebay-util{
  display:block!important;
  background:#eee!important;
  border-bottom:1px solid #999!important;
  font-size:11px!important;
  color:#000!important;
}
html[data-theme="classic"] .ebay-util-inner{
  max-width:980px;
  margin:0 auto;
  padding:2px 6px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:2px 8px;
}
html[data-theme="classic"] .ebay-util a{
  color:#00c!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:normal!important;
}
html[data-theme="classic"] .ebay-util a:hover{text-decoration:underline!important;color:#c00!important}
html[data-theme="classic"] .ebay-util-left,
html[data-theme="classic"] .ebay-util-right{display:flex;flex-wrap:wrap;align-items:center}
html[data-theme="classic"] .ebay-sep{color:#666;margin:0 4px;user-select:none}
html[data-theme="classic"] .ebay-hi{margin-right:3px}
html[data-theme="classic"] .ebay-or{margin:0 3px;color:#333}
html[data-theme="classic"] .theme-opt-mini{
  font-size:10px!important;
  padding:0 4px!important;
  border:1px solid #999!important;
  background:#ddd!important;
  color:#000!important;
  margin-left:2px;
  cursor:pointer;
  text-decoration:none!important;
}
html[data-theme="classic"] .theme-opt-mini.theme-opt-active{
  background:#00c!important;color:#fff!important;border-color:#009!important
}

/* stripe */
html[data-theme="classic"] .ebay-stripe{
  display:block;
  height:3px;
  background:linear-gradient(90deg,#e53238 0 25%,#0064d2 25% 50%,#f5af02 50% 75%,#86b817 75% 100%);
}

/* ========== LOGO + SEARCH ========== */
html[data-theme="classic"] .ebay-logo-row{display:block!important;background:#fff;border-bottom:1px solid #ccc}
html[data-theme="classic"] .ebay-logo-row-inner{
  max-width:980px;margin:0 auto;padding:8px 6px;
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
}
html[data-theme="classic"] .ebay-logo-row .brand{text-decoration:none!important;line-height:0}
html[data-theme="classic"] .brand-logo{height:36px!important;max-width:200px}
html[data-theme="classic"] .cf-auction-badge{
  display:inline-block;margin-left:4px;padding:1px 4px;
  background:#c00;color:#fff!important;font-size:10px;font-weight:bold;vertical-align:middle
}
html[data-theme="classic"] .cf-brand-lockup{display:inline-flex;align-items:center;gap:4px}
html[data-theme="classic"] .ebay-search-wrap{flex:1 1 240px;min-width:0;position:relative}
html[data-theme="classic"] .ebay-search{
  display:flex!important;align-items:stretch!important;width:100%;
  height:28px!important;min-height:28px!important;padding:0!important;
  border:2px solid #00c!important;background:#fff!important;gap:0!important
}
html[data-theme="classic"] .ebay-search svg{display:none!important}
html[data-theme="classic"] .ebay-search input,
html[data-theme="classic"] .ebay-search #gh-ac{
  flex:1!important;min-width:0!important;height:24px!important;
  border:0!important;padding:0 4px!important;font-size:13px!important;
  color:#000!important;background:#fff!important;outline:0!important;line-height:24px!important
}
html[data-theme="classic"] .ebay-cat-select{
  display:block!important;flex:0 0 auto;max-width:140px;height:24px!important;
  border:0!important;border-left:1px solid #999!important;
  background:#eee!important;color:#000!important;font-size:11px!important;padding:0 2px!important
}
html[data-theme="classic"] .ebay-search-btn{
  display:inline-block!important;flex:0 0 auto;height:24px!important;
  padding:0 12px!important;border:0!important;border-left:1px solid #c90!important;
  background:#fc0!important;color:#000!important;font-weight:bold!important;
  font-size:12px!important;cursor:pointer;white-space:nowrap
}
html[data-theme="classic"] .ebay-search-btn:hover{background:#fd6!important;text-decoration:none!important;color:#000!important}
html[data-theme="classic"] .ebay-logo-actions{display:flex;align-items:center;gap:6px}
html[data-theme="classic"] .ebay-sell-cta{
  display:inline-block;padding:3px 8px;background:#390;border:1px solid #060;
  color:#fff!important;font-weight:bold;font-size:11px;text-decoration:none!important
}
html[data-theme="classic"] .ebay-sell-cta:hover{background:#4a0;color:#fff!important;text-decoration:none!important}
html[data-theme="classic"] .ebay-bell,
html[data-theme="classic"] .bell-link{
  width:26px;height:26px;border:1px solid #999;background:#eee;color:#00c;
  display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important
}
html[data-theme="classic"] .menu-toggle{width:28px;height:28px;border:1px solid #999;background:#eee;padding:4px;cursor:pointer}
html[data-theme="classic"] .menu-toggle span{display:block;height:2px;background:#00c;margin:3px 0}

/* ========== TABS ========== */
html[data-theme="classic"] .ebay-tabs{
  display:block!important;background:#fff;border-bottom:2px solid #00c
}
html[data-theme="classic"] .ebay-tabs-inner{
  max-width:980px;margin:0 auto;padding:0 4px;display:flex;flex-wrap:wrap;align-items:flex-end
}
html[data-theme="classic"] .ebay-tab{
  display:inline-block;padding:5px 10px 4px;margin:0 1px 0 0;
  font-size:12px;font-weight:bold;color:#00c!important;text-decoration:none!important;
  border:1px solid #99c;border-bottom:0;background:#eef
}
html[data-theme="classic"] .ebay-tab:hover{background:#ddf;text-decoration:none!important;color:#00c!important}
html[data-theme="classic"] .ebay-tab--buy{
  background:#00c!important;color:#fff!important;border-color:#00c
}
html[data-theme="classic"] .ebay-tab--buy:hover{background:#009!important;color:#fff!important}
html[data-theme="classic"] .ebay-tab--sub{font-weight:normal;font-size:11px;background:#fff;border-color:#ccc;color:#00c!important}
html[data-theme="classic"] .ebay-tabs-spacer{flex:1 1 auto;min-width:4px}
html[data-theme="classic"] .nav-count-badge,
html[data-theme="classic"] .bell-badge{
  background:#c00!important;color:#fff!important;font-size:9px!important;
  min-width:12px;height:12px;line-height:12px;padding:0 2px;font-weight:bold
}

/* mobile util */
@media(max-width:767px){
  html[data-theme="classic"] .ebay-util-right > a,
  html[data-theme="classic"] .ebay-util-right .ebay-sep{display:none}
  html[data-theme="classic"] .ebay-tab--sub{display:none}
  html[data-theme="classic"] .ebay-tabs-inner{overflow-x:auto}
  /* expose drawer host without modern topbar chrome */
  html[data-theme="classic"] .topbar--modern{
    display:block!important;position:static!important;height:0!important;
    overflow:visible!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important
  }
  html[data-theme="classic"] .topbar--modern .topbar-inner{display:block!important;height:0!important;padding:0!important;margin:0!important}
  html[data-theme="classic"] .topbar--modern .brand,
  html[data-theme="classic"] .topbar--modern .search-wrap,
  html[data-theme="classic"] .topbar--modern .nav-panel--desk,
  html[data-theme="classic"] .topbar--modern .bell-link,
  html[data-theme="classic"] .topbar--modern .menu-toggle{display:none!important}
  html[data-theme="classic"] .topbar--modern .topbar-end{display:block!important;height:0!important}
  html[data-theme="classic"] .ebay-logo-actions .menu-toggle{display:inline-flex!important}
}
@media(min-width:900px){
  html[data-theme="classic"] .menu-toggle{display:none!important}
  html[data-theme="classic"] .topbar--modern{display:none!important}
}

/* ticker — plain yellow bar */
html[data-theme="classic"] .ticker-bar{
  height:auto!important;max-height:none!important;min-height:22px;
  background:#ffc!important;color:#000!important;border-bottom:1px solid #cc9!important
}
html[data-theme="classic"] .ticker-lead{
  background:#fc9!important;color:#000!important;font-size:10px!important;
  font-weight:bold;padding:2px 6px!important;text-transform:uppercase
}
html[data-theme="classic"] .ticker-bar a.ticker-item{color:#00c!important;font-size:11px!important;text-decoration:none!important}
html[data-theme="classic"] .ticker-time{color:#c00!important;font-weight:bold}
html[data-theme="classic"] .ticker-thumb{width:16px;height:16px;border:1px solid #999}

/* ========== BUTTONS — old HTML bevel ========== */
html[data-theme="classic"] .btn,
html[data-theme="classic"] .btn-primary,
html[data-theme="classic"] .btn-secondary,
html[data-theme="classic"] .btn-outline,
html[data-theme="classic"] .btn-cherry,
html[data-theme="classic"] .btn-sm,
html[data-theme="classic"] .buy-box .bid-btn,
html[data-theme="classic"] .bid-btn,
html[data-theme="classic"] button.btn{
  display:inline-block!important;
  min-height:0!important;
  height:auto!important;
  padding:3px 10px!important;
  font-size:12px!important;
  font-weight:bold!important;
  line-height:1.3!important;
  background:#ddd!important;
  color:#000!important;
  border:2px outset #fff!important;
  cursor:pointer;
  text-decoration:none!important;
  vertical-align:middle;
}
html[data-theme="classic"] .btn:hover,
html[data-theme="classic"] .btn-outline:hover{
  background:#eee!important;color:#000!important;text-decoration:none!important
}
html[data-theme="classic"] .btn-primary,
html[data-theme="classic"] .btn:not(.btn-outline):not(.btn-secondary){
  background:#36c!important;color:#fff!important;border-color:#69f #036 #036 #69f!important
}
html[data-theme="classic"] .btn-primary:hover{background:#47d!important;color:#fff!important}
html[data-theme="classic"] .buy-now-btn,
html[data-theme="classic"] .bin-btn{
  background:#390!important;color:#fff!important;
  border:2px outset #6c3!important;font-weight:bold!important
}
html[data-theme="classic"] .btn-cherry,
html[data-theme="classic"] .bid-btn{
  background:#c00!important;color:#fff!important;border:2px outset #f66!important
}
html[data-theme="classic"] .btn-outline,
html[data-theme="classic"] .btn-secondary{
  background:#eee!important;color:#000!important;border:2px outset #fff!important
}

/* chips / pills — not pills */
html[data-theme="classic"] .chip:not(.chip-active),
html[data-theme="classic"] .tag,
html[data-theme="classic"] .live-pill,
html[data-theme="classic"] .feat-pill,
html[data-theme="classic"] .end-pill,
html[data-theme="classic"] .hot-badge,
html[data-theme="classic"] .social-proof,
html[data-theme="classic"] .order-status,
html[data-theme="classic"] .theme-opt:not(.theme-opt-active),
html[data-theme="classic"] .theme-toggle{
  border-radius:0!important;
  min-height:0!important;
  padding:2px 6px!important;
  font-size:11px!important;
  font-weight:bold!important;
  background:#eee!important;
  border:1px solid #999!important;
  color:#00c!important;
}
html[data-theme="classic"] .chip-active,
html[data-theme="classic"] a.chip-active,
html[data-theme="classic"] .theme-opt-active,
html[data-theme="classic"] button.theme-opt-active{
  background:#00c!important;
  border-color:#009!important;
  color:#fff!important;
}

/* ========== HOME: left cats + main (table-ish) ========== */
html[data-theme="classic"] .home-page--ebay{background:#fff;padding:6px 0 16px}
html[data-theme="classic"] .ebay-home-layout.wrap,
html[data-theme="classic"] .ebay-home-layout{
  max-width:980px!important;margin:0 auto;padding:0 6px!important;
  display:grid;grid-template-columns:1fr;gap:8px;align-items:start
}
@media(min-width:800px){
  html[data-theme="classic"] .ebay-home-layout.wrap,
  html[data-theme="classic"] .ebay-home-layout{
    grid-template-columns:170px minmax(0,1fr);gap:8px
  }
}
html[data-theme="classic"] .ebay-box{
  border:1px solid #999!important;background:#fff!important;margin-bottom:8px
}
html[data-theme="classic"] .ebay-box--muted{background:#f7f7f7!important}
html[data-theme="classic"] .ebay-box-head{
  margin:0!important;padding:3px 6px!important;
  font-size:11px!important;font-weight:bold!important;
  color:#fff!important;background:#36c!important;border-bottom:1px solid #039
}
html[data-theme="classic"] .ebay-cat-list,
html[data-theme="classic"] .ebay-side-links{list-style:none;margin:0;padding:2px 0}
html[data-theme="classic"] .ebay-cat-list li,
html[data-theme="classic"] .ebay-side-links li{margin:0;padding:0;border-bottom:1px dotted #ccc}
html[data-theme="classic"] .ebay-cat-list a,
html[data-theme="classic"] .ebay-side-links a{
  display:block;padding:2px 6px;font-size:11px;color:#00c!important;text-decoration:none!important
}
html[data-theme="classic"] .ebay-cat-list a:hover,
html[data-theme="classic"] .ebay-side-links a:hover{
  background:#ffc;text-decoration:underline!important
}
html[data-theme="classic"] .ebay-cat-n{color:#666;font-size:10px}
html[data-theme="classic"] .ebay-welcome{border:1px solid #999;background:#f5f5ff;margin-bottom:8px}
/* welcome layout handled by v83 grid below */
html[data-theme="classic"] .ebay-welcome h1{
  margin:0 0 4px!important;font-size:16px!important;font-weight:bold!important;color:#000!important
}
html[data-theme="classic"] .ebay-brand-text{color:#000!important;font-weight:bold}
html[data-theme="classic"] .ebay-welcome-title{color:#000}
html[data-theme="classic"] .ebay-welcome-prefix{color:#000;font-family:Verdana,Arial,sans-serif;font-size:16px!important;font-weight:bold}
html[data-theme="classic"] .ebay-welcome-logo{height:36px!important;max-width:240px!important}
html[data-theme="classic"] .ebay-welcome-lead{
  margin:0 0 6px!important;font-size:12px!important;color:#333!important;max-width:none
}
html[data-theme="classic"] .ebay-stats-line{
  margin:0 0 8px!important;font-size:11px;color:#333;
  padding:3px 6px;background:#fff;border:1px solid #999;display:inline-block
}
html[data-theme="classic"] .ebay-welcome-cta{
  display:block;margin:0!important
}
html[data-theme="classic"] .ebay-welcome-cta .btn{margin-right:4px;margin-bottom:4px}
html[data-theme="classic"] .ebay-text-link{font-size:11px;font-weight:bold;margin-left:4px}
html[data-theme="classic"] .ebay-promo-card{
  border:1px solid #999;background:#fff;padding:6px 8px;margin-bottom:6px
}
html[data-theme="classic"] .ebay-promo-card strong{
  display:block;color:#00c;font-size:12px;margin-bottom:2px
}
html[data-theme="classic"] .ebay-promo-card p{margin:0 0 4px;font-size:11px;color:#333}
html[data-theme="classic"] .ebay-promo-card--green{background:#efe;border-color:#9c9}
html[data-theme="classic"] .ebay-promo-card--green strong{color:#060}
html[data-theme="classic"] .ebay-cf-bridge{
  margin:0 0 8px;font-size:11px;padding:3px 6px;background:#eef;border:1px solid #99c
}
html[data-theme="classic"] .ebay-quicklinks{margin-bottom:8px}
/* quick grid handled by v83 */
html[data-theme="classic"] .ebay-quick-grid a:hover{background:#ffc;text-decoration:none!important}
html[data-theme="classic"] .ebay-quick-grid span{display:block;font-weight:bold;color:#00c!important;font-size:11px}
html[data-theme="classic"] .ebay-quick-grid small{display:block;font-size:10px;color:#666;margin-top:1px}
@media(max-width:600px){
  html[data-theme="classic"] .ebay-quick-grid{display:grid;grid-template-columns:1fr 1fr}
  html[data-theme="classic"] .ebay-quick-grid a{display:block;width:auto}
}

/* section heads — solid blue bar, not soft card */
html[data-theme="classic"] .ebay-section{margin:10px 0}
html[data-theme="classic"] .ebay-section-head{
  display:block;margin:0;padding:3px 6px;
  background:#36c;border:1px solid #039;color:#fff
}
html[data-theme="classic"] .ebay-section-head h2{
  display:inline!important;margin:0!important;padding:0!important;
  font-size:12px!important;font-weight:bold!important;color:#fff!important;
  background:none!important;border:0!important
}
html[data-theme="classic"] .ebay-section-head a{
  float:right;font-size:11px;font-weight:bold;color:#ffc!important;text-decoration:underline!important
}
html[data-theme="classic"] .ebay-section-head::after{content:"";display:table;clear:both}
html[data-theme="classic"] .ebay-pill{
  display:inline;margin-left:4px;padding:0 4px;font-size:10px;
  background:#c00;color:#fff!important;font-weight:bold;border:1px solid #900
}
html[data-theme="classic"] .ebay-pill--red{background:#c00}

/* ========== LISTINGS — gallery cells like old eBay ========== */
html[data-theme="classic"] .listing-grid,
html[data-theme="classic"] .grid:not(.grid--list){
  display:table!important;
  width:100%!important;
  border-collapse:collapse!important;
  border:1px solid #999!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  gap:0!important;
  grid-template-columns:none!important
}
/* fallback for browsers: use dense grid if table layout breaks flex children */
html[data-theme="classic"] .listing-grid,
html[data-theme="classic"] .grid:not(.grid--list){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0!important;
  border:1px solid #999!important;
  padding:0!important;
  background:#fff!important
}
@media(min-width:500px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:760px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:760px){
  html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

html[data-theme="classic"] .listing-card,
html[data-theme="classic"] .home-card,
html[data-theme="classic"] .card,
html[data-theme="classic"] .tile,
html[data-theme="classic"] a.listing-card{
  display:block!important;
  height:auto!important;
  padding:4px!important;
  margin:0!important;
  border:1px solid #ccc!important;
  border-width:0 1px 1px 0!important;
  background:#fff!important;
  text-decoration:none!important;
  overflow:hidden
}
html[data-theme="classic"] .listing-card:hover,
html[data-theme="classic"] .home-card:hover,
html[data-theme="classic"] .card:hover{
  background:#ffc!important;border-color:#999!important
}
html[data-theme="classic"] .home-card-img,
html[data-theme="classic"] .card-img,
html[data-theme="classic"] .tile-img{
  aspect-ratio:1!important;width:100%!important;
  border:1px solid #999!important;background:#fff!important;
  margin:0 auto 4px;max-width:140px;overflow:hidden
}
html[data-theme="classic"] .home-card-img img,
html[data-theme="classic"] .card-img img{
  width:100%!important;height:100%!important;object-fit:contain!important
}
html[data-theme="classic"] .home-card-body,
html[data-theme="classic"] .card-body{
  display:block!important;padding:0!important;min-height:0!important;gap:0!important
}
html[data-theme="classic"] .home-card-body h3,
html[data-theme="classic"] .card-body h3,
html[data-theme="classic"] .listing-card h3{
  font-size:11px!important;color:#00c!important;font-weight:normal!important;
  line-height:1.25;margin:0 0 2px!important;text-decoration:underline
}
html[data-theme="classic"] .home-card-price,
html[data-theme="classic"] .price,
html[data-theme="classic"] .live-price{
  margin:2px 0!important;font-size:13px!important;color:#000!important;font-weight:bold!important
}
html[data-theme="classic"] .price-label{font-weight:normal;font-size:10px;color:#666;display:block}
html[data-theme="classic"] .home-card-meta,
html[data-theme="classic"] .meta{font-size:10px!important;color:#666!important}
html[data-theme="classic"] .countdown{color:#c00!important;font-weight:bold}
html[data-theme="classic"] .bin-tag{
  display:inline;padding:0;background:transparent;color:#060!important;
  font-size:10px;font-weight:bold;border:0
}
html[data-theme="classic"] .tile-badges{position:absolute;top:2px;left:2px;z-index:1}
html[data-theme="classic"] .home-card-img{position:relative}
html[data-theme="classic"] .tile-badge,
html[data-theme="classic"] .badge-bin,
html[data-theme="classic"] .badge-feat,
html[data-theme="classic"] .badge-new,
html[data-theme="classic"] .badge-end,
html[data-theme="classic"] .badge-hot{
  display:inline-block;font-size:9px;padding:0 3px;margin:0 1px 1px 0;
  background:#c00;color:#fff!important;font-weight:bold;border:1px solid #900
}

/* why / sell */
html[data-theme="classic"] .ebay-why-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #999
}
@media(min-width:700px){
  html[data-theme="classic"] .ebay-why-grid{grid-template-columns:repeat(4,1fr)}
}
html[data-theme="classic"] .ebay-why-card{
  border:1px solid #ccc;background:#fff;padding:6px
}
html[data-theme="classic"] .ebay-why-card h3{
  margin:0 0 2px!important;font-size:11px!important;color:#00c!important;font-weight:bold!important
}
html[data-theme="classic"] .ebay-why-card p{margin:0;font-size:11px;color:#333}
html[data-theme="classic"] .ebay-sell-banner{
  background:#ffc!important;border:1px solid #cc9!important;margin-top:8px
}
html[data-theme="classic"] .ebay-sell-banner-inner{
  display:block;padding:8px 10px
}
html[data-theme="classic"] .ebay-sell-banner h2{
  margin:0 0 2px!important;font-size:13px!important;color:#000!important
}
html[data-theme="classic"] .ebay-sell-banner p{margin:0 0 6px;font-size:11px;color:#333}
html[data-theme="classic"] .ebay-sell-banner-cta .btn{margin-right:4px}

/* ========== FOOTER ========== */
html[data-theme="classic"] .foot,
html[data-theme="classic"] .ebay-foot{
  background:#eee!important;border-top:2px solid #00c!important;
  color:#333!important;margin-top:12px;padding:0!important
}
html[data-theme="classic"] .ebay-foot-top{border-bottom:1px solid #999;background:#f5f5f5}
html[data-theme="classic"] .ebay-foot-cols{
  max-width:980px;margin:0 auto;padding:8px 6px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px
}
@media(min-width:700px){
  html[data-theme="classic"] .ebay-foot-cols{grid-template-columns:repeat(4,minmax(0,1fr))}
}
html[data-theme="classic"] .ebay-foot-col h4{
  margin:0 0 3px!important;font-size:11px!important;color:#000!important;font-weight:bold!important
}
html[data-theme="classic"] .ebay-foot-col a{
  display:block;font-size:11px;color:#00c!important;padding:1px 0;text-decoration:none!important
}
html[data-theme="classic"] .ebay-foot-col a:hover{text-decoration:underline!important}
html[data-theme="classic"] .ebay-foot-brand,
html[data-theme="classic"] .foot-inner{
  max-width:980px;margin:0 auto;padding:8px 6px!important;
  border-bottom:1px solid #ccc!important;display:block
}
html[data-theme="classic"] .foot a{color:#00c!important}
html[data-theme="classic"] .foot-tagline{color:#333!important;font-size:11px!important}
html[data-theme="classic"] .foot-links a{font-size:11px;margin-right:8px}
html[data-theme="classic"] .foot-bottom{
  max-width:980px;margin:0 auto;padding:6px;text-align:center
}
html[data-theme="classic"] .foot-copy{color:#666!important;font-size:10px!important}

/* ========== BROWSE / ITEM ========== */
html[data-theme="classic"] .page-head h1,
html[data-theme="classic"] .browse-top h1,
html[data-theme="classic"] .item-info h1{
  font-size:16px!important;font-weight:bold!important;color:#000!important;margin:4px 0!important
}
html[data-theme="classic"] .item-info{position:static!important;top:auto!important}
html[data-theme="classic"] .item-info > h1{font-size:14px!important;font-weight:bold!important}
html[data-theme="classic"] .breadcrumb{font-size:11px;color:#666;margin:4px 0 8px}
html[data-theme="classic"] .breadcrumb a{color:#00c!important;text-decoration:none!important}
html[data-theme="classic"] .ebay-vi-panel,
html[data-theme="classic"] .live-panel{
  background:#ffc!important;border:1px solid #cc9!important;padding:6px 8px!important;margin:6px 0!important
}
html[data-theme="classic"] .vi-price-label{color:#666!important;font-size:10px!important;text-transform:uppercase;margin:0}
html[data-theme="classic"] .ebay-vi-price,
html[data-theme="classic"] .current-price{
  font-size:20px!important;color:#000!important;font-weight:bold!important;margin:0 0 2px!important
}
html[data-theme="classic"] .buy-box,
html[data-theme="classic"] .buy-box--ebay,
html[data-theme="classic"] .panel,
html[data-theme="classic"] .seller-box,
html[data-theme="classic"] .item-facts,
html[data-theme="classic"] .fb-row,
html[data-theme="classic"] .offer-card,
html[data-theme="classic"] .fee-breakdown,
html[data-theme="classic"] .stat-card,
html[data-theme="classic"] .filter-form,
html[data-theme="classic"] .form-page input,
html[data-theme="classic"] .form-page select,
html[data-theme="classic"] .form-page textarea{
  background:#fff!important;border:1px solid #999!important;padding:6px!important
}
html[data-theme="classic"] .buy-box--ebay .buy-now-btn,
html[data-theme="classic"] .buy-box--ebay .bin-btn,
html[data-theme="classic"] .buy-box--ebay .bid-btn{width:100%!important;margin:3px 0!important;padding:6px!important;font-size:13px!important}
html[data-theme="classic"] .gallery-main{
  border:1px solid #999!important;background:#fff!important;
  max-height:min(380px,50vh)!important;aspect-ratio:1
}
html[data-theme="classic"] .gallery-main img{max-height:min(380px,50vh)!important;object-fit:contain!important}
html[data-theme="classic"] .gallery-thumbs img{
  width:48px;height:48px;border:1px solid #999!important;margin:0 2px 0 0
}
html[data-theme="classic"] .gallery-thumbs img.active{border:2px solid #c00!important}
html[data-theme="classic"] input,
html[data-theme="classic"] textarea,
html[data-theme="classic"] select{
  border:1px solid #999!important;background:#fff!important;color:#000!important;
  font-size:12px!important;padding:2px 4px!important;min-height:0!important;height:auto!important
}
html[data-theme="classic"] input:focus,
html[data-theme="classic"] textarea:focus,
html[data-theme="classic"] select:focus{
  border-color:#00c!important;outline:1px solid #00c!important
}
html[data-theme="classic"] .browse-form{
  background:#eee!important;border:1px solid #999!important;padding:4px!important;margin-bottom:6px
}
html[data-theme="classic"] .browse-cats-side.browse-cats-side--desk{
  background:#f5f5f5!important;border:1px solid #999!important;padding:0!important;
  position:static!important;height:auto!important;max-height:none!important;min-height:0!important
}
html[data-theme="classic"] .browse-cat-link{font-size:11px!important;padding:2px 4px!important;color:#00c!important}
html[data-theme="classic"] .browse-cat-link.active{background:#ffc!important;color:#c00!important;font-weight:bold!important}
html[data-theme="classic"] .cat-tile{
  border:1px solid #999!important;background:#fff!important;color:#00c!important;
  font-size:11px;padding:4px!important;text-decoration:none!important
}
html[data-theme="classic"] .cat-tile:hover{background:#ffc!important}
html[data-theme="classic"] .quick-bids button{
  padding:2px 6px!important;min-height:0!important;border:1px solid #999!important;
  background:#eee!important;font-size:11px!important
}

/* list view */
html[data-theme="classic"] .grid.grid--list{
  display:block!important;border:1px solid #999!important;padding:0!important
}
html[data-theme="classic"] .grid.grid--list .card{
  display:table!important;width:100%!important;table-layout:fixed;
  padding:4px!important;border:0!important;border-bottom:1px solid #ccc!important
}
html[data-theme="classic"] .grid.grid--list .card>.card-img{
  display:table-cell!important;width:80px!important;height:80px!important;
  vertical-align:top;border:1px solid #999!important
}
html[data-theme="classic"] .grid.grid--list .card>.card-body{
  display:table-cell!important;vertical-align:top;padding:0 0 0 8px!important
}

/* account / dash */
html[data-theme="classic"] .account-nav a{
  min-height:0!important;padding:3px 6px!important;font-size:11px!important;
  border:1px solid transparent;color:#00c!important
}
html[data-theme="classic"] .account-nav a.active{
  background:#eef!important;border:1px solid #99c!important;font-weight:bold
}
html[data-theme="classic"] .account-sidebar{background:#f5f5f5!important;border:1px solid #999!important}
html[data-theme="classic"] .dash-listings-cards{display:none!important}
html[data-theme="classic"] .dash-listings-table-wrap{display:block!important}
html[data-theme="classic"] .data-table{font-size:11px}
html[data-theme="classic"] .data-table th{
  background:#eee;font-size:10px;text-transform:none;letter-spacing:0;color:#000;padding:3px 4px
}
html[data-theme="classic"] .data-table td{padding:3px 4px;border-bottom:1px solid #ccc}
html[data-theme="classic"] .import-step{border:1px solid #999!important;background:#fff!important}
html[data-theme="classic"] .import-step-n{background:#00c!important}
html[data-theme="classic"] .import-file-zone{border:2px dashed #999!important;background:#fafafa!important}
html[data-theme="classic"] .seller-gets{color:#060!important;font-weight:bold}
html[data-theme="classic"] .fee-breakdown{font-size:11px}
html[data-theme="classic"] .fee-breakdown .row{display:flex;justify-content:space-between;padding:1px 0;border:0}

/* mobile bottom bar — plain, not app dock */
html[data-theme="classic"] .mob-nav{
  background:#eee!important;border-top:1px solid #999!important;
  padding:2px 0!important;box-shadow:none!important
}
html[data-theme="classic"] .mob-link{
  color:#00c!important;font-size:10px!important;font-weight:normal!important;
  min-width:0!important;min-height:0!important;padding:2px 4px!important
}
html[data-theme="classic"] .mob-link svg{width:14px;height:14px;opacity:1;stroke:#00c}
html[data-theme="classic"] .mob-sell{margin-top:0!important;color:#060!important}
html[data-theme="classic"] .mob-sell svg{
  background:transparent!important;padding:0!important;stroke:#060!important
}
html[data-theme="classic"] .mob-link.active{color:#c00!important;background:transparent!important}
html[data-theme="classic"] .mobile-bid-bar{
  background:#ffc!important;border-top:1px solid #cc9!important;padding:4px 6px!important
}
html[data-theme="classic"] .mbb-price{font-size:14px!important;color:#000!important}
html[data-theme="classic"] .mbb-btn{min-height:0!important;padding:4px 8px!important;max-width:none}
@media(max-width:899px){
  html[data-theme="classic"] body{padding-bottom:calc(var(--mob-nav-h,48px) + var(--safe-b,0px))!important}
}
@media(min-width:900px){
  html[data-theme="classic"] .mob-nav{display:none!important}
  html[data-theme="classic"] body{padding-bottom:0!important}
  html[data-theme="classic"] .item-grid{
    grid-template-columns:minmax(220px,320px) 1fr!important;gap:10px!important
  }
}

/* search ac */
html[data-theme="classic"] .search-ac{
  border:1px solid #00c!important;border-top:0!important;background:#fff!important;max-height:240px
}
html[data-theme="classic"] .search-ac a{font-size:11px!important;padding:3px 6px!important;border-bottom:1px solid #ddd}
html[data-theme="classic"] .search-ac a:hover{background:#ffc}

/* nav drawer when open — old school panel */
html[data-theme="classic"] .nav.open,
html[data-theme="classic"] #main-nav.open{
  background:#fff!important;border-left:1px solid #999!important
}
html[data-theme="classic"] .nav-panel--mob a{
  font-size:12px!important;padding:6px 10px!important;border-bottom:1px solid #ddd;color:#00c!important
}
html[data-theme="classic"] .nav-label{
  font-size:10px!important;font-weight:bold;color:#000;background:#eee;padding:4px 8px;margin:0
}
html[data-theme="classic"] .nav-overlay.open{background:rgba(0,0,0,.35)!important}

/* toast plain */
html[data-theme="classic"] .toast{
  background:#ffc!important;border:1px solid #cc9!important;padding:6px 8px!important;font-size:11px!important
}

/* non-classic: hide eBay chrome */
html:not([data-theme="classic"]) .ebay-util,
html:not([data-theme="classic"]) .ebay-stripe,
html:not([data-theme="classic"]) .ebay-logo-row,
html:not([data-theme="classic"]) .ebay-tabs{display:none!important}
html:not([data-theme="classic"]) .topbar--modern{display:block!important}
html:not([data-theme="classic"]) .ebay-home-cats{display:none!important}
html:not([data-theme="classic"]) .ebay-home-layout,
html:not([data-theme="classic"]) .ebay-home-layout.wrap{
  display:block!important;
  grid-template-columns:none!important;
  width:100%!important;
  max-width:min(1320px,100%)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html:not([data-theme="classic"]) .ebay-home-main{
  width:100%!important;
  max-width:100%!important;
}
html:not([data-theme="classic"]) .ebay-box-head{
  background:transparent;color:inherit;border:0;padding:0;font-size:1.1rem
}
html:not([data-theme="classic"]) .ebay-foot-top{display:none}
html:not([data-theme="classic"]) a{text-decoration:none}

/* brand modern wordmark hidden on classic */
html[data-theme="classic"] .brand-logo-modern{display:none!important}

/* skip fancy skip-link polish */
html[data-theme="classic"] .skip-link{font-size:11px}

/* kill sticky header spacing leftovers */
/* main pad handled by body padding-top: var(--topbar-h) */
/* html[data-theme="classic"] main{padding-top:0!important} */

/* forms denser */
html[data-theme="classic"] .form-page label{margin-bottom:6px!important;font-size:11px!important}
html[data-theme="classic"] .form-page input,
html[data-theme="classic"] .form-page select,
html[data-theme="classic"] .form-page textarea{margin-top:2px!important;padding:3px 4px!important;font-size:12px!important}

/* haggle modal plain */
html[data-theme="classic"] .haggle-inner{border:2px solid #00c!important;padding:8px!important}

/* share row — text links not big buttons */
html[data-theme="classic"] .share-row .btn,
html[data-theme="classic"] .share-row .btn-outline{
  background:transparent!important;border:0!important;color:#00c!important;
  padding:0 6px 0 0!important;font-size:11px!important;font-weight:normal!important;
  text-decoration:underline!important;min-height:0!important
}

@media(max-width:799px){
  html[data-theme="classic"] .ebay-home-cats .ebay-box--muted{display:none}
  html[data-theme="classic"] .ebay-cat-list li:nth-child(n+14):not(.ebay-cat-all){display:none}
}


/* === classic polish v41 — restored logo + denser responsive === */

/* Original wordmark (not multicolor letters) */
html[data-theme="classic"] .brand-logo{
  height:32px!important;
  max-width:min(190px,52vw)!important;
}
html[data-theme="classic"] .brand-logo--ebay{display:none!important}
html[data-theme="classic"] .brand-logo-modern{display:none!important}
html[data-theme="classic"] .ebay-logo-row .brand-logo{height:34px!important}

/* Don't kill transforms on everything — breaks menus */
html[data-theme="classic"] *{
  /* softer than previous full nuke: keep transform for open menus if needed */
}
html[data-theme="classic"] .nav,
html[data-theme="classic"] .nav.open{
  transform:none!important;
}

/* Wider classic shell — match density pack */
html[data-theme="classic"] .wrap,
html[data-theme="classic"] .container,
html[data-theme="classic"] .ebay-util-inner,
html[data-theme="classic"] .ebay-logo-row-inner,
html[data-theme="classic"] .ebay-tabs-inner,
html[data-theme="classic"] .ebay-home-layout,
html[data-theme="classic"] .ebay-home-layout.wrap,
html[data-theme="classic"] .ebay-foot-cols,
html[data-theme="classic"] .foot-inner,
html[data-theme="classic"] .foot-bottom{
  max-width:min(1320px,100%)!important;
}

/* Classic header denser */
html[data-theme="classic"] .ebay-util-inner{padding:1px 6px!important}
html[data-theme="classic"] .ebay-logo-row-inner{
  padding:6px!important;
  gap:6px 10px!important;
  align-items:center!important;
}
html[data-theme="classic"] .ebay-search{
  height:30px!important;
  min-height:30px!important;
}
html[data-theme="classic"] .ebay-search input,
html[data-theme="classic"] .ebay-search #gh-ac,
html[data-theme="classic"] .ebay-cat-select,
html[data-theme="classic"] .ebay-search-btn{
  height:26px!important;
  line-height:26px!important;
}
html[data-theme="classic"] .ebay-tab{padding:4px 9px 3px!important;font-size:11px!important}
html[data-theme="classic"] .ebay-sell-cta{padding:4px 8px!important;font-size:11px!important}

/* Home: denser left rail + main */
html[data-theme="classic"] .home-page--ebay{padding:4px 0 12px!important}
html[data-theme="classic"] .ebay-home-layout{
  gap:6px!important;
  padding:0 6px!important;
}
@media(min-width:800px){
  html[data-theme="classic"] .ebay-home-layout,
  html[data-theme="classic"] .ebay-home-layout.wrap{
    grid-template-columns:160px minmax(0,1fr)!important;
    gap:8px!important;
  }
}
html[data-theme="classic"] .ebay-welcome-inner{padding:6px 8px!important}
html[data-theme="classic"] .ebay-welcome h1{font-size:15px!important;margin:0 0 3px!important}
html[data-theme="classic"] .ebay-welcome-lead{font-size:11px!important;margin:0 0 5px!important}
html[data-theme="classic"] .ebay-section{margin:8px 0!important}
html[data-theme="classic"] .ebay-section-head{padding:2px 6px!important}
html[data-theme="classic"] .ebay-section-head h2{font-size:11px!important}

/* Classic listing density — more columns, less waste */
html[data-theme="classic"] .listing-grid,
html[data-theme="classic"] .grid:not(.grid--list){
  gap:0!important;
  border:1px solid #999!important;
  padding:0!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(min-width:420px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(min-width:640px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(min-width:900px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(min-width:1200px){
  html[data-theme="classic"] .listing-grid,
  html[data-theme="classic"] .grid:not(.grid--list){grid-template-columns:repeat(6,minmax(0,1fr))!important}
}
html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:520px){html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:800px){html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:1100px){html[data-theme="classic"] .listing-grid--compact{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

html[data-theme="classic"] .listing-card,
html[data-theme="classic"] .home-card,
html[data-theme="classic"] .card{
  padding:3px!important;
}
html[data-theme="classic"] .home-card-img,
html[data-theme="classic"] .card-img{
  max-width:100%!important;
  margin:0 0 3px!important;
}
html[data-theme="classic"] .home-card-body h3,
html[data-theme="classic"] .listing-card h3{
  font-size:11px!important;
  line-height:1.2!important;
}
html[data-theme="classic"] .home-card-price{font-size:12px!important}

/* Classic mobile: hide secondary chrome, keep content */
@media(max-width:799px){
  html[data-theme="classic"] .ebay-home-cats .ebay-box--muted{display:none!important}
  html[data-theme="classic"] .ebay-cat-list li:nth-child(n+10):not(.ebay-cat-all){display:none!important}
  html[data-theme="classic"] .ebay-welcome-promo{display:none!important}
  html[data-theme="classic"] .ebay-why{display:none!important}
  html[data-theme="classic"] .ebay-quick-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html[data-theme="classic"] .ebay-quick-grid a{display:block!important;width:auto!important;padding:5px 2px!important}
  html[data-theme="classic"] .ebay-util{font-size:10px!important}
  html[data-theme="classic"] .ebay-tabs-inner{gap:0}
  html[data-theme="classic"] body{padding-bottom:calc(var(--mob-nav-h,56px) + var(--safe-b,0px))!important}
}

/* Classic desktop item: tight two-col */
@media(min-width:900px){
  html[data-theme="classic"] .item-grid{
    grid-template-columns:minmax(220px,340px) minmax(0,1fr)!important;
    gap:10px!important;
  }
  html[data-theme="classic"] .item-info{position:static!important}
}

/* Footer classic denser */
html[data-theme="classic"] .ebay-foot-cols{padding:8px 6px!important;gap:6px 10px!important}
html[data-theme="classic"] .ebay-foot-col a{padding:0!important;line-height:1.35!important}
html[data-theme="classic"] .foot{margin-top:8px!important}

/* Links in classic chrome: no underline until hover (readability) */
html[data-theme="classic"] .ebay-util a,
html[data-theme="classic"] .ebay-tab,
html[data-theme="classic"] .ebay-sell-cta,
html[data-theme="classic"] .ebay-section-head a,
html[data-theme="classic"] .ebay-quick-grid a,
html[data-theme="classic"] .ebay-cat-list a{
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-util a:hover,
html[data-theme="classic"] .ebay-cat-list a:hover{
  text-decoration:underline!important;
}

/* Card titles still look like old eBay blue links */
html[data-theme="classic"] .listing-card h3,
html[data-theme="classic"] .home-card-body h3{
  text-decoration:underline!important;
  color:#00c!important;
}


/* Classic: white text on blue CTAs (override a / a:visited blue/purple) */
html[data-theme="classic"] a.btn,
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.btn-cherry,
html[data-theme="classic"] a.buy-now-btn,
html[data-theme="classic"] a.bin-btn,
html[data-theme="classic"] a.bid-btn,
html[data-theme="classic"] a.dash-head-cta,
html[data-theme="classic"] a.nav-sell,
html[data-theme="classic"] a.nav-sell-btn,
html[data-theme="classic"] a.ebay-sell-cta,
html[data-theme="classic"] a.dash-quick-card--primary,
html[data-theme="classic"] a.btn:visited,
html[data-theme="classic"] a.btn-primary:visited,
html[data-theme="classic"] a.btn-cherry:visited,
html[data-theme="classic"] a.buy-now-btn:visited,
html[data-theme="classic"] a.bin-btn:visited,
html[data-theme="classic"] a.dash-head-cta:visited,
html[data-theme="classic"] a.dash-quick-card--primary:visited,
html[data-theme="classic"] a.btn:hover,
html[data-theme="classic"] a.btn-primary:hover,
html[data-theme="classic"] a.dash-head-cta:hover,
html[data-theme="classic"] a.dash-quick-card--primary:hover {
  color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.dash-head-cta,
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary) {
  background:#36c!important;
  color:#fff!important;
}
html[data-theme="classic"] a.btn-outline,
html[data-theme="classic"] a.btn-secondary,
html[data-theme="classic"] a.btn-outline:visited,
html[data-theme="classic"] a.btn-secondary:visited {
  color:#000!important;
  background:#eee!important;
}
html[data-theme="classic"] a.dash-quick-card--primary {
  background:#36c!important;
  border:1px solid #039!important;
  color:#fff!important;
}
html[data-theme="classic"] .dash-quick-card:not(.dash-quick-card--primary),
html[data-theme="classic"] .dash-quick-card:not(.dash-quick-card--primary):visited {
  color:#000!important; text-decoration:none!important;
}
html[data-theme="classic"] a.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card--primary:visited {
  color:#fff!important;
}



/* Classic nuclear: solid blue/red fills always white text (beats a/a:visited blue/purple) */
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary),
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary):link,
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary):visited,
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary):hover,
html[data-theme="classic"] a.btn:not(.btn-outline):not(.btn-secondary):active,
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.btn-primary:link,
html[data-theme="classic"] a.btn-primary:visited,
html[data-theme="classic"] a.btn-primary:hover,
html[data-theme="classic"] a.btn-cherry,
html[data-theme="classic"] a.btn-cherry:visited,
html[data-theme="classic"] a.buy-now-btn,
html[data-theme="classic"] a.buy-now-btn:visited,
html[data-theme="classic"] a.bin-btn,
html[data-theme="classic"] a.bin-btn:visited,
html[data-theme="classic"] a.bid-btn,
html[data-theme="classic"] a.bid-btn:visited,
html[data-theme="classic"] a.dash-head-cta,
html[data-theme="classic"] a.dash-head-cta:visited,
html[data-theme="classic"] a.dash-head-cta:hover,
html[data-theme="classic"] a.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card--primary:link,
html[data-theme="classic"] a.dash-quick-card--primary:visited,
html[data-theme="classic"] a.dash-quick-card--primary:hover,
html[data-theme="classic"] a.nav-sell,
html[data-theme="classic"] a.nav-sell:visited,
html[data-theme="classic"] a.nav-sell-btn,
html[data-theme="classic"] a.nav-sell-btn:visited,
html[data-theme="classic"] a.nav-join,
html[data-theme="classic"] a.nav-join:visited,
html[data-theme="classic"] a.nav-join-mob,
html[data-theme="classic"] a.nav-join-mob:visited,
html[data-theme="classic"] a.ebay-sell-cta,
html[data-theme="classic"] a.ebay-sell-cta:visited,
html[data-theme="classic"] a.ebay-tab--buy,
html[data-theme="classic"] a.ebay-tab--buy:visited,
html[data-theme="classic"] a.ebay-tab--buy:hover,
html[data-theme="classic"] a.browse-view-btn.is-active,
html[data-theme="classic"] a.browse-view-btn.is-active:visited,
html[data-theme="classic"] a.browse-view-link.is-active,
html[data-theme="classic"] a.browse-view-link.is-active:visited,
html[data-theme="classic"] a.chip-active,
html[data-theme="classic"] a.chip-active:visited,
html[data-theme="classic"] a.chip.chip-active,
html[data-theme="classic"] button.theme-opt-active,
html[data-theme="classic"] .theme-opt-active,
html[data-theme="classic"] .theme-opt-mini.theme-opt-active,
html[data-theme="classic"] .chip-active,
html[data-theme="classic"] .browse-view-btn.is-active,
html[data-theme="classic"] .browse-view-link.is-active,
html[data-theme="classic"] .btn-primary,
html[data-theme="classic"] .btn-cherry,
html[data-theme="classic"] .buy-now-btn,
html[data-theme="classic"] .bin-btn,
html[data-theme="classic"] .bid-btn,
html[data-theme="classic"] .import-step-n,
html[data-theme="classic"] .ebay-tab--buy,
html[data-theme="classic"] .ebay-box-head,
html[data-theme="classic"] .ebay-box-head *,
html[data-theme="classic"] .ebay-section-head,
html[data-theme="classic"] .ebay-section-head h2,
html[data-theme="classic"] .dash-quick-card--primary,
html[data-theme="classic"] .dash-quick-card--primary span,
html[data-theme="classic"] .dash-quick-card--primary .dash-quick-icon,
html[data-theme="classic"] .nav-count-badge,
html[data-theme="classic"] .bell-badge {
  color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-section-head a,
html[data-theme="classic"] .ebay-section-head a:link,
html[data-theme="classic"] .ebay-section-head a:visited,
html[data-theme="classic"] .ebay-section-head a:hover {
  color:#ffc!important;
  text-decoration:underline!important;
}
/* Active filter chips on classic = blue fill + white text */
html[data-theme="classic"] .chip-active,
html[data-theme="classic"] a.chip.chip-active,
html[data-theme="classic"] .dash-filters .chip-active {
  background:#00c!important;
  border-color:#009!important;
  color:#fff!important;
}
/* Outline stays readable dark on light */
html[data-theme="classic"] a.btn-outline,
html[data-theme="classic"] a.btn-secondary,
html[data-theme="classic"] a.btn-outline:visited,
html[data-theme="classic"] a.btn-secondary:visited,
html[data-theme="classic"] a.btn-outline:hover,
html[data-theme="classic"] a.btn-secondary:hover {
  color:#000!important;
  background:#eee!important;
}
/* Browse active view toggle */
html[data-theme="classic"] .browse-view-btn.is-active,
html[data-theme="classic"] .browse-view-link.is-active {
  background:#00c!important;
  border-color:#009!important;
  color:#fff!important;
}
/* Pagination / page numbers if present */
html[data-theme="classic"] .pagination a.is-active,
html[data-theme="classic"] .pagination .current,
html[data-theme="classic"] .page-link.active,
html[data-theme="classic"] .pager .active {
  background:#00c!important;
  color:#fff!important;
}


/* === Classic: List item + New listing white-on-blue (beats a / a:visited) === */
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:link,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:visited,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:hover,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:active,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary span,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary .dash-quick-icon,
html[data-theme="classic"] a.btn.btn-primary,
html[data-theme="classic"] a.btn.btn-primary:link,
html[data-theme="classic"] a.btn.btn-primary:visited,
html[data-theme="classic"] a.btn.btn-primary:hover,
html[data-theme="classic"] a.btn.dash-head-cta,
html[data-theme="classic"] a.btn.dash-head-cta:visited,
html[data-theme="classic"] a.btn.dash-head-cta:hover {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:hover {
  background:#0654ba!important;
  border:1px solid #054a9e!important;
}
html[data-theme="classic"] a.btn.btn-primary,
html[data-theme="classic"] a.btn.dash-head-cta,
html[data-theme="classic"] a.btn.btn-primary:hover,
html[data-theme="classic"] a.btn.dash-head-cta:hover {
  background:#0654ba!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


/* ==========================================================================
   FINAL CONTRAST LOCK — white on solid blue/green/red (all chrome)
   ========================================================================== */
html[data-theme="classic"] a.btn,
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.btn-cherry,
html[data-theme="classic"] a.buy-now-btn,
html[data-theme="classic"] a.bin-btn,
html[data-theme="classic"] a.bid-btn,
html[data-theme="classic"] a.dash-head-cta,
html[data-theme="classic"] a.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary,
html[data-theme="classic"] a.nav-sell,
html[data-theme="classic"] a.nav-sell-btn,
html[data-theme="classic"] a.nav-join,
html[data-theme="classic"] a.nav-join-mob,
html[data-theme="classic"] a.ebay-sell-cta,
html[data-theme="classic"] a.ebay-tab--buy,
html[data-theme="classic"] a.browse-view-btn.is-active,
html[data-theme="classic"] a.browse-view-link.is-active,
html[data-theme="classic"] a.chip-active,
html[data-theme="classic"] a.chip.chip-active,
html[data-theme="classic"] button.btn-primary,
html[data-theme="classic"] button.btn-cherry,
html[data-theme="classic"] button.bid-btn,
html[data-theme="classic"] button.theme-opt-active,
html[data-theme="classic"] .btn-primary,
html[data-theme="classic"] .btn-cherry,
html[data-theme="classic"] .buy-now-btn,
html[data-theme="classic"] .bin-btn,
html[data-theme="classic"] .bid-btn,
html[data-theme="classic"] .dash-head-cta,
html[data-theme="classic"] .dash-quick-card--primary,
html[data-theme="classic"] .dash-quick-card.dash-quick-card--primary,
html[data-theme="classic"] .dash-quick-card--primary span,
html[data-theme="classic"] .dash-quick-card--primary .dash-quick-icon,
html[data-theme="classic"] .chip-active,
html[data-theme="classic"] .theme-opt-active,
html[data-theme="classic"] .theme-opt-mini.theme-opt-active,
html[data-theme="classic"] .ebay-tab--buy,
html[data-theme="classic"] .ebay-box-head,
html[data-theme="classic"] .ebay-box-head *,
html[data-theme="classic"] .ebay-section-head,
html[data-theme="classic"] .ebay-section-head h2,
html[data-theme="classic"] .import-step-n,
html[data-theme="classic"] .nav-count-badge,
html[data-theme="classic"] .bell-badge,
html[data-theme="classic"] .browse-view-btn.is-active,
html[data-theme="classic"] .browse-view-link.is-active {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] a.btn:hover,
html[data-theme="classic"] a.btn-primary:hover,
html[data-theme="classic"] a.btn-cherry:hover,
html[data-theme="classic"] a.buy-now-btn:hover,
html[data-theme="classic"] a.bin-btn:hover,
html[data-theme="classic"] a.bid-btn:hover,
html[data-theme="classic"] a.dash-head-cta:hover,
html[data-theme="classic"] a.dash-quick-card--primary:hover,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:hover,
html[data-theme="classic"] a.nav-sell:hover,
html[data-theme="classic"] a.nav-sell-btn:hover,
html[data-theme="classic"] a.ebay-sell-cta:hover,
html[data-theme="classic"] a.ebay-tab--buy:hover,
html[data-theme="classic"] a.btn:visited,
html[data-theme="classic"] a.btn-primary:visited,
html[data-theme="classic"] a.dash-head-cta:visited,
html[data-theme="classic"] a.dash-quick-card--primary:visited,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:visited,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:visited span {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:hover,
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary:visited {
  background:#0654ba!important;
  border-color:#054a9e!important;
}
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.btn.btn-primary,
html[data-theme="classic"] a.dash-head-cta,
html[data-theme="classic"] a.btn-primary:hover,
html[data-theme="classic"] a.dash-head-cta:hover {
  background:#0654ba!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* outline/secondary stay dark on light */
html[data-theme="classic"] a.btn-outline,
html[data-theme="classic"] a.btn-secondary,
html[data-theme="classic"] a.btn-outline:hover,
html[data-theme="classic"] a.btn-secondary:hover,
html[data-theme="classic"] a.btn-outline:visited,
html[data-theme="classic"] a.btn-secondary:visited {
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  background:#eee!important;
}
html[data-theme="classic"] .ebay-section-head a,
html[data-theme="classic"] .ebay-section-head a:visited,
html[data-theme="classic"] .ebay-section-head a:hover {
  color:#ffc!important;
  -webkit-text-fill-color:#ffc!important;
  text-decoration:underline!important;
}



/* Categories + icons — classic theme */
html[data-theme="classic"] .cat-toolbar{
  background:#fff!important;border-bottom:1px solid #999!important;top:0;position:static
}
html[data-theme="classic"] .cat-search-wrap{
  border:1px solid #999!important;border-radius:0!important;background:#fff!important;min-height:28px
}
html[data-theme="classic"] .cat-search{font-size:12px!important;padding:2px 0!important}
html[data-theme="classic"] .cat-jump-pill{
  border:1px solid #999!important;border-radius:0!important;background:#eee!important;
  color:#00c!important;text-decoration:none!important;font-size:11px!important
}
html[data-theme="classic"] .cat-jump-pill:hover{background:#ffc!important;color:#00c!important}
html[data-theme="classic"] .cat-group-head{border-bottom:2px solid #00c!important}
html[data-theme="classic"] .cat-group-head h2{color:#000!important;font-size:13px!important}
html[data-theme="classic"] .cat-group-meta{color:#00c!important;font-size:11px!important}
html[data-theme="classic"] .cat-tile{
  border:1px solid #999!important;border-radius:0!important;background:#fff!important;
  min-height:0!important;padding:5px 6px!important;box-shadow:none!important
}
html[data-theme="classic"] .cat-tile-ico{
  border:1px solid #ccc!important;border-radius:0!important;background:#f5f5f5!important;
  width:28px!important;height:28px!important;font-size:16px!important
}
html[data-theme="classic"] .cat-tile-name{color:#00c!important;font-weight:bold!important;font-size:11px!important;text-decoration:underline}
html[data-theme="classic"] .cat-tile-count{color:#666!important;font-size:10px!important}
html[data-theme="classic"] .cat-tile:hover{background:#ffc!important;border-color:#00c!important}
html[data-theme="classic"] .cat-tile:hover .cat-tile-name{color:#c00!important}
html[data-theme="classic"] a.cat-tile,
html[data-theme="classic"] a.cat-tile:visited,
html[data-theme="classic"] a.cat-jump-pill,
html[data-theme="classic"] a.cat-jump-pill:visited{
  text-decoration:none!important
}
html[data-theme="classic"] a.cat-tile .cat-tile-name{text-decoration:underline}



/* === Classic continuous polish v80 === */
html[data-theme="classic"] .empty,
html[data-theme="classic"] .home-empty{
  border:1px solid #999!important;border-radius:0!important;background:#f5f5f5!important
}
html[data-theme="classic"] .browse-bar{
  border:1px solid #999!important;border-radius:0!important;background:#eee!important;padding:4px!important
}
html[data-theme="classic"] .browse-inp{
  border:1px solid #999!important;border-radius:0!important;min-height:26px!important;font-size:12px!important
}
html[data-theme="classic"] .browse-quick-link{
  border-radius:0!important;background:#fff!important;border:1px solid #999!important;color:#00c!important
}
html[data-theme="classic"] .browse-quick-link.is-active{
  background:#00c!important;color:#fff!important;border-color:#009!important
}
html[data-theme="classic"] .pagination a,
html[data-theme="classic"] .pager a{
  border-radius:0!important;border:1px solid #999!important;min-width:1.6rem;height:1.6rem;font-size:11px
}
html[data-theme="classic"] .pagination .current,
html[data-theme="classic"] .pagination a.is-active{
  background:#00c!important;color:#fff!important
}
html[data-theme="classic"] .cat-landing-ico{
  border:1px solid #999!important;border-radius:0!important;background:#f5f5f5!important
}
html[data-theme="classic"] .item-facts .fact-row{font-size:11px;padding:3px 0;border-bottom:1px dotted #ccc}
html[data-theme="classic"] .similar-grid .tile,
html[data-theme="classic"] .similar-grid .listing-card{
  border-radius:0!important;border:1px solid #999!important
}
html[data-theme="classic"] .price-label{color:#666!important;font-size:10px!important;text-transform:none!important;letter-spacing:0!important}
html[data-theme="classic"] .bin-tag{
  background:#efe!important;color:#060!important;border:1px solid #9c9;border-radius:0!important
}
html[data-theme="classic"] .data-table th{background:#eee!important;border-bottom:1px solid #999}
html[data-theme="classic"] .listing-card .home-card-img,
html[data-theme="classic"] .home-card-img{
  background:#fff!important
}
html[data-theme="classic"] .browse-toolbar{position:static!important;background:transparent!important}
html[data-theme="classic"] .mobile-bid-bar{
  background:#ffc!important;border-top:1px solid #cc9!important
}
html[data-theme="classic"] .mbb-price{color:#000!important}
/* Util bar + tabs denser */
html[data-theme="classic"] .ebay-util{font-size:10px!important}
html[data-theme="classic"] .ebay-logo-row-inner{padding:5px 6px!important}
/* Listing price pop */
html[data-theme="classic"] .home-card-price,
html[data-theme="classic"] .listing-grid .home-card-price{
  color:#000!important;font-weight:bold!important
}



/* Import progress classic */
html[data-theme="classic"] .import-progress{
  border:1px solid #999!important;border-radius:0!important;background:#f5f5f5!important
}
html[data-theme="classic"] .import-progress-bar{border-radius:0!important;height:12px!important}
html[data-theme="classic"] .import-progress-bar>div{border-radius:0!important;background:#00c!important}
html[data-theme="classic"] .import-progress--done .import-progress-bar>div{background:#390!important}
html[data-theme="classic"] .import-stat{border-radius:0!important;border:1px solid #999!important}
html[data-theme="classic"] .import-pct{color:#00c!important}
html[data-theme="classic"] .import-log{border-radius:0!important}
html[data-theme="classic"] .status-badge.status-processing{background:#eef!important;color:#00c!important}
html[data-theme="classic"] .status-badge.status-done{background:#efe!important;color:#060!important}

/* Classic ticker: no Ending-soon lead — scroller only */
html[data-theme="classic"] .ticker-lead{display:none!important}
html[data-theme="classic"] .ticker-bar{background:#fffbe6!important;color:#333!important;border-bottom:1px solid #e0d4a8!important;height:32px!important;max-height:32px!important}
html[data-theme="classic"] .ticker-bar a.ticker-item{color:#00c!important}
html[data-theme="classic"] .ticker-time{color:#c41e3a!important;font-weight:bold!important}



/* Classic home welcome — force real 2-col desktop, full width */
html[data-theme="classic"] .ebay-home-layout.wrap,
html[data-theme="classic"] .ebay-home-layout{
  display:grid!important;
  width:100%!important;
  max-width:min(1320px,100%)!important;
  box-sizing:border-box!important;
}
@media(min-width:900px){
  html[data-theme="classic"] .ebay-home-layout.wrap,
  html[data-theme="classic"] .ebay-home-layout{
    grid-template-columns:180px minmax(0,1fr)!important;
    gap:10px!important;
  }
}
html[data-theme="classic"] .ebay-home-main{width:100%!important;min-width:0!important}
html[data-theme="classic"] .ebay-welcome{
  width:100%!important;
  background:#f5f5ff!important;
  border:1px solid #999!important;
  border-radius:0!important;
  margin:0 0 10px!important;
}
html[data-theme="classic"] .ebay-welcome-inner{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  width:100%!important;
  padding:12px 14px!important;
  box-sizing:border-box!important;
}
@media(min-width:780px){
  html[data-theme="classic"] .ebay-welcome-inner{
    grid-template-columns:minmax(0,1.45fr) minmax(200px,0.8fr)!important;
    gap:14px!important;
  }
  html[data-theme="classic"] .ebay-welcome-promo{display:flex!important}
}
html[data-theme="classic"] .ebay-welcome-copy,
html[data-theme="classic"] .ebay-welcome-promo{
  display:block!important;
  width:auto!important;
  padding:0!important;
}
html[data-theme="classic"] .ebay-welcome h1{font-size:18px!important;margin:0 0 6px!important}
html[data-theme="classic"] .ebay-welcome-lead{font-size:12px!important;max-width:42rem!important}
html[data-theme="classic"] .ebay-stats-line{
  display:flex!important;
  flex-wrap:wrap!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 10px!important;
}
html[data-theme="classic"] .ebay-welcome-cta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  align-items:center!important;
}
html[data-theme="classic"] .ebay-welcome-cta .btn{
  width:auto!important;
  margin:0!important;
}
html[data-theme="classic"] .ebay-promo-card{
  margin:0!important;
  border-radius:0!important;
}
html[data-theme="classic"] .ebay-quicklinks{
  border:1px solid #999!important;
  border-radius:0!important;
  width:100%!important;
}
html[data-theme="classic"] .ebay-quick-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;
  border-collapse:separate!important;
}
@media(min-width:900px){
  html[data-theme="classic"] .ebay-quick-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
}
html[data-theme="classic"] .ebay-quick-grid a{
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  border:1px solid #ccc!important;
  margin:0 -1px -1px 0!important;
  background:#f7f7f7!important;
  text-align:center!important;
  align-items:center!important;
  padding:10px 6px!important;
}
html[data-theme="classic"] .ebay-quick-grid span{color:#00c!important}
html[data-theme="classic"] .ebay-box-head{
  background:#36c!important;
  color:#fff!important;
  border-radius:0!important;
  padding:5px 8px!important;
  font-size:12px!important;
}
@media(max-width:779px){
  html[data-theme="classic"] .ebay-welcome-promo{display:none!important}
}



/* Classic v84 — section heads stay blue bars with white text */
html[data-theme="classic"] .ebay-section-head{
  display:block!important;
  background:#36c!important;
  border:1px solid #039!important;
  border-bottom:1px solid #039!important;
  padding:4px 8px!important;
  margin:0 0 8px!important
}
html[data-theme="classic"] .ebay-section-head h2{
  display:inline!important;
  color:#fff!important;
  font-size:12px!important;
  background:none!important;
  border:0!important
}
html[data-theme="classic"] .ebay-section-head a,
html[data-theme="classic"] .ebay-section-head a:visited,
html[data-theme="classic"] .ebay-section-head a:hover{
  float:right;
  color:#ffc!important;
  font-size:11px!important;
  text-decoration:underline!important
}
html[data-theme="classic"] .ebay-box-head{
  background:#36c!important;
  color:#fff!important;
  border:0!important;
  border-bottom:1px solid #039!important;
  padding:5px 8px!important;
  font-size:12px!important
}
html[data-theme="classic"] .ebay-box-head *{color:#fff!important}
html[data-theme="classic"] .ebay-pill{
  background:#c00!important;color:#fff!important;border-radius:0!important;
  font-size:10px!important;padding:0 4px!important
}
html[data-theme="classic"] .ebay-why-grid{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;
  border:1px solid #999!important
}
@media(min-width:900px){
  html[data-theme="classic"] .ebay-why-grid{grid-template-columns:repeat(4,1fr)!important}
}
html[data-theme="classic"] .ebay-why-card{
  border:1px solid #ccc!important;border-radius:0!important;box-shadow:none!important;
  background:#fff!important;padding:8px!important
}
html[data-theme="classic"] .ebay-why-card h3{color:#00c!important;font-size:12px!important}
html[data-theme="classic"] .ebay-why-card p{font-size:11px!important;color:#333!important}
html[data-theme="classic"] .ebay-sell-banner{
  background:#fffbe6!important;border:1px solid #e0d4a8!important;border-radius:0!important;color:#333!important
}
html[data-theme="classic"] .ebay-sell-banner h2{color:#000!important;font-size:14px!important}
html[data-theme="classic"] .ebay-sell-banner p{color:#444!important;font-size:12px!important}
html[data-theme="classic"] .ebay-sell-banner-cta .btn{
  background:#36c!important;color:#fff!important;border:1px solid #039!important
}
html[data-theme="classic"] .ebay-sell-banner-cta .btn-outline{
  background:#eee!important;color:#000!important;border:1px solid #999!important
}
html[data-theme="classic"] .listing-card:hover,
html[data-theme="classic"] .home-card:hover{
  box-shadow:none!important;background:#ffc!important;border-color:#00c!important
}
html[data-theme="classic"] .ebay-home-cats .ebay-box{
  border:1px solid #999!important;border-radius:0!important;background:#fff!important
}



/* Classic product page v86 */
html[data-theme="classic"] .item-page .gallery-main{
  border-radius:0!important;border:1px solid #999!important;max-height:min(420px,55vh)!important
}
html[data-theme="classic"] .item-page .gallery-thumbs img{border-radius:0!important}
html[data-theme="classic"] .item-page .live-panel,
html[data-theme="classic"] .item-page .ebay-vi-panel{
  background:#ffc!important;border:1px solid #cc9!important;border-radius:0!important
}
html[data-theme="classic"] .item-page .buy-box,
html[data-theme="classic"] .item-page .buy-box--ebay,
html[data-theme="classic"] .item-page .item-facts,
html[data-theme="classic"] .item-page .seller-box,
html[data-theme="classic"] .item-page .item-desc,
html[data-theme="classic"] .item-page .qa-section,
html[data-theme="classic"] .item-page .bid-history{
  border-radius:0!important;border:1px solid #999!important
}
html[data-theme="classic"] .item-page .item-info > h1{font-size:16px!important;color:#000!important}
html[data-theme="classic"] .item-page .ebay-vi-price,
html[data-theme="classic"] .item-page .current-price{color:#000!important;font-size:22px!important}
html[data-theme="classic"] .item-page .item-util-link,
html[data-theme="classic"] .item-page .share-row a,
html[data-theme="classic"] .item-page .share-row button{
  color:#00c!important;font-size:11px!important
}
html[data-theme="classic"] .item-page .item-info{position:static!important;max-height:none!important;overflow:visible!important}
@media(min-width:900px){
  html[data-theme="classic"] .item-page .item-grid{
    grid-template-columns:minmax(0,1fr) minmax(280px,340px)!important
  }
}



/* Classic product dense v87 */
html[data-theme="classic"] .item-page .item-mod,
html[data-theme="classic"] .item-page .item-desc,
html[data-theme="classic"] .item-page .qa-section,
html[data-theme="classic"] .item-page .bid-history{
  border-radius:0!important;border:1px solid #999!important
}
html[data-theme="classic"] .item-page .item-mod--title{border:0!important;background:transparent!important}
html[data-theme="classic"] .item-page .item-mod--price{background:#ffc!important;border-color:#cc9!important}
html[data-theme="classic"] .item-page .current-price{color:#000!important;font-size:20px!important}
html[data-theme="classic"] .item-page details.item-mod > summary{color:#00c!important;font-size:11px!important}
html[data-theme="classic"] .item-page .item-mod--title h1{font-size:15px!important;color:#000!important}
html[data-theme="classic"] .item-page .gallery-main{border-radius:0!important;max-height:min(400px,50vh)!important}
@media(min-width:860px){
  html[data-theme="classic"] .item-page .item-grid{
    grid-template-columns:minmax(0,1fr) minmax(260px,320px)!important
  }
  html[data-theme="classic"] .item-page .item-info{position:static!important;max-height:none!important;overflow:visible!important}
}


/* Hard home width for non-classic (v90) */
html:not([data-theme="classic"]) .home-page--ebay .ebay-home-layout,
html:not([data-theme="classic"]) .home-page--ebay .home-shell,
html:not([data-theme="classic"]) .home-page--ebay .ebay-home-layout.wrap{
  display:block!important;
  grid-template-columns:none!important;
  width:100%!important;
  max-width:1320px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html:not([data-theme="classic"]) .home-page--ebay .ebay-home-main{
  width:100%!important;max-width:100%!important;display:block!important
}
html:not([data-theme="classic"]) .home-page--ebay .ebay-home-cats{display:none!important}



/* Account classic v91 */
html[data-theme="classic"] .account-sidebar,
html[data-theme="classic"] .acct-card{
  border-radius:0!important;border:1px solid #999!important
}
html[data-theme="classic"] .acct-card-head,
html[data-theme="classic"] .account-nav a{
  border-radius:0!important
}
html[data-theme="classic"] .account-nav a.active{
  background:#00c!important;color:#fff!important
}
html[data-theme="classic"] .account-sell-cta{
  border-radius:0!important;background:#36c!important
}
html[data-theme="classic"] .acct-card-head{
  background:#eef!important;border-bottom:1px solid #99c!important
}
html[data-theme="classic"] .acct-card-head h2{color:#00c!important;font-size:13px!important}
html[data-theme="classic"] .acct-field input{border-radius:0!important;border:1px solid #999!important;min-height:28px!important}
html[data-theme="classic"] .acct-toggle{border-bottom:1px dotted #ccc}



/* Account nav classic v92 */
html[data-theme="classic"] .account-nav-more{border-top:1px solid #999}
html[data-theme="classic"] .account-nav-more > summary{color:#00c!important;font-size:10px!important}
html[data-theme="classic"] .account-nav a.active{background:#00c!important;color:#fff!important}
html[data-theme="classic"] .account-nav .nav-badge{background:#c00!important;border-radius:0!important}



/* Dashboard classic v93 */
html[data-theme="classic"] .dash-hero-stat{
  border-radius:0!important;background:#efe!important;border:1px solid #9c9!important
}
html[data-theme="classic"] .dash-stats .stat-card,
html[data-theme="classic"] .dash-quick-card,
html[data-theme="classic"] .dash-listing-card{
  border-radius:0!important
}
html[data-theme="classic"] .dash-alerts{
  border-radius:0!important;background:#ffc!important;border:1px solid #cc9!important
}
html[data-theme="classic"] a.dash-quick-card.dash-quick-card--primary{
  background:#36c!important;border-color:#039!important;color:#fff!important
}



/* Sell/checkout classic v94 */
html[data-theme="classic"] .sell-quick-steps li,
html[data-theme="classic"] .sell-advanced,
html[data-theme="classic"] .sell-actions-bar,
html[data-theme="classic"] .checkout-summary,
html[data-theme="classic"] .checkout-form{border-radius:0!important}
html[data-theme="classic"] .sell-quick-steps strong{border-radius:0!important}
html[data-theme="classic"] .sell-actions-bar{background:#f5f5f5!important;border:1px solid #999!important}
html[data-theme="classic"] .seller-keeps{background:#efe!important;border:1px solid #9c9;border-radius:0!important}


/* === classic item dense v101 === */
html[data-theme="classic"] .item-page.container{max-width:980px!important;padding:3px 5px!important}
html[data-theme="classic"] .item-page .item-mod,
html[data-theme="classic"] .item-page .item-desc,
html[data-theme="classic"] .item-page .qa-section,
html[data-theme="classic"] .item-page .bid-history{
  border:1px solid #ccc!important;border-radius:0!important;background:#fff!important;padding:5px 7px!important
}
html[data-theme="classic"] .item-page .item-mod--title{border:0!important;background:transparent!important;padding:0!important}
html[data-theme="classic"] .item-page .item-mod--commerce{background:#ffc!important;border-color:#cc9!important}
html[data-theme="classic"] .item-page .item-mod--title h1{font-size:14px!important;color:#000!important}
html[data-theme="classic"] .item-page .current-price,
html[data-theme="classic"] .item-page .ebay-vi-price{color:#000!important;font-size:18px!important}
html[data-theme="classic"] .item-page .gallery-main{
  border:1px solid #999!important;border-radius:0!important;
  aspect-ratio:auto!important;max-height:min(360px,46vh)!important
}
html[data-theme="classic"] .item-page .gallery-main img{max-height:min(350px,44vh)!important}
html[data-theme="classic"] .item-page .bin-tag{background:#fff!important;border:1px solid #090;color:#060!important;border-radius:0!important}
html[data-theme="classic"] .item-page .buy-box .buy-now-btn,
html[data-theme="classic"] .item-page .buy-box .bin-btn{background:#00c!important;color:#fff!important;border:1px solid #00c!important;border-radius:0!important}
html[data-theme="classic"] .item-page details.item-mod>summary,
html[data-theme="classic"] .item-page .tools-sum{color:#00c!important;font-size:11px!important}
html[data-theme="classic"] .item-page .item-util-link{border-radius:0!important;background:#eee!important}
html[data-theme="classic"] .item-page .item-grid{align-items:start!important}
@media(min-width:720px){
  html[data-theme="classic"] .item-page .item-grid{
    grid-template-columns:minmax(0,1.15fr) minmax(270px,.9fr)!important;gap:6px 8px!important
  }
}

html[data-theme="classic"] .item-page .item-action-bar{background:#eee!important;border:1px solid #ccc!important;border-radius:0!important}
html[data-theme="classic"] .item-page .item-action-bar .ia{color:#00c!important;font-size:11px!important}
html[data-theme="classic"] .item-page .item-mod--tools{display:none!important}


/* === classic header chrome v82 — authentic eBay 2005–2012 feel === */

/* Soften global nuke for header only (readable chrome) */
html[data-theme="classic"]{
  --ebay-red:#e53238;
  --ebay-blue:#0064d2;
  --ebay-yellow:#f5af02;
  --ebay-green:#86b817;
  --ebay-link:#0654ba;
  --ebay-link-hover:#c00;
  --ebay-search-yellow:#f7ca00;
  --ebay-util-bg:#f7f7f7;
  --ebay-tab-bg:#f0f6ff;
  --ebay-tab-border:#aab8d0;
}

html[data-theme="classic"] .site-header{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  width:100%!important;z-index:250!important;
  background:#fff!important;
  border-bottom:0!important;
  box-shadow:0 1px 0 #999!important;
}

/* --- Utility strip --- */
html[data-theme="classic"] .ebay-util{
  display:block!important;
  background:var(--ebay-util-bg)!important;
  border-bottom:1px solid #d4d4d4!important;
  font-size:11px!important;
  color:#333!important;
  line-height:1.25!important;
}
html[data-theme="classic"] .ebay-util-inner{
  max-width:min(1180px,100%)!important;
  margin:0 auto!important;
  padding:3px 10px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:2px 10px!important;
}
html[data-theme="classic"] .ebay-util-left,
html[data-theme="classic"] .ebay-util-right{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0!important;
}
html[data-theme="classic"] .ebay-util a{
  color:var(--ebay-link)!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:400!important;
  padding:1px 0!important;
}
html[data-theme="classic"] .ebay-util a:hover{
  color:var(--ebay-link-hover)!important;
  text-decoration:underline!important;
}
html[data-theme="classic"] .ebay-util a strong{font-weight:700!important}
html[data-theme="classic"] .ebay-hi{color:#111!important;margin-right:2px}
html[data-theme="classic"] .ebay-hi strong{color:#000!important}
html[data-theme="classic"] .ebay-or{color:#555!important;margin:0 3px}
html[data-theme="classic"] .ebay-sep{color:#bbb!important;margin:0 5px!important;font-weight:300}
html[data-theme="classic"] .ebay-util-n{color:#c00!important;font-weight:700!important}
html[data-theme="classic"] .ebay-util-sell{font-weight:700!important}
html[data-theme="classic"] .ebay-signin{color:#0654ba!important}
html[data-theme="classic"] .theme-opt-mini{
  font-size:10px!important;padding:1px 5px!important;margin:0 0 0 2px!important;
  border:1px solid #bbb!important;background:#fff!important;color:#333!important;
  cursor:pointer;line-height:1.3!important;
}
html[data-theme="classic"] .theme-opt-mini.theme-opt-active,
html[data-theme="classic"] .theme-opt-mini[data-set-theme].theme-opt-active{
  background:#0654ba!important;color:#fff!important;border-color:#044a9e!important;
}

/* --- Brand stripe (eBay multicolour) --- */
html[data-theme="classic"] .ebay-stripe{
  display:block!important;
  height:3px!important;
  background:linear-gradient(
    90deg,
    #e53238 0 25%,
    #0064d2 25% 50%,
    #f5af02 50% 75%,
    #86b817 75% 100%
  )!important;
  border:0!important;
}

/* --- Logo + search --- */
html[data-theme="classic"] .ebay-logo-row{
  display:block!important;
  background:#fff!important;
  border-bottom:1px solid #e5e5e5!important;
  padding:0!important;
}
html[data-theme="classic"] .ebay-logo-row-inner{
  max-width:min(1180px,100%)!important;
  margin:0 auto!important;
  padding:10px 10px 9px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px 12px!important;
}
html[data-theme="classic"] .ebay-logo-row .brand{
  text-decoration:none!important;
  flex:0 0 auto;
  line-height:0!important;
  margin-right:4px;
}
html[data-theme="classic"] .ebay-logo-row .brand-logo{
  height:38px!important;
  max-width:min(210px,46vw)!important;
  width:auto!important;
}
html[data-theme="classic"] .ebay-search-wrap{
  flex:1 1 280px!important;
  min-width:min(100%,200px)!important;
  max-width:640px;
  position:relative;
}
html[data-theme="classic"] .ebay-search{
  display:flex!important;
  align-items:stretch!important;
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  gap:0!important;
  border:2px solid #0654ba!important;
  background:#fff!important;
  overflow:hidden;
}
html[data-theme="classic"] .ebay-search:focus-within{
  border-color:#003399!important;
}
html[data-theme="classic"] .ebay-search input,
html[data-theme="classic"] .ebay-search #gh-ac{
  flex:1 1 auto!important;
  min-width:0!important;
  height:30px!important;
  border:0!important;
  padding:0 8px!important;
  font-size:13px!important;
  color:#111!important;
  background:#fff!important;
  outline:0!important;
  line-height:30px!important;
}
html[data-theme="classic"] .ebay-search input::placeholder{color:#888!important}
html[data-theme="classic"] .ebay-cat-select{
  display:block!important;
  flex:0 0 auto!important;
  max-width:150px!important;
  height:30px!important;
  border:0!important;
  border-left:1px solid #c5c5c5!important;
  background:#f5f5f5!important;
  color:#222!important;
  font-size:11px!important;
  padding:0 4px!important;
  cursor:pointer;
}
html[data-theme="classic"] .ebay-search-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  height:30px!important;
  min-width:72px!important;
  padding:0 14px!important;
  border:0!important;
  border-left:1px solid #d4a000!important;
  background:linear-gradient(#ffe066,#f7ca00)!important;
  color:#111!important;
  font-weight:700!important;
  font-size:13px!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-search-btn:hover{
  background:linear-gradient(#ffec8a,#ffd11a)!important;
  color:#000!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-logo-actions{
  display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto;
}
html[data-theme="classic"] .ebay-sell-cta{
  display:inline-block!important;
  padding:6px 12px!important;
  background:linear-gradient(#4caf50,#2e7d32)!important;
  border:1px solid #1b5e20!important;
  color:#fff!important;
  font-weight:700!important;
  font-size:12px!important;
  text-decoration:none!important;
  line-height:1.2!important;
}
html[data-theme="classic"] .ebay-sell-cta:hover,
html[data-theme="classic"] .ebay-sell-cta:visited{
  background:linear-gradient(#66bb6a,#388e3c)!important;
  color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-bell,
html[data-theme="classic"] .bell-link.ebay-bell{
  width:32px!important;height:32px!important;
  border:1px solid #ccc!important;background:#fafafa!important;
  color:#0654ba!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  text-decoration:none!important;position:relative;
}
html[data-theme="classic"] .ebay-bell:hover{background:#eef4ff!important;color:#003d99!important}
html[data-theme="classic"] .menu-toggle{
  width:32px!important;height:32px!important;
  border:1px solid #ccc!important;background:#fafafa!important;
  padding:6px!important;cursor:pointer;
  display:inline-flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;
}
html[data-theme="classic"] .menu-toggle span{
  display:block!important;height:2px!important;background:#0654ba!important;margin:0!important;width:100%;
}

/* --- Primary tabs --- */
html[data-theme="classic"] .ebay-tabs{
  display:block!important;
  background:#fff!important;
  border-bottom:2px solid #0654ba!important;
  margin:0!important;
}
html[data-theme="classic"] .ebay-tabs-inner{
  max-width:min(1180px,100%)!important;
  margin:0 auto!important;
  padding:0 8px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-end!important;
  gap:0!important;
}
html[data-theme="classic"] .ebay-tab{
  display:inline-block!important;
  padding:7px 12px 6px!important;
  margin:0 2px 0 0!important;
  font-size:12px!important;
  font-weight:700!important;
  color:#0654ba!important;
  text-decoration:none!important;
  border:1px solid var(--ebay-tab-border)!important;
  border-bottom:0!important;
  background:var(--ebay-tab-bg)!important;
  position:relative;
  top:2px;
}
html[data-theme="classic"] .ebay-tab:hover{
  background:#e3edff!important;
  color:#003d99!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-tab--buy,
html[data-theme="classic"] .ebay-tab.ebay-tab--buy{
  background:#0654ba!important;
  color:#fff!important;
  border-color:#0654ba!important;
  border-bottom:2px solid #0654ba!important;
  top:0!important;
  padding-bottom:8px!important;
}
html[data-theme="classic"] .ebay-tab--buy:hover{
  background:#044a9e!important;
  color:#fff!important;
}
html[data-theme="classic"] .ebay-tab--sub{
  font-weight:400!important;
  font-size:11px!important;
  background:#fff!important;
  border-color:#ddd!important;
  color:#0654ba!important;
  top:2px;
}
html[data-theme="classic"] .ebay-tab--sub:hover{background:#f8f8f8!important}
html[data-theme="classic"] .ebay-tabs-spacer{flex:1 1 8px!important;min-width:4px}
html[data-theme="classic"] .nav-count-badge,
html[data-theme="classic"] .bell-badge{
  background:#e53238!important;
  color:#fff!important;
  font-size:9px!important;
  min-width:14px!important;
  height:14px!important;
  line-height:14px!important;
  padding:0 3px!important;
  font-weight:700!important;
  display:inline-block!important;
  vertical-align:middle;
  margin-left:2px;
}

/* Search autocomplete under classic */
html[data-theme="classic"] .search-ac{
  border:1px solid #0654ba!important;
  background:#fff!important;
  top:100%!important;
  margin-top:0!important;
}
html[data-theme="classic"] .search-ac a.ac-item{color:#111!important;text-decoration:none!important}
html[data-theme="classic"] .search-ac a.ac-item:hover{background:#eef4ff!important}

/* Mobile classic header */
@media(max-width:767px){
  html[data-theme="classic"] .ebay-util-inner{padding:2px 6px!important}
  html[data-theme="classic"] .ebay-util-right > a,
  html[data-theme="classic"] .ebay-util-right > .ebay-sep{display:none!important}
  html[data-theme="classic"] .ebay-theme-mini{display:inline-flex!important}
  html[data-theme="classic"] .ebay-logo-row-inner{padding:8px 6px!important;gap:8px!important}
  html[data-theme="classic"] .ebay-logo-row .brand-logo{height:30px!important}
  html[data-theme="classic"] .ebay-search{height:32px!important;min-height:32px!important}
  html[data-theme="classic"] .ebay-search input,
  html[data-theme="classic"] .ebay-search #gh-ac,
  html[data-theme="classic"] .ebay-cat-select,
  html[data-theme="classic"] .ebay-search-btn{height:28px!important;line-height:28px!important}
  html[data-theme="classic"] .ebay-cat-select{max-width:100px!important;font-size:10px!important}
  html[data-theme="classic"] .ebay-sell-cta{display:none!important} /* sell in tabs */
  html[data-theme="classic"] .ebay-tab{padding:6px 9px 5px!important;font-size:11px!important}
  html[data-theme="classic"] .ebay-tab--sub{display:none!important}
  html[data-theme="classic"] .ebay-tabs-inner{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch;
    padding:0 4px!important;
  }
  html[data-theme="classic"] .ebay-tabs-spacer{display:none!important}
}

/* Content shell — classic page feel under header */
html[data-theme="classic"] .wrap,
html[data-theme="classic"] .container,
html[data-theme="classic"] .ebay-util-inner,
html[data-theme="classic"] .ebay-logo-row-inner,
html[data-theme="classic"] .ebay-tabs-inner{
  max-width:min(1180px,100%)!important;
}

/* Section heads — classic blue bar eBay style */
html[data-theme="classic"] .ebay-section-head,
html[data-theme="classic"] .ebay-box-head{
  background:linear-gradient(#f8fafc,#e8f0fe)!important;
  border:1px solid #c5d4eb!important;
  border-left:3px solid #0654ba!important;
  color:#000!important;
}
html[data-theme="classic"] .ebay-section-head h2,
html[data-theme="classic"] .ebay-box-head{
  color:#0654ba!important;
  font-weight:700!important;
}
html[data-theme="classic"] .ebay-welcome{
  border:1px solid #c5d4eb!important;
  background:#fff!important;
}
html[data-theme="classic"] .ebay-welcome .btn,
html[data-theme="classic"] .ebay-welcome-cta .btn{
  background:linear-gradient(#ffe066,#f7ca00)!important;
  border:1px solid #d4a000!important;
  color:#111!important;
  font-weight:700!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .ebay-welcome .btn-outline{
  background:#fff!important;
  border:1px solid #0654ba!important;
  color:#0654ba!important;
}

/* Primary CTAs sitewide under classic — clearer colours */
html[data-theme="classic"] .btn-primary,
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] button.btn-primary{
  background:linear-gradient(#4d94ff,#0654ba)!important;
  border:1px solid #044a9e!important;
  color:#fff!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .btn-primary:hover,
html[data-theme="classic"] a.btn-primary:hover{
  background:linear-gradient(#6aa6ff,#044a9e)!important;
  color:#fff!important;
}
html[data-theme="classic"] .btn-cherry,
html[data-theme="classic"] .bid-btn,
html[data-theme="classic"] a.bid-btn{
  background:linear-gradient(#ff6b6b,#c00)!important;
  border:1px solid #900!important;
  color:#fff!important;
}
html[data-theme="classic"] .buy-now-btn,
html[data-theme="classic"] .bin-btn,
html[data-theme="classic"] a.buy-now-btn,
html[data-theme="classic"] a.bin-btn{
  background:linear-gradient(#4d94ff,#0654ba)!important;
  border:1px solid #044a9e!important;
  color:#fff!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* Footer classic strip */
html[data-theme="classic"] .foot,
html[data-theme="classic"] footer.foot{
  background:#f7f7f7!important;
  border-top:2px solid #0654ba!important;
  color:#333!important;
}
html[data-theme="classic"] .foot a{color:#0654ba!important}

html[data-theme="classic"] .ebay-tab--sub.ebay-tab--on{
  background:#e3edff!important;border-color:#0654ba!important;font-weight:700!important;color:#044a9e!important
}


/* === CLASSIC CLEAN SHELL v83 — one width, fewer fights === */
html[data-theme="classic"]{
  --dhu-shell:1180px;
  --ebay-link:#0654ba;
  --ebay-link-hover:#c00;
  --blue:#0654ba;
  --blue-link:#0654ba;
  --blue-dark:#044a9e;
  --red:#c00;
  --green:#060;
}

/* ONE shell for header, ticker, content, footer — no 980/1320 fights */
html[data-theme="classic"] .wrap,
html[data-theme="classic"] .container,
html[data-theme="classic"] .ebay-util-inner,
html[data-theme="classic"] .ebay-logo-row-inner,
html[data-theme="classic"] .ebay-tabs-inner,
html[data-theme="classic"] .ticker-inner,
html[data-theme="classic"] .ebay-foot-cols,
html[data-theme="classic"] .foot-inner,
html[data-theme="classic"] .foot-bottom,
html[data-theme="classic"] .home-page--ebay .home-shell,
html[data-theme="classic"] .item-page.container,
html[data-theme="classic"] .similar-section,
html[data-theme="classic"] .account-main,
html[data-theme="classic"] .browse-page.container,
html[data-theme="classic"] .form-page.container{
  max-width:var(--dhu-shell)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Ticker classic: same shell, pale yellow eBay strip */
html[data-theme="classic"] .ticker-bar{
  background:#fff8d6!important;
  border-bottom:1px solid #e0d090!important;
  color:#111!important;
  width:100%!important;
}
html[data-theme="classic"] .ticker-inner{padding:3px 10px!important}
html[data-theme="classic"] .ticker-label{
  color:#8a5a00!important;
  background:transparent!important;
  font-size:10px!important;
}
html[data-theme="classic"] .ticker-more{color:#0654ba!important}
html[data-theme="classic"] .ticker-bar a.ticker-item,
html[data-theme="classic"] .ticker-bar a.ticker-item:link,
html[data-theme="classic"] .ticker-bar a.ticker-item:visited{
  color:#0654ba!important;
  text-decoration:none!important;
  font-size:11px!important;
}
html[data-theme="classic"] .ticker-bar a.ticker-item:hover{color:#c00!important;text-decoration:underline!important}
html[data-theme="classic"] .ticker-time{color:#c00!important;font-weight:700!important}
html[data-theme="classic"] .ticker-thumb{
  width:18px!important;height:18px!important;
  border:1px solid #ccc!important;border-radius:0!important;
}

/* Soften global * nuke that wrecks layout — re-allow basic usability */
html[data-theme="classic"] *{
  /* keep flat look but don't zero every transform on open menus/sticky */
}
html[data-theme="classic"] .nav.open,
html[data-theme="classic"] .nav{
  transform:none!important;
}

/* Content links: consistent blue, not purple mess on cards */
html[data-theme="classic"] .listing-card,
html[data-theme="classic"] .home-card,
html[data-theme="classic"] a.listing-card,
html[data-theme="classic"] a.home-card{
  color:#000!important;
  text-decoration:none!important;
  border-color:#ccc!important;
  background:#fff!important;
}
html[data-theme="classic"] a.listing-card:hover,
html[data-theme="classic"] a.home-card:hover{
  background:#ffc!important;
  color:#000!important;
  text-decoration:none!important;
}
html[data-theme="classic"] .home-card-price,
html[data-theme="classic"] .listing-card .home-card-price{
  color:#c00!important;
  font-weight:700!important;
}
html[data-theme="classic"] .bin-tag{
  color:#060!important;
  background:#efe!important;
  border:1px solid #9c9!important;
}

/* Header util/logo already set — lock shell padding */
html[data-theme="classic"] .ebay-util-inner,
html[data-theme="classic"] .ebay-logo-row-inner,
html[data-theme="classic"] .ebay-tabs-inner{
  padding-left:10px!important;
  padding-right:10px!important;
}
html[data-theme="classic"] .container,
html[data-theme="classic"] .wrap{
  padding-left:10px!important;
  padding-right:10px!important;
}

/* White on blue CTAs — kill visited purple / dark text */
html[data-theme="classic"] a.btn-primary,
html[data-theme="classic"] a.buy-now-btn,
html[data-theme="classic"] a.bin-btn,
html[data-theme="classic"] a.bid-btn,
html[data-theme="classic"] a.btn-cherry,
html[data-theme="classic"] a.ebay-tab--buy,
html[data-theme="classic"] a.ebay-sell-cta,
html[data-theme="classic"] a.btn-primary:link,
html[data-theme="classic"] a.btn-primary:visited,
html[data-theme="classic"] a.btn-primary:hover,
html[data-theme="classic"] a.buy-now-btn:visited,
html[data-theme="classic"] a.bin-btn:visited,
html[data-theme="classic"] a.bid-btn:visited,
html[data-theme="classic"] a.ebay-tab--buy:visited,
html[data-theme="classic"] a.ebay-sell-cta:visited{
  color:#fff!important;
  text-decoration:none!important;
}

/* Home layout under classic: align shell */
html[data-theme="classic"] .home-page--ebay{
  max-width:var(--dhu-shell)!important;
  margin:0 auto!important;
  padding:4px 0 16px!important;
}
html[data-theme="classic"] .home-page--ebay .home-shell{
  padding-left:10px!important;
  padding-right:10px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
@media(min-width:900px){
  html[data-theme="classic"] .home-page--ebay .home-shell{
    display:grid!important;
    grid-template-columns:170px minmax(0,1fr)!important;
    gap:10px!important;
  }
  html[data-theme="classic"] .home-page--ebay .ebay-home-cats{display:block!important}
}

/* Item page shell match */
html[data-theme="classic"] .item-page.container{
  max-width:var(--dhu-shell)!important;
  padding:6px 10px 16px!important;
}

/* Reduce double borders / messy cards */
html[data-theme="classic"] .listing-grid{
  border:1px solid #999!important;
  gap:0!important;
}
html[data-theme="classic"] .listing-card,
html[data-theme="classic"] .home-card{
  border:0!important;
  border-right:1px solid #ccc!important;
  border-bottom:1px solid #ccc!important;
  margin:0!important;
}

/* Mobile classic: ticker doesn't overflow */
@media(max-width:600px){
  html[data-theme="classic"] .ticker-label{font-size:9px!important}
  html[data-theme="classic"] .ticker-more{font-size:10px!important}
  html[data-theme="classic"] .ticker-title{max-width:7rem!important}
}


/* === classic sell banner v84 — readable, no white-on-white === */
html[data-theme="classic"] .ebay-sell-banner{
  background:#fff8d6!important;
  border:1px solid #e0d090!important;
  border-radius:0!important;
  color:#000!important;
  margin-top:10px!important;
}
html[data-theme="classic"] .ebay-sell-banner-inner{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  gap:8px 12px!important;padding:10px!important;
}
html[data-theme="classic"] .ebay-sell-kicker{
  color:#8a5a00!important;font-size:10px!important;margin:0 0 2px!important;
}
html[data-theme="classic"] .ebay-sell-banner h2,
html[data-theme="classic"] .ebay-sell-banner #sell-banner-title{
  color:#000!important;font-size:14px!important;margin:0 0 4px!important;
}
html[data-theme="classic"] .ebay-sell-banner p{
  color:#333!important;font-size:12px!important;margin:0!important;
}
html[data-theme="classic"] .ebay-sell-banner-cta .sell-banner-btn--primary,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--primary,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--primary:visited,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--primary:hover{
  background:#0654ba!important;color:#fff!important;border:1px solid #044a9e!important;
  border-radius:0!important;text-decoration:none!important;
}
html[data-theme="classic"] .ebay-sell-banner-cta .sell-banner-btn--secondary,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--secondary,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--secondary:visited,
html[data-theme="classic"] .ebay-sell-banner-cta a.sell-banner-btn--secondary:hover{
  background:#fff!important;color:#000!important;border:1px solid #999!important;
  border-radius:0!important;text-decoration:none!important;
}


/* Fixed header lock — classic must stay pinned */
html[data-theme="classic"] .site-header,
html[data-theme="classic"] #site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:250!important;
  background:#fff!important;
}
html[data-theme="classic"] body{
  padding-top:var(--topbar-h, 110px)!important;
}
