.promo-timer {
    background: #eff6ff;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    border: 1.5px solid #bfdbfe;
    width: fit-content;
}

.promo-timer .countdown-clock {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--primary-dark);
}

.promo-badge-blue {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.price-box del {
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 500;
}

.price-tag {
    color: #0f172a;
    font-size: 3rem !important;
    font-weight: 900;
    letter-spacing: -1px;
}

.promo-row-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.is-hidden {
    display: none !important;
}

/* Reset de links para remover linhas (underlines) */
a {
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
}

.review-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #eff6ff;
}

.review-insights.empty {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1d4ed8;
    font-weight: 800;
}

.review-insights small {
    display: block;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.review-insights strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.review-score-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.review-smart-badge,
.smart-rec-reason,
.smart-rec-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 900;
}

.review-smart-badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    text-transform: uppercase;
}

.sentiment-positivo,
.quality-high {
    background: #ecfdf5;
    color: #047857;
}

.sentiment-negativo {
    background: #fef2f2;
    color: #b91c1c;
}

.smart-rec-card .ml-card-body {
    gap: 5px;
}

.smart-rec-reason {
    color: var(--primary);
}

.smart-rec-meta {
    color: #64748b;
}

@keyframes pulse-timer {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Estilos para os filtros de avaliação */
.filter-btn {
    padding: 6px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-gray);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.filter-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Amis Details UI V13.0 - Comentários Sociais e Correção de Layout */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --laranja: #ff6b00;
    --border: #e2e8f0;
    --bg-page: #f8fafc;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

body { background: var(--bg-page); margin: 0; color: #1a202c; font-family: 'Inter', sans-serif; }

img { max-width: 100%; height: auto; }

button,
input,
select,
textarea {
    font: inherit;
}

.topbar {
    height: 72px; background: white; border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 0 40px; position: sticky; top: 0; z-index: 1000;
}

.topbar > :first-child { justify-self: start; }
.topbar .logo {
    justify-self: center;
    font-size: 3rem !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    display: flex !important;
    align-items: center !important;
    color: #0f172a !important;
}

.topbar .logo span {
    color: #2563eb !important;
}
.topbar > :last-child { justify-self: end; }

@media (max-width: 1440px) {
    .topbar {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }
}

@media (max-width: 952px) {
    .detalhes-page .topbar {
        display: grid !important;
        grid-template-columns: 42px minmax(max-content, 1fr) 42px !important;
        min-height: 64px !important;
        height: auto !important;
        padding: 10px 14px !important;
        gap: 10px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .topbar .logo {
        font-size: 2.2rem !important;
        white-space: nowrap !important;
        min-width: max-content !important;
        font-weight: 900 !important;
        letter-spacing: -1px !important;
    }

    .detalhes-page .topbar .btn-user,
    .detalhes-page .topbar > :last-child {
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        min-width: 42px !important;
        justify-content: center !important;
    }

    .detalhes-page .topbar .btn-user {
        padding: 0 !important;
        overflow: hidden !important;
        font-size: 0 !important;
        gap: 0 !important;
    }

    .detalhes-page .topbar .btn-user i {
        flex: 0 0 auto;
        font-size: 1.05rem !important;
    }
}

.page-shell { max-width: 1200px; margin: 40px auto; padding: 0 20px; width: 100%; }

/* 1. HERO SECTION */
.product-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 30px; margin-bottom: 40px; align-items: start; }

.image-panel {
    background: white; border-radius: 24px; padding: 0;
    height: 650px;
    display: flex; flex-direction: column;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    overflow: visible;
    border: 1px solid var(--border);
}

.img-container { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 24px; background: #f8fafc; border: 1px solid var(--border); }
#targetImg { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s ease; }

/* Controles de Zoom / Seta */
.zoom-controls {
    display: flex; justify-content: center; align-items: center;
    gap: 15px; margin-top: 20px; padding: 10px;
}

.zoom-controls button {
    width: 42px; height: 42px; border-radius: 12px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    color: #0f172a; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.zoom-controls button:hover {
    background: var(--primary); color: white;
    border-color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

#zoomLabel {
    font-weight: 800; font-size: 0.85rem; color: #475569;
    background: #f1f5f9; padding: 6px 12px; border-radius: 8px;
}

.product-summary {
    background: white; border-radius: 24px; padding: 35px;
    box-shadow: var(--card-shadow);
    display: flex; flex-direction: column;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
}

.rank-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff1e6; color: #f97316; padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; margin-bottom: 15px;
}

.price-tag { font-size: 2.8rem; font-weight: 900; margin: 20px 0; }

.btn-interest {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #25d366; color: white; padding: 18px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; text-decoration: none; transition: 0.2s; margin-top: auto;
}
.btn-interest:hover { background: #1eb956; transform: translateY(-2px); }

/* 2. GRID DE CONTEÚDO */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 40px; align-items: start; }
.main-column,
.side-column {
    min-width: 0;
}
.info-card { background: white; border-radius: 24px; padding: 40px; border: 1px solid var(--border); margin-bottom: 30px; box-shadow: var(--card-shadow); }

.seller-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.seller-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

/* 3. COMENTÁRIOS SOCIAIS */
.review-item-shell { padding: 25px; background: #ffffff; border-radius: 20px; margin-bottom: 20px; border: 1px solid #edf2f7; position: relative; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.review-text { color: #475569; line-height: 1.6; font-size: 0.95rem; }

.review-actions { display: flex; gap: 15px; margin-top: 15px; }
.btn-action-small { background: none; border: none; font-size: 0.75rem; font-weight: 800; color: var(--primary); cursor: pointer; display: flex; align-items: center; gap: 5px; opacity: 0.8; }
.btn-action-small:hover { opacity: 1; }
.badge-anunciante {
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

/* BLOCO DE AVALIAÇÕES (SQUIRCLE AZUL) */
.review-item-shell {
    padding: 30px;
    background: #ffffff;
    border-radius: 28px;
    margin-bottom: 35px;
    border: 2px solid #3b82f6; /* Azul vivo solicitado */
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.1);
}

.replies-wrapper {
    margin-top: 15px;
    border-left: 2px solid #3b82f6;
    padding-left: 10px;
}

.review-reply {
    margin-left: 0;
    border-left: none;
    padding: 20px 0 0;
    margin-top: 20px;
    background: transparent;
    border: none;
    border-top: 1.2px solid #dbeafe;
}

.reply-input-box {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    display: none;
}

.reply-input-box textarea { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 10px; resize: none; margin-bottom: 10px; }


.btn-show-more-replies {
    background: #f1f5f9;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    transition: 0.2s;
}

.btn-show-more-replies:hover {
    background: var(--primary);
    color: white;
}

.reply-input-box { margin-left: 0; margin-top: 15px; padding: 15px; background: #f8fafc; border-radius: 15px; border: 1px solid #e2e8f0; display: none; }
.reply-input-box textarea { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 10px; resize: none; margin-bottom: 10px; }

/* 4. CARROSSEL DE SUGESTÕES (MERCADO LIVRE STYLE) */
.ml-carousel { margin: 60px 0 100px; width: 100%; overflow: hidden; clear: both; }
.ml-carousel-track { display: flex !important; gap: 20px; overflow-x: auto; padding: 15px 5px 30px; scrollbar-width: none; scroll-behavior: smooth; }
.ml-carousel-track::-webkit-scrollbar { display: none; }

.ml-card { flex: 0 0 240px; background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; text-decoration: none; color: inherit; transition: 0.3s; display: flex; flex-direction: column; }
.ml-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); border: 1px solid var(--border); }

.ml-card-img { height: 160px; background-size: contain; background-repeat: no-repeat; background-position: center; margin: 15px; background-color: #f8fafc; }
.ml-card-body { padding: 15px; border-top: 1px solid #f1f5f9; }
.ml-card-price { font-size: 1.3rem; font-weight: 800; color: #111; }
.ml-card-title { font-size: 0.8rem; color: #666; margin-top: 5px; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* MODAL OTIMIZADO PARA PERFORMANCE */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); /* Removido backdrop-filter blur para ganho de performance */
    z-index: 10000; display: none; align-items: center; justify-content: center;
    padding: 18px;
}

.modal-comments {
    background: white; border-radius: 24px; width: 90%; max-width: 750px; height: 85vh;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    will-change: transform; /* Força aceleração de hardware */
    transform: translateZ(0);
}

.modal-header { padding: 25px 35px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.close-modal {
    background: #eff6ff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary) !important;
    font-size: 1.5rem;
    transition: 0.2s;
}

.close-modal:hover {
    background: var(--primary);
    color: white !important;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 35px;
    background: #f8fafc;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
    contain: content; /* Isola o custo de renderização do conteúdo */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f5f9;
}

/* Custom Scrollbar for Modal Body (Chrome/Safari) */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Removido override para manter a linha azul e visual padronizado dentro do modal */
.modal-body .review-item-shell {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05) !important;
}

.btn-load-more-comments {
    display: block;
    width: 100%;
    padding: 18px;
    margin: 30px 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #475569;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-load-more-comments:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

@media (max-width: 992px) {
    .product-hero, .content-grid { grid-template-columns: 1fr; }
    .product-summary { min-width: 100%; }
    .image-panel { height: auto; min-height: 350px; aspect-ratio: 4 / 3; }
    .side-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .side-column .info-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body {
        min-width: 320px;
        font-size: 16px;
    }

    .topbar {
        min-height: 64px;
        height: auto;
        padding: 10px 14px;
        gap: 10px;
    }

    .topbar .logo {
        font-size: 2.2rem !important;
        white-space: nowrap !important;
        min-width: max-content !important;
        font-weight: 900 !important;
        letter-spacing: -1px !important;
    }

    .topbar .btn-user {
        width: 42px;
        height: 42px;
        max-width: 42px;
        padding: 0;
        justify-content: center;
        overflow: hidden;
        font-size: 0;
        gap: 0;
    }

    .topbar .btn-user i {
        flex: 0 0 auto;
        font-size: 1.05rem;
    }

    .page-shell {
        margin: 18px auto 0;
        padding: 0 14px;
    }

    .product-hero {
        gap: 16px;
        margin-bottom: 24px;
    }

    .image-panel,
    .product-summary,
    .info-card,
    .review-item-shell,
    .modal-comments {
        border-radius: 18px;
    }

    .image-panel {
        min-height: 280px;
        aspect-ratio: 1 / 1;
    }

    .img-container {
        border-radius: 18px;
    }

    .zoom-controls {
        margin-top: 10px;
        padding: 8px;
    }

    .zoom-controls button {
        width: 40px;
        height: 40px;
    }

    .product-summary {
        padding: 22px;
    }

    .product-summary h1 {
        font-size: clamp(1.7rem, 8vw, 2.25rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .price-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .price-tag {
        font-size: clamp(2rem, 11vw, 2.6rem) !important;
        margin: 6px 0 14px;
        line-height: 1;
        overflow-wrap: anywhere;
    }

    .promo-timer {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }

    .btn-interest,
    .btn-edit-admin {
        min-height: 52px;
    }

    .content-grid {
        gap: 20px;
    }

    .info-card {
        padding: 22px;
        margin-bottom: 20px;
    }

    .info-card h2,
    .ml-carousel h3 {
        font-size: 1.35rem !important;
        line-height: 1.2;
    }

    .review-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .review-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex: 0 0 auto;
        font-size: 0.9rem;
    }

    .review-text,
    .ml-card-title,
    .btn-action-small {
        font-size: 0.95rem;
    }

    #main-comment-form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #main-comment-text {
        min-height: 120px;
    }

    .review-header,
    .modal-header,
    .review-actions {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .review-item-shell {
        padding: 18px;
    }

    .review-reply,
    .reply-input-box {
        margin-left: 0;
    }

    .side-column {
        grid-template-columns: 1fr;
    }

    .seller-box {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
    }

    .seller-avatar-large {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .seller-box strong {
        font-size: 1.05rem;
    }

    .ml-carousel {
        margin: 36px 0 64px;
        overflow: visible;
    }

    .ml-carousel > div:first-child {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 14px;
        margin-bottom: 14px !important;
        padding: 0 !important;
    }

    .ml-carousel-track {
        gap: 14px;
        margin-left: -14px;
        margin-right: -14px;
        padding: 10px 14px 24px;
        scroll-padding-left: 14px;
    }

    .ml-card {
        flex-basis: min(78vw, 260px);
    }

    .modal-overlay {
        align-items: center;
        padding: 10px;
    }

    .modal-comments {
        width: 100%;
        height: min(88vh, 720px);
        border-radius: 18px;
    }

    .modal-header {
        padding: 18px;
    }

    .modal-header > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .modal-body {
        padding: 18px;
    }

    .close-modal {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    #customActionModal > div {
        width: 100% !important;
        max-width: 420px !important;
        padding: 22px !important;
    }

    #customActionModal > div > div {
        flex-direction: column;
    }

    #customActionModal button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .review-text {
        line-height: 1.7 !important;
        margin: 15px 0 !important;
        font-size: 1.05rem !important;
    }

    .review-item-shell {
        padding: 22px 18px !important;
        margin-bottom: 20px !important;
    }

    .user-info {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .topbar {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        justify-items: center;
        gap: 5px;
    }

    .topbar .logo {
        max-width: 100% !important;
        font-size: 1.8rem !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-weight: 900 !important;
        letter-spacing: -1px !important;
    }

    .topbar > :last-child {
        width: 42px;
        height: 42px;
        justify-content: center;
    }

    .topbar .btn-user {
        width: 42px;
        height: 42px;
        max-width: 42px;
    }

    .topbar .btn-user i {
        flex: 0 0 auto;
        font-size: 1rem;
    }

    .image-panel {
        min-height: 240px;
    }

    .product-summary {
        padding: 18px;
    }

    .promo-row-badges {
        gap: 8px;
    }

    .promo-badge-blue,
    .rank-badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .info-card {
        padding: 18px;
    }

    .user-info {
        min-width: 0;
    }

    .review-text,
    .info-card div,
    .product-summary {
        overflow-wrap: anywhere;
    }

    .ml-card {
        flex-basis: 82vw;
    }
}

/* Conect-r details polish */
.detalhes-page {
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.08), transparent 28rem),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 44%, #eef4ff 100%);
}

.detalhes-page .topbar {
    backdrop-filter: saturate(1.25) blur(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.page-shell {
    max-width: 1240px;
}

.product-hero {
    gap: 34px;
}

.image-panel,
.product-summary,
.info-card,
.side-column > div,
.side-column > section {
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.image-panel {
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.img-container {
    border: 0;
    background:
        linear-gradient(45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%),
        #f8fafc;
    background-size: 22px 22px;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.main-image {
    padding: 12px;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.11));
}

.zoom-controls {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    margin: 0;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.zoom-controls button {
    border-radius: 999px;
    background: #ffffff;
}

#zoomLabel {
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}

.product-summary {
    padding: 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.product-summary h1 {
    margin: 4px 0 10px;
    color: #0f172a;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.stars-row {
    padding: 10px 12px;
    border-radius: 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    width: fit-content;
}

.price-box {
    align-items: baseline;
    margin: 18px 0 12px;
}

.price-tag {
    color: #111827;
    font-size: clamp(2.6rem, 4vw, 4rem) !important;
    line-height: .95;
    margin: 0;
}

.product-summary > div[style*="background: #f8fafc"] {
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.btn-interest {
    min-height: 62px;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.28);
}

.btn-interest:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 20px 42px rgba(34, 197, 94, 0.34);
}

.info-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 26px;
}

.info-card h2 {
    letter-spacing: 0;
}

.seller-box {
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.seller-avatar-large {
    width: 68px;
    height: 68px;
    border-radius: 18px;
}

.review-item-shell {
    border: 1px solid #dbeafe;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
}

.ml-card {
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 992px) {
    .product-hero {
        gap: 20px;
    }

    .zoom-controls {
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .image-panel {
        padding: 10px;
    }

    .zoom-controls {
        position: static;
        transform: none;
        margin: 10px auto 0;
        width: fit-content;
    }

    .product-summary {
        padding: 22px;
    }

    .stars-row {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-summary h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .btn-interest {
        min-height: 56px;
    }
}

/* Conect-r details blue theme v2 */
.detalhes-page {
    background:
        linear-gradient(180deg, #eaf3ff 0%, #f8fbff 38%, #eef6ff 100%) !important;
}

.product-hero {
    position: relative;
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: -18px -18px auto -18px;
    height: 220px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #38bdf8 100%);
    opacity: .14;
    pointer-events: none;
}

.image-panel {
    border: 1px solid #bfdbfe !important;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    box-shadow: 0 22px 55px rgba(37, 99, 235, .16) !important;
}

.img-container {
    background:
        radial-gradient(circle at center, #ffffff 0%, #eff6ff 54%, #dbeafe 100%) !important;
    box-shadow: inset 0 0 0 1px #bfdbfe !important;
}

.product-summary {
    border: 1px solid #bfdbfe !important;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .17) !important;
}

.product-summary h1 {
    color: #0b1f52 !important;
}

.product-summary > div[style*="uppercase"] {
    color: #1d4ed8 !important;
}

.stars-row {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.price-tag {
    color: #1d4ed8 !important;
    text-shadow: 0 10px 30px rgba(37, 99, 235, .16);
}

.product-summary > div[style*="background: #f8fafc"] {
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 1px solid #bfdbfe !important;
}

.btn-interest {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 72%, #0f172a 100%) !important;
    box-shadow: 0 18px 38px rgba(37, 99, 235, .34) !important;
}

.btn-interest:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
}

.info-card {
    border-color: #dbeafe !important;
    box-shadow: 0 18px 44px rgba(37, 99, 235, .10) !important;
}

.info-card h2,
.ml-carousel h3 {
    color: #0b1f52 !important;
}

.seller-box {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}

.seller-avatar-large {
    border-color: #93c5fd !important;
}

.review-item-shell {
    border-color: #60a5fa !important;
    box-shadow: 0 16px 38px rgba(37, 99, 235, .14) !important;
}

.filter-btn.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.ml-card:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .15) !important;
}

/* Details description formatting */
.details-description {
    color: #475569;
    line-height: 1.85;
    font-size: 1.08rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.details-description br {
    display: block;
    content: "";
    margin-top: 0.72em;
}
