/* Deals for Buddies - 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:15px!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}}


/* Deals for Buddies 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;}
}


/* Deals for Buddies 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;}


/* Deals for Buddies 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;
}


/* Deals for Buddies 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;}

/* Deals for Buddies 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;
  }
}

/* Deals for Buddies 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;
  }
}

/* Deals for Buddies Full Width Newsletter Shortcode - styled to match plugin blue auction branding */
.bbb-newsletter-wrap{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    margin:34px 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:18px;
    padding:48px 46px;
    min-height:170px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
    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:340px;
    height:340px;
    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:34px;
    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:17px;
    line-height:1.6;
    max-width:640px;
}
.bbb-newsletter-form{
    flex:0 0 520px;
    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:56px;
    border:1px solid rgba(255,255,255,.35)!important;
    border-radius:10px;
    padding:0 18px;
    font-size:16px;
    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:56px;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:10px;
    padding:0 32px;
    background:#2563eb!important;
    color:#ffffff!important;
    font-size:16px;
    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:24px 0;}
    .bbb-newsletter-inner{display:block;padding:34px 22px;border-radius:16px;text-align:center;min-height:0;}
    .bbb-newsletter-copy{margin-bottom:20px;text-align:center;}
    .bbb-newsletter-copy h2{font-size:27px;}
    .bbb-newsletter-copy p{font-size:15px;}
    .bbb-newsletter-form{display:block;flex-basis:auto;}
    .bbb-newsletter-form input[type="email"]{height:52px;margin-bottom:12px;}
    .bbb-newsletter-form button{height:52px;width:100%;}
}

/* Deals for Buddies Proxy / Automatic Bidding */
.bbb-bid-form .bbb-proxy-max-label{
    margin-top:10px!important;
}
.bbb-bid-form .bbb-proxy-max-label small{
    font-size:12px!important;
    font-weight:400!important;
    opacity:.75!important;
}
.bbb-bid-form .bbb-proxy-max-label em{
    display:block!important;
    margin-top:5px!important;
    font-size:12px!important;
    line-height:1.35!important;
    color:#64748b!important;
    font-style:normal!important;
}
.bbb-bid-form .bbb-proxy-max-input{
    border:1px solid #bfdbfe!important;
    background:#f8fbff!important;
}
.bbb-bid-form .bbb-proxy-max-input:focus{
    border-color:#2563eb!important;
    box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;
    outline:none!important;
}

/* Deals for Buddies Share label - frontend auction cards */
.bbb-share-icons-final-row .bbb-share-now-label{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:#2563EB!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:1!important;
    margin-right:2px!important;
    white-space:nowrap!important;
}
.bbb-share-icons-final-row{
    min-height:28px!important;
    height:auto!important;
}


