.public-bid-card__prices {
    display: grid;
    gap: 6px;
    margin: 12px 0;
    font-size: 14px;
}

.public-bid-card__desc {
    color: #666;
    min-height: 48px;
    margin: 0 0 14px;
}

.public-bid-detail {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 20px;
}

.public-bid-detail__image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
    margin-bottom: 18px;
}

.public-bid-detail__image img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.public-bid-detail__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 14px 0;
    color: #444;
    font-size: 14px;
}

.public-bid-detail__specs i {
    color: #8d1d2a;
    margin-right: 5px;
}

.public-bid-detail__text {
    color: #555;
    line-height: 1.6;
}

.public-bid-info {
    display: grid;
    gap: 12px;
    font-size: 14px;
}

.public-bid-form {
    display: grid;
    gap: 14px;
}

.public-bid-user-last {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 10px 12px;
    color: #444;
}

.public-bid-history {
    display: grid;
    gap: 10px;
}

.public-bid-history__item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededed;
}

.public-bid-history__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 980px) {
    .public-bid-detail {
        grid-template-columns: 1fr;
    }
}

.public-bid-live {
  display: grid;
  gap: 12px;
}

.live-notice {
  background: #e9fff0;
  border: 1px solid #b7ebc6;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  color: #167c3a;
}

.bid-leader-state {
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    transition: all .25s ease;
    border: 2px solid transparent;
}

.bid-leader-state.is-winning {
    background: #eafaf0;
    color: #146c3b;
    border-color: #8ed3a7;
}

.bid-leader-state.is-losing {
    background: #fff1f1;
    color: #a12626;
    border-color: #ef9a9a;
}

#jsBidPageState.is-winning {
    animation: winningPulse 2.2s infinite;
}

#jsBidPageState.is-losing {
    animation: losingPulse 2.2s infinite;
}

@keyframes winningPulse {
    0%   { box-shadow: 0 0 0 0 rgba(30, 160, 80, 0.18); }
    70%  { box-shadow: 0 0 0 18px rgba(30, 160, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 160, 80, 0); }
}

@keyframes losingPulse {
    0%   { box-shadow: 0 0 0 0 rgba(200, 50, 50, 0.16); }
    70%  { box-shadow: 0 0 0 18px rgba(200, 50, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 50, 50, 0); }
}

.bid-topbar {
    position: sticky;
    top: 70px; /* ezt igazítsd a fix menüsor magasságához */
    z-index: 200;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.bid-topbar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    flex-direction: row;
}

.bid-topbar__leader {
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    flex: 0 0 auto;
}

.bid-topbar__leader.is-winning {
    background: #ecfdf3;
    border-color: #b7ebc6;
    color: #177245;
}

.bid-topbar__leader.is-losing {
    background: #fff1f2;
    border-color: #ffc9d0;
    color: #b42318;
}

.bid-topbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.bid-topbar__label {
    font-size: 14px;
    color: #666;
}

.bid-topbar__value {
    font-size: 22px;
    font-weight: 700;
    color: red;
}

.bid-topbar__notice {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7d6;
    color: #8a6700;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 auto;
}

.bid-topbar__btn {
    margin-left: auto;
    flex: 0 0 auto;
}

.section.section--light {
    padding-top: 18px;
}

@media (max-width: 900px) {
    .bid-topbar__btn {
        margin-left: unset;
    }
    .bid-topbar {
        top: 60px;
    }

    .bid-topbar__inner {
        min-height: 58px;
        gap: 12px;
    }

    .bid-topbar__value {
        font-size: 16px;
    }
    .bid-topbar__inner{
        flex-direction: column;
    }
}