/*
 * DFB Regression Lock - created after category banner/filter work.
 * Purpose: keep previous working elements from being changed by category banner CSS.
 * - Homepage top bar must always display.
 * - Header/topbar/search/nav must full-bleed and aligned.
 * - Auction cards must keep Bid Now as plain text, not a button.
 * - Category promo banner images must fill the promo banner width.
 */

:root{--dfb-public-width:1200px;--dfb-public-gutter:28px;--dfb-blue:#064db3;--dfb-dark:#071b3a;}

html,body{overflow-x:hidden!important;}

/* Header lock: no page template may box or hide the top bar. */
.dfb-header-v8,
.dfb-header-v8 .dfb-topbar,
.dfb-header-v8 .dfb-mainbar,
.dfb-header-v8 .dfb-navrow{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    position:relative!important;
    left:50%!important;
    right:auto!important;
    margin-left:-50vw!important;
    margin-right:0!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    transform:none!important;
    clip:auto!important;
    clip-path:none!important;
}

body.home .dfb-header-v8 .dfb-topbar,
body.front-page .dfb-header-v8 .dfb-topbar,
body.dfb-frontpage-active .dfb-header-v8 .dfb-topbar,
body .dfb-header-v8 .dfb-topbar{
    display:block!important;
    height:auto!important;
    min-height:34px!important;
    background:#064db3!important;
    color:#fff!important;
    z-index:1000!important;
}

.dfb-header-v8 .dfb-header-container,
.dfb-header-v8 .dfb-topbar-inner,
.dfb-header-v8 .dfb-mainbar-inner,
.dfb-header-v8 .dfb-navrow-inner{
    width:min(var(--dfb-public-width),calc(100vw - var(--dfb-public-gutter)))!important;
    max-width:var(--dfb-public-width)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
    padding-left:0!important;
    padding-right:0!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
}

.dfb-header-v8 .dfb-topbar-inner{
    min-height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:16px!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:400!important;
}

.dfb-header-v8 .dfb-topbar a,
.dfb-header-v8 .dfb-topbar span{
    color:#fff!important;
    text-decoration:none!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.2!important;
}

.dfb-header-v8 .dfb-topbar svg{width:14px!important;height:14px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important;vertical-align:-2px!important;}

.dfb-header-v8 .dfb-mainbar{background:#fff!important;}
.dfb-header-v8 .dfb-navrow{background:#064db3!important;}

/* Auction card lock: Bid Now is text, never a blue button. */
.dfb-product-card .dfb-card-bottom,
.bbb-card .dfb-card-bottom,
.dfb-real-grid .dfb-card-bottom,
.dfb-auction-grid .dfb-card-bottom,
.bbb-card-grid .dfb-card-bottom{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-top:auto!important;
    padding:0!important;
    width:100%!important;
    font-size:12px!important;
    line-height:1.25!important;
    color:#334155!important;
}

.dfb-product-card .dfb-card-bottom > span,
.bbb-card .dfb-card-bottom > span,
.dfb-real-grid .dfb-card-bottom > span,
.dfb-auction-grid .dfb-card-bottom > span,
.bbb-card-grid .dfb-card-bottom > span{
    flex:1 1 auto!important;
    min-width:0!important;
    text-align:left!important;
    color:#334155!important;
    font-size:12px!important;
    font-weight:400!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}

.dfb-product-card .dfb-card-bottom a,
.bbb-card .dfb-card-bottom a,
.dfb-real-grid .dfb-card-bottom a,
.dfb-auction-grid .dfb-card-bottom a,
.bbb-card-grid .dfb-card-bottom a,
a.dfb-card-bid-now,
a.dfb-card-bid-link{
    flex:0 0 auto!important;
    display:inline!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#064db3!important;
    text-align:right!important;
    text-decoration:none!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:500!important;
    text-transform:none!important;
}

.dfb-product-card .dfb-card-bottom a:hover,
.bbb-card .dfb-card-bottom a:hover,
.dfb-real-grid .dfb-card-bottom a:hover,
.dfb-auction-grid .dfb-card-bottom a:hover,
.bbb-card-grid .dfb-card-bottom a:hover{
    color:#043b8a!important;
    text-decoration:underline!important;
}

/* Category promo banner lock: uploaded image fills banner area. */
.dfb-promo-strip-slider{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}

.dfb-promo-window{width:100%!important;overflow:hidden!important;}
.dfb-promo-track{display:flex!important;width:100%!important;transition:transform .35s ease!important;}
.dfb-promo-slide{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    min-height:128px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:18px 72px!important;
    background-color:#064db3!important;
    background-image:linear-gradient(90deg,rgba(5,34,84,.82),rgba(6,77,179,.45)),var(--dfb-banner-img)!important;
    background-size:cover!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    border:1px solid #dce5f2!important;
    border-radius:0!important;
    overflow:hidden!important;
}

.dfb-promo-slide.is-purple{background-color:#2b1467!important;background-image:linear-gradient(90deg,rgba(43,20,103,.86),rgba(88,48,166,.45)),var(--dfb-banner-img)!important;}
.dfb-promo-slide.is-yellow{background-color:#ffc400!important;background-image:linear-gradient(90deg,rgba(255,196,0,.92),rgba(255,196,0,.58)),var(--dfb-banner-img)!important;}
.dfb-promo-copy{position:relative!important;z-index:2!important;max-width:620px!important;}
.dfb-promo-art{display:none!important;}

@media(max-width:760px){
    .dfb-header-v8 .dfb-header-container,
    .dfb-header-v8 .dfb-topbar-inner,
    .dfb-header-v8 .dfb-mainbar-inner,
    .dfb-header-v8 .dfb-navrow-inner{width:min(100vw - 24px,var(--dfb-public-width))!important;}
    .dfb-header-v8 .dfb-topbar-inner{justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;padding:7px 0!important;}
    .dfb-header-v8 .dfb-topbar-right{display:none!important;}
    .dfb-promo-slide{min-height:118px!important;padding:16px 46px!important;}
}
