/**
 * AuctionForge Brand Overrides for Cooper Barrington Theme
 *
 * This file overrides AuctionForge plugin styles with Cooper Barrington
 * brand colors, fonts and layout. It is enqueued AFTER AuctionForge CSS
 * so it always takes precedence regardless of plugin updates.
 *
 * Brand variables are defined in the main theme style.css :root block.
 *
 * @package Cooper_Barrington
 */

/* ===== LOT CARDS ===== */
.bp-lot {
    border: 1px solid var(--cb-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
    background: var(--cb-white);
}
.bp-lot:hover {
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.12);
    transform: translateY(-2px);
}

/* Lot images */
.bp-lot__wrp-image { display: block; overflow: hidden; }
.bp-lot__image {
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.bp-lot:hover .bp-lot__image { transform: scale(1.03); }

/* Lot content */
.bp-lot__content { padding: 1rem 1.25rem; }
.bp-lot__title a,
.bp-lot__title .bp-title {
    color: var(--cb-navy);
    font-family: var(--cb-font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}
.bp-lot__title a:hover { color: var(--cb-gold); }
.bp-lot__date {
    color: var(--cb-charcoal-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Lot tool bar (price, buttons) */
.bp-lot__tool { gap: 0.5rem; }
.bp-subtitle {
    color: var(--cb-charcoal-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.bp-price {
    color: var(--cb-navy);
    font-family: var(--cb-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
}

/* ===== BUTTONS ===== */
.bp-btn,
.bp-btn-default,
.bp-lot-view {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-family: var(--cb-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.bp-btn-default,
a.bp-btn-default {
    background: var(--cb-navy);
    color: var(--cb-white) !important;
    border: 2px solid var(--cb-navy);
}
.bp-btn-default:hover,
a.bp-btn-default:hover {
    background: var(--cb-gold);
    border-color: var(--cb-gold);
    color: var(--cb-white) !important;
}
.bp-lot-view {
    background: transparent;
    color: var(--cb-navy);
    border: 2px solid var(--cb-navy);
}
.bp-lot-view:hover {
    background: var(--cb-navy);
    color: var(--cb-white);
}
.bp-text-red {
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== AUCTION PAGE HEADERS ===== */
.bp-header__content-minimal {
    background: var(--cb-parchment);
    border-top: 2px solid var(--cb-gold);
    border-bottom: 1px solid var(--cb-border);
    font-family: var(--cb-font-body);
}
.bp-header__content-minimal h1.title,
.bp-header__content-minimal h1.title-sm {
    font-family: var(--cb-font-heading);
    color: var(--cb-navy);
}
.bp-header__content-profile-page {
    background: var(--cb-parchment);
    border-top: 2px solid var(--cb-gold);
    border-bottom: 1px solid var(--cb-border);
}
.bp-header__content-profile-page h1 {
    font-family: var(--cb-font-heading);
    color: var(--cb-navy);
}

/* ===== SINGLE LOT PAGE ===== */
.single-lot__slider { border-radius: 8px; overflow: hidden; }
.single-lot__slider .swiper-button-next,
.single-lot__slider .swiper-button-prev {
    color: var(--cb-white);
    background: rgba(27, 42, 74, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.single-lot__slider .swiper-button-next::after,
.single-lot__slider .swiper-button-prev::after { font-size: 16px; }

/* Lot share buttons */
.bp-info .share-btn__link { transition: opacity 0.2s; }
.bp-info .share-btn__link:hover { opacity: 0.7; }

/* ===== COUNTDOWN SHORTCODE ===== */
.bp-cooldown { font-family: var(--cb-font-body); }
.bp-cooldown .bp-title,
.bp-cooldown h2,
.bp-cooldown h3 {
    font-family: var(--cb-font-heading);
    color: var(--cb-navy);
}

/* ===== AUCTION CARDS (shortcode lists) ===== */
.bp-lot_auction .bp-lot__content { padding: 1.25rem; }
.bp-lot_auction .bp-lot__text {
    color: var(--cb-charcoal-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== FORMS (login, register, submission) ===== */
.bp-form input[type="text"],
.bp-form input[type="email"],
.bp-form input[type="password"],
.bp-form input[type="tel"],
.bp-form textarea,
.bp-form select {
    border: 1px solid var(--cb-border);
    border-radius: 4px;
    padding: 0.65rem 0.85rem;
    font-family: var(--cb-font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.bp-form input:focus,
.bp-form textarea:focus,
.bp-form select:focus {
    border-color: var(--cb-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 153, 59, 0.15);
}
.bp-form .bp-btn-submit,
.bp-form button[type="submit"] {
    background: var(--cb-gold);
    color: var(--cb-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-family: var(--cb-font-body);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.bp-form .bp-btn-submit:hover,
.bp-form button[type="submit"]:hover {
    background: var(--cb-gold-dark);
}

/* ===== MODALS ===== */
.bp-modal .bp-modal-content {
    border-radius: 8px;
    font-family: var(--cb-font-body);
}
.bp-modal .bp-modal-content h2,
.bp-modal .bp-modal-content h3 {
    font-family: var(--cb-font-heading);
    color: var(--cb-navy);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .bp-lot__content { padding: 0.75rem 1rem; }
    .bp-header__content-minimal h1.title { font-size: 1.4rem; }
    .bp-header__content-minimal h1.title-sm { font-size: 1.1rem; }
}
