/* BidByBid Auctions Pro - cleaned frontend CSS
   Rebuilt to remove duplicate/conflicting card, countdown and bid-form rules. */

:root{--bbb-red:#e11d48;--bbb-dark:#0f172a;--bbb-muted:#64748b;--bbb-line:#e2e8f0;--bbb-soft:#f8fafc;--bbb-green:#16a34a;--bbb-blue:#2563eb;--bbb-orange:#f59e0b;--bbb-radius:18px;}

.bbb-homepage-auctions,.bbb-category-section{width:100%;max-width:100%;box-sizing:border-box;}
.bbb-category-section{margin:28px 0 36px;clear:both;}
.bbb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;}
.bbb-section-heading h2{margin:0;font-size:clamp(22px,3vw,34px);line-height:1.1;font-weight:900;color:var(--bbb-dark);}
.bbb-section-kicker{display:block;margin:0 0 5px;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--bbb-red);}
.bbb-section-heading a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 16px;border-radius:999px;background:var(--bbb-dark);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:13px;white-space:nowrap;}

.bbb-auction-grid{display:grid!important;grid-template-columns:repeat(var(--bbb-columns,4),minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;clear:both!important;}
.bbb-auction-grid>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}

.bbb-auction-card{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:12px!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important;border:1px solid var(--bbb-line)!important;border-radius:var(--bbb-radius)!important;box-shadow:0 10px 30px rgba(15,23,42,.08)!important;color:var(--bbb-dark)!important;float:none!important;clear:none!important;}
.bbb-auction-card:hover{box-shadow:0 18px 44px rgba(15,23,42,.13)!important;transform:none!important;}
.bbb-auction-card *{box-sizing:border-box;}
.bbb-card-body{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;width:100%!important;flex:1 1 auto!important;}
.bbb-thumb{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;aspect-ratio:1/0.82!important;min-height:150px!important;margin:0 0 10px!important;padding:8px!important;border-radius:15px!important;background:#f1f5f9!important;overflow:hidden!important;text-decoration:none!important;}
.bbb-thumb img,.bbb-responsive-img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;}
.bbb-thumb span{color:var(--bbb-muted);font-weight:800;}
.bbb-condition{display:inline-flex!important;align-self:flex-start!important;padding:4px 8px!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important;}
.bbb-auction-card h3{display:block!important;margin:0!important;padding:0!important;min-height:42px!important;color:var(--bbb-dark)!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important;overflow:hidden!important;}
.bbb-auction-card h3 a{color:inherit!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.bbb-price,.bbb-next-bid{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;margin:0!important;padding:7px 9px!important;border-radius:12px!important;background:var(--bbb-soft)!important;color:#475569!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;}
.bbb-price strong,.bbb-next-bid strong,.bbb-current-bid,.bbb-next-bid-amount{color:var(--bbb-red)!important;font-size:16px!important;font-weight:1000!important;white-space:nowrap!important;}
.bbb-times{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;color:var(--bbb-muted)!important;font-size:11px!important;line-height:1.35!important;}
.bbb-times small{display:block!important;margin:0!important;color:inherit!important;font-size:inherit!important;}

.bbb-final-status-row{position:relative!important;z-index:2!important;}
.bbb-final-status-badge{box-shadow:none!important;}

.bbb-countdown,.bbb-countdown-live,.bbb-fixed-countdown{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:4px 0!important;padding:10px!important;border-radius:14px!important;background:linear-gradient(135deg,#0f172a,#1e293b)!important;color:#fff!important;overflow:hidden!important;clear:both!important;float:none!important;line-height:1.2!important;box-sizing:border-box!important;contain:layout paint!important;}
.bbb-fixed-countdown-label{display:block!important;width:100%!important;margin:0 0 7px!important;color:#bfdbfe!important;font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase!important;text-align:left!important;}
.bbb-fixed-countdown-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%!important;align-items:stretch!important;}
.bbb-cd-unit{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:48px!important;padding:7px 4px!important;border-radius:11px!important;background:#fff!important;color:var(--bbb-dark)!important;overflow:hidden!important;text-align:center!important;}
.bbb-cd-unit strong{display:block!important;width:100%!important;min-width:2ch!important;margin:0!important;font-size:18px!important;line-height:1!important;font-weight:1000!important;font-variant-numeric:tabular-nums!important;letter-spacing:0!important;color:var(--bbb-dark)!important;}
.bbb-cd-unit em{display:block!important;margin:4px 0 0!important;color:#64748b!important;font-size:9px!important;line-height:1!important;font-style:normal!important;font-weight:900!important;text-transform:uppercase!important;}
.bbb-fixed-countdown-ended,.bbb-timer-closed,.bbb-countdown.expired{display:block!important;width:100%!important;text-align:center!important;font-weight:1000!important;color:#fff!important;font-size:14px!important;line-height:1.25!important;}
.bbb-countdown.expired,.bbb-fixed-countdown.expired{background:#64748b!important;}

.bbb-share-icons-final-row{flex-shrink:0!important;}
.bbb-share-icons-final-btn svg{display:block!important;width:13px!important;height:13px!important;fill:currentColor!important;pointer-events:none!important;}
.bbb-share-icons-final-btn.bbb-copied{background:#dcfce7!important;border-color:#86efac!important;color:#15803d!important;}

.bbb-bid-form{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:6px 0 0!important;padding:10px!important;border:1px solid var(--bbb-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:none!important;clear:both!important;float:none!important;overflow:hidden!important;}
.bbb-next-required{display:block!important;margin:0!important;padding:8px!important;border-radius:12px!important;background:#f8fafc!important;color:#475569!important;font-size:12px!important;line-height:1.45!important;font-weight:800!important;}
.bbb-next-required strong{color:var(--bbb-dark)!important;font-weight:1000!important;}
.bbb-bid-input-label{display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;margin:0!important;color:var(--bbb-dark)!important;font-size:12px!important;font-weight:900!important;}
.bbb-bid-form input[type="number"],.bbb-typed-bid-input{display:block!important;width:100%!important;max-width:100%!important;min-height:42px!important;margin:0!important;padding:9px 11px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;color:var(--bbb-dark)!important;font-size:16px!important;font-weight:900!important;line-height:1.2!important;box-shadow:none!important;outline:none!important;}
.bbb-bid-form input[type="number"]:focus{border-color:var(--bbb-red)!important;box-shadow:0 0 0 3px rgba(225,29,72,.14)!important;}
.bbb-bid-form button[type="submit"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:43px!important;margin:0!important;padding:11px 14px!important;border:0!important;border-radius:12px!important;background:var(--bbb-green)!important;color:#fff!important;font-size:14px!important;font-weight:1000!important;line-height:1.2!important;text-transform:none!important;text-decoration:none!important;cursor:pointer!important;box-shadow:0 10px 20px rgba(22,163,74,.2)!important;}
.bbb-bid-form button[type="submit"]:disabled{opacity:.65!important;cursor:not-allowed!important;}
.bbb-bid-message{min-height:18px!important;margin:0!important;color:#475569!important;font-size:12px!important;line-height:1.35!important;font-weight:800!important;}
.bbb-bid-message.ok{color:#15803d!important;}
.bbb-bid-message.err{color:#b91c1c!important;}
.bbb-notice{display:block!important;width:100%!important;margin:6px 0 0!important;padding:10px 12px!important;border-radius:13px!important;background:#f1f5f9!important;color:#475569!important;font-weight:900!important;font-size:13px!important;text-align:center!important;}

.bbb-single-box{display:block!important;width:100%!important;margin:24px 0!important;padding:18px!important;border:1px solid var(--bbb-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(15,23,42,.08)!important;clear:both!important;}
.bbb-single-box h2{margin:0 0 14px!important;color:var(--bbb-dark)!important;font-weight:900!important;}
.bbb-detail-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:12px 0!important;}
.bbb-detail-grid>div{padding:10px!important;border-radius:13px!important;background:var(--bbb-soft)!important;}
.bbb-detail-grid span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;}
.bbb-detail-grid strong{display:block!important;color:var(--bbb-dark)!important;font-size:15px!important;font-weight:1000!important;}

.bbb-watchlist-button,.bbb-watchlist-btn{max-width:100%!important;}

@media (max-width:1100px){.bbb-auction-grid{grid-template-columns:repeat(min(var(--bbb-columns,4),3),minmax(0,1fr))!important;}}
@media (max-width:820px){.bbb-auction-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.bbb-section-heading{align-items:flex-start}.bbb-thumb{min-height:135px}.bbb-detail-grid{grid-template-columns:1fr!important}}
@media (max-width:560px){.bbb-auction-grid{grid-template-columns:1fr!important;gap:14px!important}.bbb-section-heading{flex-direction:column}.bbb-section-heading a{width:100%}.bbb-auction-card{padding:10px!important;border-radius:16px!important}.bbb-thumb{min-height:180px!important;aspect-ratio:1/0.75!important}.bbb-fixed-countdown-row{gap:5px!important}.bbb-cd-unit{min-height:45px!important;padding:6px 3px!important}.bbb-cd-unit strong{font-size:16px!important}.bbb-cd-unit em{font-size:8px!important}.bbb-price,.bbb-next-bid{font-size:12px!important}.bbb-price strong,.bbb-next-bid strong{font-size:15px!important}}


/* BidByBid requested visual cleanup - 2026-06-05
   Red bid buttons, clearer/bolder typography, stable neat countdown boxes. */
.bbb-auction-card,
.bbb-auction-card *,
.bbb-bid-form,
.bbb-bid-form *,
.bbb-countdown,
.bbb-countdown *{
  font-family: Arial, Helvetica, sans-serif!important;
}
.bbb-auction-card h3,
.bbb-auction-card h3 a,
.bbb-price,
.bbb-next-bid,
.bbb-next-required,
.bbb-bid-input-label{
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.bbb-bid-form button[type="submit"],
.bbb-place-bid button,
.bbb-place-bid-btn,
button.bbb-place-bid,
.bbb-auction-card .button,
.bbb-auction-card button[name="bbb_place_bid"]{
  background:linear-gradient(135deg,#dc2626,#b91c1c)!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 12px 24px rgba(220,38,38,.24)!important;
}
.bbb-bid-form button[type="submit"]:hover,
.bbb-place-bid button:hover,
.bbb-place-bid-btn:hover,
button.bbb-place-bid:hover,
.bbb-auction-card .button:hover{
  background:linear-gradient(135deg,#ef4444,#991b1b)!important;
  color:#fff!important;
}
.bbb-countdown,
.bbb-countdown-live,
.bbb-fixed-countdown{
  display:block!important;
  width:100%!important;
  min-height:86px!important;
  margin:8px 0!important;
  padding:10px!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#111827,#1f2937)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(15,23,42,.12)!important;
  overflow:hidden!important;
  contain:layout paint style!important;
}
.bbb-fixed-countdown-label{
  display:block!important;
  min-height:12px!important;
  margin:0 0 8px!important;
  color:#fee2e2!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.bbb-fixed-countdown-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  min-height:54px!important;
}
.bbb-cd-unit{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  padding:7px 3px!important;
  border-radius:12px!important;
  background:#ffffff!important;
  color:#111827!important;
  overflow:hidden!important;
  text-align:center!important;
}
.bbb-cd-unit strong{
  display:block!important;
  width:3ch!important;
  min-width:3ch!important;
  max-width:3ch!important;
  margin:0 auto!important;
  font-family:"Arial",Helvetica,sans-serif!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1,"lnum" 1!important;
  letter-spacing:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.bbb-cd-unit em{
  display:block!important;
  width:100%!important;
  margin:5px 0 0!important;
  color:#64748b!important;
  font-size:9px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
.bbb-fixed-countdown-ended{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:56px!important;
  width:100%!important;
  text-align:center!important;
  font-size:15px!important;
  font-weight:900!important;
  color:#fff!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.bbb-fixed-countdown-ended[hidden],.bbb-fixed-countdown-row[hidden],.bbb-fixed-countdown-label[hidden]{display:none!important;}
@media(max-width:520px){
  .bbb-countdown,.bbb-countdown-live,.bbb-fixed-countdown{min-height:78px!important;padding:8px!important;border-radius:14px!important;}
  .bbb-fixed-countdown-row{gap:5px!important;min-height:50px!important;}
  .bbb-cd-unit{min-height:50px!important;padding:6px 2px!important;}
  .bbb-cd-unit strong{font-size:16px!important;}
  .bbb-cd-unit em{font-size:8px!important;}
}


/* BidByBid font clarity correction - remove heavy/blurred bold styling. */
.bbb-auction-card,
.bbb-auction-card *,
.bbb-bid-form,
.bbb-bid-form *,
.bbb-countdown,
.bbb-countdown *{
  font-family: Arial, Helvetica, sans-serif!important;
  font-synthesis:none!important;
  text-shadow:none!important;
}
.bbb-auction-card h3,
.bbb-auction-card h3 a{font-weight:600!important;letter-spacing:0!important;}
.bbb-price,
.bbb-next-bid,
.bbb-next-required,
.bbb-bid-input-label,
.bbb-bid-message,
.bbb-notice{font-weight:400!important;letter-spacing:0!important;}
.bbb-price strong,
.bbb-next-bid strong,
.bbb-current-bid,
.bbb-next-bid-amount,
.bbb-next-required strong{font-weight:600!important;}
.bbb-bid-form input[type="number"],
.bbb-typed-bid-input{font-weight:400!important;}
.bbb-bid-form button[type="submit"],
.bbb-place-bid button,
.bbb-place-bid-btn,
button.bbb-place-bid,
.bbb-auction-card .button,
.bbb-auction-card button[name="bbb_place_bid"]{font-weight:600!important;}
.bbb-fixed-countdown-label{font-weight:500!important;letter-spacing:.08em!important;}
.bbb-cd-unit strong{font-weight:600!important;font-family:Arial,Helvetica,sans-serif!important;}
.bbb-cd-unit em{font-weight:400!important;}
.bbb-fixed-countdown-ended{font-weight:600!important;}
.bbb-countdown.expired,.bbb-fixed-countdown.expired{background:linear-gradient(135deg,#111827,#1f2937)!important;}


/* BidByBid final countdown cleanup - no 'Closes in', stable neat boxes, Closed text */
.bbb-fixed-countdown-label{display:none!important;}
.bbb-countdown,
.bbb-countdown-live,
.bbb-fixed-countdown{
  min-height:72px!important;
  padding:10px!important;
  margin:8px 0!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#0f172a,#1e293b)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.12)!important;
}
.bbb-fixed-countdown-row{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  min-height:52px!important;
  align-items:stretch!important;
}
.bbb-cd-unit{
  min-height:52px!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(226,232,240,.9)!important;
}
.bbb-cd-unit strong{
  width:3ch!important;
  min-width:3ch!important;
  max-width:3ch!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:500!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1,"lnum" 1!important;
  white-space:nowrap!important;
}
.bbb-cd-unit em{
  font-size:8.5px!important;
  line-height:1!important;
  font-weight:400!important;
  color:#64748b!important;
  white-space:nowrap!important;
}
.bbb-fixed-countdown-ended{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  width:100%!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#dc2626!important;
  font-size:15px!important;
  font-weight:500!important;
  text-align:center!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.bbb-fixed-countdown-ended[hidden],.bbb-fixed-countdown-row[hidden],.bbb-fixed-countdown-label[hidden]{display:none!important;}
@media(max-width:520px){
  .bbb-countdown,.bbb-countdown-live,.bbb-fixed-countdown{min-height:68px!important;padding:8px!important;}
  .bbb-fixed-countdown-row{gap:5px!important;min-height:48px!important;}
  .bbb-cd-unit{min-height:48px!important;padding:6px 2px!important;}
  .bbb-cd-unit strong{font-size:16px!important;}
  .bbb-cd-unit em{font-size:8px!important;}
}


/* Blue Place Bid Buttons */
.bbb-place-bid-btn,
.bidbybid-place-bid-btn,
.auction-place-bid button,
.bidbybid-bid-submit,
.place-bid-button,
button[name*="bid"]{
background:#2563eb !important;
border-color:#2563eb !important;
color:#fff !important;
}
.bbb-place-bid-btn:hover,
.bidbybid-place-bid-btn:hover,
.auction-place-bid button:hover,
.bidbybid-bid-submit:hover,
.place-bid-button:hover,
button[name*="bid"]:hover{
background:#1d4ed8 !important;
border-color:#1d4ed8 !important;
}


/* FINAL OVERRIDE: Blue Place Bid Buttons */
.bbb-bid-form button[type="submit"],
.bbb-place-bid button,
.bbb-place-bid-btn,
.bidbybid-place-bid-btn,
.bidbybid-bid-submit,
.auction-place-bid button,
.bbb-auction-card button[name="bbb_place_bid"],
.bbb-auction-card button[type="submit"],
.place-bid-button,
button.bbb-place-bid,
button[name*="bid"] {
  background: #2563eb !important;
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, .22) !important;
}

.bbb-bid-form button[type="submit"]:hover,
.bbb-place-bid button:hover,
.bbb-place-bid-btn:hover,
.bidbybid-place-bid-btn:hover,
.bidbybid-bid-submit:hover,
.auction-place-bid button:hover,
.bbb-auction-card button[name="bbb_place_bid"]:hover,
.bbb-auction-card button[type="submit"]:hover,
.place-bid-button:hover,
button.bbb-place-bid:hover,
button[name*="bid"]:hover {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}


/* BidByBid isolated homepage category shortcodes */
.bbb-home-shortcodes .bbb-home-category-section {
    margin: 0 0 34px;
}
.bbb-home-shortcodes .bbb-section-heading {
    margin-bottom: 14px;
}
.bbb-home-shortcodes .bbb-view-all-link {
    text-decoration: none;
    font-weight: 600;
}
.bbb-home-shortcodes .bbb-no-auctions,
.bbb-shortcode-notice {
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
}

/* FINAL FRONTEND CARD CLEANUP: hide open/close dates and bid rule text while keeping timer/data logic active */
.bbb-auction-card .bbb-times,
.bbb-auction-card .bbb-template-dates,
.bbb-auction-card .bbb-next-required,
.bbb-bid-form .bbb-next-required,
.bbb-bid-increment-note,
.bbb-bid-increment-notice{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.bbb-auction-card .bbb-card-body{
  gap:6px!important;
}
.bbb-auction-card .bbb-bid-form{
  margin-top:4px!important;
  padding:9px!important;
  gap:7px!important;
}
.bbb-auction-card .bbb-countdown,
.bbb-auction-card .bbb-countdown-live,
.bbb-auction-card .bbb-fixed-countdown{
  margin:6px 0!important;
}
.bbb-auction-card .bbb-bid-input-label{
  gap:4px!important;
}
.bbb-auction-card .bbb-bid-message{
  min-height:14px!important;
}


/* Compact card height adjustment */
.bbb-auction-card,.bidbybid-auction-card{padding:12px!important;}
.bbb-auction-content,.bidbybid-auction-content{padding:10px 12px!important;}
.bbb-auction-title{margin-bottom:6px!important;line-height:1.3!important;}
.bbb-countdown-wrapper{margin:8px 0!important;}
.bbb-current-bid,.bbb-auction-price{margin:6px 0!important;}
.bbb-place-bid-btn,.bidbybid-place-bid-btn{margin-top:8px!important;padding:10px 14px!important;}

/* BidByBid category blue bars with View All button */
.bbb-category-section > .bbb-section-heading,
.bbb-homepage-auctions .bbb-section-heading,
.bbb-home-shortcodes .bbb-section-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 16px!important;
  padding:13px 18px!important;
  border-radius:10px!important;
  background:#2563eb!important;
  color:#ffffff!important;
  box-shadow:0 8px 22px rgba(37,99,235,.22)!important;
}
.bbb-category-section > .bbb-section-heading > div,
.bbb-homepage-auctions .bbb-section-heading > div,
.bbb-home-shortcodes .bbb-section-heading > div{
  min-width:0!important;
  display:block!important;
}
.bbb-category-section > .bbb-section-heading .bbb-section-kicker,
.bbb-homepage-auctions .bbb-section-heading .bbb-section-kicker,
.bbb-home-shortcodes .bbb-section-heading .bbb-section-kicker{
  display:none!important;
}
.bbb-category-section > .bbb-section-heading h2,
.bbb-homepage-auctions .bbb-section-heading h2,
.bbb-home-shortcodes .bbb-section-heading h2{
  margin:0!important;
  padding:0!important;
  color:#ffffff!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bbb-category-section > .bbb-section-heading a,
.bbb-homepage-auctions .bbb-section-heading a,
.bbb-home-shortcodes .bbb-section-heading a,
.bbb-category-section > .bbb-section-heading .bbb-view-all-link,
.bbb-homepage-auctions .bbb-section-heading .bbb-view-all-link,
.bbb-home-shortcodes .bbb-section-heading .bbb-view-all-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  padding:7px 13px!important;
  border:1px solid rgba(255,255,255,.65)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  color:#ffffff!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.bbb-category-section > .bbb-section-heading a:hover,
.bbb-homepage-auctions .bbb-section-heading a:hover,
.bbb-home-shortcodes .bbb-section-heading a:hover{
  background:rgba(255,255,255,.26)!important;
  color:#ffffff!important;
}
@media (max-width:560px){
  .bbb-category-section > .bbb-section-heading,
  .bbb-homepage-auctions .bbb-section-heading,
  .bbb-home-shortcodes .bbb-section-heading{
    flex-direction:row!important;
    align-items:center!important;
    padding:12px 14px!important;
  }
  .bbb-category-section > .bbb-section-heading h2,
  .bbb-homepage-auctions .bbb-section-heading h2,
  .bbb-home-shortcodes .bbb-section-heading h2{
    font-size:16px!important;
  }
  .bbb-category-section > .bbb-section-heading a,
  .bbb-homepage-auctions .bbb-section-heading a,
  .bbb-home-shortcodes .bbb-section-heading a{
    width:auto!important;
    min-height:30px!important;
    padding:6px 10px!important;
    font-size:12px!important;
  }
}

/* BidByBid Homepage Categories + Sidebar Advert Layout */
.bbb-home-sidebar-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:22px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:start!important;
  box-sizing:border-box!important;
}
.bbb-home-sidebar-main{
  min-width:0!important;
  width:100%!important;
  display:block!important;
}
.bbb-home-sidebar-adverts{
  width:100%!important;
  max-width:300px!important;
  position:sticky!important;
  top:18px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  box-sizing:border-box!important;
}
.bbb-sidebar-title{
  display:block!important;
  width:100%!important;
  background:#2563eb!important;
  color:#fff!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:1.2!important;
  box-sizing:border-box!important;
}
.bbb-sidebar-advert{
  display:block!important;
  width:100%!important;
  background:#fff!important;
  border:1px solid #dbe4ef!important;
  border-radius:14px!important;
  padding:10px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.08)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.bbb-sidebar-advert a{
  display:block!important;
  width:100%!important;
  text-decoration:none!important;
}
.bbb-sidebar-advert img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  border-radius:10px!important;
  object-fit:cover!important;
}
.bbb-sidebar-advert-title{
  display:block!important;
  margin:0 0 8px!important;
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.25!important;
}
.bbb-sidebar-advert-placeholder{
  min-height:180px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  text-align:center!important;
  color:#64748b!important;
  background:#f8fafc!important;
  border-style:dashed!important;
}
.bbb-sidebar-advert-placeholder strong{
  color:#2563eb!important;
  font-size:16px!important;
}
.bbb-sidebar-advert-placeholder span{
  font-size:13px!important;
}
@media (max-width:900px){
  .bbb-home-sidebar-layout{
    grid-template-columns:1fr!important;
  }
  .bbb-home-sidebar-adverts{
    max-width:100%!important;
    position:relative!important;
    top:auto!important;
  }
}

/* BidByBid Full Width Newsletter Shortcode - styled to match plugin blue auction branding */
.bbb-newsletter-wrap{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin:26px 0;
    padding:0;
    clear:both;
}
.bbb-newsletter-inner{
    width:100%;
    box-sizing:border-box;
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#0f172a 0%,#1e40af 42%,#2563eb 100%);
    color:#ffffff;
    border-radius:14px;
    padding:30px 32px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 12px 28px rgba(15,23,42,.18);
}
.bbb-newsletter-inner:before{
    content:"";
    position:absolute;
    inset:-80px -120px auto auto;
    width:260px;
    height:260px;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    pointer-events:none;
}
.bbb-newsletter-copy{
    flex:1 1 auto;
    min-width:220px;
    position:relative;
    z-index:1;
}
.bbb-newsletter-copy h2{
    margin:0 0 7px;
    color:#ffffff!important;
    font-size:28px;
    line-height:1.15;
    font-weight:600;
    letter-spacing:-.02em;
}
.bbb-newsletter-copy p{
    margin:0;
    color:rgba(255,255,255,.90)!important;
    font-size:15px;
    line-height:1.5;
    max-width:640px;
}
.bbb-newsletter-form{
    flex:0 0 430px;
    max-width:100%;
    display:flex;
    gap:10px;
    align-items:center;
    margin:0;
    position:relative;
    z-index:1;
}
.bbb-newsletter-form input[type="email"]{
    width:100%;
    height:46px;
    border:1px solid rgba(255,255,255,.35)!important;
    border-radius:10px;
    padding:0 15px;
    font-size:15px;
    color:#0f172a!important;
    background:#ffffff!important;
    outline:none;
    box-shadow:0 4px 14px rgba(15,23,42,.12)!important;
}
.bbb-newsletter-form input[type="email"]::placeholder{
    color:#64748b;
}
.bbb-newsletter-form input[type="email"]:focus{
    border-color:#bfdbfe!important;
    box-shadow:0 0 0 3px rgba(191,219,254,.35)!important;
}
.bbb-newsletter-form button{
    height:46px;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:10px;
    padding:0 22px;
    background:#2563eb!important;
    color:#ffffff!important;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 4px 14px rgba(15,23,42,.16);
    transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bbb-newsletter-form button:hover{
    background:#1d4ed8!important;
    transform:translateY(-1px);
    box-shadow:0 7px 18px rgba(15,23,42,.22);
}
.bbb-newsletter-left .bbb-newsletter-inner{align-items:flex-start;}
.bbb-newsletter-message{
    max-width:1200px;
    margin:12px auto;
    padding:12px 16px;
    border-radius:10px;
    font-size:14px;
    border:1px solid transparent;
}
.bbb-newsletter-success{background:#dcfce7;color:#166534;border-color:#bbf7d0;}
.bbb-newsletter-error{background:#fee2e2;color:#991b1b;border-color:#fecaca;}
@media(max-width:768px){
    .bbb-newsletter-wrap{margin:20px 0;}
    .bbb-newsletter-inner{display:block;padding:24px 18px;border-radius:12px;text-align:center;}
    .bbb-newsletter-copy{margin-bottom:16px;text-align:center;}
    .bbb-newsletter-copy h2{font-size:23px;}
    .bbb-newsletter-copy p{font-size:14px;}
    .bbb-newsletter-form{display:block;flex-basis:auto;}
    .bbb-newsletter-form input[type="email"]{margin-bottom:10px;}
    .bbb-newsletter-form button{width:100%;}
}
