/**
 * Estilos exclusivos da pagina de detalhe do veiculo (veiculo.php).
 * Comentarios, modal de avaliacao e ficha tecnica. Rodape vem de catalogo.css.
 */
.detail-shell { padding-bottom: 0; }
.detail-footer { margin: 16px -9px 0; padding-bottom: 0; }
.detail-topbar .detail-logo { width: 158px; height: 52px; }
.detail-main { padding: 11px 9px 24px; }
.detail-alert { margin-bottom: 10px; padding: 10px; border-radius: 12px; color: #9f1239; background: #fff1f4; font-size: 9px; text-align: center; }
.event-card { display: flex; min-height: 66px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #eceef2; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.event-card > i { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--red); background: #fff0f3; }
.event-card > i .icon { width: 20px; }
.event-card div { display: grid; min-width: 0; }
.event-card strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.event-card span { margin-top: 3px; color: #525968; font-size: 8.5px; white-space: nowrap; }
.lot-carousel { display: flex; margin: 13px -9px 12px; gap: 13px; overflow-x: auto; padding: 2px 14px 8px; scrollbar-width: none; }
.lot-carousel::-webkit-scrollbar { display: none; }
.lot-carousel a { flex: 0 0 68px; color: var(--ink); text-align: center; text-decoration: none; }
.lot-carousel img { width: 60px; height: 60px; border: 3px solid #e5e7eb; border-radius: 50%; object-fit: cover; }
.lot-carousel span { display: block; margin-top: 4px; font-size: 8px; white-space: nowrap; }
.lot-carousel .is-current img { border-color: var(--red); box-shadow: 0 4px 14px rgba(255,0,67,.2); }
.vehicle-detail-card { padding: 13px; border: 1px solid #eceef2; border-radius: 23px; background: #fff; box-shadow: 0 12px 35px rgba(17,24,39,.075); }
.detail-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.detail-title > div { min-width: 0; }
.detail-title span { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--red); background: #fff1f4; font-size: 8.5px; font-weight: 600; }
.detail-title h1 { margin: 7px 0 1px; font-size: clamp(19px, 5.8vw, 24px); letter-spacing: -.035em; line-height: 1.1; }
.detail-title > div > strong { color: #374151; font-size: 14px; }
.detail-favorite { display: grid; width: 35px; height: 35px; flex: 0 0 auto; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #f7f8fa; cursor: pointer; }
.detail-favorite .icon { width: 22px; height: 22px; }
.detail-favorite.is-favorite { color: var(--red); transform: scale(1.05); }
.detail-favorite.is-favorite .icon { fill: currentColor; }
.main-gallery { position: relative; margin-top: 11px; overflow: hidden; aspect-ratio: 16 / 10.3; border-radius: 18px; background: #eef0f4; }
.main-gallery > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.main-gallery > img[hidden] { display: none; }
.main-gallery > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0f172a;
}
.main-gallery > video[hidden] { display: none; }
.gallery-arrow { position: absolute; top: 50%; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 6px 15px rgba(17,24,39,.12); transform: translateY(-50%); }
.gallery-arrow .icon { width: 18px; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-counter { position: absolute; bottom: 7px; left: 50%; padding: 4px 8px; border-radius: 8px; color: #fff; background: rgba(0,0,0,.62); font-size: 8px; transform: translateX(-50%); }
.ipva-stamp { position: absolute; right: 8px; bottom: 8px; overflow: hidden; border: 1px solid #fff; border-radius: 8px; color: #fff; box-shadow: 0 7px 16px rgba(255,0,67,.24); text-align: center; }
.ipva-stamp small, .ipva-stamp strong { display: block; padding: 3px 7px; }
.ipva-stamp small { background: #1f2937; font-size: 6px; }
.ipva-stamp strong { background: linear-gradient(135deg,var(--red),var(--red-2)); font-size: 10px; }
.media-tabs { display: grid; margin-top: 10px; grid-template-columns: repeat(3,1fr); gap: 7px; }
.media-tabs button { display: flex; height: 43px; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dfe2e8; border-radius: 12px; background: #fff; font-size: 9px; font-weight: 600; }
.media-tabs .icon { width: 17px; }
.media-tabs button.is-active { border-color: var(--red); color: var(--red); background: #fff8fa; }
.media-message { margin: 8px 0 0; padding: 9px; border-radius: 10px; color: #5c6371; background: #f7f8fa; font-size: 8px; text-align: center; }
.open-detail-status { display: flex; min-height: 59px; margin-top: 10px; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 15px; background: linear-gradient(135deg,#f1fae6,#f8fbf2); animation: pulse-open-badge 2s ease-in-out infinite; }
.open-detail-status > i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #65a30d; box-shadow: 0 0 0 4px rgba(101,163,13,.1); animation: pulse-open-dot 1.5s ease-in-out infinite; }
.open-detail-status div { display: grid; }
.open-detail-status strong { color: #4d8f0c; font-size: 10px; }
.open-detail-status span { margin-top: 2px; color: #555d69; font-size: 7.5px; }
.value-card { display: grid; margin-top: 10px; grid-template-columns: 1fr 1fr; border: 1px solid #e6e8ed; border-radius: 15px; box-shadow: 0 6px 16px rgba(17,24,39,.035); }
.value-card > div { display: flex; min-width: 0; min-height: 67px; align-items: center; gap: 8px; padding: 9px; }
.value-card > div + div { border-left: 1px solid #e6e8ed; }
.value-card > div > .icon { width: 29px; height: 29px; flex: 0 0 auto; padding: 6px; border-radius: 50%; color: var(--red); background: #fff0f3; }
.value-card span { display: grid; min-width: 0; }
.value-card small { color: #5e6573; font-size: 7px; white-space: nowrap; }
.value-card strong { margin-top: 3px; font-size: 14px; white-space: nowrap; }
.detail-bid-button { display: flex; height: 52px; margin-top: 10px; align-items: center; justify-content: space-between; padding: 0 17px; border-radius: 14px; color: #fff; background: linear-gradient(135deg,var(--red),var(--red-2)); box-shadow: 0 12px 25px rgba(255,0,67,.25); font-size: 14px; font-weight: 700; text-decoration: none; }
.detail-bid-button span { flex: 1; text-align: center; }
.detail-bid-button .icon { width: 20px; }
.detail-login-button { display: flex; height: 44px; margin-top: 9px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e5e7eb; border-radius: 12px; color: var(--ink); font-size: 9px; font-weight: 600; text-decoration: none; }
.detail-login-button .icon { width: 15px; }
.detail-live-reminder {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    color: #14532d;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    animation: pulse-open-badge 2s ease-in-out infinite;
}
.detail-live-reminder > i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
    animation: pulse-open-dot 1.5s ease-in-out infinite;
}
.detail-live-reminder strong { font-size: 8.5px; line-height: 1.4; }
.auction-tools { margin-top: 12px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 15px; }
.tool-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.tool-tabs button { display: flex; height: 44px; align-items: center; justify-content: center; gap: 5px; border: 0; background: #fff; color: #747b87; font-size: 8px; }
.tool-tabs button + button { border-left: 1px solid #e5e7eb; }
.tool-tabs button.is-active { color: var(--ink); font-weight: 600; }
.tool-tabs button.is-active .icon { color: var(--red); }
.tool-tabs .icon { width: 14px; }
.tool-panel { display: flex; min-height: 59px; align-items: center; justify-content: center; gap: 8px; margin: 0 9px 9px; border-radius: 11px; color: #777e8a; background: #f7f8fa; font-size: 8.5px; text-align: center; }
.tool-panel .icon { width: 20px; }
.location-card { display: flex; min-height: 61px; margin-top: 11px; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 15px; }
.location-card > .icon { width: 23px; color: var(--red); }
.location-card div { display: grid; min-width: 0; flex: 1; }
.location-card small { color: #6b7280; font-size: 7px; }
.location-card strong { overflow: hidden; margin-top: 2px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.location-card a { display: flex; height: 34px; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid #e1e4e9; border-radius: 10px; color: var(--ink); font-size: 7px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.location-card a .icon { width: 14px; color: var(--red); }
.spec-grid { display: grid; margin-top: 10px; padding: 12px; grid-template-columns: 1fr 1fr; gap: 15px 20px; border: 1px solid #e5e7eb; border-radius: 15px; }
.spec-grid div { display: grid; }
.spec-grid small { color: #6b7280; font-size: 7.5px; }
.spec-grid strong { margin-top: 3px; font-size: 11px; }

.vehicle-info-section {
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
}

.reviews-section {
    margin-top: 14px;
    padding: 16px 14px;
    border: 1px solid #f0d4dc;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 67, .07), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fffafb 100%);
    box-shadow: 0 14px 36px rgba(255, 0, 67, .06);
}

.reviews-hero {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 360px) {
    .reviews-hero {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.reviews-hero-copy span {
    display: block;
    color: var(--red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.reviews-hero-copy h2 {
    margin: 5px 0 0;
    font-size: 18px;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.reviews-hero-copy p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 10px;
    line-height: 1.55;
}

.reviews-score-card {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #ffd8e2;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    text-align: center;
}

.reviews-score-card > strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.04em;
}

.reviews-score-card small {
    color: #6b7280;
    font-size: 9px;
    font-weight: 600;
}

.reviews-trust-bar {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 11px 12px;
    border: 1px solid #d1fae5;
    border-radius: 14px;
    color: #166534;
    background: linear-gradient(135deg, #ecfdf5 0%, #f8fffb 100%);
    font-size: 9.5px;
    line-height: 1.5;
}

.reviews-trust-bar .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: #16a34a;
}

.reviews-trust-bar strong {
    font-weight: 700;
}

.section-mini-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.section-mini-head span {
    display: block;
    color: var(--red);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-mini-head h2 {
    margin: 4px 0 0;
    font-size: 15px;
    letter-spacing: -.03em;
}

.section-mini-head > .icon {
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 50%;
    color: var(--red);
    background: #fff0f3;
}

.vehicle-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vehicle-info-grid article {
    display: grid;
    gap: 4px;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    background: #f9fafb;
}

.vehicle-info-grid .info-icon {
    width: 16px;
    height: 16px;
    color: var(--red);
}

.vehicle-info-grid small {
    color: #6b7280;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
}

.vehicle-info-grid strong {
    font-size: 9.5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.vehicle-info-note {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 12px;
    color: #4b5563;
    background: #f7f8fa;
}

.vehicle-info-note .icon {
    width: 18px;
    flex: 0 0 auto;
    color: var(--red);
}

.vehicle-info-note p {
    margin: 0;
    font-size: 8.5px;
    line-height: 1.55;
}

.vehicle-confidence-section {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .05);
}

.vehicle-confidence-head span {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vehicle-confidence-head h2 {
    margin: 7px 0 8px;
    font-size: 21px;
    letter-spacing: -.03em;
}

.vehicle-confidence-head p {
    margin: 0;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.6;
}

.vehicle-confidence-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.vehicle-confidence-grid article {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    background: #f9fafb;
}

.vehicle-confidence-grid .icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--red);
}

.vehicle-confidence-grid strong {
    display: block;
    font-size: 13px;
}

.vehicle-confidence-grid p {
    margin: 3px 0 0;
    color: #4b5563;
    font-size: 11px;
    line-height: 1.58;
}

.vehicle-confidence-live {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 13px;
    border-radius: 14px;
    color: #14532d;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    animation: pulse-open-badge 2s ease-in-out infinite;
}

.vehicle-confidence-live > i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .15);
    animation: pulse-open-dot 1.5s ease-in-out infinite;
}

.vehicle-confidence-live strong {
    display: block;
    font-size: 12px;
}

.vehicle-confidence-live span {
    display: block;
    margin-top: 3px;
    color: #4b5563;
    font-size: 10px;
}

.vehicle-price-compare-section {
    margin-top: 12px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #2f3645;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
}

.vehicle-price-compare-section h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    letter-spacing: -.02em;
}

.vehicle-price-compare-grid {
    display: grid;
    gap: 10px;
}

.vehicle-price-compare-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.vehicle-price-compare-card--loop {
    border-color: #ff174f;
    box-shadow: 0 10px 20px rgba(255, 23, 79, .12);
}

.vehicle-price-logo {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    color: #0f172a;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e5e7eb;
    font-size: 18px;
    font-weight: 700;
    text-transform: lowercase;
}

.vehicle-price-logo--loop img {
    width: 94px;
    height: 30px;
    object-fit: contain;
}

.vehicle-price-logo--webmotors {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

.vehicle-price-logo--webmotors::before {
    content: "H";
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #ef4444;
    font-size: 11px;
    font-weight: 700;
}

.vehicle-price-logo--fipe {
    position: relative;
    color: #1e293b;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 24px;
    letter-spacing: .04em;
}

.vehicle-price-logo--fipe::before,
.vehicle-price-logo--fipe::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    height: 1px;
    background: #93c5fd;
}

.vehicle-price-logo--fipe::before { top: 9px; }
.vehicle-price-logo--fipe::after { bottom: 9px; }

.vehicle-price-compare-card small {
    color: #475569;
    font-size: 10px;
}

.vehicle-price-compare-card strong {
    color: #0f172a;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1;
    white-space: nowrap;
}

.vehicle-price-compare-card p {
    margin: 0;
    color: #475569;
    font-size: 10px;
    line-height: 1.55;
}

.reviews-group + .reviews-group {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 0, 67, .08);
}

.reviews-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.reviews-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reviews-date-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(255, 0, 67, .12);
}

.reviews-date-dot.is-muted {
    background: #d1d5db;
    box-shadow: 0 0 0 4px rgba(209, 213, 219, .35);
}

.reviews-date-pill strong {
    font-size: 11px;
    letter-spacing: -.01em;
}

.reviews-swipe-hint,
.reviews-count-label {
    color: #9ca3af;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.reviews-carousel {
    display: flex;
    gap: 12px;
    margin: 0 -14px;
    padding: 4px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.reviews-carousel::-webkit-scrollbar { display: none; }

.reviews-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.reviews-carousel-dots[hidden] {
    display: none;
}

.reviews-carousel-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #e5e7eb;
    cursor: pointer;
    transition: .2s;
}

.reviews-carousel-dots button.is-active {
    width: 18px;
    background: var(--red);
}

.reviews-timeline {
    display: grid;
    gap: 10px;
}

.review-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #f0d4dc;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
    box-shadow: 0 12px 32px rgba(255, 0, 67, .08);
}

.review-card-featured {
    min-width: 86%;
    scroll-snap-align: center;
}

.review-card-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--red), #ff6b8a);
}

.review-card-body {
    padding: 14px;
}

.review-card-timeline {
    padding: 12px 13px;
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.review-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--avatar-color, var(--red)), var(--red-2));
    box-shadow: 0 6px 16px rgba(17, 24, 39, .12);
    font-size: 11px;
    font-weight: 700;
    overflow: hidden;
}

.review-avatar-sm {
    width: 34px;
    height: 34px;
    font-size: 10px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.review-stars-lg {
    margin-top: 0;
    justify-content: center;
}

.review-star-char {
    font-size: 13px;
    line-height: 1;
    color: #e5e7eb;
}

.review-star-char.is-filled {
    color: #f59e0b;
}

.review-stars-lg .review-star-char {
    font-size: 15px;
}

.review-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #15803d;
    background: #ecfdf5;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.review-verified-pill.is-compact {
    width: 24px;
    height: 24px;
    padding: 0;
    justify-content: center;
}

.review-verified-pill.is-compact .icon {
    width: 12px;
}

.review-verified-pill .icon {
    width: 11px;
}

.review-quote {
    margin: 0;
    padding: 12px 14px;
    border-left: 0;
    border-radius: 14px;
    color: #374151;
    background: rgba(255, 240, 243, .45);
    font-size: 12px;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: -.01em;
}

.review-submit-button {
    display: flex;
    width: 100%;
    min-height: 54px;
    margin-top: 16px;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    box-shadow: 0 14px 28px rgba(255, 0, 67, .24);
    cursor: pointer;
    text-align: left;
}

.review-submit-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
}

.review-submit-icon .icon {
    width: 18px;
}

.review-submit-copy {
    display: grid;
    flex: 1;
    gap: 2px;
}

.review-submit-copy strong {
    font-size: 11px;
    font-weight: 700;
}

.review-submit-copy small {
    color: rgba(255, 255, 255, .82);
    font-size: 8.5px;
    font-weight: 500;
}

.review-submit-button > .icon:last-child {
    width: 16px;
    opacity: .85;
}

.attendant-chat,
.bid-access-modal,
.review-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: none;
    pointer-events: none;
}

.attendant-chat.is-open,
.bid-access-modal.is-open,
.review-modal.is-open {
    display: block;
    pointer-events: auto;
}

.attendant-chat-overlay,
.bid-access-overlay,
.review-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .28s ease;
}

.attendant-chat.is-open .attendant-chat-overlay,
.bid-access-modal.is-open .bid-access-overlay,
.review-modal.is-open .review-modal-overlay {
    opacity: 1;
}

.attendant-chat-sheet {
    position: absolute;
    right: max(10px, calc((100vw - 430px) / 2 + 10px));
    bottom: 12px;
    left: max(10px, calc((100vw - 430px) / 2 + 10px));
    max-width: 360px;
    max-height: min(86vh, 620px);
    margin: 0 auto;
    padding: 14px;
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, .24);
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .36s cubic-bezier(.32, .72, 0, 1), opacity .28s ease;
}

.review-modal-sheet {
    position: absolute;
    right: max(0px, calc((100vw - 430px) / 2));
    bottom: 0;
    left: max(0px, calc((100vw - 430px) / 2));
    max-height: min(88vh, 640px);
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    overflow: auto;
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 -20px 60px rgba(15, 23, 42, .18);
    transform: translateY(100%);
    transition: transform .36s cubic-bezier(.32, .72, 0, 1);
}

.bid-access-sheet {
    position: absolute;
    right: max(10px, calc((100vw - 430px) / 2 + 10px));
    bottom: 12px;
    left: max(10px, calc((100vw - 430px) / 2 + 10px));
    max-width: 360px;
    max-height: min(86vh, 620px);
    margin: 0 auto;
    padding: 14px;
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(15, 23, 42, .24);
    transform: translateY(20px) scale(.98);
    opacity: 0;
    transition: transform .36s cubic-bezier(.32, .72, 0, 1), opacity .28s ease;
}

.attendant-chat.is-open .attendant-chat-sheet,
.bid-access-modal.is-open .bid-access-sheet,
.review-modal.is-open .review-modal-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.bid-access-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #ff174f, #e11d48);
    box-shadow: 0 10px 20px rgba(255, 23, 79, .24);
    cursor: pointer;
}

.bid-access-close .icon { width: 14px; color: #fff; }

.bid-access-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 auto 9px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--red), var(--red-2));
    box-shadow: 0 10px 18px rgba(255, 0, 67, .24);
}

.bid-access-icon .icon { width: 20px; }

.bid-access-sheet h2 {
    margin: 0;
    color: #111827;
    text-align: center;
    font-size: 19px;
    line-height: 1.25;
}

.bid-access-copy {
    margin: 8px auto 0;
    max-width: 95%;
    color: #475569;
    text-align: center;
    font-size: 10px;
    line-height: 1.55;
}

.bid-access-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 11px;
}

.bid-access-action {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.bid-access-action .icon { width: 15px; }

.bid-access-action.is-outline {
    border: 1px solid #ffd0dc;
    color: var(--red);
    background: #fff8fb;
}

.bid-access-seller {
    display: flex;
    gap: 8px;
    margin-top: 11px;
    padding: 10px;
    border: 1px solid #e5f2ea;
    border-radius: 13px;
    background: #f7fcf9;
}

.bid-access-seller-photo {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
}

.bid-access-seller-photo img {
    width: 100%;
    height: 100%;
    border: 3px solid #16a34a;
    border-radius: 50%;
    object-fit: cover;
}

.bid-access-seller-photo.is-fallback img { display: none; }

.bid-access-avatar {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: 50%;
    border: 3px solid #16a34a;
    color: #fff;
    background: linear-gradient(145deg, #22c55e, #16a34a);
    font-size: 22px;
    font-weight: 700;
}

.bid-access-seller-copy strong {
    display: block;
    color: #065f46;
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bid-access-seller-copy b {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    color: #15803d;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
}

.bid-access-seller-copy b .icon {
    width: 12px;
    padding: 3px;
    border-radius: 50%;
    color: #25d366;
    background: rgba(37, 211, 102, .18);
}

.bid-access-seller-copy p {
    margin: 4px 0 0;
    color: #475569;
    font-size: 8.5px;
    line-height: 1.45;
}

.bid-access-whatsapp {
    display: flex;
    height: 43px;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 10px 18px rgba(34, 197, 94, .25);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.bid-access-whatsapp .icon { width: 17px; }

.attendant-chat-profile img {
    width: 100%;
    height: 100%;
    border: 3px solid var(--red);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 22px rgba(255, 23, 79, .2);
}
.attendant-chat-profile.is-fallback img { display: none; }
.attendant-avatar {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border: 3px solid var(--red);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--red), var(--red-2));
    box-shadow: 0 10px 24px rgba(255, 0, 67, .2);
    font-size: 24px;
    font-weight: 700;
}

.attendant-chat-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #ff174f, #e11d48);
    box-shadow: 0 10px 20px rgba(255, 23, 79, .34);
    animation: attendant-close-pulse 1.35s ease-in-out infinite;
    cursor: pointer;
}

.attendant-chat-close .icon {
    width: 15px;
    color: #fff;
}

.attendant-chat-security-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #22c55e, #16a34a);
    box-shadow: 0 10px 18px rgba(34, 197, 94, .24);
}

.attendant-chat-security-icon .icon { width: 22px; }

.attendant-chat-title {
    text-align: center;
}

.attendant-chat-title strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.attendant-chat-title h2 {
    margin: 0;
    color: var(--red);
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.attendant-chat-title p {
    max-width: 95%;
    margin: 6px auto 0;
    color: #475569;
    font-size: 9.5px;
    line-height: 1.5;
}

.attendant-chat-profile {
    position: relative;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
}

.attendant-consultant-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
}

.attendant-online {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #22c55e;
    animation: attendant-online-pulse 1.5s ease-in-out infinite;
}

.attendant-consultant-copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
}

.attendant-consultant-copy p {
    margin: 3px 0 0;
    color: #475569;
    font-size: 10.5px;
    line-height: 1.4;
}

.attendant-status-pill {
    display: inline-flex;
    height: 27px;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 0 10px;
    border-radius: 999px;
    color: #166534;
    background: #ecfdf5;
    font-size: 9.5px;
    font-weight: 700;
}

.attendant-status-pill > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .16);
    animation: attendant-online-pulse 1.5s ease-in-out infinite;
}

.attendant-verified-box,
.attendant-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
}

.attendant-verified-box {
    border: 1px solid #b7e7cb;
    background: #f0fdf4;
}

.attendant-verified-icon,
.attendant-alert-icon {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
}

.attendant-verified-icon {
    color: #fff;
    background: linear-gradient(145deg, #22c55e, #16a34a);
}

.attendant-alert-icon {
    color: #fff;
    background: linear-gradient(145deg, #f43f5e, #e11d48);
}

.attendant-verified-icon .icon,
.attendant-alert-icon .icon { width: 17px; }

.attendant-verified-box strong,
.attendant-alert-box strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.attendant-verified-box strong { color: #15803d; }

.attendant-verified-box b {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    color: #15803d;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.attendant-verified-box b .icon {
    width: 13px;
    padding: 3px;
    border-radius: 50%;
    color: #25d366;
    background: rgba(37, 211, 102, .18);
}

.attendant-verified-box p,
.attendant-alert-box p {
    margin: 4px 0 0;
    color: #334155;
    font-size: 8.5px;
    line-height: 1.5;
}

.attendant-alert-box {
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.attendant-alert-box strong { color: #e11d48; }

.attendant-chat-understood {
    display: flex;
    width: 100%;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.attendant-chat-understood .icon {
    width: 14px;
}

.attendant-chat-action {
    display: flex;
    height: 48px;
    margin-top: 8px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 14px 24px rgba(34, 197, 94, .28);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.attendant-chat-action .icon { width: 18px; }

.attendant-trust-footer {
    display: grid;
    margin-top: 10px;
    padding: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.attendant-trust-footer article {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 4px 3px;
    text-align: center;
}

.attendant-trust-footer article + article {
    border-left: 1px solid #f1f5f9;
}

.attendant-trust-footer .icon {
    width: 15px;
    color: var(--red);
}

.attendant-trust-footer span {
    color: #475569;
    font-size: 7.8px;
    line-height: 1.35;
}

.attendant-trust-note {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 8px;
    text-align: center;
}

.review-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3e8eb;
}

.review-modal-head span {
    color: var(--red);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.review-modal-head h2 {
    margin: 5px 0 0;
    font-size: 18px;
    letter-spacing: -.03em;
}

.review-modal-head button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
}

.review-modal-head button .icon {
    width: 16px;
}

.review-form {
    display: grid;
    gap: 12px;
}

.review-form label,
.review-rating-field {
    display: grid;
    gap: 7px;
}

.review-form label > span,
.review-rating-field > span {
    color: #374151;
    font-size: 10px;
    font-weight: 600;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    outline: 0;
    background: #fff;
    font-size: 11px;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 0, 67, .08);
}

.review-photo-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #ffd0dc;
    border-radius: 16px;
    background: #fff8fa;
    cursor: pointer;
}

.review-photo-preview {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: var(--red);
    background: linear-gradient(145deg, #fff0f3, #fff);
    box-shadow: 0 8px 18px rgba(255, 0, 67, .12);
    overflow: hidden;
}

.review-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-photo-preview .icon {
    width: 20px;
}

.review-photo-picker small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 7.5px;
}

.review-rating-stars {
    display: flex;
    gap: 4px;
}

.review-rating-stars button {
    display: grid;
    width: auto;
    height: auto;
    padding: 2px 4px;
    place-items: center;
    border: 0;
    color: #e5e7eb;
    background: transparent;
    cursor: pointer;
    transition: color .15s, transform .15s;
}

.review-rating-stars button .rating-star {
    font-size: 30px;
    line-height: 1;
}

.review-rating-stars button.is-active {
    color: #f59e0b;
    transform: scale(1.04);
}

.review-form-submit {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-2));
    box-shadow: 0 12px 24px rgba(255, 0, 67, .22);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.review-modal-loading,
.review-modal-success {
    display: grid;
    gap: 8px;
    padding: 24px 8px;
    text-align: center;
}

.review-modal-loading[hidden],
.review-modal-success[hidden] {
    display: none;
}

.review-loading-spinner {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border: 4px solid #ffe1e9;
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.review-success-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #15803d;
    background: #ecfdf5;
}

.review-success-icon .icon {
    width: 22px;
}

.review-modal-success strong {
    font-size: 14px;
}

.review-modal-success p,
.review-modal-loading p {
    margin: 0;
    color: #6b7280;
    font-size: 9px;
    line-height: 1.55;
}

.review-modal-success button {
    height: 42px;
    margin-top: 4px;
    border: 1px solid #dfe2e8;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

@keyframes attendant-online-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .2); }
}

@keyframes attendant-close-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(255, 23, 79, .34); }
    50% { transform: scale(1.07); box-shadow: 0 0 0 6px rgba(255, 23, 79, .16), 0 10px 20px rgba(255, 23, 79, .34); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 360px) {
    .detail-topbar .detail-logo { width: 148px; }
    .detail-title h1 { font-size: 19px; }
    .value-card strong { font-size: 12px; }
    .detail-live-reminder strong { font-size: 8px; }
    .vehicle-confidence-head h2 { font-size: 18px; }
    .vehicle-confidence-head p { font-size: 10.5px; }
    .vehicle-confidence-grid strong { font-size: 12px; }
    .vehicle-confidence-grid p { font-size: 10px; }
    .vehicle-confidence-live strong { font-size: 10.5px; }
    .vehicle-confidence-live span { font-size: 9.5px; }
    .vehicle-price-compare-section h2 { font-size: 18px; }
    .vehicle-price-compare-card strong { font-size: 25px; }
    .vehicle-price-compare-card p { font-size: 9px; }
    .attendant-chat-sheet { padding: 12px; border-radius: 20px; }
    .bid-access-sheet { padding: 12px; border-radius: 20px; }
    .bid-access-sheet h2 { font-size: 17px; }
    .bid-access-copy { font-size: 9px; }
    .bid-access-actions { grid-template-columns: 1fr; }
    .bid-access-action { height: 37px; font-size: 9px; }
    .bid-access-seller-copy b { font-size: 12.5px; }
    .bid-access-whatsapp { height: 40px; font-size: 10px; }
    .attendant-chat-title strong { font-size: 11px; }
    .attendant-chat-title h2 { font-size: 24px; }
    .attendant-chat-title p { font-size: 9px; }
    .attendant-consultant-copy h3 { font-size: 20px; }
    .attendant-consultant-copy p { font-size: 9.5px; }
    .attendant-status-pill { height: 24px; font-size: 9px; }
    .attendant-verified-box strong, .attendant-alert-box strong { font-size: 10px; }
    .attendant-verified-box b { font-size: 13px; }
    .attendant-verified-box p, .attendant-alert-box p { font-size: 8px; }
    .attendant-chat-understood { height: 38px; font-size: 10px; }
    .attendant-chat-action { height: 44px; font-size: 11.5px; }
    .attendant-trust-footer span { font-size: 7px; }
}
