/* Desk / trade file — shared identity hero (agent + artisan detail) */

.sr-adx-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60rem 28rem at 85% -20%, rgba(201,168,76,.22) 0%, transparent 55%),
        linear-gradient(rgba(201,168,76,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.07) 1px, transparent 1px),
        linear-gradient(135deg, #060f1e 0%, #0d1f35 60%, #152c49 100%);
    background-size: auto, 44px 44px, 44px 44px, cover;
    border-bottom: 1px solid rgba(201,168,76,.35);
    padding: 60px 0 70px;
    color: #fff;
}

.sr-adx-idrow {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    margin-top: 32px;
    flex-wrap: wrap;
}

.sr-adx-photo {
    position: relative;
    width: min(230px, 58vw);
    aspect-ratio: 1;
    flex: none;
    border-radius: 30px;
    overflow: hidden;
    background: #0a1828;
    border: 3px solid rgba(201,168,76,.6);
    box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 88px;
    font-weight: 700;
    color: #e8cf83;
}

.sr-adx-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-adx-seal {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8cf83 0%, #c9a84c 60%, #9a7a30 100%);
    color: #081526;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 3px solid #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
}

.sr-adx-main {
    flex: 1;
    min-width: min(100%, 300px);
}

.sr-adx-kicker {
    font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e8cf83;
    margin-bottom: 10px;
}

.sr-adx-main h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
    letter-spacing: -.015em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 6px;
}

.sr-adx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.sr-adx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(201,168,76,.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .88rem;
    color: rgba(244,247,250,.85);
}

.sr-adx-chip i { color: #e8cf83; }
.sr-adx-chip b { color: #fff; }
.sr-adx-chip .sr-stars { color: #e8cf83; }

.sr-adx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sr-adx-wa, .sr-adx-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 13px 30px;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.sr-adx-wa {
    background: linear-gradient(135deg, #2fe07a 0%, #25d366 55%, #128c7e 100%);
    color: #fff !important;
    box-shadow: 0 14px 32px -10px rgba(37,211,102,.6);
}

.sr-adx-wa:hover { transform: translateY(-2px); filter: brightness(1.07); color: #fff !important; }

.sr-adx-call {
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.sr-adx-call:hover { border-color: #e8cf83; color: #e8cf83 !important; transform: translateY(-2px); }

.sr-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.sr-btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.sr-agent-detail-content {
    padding: 60px 0;
    background: var(--bg-light);
}

.sr-agent-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sr-adx-sec-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.sr-adx-sec-head h2 { margin-bottom: 0 !important; }

.sr-adx-count {
    font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    border: 1.5px solid var(--accent-color);
    border-radius: 999px;
    padding: 7px 16px;
    white-space: nowrap;
}

.sr-adx-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.sr-adx-grid > * { min-width: 0; }

/* Desk inventory mini-cards (self-contained: no listings sheets load here) */
.sr-adx-prop {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.sr-adx-prop:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 22px 50px -18px rgba(13, 31, 53, .3);
}

.sr-adx-prop-img {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

.sr-adx-prop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sr-adx-prop:hover .sr-adx-prop-img img { transform: scale(1.07); }

.sr-adx-prop-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--text-light);
}

.sr-adx-prop-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(8, 21, 38, .88);
    color: #e8cf83;
    border: 1px solid rgba(201, 168, 76, .5);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sr-adx-prop-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px 18px;
}

.sr-adx-prop-price {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sr-adx-prop-title {
    font-weight: 700;
    font-size: .98rem;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-adx-prop-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    color: var(--text-mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-adx-prop-loc i { color: var(--accent-color); }

/* Trust strip under the artisan hero */
.sr-adx-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(255,255,255,.86));
    border: 1px solid rgba(201,168,76,.4);
    border-radius: 18px;
    padding: 20px 22px;
    max-width: 860px;
    margin: 0 auto;
}

.sr-adx-note > i {
    font-size: 26px;
    color: var(--accent-dark);
    line-height: 1;
    flex: none;
}

.sr-adx-note strong { display: block; color: var(--primary-color); margin-bottom: 2px; }
.sr-adx-note span { color: var(--text-mid); font-size: .93rem; }
.sr-adx-note a { color: var(--accent-dark); font-weight: 700; }

.sr-agent-reviews-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.sr-agent-reviews-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.sr-rating-breakdown {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sr-rating-overall {
    text-align: center;
    margin-bottom: 20px;
}

.sr-rating-overall strong {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.sr-rating-overall span {
    font-size: 18px;
    color: var(--text-mid);
}

.sr-rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sr-rating-bar span {
    width: 60px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-mid);
}

.sr-rating-bar-track {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.sr-rating-bar-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
}

.sr-rating-bar small {
    width: 30px;
    text-align: right;
    font-size: 13px;
    color: var(--text-light);
}

.sr-review-form {
    margin-bottom: 30px;
}

.sr-review-form h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sr-review-rating {
    margin-bottom: 16px;
}

.sr-review-rating label {
    display: block;
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.sr-rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
}

.sr-rating-stars input {
    display: none;
}

.sr-rating-stars label {
    cursor: pointer;
    font-size: 24px;
    color: var(--border-color);
    transition: color 0.2s;
}

.sr-rating-stars input:checked ~ label,
.sr-rating-stars label:hover,
.sr-rating-stars label:hover ~ label {
    color: var(--accent-color);
}

.sr-review-comment {
    margin-bottom: 16px;
}

.sr-review-comment label {
    display: block;
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.sr-review-comment textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
}

.sr-review-form button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.sr-alert-info {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-mid);
    text-align: center;
}

.sr-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sr-review-card {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.sr-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sr-review-user strong {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
}

.sr-review-user span {
    font-size: 12px;
    color: var(--text-light);
}

.sr-review-card .sr-review-rating {
    display: flex;
    gap: 2px;
    color: var(--accent-color);
    font-size: 12px;
}

.sr-review-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

.sr-no-reviews {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

.sr-agent-empty {
    padding: 40px;
    text-align: center;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .sr-adx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sr-adx-hero { padding: 48px 0 56px; }
    .sr-adx-idrow { flex-direction: column; align-items: flex-start; }
    .sr-adx-photo { width: min(200px, 56vw); }
    .sr-adx-actions { width: 100%; }
    .sr-adx-wa, .sr-adx-call { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 575px) {
    .sr-adx-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 3.3: shareable profile (copy link + QR). */
.sr-agent-share {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sr-agent-share-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
    margin-bottom: 10px;
}
.sr-agent-share-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sr-agent-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 9px 16px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.sr-agent-share-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.sr-agent-qr {
    border-radius: 10px;
    background: #fff;
    padding: 4px;
}