:root {
  --bc-red: #d80d25;
  --bc-red-dark: #b90519;
  --bc-text: #07080b;
  --bc-muted: #6f747c;
  --bc-soft: #f2f3f6;
  --bc-line: #dedfe4;
}

.bc-card { position: relative; color: var(--bc-text); font-family: "Sora", Arial, sans-serif; }
.bc-card a { color: inherit; text-decoration: none; }
.bc-card__image { position: relative; overflow: hidden; background: var(--bc-soft); }
.bc-card__image > a { display: block; }
.bc-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bc-card__badges { position: absolute; z-index: 4; top: 10px; left: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 76%; pointer-events: none; }
.bc-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 8px; background: #ffe5e9; color: var(--bc-red); font-size: 11px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.bc-badge--standard { background: #e6eefc; color: #174c91; }
.bc-badge--buy_now,
.bc-badge--sure-purchase { background: #ecf8ef; color: #0e8834; }
.bc-badge--secondary { box-shadow: inset 0 0 0 1px rgba(14,136,52,.10); }

.bc-fav { position: absolute; z-index: 5; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--bc-red); border-radius: 8px; background: #fff; color: transparent; font-size: 0; cursor: pointer; }
.bc-fav__icon { display: block; width: 17px; height: 17px; background-image: url("../icons/bidclaim-kit/favorite-outline.svg"); background-position: center; background-repeat: no-repeat; background-size: 17px 17px; pointer-events: none; }
.bc-fav.is-active .bc-fav__icon { background-image: url("../icons/bidclaim-kit/favorite-filled.svg"); }
.bc-fav__icon--filled,
.bc-fav img { display: none; }

.bc-photo-count { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 9px; border-radius: 5px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 700; }
.bc-photo-count__icon { position: relative; display: inline-block; width: 13px; height: 11px; border: 1.5px solid #fff; border-radius: 2px; }
.bc-photo-count__icon::before { position: absolute; top: 2px; left: 3px; width: 3px; height: 3px; border: 1px solid #fff; border-radius: 50%; content: ""; }

.bc-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--bc-muted); }
.bc-card__price-row { display: flex; gap: 7px; }
.bc-price-box,
.bc-time-box { flex: 1 1 0; min-width: 0; min-height: 54px; padding: 9px 8px 7px; border-radius: 8px; background: #f0f1f5; text-align: center; }
.bc-price-box strong,
.bc-time-box strong,
.bc-card__offer-link { display: block; overflow: hidden; color: var(--bc-text); font-size: 20px; font-weight: 700; line-height: 1; white-space: nowrap; text-overflow: ellipsis; }
.bc-price-box strong,
.bc-card__offer-link { color: var(--bc-red); }
.bc-price-box span,
.bc-time-box span { display: block; margin-top: 4px; color: #8b8e96; font-size: 10px; }

.bc-card__auction-terms { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; margin: 9px 0 0; }
.bc-reserve-status,
.bc-expected-price { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; line-height: 1.25; }
.bc-reserve-status.is-not-met { border: 1px solid #f2c7cd; background: #fff2f4; color: #c4142d; }
.bc-reserve-status.is-met,
.bc-reserve-status.is-none { border: 1px solid #c8e6d4; background: #effaf3; color: #197640; }
.bc-expected-price { gap: 6px; border: 1px solid #dce1e7; background: #f7f8fa; color: #505454; }
.bc-expected-price strong { color: #171a1d; font-size: 12px; }

.bc-btn,
a.bc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border: 1px solid var(--bc-red); border-radius: 7px; background: var(--bc-red); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.bc-btn--full { width: 100%; }

.bc-auth-gate[hidden] { display: none; }
.bc-auth-gate { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: "Sora", Arial, sans-serif; }
.bc-auth-gate__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: rgba(0,0,0,.62); cursor: default; }
.bc-auth-gate__dialog { position: relative; z-index: 1; width: 100%; max-width: 510px; padding: 54px 42px 36px; border: 1px solid #e0e3e8; border-radius: 14px; background: #fff; color: #0d1117; text-align: center; }
.bc-auth-gate__close { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #101114; font-size: 25px; font-weight: 400; line-height: 34px; cursor: pointer; }
.bc-auth-gate__icon { position: relative; width: 92px; height: 92px; margin: 0 auto 28px; border-radius: 50%; background: #ffe7ea; }
.bc-auth-gate__icon::before { position: absolute; top: 26px; left: 30px; width: 32px; height: 26px; border: 3px solid #e3062c; border-bottom: 0; border-radius: 18px 18px 0 0; content: ""; }
.bc-auth-gate__icon::after { position: absolute; top: 46px; left: 25px; width: 42px; height: 36px; border: 3px solid #e3062c; border-radius: 5px; background: #ffe7ea; content: ""; }
.bc-auth-gate__icon span::before { position: absolute; z-index: 2; top: 58px; left: 44px; width: 5px; height: 11px; border-radius: 3px; background: #e3062c; content: ""; }
.bc-auth-gate__dialog h2 { margin: 0 0 14px; color: #0d1117; font-size: 22px; font-weight: 600; line-height: 1.35; }
.bc-auth-gate__dialog p { max-width: 390px; margin: 0 auto 34px; color: #505454; font-size: 14px; font-weight: 400; line-height: 1.55; }
.bc-auth-gate__actions { display: flex; flex-direction: column; gap: 10px; }
.bc-auth-gate__actions a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 1px solid #e3062c; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.bc-auth-gate__primary { background: #e3062c; color: #fff; }
.bc-auth-gate__secondary { background: #fff; color: #e3062c; }
body.bc-auth-gate-open { overflow: hidden; }

@media (max-width: 560px) {
  .bc-auth-gate { padding: 16px; }
  .bc-auth-gate__dialog { padding: 48px 22px 28px; border-radius: 12px; }
  .bc-auth-gate__dialog h2 { font-size: 19px; }
  .bc-auth-gate__dialog p { margin-bottom: 26px; font-size: 13px; }
}

.bc-empty,
.bc-login-required { width: 100%; padding: 24px; border: 1px solid var(--bc-line); border-radius: 12px; background: #fff; color: var(--bc-muted); text-align: center; }
