/* ===== 리뷰 상세 ===== */
.rv-body {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.rv-thumb {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
}
.rv-body-main {
    flex: 1;
    min-width: 0;
}
.rv-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.rv-title {
    font-size: 1.5rem;
    margin: 0;
}
.rv-rating {
    margin-left: auto;
    color: var(--color-brand);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.rv-product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.rv-primary-chip {
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--color-brand-soft);
    color: var(--color-brand);
    padding: 8px 13px;
    border-radius: 8px;
}
.rv-product-chip {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 7px 12px;
    border-radius: 8px;
}
.rv-like-btn {
    border-radius: 12px;
    padding: 10px 20px;
}
.rv-like-btn-active {
    background: #FCE8F0;
    color: #E0447A;
    border-color: #F3B9CF;
}
.rv-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}
.rv-content {
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.rv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.rv-related-thumb-fallback {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-accent-soft);
}
.rv-related-title {
    margin: 0;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.94rem;
}

/* ===== 리뷰 목록 ===== */
.rv-search-input {
    max-width: 260px;
    height: 42px;
}
.rv-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rv-card-pad {
    padding: 22px;
}
.rv-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.rv-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
}
.rv-card-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--color-accent-mid);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.rv-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1rem;
}
.rv-card-meta-right {
    margin-left: auto;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}
.rv-card-rating {
    color: var(--color-brand);
    font-weight: 700;
    font-size: 0.95rem;
}
.rv-card-body-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.rv-card-thumb {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.rv-card-thumb-fallback {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    background: var(--color-accent-soft);
    flex-shrink: 0;
}
.rv-card-title {
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 0.98rem;
}
.rv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rv-card-primary-tag {
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--color-brand-soft);
    color: var(--color-brand);
    padding: 6px 9px;
    border-radius: 7px;
}
.rv-card-tag {
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 6px 9px;
    border-radius: 7px;
}
.rv-card-excerpt {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-ink-soft);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== 내 리뷰 목록 ===== */
.rv-my-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rv-my-card {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
}
.rv-my-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.rv-my-body {
    flex: 1;
    min-width: 0;
}
.rv-my-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.rv-my-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
}
.rv-my-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.rv-my-primary-tag {
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--color-brand-soft);
    color: var(--color-brand);
    padding: 5px 9px;
    border-radius: 7px;
}
.rv-my-tag {
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 5px 9px;
    border-radius: 7px;
}
.rv-my-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.rv-my-action-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ===== 리뷰 작성/수정 폼 ===== */
.rv-photo-product-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: stretch;
}
.rv-photo-col {
    display: flex;
    flex-direction: column;
}
.rv-photo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 180px;
    flex: 1;
    min-height: 180px;
    border: 2px dashed var(--color-border);
    border-radius: 14px;
    cursor: pointer;
    background: var(--color-bg);
    color: var(--color-ink-soft);
    overflow: hidden;
    position: relative;
}
.rv-photo-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rv-photo-add-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.rv-photo-add-label {
    font-size: 0.78rem;
    font-weight: 600;
}
.rv-inline-autocomplete-wrap {
    position: relative;
}
.rv-inline-autocomplete-list {
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 240px;
}
.rv-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.rv-star {
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-border);
}
.rv-star-active {
    color: var(--color-brand);
}
.rv-rating-label {
    font-weight: 700;
    color: var(--color-brand);
    margin-left: 10px;
}
