/* Scan page — этalon v3.4 */
.cb-main.cb-main--product-reviews-scan {
    max-width: 860px;
}

.cb-ds-main .cb-pr-scan-page--etalon {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.cb-pr-scan-page--etalon {
    width: 100%;
    color: #0f172a;
}

.cb-pr-scan-page--etalon .cb-pr-scan-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    padding: clamp(20px, 3vw, 32px);
}

.cb-pr-scan-page--etalon .cb-pr-scan-card__head h1 {
    margin: 10px 0 8px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.cb-pr-scan-page--etalon .cb-pr-scan-card__head p {
    margin: 0;
    max-width: 680px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.cb-pr-scan-page--etalon .cb-pr-scan-card__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #0877f2;
    text-decoration: none;
}

.cb-pr-scan-page--etalon .cb-pr-scan-card__back:hover {
    text-decoration: underline;
}

.cb-pr-mode-switch--etalon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0 18px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.cb-pr-mode-switch--etalon .cb-pr-mode-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.cb-pr-mode-switch--etalon .cb-pr-mode-switch__btn.is-active {
    background: #fff;
    border-color: #c7daf5;
    color: #0877f2;
    box-shadow: 0 8px 24px rgba(8, 119, 242, 0.08);
}

.cb-pr-mode-switch--etalon .cb-pr-mode-switch__icon {
    display: inline-flex;
    color: inherit;
}

.cb-pr-scan-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, rgba(8, 119, 242, 0.18), transparent 55%),
        #0b1220;
    background-size: 24px 24px, 24px 24px, auto, auto;
    min-height: 280px;
}

.cb-pr-scan-viewport__start {
    width: min(100%, 280px);
    margin-top: 6px;
}

.cb-pr-camera-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.cb-pr-camera-overlay__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.cb-pr-camera-overlay__btn:hover {
    background: rgba(15, 23, 42, 0.9);
}

.cb-pr-camera-live-status {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

.cb-pr-scan-viewport .cb-pr-camera-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 360px;
}

.cb-pr-scan-viewport .cb-pr-camera-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cb-pr-scan-viewport .cb-pr-camera-frame {
    position: absolute;
    inset: 14% 10%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.cb-pr-scan-viewport__idle {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 42px 24px 36px;
    text-align: center;
    color: #fff;
}

.cb-pr-scan-viewport__stage {
    position: relative;
    width: min(220px, 70%);
    aspect-ratio: 1.35;
    margin-bottom: 6px;
}

.cb-pr-scan-viewport__corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid #3b9bff;
}

.cb-pr-scan-viewport__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cb-pr-scan-viewport__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.cb-pr-scan-viewport__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.cb-pr-scan-viewport__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.cb-pr-scan-viewport__glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
}

.cb-pr-scan-viewport__title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    line-height: 1.25;
}

.cb-pr-scan-viewport__hint {
    margin: 0;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.45;
}

.cb-pr-scan-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.cb-pr-scan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cb-pr-scan-features__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #0877f2;
}

.cb-pr-scan-features__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.cb-pr-scan-features__body strong {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.cb-pr-scan-features__body span {
    font-size: 13px;
    line-height: 1.35;
    color: #64748b;
}

.cb-pr-scan-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    margin-top: 18px;
}

.cb-pr-camera-status {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.cb-pr-scan-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cb-pr-scan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.cb-pr-scan-btn--primary {
    width: 100%;
    background: #0877f2;
    color: #fff;
    box-shadow: 0 10px 24px rgba(8, 119, 242, 0.24);
}

.cb-pr-scan-btn--primary:hover {
    background: #0666d4;
}

.cb-pr-scan-btn--ghost {
    background: #fff;
    border-color: #dbe5f2;
    color: #334155;
}

.cb-pr-scan-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.cb-pr-scan-toolbar__hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5edf7;
}

.cb-pr-scan-toolbar__hint-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #0877f2;
    font-size: 13px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.cb-pr-scan-toolbar__hint p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.cb-pr-scan-toolbar__link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #0877f2;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.cb-pr-camera-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-manual-form--etalon {
    display: grid;
    gap: 12px;
    padding: 22px 24px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-manual-form__field {
    display: grid;
    gap: 8px;
}

.cb-pr-manual-form__field span {
    font-size: 13px;
    font-weight: 700;
    color: #52637a;
}

.cb-pr-manual-form__field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: #fff;
    font-size: clamp(20px, 3vw, 28px);
    letter-spacing: 0.08em;
    text-align: center;
    color: #0f172a;
}

.cb-pr-manual-form__field input:focus {
    outline: none;
    border-color: #87b8f7;
    box-shadow: 0 0 0 3px rgba(8, 119, 242, 0.12);
}

