.auction-product-section .single-img img,
.auction-product-section .img-nav .thumb img {
    object-fit: contain;
}

.auction-product-section .single-img {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details h3,
.auction-closed .winner,
.bid-history table td,
.related-auction li span,
.direct-buy-option .buy-now p,
.timing-note p,
.bid-now p,
.bidder span {
    word-break: break-word;
}

.dynamic-panel {
    margin-top: 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.auction-flash {
    box-shadow: 0 0 0 3px rgba(194, 27, 124, 0.20), 0 18px 40px rgba(194, 27, 124, 0.18);
    transition: box-shadow 0.4s ease;
}

.auction-flash-price {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.34), 0 18px 40px rgba(230, 57, 70, 0.26);
    animation: auction-price-red-pulse 0.45s ease;
}

#auction-price.price-flash-red {
    color: #e63946 !important;
    animation: auction-price-text-red-pulse 0.45s ease;
}

#auction-price.price-flash-red span {
    color: inherit !important;
}

#auction-timer.timer-warning {
    color: #e63946 !important;
    text-shadow: 0 0 14px rgba(230, 57, 70, 0.24);
    animation: auction-timer-warning-pulse 0.8s ease-in-out infinite;
}

@keyframes auction-price-red-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.10), 0 0 0 rgba(230, 57, 70, 0.10);
    }
    40% {
        box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.26), 0 22px 48px rgba(230, 57, 70, 0.30);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18), 0 18px 40px rgba(230, 57, 70, 0.18);
    }
}

@keyframes auction-price-text-red-pulse {
    0% {
        color: inherit;
        transform: scale(1);
    }
    35% {
        color: #e63946;
        transform: scale(1.06);
        text-shadow: 0 0 18px rgba(230, 57, 70, 0.24);
    }
    100% {
        color: #e63946;
        transform: scale(1);
        text-shadow: none;
    }
}

@keyframes auction-timer-warning-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.88;
    }
}

.dynamic-message {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 16px;
    display: none;
}

.dynamic-message.show {
    display: block;
}

.dynamic-message.info {
    background: #f6effc;
    color: #4b2266;
}

.dynamic-message.good {
    background: #eef8ef;
    color: #256b39;
}

.dynamic-message.warn {
    background: #fff4e6;
    color: #9c5d16;
}

.dynamic-message.error {
    background: #fff1f1;
    color: #a62727;
}

.bid-now .invitation-input {
    width: 100%;
    margin-bottom: 12px;
}

.bid-now .bid-button[disabled] {
    opacity: 0.65;
    pointer-events: none;
}

.legacy-message-box {
    display: none !important;
}

.live-auction-message.has-message .default-message {
    display: none;
}

.live-auction-message .current-message {
    display: none;
}

.live-auction-message.has-message .current-message {
    display: block;
}

.live-auction-message.info {
    background: #f6effc;
}

.live-auction-message.info .current-message {
    color: #4b2266;
}

.live-auction-message.good {
    background: #eef8ef;
}

.live-auction-message.good .current-message {
    color: #256b39;
}

.live-auction-message.warn {
    background: #fff4e6;
}

.live-auction-message.warn .current-message {
    color: #9c5d16;
}

.live-auction-message .current-message a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.live-auction-message.error {
    background: #fff1f1;
}

.live-auction-message.error .current-message {
    color: #a62727;
}

.bid-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.bid-action-row .bid-button,
.bid-action-row .invitation-button,
.bid-action-row .secondary-button {
    border: 0;
    text-decoration: none;
}

.bid-action-row .bid-button[disabled],
.bid-action-row .invitation-button[disabled],
.bid-action-row .secondary-button[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

.invitation-input {
    min-width: 260px;
    border: 1px solid rgba(65, 26, 95, 0.20);
    border-radius: 14px;
    padding: 13px 16px;
    color: #3e1758;
}

.bid-status-line {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #6b6b6b;
    min-height: 24px;
}

.bid-status-line.good {
    color: #256b39;
}

.bid-status-line.warn {
    color: #9c5d16;
}

.bid-status-line.error {
    color: #a62727;
}

.meta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: #4f2665;
    font-weight: 600;
}

.meta-row span strong {
    color: #c2197c;
}

.section-hidden-data {
    display: none;
}

.winner-payment-note {
    margin-top: 14px;
    border-radius: 16px;
    background: #fff3e7;
    color: #7f4b11;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
}

.private-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #f6effc;
    color: #4b2266;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 14px;
}

.auction-closed.dynamic-expired h3,
.auction-closed.dynamic-expired .winner {
    color: #9c5d16;
}

.bid-history .table-container table tbody tr.empty-row td {
    text-align: center;
    color: #777;
    padding: 28px 18px;
}

@media (max-width: 991.98px) {
    .auction-page #bottomPanel {
        display: none !important;
    }

    .invitation-input {
        width: 100%;
    }

    .bid-action-row {
        display: grid;
    }

    .auction-product-section .row {
        align-items: flex-start;
    }

    .auction-product-section .single-img {
        min-height: 220px;
    }

    .auction-product-section .img-nav {
        gap: 10px;
        justify-content: center;
        margin-top: 14px;
    }

    .auction-product-section .img-nav .thumb {
        width: 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .auction-product-section .img-nav .thumb img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .auction-product-section .single-img {
        min-height: 180px;
    }
}
