/**
 * Boudoir Credits and Compliments UI.
 */
.pb-compliment-picker {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid rgba(205, 170, 90, .28);
    background: rgba(4, 25, 42, .72);
    color: #f7f2e6;
}

.pb-compliment-picker__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pb-compliment-picker__head strong {
    display: block;
    font-family: Georgia, serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-size: 13px;
}

.pb-compliment-picker__head span,
.pb-compliment-picker__empty {
    display: block;
    color: rgba(247, 242, 230, .74);
    font-size: 12px;
    margin: 3px 0 0;
}

.pb-compliment-picker__head em {
    flex: 0 0 auto;
    border: 1px solid rgba(205, 170, 90, .48);
    border-radius: 999px;
    padding: 5px 10px;
    color: #d8bd70;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.pb-compliment-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
}

.pb-compliment-choice {
    appearance: none;
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
    color: inherit;
    cursor: pointer;
    text-align: center;
    transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.pb-compliment-choice:hover,
.pb-compliment-choice.is-selected {
    border-color: rgba(216, 189, 112, .9);
    background: rgba(216, 189, 112, .12);
    transform: translateY(-1px);
}

.pb-compliment-choice img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}

.pb-compliment-choice span {
    min-height: 26px;
    color: rgba(247, 242, 230, .85);
    font-size: 11px;
    line-height: 1.2;
}

.pb-compliment-clear {
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: #d8bd70;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.pb-compliment-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.pb-compliment-image-card {
    margin: 0;
    width: 84px;
    padding: 6px;
    border: 1px solid rgba(205, 170, 90, .32);
    background: rgba(4, 25, 42, .18);
}

.pb-compliment-image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}

.pb-compliment-image-card figcaption {
    margin-top: 4px;
    overflow: hidden;
    color: inherit;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-compliments-card {
    border: 1px solid rgba(205, 170, 90, .22);
    background: rgba(4, 25, 42, .96);
    color: #fff;
    padding: 18px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, .18);
}

.pb-compliments-card__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(205, 170, 90, .35);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.pb-compliments-card__head p {
    margin: 0 0 4px;
    color: #d8bd70;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pb-compliments-card__head h2 {
    margin: 0;
    font-family: Georgia, serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-size: 18px;
}

.pb-compliments-card__head strong {
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.pb-compliments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 12px;
}

.pb-compliments-empty {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
}

.pb-reputation-compliment-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.pb-reputation-compliment-line strong {
    color: #fff;
    font-size: 16px;
}

@media (max-width: 640px) {
    .pb-compliment-picker__head,
    .pb-compliments-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pb-compliment-picker__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pb-compliment-text-row {
    margin-top: 12px;
}

.pb-compliment-text-row label {
    display: grid;
    gap: 6px;
}

.pb-compliment-text-row span {
    color: #f7f2e6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pb-compliment-text-row input {
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(205, 170, 90, .34);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    padding: 7px 10px;
}

.pb-compliment-text-row small {
    display: block;
    margin-top: 4px;
    color: rgba(247, 242, 230, .68);
    font-size: 11px;
}

.pb-compliments-card__head {
    align-items: center;
}

.pb-compliments-card__head h2,
.pb-compliments-card__title h2 {
    color: #fff8eb !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}

.pb-compliments-card__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 14px;
    justify-content: flex-end;
}

.pb-compliments-send-btn,
.pb-compliments-send-submit {
    align-items: center;
    appearance: none;
    border: 1px solid rgba(216, 189, 112, .72);
    background: linear-gradient(180deg, #d1ad58, #b8923e);
    color: #061d31;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: .03em;
    min-height: 38px;
    padding: 8px 14px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.pb-compliments-send-btn:hover,
.pb-compliments-send-submit:hover {
    filter: brightness(1.06);
    text-decoration: none;
}

.pb-compliments-send-submit[disabled] {
    cursor: wait;
    opacity: .62;
}

.pb-compliments-send-panel {
    margin: 0 0 16px;
    padding: 2px 0 14px;
}

.pb-compliments-send-panel .pb-compliment-picker {
    margin-top: 0;
}

.pb-compliments-send-panel__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.pb-compliments-send-status {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    min-height: 18px;
}

.pb-compliment-image-card {
    width: 250px;
    max-width: 100%;
}

.pb-compliment-image-card img {
    height: 250px;
    max-height: 250px;
}

.pb-buyer-compliments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 250px));
    justify-content: start;
}

.pb-buyer-compliments-list .pb-compliment-image-card {
    background: rgba(255, 255, 255, .04);
}

@media (max-width: 640px) {
    .pb-compliments-card__actions,
    .pb-compliments-send-panel__footer {
        align-items: stretch;
        width: 100%;
    }

    .pb-compliments-card__actions {
        justify-content: space-between;
    }

    .pb-compliments-send-btn,
    .pb-compliments-send-submit {
        width: 100%;
    }
}

.pb-compliments-send-status.is-error {
    color: #ffd3d3;
}

/* Version 1.0.246: Profile compliment walls and buyer-profile compact received images. */
.pb-buyer-compliments-card .pb-buyer-compliments-list,
.pb-buyer-compliments-card .pb-profile-compliments-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 150px));
}

.pb-buyer-compliments-card .pb-compliment-image-card {
    width: 150px;
}

.pb-buyer-compliments-card .pb-compliment-image-card img {
    height: 150px;
    max-height: 150px;
}

.pb-profile-compliments-list {
    display: grid;
    gap: 18px;
}

.pb-profile-compliments-list .pb-compliment-image-card {
    background: rgba(255, 255, 255, .04);
}


/* Version 1.0.247: keep seller compliment wall light and readable even though it reuses shared compliment behavior. */
.pb-compliments-card.pb-seller-compliment-wall {
    background: #fffdf8;
    border-color: rgba(199, 162, 90, 0.34);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(11, 29, 45, 0.08);
    color: #172131;
    padding: 24px 26px 26px;
}

.pb-compliments-card.pb-seller-compliment-wall .pb-seller-compliment-wall__title h2 {
    color: #101820 !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .065em;
    text-shadow: none;
}

.pb-compliments-card.pb-seller-compliment-wall .pb-seller-compliment-wall__meta p {
    color: #5e5a53;
}

.pb-compliments-card.pb-seller-compliment-wall .pb-seller-compliment-wall__actions > strong {
    color: #061d31;
}