.cb-pr-manual-form__help {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.cb-pr-manual-form__submit {
    width: 100%;
}

.cb-pr-scan-page--etalon .cb-pr-status {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e5edf7;
}

.cb-pr-scan-page--etalon .cb-pr-result {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .cb-pr-scan-features {
        grid-template-columns: 1fr;
    }

    .cb-pr-scan-toolbar {
        grid-template-columns: 1fr;
    }
}

/* Legacy scan layout helpers (shared) */
.cb-pr-scan-layout {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    padding: 1rem 0 3rem;
    max-width: 720px;
    margin: 0 auto;
}

.cb-pr-scan-page {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
}

.cb-pr-scan-card {
    width: 100%;
    background: #fff;
    border: 1px solid var(--cb-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
}

.cb-pr-scan-card__head h1 {
    font-size: 1.5rem;
    margin: 0.5rem 0 0.35rem;
    line-height: 1.25;
}

.cb-pr-scan-card__head p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.cb-pr-scan-card__back {
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
}

.cb-pr-scan-card__back:hover { text-decoration: underline; }

.cb-pr-mode-switch {
    display: flex;
    gap: 0.5rem;
    margin: 1.25rem 0 1rem;
    padding: 0.25rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.cb-pr-mode-switch__btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.cb-pr-mode-switch__btn.is-active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.cb-pr-scan-panel { margin-top: 0.5rem; }

.cb-pr-camera-wrap {
    position: relative;
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-pr-camera-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

.cb-pr-camera-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cb-pr-camera-frame {
    position: absolute;
    inset: 12% 8%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.cb-pr-camera-placeholder {
    padding: 2rem 1.25rem;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.cb-pr-camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.cb-pr-camera-notice { margin-top: 0.75rem; }

.cb-pr-manual-field input {
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
    text-align: center;
}

.cb-pr-help {
    margin: 0.35rem 0 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.cb-pr-search-btn { width: 100%; }

.cb-pr-status {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cb-pr-status__label { font-weight: 600; color: #0f172a; }
.cb-pr-status__detail { margin-top: 0.35rem; font-size: 0.875rem; color: #64748b; }

.cb-pr-result { margin-top: 1rem; }

.cb-pr-candidate {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.cb-pr-candidate h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.cb-pr-candidate-meta { font-size: 0.875rem; color: #64748b; margin-bottom: 0.75rem; }

.cb-pr-result__photos h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.cb-pr-photo-grid { display: grid; gap: 0.75rem; margin-bottom: 1rem; }

@media (min-width: 640px) {
    .cb-pr-scan-card { padding: 2rem; }
    .cb-pr-photo-grid { grid-template-columns: 1fr 1fr; }
}

.cb-pr-scan-card .cb107-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Shared product reviews styles */
.cb-pr-page .cb-pr-nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:1rem 0 1.5rem}
.cb-pr-page .cb-pr-nav a{color:inherit;text-decoration:underline}
.cb-pr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}
.cb-pr-product-card{display:flex;flex-direction:column;gap:.35rem;padding:.75rem;border:1px solid var(--cb-border,#e5e7eb);border-radius:12px;text-decoration:none;color:inherit}
.cb-pr-product-card img,.cb-pr-no-img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#f3f4f6}
.cb-pr-rating-summary{text-align:right}
.cb-pr-rating-summary b{font-size:2rem;display:block}
.cb-pr-status-badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.75rem;background:#eef2ff}
.cb-pr-bar{display:flex;align-items:center;gap:.5rem;margin:.25rem 0}
.cb-pr-bar i{flex:1;height:8px;background:#2563eb;border-radius:4px;display:block;max-width:70%}
.cb-pr-review{border-top:1px solid #eee;padding:1rem 0}
.cb-pr-vote{display:flex;gap:.5rem;margin-top:.5rem}
.cb-pr-categories{display:grid;gap:.75rem}
.cb-pr-categories a{display:block;padding:1rem;border:1px solid #eee;border-radius:12px;text-decoration:none;color:inherit}

.cb-pr-upload-zones { display: grid; gap: 0.85rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .cb-pr-upload-zones { grid-template-columns: repeat(3, 1fr); } }

.cb-pr-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.85rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8fafc;
}
.cb-pr-upload-zone__placeholder { text-align: center; display: grid; gap: 0.35rem; }
.cb-pr-upload-zone__placeholder strong { font-size: 0.95rem; }
.cb-pr-upload-zone__placeholder span { font-size: 0.8rem; color: #64748b; }
.cb-pr-upload-zone__preview img { width: 100%; max-height: 120px; object-fit: cover; border-radius: 8px; }
.cb-pr-upload-zone__actions { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; font-size: 0.8rem; align-items: center; }

.cb-pr-processing-stages { list-style: none; padding: 0; margin: 1rem 0; }
.cb-pr-processing-stage { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0; color: #64748b; }
.cb-pr-processing-stage.is-done { color: #0f172a; font-weight: 600; }
.cb-pr-processing-stage__dot {
    width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0;
}
.cb-pr-processing-stage.is-done .cb-pr-processing-stage__dot { background: #2563eb; }

.cb-pr-photo-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.75rem; }
.cb-pr-photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.cb-pr-photo-preview__broken {
    aspect-ratio: 1; display: grid; place-content: center; text-align: center;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; font-size: 0.8rem; color: #b91c1c;
}
.cb-pr-processing-actions { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.cb-pr-status--processing, .cb-pr-status--queued { background: #dbeafe; color: #1d4ed8; }
.cb-pr-status--failed { background: #fee2e2; color: #b91c1c; }
.cb-pr-status--needs_confirmation { background: #fef3c7; color: #b45309; }

/* Confirm vision page — wizard layout (v1.6) */
.cb-main--pr-confirm {
    background: #f6f7f9;
    padding-bottom: 2rem;
    max-width: none;
}

body:has([data-pr-confirm]) .cb108-lightbox,
body:has([data-pr-product-show]) .cb108-lightbox {
    display: none !important;
    pointer-events: none !important;
}

.cb-pr-confirm-shell {
    max-width: 1160px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
    box-sizing: border-box;
}

.cb-pr-confirm-top { margin-bottom: 1.25rem; }

.cb-pr-confirm-breadcrumb {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #2563eb;
    text-decoration: none;
}
.cb-pr-confirm-breadcrumb:hover { text-decoration: underline; }

.cb-pr-confirm-header h1 {
    margin: 0 0 0.35rem;
    font-size: 1.625rem;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
}
.cb-pr-confirm-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.cb-pr-confirm-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}
.cb-pr-confirm-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e8ecf1;
    color: #64748b;
}
.cb-pr-confirm-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    font-size: 0.6875rem;
    font-weight: 700;
}
.cb-pr-confirm-steps .is-done { background: #dbeafe; color: #1d4ed8; }
.cb-pr-confirm-steps .is-active { background: #2563eb; color: #fff; font-weight: 600; }
.cb-pr-confirm-steps .is-active span { background: rgba(255,255,255,.25); color: #fff; }

.cb-pr-confirm-form { display: block; min-width: 0; }

.cb-pr-confirm-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.cb-pr-confirm-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.04);
    padding: 1.5rem;
    box-sizing: border-box;
}

.cb-pr-confirm-section + .cb-pr-confirm-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef1f5;
}
.cb-pr-confirm-section__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.cb-pr-confirm-section--gtin.is-blocked {
    background: #fef2f2;
    margin: 1.5rem -1.5rem -1.5rem;
    padding: 1.5rem;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #fecaca;
}

.cb-pr-confirm-grid {
    display: grid;
    gap: 1rem;
}
.cb-pr-confirm-grid--main {
    grid-template-columns: 1fr 1fr;
}
.cb-pr-confirm-grid--specs {
    grid-template-columns: 1fr 1fr;
}

.cb-pr-field { min-width: 0; }
.cb-pr-field--wide { grid-column: 1 / -1; }

.cb-pr-field__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}
.cb-pr-field-hint-inline {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.cb-pr-field__control {
    position: relative;
}
.cb-pr-field__control--textarea .cb-pr-ai-hint {
    top: 0.65rem;
    transform: none;
}

.cb-pr-confirm-shell .cb-pr-field__input,
.cb-pr-confirm-shell .cb-pr-field__textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 0.9375rem;
    line-height: 1.25;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    opacity: 1;
    pointer-events: auto;
    cursor: text;
    -webkit-appearance: none;
    appearance: none;
}
.cb-pr-confirm-shell .cb-pr-field__textarea {
    min-height: 88px;
    padding: 12px 14px;
    resize: vertical;
}
.cb-pr-confirm-shell .cb-pr-field__control:has(.cb-pr-ai-hint) .cb-pr-field__input {
    padding-right: 4.5rem;
}
.cb-pr-confirm-shell .cb-pr-field__control--textarea:has(.cb-pr-ai-hint) .cb-pr-field__textarea {
    padding-right: 4.5rem;
}
.cb-pr-confirm-shell .cb-pr-field__input:hover,
.cb-pr-confirm-shell .cb-pr-field__textarea:hover {
    border-color: #94a3b8;
}
.cb-pr-confirm-shell .cb-pr-field__input:focus,
.cb-pr-confirm-shell .cb-pr-field__textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.cb-pr-confirm-shell .cb-pr-field__input:disabled,
.cb-pr-confirm-shell .cb-pr-field__textarea:disabled,
.cb-pr-confirm-shell .cb-pr-field__input[readonly],
.cb-pr-confirm-shell .cb-pr-field__textarea[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}
.cb-pr-confirm-shell input[type="number"].cb-pr-field__input {
    -moz-appearance: textfield;
}
.cb-pr-confirm-shell input[type="number"].cb-pr-field__input::-webkit-outer-spin-button,
.cb-pr-confirm-shell input[type="number"].cb-pr-field__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cb-pr-ai-hint {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    color: #64748b;
    background: #f1f5f9;
    pointer-events: none;
    white-space: nowrap;
}
.cb-pr-ai-hint.is-low {
    color: #b45309;
    background: #fef3c7;
}
.cb-pr-ai-hint.is-gtin {
    color: #047857;
    background: #d1fae5;
}
.cb-pr-ai-hint.is-user {
    color: #b45309;
    background: #fef3c7;
}

.cb-pr-field-error {
    display: block;
    margin-top: 0.35rem;
    color: #b91c1c;
    font-size: 0.8125rem;
}
.cb-pr-field-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}
.cb-pr-req { color: #dc2626; }

.cb-pr-category-path {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.35;
}

.cb-pr-ref-list, .cb-pr-category-list {
    position: relative;
    z-index: 30;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    max-height: 200px;
    overflow: auto;
    margin-top: 0.35rem;
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
}
.cb-pr-ref-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.75rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    color: #0f172a;
}
.cb-pr-ref-item:hover { background: #f8fafc; }

.cb-pr-gtin-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.875rem;
}
.cb-pr-gtin-item { min-width: 0; }
.cb-pr-gtin-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.15rem;
}
.cb-pr-gtin-value {
    font-weight: 600;
    color: #0f172a;
    word-break: break-all;
}
.cb-pr-gtin-status {
    margin-left: auto;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.cb-pr-gtin-status--ok { background: #d1fae5; color: #047857; }
.cb-pr-gtin-status--bad { background: #fee2e2; color: #b91c1c; }
.cb-pr-gtin-status--muted { background: #e2e8f0; color: #64748b; }
.cb-pr-gtin-help {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    color: #b91c1c;
}

.cb-pr-confirm-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef1f5;
}
.cb-pr-confirm-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.cb-pr-link-back {
    font-size: 0.875rem;
    color: #2563eb;
    text-decoration: none;
}
.cb-pr-link-back:hover { text-decoration: underline; }

.cb-pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0 1.125rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.cb-pr-btn--primary {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.cb-pr-btn--primary:hover:not(:disabled) { background: #1d4ed8; }
.cb-pr-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.cb-pr-btn--ghost {
    background: transparent;
    color: #475569;
    border-color: #cbd5e1;
}
.cb-pr-btn--ghost:hover { background: #f8fafc; border-color: #94a3b8; }

.cb-pr-actions-menu { position: relative; }
.cb-pr-actions-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    min-width: 200px;
    padding: 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
    z-index: 40;
}
.cb-pr-actions-panel button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    color: #0f172a;
    cursor: pointer;
}
.cb-pr-actions-panel button:hover { background: #f8fafc; }
.cb-pr-actions-panel button[data-pr-reject-form] { color: #b91c1c; }

.cb-pr-confirm-aside { min-width: 0; }
.cb-pr-confirm-sticky {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.04);
    padding: 1.25rem;
    box-sizing: border-box;
}

.cb-pr-gallery__main-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    border-radius: 12px;
    overflow: hidden;
}
.cb-pr-gallery__main-btn img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 12px;
}
.cb-pr-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.cb-pr-gallery__thumb {
    flex: 1;
    padding: 0.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}
.cb-pr-gallery__thumb.is-active { border-color: #2563eb; }
.cb-pr-gallery__thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.cb-pr-gallery__caption {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0.5rem 0 0;
    text-align: center;
}

.cb-pr-preview__name {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}
.cb-pr-preview__line {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    color: #64748b;
}
.cb-pr-preview__note {
    margin: 0.65rem 0 1rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}
.cb-pr-status--needs_confirmation { background: #fef3c7; color: #b45309; }

.cb-pr-confirm-mobile-bar {
    display: none;
}

/* Lightbox */
.cb-pr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 16px;
    box-sizing: border-box;
}
.cb-pr-lightbox[hidden] { display: none !important; }
.cb-pr-lightbox.is-open { display: flex !important; }
.cb-pr-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.88);
    cursor: pointer;
}
.cb-pr-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: min(960px, 100%);
    width: 100%;
    pointer-events: none;
}
.cb-pr-lightbox__dialog > * { pointer-events: auto; }
.cb-pr-lightbox__figure {
    margin: 0;
    flex: 1;
    min-width: 0;
    text-align: center;
}
.cb-pr-lightbox__figure img {
    display: block;
    margin: 0 auto;
    max-width: min(90vw, 100%);
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #0f172a;
    cursor: default;
}
.cb-pr-lightbox__figure figcaption {
    margin-top: 0.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
}
.cb-pr-lightbox__counter {
    display: block;
    margin-top: 0.25rem;
    color: #94a3b8;
    font-size: 0.8rem;
}
.cb-pr-lightbox__close {
    position: fixed;
    top: calc(56px + 8px);
    right: 16px;
    z-index: 1402;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.cb-pr-lightbox__close:hover { background: #f1f5f9; }
.cb-pr-lightbox__nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.cb-pr-lightbox__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cb-pr-lightbox__nav:hover:not(:disabled) { background: #fff; }

body.cb-pr-lightbox-open { overflow: hidden !important; }

@media (max-width: 768px) {
    .cb-pr-confirm-shell { padding: 0.75rem 1rem 1.5rem; }
    .cb-pr-confirm-header h1 { font-size: 1.375rem; }
    .cb-pr-confirm-steps { gap: 0.35rem; font-size: 0.75rem; }
    .cb-pr-confirm-steps li { padding: 0.3rem 0.55rem; }
    .cb-pr-confirm-layout { grid-template-columns: 1fr; }
    .cb-pr-confirm-aside { order: -1; }
    .cb-pr-confirm-sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .cb-pr-confirm-grid--main,
    .cb-pr-confirm-grid--specs { grid-template-columns: 1fr; }
    .cb-pr-confirm-card { padding: 1.125rem; }
    .cb-pr-confirm-aside .cb-pr-submit-primary { display: none; }
    .cb-pr-confirm-mobile-bar {
        display: block;
        position: sticky;
        bottom: 0;
        z-index: 50;
        margin: 1rem -1rem -1.5rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
        background: rgba(246,247,249,.95);
        backdrop-filter: blur(8px);
        border-top: 1px solid #e2e8f0;
    }
    .cb-pr-gtin-row { flex-direction: column; align-items: flex-start; }
    .cb-pr-gtin-status { margin-left: 0; }
    .cb-pr-confirm-footer { flex-direction: column; align-items: stretch; }
    .cb-pr-confirm-footer__actions { flex-direction: column; }
    .cb-pr-confirm-footer__actions .cb-pr-btn { width: 100%; }
    .cb-pr-actions-panel { right: auto; left: 0; bottom: auto; top: calc(100% + 6px); }
    .cb-pr-lightbox__nav { width: 36px; height: 36px; font-size: 1.25rem; }
    .cb-pr-lightbox { padding: 48px 8px 8px; }
    .cb-pr-lightbox__close { top: calc(48px + 6px); right: 10px; width: 40px; height: 40px; }
}

/* Public product card show page (v1.8) */
.cb-main--pr-show {
    background: var(--cb-soft, #f3f6fa);
    padding-bottom: 2.5rem;
    max-width: none;
}

.cb-main--pr-review-form {
    background: var(--cb-soft, #f3f6fa);
    padding-top: 24px;
    padding-bottom: 48px;
    max-width: none;
}

.cb-main--pr-review-form .cb-pr-review-page {
    margin: 0 auto;
}

.cb-pr-show-shell {
    max-width: 1220px;
    margin: 0 auto;
    padding: 1rem 20px 2rem;
    box-sizing: border-box;
}

.cb-pr-show-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--cb-muted, #64748b);
}
.cb-pr-show-breadcrumbs a {
    color: var(--cb-blue, #0b82ff);
    text-decoration: none;
}
.cb-pr-show-breadcrumbs a:hover { text-decoration: underline; }
.cb-pr-show-breadcrumbs__sep { color: #94a3b8; }
.cb-pr-show-breadcrumbs__current { color: #334155; }

.cb-pr-show-terminal {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 2.25rem;
    box-shadow: var(--cb-shadow, 0 16px 40px rgba(15, 23, 42, 0.08));
}
.cb-pr-show-terminal h1 {
    margin: 0.75rem 0 0.5rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    color: var(--cb-text, #0f172a);
}
.cb-pr-show-terminal p {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--cb-muted, #64748b);
    line-height: 1.5;
}

.cb-pr-show-hero {
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.cb-pr-show-hero__gallery {
    padding: 1.5rem;
    border-right: 1px solid var(--cb-line, #e5eaf1);
    min-width: 0;
}

.cb-pr-show-gallery {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    min-height: 520px;
}
.cb-pr-show-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 72px;
    flex-shrink: 0;
}
.cb-pr-show-gallery__thumb {
    width: 72px;
    height: 72px;
    padding: 3px;
    border: 2px solid var(--cb-line, #e5eaf1);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.cb-pr-show-gallery__thumb.is-active,
.cb-pr-show-gallery__thumb:hover {
    border-color: var(--cb-blue, #0b82ff);
}
.cb-pr-show-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.cb-pr-show-gallery__stage {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}
.cb-pr-show-gallery__main {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 420px;
    max-height: 520px;
    padding: 0;
    border: none;
    background: var(--cb-soft, #f3f6fa);
    border-radius: 16px;
    cursor: zoom-in;
    overflow: hidden;
}
.cb-pr-show-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 560px;
    max-height: 520px;
    margin: 0 auto;
    object-fit: contain;
}
.cb-pr-show-gallery__caption {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--cb-muted, #64748b);
    text-align: center;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.cb-pr-show-gallery__stage:hover .cb-pr-show-gallery__caption,
.cb-pr-show-gallery__caption:not([hidden]) {
    opacity: 1;
}
.cb-pr-show-gallery__empty {
    display: grid;
    place-content: center;
    min-height: 320px;
    color: var(--cb-muted, #64748b);
    font-size: 0.9375rem;
}

.cb-pr-show-hero__info {
    padding: 1.5rem 1.75rem 1.75rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cb-pr-show-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}
.cb-pr-show-trust__icon { flex-shrink: 0; }

.cb-pr-show-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
}
.cb-pr-show-badge--moderation { background: #dbeafe; color: #1d4ed8; }
.cb-pr-show-badge--verified { background: #d1fae5; color: #047857; }
.cb-pr-show-badge--rejected { background: #fee2e2; color: #b91c1c; }
.cb-pr-show-badge--conflict { background: #fef3c7; color: #b45309; }

.cb-pr-show-hero__title {
    margin: 0;
    font-size: clamp(1.75rem, 2.6vw, 2.375rem);
    line-height: 1.15;
    font-weight: 700;
    color: var(--cb-text, #0f172a);
}
.cb-pr-show-hero__category {
    margin: -0.25rem 0 0;
    font-size: 0.9375rem;
    color: var(--cb-muted, #64748b);
}

.cb-pr-show-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}
.cb-pr-show-rating__stars {
    display: inline-flex;
    gap: 0.1rem;
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1;
}
.cb-pr-show-rating__stars .is-filled,
.cb-pr-show-rating__stars .is-half { color: #f59e0b; }
.cb-pr-show-rating strong {
    font-size: 1.375rem;
    color: var(--cb-text, #0f172a);
}
.cb-pr-show-rating span { font-size: 0.9375rem; color: var(--cb-muted, #64748b); }
.cb-pr-show-rating__empty { font-size: 0.9375rem; color: var(--cb-muted, #64748b); }

.cb-pr-show-summary {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.cb-pr-show-summary__item {
    display: grid;
    grid-template-columns: minmax(88px, 34%) 1fr;
    gap: 0.65rem;
    align-items: baseline;
    font-size: 0.9375rem;
    line-height: 1.4;
}
.cb-pr-show-summary__label { color: var(--cb-muted, #64748b); }
.cb-pr-show-summary__value {
    color: var(--cb-text, #0f172a);
    font-weight: 600;
    min-width: 0;
    word-break: break-word;
}
.cb-pr-show-copy {
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--cb-line, #e5eaf1);
    border-radius: 6px;
    background: #fff;
    color: var(--cb-blue, #0b82ff);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    vertical-align: middle;
}
.cb-pr-show-copy:hover { background: #f8fafc; }
.cb-pr-show-copy.is-copied {
    color: #047857;
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.cb-pr-show-verify {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--cb-line, #e5eaf1);
    margin-top: 0.25rem;
}
.cb-pr-show-verify__icon {
    flex-shrink: 0;
    color: #1d4ed8;
    margin-top: 0.1rem;
}
.cb-pr-show-verify strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
    color: var(--cb-text, #0f172a);
}
.cb-pr-show-verify p {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.45;
}
.cb-pr-show-verify__next {
    font-size: 0.8125rem !important;
    color: var(--cb-muted, #64748b) !important;
}
.cb-pr-show-verify .cb-pr-link-back {
    display: inline-block;
    margin-top: 0.5rem;
}

.cb-pr-show-actions { margin-top: 0.25rem; }
.cb-pr-btn--auto { width: auto; }

.cb-pr-show-about,
.cb-pr-show-specs,
.cb-pr-show-block {
    padding: 1.5rem 0 0;
}
.cb-pr-show-about h2,
.cb-pr-show-specs h2,
.cb-pr-show-block h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cb-text, #0f172a);
}
.cb-pr-show-about p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    max-width: 920px;
}

.cb-pr-show-specs__grid {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--cb-line, #e5eaf1);
}
.cb-pr-show-specs__row {
    display: grid;
    grid-template-columns: minmax(140px, 46%) 1fr;
    gap: 1rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cb-line, #e5eaf1);
}
.cb-pr-show-specs__row dt {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--cb-muted, #64748b);
    font-weight: 400;
}
.cb-pr-show-specs__row dd {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--cb-text, #0f172a);
    font-weight: 600;
}

.cb-pr-show-block {
    padding-top: 1.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--cb-line, #e5eaf1);
}

.cb-pr-reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.cb-pr-show-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cb-pr-show-links a {
    color: var(--cb-blue, #0b82ff);
    text-decoration: none;
    font-size: 0.9375rem;
}
.cb-pr-show-links a:hover { text-decoration: underline; }

.cb-pr-show-empty { margin: 0; color: var(--cb-muted, #64748b); font-size: 0.9375rem; }

.cb-pr-show-correction {
    display: grid;
    gap: 1rem;
    max-width: 560px;
}

@media (max-width: 768px) {
    .cb-pr-show-shell { padding: 0.75rem 14px 1.5rem; }

    .cb-pr-show-hero {
        grid-template-columns: 1fr;
    }
    .cb-pr-show-hero__info {
        display: contents;
    }
    .cb-pr-show-hero__head {
        order: 1;
        padding: 1.25rem 1rem 0.75rem;
    }
    .cb-pr-show-hero__gallery {
        order: 2;
        border-right: none;
        border-bottom: 1px solid var(--cb-line, #e5eaf1);
        padding: 0 1rem 1rem;
    }
    .cb-pr-show-hero__body {
        order: 3;
        padding: 0 1rem 1.5rem;
    }

    .cb-pr-show-gallery {
        flex-direction: column-reverse;
        min-height: 0;
    }
    .cb-pr-show-gallery__thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }
    .cb-pr-show-gallery__thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }
    .cb-pr-show-gallery__main {
        min-height: 240px;
        max-height: min(72vw, 420px);
    }
    .cb-pr-show-gallery__main img {
        max-height: min(72vw, 420px);
    }
    .cb-pr-show-gallery__caption {
        opacity: 1;
    }

    .cb-pr-show-summary__item,
    .cb-pr-show-specs__row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .cb-pr-show-specs__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Product reviews hub v3 (эталон) ── */
.cb-main.cb-main--product-reviews-hub {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}

.cb-cabinet-workspace__main--wide .cb-pr-hub {
    max-width: none;
}

.cb-ds-main .cb-pr-hub {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.cb-ds-main .cb-pr-hub-breadcrumbs {
    margin-bottom: 4px;
}

@media (max-width: 980px) {
    .cb-ds-main .cb-pr-hub-pagehead,
    .cb-ds-main .cb-pr-hub-columns,
    .cb-ds-main .cb-pr-hub-stats {
        grid-template-columns: 1fr;
    }
}

.cb-pr-hub {
    display: grid;
    gap: 20px;
    color: #0f172a;
}

.cb-pr-hub-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-hub-breadcrumbs a {
    color: #0877f2;
    text-decoration: none;
    font-weight: 700;
}

.cb-pr-hub-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #075ec9;
    font-size: 13px;
    font-weight: 800;
}

.cb-pr-hub-lead {
    margin: 0;
    max-width: 640px;
    color: #52637a;
    line-height: 1.55;
    font-size: 15px;
}

.cb-pr-hub-pagehead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 20px;
    align-items: start;
}

.cb-pr-hub-pagehead h1 {
    margin: 8px 0 8px;
    font-size: clamp(26px, 3.5vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.cb-pr-hub-search-card {
    padding: 22px 24px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-hub-search {
    display: grid;
    gap: 12px;
}

.cb-pr-hub-search__field {
    display: grid;
    gap: 8px;
}

.cb-pr-hub-search__label {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
}

.cb-pr-hub-search__field input {
    width: 100%;
    min-height: 54px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0 16px;
    font: inherit;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.cb-pr-hub-search__field input:focus {
    outline: none;
    border-color: #0877f2;
    box-shadow: 0 0 0 4px rgba(8, 119, 242, 0.12);
}

.cb-pr-hub-search__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cb-pr-hub-search__help {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.cb-pr-hub-chip {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: #0877f2;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.cb-pr-hub-search__error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 14px;
}

.cb-pr-hub-scan-card {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, #0556b3 0%, #043d82 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(5, 86, 179, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cb-pr-hub-scan-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(5, 86, 179, 0.38);
    color: #fff;
}

.cb-pr-hub-scan-card strong {
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.cb-pr-hub-scan-card span {
    font-size: 14px;
    line-height: 1.45;
    color: #fff;
    opacity: 0.96;
}

.cb-pr-hub-scan-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
}

.cb-pr-hub-how {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}

.cb-pr-hub-how ol {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    line-height: 1.55;
}

.cb-pr-hub-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cb-pr-hub-stat {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.cb-pr-hub-stat__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
}

.cb-pr-hub-stat__icon svg {
    width: 22px;
    height: 22px;
}

.cb-pr-hub-stat--blue .cb-pr-hub-stat__icon { background: #eff6ff; color: #2563eb; }
.cb-pr-hub-stat--green .cb-pr-hub-stat__icon { background: #ecfdf5; color: #059669; }
.cb-pr-hub-stat--orange .cb-pr-hub-stat__icon { background: #fff7ed; color: #ea580c; }
.cb-pr-hub-stat--violet .cb-pr-hub-stat__icon { background: #f5f3ff; color: #7c3aed; }

.cb-pr-hub-stat__value {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cb-pr-hub-stat__label {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-hub-stat__delta {
    display: inline-flex;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
}

.cb-pr-hub-stat__delta.is-up { color: #059669; }
.cb-pr-hub-stat__delta.is-down { color: #dc2626; }

.cb-pr-hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    border: 0;
}

.cb-pr-hub-tabs button,
.cb-pr-hub-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #e5edf7;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cb-pr-hub-tabs button.is-active,
.cb-pr-hub-tabs a.is-active {
    background: #0877f2;
    border-color: #0877f2;
    color: #ffffff;
}

.cb-pr-hub-tabs button:hover,
.cb-pr-hub-tabs a:hover {
    border-color: #bfdbfe;
    color: #0877f2;
}

.cb-pr-hub-tabs button.is-active:hover,
.cb-pr-hub-tabs a.is-active:hover {
    background: #076fe6;
    border-color: #076fe6;
    color: #ffffff;
}

main .cb-pr-hub-tabs button,
main .cb-pr-hub-tabs a {
    min-height: 38px;
    padding: 0 14px;
    font-weight: 800;
}

.cb-pr-hub-tabpanels {
    display: grid;
    gap: 0;
}

.cb-pr-hub-tabpanel[hidden] {
    display: none !important;
}

.cb-pr-hub-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.cb-pr-hub-panel {
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    padding: 18px 20px 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-hub-panel--wide {
    grid-column: 1 / -1;
}

.cb-pr-hub-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.cb-pr-hub-panel__head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
}

.cb-pr-hub-panel__head a {
    color: #0877f2;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.cb-pr-hub-product-list {
    display: grid;
    gap: 10px;
}

.cb-pr-hub-product-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cb-pr-hub-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cb-pr-hub-product:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cb-pr-hub-product--compact {
    grid-template-columns: 56px minmax(0, 1fr);
}

.cb-pr-hub-product__media img,
.cb-pr-hub-product__media .cb-pr-hub-product__placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.cb-pr-hub-product__body {
    display: grid;
    gap: 4px;
    align-content: center;
    min-width: 0;
}

.cb-pr-hub-product__body strong {
    font-size: 15px;
    line-height: 1.25;
}

.cb-pr-hub-product__meta {
    font-size: 13px;
    color: #64748b;
}

.cb-pr-hub-product__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-hub-product__rating b {
    color: #0f172a;
}

.cb-pr-hub-stars {
    color: #f59e0b;
    letter-spacing: 0.02em;
}

.cb-pr-hub-review-list {
    display: grid;
    gap: 14px;
}

.cb-pr-hub-review {
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.cb-pr-hub-review:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cb-pr-hub-review__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cb-pr-hub-review__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.cb-pr-hub-review__head strong {
    display: block;
    font-size: 14px;
}

.cb-pr-hub-review__head time {
    font-size: 12px;
    color: #94a3b8;
}

.cb-pr-hub-review__product-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}

.cb-pr-hub-review__product-row:hover {
    border-color: #bfdbfe;
}

.cb-pr-hub-review__product-media img,
.cb-pr-hub-review__product-media .cb-pr-hub-product__placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.cb-pr-hub-review__product-body {
    display: grid;
    gap: 4px;
    align-content: center;
    min-width: 0;
}

.cb-pr-hub-review__product-body strong {
    font-size: 14px;
    line-height: 1.25;
    color: #0f172a;
}

.cb-pr-hub-review__text {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #475569;
}

.cb-pr-hub-empty {
    display: grid;
    gap: 10px;
    padding: 22px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
}

.cb-pr-hub-empty--compact {
    padding: 16px 14px;
}

.cb-pr-hub-empty strong {
    font-size: 16px;
}

.cb-pr-hub-empty p {
    margin: 0;
    color: #64748b;
    line-height: 1.45;
}

.cb-pr-hub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 18px;
    background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
}

.cb-pr-hub-cta h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.cb-pr-hub-cta p {
    margin: 0;
    color: #64748b;
    line-height: 1.45;
}

.cb-pr-hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #d7e2f0;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.cb-pr-hub-btn--primary {
    background: #0877f2;
    border-color: #0877f2;
    color: #fff;
    box-shadow: 0 12px 26px rgba(8, 119, 242, 0.22);
}

.cb-pr-hub-btn--surface {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.cb-pr-hub-btn--surface:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.cb-pr-hub-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #0877f2;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
}

.cb-pr-hub-list-head {
    display: grid;
    gap: 8px;
}

.cb-pr-hub-list-head h1 {
    margin: 0;
    font-size: 30px;
}

.cb-pr-hub-pagination {
    margin-top: 8px;
}

@media (max-width: 980px) {
    .cb-pr-hub-pagehead,
    .cb-pr-hub-columns,
    .cb-pr-hub-stats {
        grid-template-columns: 1fr;
    }

    .cb-pr-hub-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .cb-pr-hub-product-list--grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cb-main.cb-main--product-reviews-hub {
        padding: 16px 12px 48px;
    }

    .cb-pr-hub-search-card {
        padding: 18px 16px;
    }

    .cb-pr-hub-search__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cb-pr-hub-btn,
    .cb-pr-hub-link {
        width: 100%;
        text-align: center;
    }

    .cb-pr-hub-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Review form page (эталон v3.3) */
.cb-pr-review-page {
    display: grid;
    gap: 16px;
    width: 100%;
}

.cb-pr-review-page__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-review-page__product {
    display: flex;
    gap: 14px;
    align-items: center;
}

.cb-pr-review-page__product img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e5edf7;
}

.cb-pr-review-page__product h1 {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.03em;
}

.cb-pr-review-page__chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
}

.cb-pr-review-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.cb-pr-review-page__card {
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-review-form {
    display: grid;
    gap: 20px;
}

.cb-pr-review-form__section {
    display: grid;
    gap: 8px;
}

.cb-pr-review-form__duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cb-pr-review-form__label {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.cb-pr-review-form__label .is-required {
    color: #dc2626;
}

.cb-pr-review-form__textarea,
.cb-pr-review-form__input,
.cb-pr-review-form__select {
    width: 100%;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cb-pr-review-form__textarea {
    min-height: 148px;
    resize: vertical;
}

.cb-pr-review-form__textarea:focus,
.cb-pr-review-form__input:focus,
.cb-pr-review-form__select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.cb-pr-review-form__counter {
    font-size: 13px;
    color: #64748b;
    text-align: right;
}

.cb-pr-review-form__hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-review-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cb-pr-review-rating__stars {
    display: inline-flex;
    gap: 4px;
}

.cb-pr-review-rating__star {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    color: #dbeafe;
    cursor: pointer;
}

.cb-pr-review-rating__star.is-active {
    color: #f59e0b;
}

.cb-pr-review-rating__value {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.cb-pr-review-tags {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
}

.cb-pr-review-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 4px;
}

.cb-pr-review-tags__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.cb-pr-review-tags--good .cb-pr-review-tags__item {
    background: #ecfdf3;
    color: #15803d;
}

.cb-pr-review-tags--bad .cb-pr-review-tags__item {
    background: #fef2f2;
    color: #dc2626;
}

.cb-pr-review-tags__item button {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
}

.cb-pr-review-tags__input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    outline: none;
}

.cb-pr-review-tags__input::placeholder {
    color: #94a3b8;
}

.cb-pr-review-photos__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cb-pr-review-photos__item {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5edf7;
    background: #f8fafc;
}

.cb-pr-review-photos__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-pr-review-photos__item button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    cursor: pointer;
}

.cb-pr-review-photos__add {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 112px;
    height: 112px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.cb-pr-review-photos__add-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 22px;
    line-height: 1;
}

.cb-pr-review-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}

.cb-pr-review-form__cancel {
    color: #64748b;
    font-weight: 700;
    text-decoration: none;
}

.cb-pr-review-form__cancel:hover {
    color: #0f172a;
}

.cb-pr-review-form__actions .cb-pr-hub-btn--primary {
    min-width: 220px;
}

.cb-pr-review-aside {
    display: grid;
    gap: 14px;
}

.cb-pr-review-aside__panel {
    padding: 18px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.cb-pr-review-aside__panel--accent {
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    border-color: #dbeafe;
}

.cb-pr-review-aside__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #dbeafe;
    color: #2563eb;
}

.cb-pr-review-aside__panel h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.cb-pr-review-aside__panel p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.cb-pr-review-aside__panel ul {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.cb-pr-review-aside__checks {
    list-style: none;
    padding: 0;
}

.cb-pr-review-aside__checks li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
}

.cb-pr-review-aside__checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 900;
}

.cb-pr-review-aside__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.cb-cabinet-workspace__main .cb-pr-review-page {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 980px) {
    .cb-pr-review-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cb-pr-review-form__duo,
    .cb-pr-show-correction__grid {
        grid-template-columns: 1fr;
    }

    .cb-pr-review-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cb-pr-review-form__actions .cb-pr-hub-btn--primary {
        width: 100%;
        min-width: 0;
    }
}

.cb-pr-hub-categories {
    display: grid;
    gap: 10px;
}

.cb-pr-hub-categories a {
    display: block;
    padding: 14px 16px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cb-pr-hub-categories a:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cb-pr-hub-categories a b {
    display: block;
    margin-bottom: 4px;
}

.cb-pr-hub-categories a span {
    font-size: 13px;
    color: #64748b;
}

.cb-pr-show-correction-block__head h2 {
    margin: 0 0 6px;
}

.cb-pr-show-correction-block__head p {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.5;
}

.cb-pr-show-correction__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.cb-pr-show-correction__actions {
    margin-top: 16px;
}

.cb-pr-show-correction__guest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #64748b;
}


@media (max-width: 720px) {
    .cb-pr-show-correction__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Product reviews show page v2 (эталон)
   ============================================================ */
.cb-main--pr-show .cb-pr-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 0 48px;
    display: grid;
    gap: 18px;
}

.cb-cabinet-workspace__main .cb-pr-page {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.cb-pr-page__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-page__crumbs a {
    color: #0877f2;
    text-decoration: none;
    font-weight: 600;
}

.cb-pr-page__crumbs a:hover { text-decoration: underline; }
.cb-pr-page__crumbs .is-current { color: #334155; font-weight: 700; }

.cb-pr-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cb-pr-page__title {
    display: inline;
    margin: 0 12px 0 0;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cb-pr-page__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.cb-pr-page__badge--active { background: #dcfce7; color: #15803d; }
.cb-pr-page__badge--published { background: #ede9fe; color: #6d28d9; }
.cb-pr-page__badge--verified { background: #d1fae5; color: #047857; }
.cb-pr-page__badge--moderation { background: #dbeafe; color: #1d4ed8; }
.cb-pr-page__badge--rejected { background: #fee2e2; color: #b91c1c; }
.cb-pr-page__badge--conflict { background: #fef3c7; color: #b45309; }

.cb-pr-page__head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cb-pr-page__product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-page__product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e5edf7;
}

.cb-pr-page__product-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.cb-pr-page__product-top h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.cb-pr-page__product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: 700 14px/1.2 inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cb-pr-page__btn--primary {
  background: #0877f2;
  border-color: #0877f2;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 119, 242, 0.22);
}

a.cb-pr-page__btn--primary,
button.cb-pr-page__btn--primary,
a.cb-pr-page__btn--primary:hover,
button.cb-pr-page__btn--primary:hover {
  color: #ffffff !important;
}

.cb-pr-page__btn--ghost {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.cb-pr-page__btn--surface {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.cb-pr-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.cb-pr-page__main,
.cb-pr-page__panel {
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.cb-pr-page__main { padding: 20px; display: grid; gap: 18px; }

.cb-pr-page__summary {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.cb-pr-page__score-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-pr-page__score-star {
    font-size: 42px;
    line-height: 1;
    color: #f59e0b;
}

.cb-pr-page__score-main strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.cb-pr-page__score-main span {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.cb-pr-page__score > p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-page__bars { display: grid; gap: 8px; }

.cb-pr-page__bar {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-page__bar i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.cb-pr-page__bar b { text-align: right; color: #334155; font-weight: 700; }

.cb-pr-page__filters { display: grid; gap: 14px; }

.cb-pr-page__sentiments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cb-pr-page__sentiment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #0f172a;
    font: 700 13px/1 inherit;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.cb-pr-page__sentiment.is-active {
  background: #0877f2;
  border-color: #0877f2;
  color: #ffffff !important;
}

a.cb-pr-page__sentiment.is-active,
button.cb-pr-page__sentiment.is-active,
a.cb-pr-page__sentiment.is-good.is-active,
button.cb-pr-page__sentiment.is-good.is-active,
a.cb-pr-page__sentiment.is-mid.is-active,
button.cb-pr-page__sentiment.is-mid.is-active,
a.cb-pr-page__sentiment.is-bad.is-active,
button.cb-pr-page__sentiment.is-bad.is-active {
  color: #ffffff !important;
}

.cb-pr-page__sentiment.is-good { border-color: #bbf7d0; color: #15803d; }
.cb-pr-page__sentiment.is-good.is-active { background: #16a34a; border-color: #16a34a; color: #fff; }
.cb-pr-page__sentiment.is-mid { border-color: #fde68a; color: #b45309; }
.cb-pr-page__sentiment.is-mid.is-active { background: #d97706; border-color: #d97706; color: #fff; }
.cb-pr-page__sentiment.is-bad { border-color: #fecaca; color: #dc2626; }
.cb-pr-page__sentiment.is-bad.is-active { background: #dc2626; border-color: #dc2626; color: #fff; }

.cb-pr-page__toolbar {
    display: grid;
    grid-template-columns: minmax(140px, 0.8fr) minmax(140px, 0.8fr) minmax(0, 1.4fr) auto;
    gap: 10px;
    align-items: center;
}

.cb-pr-page__select,
.cb-pr-page__search input,
.cb-pr-page__field input,
.cb-pr-page__field textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #fff;
    font: inherit;
}

.cb-pr-page__search {
    position: relative;
    display: block;
}

.cb-pr-page__search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.cb-pr-page__search input { padding-left: 38px; }

.cb-pr-page__reviews { display: grid; gap: 0; }

.cb-pr-rv {
    padding: 18px 0;
    border-top: 1px solid #eef2f7;
}

.cb-pr-rv:first-child { border-top: 0; padding-top: 0; }

.cb-pr-rv__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cb-pr-rv__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-pr-rv__avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #eff6ff;
    color: #0877f2;
    font-weight: 800;
}

.cb-pr-rv__name { display: block; font-size: 15px; }
.cb-pr-rv__role { display: block; font-size: 12px; color: #64748b; }

.cb-pr-rv__meta {
    text-align: right;
    font-size: 13px;
    color: #64748b;
}

.cb-pr-rv__stars {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin-bottom: 4px;
}

.cb-pr-rv__stars span { color: #cbd5e1; font-size: 14px; }
.cb-pr-rv__stars span.is-filled { color: #f59e0b; }
.cb-pr-rv__stars strong { margin-left: 6px; color: #0f172a; }

.cb-pr-rv__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
}

.cb-pr-rv__body p {
    margin: 0 0 8px;
    line-height: 1.55;
    color: #334155;
}

.cb-pr-rv__label { font-weight: 700; color: #0f172a; }

.cb-pr-rv__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.cb-pr-rv__photos img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e5edf7;
}

.cb-pr-rv__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.cb-pr-rv__votes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.cb-pr-rv__vote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #334155;
    font: 700 13px/1 inherit;
    cursor: pointer;
    text-decoration: none;
}

.cb-pr-rv__vote--yes.is-active,
.cb-pr-rv__vote--yes:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.cb-pr-rv__vote--no.is-active,
.cb-pr-rv__vote--no:hover {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.cb-pr-rv__vote-note,
.cb-pr-rv__vote--guest {
    font-size: 13px;
    color: #64748b;
}

.cb-pr-page__aside { display: grid; gap: 14px; }

.cb-pr-page__panel {
    padding: 18px;
}

.cb-pr-page__panel h3 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
}

.cb-pr-page__panel p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.cb-pr-page__panel--accent {
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.cb-pr-page__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cb-pr-page__stats article {
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.cb-pr-page__stats article span { font-size: 18px; }
.cb-pr-page__stats article strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    line-height: 1;
}

.cb-pr-page__stats article small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.cb-pr-page__stats .is-good { background: #f0fdf4; border-color: #bbf7d0; }
.cb-pr-page__stats .is-mid { background: #fffbeb; border-color: #fde68a; }
.cb-pr-page__stats .is-bad { background: #fef2f2; border-color: #fecaca; }

.cb-pr-page__tips {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.cb-pr-page__correction {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.cb-pr-page__correction-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.cb-pr-page__correction-alert--ok {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.cb-pr-page__correction-alert--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.cb-pr-page__field input.is-invalid,
.cb-pr-page__field textarea.is-invalid {
    box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.18);
}

.cb-pr-page__field {
    display: grid;
    gap: 6px;
}

.cb-pr-page__field span {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.cb-pr-page__field textarea {
    min-height: 88px;
    padding-top: 10px;
    padding-bottom: 10px;
    resize: vertical;
}

.cb-pr-page__specs {
    margin: 0;
    display: grid;
    gap: 8px;
}

.cb-pr-page__specs div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
}

.cb-pr-page__specs dt { margin: 0; color: #64748b; }
.cb-pr-page__specs dd { margin: 0; font-weight: 700; color: #0f172a; text-align: right; }

.cb-pr-page__empty,
.cb-pr-page__notice,
.cb-pr-page__terminal {
    padding: 24px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
}

.cb-pr-page__empty p,
.cb-pr-page__notice p,
.cb-pr-page__terminal p {
    margin: 0 0 10px;
    color: #64748b;
}

.cb-pr-page__reviews-panel {
    display: grid;
    gap: 18px;
}

.cb-pr-page__reviews-panel.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

<.cb-pr-page__text-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: #64748b;
    font-weight: 700;
    text-decoration: underline;
}

.cb-pr-page__text-btn:hover { color: #0f172a; }

a.cb-pr-page__link {
    color: #075bd8;
    font-weight: 700;
    text-decoration: none;
}

a.cb-pr-page__link:hover { text-decoration: underline; }

.cb-pr-page__alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.cb-pr-page__alert--ok {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.cb-pr-page__alert--err {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.cb-pr-page__pagination {
    margin-top: 8px;
}

.cb-pr-page__pagination nav {
    display: flex;
    justify-content: center;
}

.cb-pr-page__pagination .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-pr-page__pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
}

.cb-pr-page__pagination .page-item.active .page-link {
    background: #0877f2;
    border-color: #0877f2;
    color: #fff;
}

@media (max-width: 980px) {
    .cb-pr-page__layout,
    .cb-pr-page__summary,
    .cb-pr-page__product {
        grid-template-columns: 1fr;
    }

    .cb-pr-page__toolbar {
        grid-template-columns: 1fr 1fr;
    }

    .cb-pr-page__search,
    .cb-pr-page__toolbar .cb-pr-page__btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .cb-pr-page__toolbar {
        grid-template-columns: 1fr;
    }

    .cb-pr-rv__meta {
        width: 100%;
        text-align: left;
    }

    .cb-pr-rv__stars {
        justify-content: flex-start;
    }
}