/* Deals for Buddies SOLD image overlay */
.bbb-auction-card .bbb-thumb{position:relative!important;}
.bbb-auction-card.is-sold .bbb-thumb img,
.bbb-auction-card.is-sold .bbb-responsive-img{opacity:.32!important;filter:grayscale(100%)!important;}
.bbb-sold-overlay{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(255,255,255,.42)!important;color:#dc2626!important;font-size:clamp(30px,4vw,48px)!important;font-weight:900!important;letter-spacing:2px!important;text-transform:uppercase!important;text-shadow:0 2px 8px rgba(255,255,255,.9)!important;z-index:5!important;pointer-events:none!important;border-radius:inherit!important;}


/* Deals for Buddies 30-minute urgency highlight */
.bbb-auction-card.bbb-ending-minutes{
  border-color:#f97316!important;
  box-shadow:0 0 0 2px rgba(249,115,22,.18),0 18px 44px rgba(220,38,38,.14)!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-countdown,
.bbb-countdown.bbb-ending-minutes-countdown{
  background:linear-gradient(135deg,#991b1b,#f97316)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.25)!important;
}
.bbb-ending-minutes-badge{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0 0 7px 0!important;
  padding:6px 8px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}
.bbb-ending-minutes-badge[hidden]{display:none!important;}
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.25)!important;
}
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit strong,
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit em{
  color:#fff!important;
}


/* Deals for Buddies HARD FIX: live under-30-minute urgency display */
.bbb-auction-card.bbb-ending-minutes{
  border:2px solid #f97316!important;
  box-shadow:0 0 0 3px rgba(249,115,22,.22),0 18px 44px rgba(220,38,38,.18)!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-fixed-countdown,
.bbb-auction-card.bbb-ending-minutes .bbb-countdown,
.bbb-fixed-countdown.bbb-ending-minutes-countdown,
.bbb-countdown.bbb-ending-minutes-countdown{
  background:linear-gradient(135deg,#dc2626,#f97316)!important;
  border-color:#f97316!important;
  color:#fff!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-cd-unit,
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit{
  background:rgba(255,255,255,.18)!important;
  border-color:rgba(255,255,255,.30)!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-cd-unit strong,
.bbb-auction-card.bbb-ending-minutes .bbb-cd-unit em,
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit strong,
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit em{
  color:#fff!important;
}
.bbb-ending-minutes-badge{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0 0 8px 0!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}
.bbb-ending-minutes-badge[hidden]{display:none!important;}


/* Deals for Buddies final urgency fix: last 2 minutes only.
   Keep countdown layout identical; change only countdown box colour to red. */
.bbb-auction-card.bbb-ending-minutes{
  border-color:var(--bbb-line)!important;
  border-width:1px!important;
  box-shadow:0 10px 30px rgba(15,23,42,.08)!important;
}
.bbb-ending-minutes-badge{
  display:none!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-fixed-countdown,
.bbb-auction-card.bbb-ending-minutes .bbb-countdown,
.bbb-fixed-countdown.bbb-ending-minutes-countdown,
.bbb-countdown.bbb-ending-minutes-countdown{
  background:#dc2626!important;
  border-color:#1b66c9!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(15,23,42,.12)!important;
}
.bbb-auction-card.bbb-ending-minutes .bbb-cd-unit,
.bbb-countdown.bbb-ending-minutes-countdown .bbb-cd-unit,
.bbb-fixed-countdown.bbb-ending-minutes-countdown .bbb-cd-unit{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.12)!important;
}


/* Deals for Buddies - Single Auction Image Box Fix
   Frontpage/grid auction cards are intentionally not affected. */
body.single-bbb_auction .bbb-single-auction-image,
body.single-auction .bbb-single-auction-image,
body.single-bbb-auction .bbb-single-auction-image,
body.single .bbb-single-auction-image,
body.single-bbb_auction .bbb-auction-single-image,
body.single-auction .bbb-auction-single-image,
body.single-bbb-auction .bbb-auction-single-image,
body.single .bbb-auction-single-image,
body.single-bbb_auction .bbb-auction-featured-image,
body.single-auction .bbb-auction-featured-image,
body.single-bbb-auction .bbb-auction-featured-image,
body.single .bbb-auction-featured-image,
body.single-bbb_auction .post-thumbnail,
body.single-auction .post-thumbnail,
body.single-bbb-auction .post-thumbnail {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    overflow: hidden;
}

body.single-bbb_auction .bbb-single-auction-image img,
body.single-auction .bbb-single-auction-image img,
body.single-bbb-auction .bbb-single-auction-image img,
body.single .bbb-single-auction-image img,
body.single-bbb_auction .bbb-auction-single-image img,
body.single-auction .bbb-auction-single-image img,
body.single-bbb-auction .bbb-auction-single-image img,
body.single .bbb-auction-single-image img,
body.single-bbb_auction .bbb-auction-featured-image img,
body.single-auction .bbb-auction-featured-image img,
body.single-bbb-auction .bbb-auction-featured-image img,
body.single .bbb-auction-featured-image img,
body.single-bbb_auction .post-thumbnail img,
body.single-auction .post-thumbnail img,
body.single-bbb-auction .post-thumbnail img {
    width: 100%;
    max-width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    background: #f8fafc;
    margin: 0 auto;
}

@media (max-width: 768px) {
    body.single-bbb_auction .bbb-single-auction-image,
    body.single-auction .bbb-single-auction-image,
    body.single-bbb-auction .bbb-single-auction-image,
    body.single .bbb-single-auction-image,
    body.single-bbb_auction .bbb-auction-single-image,
    body.single-auction .bbb-auction-single-image,
    body.single-bbb-auction .bbb-auction-single-image,
    body.single .bbb-auction-single-image,
    body.single-bbb_auction .bbb-auction-featured-image,
    body.single-auction .bbb-auction-featured-image,
    body.single-bbb-auction .bbb-auction-featured-image,
    body.single .bbb-auction-featured-image,
    body.single-bbb_auction .post-thumbnail,
    body.single-auction .post-thumbnail,
    body.single-bbb-auction .post-thumbnail {
        max-width: 100%;
        padding: 10px;
        border-radius: 12px;
    }

    body.single-bbb_auction .bbb-single-auction-image img,
    body.single-auction .bbb-single-auction-image img,
    body.single-bbb-auction .bbb-single-auction-image img,
    body.single .bbb-single-auction-image img,
    body.single-bbb_auction .bbb-auction-single-image img,
    body.single-auction .bbb-auction-single-image img,
    body.single-bbb-auction .bbb-auction-single-image img,
    body.single .bbb-auction-single-image img,
    body.single-bbb_auction .bbb-auction-featured-image img,
    body.single-auction .bbb-auction-featured-image img,
    body.single-bbb-auction .bbb-auction-featured-image img,
    body.single .bbb-auction-featured-image img,
    body.single-bbb_auction .post-thumbnail img,
    body.single-auction .post-thumbnail img,
    body.single-bbb-auction .post-thumbnail img {
        height: 300px;
    }
}


/* Deals for Buddies - HARD FIX: Single Auction Featured Image Box
   This targets the real WordPress featured image output on opened auction pages only.
   It does not affect homepage/frontpage auction cards. */
body.single-bbb_auction .bbb-single-featured-image-box,
body.single-product .bbb-single-featured-image-box {
    width: 100% !important;
    max-width: 640px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 0 24px 0 !important;
}

body.single-bbb_auction .bbb-single-featured-image-box img.bbb-single-featured-img,
body.single-product .bbb-single-featured-image-box img.bbb-single-featured-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 420px !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    margin: 0 auto !important;
}

/* Safety target for WooCommerce single product auction image if the theme bypasses post_thumbnail_html */
body.single-product .product .woocommerce-product-gallery,
body.single-product .product .woocommerce-product-gallery__wrapper {
    max-width: 640px !important;
}

body.single-product .product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 420px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    body.single-bbb_auction .bbb-single-featured-image-box,
    body.single-product .bbb-single-featured-image-box {
        max-width: 100% !important;
        padding: 10px !important;
        border-radius: 12px !important;
    }

    body.single-bbb_auction .bbb-single-featured-image-box img.bbb-single-featured-img,
    body.single-product .bbb-single-featured-image-box img.bbb-single-featured-img,
    body.single-product .product .woocommerce-product-gallery__image img {
        height: 300px !important;
    }
}


/* Deals for Buddies - Single Auction Thumbnail Column
   Only applies to the opened single auction/product page. */
body.single-bbb_auction .bbb-single-image-gallery-wrap,
body.single-product .bbb-single-image-gallery-wrap {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 780px !important;
    margin: 0 0 24px 0 !important;
}

body.single-bbb_auction .bbb-single-image-gallery-wrap .bbb-single-featured-image-box,
body.single-product .bbb-single-image-gallery-wrap .bbb-single-featured-image-box {
    flex: 1 1 auto !important;
    margin: 0 !important;
}

body.single-bbb_auction .bbb-single-gallery-thumbs,
body.single-product .bbb-single-gallery-thumbs {
    width: 92px !important;
    flex: 0 0 92px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 10px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
    box-sizing: border-box !important;
    max-height: 450px !important;
    overflow-y: auto !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb,
body.single-product .bbb-single-gallery-thumb {
    width: 70px !important;
    height: 70px !important;
    padding: 4px !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb:hover,
body.single-product .bbb-single-gallery-thumb:hover,
body.single-bbb_auction .bbb-single-gallery-thumb.is-active,
body.single-product .bbb-single-gallery-thumb.is-active {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16) !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb img,
body.single-product .bbb-single-gallery-thumb img,
body.single-bbb_auction .bbb-single-gallery-thumb-img,
body.single-product .bbb-single-gallery-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

@media (max-width: 768px) {
    body.single-bbb_auction .bbb-single-image-gallery-wrap,
    body.single-product .bbb-single-image-gallery-wrap {
        flex-direction: column !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    body.single-bbb_auction .bbb-single-gallery-thumbs,
    body.single-product .bbb-single-gallery-thumbs {
        width: 100% !important;
        flex: none !important;
        flex-direction: row !important;
        max-height: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    body.single-bbb_auction .bbb-single-gallery-thumb,
    body.single-product .bbb-single-gallery-thumb {
        flex: 0 0 66px !important;
        width: 66px !important;
        height: 66px !important;
    }
}


/* Deals for Buddies - HARD FIX: Right-side thumbnail block on single auction page */
body.single-bbb_auction .bbb-single-image-gallery-wrap,
body.single-product .bbb-single-image-gallery-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 780px !important;
}

body.single-bbb_auction .bbb-single-gallery-thumbs,
body.single-product .bbb-single-gallery-thumbs {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 10px !important;
    box-shadow: 0 6px 18px rgba(15,23,42,.06) !important;
    box-sizing: border-box !important;
    max-height: 450px !important;
    overflow-y: auto !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb,
body.single-product .bbb-single-gallery-thumb {
    display: flex !important;
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    min-height: 74px !important;
    padding: 4px !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb img,
body.single-product .bbb-single-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    body.single-bbb_auction .bbb-single-image-gallery-wrap,
    body.single-product .bbb-single-image-gallery-wrap {
        flex-direction: column !important;
        max-width: 100% !important;
    }

    body.single-bbb_auction .bbb-single-gallery-thumbs,
    body.single-product .bbb-single-gallery-thumbs {
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
}


/* Larger single-page gallery thumbnails */
body.single-bbb_auction .bbb-single-gallery-thumbs,
body.single-product .bbb-single-gallery-thumbs{
    width:120px !important;
    min-width:120px !important;
    max-width:120px !important;
}

body.single-bbb_auction .bbb-single-gallery-thumb,
body.single-product .bbb-single-gallery-thumb{
    width:95px !important;
    height:95px !important;
    min-width:95px !important;
    min-height:95px !important;
}


/* Last 2 minutes: make Bid Now button match red countdown */
.bbb-under-5 .bbb-bid-now-btn,
.bbb-under-5 .bbb-place-bid-btn,
.bbb-under-5 .bidbybid-place-bid-btn{
    background:#dc2626 !important;
    border-color:#dc2626 !important;
    color:#fff !important;
}

.bbb-under-5 .bbb-bid-now-btn:hover,
.bbb-under-5 .bbb-place-bid-btn:hover,
.bbb-under-5 .bidbybid-place-bid-btn:hover{
    background:#b91c1c !important;
    border-color:#b91c1c !important;
}


/* Deals for Buddies - HARD FIX: red Bid Now button in final 5 minutes */
.bbb-last-5-active .bbb-last-5-bid-button,
.bbb-last-5-active .bbb-bid-now-btn,
.bbb-last-5-active .bbb-place-bid-btn,
.bbb-last-5-active .bidbybid-place-bid-btn,
.bbb-last-5-active .bidbybid-bid-submit,
.bbb-last-5-active .bbb-bid-submit,
button.bbb-last-5-bid-button,
input.bbb-last-5-bid-button,
a.bbb-last-5-bid-button {
    background: #1b66c9 !important;
    background-color: #0b4ea2 !important;
    border-color: #1b66c9 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.bbb-last-5-active .bbb-last-5-bid-button:hover,
.bbb-last-5-active .bbb-bid-now-btn:hover,
.bbb-last-5-active .bbb-place-bid-btn:hover,
.bbb-last-5-active .bidbybid-place-bid-btn:hover,
.bbb-last-5-active .bidbybid-bid-submit:hover,
.bbb-last-5-active .bbb-bid-submit:hover,
button.bbb-last-5-bid-button:hover,
input.bbb-last-5-bid-button:hover,
a.bbb-last-5-bid-button:hover {
    background: #0b4ea2 !important;
    background-color: #b91c1c !important;
    border-color: #0b4ea2 !important;
    color: #ffffff !important;
}


/* Deals for Buddies - FINAL FIX: actual bid form button red in last 2 minutes */
.bbb-bid-form.bbb-last-5-form button,
.bbb-bid-form.bbb-last-5-form input[type="submit"],
.bbb-last-5-active .bbb-bid-form button,
.bbb-last-5-active .bbb-bid-form input[type="submit"],
button.bbb-last-5-bid-button,
input.bbb-last-5-bid-button {
    background:#dc2626 !important;
    background-color:#dc2626 !important;
    border-color:#dc2626 !important;
    color:#ffffff !important;
}
.bbb-bid-form.bbb-last-5-form button:hover,
.bbb-bid-form.bbb-last-5-form input[type="submit"]:hover,
.bbb-last-5-active .bbb-bid-form button:hover,
.bbb-last-5-active .bbb-bid-form input[type="submit"]:hover,
button.bbb-last-5-bid-button:hover,
input.bbb-last-5-bid-button:hover {
    background:#b91c1c !important;
    background-color:#b91c1c !important;
    border-color:#b91c1c !important;
    color:#ffffff !important;
}


/* FINAL: Deals for Buddies exact last-2-minute red Bid Now button
   Normal auctions remain unchanged. */
body .bbb-auction-card.bbb-ending-minutes form.bbb-bid-form button,
body form.bbb-bid-form.bbb-last-5-form button,
body .bbb-auction-card.bbb-ending-minutes form.bbb-bid-form input[type="submit"],
body form.bbb-bid-form.bbb-last-5-form input[type="submit"],
body button.bbb-last-5-bid-button,
body input.bbb-last-5-bid-button {
    background: #1b66c9 !important;
    background-color: #0b4ea2 !important;
    border-color: #1b66c9 !important;
    color: #ffffff !important;
}

body .bbb-auction-card.bbb-ending-minutes form.bbb-bid-form button:hover,
body form.bbb-bid-form.bbb-last-5-form button:hover,
body .bbb-auction-card.bbb-ending-minutes form.bbb-bid-form input[type="submit"]:hover,
body form.bbb-bid-form.bbb-last-5-form input[type="submit"]:hover,
body button.bbb-last-5-bid-button:hover,
body input.bbb-last-5-bid-button:hover {
    background: #0b4ea2 !important;
    background-color: #b91c1c !important;
    border-color: #0b4ea2 !important;
    color: #ffffff !important;
}

/* Deals for Buddies Rebuilt Invoice System */
.bbb-rebuilt-invoices table.widefat td,.bbb-rebuilt-invoices table.widefat th{vertical-align:middle}
.bbb-customer-invoices table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.bbb-customer-invoices th{background:#2563eb;color:#fff;text-align:left;padding:12px}
.bbb-customer-invoices td{padding:12px;border-bottom:1px solid #e5e7eb}
.bbb-customer-invoices .button{background:#2563eb;color:#fff;border-radius:8px;padding:8px 14px;text-decoration:none;display:inline-block}



/* Deals for Buddies Dashboard Analytics - polished admin layout */
.bbb-analytics-wrap{
    max-width:1400px;
}
.bbb-analytics-hero{
    margin:18px 0 22px;
    padding:26px 28px;
    border-radius:20px;
    background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 62%,#2563eb 100%);
    color:#fff;
    box-shadow:0 16px 38px rgba(15,23,42,.18);
    display:flex;
    justify-content:space-between;
    gap:22px;
    align-items:center;
}
.bbb-analytics-hero h1{
    color:#fff;
    margin:4px 0 6px;
    font-size:30px;
    line-height:1.15;
    font-weight:800;
}
.bbb-analytics-hero p{
    color:#dbeafe;
    margin:0;
    font-size:14px;
    max-width:720px;
}
.bbb-analytics-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.13);
    color:#eff6ff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.bbb-analytics-hero-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.bbb-analytics-hero-actions .button{
    border-radius:10px!important;
    padding:5px 16px!important;
    min-height:36px;
    font-weight:700;
}
.bbb-analytics-section-title{
    margin:24px 0 12px!important;
    color:#0f172a;
    font-size:18px!important;
    font-weight:800!important;
}
.bbb-analytics-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(205px,1fr));
    gap:16px;
    margin:14px 0 30px;
}
.bbb-analytics-card{
    position:relative;
    background:#fff;
    border:1px solid #dbe3ef;
    border-radius:18px;
    padding:18px 18px 16px;
    box-shadow:0 8px 24px rgba(15,23,42,.07);
    overflow:hidden;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bbb-analytics-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 34px rgba(15,23,42,.12);
    border-color:#bfdbfe;
}
.bbb-analytics-card:before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:5px;
    background:#2563eb;
}
.bbb-analytics-card.is-money:before{background:#16a34a;}
.bbb-analytics-card.is-auction:before{background:#2563eb;}
.bbb-analytics-card.is-bid:before{background:#7c3aed;}
.bbb-analytics-card.is-invoice:before{background:#f59e0b;}
.bbb-card-icon{
    width:36px;
    height:36px;
    border-radius:12px;
    background:#eff6ff;
    margin-bottom:12px;
}
.bbb-analytics-card.is-money .bbb-card-icon{background:#dcfce7;}
.bbb-analytics-card.is-bid .bbb-card-icon{background:#ede9fe;}
.bbb-analytics-card.is-invoice .bbb-card-icon{background:#fef3c7;}
.bbb-analytics-card span{
    display:block;
    font-size:11px;
    color:#64748b;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.055em;
}
.bbb-analytics-card strong{
    display:block;
    margin:8px 0 5px;
    font-size:25px;
    line-height:1.05;
    color:#0f172a;
    font-weight:850;
}
.bbb-analytics-card.is-money strong{color:#15803d;}
.bbb-analytics-card.is-auction strong{color:#1d4ed8;}
.bbb-analytics-card.is-bid strong{color:#6d28d9;}
.bbb-analytics-card.is-invoice strong{color:#b45309;}
.bbb-analytics-card small{
    color:#64748b;
    line-height:1.35;
}
.bbb-analytics-two-col{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:18px;
    margin:14px 0 28px;
}
.bbb-analytics-panel{
    background:#fff;
    border:1px solid #dbe3ef;
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 24px rgba(15,23,42,.07);
}
.bbb-analytics-panel h2{
    margin:0 0 14px;
    color:#0f172a;
    font-size:18px;
    font-weight:800;
}
.bbb-analytics-panel table.widefat{
    border:0;
    box-shadow:none;
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    border-radius:12px;
}
.bbb-analytics-panel table.widefat thead th{
    background:#f8fafc;
    color:#334155;
    font-weight:800;
    border-bottom:1px solid #e2e8f0;
    padding:11px 12px;
}
.bbb-analytics-panel table.widefat tbody td{
    padding:11px 12px;
    vertical-align:middle;
}
.bbb-analytics-panel table.widefat tbody tr:hover td{
    background:#eff6ff;
}
@media (max-width:782px){
    .bbb-analytics-hero{
        flex-direction:column;
        align-items:flex-start;
        padding:22px;
    }
    .bbb-analytics-hero-actions{
        justify-content:flex-start;
    }
    .bbb-analytics-two-col{
        grid-template-columns:1fr;
    }
}


/* Deals for Buddies Dashboard Analytics - modern table/dashboard refinement */
.bbb-analytics-wrap{
    --bbb-blue:#2563eb;
    --bbb-blue-dark:#1d4ed8;
    --bbb-navy:#0f172a;
    --bbb-soft:#eff6ff;
    --bbb-border:#dbe7f5;
    --bbb-muted:#64748b;
}
.bbb-analytics-hero{
    border:1px solid rgba(255,255,255,.18);
    position:relative;
    overflow:hidden;
}
.bbb-analytics-hero:after{
    content:"";
    position:absolute;
    right:-80px;
    top:-80px;
    width:260px;
    height:260px;
    border-radius:50%;
    background:rgba(255,255,255,.09);
}
.bbb-analytics-hero > *{
    position:relative;
    z-index:1;
}
.bbb-analytics-grid{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.bbb-analytics-card{
    border-color:var(--bbb-border);
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.bbb-analytics-card strong{
    letter-spacing:-.03em;
}
.bbb-analytics-summary-strip{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:14px;
    margin:0 0 30px;
}
.bbb-analytics-summary-strip > div{
    background:#0f172a;
    color:#fff;
    border-radius:18px;
    padding:18px 20px;
    box-shadow:0 10px 28px rgba(15,23,42,.14);
}
.bbb-analytics-summary-strip span{
    display:block;
    color:#bfdbfe;
    text-transform:uppercase;
    letter-spacing:.06em;
    font-size:11px;
    font-weight:800;
}
.bbb-analytics-summary-strip strong{
    display:block;
    color:#fff;
    font-size:24px;
    margin:7px 0 4px;
}
.bbb-analytics-summary-strip small{
    color:#cbd5e1;
}
.bbb-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:16px;
    padding-bottom:14px;
    border-bottom:1px solid #e5edf8;
}
.bbb-panel-head span{
    display:block;
    color:var(--bbb-blue-dark);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.07em;
    font-weight:900;
}
.bbb-panel-head h2{
    margin:3px 0 0!important;
}
.bbb-panel-head .button{
    border-radius:10px!important;
    font-weight:700;
}
.bbb-analytics-panel{
    padding:0;
    overflow:hidden;
}
.bbb-analytics-panel .bbb-panel-head{
    padding:18px 18px 14px;
    margin:0;
    background:#fff;
}
.bbb-analytics-panel table.widefat{
    border-radius:0;
    width:100%;
}
.bbb-analytics-panel table.widefat thead th{
    background:#f1f5f9;
    color:#0f172a;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.bbb-analytics-panel table.widefat tbody td{
    background:#fff;
    border-bottom:1px solid #edf2f7;
}
.bbb-analytics-panel table.widefat tbody tr:last-child td{
    border-bottom:0;
}
.bbb-table-main{
    display:block;
    color:#0f172a;
    font-weight:800;
    margin-bottom:3px;
}
.bbb-analytics-panel small{
    display:block;
    color:#64748b;
    font-size:11px;
}
.bbb-status-pill,
.bbb-count-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.03em;
    background:#e0f2fe;
    color:#075985;
}
.bbb-status-pill.status-paid{
    background:#dcfce7;
    color:#166534;
}
.bbb-status-pill.status-unpaid,
.bbb-status-pill.status-draft{
    background:#fef3c7;
    color:#92400e;
}
.bbb-status-pill.status-cancelled{
    background:#fee2e2;
    color:#991b1b;
}
.bbb-count-pill{
    background:#ede9fe;
    color:#5b21b6;
}
@media (max-width:782px){
    .bbb-panel-head{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* Deals for Buddies Customer Auction Account v2 */
.bbb-account-v2{max-width:1180px;margin:0 auto;font-family:inherit}
.bbb-account-v2 .bbb-account-hero{background:linear-gradient(135deg,#0f172a,#1d4ed8 62%,#2563eb);color:#fff;border-radius:24px;padding:30px;margin:20px 0;box-shadow:0 18px 42px rgba(15,23,42,.18)}
.bbb-account-v2 .bbb-account-hero span{display:inline-flex;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#eff6ff}
.bbb-account-v2 .bbb-account-hero h2{margin:8px 0 6px;color:#fff;font-size:34px;line-height:1.08}
.bbb-account-v2 .bbb-account-hero p{color:#dbeafe;margin:0}
.bbb-account-v2 .bbb-account-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:20px 0}
.bbb-account-v2 .bbb-account-card{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dbe7f5;border-radius:20px;padding:20px;box-shadow:0 10px 26px rgba(15,23,42,.08);position:relative;overflow:hidden}
.bbb-account-v2 .bbb-account-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:#2563eb}
.bbb-account-v2 .bbb-account-card.is-won:before{background:#7c3aed}.bbb-account-v2 .bbb-account-card.is-unpaid:before{background:#f59e0b}.bbb-account-v2 .bbb-account-card.is-paid:before{background:#16a34a}
.bbb-account-v2 .bbb-account-card span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.bbb-account-v2 .bbb-account-card strong{display:block;margin:9px 0 5px;color:#0f172a;font-size:28px;font-weight:900;line-height:1}
.bbb-account-v2 .bbb-account-card small{color:#64748b}
.bbb-account-v2 .bbb-account-section{background:#fff;border:1px solid #dbe7f5;border-radius:20px;box-shadow:0 10px 26px rgba(15,23,42,.08);overflow:hidden;margin:22px 0}
.bbb-account-v2 .bbb-account-section-head{padding:20px;border-bottom:1px solid #e5edf8;background:#fff}
.bbb-account-v2 .bbb-account-section-head span{display:block;color:#1d4ed8;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.bbb-account-v2 .bbb-account-section-head h3{margin:4px 0 0;color:#0f172a;font-size:20px}
.bbb-account-v2 .bbb-account-table-wrap{overflow-x:auto}
.bbb-account-v2 table{width:100%;border-collapse:collapse}
.bbb-account-v2 th{background:#f1f5f9;color:#0f172a;text-align:left;padding:14px;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.bbb-account-v2 td{padding:14px;border-bottom:1px solid #edf2f7;vertical-align:middle}
.bbb-account-v2 tr:hover td{background:#eff6ff}
.bbb-account-v2 small{display:block;color:#64748b;font-size:11px;margin-top:4px}
.bbb-account-v2 .bbb-account-pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#e0f2fe;color:#075985}
.bbb-account-v2 .bbb-account-pill.is-leading,.bbb-account-v2 .bbb-account-pill.status-paid{background:#dcfce7;color:#166534}
.bbb-account-v2 .bbb-account-pill.is-outbid,.bbb-account-v2 .bbb-account-pill.status-unpaid,.bbb-account-v2 .bbb-account-pill.status-draft{background:#fef3c7;color:#92400e}
.bbb-account-v2 .bbb-account-pill.status-cancelled{background:#fee2e2;color:#991b1b}
.bbb-account-v2 .bbb-account-button{display:inline-flex;padding:8px 12px;border-radius:12px;background:#2563eb;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900}
.bbb-account-v2 .bbb-account-button:hover{background:#1d4ed8;color:#fff!important}
.bbb-account-login-required{max-width:520px;margin:30px auto;background:#fff;border:1px solid #dbe7f5;border-radius:20px;padding:24px;box-shadow:0 10px 26px rgba(15,23,42,.08)}

/* Deals for Buddies Customer Account Overview - Phase 1 */
.bbb-account-overview{
    max-width:1180px;
    margin:0 auto;
    font-family:inherit;
}
.bbb-account-overview-hero{
    background:linear-gradient(135deg,#0f172a,#1d4ed8 62%,#2563eb);
    color:#fff;
    border-radius:24px;
    padding:32px;
    margin:20px 0;
    box-shadow:0 18px 42px rgba(15,23,42,.18);
    position:relative;
    overflow:hidden;
}
.bbb-account-overview-hero:after{
    content:"";
    position:absolute;
    right:-80px;
    top:-90px;
    width:280px;
    height:280px;
    border-radius:50%;
    background:rgba(255,255,255,.10);
}
.bbb-account-overview-hero > div{
    position:relative;
    z-index:1;
}
.bbb-account-overview-hero span{
    display:inline-flex;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.07em;
    color:#eff6ff;
}
.bbb-account-overview-hero h2{
    margin:10px 0 8px;
    color:#fff;
    font-size:34px;
    line-height:1.08;
    font-weight:900;
}
.bbb-account-overview-hero p{
    color:#dbeafe;
    margin:0 0 14px;
    font-size:15px;
}
.bbb-account-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    color:#e0f2fe;
    font-size:13px;
}
.bbb-account-meta strong{
    color:#fff;
}
.bbb-account-meta em{
    opacity:.55;
    font-style:normal;
}
.bbb-account-overview-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
    margin:20px 0 28px;
}
.bbb-account-overview-card{
    background:linear-gradient(180deg,#fff,#f8fbff);
    border:1px solid #dbe7f5;
    border-radius:20px;
    padding:22px;
    box-shadow:0 10px 26px rgba(15,23,42,.08);
    position:relative;
    overflow:hidden;
    min-height:132px;
}
.bbb-account-overview-card:before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background:#2563eb;
}
.bbb-account-overview-card.is-won:before{background:#7c3aed}
.bbb-account-overview-card.is-unpaid:before{background:#f59e0b}
.bbb-account-overview-card.is-outstanding:before{background:#16a34a}
.bbb-account-overview-card span{
    display:block;
    color:#64748b;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.bbb-account-overview-card strong{
    display:block;
    margin:12px 0 6px;
    color:#0f172a;
    font-size:30px;
    font-weight:900;
    line-height:1;
}
.bbb-account-overview-card.is-active strong{color:#1d4ed8}
.bbb-account-overview-card.is-won strong{color:#6d28d9}
.bbb-account-overview-card.is-unpaid strong{color:#b45309}
.bbb-account-overview-card.is-outstanding strong{color:#15803d}
.bbb-account-overview-card small{
    color:#64748b;
}
.bbb-account-login-required{
    max-width:520px;
    margin:30px auto;
    background:#fff;
    border:1px solid #dbe7f5;
    border-radius:20px;
    padding:24px;
    box-shadow:0 10px 26px rgba(15,23,42,.08);
}
@media(max-width:782px){
    .bbb-account-overview-hero{
        padding:24px;
    }
    .bbb-account-overview-hero h2{
        font-size:28px;
    }
}


/* Deals for Buddies Customer Dashboard V2 - Pay Now button emphasis */
.bbb-dashboard-v2 .bbb-v2-button.bbb-v2-pay-now,
.bbb-dashboard-v2 .bbb-v2-pay-now,
a.bbb-v2-pay-now {
    background: #1b66c9 !important;
    border: 1px solid #dc2626 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    border-radius: 999px !important;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(220, 38, 38, .22);
    line-height: 1.2;
}
.bbb-dashboard-v2 .bbb-v2-button.bbb-v2-pay-now:hover,
.bbb-dashboard-v2 .bbb-v2-pay-now:hover,
a.bbb-v2-pay-now:hover {
    background: #0b4ea2 !important;
    border-color: #0b4ea2 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(185, 28, 28, .28);
}

/* Deals for Buddies V2 - Modern Bidding History Box */
.bbb-history {
    margin: 22px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.bbb-history h3 {
    margin: 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbb-history h3::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18);
    display: inline-block;
    flex: 0 0 auto;
}

.bbb-history table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: #ffffff;
    font-size: 14px;
}

.bbb-history thead th {
    background: #f9fafb;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 13px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.bbb-history tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #111827;
    vertical-align: middle;
}

.bbb-history tbody tr:last-child td {
    border-bottom: 0;
}

.bbb-history tbody tr:hover td {
    background: #fff7f7;
}

.bbb-history tbody td:nth-child(2) {
    color: #dc2626;
    font-weight: 800;
    white-space: nowrap;
}

.bbb-history tbody td:nth-child(3) {
    font-weight: 700;
    color: #374151;
    white-space: nowrap;
}

.bbb-history tbody td:last-child {
    color: #6b7280;
    white-space: nowrap;
}

.bbb-history tbody tr td[colspan] {
    padding: 22px 16px;
    text-align: center;
    color: #6b7280;
    background: #ffffff;
    font-weight: 500;
}

.bbb-bids-history h3 {
    display: none;
}

.bbb-bids-history {
    margin-top: 14px;
}

@media (max-width: 640px) {
    .bbb-history {
        border-radius: 12px;
        overflow-x: auto;
    }

    .bbb-history h3 {
        font-size: 16px;
        padding: 14px 16px;
        position: sticky;
        left: 0;
    }

    .bbb-history table {
        min-width: 560px;
    }

    .bbb-history thead th,
    .bbb-history tbody td {
        padding: 12px 13px;
    }
}


/* Deals for Buddies V2 - Product Listing Bidding History Box */
.single-bbb_auction .bbb-single-box .bbb-single-bid-history,
.single-product .bbb-single-box .bbb-single-bid-history,
.bbb-single-box .bbb-single-bid-history {
    margin: 26px 0 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10) !important;
    overflow: hidden !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history h3,
.single-product .bbb-single-box .bbb-single-bid-history h3,
.bbb-single-box .bbb-single-bid-history h3 {
    margin: 0 !important;
    padding: 17px 22px !important;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
    color: #ffffff !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 0 !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history h3::before,
.single-product .bbb-single-box .bbb-single-bid-history h3::before,
.bbb-single-box .bbb-single-bid-history h3::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    background: #1b66c9 !important;
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.20) !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history table,
.single-product .bbb-single-box .bbb-single-bid-history table,
.bbb-single-box .bbb-single-bid-history table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    font-size: 14px !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history thead th,
.single-product .bbb-single-box .bbb-single-bid-history thead th,
.bbb-single-box .bbb-single-bid-history thead th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.045em !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    text-align: left !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history tbody td,
.single-product .bbb-single-box .bbb-single-bid-history tbody td,
.bbb-single-box .bbb-single-bid-history tbody td {
    padding: 15px 18px !important;
    color: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history tbody tr:last-child td,
.single-product .bbb-single-box .bbb-single-bid-history tbody tr:last-child td,
.bbb-single-box .bbb-single-bid-history tbody tr:last-child td {
    border-bottom: 0 !important;
}

.single-bbb_auction .bbb-single-box .bbb-single-bid-history tbody tr:hover td,
.single-product .bbb-single-box .bbb-single-bid-history tbody tr:hover td,
.bbb-single-box .bbb-single-bid-history tbody tr:hover td {
    background: #fff7f7 !important;
}

.bbb-single-box .bbb-single-bid-history tbody td:nth-child(2) {
    color: #0b4ea2 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.bbb-single-box .bbb-single-bid-history tbody td:nth-child(3) {
    color: #ffffff !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.bbb-single-box .bbb-single-bid-history tbody td:last-child {
    color: #64748b !important;
    white-space: nowrap !important;
}

.bbb-single-box .bbb-single-bid-history tbody td[colspan] {
    padding: 24px 18px !important;
    text-align: center !important;
    color: #64748b !important;
    font-weight: 600 !important;
    background: #ffffff !important;
}

@media (max-width: 700px) {
    .bbb-single-box .bbb-single-bid-history {
        border-radius: 14px !important;
    }
    .bbb-single-box .bbb-single-bid-history table,
    .bbb-single-box .bbb-single-bid-history thead,
    .bbb-single-box .bbb-single-bid-history tbody,
    .bbb-single-box .bbb-single-bid-history th,
    .bbb-single-box .bbb-single-bid-history td,
    .bbb-single-box .bbb-single-bid-history tr {
        display: block !important;
        width: 100% !important;
    }
    .bbb-single-box .bbb-single-bid-history thead {
        display: none !important;
    }
    .bbb-single-box .bbb-single-bid-history tbody tr {
        padding: 12px 16px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .bbb-single-box .bbb-single-bid-history tbody tr:last-child {
        border-bottom: 0 !important;
    }
    .bbb-single-box .bbb-single-bid-history tbody td {
        padding: 6px 0 !important;
        border-bottom: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 16px !important;
    }
    .bbb-single-box .bbb-single-bid-history tbody td:nth-child(1)::before { content: "Bidder"; color: #64748b; font-weight: 800; }
    .bbb-single-box .bbb-single-bid-history tbody td:nth-child(2)::before { content: "Amount"; color: #64748b; font-weight: 800; }
    .bbb-single-box .bbb-single-bid-history tbody td:nth-child(3)::before { content: "Qty"; color: #64748b; font-weight: 800; }
    .bbb-single-box .bbb-single-bid-history tbody td:nth-child(4)::before { content: "Time"; color: #64748b; font-weight: 800; }
    .bbb-single-box .bbb-single-bid-history tbody td[colspan] {
        display: block !important;
        text-align: center !important;
    }
    .bbb-single-box .bbb-single-bid-history tbody td[colspan]::before {
        content: none !important;
    }
}

/* Deals for Buddies V2 - live refresh feedback for single auction bidding history */
.bbb-single-bid-history.bbb-history-updated {
    animation: bbbHistoryUpdatedPulse 1.2s ease-out 1;
}
@keyframes bbbHistoryUpdatedPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .35); transform: translateY(-1px); }
    100% { box-shadow: 0 12px 30px rgba(15, 23, 42, .08); transform: translateY(0); }
}

/* === Deals for Buddies V2 - customer Auction End Offers dashboard polish === */
.bbb-customer-offers-dashboard,
.bbb-v2-offers-section{
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    border-radius:20px!important;
    padding:22px!important;
    box-shadow:0 14px 34px rgba(15,23,42,.08)!important;
}
.bbb-offers-hero{
    background:linear-gradient(135deg,#111827,#1f2937)!important;
    color:#fff!important;
    border-radius:18px!important;
    padding:24px!important;
    margin-bottom:18px!important;
    box-shadow:0 14px 30px rgba(17,24,39,.22)!important;
}
.bbb-offers-hero h2{color:#fff!important;margin:2px 0 6px!important;font-size:28px!important;font-weight:900!important;letter-spacing:-.03em!important}
.bbb-offers-hero p{color:#d1d5db!important;margin:0!important;max-width:760px!important;font-size:14px!important;line-height:1.55!important}
.bbb-v2-kicker{display:inline-flex!important;background:#dc2626!important;color:#fff!important;border-radius:999px!important;padding:5px 10px!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.08em!important;margin-bottom:8px!important}
.bbb-offers-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important}
.bbb-offers-stat{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:16px!important;padding:16px!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important}
.bbb-offers-stat span{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.05em!important;margin-bottom:6px!important}
.bbb-offers-stat strong{display:block!important;color:#111827!important;font-size:28px!important;font-weight:950!important;line-height:1!important}
.bbb-offers-stat small{display:block!important;color:#94a3b8!important;margin-top:6px!important;font-weight:700!important}
.bbb-v2-card-grid,.bbb-offer-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important;gap:16px!important}
.bbb-offer-card.bbb-v2-card{display:grid!important;grid-template-columns:116px 1fr!important;gap:16px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-left:6px solid #dc2626!important;border-radius:18px!important;padding:16px!important;box-shadow:0 12px 26px rgba(15,23,42,.08)!important;transition:transform .18s ease,box-shadow .18s ease!important}
.bbb-offer-card.bbb-v2-card:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px rgba(15,23,42,.12)!important}
.bbb-offer-media img{width:116px!important;height:116px!important;object-fit:contain!important;background:#f8fafc!important;border:1px solid #eef2f7!important;border-radius:14px!important;padding:8px!important}
.bbb-offer-content h3{margin:8px 0 12px!important;font-size:18px!important;line-height:1.25!important;font-weight:900!important;color:#111827!important}
.bbb-offer-content h3 a{color:#111827!important;text-decoration:none!important}.bbb-offer-content h3 a:hover{color:#dc2626!important}
.bbb-offer-topline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
.bbb-offer-badge{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:5px 10px!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.05em!important;background:#fee2e2!important;color:#991b1b!important}
.bbb-offer-badge.status-accepted{background:#dcfce7!important;color:#166534!important}.bbb-offer-badge.status-declined,.bbb-offer-badge.status-expired{background:#f1f5f9!important;color:#475569!important}
.bbb-offer-expiry{color:#64748b!important;font-size:12px!important;font-weight:800!important}
.bbb-offer-values{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:12px 0!important}
.bbb-offer-values div{background:#f8fafc!important;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:10px!important}
.bbb-offer-values span{display:block!important;color:#64748b!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;margin-bottom:4px!important}.bbb-offer-values strong{display:block!important;color:#111827!important;font-size:16px!important;font-weight:950!important}
.bbb-offer-values div:first-child strong,.bbb-offer-values div:last-child strong{color:#dc2626!important}
.bbb-offer-message{background:#fff7ed!important;border:1px solid #fed7aa!important;border-radius:12px!important;padding:11px!important;margin:12px 0!important}.bbb-offer-message strong{color:#9a3412!important;font-size:12px!important;text-transform:uppercase!important}.bbb-offer-message p{margin:4px 0 0!important;color:#7c2d12!important}
.bbb-offer-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:14px!important}.bbb-offer-accept,.bbb-offer-decline{border-radius:10px!important;padding:11px 16px!important;text-decoration:none!important;font-weight:950!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.bbb-offer-accept{background:#16a34a!important;color:#fff!important;box-shadow:0 8px 16px rgba(22,163,74,.18)!important}.bbb-offer-accept:hover{background:#15803d!important;color:#fff!important}.bbb-offer-decline{background:#f1f5f9!important;color:#334155!important}.bbb-offer-decline:hover{background:#e2e8f0!important;color:#111827!important}
.bbb-offer-note{border-radius:12px!important;padding:10px 12px!important;margin:12px 0 0!important;font-weight:800!important}.bbb-offer-note.success{background:#dcfce7!important;color:#166534!important}.bbb-offer-note.muted{background:#f1f5f9!important;color:#475569!important}
.bbb-empty-state{background:#fff!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;text-align:center!important;padding:34px 18px!important}.bbb-empty-icon{width:48px!important;height:48px!important;border-radius:999px!important;background:#fee2e2!important;color:#dc2626!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:28px!important;font-weight:900!important;margin-bottom:10px!important}.bbb-empty-state h3{margin:0 0 6px!important;font-size:20px!important;font-weight:900!important;color:#111827!important}.bbb-empty-state p{margin:0!important;color:#64748b!important;font-weight:700!important}
@media(max-width:820px){.bbb-offers-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bbb-offer-card.bbb-v2-card{grid-template-columns:1fr!important}.bbb-offer-media img{width:100%!important;height:170px!important}.bbb-offer-values{grid-template-columns:1fr!important}}
@media(max-width:520px){.bbb-customer-offers-dashboard{padding:14px!important}.bbb-offers-stats{grid-template-columns:1fr!important}.bbb-offers-hero{padding:18px!important}.bbb-offers-hero h2{font-size:22px!important}}

/* Deals for Buddies registration form polish - scoped to registration only */
.woocommerce-account .woocommerce form.register,
.bbb-register-box,
.bbb-account-grid #bbb-register {
    max-width: 820px;
    margin: 28px auto !important;
}

.woocommerce-account .woocommerce form.register,
.bbb-register-box {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.10) !important;
    padding: 30px !important;
    overflow: hidden;
}

.woocommerce-account .woocommerce form.register:before,
.bbb-register-box:before {
    content: "Create Your Deals for Buddies Account";
    display: block;
    margin: -30px -30px 26px;
    padding: 22px 30px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 62%, #dc2626 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bbb-register-box h3,
.woocommerce-account .woocommerce form.register h3,
.woocommerce-account .woocommerce form.register legend {
    margin-top: 0 !important;
}

.woocommerce-account .woocommerce form.register p,
.bbb-register-form p {
    margin-bottom: 16px !important;
}

.woocommerce-account .woocommerce form.register label,
.bbb-register-form label {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-weight: 700;
    font-size: 14px;
}

.woocommerce-account .woocommerce form.register .input-text,
.woocommerce-account .woocommerce form.register input[type="email"],
.woocommerce-account .woocommerce form.register input[type="password"],
.woocommerce-account .woocommerce form.register input[type="tel"],
.woocommerce-account .woocommerce form.register input[type="text"],
.bbb-register-form input[type="email"],
.bbb-register-form input[type="password"],
.bbb-register-form input[type="tel"],
.bbb-register-form input[type="text"] {
    width: 100% !important;
    min-height: 46px;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 11px 13px !important;
    color: #111827;
    box-shadow: none !important;
}

.woocommerce-account .woocommerce form.register input:focus,
.bbb-register-form input:focus {
    border-color: #1b66c9 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
    outline: none !important;
}

.woocommerce-account .woocommerce form.register input[type="file"],
.bbb-register-form input[type="file"] {
    width: 100%;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f9fafb;
    padding: 14px;
}

.woocommerce-account .woocommerce form.register small,
.bbb-register-form small {
    display: block;
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
}

.woocommerce-account .woocommerce form.register .bbb-verification-fields,
.bbb-register-form .bbb-verification-fields,
.bbb-verification-fields {
    margin: 22px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.bbb-verification-fields h4 {
    margin: 26px 0 16px !important;
    padding: 14px 18px !important;
    border-left: 5px solid #dc2626;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.bbb-verification-fields > p[style] {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 12px 14px;
    color: #7c2d12 !important;
}

.woocommerce-account .woocommerce form.register .form-row-first,
.woocommerce-account .woocommerce form.register .form-row-last,
.bbb-register-form .form-row-first,
.bbb-register-form .form-row-last {
    width: calc(50% - 10px) !important;
}

.woocommerce-account .woocommerce form.register .form-row-first,
.bbb-register-form .form-row-first {
    float: left !important;
}

.woocommerce-account .woocommerce form.register .form-row-last,
.bbb-register-form .form-row-last {
    float: right !important;
}

.woocommerce-account .woocommerce form.register .form-row-wide,
.bbb-register-form .form-row-wide {
    clear: both;
    width: 100% !important;
}

.woocommerce-account .woocommerce form.register .button,
.woocommerce-account .woocommerce form.register button[type="submit"],
.bbb-register-now-submit {
    background: #1b66c9 !important;
    border: 1px solid #dc2626 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 13px 28px !important;
    min-height: 48px;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22) !important;
}

.woocommerce-account .woocommerce form.register .button:hover,
.woocommerce-account .woocommerce form.register button[type="submit"]:hover,
.bbb-register-now-submit:hover {
    background: #0b4ea2 !important;
    border-color: #0b4ea2 !important;
    color: #ffffff !important;
}

.woocommerce-account .woocommerce form.register .required,
.bbb-register-form .required {
    color: #dc2626;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce form.register,
    .bbb-register-box {
        margin: 18px 12px !important;
        padding: 22px !important;
        border-radius: 14px !important;
    }
    .woocommerce-account .woocommerce form.register:before,
    .bbb-register-box:before {
        margin: -22px -22px 22px;
        padding: 18px 22px;
        font-size: 19px;
    }
    .woocommerce-account .woocommerce form.register .form-row-first,
    .woocommerce-account .woocommerce form.register .form-row-last,
    .bbb-register-form .form-row-first,
    .bbb-register-form .form-row-last {
        float: none !important;
        width: 100% !important;
    }
}

/* Deals for Buddies branded registration page */
.bbb-register-box.bbb-deals-register {
    max-width: 1120px !important;
    margin: 34px auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr) !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .12) !important;
}
.bbb-register-box.bbb-deals-register:before { content: none !important; display: none !important; }
.bbb-deals-register-intro {
    background: linear-gradient(135deg, #0b4ea2 0%, #1b66c9 58%, #2f80ed 100%) !important;
    color: #ffffff !important;
    padding: 42px 36px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.bbb-deals-register-kicker {
    display: inline-flex !important;
    width: fit-content !important;
    margin-bottom: 14px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.16) !important;
    color: #eaf3ff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}
.bbb-deals-register-intro h3 {
    margin: 0 0 12px !important;
    color: #ffffff !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: -.04em !important;
}
.bbb-deals-register-intro p {
    margin: 0 0 22px !important;
    color: rgba(255,255,255,.86) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}
.bbb-deals-register-benefits {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    gap: 12px !important;
}
.bbb-deals-register-benefits li {
    position: relative !important;
    margin: 0 !important;
    padding: 12px 14px 12px 42px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.10) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}
.bbb-deals-register-benefits li:before {
    content: "✓" !important;
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #2f80ed !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}
.bbb-deals-register-card {
    padding: 38px 36px !important;
    background: #ffffff !important;
}
.bbb-deals-register-card h4 {
    margin: 0 0 20px !important;
    color: #0b4ea2 !important;
    font-size: 26px !important;
    font-weight: 950 !important;
    letter-spacing: -.03em !important;
}
.bbb-deals-register .bbb-register-form label { color: #000000 !important; font-weight: 850 !important; }
.bbb-deals-register .bbb-register-form input[type="email"],
.bbb-deals-register .bbb-register-form input[type="password"],
.bbb-deals-register .bbb-register-form input[type="tel"],
.bbb-deals-register .bbb-register-form input[type="text"] {
    min-height: 50px !important;
    border-radius: 14px !important;
    background: #f9fafb !important;
}
.bbb-deals-register .bbb-register-form input:focus {
    background: #ffffff !important;
    border-color: #1b66c9 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .12) !important;
}
.bbb-deals-register .bbb-verification-fields h4 {
    border-left-color: #eaf3ff !important;
    background: #0b4ea2 !important;
    color: #ffffff !important;
}
.bbb-deals-register .bbb-register-now-submit {
    width: 100% !important;
    border-radius: 14px !important;
    background: #1b66c9 !important;
    border-color: #1b66c9 !important;
    min-height: 52px !important;
    box-shadow: 0 14px 28px rgba(11, 78, 162, .24) !important;
}
.bbb-deals-register .bbb-register-now-submit:hover { background: #0b4ea2 !important; border-color: #0b4ea2 !important; }
.bbb-deals-login-link {
    margin: 18px 0 0 !important;
    text-align: center !important;
    color: #6b7280 !important;
    font-weight: 700 !important;
}
.bbb-deals-login-link a { color: #0b4ea2 !important; font-weight: 900 !important; text-decoration: none !important; }
.bbb-deals-login-link a:hover { text-decoration: underline !important; }
@media (max-width: 820px) {
    .bbb-register-box.bbb-deals-register {
        grid-template-columns: 1fr !important;
        margin: 20px 12px !important;
        border-radius: 18px !important;
    }
    .bbb-deals-register-intro,
    .bbb-deals-register-card { padding: 26px 20px !important; }
}


/* FINAL Deals for Buddies register page colour override - no yellow, no black navy */
.bbb-register-box.bbb-deals-register{--bbb-blue:#0b4ea2!important;--bbb-blue-dark:#1b66c9!important;--bbb-blue-light:#2f80ed!important;--bbb-yellow:#2f80ed!important;box-shadow:0 18px 42px rgba(11,78,162,.18)!important;}
.bbb-register-box.bbb-deals-register .bbb-deals-register-intro{background:linear-gradient(135deg,#0b4ea2 0%,#1b66c9 58%,#2f80ed 100%)!important;}
.bbb-register-box.bbb-deals-register .bbb-deals-register-kicker{background:rgba(255,255,255,.16)!important;color:#eaf3ff!important;border:1px solid rgba(255,255,255,.24)!important;}
.bbb-register-box.bbb-deals-register .bbb-deals-register-benefits li:before{background:#2f80ed!important;color:#ffffff!important;}
.bbb-register-box.bbb-deals-register .bbb-deals-register-card h4,.bbb-register-box.bbb-deals-register .bbb-verification-fields h4,.bbb-register-box.bbb-deals-register .bbb-deals-login-link a{color:#0b4ea2!important;} .bbb-register-box.bbb-deals-register .bbb-register-form .required{color:#000000!important;}
.bbb-register-box.bbb-deals-register .bbb-register-form input:focus{border-color:#1b66c9!important;box-shadow:0 0 0 4px rgba(47,128,237,.16)!important;}
.bbb-register-box.bbb-deals-register .bbb-verification-fields h4{background:transparent!important;border-left-color:#2f80ed!important;}
.bbb-register-box.bbb-deals-register .bbb-register-now-submit{background:linear-gradient(135deg,#0b4ea2 0%,#1b66c9 58%,#2f80ed 100%)!important;border-color:#1b66c9!important;color:#ffffff!important;box-shadow:0 14px 28px rgba(11,78,162,.24)!important;}
.bbb-register-box.bbb-deals-register .bbb-register-now-submit:hover{background:linear-gradient(135deg,#1b66c9,#2f80ed)!important;border-color:#1b66c9!important;}


/* EXACT FIX: only the right-side registration form labels and asterisks must be black */
body .bbb-register-box.bbb-deals-register .bbb-deals-register-card form.bbb-register-form label,
body .bbb-register-box.bbb-deals-register .bbb-deals-register-card form.bbb-register-form label span,
body .bbb-register-box.bbb-deals-register .bbb-deals-register-card form.bbb-register-form .required {
    color: #000000 !important;
}

/* Keep the right-side section headings blue */
body .bbb-register-box.bbb-deals-register .bbb-deals-register-card h4,
body .bbb-register-box.bbb-deals-register .bbb-verification-fields h4 {
    color: #0b4ea2 !important;
}


/* BBB Login Page - match Deals for Buddies register styling */
body .bbb-login-box,
body .bbb-login-wrap,
body .bbb-login-form-wrap,
body .bbb-customer-login,
body .bbb-auth-login {
    max-width: 1180px;
    margin: 35px auto;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(13, 61, 140, 0.18);
    border: 1px solid rgba(20, 86, 184, 0.14);
}

body .bbb-login-box {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
}

body .bbb-login-box::before {
    content: "DEALS FOR BUDDIES\A\A Welcome back\A\A Login to your account to track your auctions, bids, invoices and payments.\A\A ✓ Bid on live auctions\A\A ✓ Track your bids and won items\A\A ✓ View invoices from your dashboard\A\A ✓ Secure account access";
    white-space: pre-line;
    display: block;
    padding: 70px 48px;
    background: linear-gradient(135deg, #0d3d8c 0%, #1456b8 52%, #1f66c7 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.55;
}

body .bbb-login-box::before {
    text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

body .bbb-login-box form,
body .bbb-login-wrap form,
body .bbb-login-form-wrap form,
body .bbb-customer-login form,
body .bbb-auth-login form {
    padding: 54px 48px !important;
    background: #ffffff !important;
}

body .bbb-login-box h1,
body .bbb-login-box h2,
body .bbb-login-box h3,
body .bbb-login-wrap h1,
body .bbb-login-wrap h2,
body .bbb-login-wrap h3,
body .bbb-login-form-wrap h1,
body .bbb-login-form-wrap h2,
body .bbb-login-form-wrap h3,
body .bbb-customer-login h1,
body .bbb-customer-login h2,
body .bbb-customer-login h3,
body .bbb-auth-login h1,
body .bbb-auth-login h2,
body .bbb-auth-login h3 {
    color: #000000 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
}

body .bbb-login-box label,
body .bbb-login-wrap label,
body .bbb-login-form-wrap label,
body .bbb-customer-login label,
body .bbb-auth-login label,
body .bbb-login-box .required,
body .bbb-login-wrap .required,
body .bbb-login-form-wrap .required,
body .bbb-customer-login .required,
body .bbb-auth-login .required {
    color: #000000 !important;
    font-weight: 800 !important;
}

body .bbb-login-box input[type="text"],
body .bbb-login-box input[type="email"],
body .bbb-login-box input[type="password"],
body .bbb-login-wrap input[type="text"],
body .bbb-login-wrap input[type="email"],
body .bbb-login-wrap input[type="password"],
body .bbb-login-form-wrap input[type="text"],
body .bbb-login-form-wrap input[type="email"],
body .bbb-login-form-wrap input[type="password"],
body .bbb-customer-login input[type="text"],
body .bbb-customer-login input[type="email"],
body .bbb-customer-login input[type="password"],
body .bbb-auth-login input[type="text"],
body .bbb-auth-login input[type="email"],
body .bbb-auth-login input[type="password"] {
    width: 100%;
    border: 1px solid #d9e3f1 !important;
    background: #f8fbff !important;
    color: #000000 !important;
    border-radius: 14px !important;
    min-height: 48px;
    padding: 12px 15px !important;
    box-shadow: none !important;
}

body .bbb-login-box input:focus,
body .bbb-login-wrap input:focus,
body .bbb-login-form-wrap input:focus,
body .bbb-customer-login input:focus,
body .bbb-auth-login input:focus {
    border-color: #1f66c7 !important;
    box-shadow: 0 0 0 4px rgba(31, 102, 199, 0.12) !important;
    outline: none !important;
}

body .bbb-login-box button,
body .bbb-login-box input[type="submit"],
body .bbb-login-wrap button,
body .bbb-login-wrap input[type="submit"],
body .bbb-login-form-wrap button,
body .bbb-login-form-wrap input[type="submit"],
body .bbb-customer-login button,
body .bbb-customer-login input[type="submit"],
body .bbb-auth-login button,
body .bbb-auth-login input[type="submit"] {
    background: linear-gradient(135deg, #0d3d8c, #1f66c7) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 14px 22px !important;
    font-weight: 900 !important;
    width: 100%;
    box-shadow: 0 12px 24px rgba(13, 61, 140, 0.22) !important;
}

body .bbb-login-box button:hover,
body .bbb-login-box input[type="submit"]:hover,
body .bbb-login-wrap button:hover,
body .bbb-login-wrap input[type="submit"]:hover,
body .bbb-login-form-wrap button:hover,
body .bbb-login-form-wrap input[type="submit"]:hover,
body .bbb-customer-login button:hover,
body .bbb-customer-login input[type="submit"]:hover,
body .bbb-auth-login button:hover,
body .bbb-auth-login input[type="submit"]:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

body .bbb-login-box a,
body .bbb-login-wrap a,
body .bbb-login-form-wrap a,
body .bbb-customer-login a,
body .bbb-auth-login a {
    color: #0b4ea2 !important;
    font-weight: 800;
}

@media (max-width: 820px) {
    body .bbb-login-box {
        display: block;
    }
    body .bbb-login-box::before {
        padding: 38px 28px;
        font-size: 16px;
    }
    body .bbb-login-box form,
    body .bbb-login-wrap form,
    body .bbb-login-form-wrap form,
    body .bbb-customer-login form,
    body .bbb-auth-login form {
        padding: 34px 24px !important;
    }
}


/* Dedicated /login/ page styling - matches Deals for Buddies register page */
body .bbb-deals-login-page .bbb-deals-register-card h3 {
    color: #000000 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

body .bbb-deals-login-page .bbb-deals-muted {
    color: #4b5563 !important;
    margin-bottom: 26px;
}

body .bbb-deals-login-page .bbb-login-form label,
body .bbb-deals-login-page .bbb-login-form label span,
body .bbb-deals-login-page .bbb-login-form .required {
    color: #000000 !important;
    font-weight: 850 !important;
}

body .bbb-deals-login-page .bbb-login-form input[type="text"],
body .bbb-deals-login-page .bbb-login-form input[type="password"] {
    width: 100%;
    border: 1px solid #d9e3f1 !important;
    background: #f8fbff !important;
    color: #000000 !important;
    border-radius: 14px !important;
    min-height: 52px;
    padding: 13px 15px !important;
    box-shadow: none !important;
}

body .bbb-deals-login-page .bbb-login-form input[type="text"]:focus,
body .bbb-deals-login-page .bbb-login-form input[type="password"]:focus {
    border-color: #1f66c7 !important;
    box-shadow: 0 0 0 4px rgba(31, 102, 199, 0.12) !important;
    outline: none !important;
}

body .bbb-deals-login-page .bbb-login-remember-row {
    margin: 4px 0 20px;
}

body .bbb-deals-login-page .bbb-login-remember {
    display: flex !important;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

body .bbb-deals-login-page .bbb-login-remember input {
    width: auto !important;
    min-height: auto !important;
    margin: 0 !important;
}

body .bbb-deals-login-page .bbb-deals-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    background: linear-gradient(135deg, #0d3d8c, #1f66c7) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 14px 22px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(13, 61, 140, 0.22) !important;
}

body .bbb-deals-login-page .bbb-deals-login-button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

body .bbb-deals-login-page .bbb-deals-login-link {
    text-align: center;
    color: #4b5563 !important;
    margin: 18px 0 0;
}

body .bbb-deals-login-page .bbb-deals-login-link a {
    color: #0b4ea2 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body .bbb-deals-login-page .bbb-deals-login-link a:hover {
    text-decoration: underline !important;
}

body .bbb-deals-login-page .bbb-login-error {
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 14px;
    padding: 13px 15px;
    margin-bottom: 18px;
    font-weight: 700;
}


/* FIX: Login/register left blue panel text must not be clipped */
body .bbb-register-box.bbb-deals-register,
body .bbb-deals-login-page {
    overflow: visible !important;
}

body .bbb-register-box.bbb-deals-register {
    max-width: 1180px !important;
    width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .bbb-register-box.bbb-deals-register .bbb-deals-register-left {
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding-left: 52px !important;
    padding-right: 52px !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body .bbb-register-box.bbb-deals-register .bbb-deals-register-left * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body .bbb-register-box.bbb-deals-register .bbb-deals-register-left h2,
body .bbb-register-box.bbb-deals-register .bbb-deals-register-left p,
body .bbb-register-box.bbb-deals-register .bbb-deals-benefit,
body .bbb-register-box.bbb-deals-register .bbb-deals-badge {
    margin-left: 0 !important;
    transform: none !important;
    white-space: normal !important;
}

@media (max-width: 900px) {
    body .bbb-register-box.bbb-deals-register {
        width: calc(100% - 24px) !important;
    }

    body .bbb-register-box.bbb-deals-register .bbb-deals-register-left {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}


/* Fix 5: make single auction bid history bidder/quantity text readable */
.bbb-single-bid-history,
.bbb-single-bid-history table,
.bbb-single-bid-history th,
.bbb-single-bid-history td,
.bbb-history.bbb-single-bid-history,
.bbb-history.bbb-single-bid-history table,
.bbb-history.bbb-single-bid-history th,
.bbb-history.bbb-single-bid-history td {
    color: #000 !important;
}
.bbb-single-bid-history a,
.bbb-history.bbb-single-bid-history a {
    color: #000 !important;
}

/* Fix: Single auction bid/winning history visible text */
.bbb-single-bid-history table,
.bbb-single-bid-history table thead th,
.bbb-single-bid-history table tbody td,
.bbb-single-bid-history table tbody td:first-child,
.bbb-single-bid-history table tbody td:nth-child(3),
.bbb-single-bid-history .bbb-bidder-name,
.bbb-single-bid-history .bbb-bid-quantity,
.bbb-history.bbb-single-bid-history table tbody td:first-child,
.bbb-history.bbb-single-bid-history table tbody td:nth-child(3) {
    color: #000000 !important;
}


/* Deals for Buddies compact auction list widget - side thumbnail layout */
.dfb-auction-list-widget{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
}
.dfb-auction-list-title{
    margin:0 0 10px!important;
    padding:0 0 8px!important;
    border-bottom:2px solid #ef4444!important;
    font-size:18px!important;
    line-height:1.2!important;
    font-weight:900!important;
    color:#111827!important;
}
.dfb-auction-list-item{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    column-gap:12px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
    margin:0!important;
    border:1px solid #e5e7eb!important;
    border-radius:14px!important;
    background:#ffffff!important;
    box-shadow:0 8px 20px rgba(15,23,42,.08)!important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
    overflow:hidden!important;
}
.dfb-auction-list-item:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.12)!important;
    border-color:#fecaca!important;
}
.dfb-auction-list-thumb{
    grid-column:1!important;
    grid-row:1!important;
    flex:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
    border-radius:10px!important;
    background:#ffffff!important;
    overflow:hidden!important;
    text-decoration:none!important;
    border:1px solid #eef2f7!important;
    min-width:64px!important;
    max-width:120px!important;
}
.dfb-auction-list-thumb img,
.dfb-auction-list-thumb-img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:contain!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    image-rendering:auto!important;
    transform:none!important;
    filter:none!important;
}
.dfb-auction-list-thumb-placeholder{
    font-size:24px!important;
    font-weight:900!important;
    color:#94a3b8!important;
    text-transform:uppercase!important;
}
.dfb-auction-list-content{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    align-items:flex-start!important;
    text-align:left!important;
    overflow:hidden!important;
}
.dfb-auction-list-meta{
    display:inline-flex!important;
    width:auto!important;
    max-width:100%!important;
    padding:3px 7px!important;
    border-radius:999px!important;
    background:#f1f5f9!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    color:#64748b!important;
}
.dfb-auction-list-name{
    width:100%!important;
    font-size:14px!important;
    line-height:1.22!important;
    font-weight:900!important;
    color:#111827!important;
    text-decoration:none!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
}
.dfb-auction-list-name:hover{color:#dc2626!important}
.dfb-auction-list-desc{
    width:100%!important;
    font-size:12px!important;
    line-height:1.35!important;
    color:#64748b!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
}
.dfb-auction-list-countdown{
    font-size:11px!important;
    line-height:1.25!important;
    font-weight:700!important;
    color:#334155!important;
}
.dfb-auction-list-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    margin-top:3px!important;
}
.dfb-auction-list-bid{
    display:flex!important;
    flex-direction:column!important;
    gap:1px!important;
    min-width:0!important;
    font-size:11px!important;
    line-height:1.1!important;
    color:#64748b!important;
    font-weight:800!important;
}
.dfb-auction-list-bid span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.03em!important;color:#64748b!important}
.dfb-auction-list-bid strong{
    color:#dc2626!important;
    font-size:16px!important;
    line-height:1.1!important;
    font-weight:950!important;
    white-space:nowrap!important;
}
.dfb-auction-list-button{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:9px 13px!important;
    border-radius:8px!important;
    border:0!important;
    background:#dc2626!important;
    color:#ffffff!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
    line-height:1!important;
    text-decoration:none!important;
    box-shadow:0 7px 14px rgba(220,38,38,.22)!important;
    white-space:nowrap!important;
}
.dfb-auction-list-button:hover{background:#b91c1c!important;color:#ffffff!important}
.dfb-auction-list-empty{
    margin:0!important;
    padding:12px!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    color:#64748b!important;
    font-weight:700!important;
}
@media(max-width:480px){
    .dfb-auction-list-item{grid-template-columns:auto minmax(0,1fr)!important;column-gap:10px!important;padding:9px!important}
    .dfb-auction-list-thumb{min-width:64px!important;max-width:86px!important}
    .dfb-auction-list-name{font-size:13px!important}
    .dfb-auction-list-desc{font-size:11px!important;-webkit-line-clamp:1!important}
    .dfb-auction-list-actions{gap:6px!important}
    .dfb-auction-list-button{padding:7px 9px!important;font-size:10px!important}
}


/* Deals for Buddies category archive shortcode */
.dfb-category-archive-wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:28px;
    align-items:start;
    width:100%;
}
.dfb-category-archive-main{min-width:0;}
.dfb-category-archive-banner{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    margin:0 0 18px;
    padding:22px 24px;
    border-radius:18px;
    background:linear-gradient(135deg,#eff6ff,#ffffff);
    border:1px solid #dbeafe;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.dfb-category-archive-kicker{
    display:block;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.dfb-category-archive-banner h1{margin:0;font-size:30px;line-height:1.15;color:#0f172a;}
.dfb-category-archive-desc{margin-top:8px;color:#475569;font-size:15px;line-height:1.5;}
.dfb-category-archive-stats{
    min-width:130px;
    padding:14px 16px;
    border-radius:14px;
    background:#fff;
    border:1px solid #e2e8f0;
    text-align:center;
}
.dfb-category-archive-stats strong{display:block;font-size:28px;line-height:1;color:#2563eb;}
.dfb-category-archive-stats span{display:block;margin-top:5px;font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;}
.dfb-category-archive-toolbar{
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin:0 0 16px;
    padding:11px 14px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:#fff;
    color:#475569;
    font-size:14px;
    font-weight:700;
}
.dfb-category-archive-grid{margin-top:0;}
.dfb-category-archive-sidebar{
    position:sticky;
    top:90px;
    display:flex;
    flex-direction:column;
    gap:18px;
}
.dfb-sidebar-box{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:16px;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.dfb-sidebar-box h3{margin:0 0 12px;font-size:18px;color:#0f172a;}
.dfb-sidebar-category-list{display:flex;flex-direction:column;gap:10px;}
.dfb-sidebar-category{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px;
    border-radius:12px;
    text-decoration:none!important;
    color:#0f172a;
    border:1px solid transparent;
    background:#f8fafc;
}
.dfb-sidebar-category:hover,.dfb-sidebar-category.is-active{border-color:#bfdbfe;background:#eff6ff;}
.dfb-sidebar-category-thumb{
    width:48px;height:48px;flex:0 0 48px;border-radius:10px;overflow:hidden;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;
}
.dfb-sidebar-category-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.dfb-sidebar-cat-placeholder{font-weight:900;color:#2563eb;font-size:20px;}
.dfb-sidebar-category-text strong{display:block;font-size:14px;line-height:1.2;}
.dfb-sidebar-category-text small{display:block;margin-top:3px;color:#64748b;font-size:12px;}
.dfb-category-pagination{margin:26px 0 0;}
.dfb-category-pagination ul{display:flex;gap:8px;list-style:none;margin:0;padding:0;flex-wrap:wrap;justify-content:center;}
.dfb-category-pagination a,.dfb-category-pagination span{
    display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:10px;border:1px solid #dbe4ef;background:#fff;text-decoration:none!important;font-weight:800;color:#2563eb;
}
.dfb-category-pagination .current{background:#2563eb;color:#fff;border-color:#2563eb;}
.dfb-category-archive-empty{padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;}
@media (max-width: 1024px){
    .dfb-category-archive-wrap{grid-template-columns:1fr;}
    .dfb-category-archive-sidebar{position:static;}
}
@media (max-width: 640px){
    .dfb-category-archive-banner{display:block;padding:18px;}
    .dfb-category-archive-banner h1{font-size:24px;}
    .dfb-category-archive-stats{margin-top:14px;}
}


/* === Deals for Buddies real premium auction card redesign === */
.bbb-home-category-section.bbb-premium-home-section,
.bbb-category-section.bbb-premium-home-section{
    background:linear-gradient(180deg,#edf7ff 0%,#f8fbff 100%)!important;
    border:1px solid #d7eaff!important;
    border-radius:26px!important;
    padding:24px!important;
    margin:24px 0!important;
}
.bbb-premium-section-heading{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:18px!important;
    margin-bottom:18px!important;
}
.bbb-premium-section-heading h2{
    margin:4px 0 4px!important;
    color:#0f172a!important;
    font-size:28px!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:-.03em!important;
}
.bbb-premium-section-heading .bbb-section-kicker{
    color:#0b4ea2!important;
    font-size:12px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
}
.bbb-premium-section-heading .bbb-section-subtitle{
    margin:0!important;
    color:#64748b!important;
    font-size:14px!important;
}
.bbb-premium-section-heading .bbb-view-all-link,
.bbb-view-all-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    padding:10px 16px!important;
    background:#0b4ea2!important;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:900!important;
    box-shadow:0 10px 24px rgba(11,78,162,.18)!important;
}
.bbb-auction-grid{
    gap:18px!important;
}
.bbb-auction-card.bbb-premium-card{
    display:flex!important;
    flex-direction:column!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:22px!important;
    overflow:hidden!important;
    padding:0!important;
    box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease!important;
}
.bbb-auction-card.bbb-premium-card:hover{
    transform:translateY(-5px)!important;
    border-color:#b8dcff!important;
    box-shadow:0 24px 55px rgba(15,23,42,.15)!important;
}
.bbb-auction-card .bbb-premium-media{
    position:relative!important;
    min-height:210px!important;
    padding:14px!important;
    background:linear-gradient(180deg,#f8fbff,#eef7ff)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.bbb-auction-card .bbb-premium-thumb{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:210px!important;
    min-height:210px!important;
    background:transparent!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
}
.bbb-auction-card .bbb-premium-thumb img,
.bbb-auction-card .bbb-responsive-img{
    width:100%!important;
    height:100%!important;
    max-height:210px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto!important;
    transition:transform .22s ease!important;
}
.bbb-auction-card.bbb-premium-card:hover .bbb-premium-thumb img{
    transform:scale(1.035)!important;
}
.bbb-premium-overlay-badges{
    position:absolute!important;
    top:12px!important;
    left:12px!important;
    right:58px!important;
    z-index:4!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    gap:6px!important;
}
.bbb-premium-overlay-badges .bbb-final-status-row{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
}
.bbb-premium-overlay-badges .bbb-final-status-badge,
.bbb-premium-condition{
    height:24px!important;
    min-height:24px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    font-size:10px!important;
    line-height:24px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    box-shadow:0 8px 18px rgba(15,23,42,.14)!important;
}
.bbb-premium-condition{
    display:inline-flex!important;
    align-items:center!important;
    background:#fff!important;
    color:#0f172a!important;
    border:1px solid rgba(15,23,42,.08)!important;
    margin:0!important;
}
.bbb-premium-watch-wrap{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:5!important;
}
.bbb-premium-watch-wrap .bbb-save-auction-btn{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    padding:0!important;
    margin:0!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#e11d48!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.14)!important;
    font-size:0!important;
    overflow:hidden!important;
    text-indent:-9999px!important;
}
.bbb-premium-watch-wrap .bbb-save-auction-btn::before{
    content:"♡"!important;
    text-indent:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:100%!important;
    font-size:21px!important;
    line-height:1!important;
    font-weight:900!important;
}
.bbb-premium-watch-wrap .bbb-save-auction-btn.is-saved::before{content:"♥"!important;}
.bbb-auction-card .bbb-premium-body{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    padding:16px!important;
    flex:1!important;
}
.bbb-auction-card .bbb-premium-title{
    margin:0!important;
    min-height:42px!important;
    font-size:16px!important;
    line-height:1.3!important;
    font-weight:900!important;
    color:#0f172a!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
}
.bbb-auction-card .bbb-premium-title a{
    color:#0f172a!important;
    text-decoration:none!important;
}
.bbb-premium-bid-box{
    background:#f1f8ff!important;
    border:1px solid #d7eaff!important;
    border-radius:16px!important;
    padding:12px!important;
}
.bbb-premium-bid-label{
    display:block!important;
    color:#64748b!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
    margin-bottom:6px!important;
}
.bbb-premium-bid-amount{
    display:block!important;
    color:#0b4ea2!important;
    font-size:30px!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:-.04em!important;
}
.bbb-premium-bid-box .bbb-next-bid{
    display:block!important;
    margin-top:6px!important;
    color:#475569!important;
    font-size:12px!important;
    font-weight:800!important;
}
.bbb-countdown.bbb-countdown-compact,
.bbb-auction-card .bbb-countdown.bbb-countdown-compact{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-height:38px!important;
    margin:0!important;
    padding:9px 12px!important;
    border-radius:999px!important;
    background:#0f172a!important;
    color:#fff!important;
    border:0!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1.1!important;
    box-shadow:none!important;
}
.bbb-countdown-compact .bbb-countdown-icon{font-size:15px!important;}
.bbb-countdown-compact .bbb-countdown-text{font-weight:900!important;color:#fff!important;}
.bbb-countdown-compact .bbb-ending-minutes-badge{display:none!important;}
.bbb-auction-card .bbb-premium-form-wrap .bbb-bid-form{
    margin:0!important;
    padding:0!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-unified-bid-box{
    padding:0!important;
    margin:0 0 10px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-bid-input-label span{
    display:block!important;
    color:#64748b!important;
    font-size:12px!important;
    font-weight:900!important;
    margin-bottom:6px!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-proxy-max-input{
    width:100%!important;
    min-height:42px!important;
    border-radius:12px!important;
    border:1px solid #cbd5e1!important;
    padding:9px 12px!important;
    font-size:14px!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-bid-form button{
    width:100%!important;
    min-height:44px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#0b4ea2,#1e6bff)!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:1000!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    box-shadow:0 12px 22px rgba(11,78,162,.24)!important;
}
.bbb-auction-card .bbb-share-icons-final-row{
    order:99!important;
    margin:0!important;
    padding-top:10px!important;
    border-top:1px solid #eef2f7!important;
    height:auto!important;
    min-height:28px!important;
}
@media(max-width:768px){
    .bbb-home-category-section.bbb-premium-home-section{padding:16px!important;border-radius:18px!important;}
    .bbb-premium-section-heading{display:block!important;}
    .bbb-premium-section-heading .bbb-view-all-link{margin-top:12px!important;}
    .bbb-auction-card .bbb-premium-media{min-height:170px!important;}
    .bbb-auction-card .bbb-premium-thumb{height:170px!important;min-height:170px!important;}
    .bbb-auction-card .bbb-premium-thumb img{max-height:170px!important;}
}


/* === Compact text countdown final fix === */
/* Replace old large countdown/stopwatch UI with clean text timer */
.bbb-auction-card .bbb-countdown,
.bbb-auction-card .bbb-fixed-countdown,
.bbb-auction-card .bbb-countdown-live,
.bbb-auction-card .bbb-countdown-compact,
.bbb-auction-card .bbb-fixed-countdown.bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
    overflow: hidden !important;
}

/* Kill old visual timer pieces */
.bbb-auction-card .bbb-fixed-countdown-row,
.bbb-auction-card .bbb-cd-unit,
.bbb-auction-card .bbb-fixed-countdown-ended,
.bbb-auction-card .bbb-ending-minutes-badge {
    display: none !important;
}

/* Kill stopwatch/graphic pseudo-elements if older CSS injects them */
.bbb-auction-card .bbb-countdown::before,
.bbb-auction-card .bbb-countdown::after,
.bbb-auction-card .bbb-fixed-countdown::before,
.bbb-auction-card .bbb-fixed-countdown::after,
.bbb-auction-card .bbb-countdown-live::before,
.bbb-auction-card .bbb-countdown-live::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* The only visible timer parts */
.bbb-auction-card .bbb-countdown-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

.bbb-auction-card .bbb-countdown-text {
    display: inline !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

/* Prevent old theme/plugin image timer layouts */
.bbb-auction-card .bbb-countdown img,
.bbb-auction-card .bbb-fixed-countdown img,
.bbb-auction-card .bbb-countdown svg:not(.keep-icon),
.bbb-auction-card .bbb-fixed-countdown svg:not(.keep-icon) {
    display: none !important;
}

/* If old CSS made countdown oversized, force compact parent spacing */
.bbb-auction-card .bbb-premium-body > .bbb-countdown,
.bbb-auction-card .bbb-card-body > .bbb-countdown {
    order: 3 !important;
}


/* Live countdown placement above Your Maximum Bid */
.bbb-auction-card .bbb-premium-body .bbb-countdown-compact,
.bbb-auction-card .bbb-card-body .bbb-countdown-compact {
    order: 3 !important;
    margin: 0 0 2px 0 !important;
}

.bbb-auction-card .bbb-premium-form-wrap {
    order: 4 !important;
}

.bbb-auction-card .bbb-share-icons-final-row {
    order: 5 !important;
}

/* Final compact timer appearance */
.bbb-auction-card .bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.bbb-auction-card .bbb-countdown-compact .bbb-countdown-icon,
.bbb-auction-card .bbb-countdown-compact .bbb-countdown-text {
    color: #ffffff !important;
    display: inline !important;
    white-space: nowrap !important;
}

.bbb-auction-card .bbb-countdown-compact.expired {
    background: #64748b !important;
}

/* Make sure old 4-box timer never returns */
.bbb-auction-card .bbb-fixed-countdown-row,
.bbb-auction-card .bbb-cd-unit {
    display: none !important;
}


/* Final live countdown running fix */
.bbb-countdown.bbb-live-countdown-active,
.bbb-auction-card .bbb-countdown.bbb-live-countdown-active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.bbb-countdown.bbb-live-countdown-active .bbb-countdown-text,
.bbb-countdown.bbb-live-countdown-active .bbb-countdown-icon {
    display: inline !important;
    color: #fff !important;
    white-space: nowrap !important;
}

.bbb-countdown.bbb-live-countdown-active .bbb-fixed-countdown-row,
.bbb-countdown.bbb-live-countdown-active .bbb-cd-unit,
.bbb-countdown.bbb-live-countdown-active .bbb-ending-minutes-badge {
    display: none !important;
}


/* Countdown autostart compact timer enforcement */
.bbb-auction-card .dfb-autostart-countdown,
.dfb-autostart-countdown {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.dfb-autostart-countdown .bbb-countdown-icon,
.dfb-autostart-countdown .bbb-countdown-text {
    color: #fff !important;
    white-space: nowrap !important;
}


/* === Clean final compact countdown === */
.bbb-auction-card .bbb-countdown.bbb-countdown-compact,
.bbb-countdown.bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    margin: 0 0 2px 0 !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.bbb-countdown.bbb-countdown-compact .bbb-countdown-icon,
.bbb-countdown.bbb-countdown-compact .bbb-countdown-text {
    color: #fff !important;
    white-space: nowrap !important;
    display: inline !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.bbb-countdown.bbb-countdown-compact .bbb-countdown-icon {
    font-size: 15px !important;
}

.bbb-countdown.bbb-countdown-compact.expired {
    background: #64748b !important;
}

.bbb-fixed-countdown-row,
.bbb-cd-unit,
.bbb-fixed-countdown-ended,
.bbb-ending-minutes-badge {
    display: none !important;
}


/* Final conflict fix: only compact live timer should display */
.bbb-fixed-countdown-row,
.bbb-cd-unit,
.bbb-fixed-countdown-ended,
.bbb-ending-minutes-badge {
    display: none !important;
}
.bbb-countdown.bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
}


/* Hard countdown fix display */
.bbb-countdown.bbb-countdown-compact,
.bbb-auction-card .bbb-countdown.bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    margin: 0 0 2px 0 !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
}

.bbb-countdown.bbb-countdown-compact .bbb-countdown-icon,
.bbb-countdown.bbb-countdown-compact .bbb-countdown-text {
    color: #fff !important;
    white-space: nowrap !important;
    display: inline !important;
    font-weight: 900 !important;
}

.bbb-fixed-countdown-row,
.bbb-cd-unit,
.bbb-fixed-countdown-ended,
.bbb-ending-minutes-badge {
    display: none !important;
}


/* Final root-cause countdown CSS */
.bbb-countdown.bbb-countdown-compact,
.bbb-auction-card .bbb-countdown.bbb-countdown-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 38px !important;
    height: auto !important;
    margin: 0 0 2px 0 !important;
    padding: 9px 12px !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
}
.bbb-countdown.bbb-countdown-compact .bbb-countdown-icon,
.bbb-countdown.bbb-countdown-compact .bbb-countdown-text {
    color: #fff !important;
    white-space: nowrap !important;
    display: inline !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}
.bbb-countdown.bbb-countdown-compact .bbb-countdown-icon {
    font-size: 15px !important;
}
.bbb-fixed-countdown-row,
.bbb-cd-unit,
.bbb-fixed-countdown-ended,
.bbb-ending-minutes-badge {
    display: none !important;
}

/* === Deals for Buddies: compact auction card image + bid panel === */
.bbb-auction-card .bbb-premium-media{
    min-height:190px!important;
    padding:12px!important;
    background:linear-gradient(180deg,#f8fbff,#eef7ff)!important;
}
.bbb-auction-card .bbb-premium-thumb{
    height:190px!important;
    min-height:190px!important;
}
.bbb-auction-card .bbb-premium-thumb img,
.bbb-auction-card .bbb-responsive-img{
    max-height:190px!important;
    object-fit:contain!important;
    object-position:center!important;
}
.bbb-auction-card .bbb-premium-body{
    gap:10px!important;
    padding:14px!important;
}
.bbb-auction-card .bbb-premium-bid-box.bbb-premium-bid-box-compact{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:10px!important;
    margin:0!important;
    border-radius:16px!important;
    background:#f1f8ff!important;
    border:1px solid #d7eaff!important;
}
.bbb-auction-card .bbb-premium-bid-item{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:62px!important;
    padding:10px 8px!important;
    border-radius:13px!important;
    background:#fff!important;
    border:1px solid rgba(215,234,255,.75)!important;
    text-align:center!important;
}
.bbb-auction-card .bbb-premium-bid-label{
    margin:0 0 5px!important;
    font-size:10px!important;
    line-height:1!important;
    color:#64748b!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
}
.bbb-auction-card .bbb-premium-bid-amount{
    display:block!important;
    margin:0!important;
    color:#d91546!important;
    font-size:22px!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:-.03em!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-card-compact-bid-form .bbb-unified-bid-box,
.bbb-auction-card .bbb-premium-form-wrap .bbb-card-compact-bid-form .bbb-proxy-max-label,
.bbb-auction-card .bbb-premium-form-wrap .bbb-card-compact-bid-form .bbb-proxy-max-input{
    display:none!important;
}
.bbb-auction-card .bbb-premium-form-wrap .bbb-card-compact-bid-form button{
    margin-top:0!important;
}
@media(max-width:768px){
    .bbb-auction-card .bbb-premium-media{min-height:175px!important;padding:10px!important;}
    .bbb-auction-card .bbb-premium-thumb{height:175px!important;min-height:175px!important;}
    .bbb-auction-card .bbb-premium-thumb img,.bbb-auction-card .bbb-responsive-img{max-height:175px!important;}
    .bbb-auction-card .bbb-premium-bid-box.bbb-premium-bid-box-compact{padding:9px!important;gap:7px!important;}
    .bbb-auction-card .bbb-premium-bid-item{min-height:58px!important;padding:9px 6px!important;}
    .bbb-auction-card .bbb-premium-bid-amount{font-size:21px!important;}
}

/* Compact badges and centered watchlist */
.bbb-watchlist-button,.bbb-watchlist-btn{width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:50%!important}.bbb-watchlist-button svg,.bbb-watchlist-btn svg,.bbb-watchlist-button i,.bbb-watchlist-btn i{margin:0!important;display:block!important}


/* Deals for Buddies card badge + watchlist final compact patch */
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges{
    top:9px!important;
    left:9px!important;
    right:44px!important;
    gap:3px!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-final-status-row{
    gap:3px!important;
    margin:0!important;
    padding:0!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-final-status-badge,
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-status-badge,
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-pill,
body .bbb-auction-card.bbb-premium-card .bbb-premium-condition{
    height:15px!important;
    min-height:15px!important;
    max-height:15px!important;
    line-height:15px!important;
    padding:0 5px!important;
    font-size:8px!important;
    border-radius:999px!important;
    letter-spacing:.1px!important;
    box-shadow:0 4px 10px rgba(15,23,42,.10)!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-condition{display:none!important;}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap{
    top:9px!important;
    right:9px!important;
    width:30px!important;
    height:30px!important;
    z-index:6!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn,
body .bbb-premium-watch-wrap a.bbb-save-auction-btn.bbb-ajax-watchlist{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    line-height:1!important;
    font-size:0!important;
    text-indent:-9999px!important;
    overflow:hidden!important;
    box-shadow:0 5px 13px rgba(15,23,42,.13)!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn::before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn::before,
body .bbb-premium-watch-wrap a.bbb-save-auction-btn.bbb-ajax-watchlist::before{
    content:"♡"!important;
    text-indent:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    max-width:30px!important;
    max-height:30px!important;
    margin:0!important;
    padding:0!important;
    font-size:16px!important;
    line-height:30px!important;
    font-weight:900!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn.is-saved::before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn.is-saved::before{content:"♥"!important;}

/* === DFB final badge, category description and watchlist cleanup === */
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges{
    top:7px!important;
    left:8px!important;
    right:34px!important;
    gap:2px!important;
    z-index:7!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-final-status-row{
    gap:2px!important;
    margin:0!important;
    padding:0!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-final-status-badge,
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-status-badge,
body .bbb-auction-card.bbb-premium-card .bbb-premium-overlay-badges .bbb-pill{
    height:13px!important;
    min-height:13px!important;
    max-height:13px!important;
    line-height:13px!important;
    padding:0 4px!important;
    font-size:7px!important;
    border-radius:999px!important;
    letter-spacing:0!important;
    box-shadow:0 2px 6px rgba(15,23,42,.10)!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-condition,
body .bbb-auction-card.bbb-premium-card .bbb-condition{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap{
    top:8px!important;
    right:10px!important;
    width:18px!important;
    height:18px!important;
    z-index:8!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn,
body .bbb-premium-watch-wrap a.bbb-save-auction-btn.bbb-ajax-watchlist{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    max-width:18px!important;
    max-height:18px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    color:#e11d48!important;
    line-height:1!important;
    font-size:0!important;
    text-indent:-9999px!important;
    overflow:visible!important;
    text-decoration:none!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn::before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn::before,
body .bbb-premium-watch-wrap a.bbb-save-auction-btn.bbb-ajax-watchlist::before{
    content:"♡"!important;
    text-indent:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    max-width:18px!important;
    max-height:18px!important;
    margin:0!important;
    padding:0!important;
    font-size:17px!important;
    line-height:18px!important;
    font-weight:900!important;
    color:#e11d48!important;
    text-shadow:0 1px 2px rgba(255,255,255,.9)!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap a.bbb-save-auction-btn.is-saved::before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-watch-wrap .bbb-save-auction-btn.is-saved::before{content:"♥"!important;}
body .bbb-premium-section-heading .bbb-section-subtitle,
body .bbb-premium-section-heading .dfb-category-white-desc,
body .dfb-category-archive-banner .dfb-category-archive-desc,
body .dfb-category-archive-banner .dfb-category-white-desc{
    color:#ffffff!important;
    opacity:1!important;
    text-shadow:0 1px 2px rgba(15,23,42,.25)!important;
}
body .dfb-category-archive-banner{
    background:linear-gradient(135deg,#2563eb,#0f4fb8)!important;
    border-color:#1d4ed8!important;
    color:#fff!important;
}
body .dfb-category-archive-banner h1,
body .dfb-category-archive-banner .dfb-category-archive-kicker{
    color:#fff!important;
}
body .bbb-category-section > .bbb-section-heading .bbb-section-subtitle,
body .bbb-homepage-auctions .bbb-section-heading .bbb-section-subtitle,
body .bbb-home-shortcodes .bbb-section-heading .bbb-section-subtitle{
    color:#fff!important;
    margin:3px 0 0!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:500!important;
}

/* custom heart+badge tweak */
.bbb-premium-watch-wrap .bbb-save-auction-btn{width:24px!important;height:24px!important;min-width:24px!important;max-width:24px!important;min-height:24px!important;max-height:24px!important;background:transparent!important;border:none!important;box-shadow:none!important}.bbb-premium-watch-wrap .bbb-save-auction-btn::before{font-size:18px!important}.bbb-premium-overlay-badges .bbb-final-status-badge,.bbb-premium-condition{height:18px!important;min-height:18px!important;padding:0 6px!important;font-size:8px!important;line-height:18px!important}
/* DFB patch: change ONLY the auction card Next Bid amount to site blue. */
.bbb-auction-card .bbb-premium-bid-box .bbb-current-bid.bbb-premium-bid-amount{
    color:var(--bbb-red)!important;
}
.bbb-auction-card .bbb-premium-bid-box .bbb-next-bid-amount.bbb-premium-bid-amount{
    color:#0b4ea2!important;
}

/* Deals for Buddies - Mobile Viewing Optimization Pack
   Purpose: tighter auction cards, safer single auction layout, scrollable tables,
   compact payment badges, and better touch spacing on phones. */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }

  .bbb-homepage-auctions,
  .bbb-category-section,
  .bbb-home-shortcodes,
  .bbb-home-sidebar-layout,
  .bbb-home-sidebar-main,
  .bbb-single-box,
  .bbb-customer-invoices,
  .bbb-rebuilt-invoices {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .bbb-auction-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .bbb-auction-card {
    padding: 10px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.07) !important;
  }

  .bbb-thumb {
    min-height: 0 !important;
    height: 210px !important;
    aspect-ratio: auto !important;
    padding: 10px !important;
    margin-bottom: 8px !important;
    border-radius: 14px !important;
  }

  .bbb-auction-card h3 {
    min-height: 0 !important;
    margin: 4px 0 6px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .bbb-condition,
  .bbb-card-badge,
  .bbb-status-badge,
  .bbb-premium-badge,
  .bbb-auction-badge,
  .bbb-badge,
  .dfb-badge {
    padding: 2px 6px !important;
    min-height: 0 !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    border-radius: 999px !important;
    letter-spacing: .04em !important;
  }

  .bbb-premium-badges,
  .bbb-badge-wrap,
  .dfb-badge-wrap {
    top: 8px !important;
    left: 8px !important;
    gap: 3px !important;
  }

  .bbb-premium-watch-wrap,
  .bbb-watchlist-wrap,
  .dfb-watchlist-wrap {
    top: 8px !important;
    right: 8px !important;
  }

  .bbb-premium-watch-wrap .bbb-save-auction-btn,
  .bbb-save-auction-btn,
  .bbb-watchlist-btn,
  .dfb-watchlist-btn {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 2px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #e11d48 !important;
    line-height: 1 !important;
  }

  .bbb-premium-watch-wrap .bbb-save-auction-btn,
  .bbb-save-auction-btn,
  .bbb-watchlist-btn,
  .dfb-watchlist-btn,
  .bbb-premium-watch-wrap .bbb-save-auction-btn *,
  .bbb-save-auction-btn *,
  .bbb-watchlist-btn *,
  .dfb-watchlist-btn * {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .bbb-price,
  .bbb-next-bid {
    padding: 8px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .bbb-price strong,
  .bbb-current-bid {
    font-size: 18px !important;
  }

  .bbb-next-bid strong,
  .bbb-next-bid-amount {
    font-size: 18px !important;
    color: #2563eb !important;
  }

  .bbb-countdown,
  .bbb-countdown-live,
  .bbb-fixed-countdown {
    min-height: 0 !important;
    padding: 8px !important;
    margin: 7px 0 !important;
    border-radius: 999px !important;
  }

  .bbb-fixed-countdown-row {
    display: block !important;
    min-height: 0 !important;
    text-align: center !important;
  }

  .bbb-cd-unit {
    display: inline-flex !important;
    width: auto !important;
    min-width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .bbb-cd-unit strong,
  .bbb-cd-unit em {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    margin: 0 1px !important;
    text-transform: none !important;
  }

  .bbb-cd-unit em::after { content: ' ' !important; }

  .bbb-bid-form,
  .bbb-card-bid-form {
    padding: 9px !important;
    border-radius: 14px !important;
  }

  .bbb-bid-form input[type="number"],
  .bbb-typed-bid-input,
  .bbb-bid-form button[type="submit"],
  .bbb-place-bid-btn,
  .bbb-bid-now-btn,
  .bidbybid-place-bid-btn {
    min-height: 44px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
  }

  .bbb-section-heading,
  .bbb-category-section > .bbb-section-heading,
  .bbb-homepage-auctions .bbb-section-heading,
  .bbb-home-shortcodes .bbb-section-heading {
    gap: 8px !important;
    padding: 11px 12px !important;
    border-radius: 10px !important;
  }

  .bbb-section-heading h2,
  .bbb-category-section > .bbb-section-heading h2,
  .bbb-homepage-auctions .bbb-section-heading h2,
  .bbb-home-shortcodes .bbb-section-heading h2 {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .bbb-section-heading a,
  .bbb-category-section > .bbb-section-heading a,
  .bbb-homepage-auctions .bbb-section-heading a,
  .bbb-home-shortcodes .bbb-section-heading a {
    min-height: 28px !important;
    padding: 6px 9px !important;
    font-size: 11px !important;
  }

  .bbb-single-box {
    margin: 16px 0 !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  body.single-bbb_auction .bbb-single-featured-image-box img.bbb-single-featured-img,
  body.single-product .bbb-single-featured-image-box img.bbb-single-featured-img,
  body.single-product .product .woocommerce-product-gallery__image img {
    height: 260px !important;
  }

  body.single-bbb_auction .bbb-single-gallery-thumbs,
  body.single-product .bbb-single-gallery-thumbs {
    padding: 8px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.single-bbb_auction .bbb-single-gallery-thumb,
  body.single-product .bbb-single-gallery-thumb {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
  }

  .bbb-customer-invoices,
  .bbb-table-scroll,
  .bbb-payment-history,
  .bbb-bid-history,
  .bbb-watchlist-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .bbb-customer-invoices table,
  .bbb-payment-history table,
  .bbb-bid-history table,
  .bbb-watchlist-table-wrap table {
    min-width: 640px !important;
  }

  .bbb-customer-invoices th,
  .bbb-customer-invoices td {
    padding: 9px 10px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .bbb-newsletter-inner {
    padding: 26px 18px !important;
    border-radius: 14px !important;
  }

  .bbb-newsletter-copy h2 { font-size: 23px !important; }
  .bbb-newsletter-copy p { font-size: 14px !important; line-height: 1.45 !important; }

  .bbb-newsletter-form input[type="email"],
  .bbb-newsletter-form button {
    height: 48px !important;
    font-size: 15px !important;
  }

  .dfb-payment-methods,
  .bbb-payment-methods,
  .bbb-payment-badges,
  .dfb-payment-badges,
  .payment-methods,
  .payment-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .dfb-payment-method,
  .bbb-payment-method,
  .bbb-payment-badge,
  .dfb-payment-badge,
  .payment-method,
  .payment-badge {
    min-height: 74px !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  .dfb-payment-method img,
  .bbb-payment-method img,
  .bbb-payment-badge img,
  .dfb-payment-badge img,
  .payment-method img,
  .payment-badge img {
    max-height: 28px !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .dfb-payment-method-title,
  .bbb-payment-method-title,
  .payment-method-title,
  .payment-badge-title {
    margin-top: 6px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .bbb-auction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bbb-thumb { height: 190px !important; }
}

@media (max-width: 380px) {
  .bbb-auction-card { padding: 8px !important; }
  .bbb-thumb { height: 185px !important; }
  .bbb-section-heading h2 { font-size: 14px !important; }
  .bbb-price strong,
  .bbb-current-bid,
  .bbb-next-bid strong,
  .bbb-next-bid-amount { font-size: 16px !important; }
}


/* === DFB FIX: Bid Now button spacing/alignment on auction cards ===
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap{
    display:block!important;
    width:100%!important;
    margin:4px 0 0!important;
    padding:0!important;
    order:4!important;
    position:static!important;
    transform:none!important;
    overflow:visible!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    position:static!important;
    transform:none!important;
    overflow:visible!important;
    clear:both!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form button[type="submit"],
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"],
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:56px!important;
    min-height:56px!important;
    max-height:56px!important;
    margin:8px 0 0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#0b4ea2,#1e6bff)!important;
    color:#ffffff!important;
    font-size:15px!important;
    line-height:56px!important;
    font-weight:1000!important;
    text-align:center!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    box-shadow:0 12px 24px rgba(11,78,162,.24)!important;
    position:static!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form button[type="submit"]:hover,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"]:hover,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn:hover{
    background:linear-gradient(135deg,#093f83,#155ee8)!important;
    color:#ffffff!important;
}
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-message{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-share-icons-final-row{
    margin-top:10px!important;
}
*/

/* === DFB FINAL FIX: keep Bid Now button inside its card/form box === */
body .bbb-auction-card.bbb-premium-card,
body .bbb-auction-card.bbb-premium-card *{
    box-sizing:border-box!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-body{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-countdown,
body .bbb-auction-card.bbb-premium-card .bbb-countdown-compact{
    order:3!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap{
    order:4!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:12px!important;
    background:#f8fbff!important;
    border:1px solid #d7eaff!important;
    border-radius:18px!important;
    box-shadow:0 8px 18px rgba(15,23,42,.05)!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    border-radius:0!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-unified-bid-box,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-input-label,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-proxy-max-label,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-proxy-max-input,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-qty-input,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-unified-bid-help,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-message{
    display:none!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form button[type="submit"],
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"],
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    outline:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#0b4ea2,#1e6bff)!important;
    color:#ffffff!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:1000!important;
    text-align:center!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    box-shadow:0 12px 24px rgba(11,78,162,.24)!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;
    overflow:hidden!important;
    white-space:nowrap!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form button[type="submit"]:hover,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"]:hover,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn:hover{
    background:linear-gradient(135deg,#093f83,#155ee8)!important;
    color:#ffffff!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-share-icons-final-row{
    order:5!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-top:12px!important;
    overflow:hidden!important;
}
@media(max-width:560px){
    body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap{padding:10px!important;border-radius:16px!important;}
    body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form button[type="submit"],
    body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"],
    body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn{height:50px!important;min-height:50px!important;max-height:50px!important;font-size:14px!important;}
}

/* ==========================================================
   DFB HARD UI FIX 2026-06-12
   1) Remove the pale/white corner highlight around the card Bid Now area.
   2) Force single auction page Bid Now button to stay inside the bid form.
   ========================================================== */

/* FRONT END AUCTION CARDS: remove the unwanted bottom corner highlight/box */
body .bbb-auction-card.bbb-premium-card,
body .bbb-auction-card.bbb-premium-card *{
    box-sizing:border-box!important;
}
body .bbb-auction-card.bbb-premium-card::before,
body .bbb-auction-card.bbb-premium-card::after,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap::before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap::after,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form::before,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form::after{
    content:none!important;
    display:none!important;
    background:none!important;
    box-shadow:none!important;
    border:0!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap{
    width:100%!important;
    max-width:100%!important;
    margin:14px 0 0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;
    overflow:hidden!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap .bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap button[type="submit"],
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    height:54px!important;
    min-height:54px!important;
    margin:0!important;
    padding:0 18px!important;
    position:static!important;
    float:none!important;
    inset:auto!important;
    transform:none!important;
    border:0!important;
    border-radius:999px!important;
    overflow:hidden!important;
    background:linear-gradient(135deg,#0b4ea2,#1e6bff)!important;
    color:#fff!important;
    box-shadow:0 12px 24px rgba(11,78,162,.22)!important;
}

/* SINGLE AUCTION PAGE: contain the full bid form and its Bid now button */
body.single-bbb_auction form.bbb-full-bid-form,
body.single form.bbb-full-bid-form,
body form.bbb-bid-form.bbb-full-bid-form{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 22px!important;
    padding:16px!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid #dbe3ef!important;
    border-radius:18px!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
}
body.single-bbb_auction form.bbb-full-bid-form .bbb-unified-bid-box,
body.single form.bbb-full-bid-form .bbb-unified-bid-box,
body form.bbb-bid-form.bbb-full-bid-form .bbb-unified-bid-box{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    padding:0!important;
    box-sizing:border-box!important;
}
body.single-bbb_auction form.bbb-full-bid-form input.bbb-proxy-max-input,
body.single form.bbb-full-bid-form input.bbb-proxy-max-input,
body form.bbb-bid-form.bbb-full-bid-form input.bbb-proxy-max-input{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
}
body.single-bbb_auction form.bbb-full-bid-form button.bbb-bid-now-btn,
body.single form.bbb-full-bid-form button.bbb-bid-now-btn,
body form.bbb-bid-form.bbb-full-bid-form button.bbb-bid-now-btn,
body.single-bbb_auction form.bbb-full-bid-form button[type="submit"],
body.single form.bbb-full-bid-form button[type="submit"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    height:56px!important;
    min-height:56px!important;
    margin:0!important;
    padding:0 18px!important;
    box-sizing:border-box!important;
    position:static!important;
    float:none!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    border:0!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#2563eb!important;
    color:#fff!important;
    font-size:17px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    box-shadow:0 10px 22px rgba(37,99,235,.20)!important;
}

/* ==========================================================
   DFB HARD FIX 2026-06-12B
   Fixes:
   - Removes the bottom left/right highlight/ghost corners around card Bid Now buttons.
   - Makes bid success/error messages visible again after placing a bid.
   ========================================================== */
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap *,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form *,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn::before,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn::after,
body .bbb-auction-card.bbb-premium-card button[type="submit"]::before,
body .bbb-auction-card.bbb-premium-card button[type="submit"]::after{
    box-shadow:none!important;
    text-shadow:none!important;
    filter:none!important;
    outline:0!important;
    background-image:none!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap{
    padding:0!important;
    margin:12px 0 0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
}
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form{
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap button.bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button.bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap button[type="submit"],
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"]{
    appearance:none!important;
    -webkit-appearance:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    height:54px!important;
    min-height:54px!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:999px!important;
    background:#0b5ed7!important;
    background-color:#0b5ed7!important;
    background-image:none!important;
    color:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
    isolation:isolate!important;
    clip-path:inset(0 round 999px)!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap button.bbb-bid-now-btn:hover,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button.bbb-bid-now-btn:hover,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap button[type="submit"]:hover,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form button[type="submit"]:hover{
    background:#094fb6!important;
    background-color:#094fb6!important;
    background-image:none!important;
    box-shadow:none!important;
}
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-message.ok,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-message.err,
body form.bbb-bid-form .bbb-bid-message.ok,
body form.bbb-bid-form .bbb-bid-message.err{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    margin:10px 0 0!important;
    padding:10px 12px!important;
    overflow:visible!important;
    border-radius:10px!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.35!important;
    text-align:center!important;
}
body form.bbb-bid-form .bbb-bid-message.ok{
    background:#e8f8ee!important;
    color:#137333!important;
    border:1px solid #b7e4c7!important;
}
body form.bbb-bid-form .bbb-bid-message.err{
    background:#fdecec!important;
    color:#b00020!important;
    border:1px solid #f3b5b5!important;
}

/* DFB HARD FIX 2026-06-12C: remove Bid Now bottom-corner ghost highlights on front auction cards */
body .bbb-auction-card .bbb-premium-form-wrap,
body .bbb-auction-card form.bbb-bid-form.bbb-card-compact-bid-form,
body .bbb-auction-card .bbb-bid-form,
body .bbb-auction-card .bbb-place-bid,
body .bbb-auction-card .bbb-card-actions {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    outline: 0 !important;
}
body .bbb-auction-card .bbb-bid-now-btn,
body .bbb-auction-card .bidbybid-place-bid-btn,
body .bbb-auction-card .bbb-place-bid-btn,
body .bbb-auction-card form.bbb-bid-form button[type="submit"] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 8px 0 0 !important;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    isolation: isolate !important;
    clip-path: inset(0 round 999px) !important;
    background: #0b5ed7 !important;
    background-color: #0b5ed7 !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    outline: 0 !important;
}
body .bbb-auction-card .bbb-bid-now-btn::before,
body .bbb-auction-card .bbb-bid-now-btn::after,
body .bbb-auction-card .bidbybid-place-bid-btn::before,
body .bbb-auction-card .bidbybid-place-bid-btn::after,
body .bbb-auction-card .bbb-place-bid-btn::before,
body .bbb-auction-card .bbb-place-bid-btn::after,
body .bbb-auction-card form.bbb-bid-form button[type="submit"]::before,
body .bbb-auction-card form.bbb-bid-form button[type="submit"]::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
}
body form.bbb-bid-form .bbb-bid-message.ok,
body form.bbb-bid-form .bbb-bid-message.err {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 18px !important;
    margin: 10px 0 0 !important;
    padding: 10px 12px !important;
    overflow: visible !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}
body form.bbb-bid-form .bbb-bid-message.ok {background:#e8f8ee!important;color:#137333!important;border:1px solid #b7e4c7!important}
body form.bbb-bid-form .bbb-bid-message.err {background:#fdecec!important;color:#b00020!important;border:1px solid #f3b5b5!important}
body #bbb-hard-bid-global-notice.bbb-hard-bid-global-notice{position:fixed!important;left:50%!important;bottom:24px!important;transform:translateX(-50%)!important;z-index:2147483647!important;display:none!important;max-width:min(92vw,520px)!important;padding:14px 18px!important;border-radius:14px!important;font-size:15px!important;font-weight:900!important;line-height:1.35!important;text-align:center!important;box-shadow:0 18px 45px rgba(15,23,42,.22)!important;background:#fff!important;color:#0f172a!important;border:1px solid #e2e8f0!important}
body #bbb-hard-bid-global-notice.ok{background:#e8f8ee!important;color:#137333!important;border-color:#b7e4c7!important}
body #bbb-hard-bid-global-notice.err{background:#fdecec!important;color:#b00020!important;border-color:#f3b5b5!important}

/* DFB HARD SAFE FIX 2026-06-12C: remove front-card Bid Now ghost/corner highlights without breaking clicks */
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap form.bbb-bid-form{
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    outline:0!important;
    filter:none!important;
    overflow:visible!important;
    isolation:isolate!important;
}
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap:before,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap:after,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form:before,
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form:after,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn:before,
body .bbb-auction-card.bbb-premium-card .bbb-bid-now-btn:after{
    content:none!important;
    display:none!important;
    background:none!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
}
body .bbb-auction-card.bbb-premium-card form.bbb-card-compact-bid-form .bbb-bid-now-btn,
body .bbb-auction-card.bbb-premium-card .bbb-premium-form-wrap .bbb-bid-now-btn{
    position:relative!important;
    z-index:5!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    background:#0b5ed7!important;
    background-color:#0b5ed7!important;
    background-image:none!important;
    box-shadow:none!important;
    filter:none!important;
    outline:0!important;
    border:0!important;
    border-radius:999px!important;
    overflow:hidden!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}
body form.bbb-bid-form .bbb-bid-message.ok,
body form.bbb-bid-form .bbb-bid-message.err{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:18px!important;
    margin:10px 0 0!important;
    padding:10px 12px!important;
    overflow:visible!important;
    border-radius:10px!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.35!important;
    text-align:center!important;
}


/* DFB hard fix: keep login fields on the right side of the split login page */
body .bbb-login-box .bbb-login-card{
    grid-column: 2 !important;
    grid-row: 1 !important;
    background: #ffffff !important;
    padding: 54px 48px !important;
}
body .bbb-login-box .bbb-login-card form{
    padding: 0 !important;
    margin: 0 !important;
}
body .bbb-login-box .bbb-login-card h3{
    margin: 0 0 18px !important;
}
@media (max-width: 782px){
    body .bbb-login-box{
        display: block !important;
    }
    body .bbb-login-box .bbb-login-card{
        padding: 28px 20px !important;
    }
}



/* HARD FIX: Style lost-password links/forms to match Deals for Buddies login/register design */
body .bbb-deals-login-page .bbb-lost-password-link {
    margin: 14px 0 0 !important;
    text-align: center !important;
}

body .bbb-deals-login-page .bbb-lost-password-link a,
body .bbb-deals-login-page .bbb-lost-password-form + .bbb-deals-login-link a,
body .bbb-deals-login-page .bbb-reset-password-form .bbb-deals-login-link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: #eaf3ff !important;
    border: 1px solid rgba(11, 78, 162, 0.18) !important;
    color: #0b4ea2 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(11, 78, 162, 0.10) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body .bbb-deals-login-page .bbb-lost-password-link a:before {
    content: "?" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #0b4ea2 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body .bbb-deals-login-page .bbb-lost-password-link a:hover,
body .bbb-deals-login-page .bbb-lost-password-form + .bbb-deals-login-link a:hover,
body .bbb-deals-login-page .bbb-reset-password-form .bbb-deals-login-link a:hover {
    background: #dbeafe !important;
    color: #083f84 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 24px rgba(11, 78, 162, 0.16) !important;
}

body .bbb-deals-login-page .bbb-lost-password-form,
body .bbb-deals-login-page .bbb-reset-password-form {
    margin-top: 12px !important;
}

body .bbb-deals-login-page .bbb-lost-password-form:before {
    content: "Enter your email address or username and we’ll send you a secure password reset link." !important;
    display: block !important;
    margin: 0 0 16px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    background: #eaf3ff !important;
    border-left: 4px solid #0b4ea2 !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

body .bbb-deals-login-page .bbb-login-success {
    background: #e8f8ee !important;
    border: 1px solid #b7e4c7 !important;
    color: #137333 !important;
    border-radius: 14px !important;
    padding: 13px 15px !important;
    margin-bottom: 18px !important;
    font-weight: 800 !important;
}

@media (max-width: 640px) {
    body .bbb-deals-login-page .bbb-lost-password-link a {
        width: 100% !important;
    }
}

/* HARD FIX: WooCommerce My Account lost password page styling */
body.woocommerce-lost-password .woocommerce,
body.woocommerce-account.woocommerce-lost-password .woocommerce,
body.woocommerce-account .woocommerce:has(form.woocommerce-ResetPassword),
body.woocommerce-account .woocommerce:has(form.lost_reset_password) {
    max-width: 620px !important;
    margin: 34px auto !important;
    padding: 0 16px !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword,
body.woocommerce-lost-password .woocommerce form.lost_reset_password,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
body.woocommerce-account .woocommerce form.lost_reset_password {
    background: #ffffff !important;
    border: 1px solid rgba(11, 78, 162, .13) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 45px rgba(0,0,0,.10) !important;
    padding: 28px !important;
    color: #1f2937 !important;
    overflow: hidden !important;
    position: relative !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword:before,
body.woocommerce-lost-password .woocommerce form.lost_reset_password:before,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword:before,
body.woocommerce-account .woocommerce form.lost_reset_password:before {
    content: "Reset Your Password" !important;
    display: block !important;
    margin: -28px -28px 22px !important;
    padding: 18px 24px !important;
    background: linear-gradient(135deg, #0b4ea2, #1595d3) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    text-align: center !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword p,
body.woocommerce-lost-password .woocommerce form.lost_reset_password p,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword p,
body.woocommerce-account .woocommerce form.lost_reset_password p {
    color: #374151 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin: 0 0 18px !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword label,
body.woocommerce-lost-password .woocommerce form.lost_reset_password label,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword label,
body.woocommerce-account .woocommerce form.lost_reset_password label {
    display: block !important;
    color: #0b4ea2 !important;
    font-weight: 900 !important;
    margin: 0 0 8px !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword input.input-text,
body.woocommerce-lost-password .woocommerce form.lost_reset_password input.input-text,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword input.input-text,
body.woocommerce-account .woocommerce form.lost_reset_password input.input-text,
body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword input[type="text"],
body.woocommerce-lost-password .woocommerce form.lost_reset_password input[type="text"],
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword input[type="text"],
body.woocommerce-account .woocommerce form.lost_reset_password input[type="text"] {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(11, 78, 162, .24) !important;
    background: #f8fbff !important;
    color: #111827 !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword input:focus,
body.woocommerce-lost-password .woocommerce form.lost_reset_password input:focus,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword input:focus,
body.woocommerce-account .woocommerce form.lost_reset_password input:focus {
    border-color: #1595d3 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(21,149,211,.16) !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword button.button,
body.woocommerce-lost-password .woocommerce form.lost_reset_password button.button,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword button.button,
body.woocommerce-account .woocommerce form.lost_reset_password button.button {
    width: 100% !important;
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #0b4ea2 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: .3px !important;
    box-shadow: 0 10px 22px rgba(11,78,162,.22) !important;
}

body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword button.button:hover,
body.woocommerce-lost-password .woocommerce form.lost_reset_password button.button:hover,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword button.button:hover,
body.woocommerce-account .woocommerce form.lost_reset_password button.button:hover {
    background: #083f84 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

body.woocommerce-lost-password .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-notices-wrapper {
    max-width: 620px !important;
    margin: 0 auto 16px !important;
}

body.woocommerce-lost-password .woocommerce-message,
body.woocommerce-lost-password .woocommerce-error,
body.woocommerce-lost-password .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info {
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.08) !important;
}

@media (max-width: 640px) {
    body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword,
    body.woocommerce-lost-password .woocommerce form.lost_reset_password,
    body.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
    body.woocommerce-account .woocommerce form.lost_reset_password {
        padding: 22px !important;
        border-radius: 14px !important;
    }
    body.woocommerce-lost-password .woocommerce form.woocommerce-ResetPassword:before,
    body.woocommerce-lost-password .woocommerce form.lost_reset_password:before,
    body.woocommerce-account .woocommerce form.woocommerce-ResetPassword:before,
    body.woocommerce-account .woocommerce form.lost_reset_password:before {
        margin: -22px -22px 18px !important;
        font-size: 20px !important;
    }
}
