/* =========================================================
   DASHBOARD VISITANTE / FAVORITOS
   Arquivo: assets/css/visitante-dashboard.css
========================================================= */

/* =========================================================
   VARIÁVEIS BASE
========================================================= */

.edx-visitante-dashboard {
    --edx-primary-color: #0f172a;
    --edx-accent-color: #0f5132;
    --edx-orange-color: #e6531b;
    --edx-purple-color: #5b218a;

    --edx-text-color: #0f172a;
    --edx-text-light: #475569;
    --edx-text-muted: #94a3b8;

    --edx-border-color: #e5e7eb;
    --edx-bg-soft: #f8fafc;
    --edx-bg-card: #ffffff;

    --edx-radius-md: 16px;
    --edx-radius-lg: 22px;
    --edx-radius-xl: 28px;

    --edx-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
    --edx-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --edx-shadow-lg: 0 18px 46px rgba(15, 23, 42, 0.12);

    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px 48px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--edx-text-color);
    box-sizing: border-box;
}

.edx-visitante-dashboard *,
.edx-visitante-dashboard *::before,
.edx-visitante-dashboard *::after {
    box-sizing: border-box;
}

/* =========================================================
   TOPO / HERO
========================================================= */

.edx-visitor-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 24px 0 42px;
}

.edx-visitor-dashboard-title {
    min-width: 0;
}

.edx-visitante-dashboard-kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--edx-accent-color);
}

.edx-visitor-dashboard-title h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: var(--edx-primary-color);
}

.edx-visitor-dashboard-title p {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--edx-text-light);
}

/* =========================================================
   CARDS DE RESUMO
========================================================= */

.edx-visitor-dashboard-summary-cards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.edx-visitor-summary-card,
.edx-gerar-roteiro-btn {
    appearance: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.edx-visitor-summary-card {
    min-width: 210px;
    min-height: 104px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 26px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 16px;
    box-shadow: var(--edx-shadow-sm);
    color: var(--edx-text-color);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.edx-visitor-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--edx-shadow-md);
    border-color: #d7dee8;
    background: #fcfcfd;
}

.edx-visitor-summary-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
    border-color: currentColor;
}

.edx-summary-card-icon,
.edx-gerar-roteiro-icon,
.edx-visitor-tab-icon,
.edx-clear-favorites-icon,
.edx-roteiro-action-icon,
.edx-route-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edx-summary-card-icon svg {
    width: 38px;
    height: 38px;
    fill: currentColor;
}

.edx-summary-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.edx-summary-card-content strong {
    display: block;
    font-size: 42px;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: .95;
}

.edx-summary-card-content small {
    display: block;
    margin-top: 9px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.15;
    color: #64748b;
}

.edx-visitor-summary-card.is-expositor {
    color: var(--edx-accent-color);
}

.edx-visitor-summary-card.is-produto {
    color: var(--edx-orange-color);
}

.edx-visitor-summary-card.is-palestra {
    color: var(--edx-purple-color);
}

/* =========================================================
   BOTÃO GERAR ROTEIRO
========================================================= */

.edx-gerar-roteiro-btn {
    min-width: 280px;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f6b43 0%, #075a36 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 81, 50, 0.22);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.edx-gerar-roteiro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(15, 81, 50, 0.28);
}

.edx-gerar-roteiro-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.edx-gerar-roteiro-btn span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.edx-gerar-roteiro-btn strong {
    font-size: 20px;
    font-weight: 760;
    line-height: 1.1;
}

.edx-gerar-roteiro-btn small {
    margin-top: 7px;
    font-size: 16px;
    font-weight: 400;
    opacity: .9;
}

/* =========================================================
   BARRA DE ABAS
========================================================= */

.edx-visitor-tabs-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 14px 14px 0 0;
    box-shadow: var(--edx-shadow-sm);
}

.edx-visitor-tab-item {
    appearance: none;
    min-height: 88px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    border-right: 1px solid var(--edx-border-color);
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 17px;
    font-weight: 560;
    cursor: pointer;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.edx-visitor-tab-item:last-child {
    border-right: 0;
}

.edx-visitor-tab-item:hover {
    background: #fafafa;
    transform: translateY(-1px);
}

.edx-visitor-tab-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.edx-visitor-tab-item em,
.edx-count-badge {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef2f7;
    color: currentColor;
    font-style: normal;
    font-size: 15px;
    font-weight: 750;
}

.edx-visitor-tab-item.is-active {
    color: var(--edx-accent-color);
    background: #fff;
    box-shadow: inset 0 0 0 999px rgba(15, 81, 50, 0.035);
}

.edx-visitor-tab-item.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--edx-accent-color);
}

.edx-visitor-tab-item[data-tab="produto"].is-active {
    color: var(--edx-orange-color);
    box-shadow: inset 0 0 0 999px rgba(230, 83, 27, 0.035);
}

.edx-visitor-tab-item[data-tab="produto"].is-active::after {
    background: var(--edx-orange-color);
}

.edx-visitor-tab-item[data-tab="palestra"].is-active {
    color: var(--edx-purple-color);
    box-shadow: inset 0 0 0 999px rgba(91, 33, 138, 0.035);
}

.edx-visitor-tab-item[data-tab="palestra"].is-active::after {
    background: var(--edx-purple-color);
}

/* =========================================================
   ANIMAÇÕES UX
========================================================= */

.edx-visitante-panel {
    animation: edxPanelEnter .26s ease both;
}

.edx-visitante-panel.is-entering {
    animation: edxPanelEnter .26s ease both;
}

.edx-visitante-panel.is-leaving {
    animation: edxPanelLeave .16s ease both;
}

@keyframes edxPanelEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes edxPanelLeave {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(6px);
    }
}

.edx-badge-pulse {
    animation: edxBadgePulse .55s ease both;
}

.edx-favorite-updated {
    animation: edxFavoriteUpdated .6s ease both;
}

@keyframes edxBadgePulse {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.28);
    }

    70% {
        transform: scale(.94);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes edxFavoriteUpdated {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 81, 50, .28);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(15, 81, 50, 0);
    }

    100% {
        box-shadow: var(--edx-shadow-sm);
    }
}

/* =========================================================
   PAINÉIS
========================================================= */

.edx-visitante-panel {
    display: none;
    padding: 22px 24px 28px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--edx-shadow-sm);
}

.edx-visitante-panel.is-active,
.edx-visitante-panel.is-leaving {
    display: block;
}

.edx-visitante-panel-inner {
    width: 100%;
}

.edx-visitante-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.edx-visitante-panel-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--edx-primary-color);
}

/* =========================================================
   AÇÕES FAVORITOS
========================================================= */

.edx-favorites-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.edx-favorites-order {
    min-width: 190px;
    height: 48px;
    padding: 0 42px 0 16px;
    border: 1px solid var(--edx-border-color);
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--edx-shadow-sm);
}

.edx-clear-favorites {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid #f0a3a3;
    color: #e14343;
    background: #fff;
    border-radius: 9px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.edx-clear-favorites:hover {
    background: #fff5f5;
    border-color: #ef4444;
    transform: translateY(-1px);
}

.edx-clear-favorites-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =========================================================
   ROTEIRO / PDF / WHATSAPP
========================================================= */

.edx-roteiro-panel-header {
    align-items: flex-start;
}

.edx-roteiro-panel-subtitle {
    margin: 7px 0 0;
    color: var(--edx-text-light);
    font-size: 14px;
    line-height: 1.45;
}

.edx-roteiro-actions,
.edx-route-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.edx-roteiro-action-btn,
.edx-route-action-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--edx-border-color);
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--edx-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.edx-roteiro-action-btn:hover,
.edx-route-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--edx-shadow-md);
}

.edx-roteiro-action-pdf,
.edx-route-action-pdf {
    color: #b42318;
    border-color: #ffd6d2;
    background: #fffafa;
}

.edx-roteiro-action-whatsapp,
.edx-route-action-whatsapp {
    color: #0f7a43;
    border-color: #b7ebc6;
    background: #f3fff7;
}

.edx-roteiro-action-icon svg,
.edx-route-action-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.edx-roteiro-header {
    margin-bottom: 22px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 81, 50, 0.08), rgba(15, 23, 42, 0.03));
    border: 1px solid rgba(15, 81, 50, 0.12);
}

.edx-roteiro-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.edx-roteiro-header p {
    margin: 0;
    color: var(--edx-text-light);
    font-size: 15px;
}

.edx-roteiro-section {
    margin-bottom: 28px;
}

.edx-roteiro-section h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 740;
    color: var(--edx-primary-color);
}

/* =========================================================
   ESTADO VAZIO
========================================================= */

.edx-visitante-empty {
    width: 100%;
    padding: 54px 20px;
    border: 1px dashed #d1d5db;
    border-radius: var(--edx-radius-lg);
    background: #f9fafb;
    color: #6b7280;
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
}

/* =========================================================
   GRID EXPOSITORES
========================================================= */

.edx-visitante-grid-expositores.edx-exhibitor-results.is-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* =========================================================
   CARD EXPOSITOR
========================================================= */

.edx-visitante-dashboard .edx-exhibitor-card {
    display: block;
    position: relative !important;
    background: var(--edx-bg-card);
    border: 1px solid var(--edx-border-color);
    border-radius: var(--edx-radius-xl);
    overflow: visible !important;
    box-shadow: var(--edx-shadow-sm);
    text-decoration: none !important;
    color: inherit;
    box-sizing: border-box;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.edx-visitante-dashboard .edx-exhibitor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--edx-shadow-lg);
    border-color: #d7dee8;
}

.edx-visitante-dashboard .edx-exhibitor-card *,
.edx-visitante-dashboard .edx-exhibitor-card:hover * {
    text-decoration: none !important;
}

.edx-visitante-dashboard .edx-exhibitor-card-grid {
    position: relative !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 72px;
    min-height: 335px;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
}

.edx-visitante-dashboard .edx-exhibitor-card-topbar {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 2px;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo {
    width: 100%;
    height: 156px;
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: transparent;
    border: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo img {
    display: block;
    max-width: 94%;
    max-height: 94%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo-fallback {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #475569;
}

.edx-visitante-dashboard .edx-exhibitor-card-body {
    margin-top: 4px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.edx-visitante-dashboard .edx-exhibitor-card-booth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.edx-visitante-dashboard .edx-exhibitor-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.24;
    color: var(--edx-text-color);
    font-weight: 500;
    min-height: calc(1.24em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
    cursor: pointer;
    z-index: 50 !important;
    transition: all .25s ease;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite.is-active {
    color: #ef4444;
    border-color: #fecaca !important;
    background: #fff !important;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite-icon {
    font-size: 18px;
    line-height: 1;
}

.edx-visitante-dashboard .edx-exhibitor-card-arrow-real {
    position: absolute !important;
    right: 16px !important;
    bottom: 105px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: var(--edx-primary-color) !important;
    font-size: 22px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

/* =========================================================
   PRODUTOS FAVORITOS
========================================================= */

.edx-visitante-product-list-directory {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.edx-visitante-dashboard .edx-product-list-results,
.edx-visitante-dashboard .edx-product-list-results.is-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

.edx-visitante-dashboard .edx-product-list-card {
    position: relative !important;
    display: block !important;
    background: #fff !important;
    border: 1px solid var(--edx-border-color) !important;
    border-radius: var(--edx-radius-lg) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: .25s ease !important;
    color: inherit !important;
}

.edx-visitante-dashboard .edx-product-list-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--edx-shadow-md) !important;
}

.edx-visitante-dashboard .edx-product-list-card-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    text-decoration: none !important;
}

.edx-visitante-dashboard .edx-product-list-card-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 56px 18px 18px !important;
    min-height: 460px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

.edx-visitante-dashboard .edx-product-list-thumb {
    width: 100% !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 12px !important;
    background: #fff !important;
}

.edx-visitante-dashboard .edx-product-list-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

.edx-visitante-dashboard .edx-product-list-body {
    margin-top: auto !important;
    width: 100% !important;
    text-align: left !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

.edx-visitante-dashboard .edx-product-list-title {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: var(--edx-text-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.edx-visitante-dashboard .edx-product-list-excerpt {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    margin-bottom: 14px !important;
}

.edx-visitante-dashboard .edx-product-list-segmento,
.edx-visitante-dashboard .edx-product-list-company-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #dcdcdc !important;
    background: #fafafa !important;
    font-size: 12px !important;
    color: var(--edx-text-color) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.edx-visitante-dashboard .edx-product-list-companies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}

.edx-visitante-dashboard .edx-product-favorite-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;
}

/* =========================================================
   PALESTRAS
========================================================= */

.edx-visitante-dashboard .edx-talks-schedule-modern {
    width: 100%;
}

.edx-visitante-dashboard .edx-talks-modern__day-card {
    margin-bottom: 24px;
}

.edx-visitante-dashboard .edx-talk-favorite-btn,
.edx-visitante-dashboard .edx-exhibitor-talk-favorite-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 30 !important;
}

/* =========================================================
   FAVORITOS GERAIS
========================================================= */

.edx-visitante-dashboard .edx-favorite-btn {
    cursor: pointer;
    pointer-events: auto;
}

.edx-visitante-dashboard .edx-favorite-btn-icon {
    line-height: 1;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1320px) {
    .edx-visitor-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .edx-visitor-dashboard-summary-cards {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .edx-visitor-summary-card {
        min-width: 190px;
    }
}

@media (max-width: 1024px) {
    .edx-visitor-dashboard-summary-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .edx-visitor-summary-card,
    .edx-gerar-roteiro-btn {
        width: 100%;
        min-width: 0;
    }

    .edx-visitor-tabs-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edx-visitor-tab-item:nth-child(2) {
        border-right: 0;
    }

    .edx-visitor-tab-item:nth-child(1),
    .edx-visitor-tab-item:nth-child(2) {
        border-bottom: 1px solid var(--edx-border-color);
    }

    .edx-visitante-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions {
        justify-content: space-between;
    }

    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .edx-visitante-dashboard {
        padding: 0 16px 36px;
    }

    .edx-visitor-dashboard-hero {
        gap: 22px;
        padding: 18px 0 28px;
    }

    .edx-visitor-dashboard-title h1 {
        font-size: 34px;
    }

    .edx-visitor-dashboard-title p {
        font-size: 15px;
    }

    .edx-visitor-dashboard-summary-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edx-visitor-summary-card,
    .edx-gerar-roteiro-btn {
        min-height: 86px;
        justify-content: flex-start;
        padding: 18px 20px;
    }

    .edx-summary-card-content strong {
        font-size: 34px;
    }

    .edx-summary-card-content small,
    .edx-gerar-roteiro-btn small {
        font-size: 14px;
    }

    .edx-gerar-roteiro-btn strong {
        font-size: 17px;
    }

    .edx-visitor-tabs-bar {
        display: flex;
        overflow-x: auto;
        border-radius: 14px;
    }

    .edx-visitor-tab-item {
        min-width: 190px;
        min-height: 74px;
        border-bottom: 0 !important;
    }

    .edx-visitor-tab-item:nth-child(2) {
        border-right: 1px solid var(--edx-border-color);
    }

    .edx-visitante-panel {
        padding: 18px 16px 22px;
        border-radius: 18px;
    }

    .edx-visitante-panel-header h2 {
        font-size: 21px;
    }

    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edx-favorites-order,
    .edx-clear-favorites,
    .edx-roteiro-action-btn,
    .edx-route-action-btn {
        width: 100%;
    }

    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-grid {
        min-height: unset;
        padding: 16px 16px 60px;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-logo {
        height: 112px;
        min-height: 112px;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-favorite {
        width: 38px !important;
        height: 38px !important;
    }
}

/* =========================================================
   PRINT
========================================================= */

@media print {
    .edx-visitor-dashboard-hero,
    .edx-visitor-tabs-bar,
    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions,
    .edx-favorite-btn,
    .edx-exhibitor-card-arrow-real {
        display: none !important;
    }

    .edx-visitante-dashboard {
        max-width: none;
        padding: 0;
        font-family: Arial, sans-serif;
    }

    .edx-visitante-panel {
        display: none !important;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .edx-visitante-panel[data-panel="roteiro"] {
        display: block !important;
    }

    .edx-roteiro-print-area {
        display: block !important;
    }

    .edx-exhibitor-card,
    .edx-product-list-card,
    .edx-talk-modern {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
    }
}/* =========================================================
   DASHBOARD VISITANTE / FAVORITOS
   Arquivo: assets/css/visitante-dashboard.css
========================================================= */

/* =========================================================
   VARIÁVEIS BASE
========================================================= */

.edx-visitante-dashboard {
    --edx-primary-color: #0f172a;
    --edx-accent-color: #0f5132;
    --edx-orange-color: #e6531b;
    --edx-purple-color: #5b218a;

    --edx-text-color: #0f172a;
    --edx-text-light: #475569;
    --edx-text-muted: #94a3b8;

    --edx-border-color: #e5e7eb;
    --edx-bg-soft: #f8fafc;
    --edx-bg-card: #ffffff;

    --edx-radius-md: 16px;
    --edx-radius-lg: 22px;
    --edx-radius-xl: 28px;

    --edx-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
    --edx-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --edx-shadow-lg: 0 18px 46px rgba(15, 23, 42, 0.12);

    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px 48px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--edx-text-color);
    box-sizing: border-box;
}

.edx-visitante-dashboard *,
.edx-visitante-dashboard *::before,
.edx-visitante-dashboard *::after {
    box-sizing: border-box;
}

/* =========================================================
   TOPO / HERO
========================================================= */

.edx-visitor-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 24px 0 42px;
}

.edx-visitor-dashboard-title {
    min-width: 0;
}

.edx-visitante-dashboard-kicker {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--edx-accent-color);
}

.edx-visitor-dashboard-title h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: var(--edx-primary-color);
}

.edx-visitor-dashboard-title p {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--edx-text-light);
}

/* =========================================================
   CARDS DE RESUMO
========================================================= */

.edx-visitor-dashboard-summary-cards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.edx-visitor-summary-card,
.edx-gerar-roteiro-btn {
    appearance: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.edx-visitor-summary-card {
    min-width: 210px;
    min-height: 104px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 26px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 16px;
    box-shadow: var(--edx-shadow-sm);
    color: var(--edx-text-color);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.edx-visitor-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--edx-shadow-md);
    border-color: #d7dee8;
    background: #fcfcfd;
}

.edx-visitor-summary-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.13);
    border-color: currentColor;
}

.edx-summary-card-icon,
.edx-gerar-roteiro-icon,
.edx-visitor-tab-icon,
.edx-clear-favorites-icon,
.edx-roteiro-action-icon,
.edx-route-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edx-summary-card-icon svg {
    width: 38px;
    height: 38px;
    fill: currentColor;
}

.edx-summary-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.edx-summary-card-content strong {
    display: block;
    font-size: 42px;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: .95;
}

.edx-summary-card-content small {
    display: block;
    margin-top: 9px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.15;
    color: #64748b;
}

.edx-visitor-summary-card.is-expositor {
    color: var(--edx-accent-color);
}

.edx-visitor-summary-card.is-produto {
    color: var(--edx-orange-color);
}

.edx-visitor-summary-card.is-palestra {
    color: var(--edx-purple-color);
}

/* =========================================================
   BOTÃO GERAR ROTEIRO
========================================================= */

.edx-gerar-roteiro-btn {
    min-width: 280px;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f6b43 0%, #075a36 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 81, 50, 0.22);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.edx-gerar-roteiro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(15, 81, 50, 0.28);
}

.edx-gerar-roteiro-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.edx-gerar-roteiro-btn span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.edx-gerar-roteiro-btn strong {
    font-size: 20px;
    font-weight: 760;
    line-height: 1.1;
}

.edx-gerar-roteiro-btn small {
    margin-top: 7px;
    font-size: 16px;
    font-weight: 400;
    opacity: .9;
}

/* =========================================================
   BARRA DE ABAS
========================================================= */

.edx-visitor-tabs-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 14px 14px 0 0;
    box-shadow: var(--edx-shadow-sm);
}

.edx-visitor-tab-item {
    appearance: none;
    min-height: 88px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    border-right: 1px solid var(--edx-border-color);
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 17px;
    font-weight: 560;
    cursor: pointer;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.edx-visitor-tab-item:last-child {
    border-right: 0;
}

.edx-visitor-tab-item:hover {
    background: #fafafa;
    transform: translateY(-1px);
}

.edx-visitor-tab-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.edx-visitor-tab-item em,
.edx-count-badge {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef2f7;
    color: currentColor;
    font-style: normal;
    font-size: 15px;
    font-weight: 750;
}

.edx-visitor-tab-item.is-active {
    color: var(--edx-accent-color);
    background: #fff;
    box-shadow: inset 0 0 0 999px rgba(15, 81, 50, 0.035);
}

.edx-visitor-tab-item.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--edx-accent-color);
}

.edx-visitor-tab-item[data-tab="produto"].is-active {
    color: var(--edx-orange-color);
    box-shadow: inset 0 0 0 999px rgba(230, 83, 27, 0.035);
}

.edx-visitor-tab-item[data-tab="produto"].is-active::after {
    background: var(--edx-orange-color);
}

.edx-visitor-tab-item[data-tab="palestra"].is-active {
    color: var(--edx-purple-color);
    box-shadow: inset 0 0 0 999px rgba(91, 33, 138, 0.035);
}

.edx-visitor-tab-item[data-tab="palestra"].is-active::after {
    background: var(--edx-purple-color);
}

/* =========================================================
   ANIMAÇÕES UX
========================================================= */

.edx-visitante-panel {
    animation: edxPanelEnter .26s ease both;
}

.edx-visitante-panel.is-entering {
    animation: edxPanelEnter .26s ease both;
}

.edx-visitante-panel.is-leaving {
    animation: edxPanelLeave .16s ease both;
}

@keyframes edxPanelEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes edxPanelLeave {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(6px);
    }
}

.edx-badge-pulse {
    animation: edxBadgePulse .55s ease both;
}

.edx-favorite-updated {
    animation: edxFavoriteUpdated .6s ease both;
}

@keyframes edxBadgePulse {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.28);
    }

    70% {
        transform: scale(.94);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes edxFavoriteUpdated {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 81, 50, .28);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(15, 81, 50, 0);
    }

    100% {
        box-shadow: var(--edx-shadow-sm);
    }
}

/* =========================================================
   PAINÉIS
========================================================= */

.edx-visitante-panel {
    display: none;
    padding: 22px 24px 28px;
    background: #fff;
    border: 1px solid var(--edx-border-color);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--edx-shadow-sm);
}

.edx-visitante-panel.is-active,
.edx-visitante-panel.is-leaving {
    display: block;
}

.edx-visitante-panel-inner {
    width: 100%;
}

.edx-visitante-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.edx-visitante-panel-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--edx-primary-color);
}

/* =========================================================
   AÇÕES FAVORITOS
========================================================= */

.edx-favorites-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.edx-favorites-order {
    min-width: 190px;
    height: 48px;
    padding: 0 42px 0 16px;
    border: 1px solid var(--edx-border-color);
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--edx-shadow-sm);
}

.edx-clear-favorites {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid #f0a3a3;
    color: #e14343;
    background: #fff;
    border-radius: 9px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.edx-clear-favorites:hover {
    background: #fff5f5;
    border-color: #ef4444;
    transform: translateY(-1px);
}

.edx-clear-favorites-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =========================================================
   ROTEIRO / PDF / WHATSAPP
========================================================= */

.edx-roteiro-panel-header {
    align-items: flex-start;
}

.edx-roteiro-panel-subtitle {
    margin: 7px 0 0;
    color: var(--edx-text-light);
    font-size: 14px;
    line-height: 1.45;
}

.edx-roteiro-actions,
.edx-route-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.edx-roteiro-action-btn,
.edx-route-action-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid var(--edx-border-color);
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--edx-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.edx-roteiro-action-btn:hover,
.edx-route-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--edx-shadow-md);
}

.edx-roteiro-action-pdf,
.edx-route-action-pdf {
    color: #b42318;
    border-color: #ffd6d2;
    background: #fffafa;
}

.edx-roteiro-action-whatsapp,
.edx-route-action-whatsapp {
    color: #0f7a43;
    border-color: #b7ebc6;
    background: #f3fff7;
}

.edx-roteiro-action-icon svg,
.edx-route-action-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.edx-roteiro-header {
    margin-bottom: 22px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 81, 50, 0.08), rgba(15, 23, 42, 0.03));
    border: 1px solid rgba(15, 81, 50, 0.12);
}

.edx-roteiro-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 760;
    letter-spacing: -0.03em;
}

.edx-roteiro-header p {
    margin: 0;
    color: var(--edx-text-light);
    font-size: 15px;
}

.edx-roteiro-section {
    margin-bottom: 28px;
}

.edx-roteiro-section h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 740;
    color: var(--edx-primary-color);
}

/* =========================================================
   ESTADO VAZIO
========================================================= */

.edx-visitante-empty {
    width: 100%;
    padding: 54px 20px;
    border: 1px dashed #d1d5db;
    border-radius: var(--edx-radius-lg);
    background: #f9fafb;
    color: #6b7280;
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
}

/* =========================================================
   GRID EXPOSITORES
========================================================= */

.edx-visitante-grid-expositores.edx-exhibitor-results.is-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* =========================================================
   CARD EXPOSITOR
========================================================= */

.edx-visitante-dashboard .edx-exhibitor-card {
    display: block;
    position: relative !important;
    background: var(--edx-bg-card);
    border: 1px solid var(--edx-border-color);
    border-radius: var(--edx-radius-xl);
    overflow: visible !important;
    box-shadow: var(--edx-shadow-sm);
    text-decoration: none !important;
    color: inherit;
    box-sizing: border-box;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.edx-visitante-dashboard .edx-exhibitor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--edx-shadow-lg);
    border-color: #d7dee8;
}

.edx-visitante-dashboard .edx-exhibitor-card *,
.edx-visitante-dashboard .edx-exhibitor-card:hover * {
    text-decoration: none !important;
}

.edx-visitante-dashboard .edx-exhibitor-card-grid {
    position: relative !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 72px;
    min-height: 335px;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
}

.edx-visitante-dashboard .edx-exhibitor-card-topbar {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 2px;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo {
    width: 100%;
    height: 156px;
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: transparent;
    border: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo img {
    display: block;
    max-width: 94%;
    max-height: 94%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.edx-visitante-dashboard .edx-exhibitor-card-logo-fallback {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: #475569;
}

.edx-visitante-dashboard .edx-exhibitor-card-body {
    margin-top: 4px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.edx-visitante-dashboard .edx-exhibitor-card-booth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.edx-visitante-dashboard .edx-exhibitor-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.24;
    color: var(--edx-text-color);
    font-weight: 500;
    min-height: calc(1.24em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-left: auto;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
    cursor: pointer;
    z-index: 50 !important;
    transition: all .25s ease;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite.is-active {
    color: #ef4444;
    border-color: #fecaca !important;
    background: #fff !important;
}

.edx-visitante-dashboard .edx-exhibitor-card-favorite-icon {
    font-size: 18px;
    line-height: 1;
}

.edx-visitante-dashboard .edx-exhibitor-card-arrow-real {
    position: absolute !important;
    right: 16px !important;
    bottom: 105px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: var(--edx-primary-color) !important;
    font-size: 22px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

/* =========================================================
   PRODUTOS FAVORITOS
========================================================= */

.edx-visitante-product-list-directory {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.edx-visitante-dashboard .edx-product-list-results,
.edx-visitante-dashboard .edx-product-list-results.is-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

.edx-visitante-dashboard .edx-product-list-card {
    position: relative !important;
    display: block !important;
    background: #fff !important;
    border: 1px solid var(--edx-border-color) !important;
    border-radius: var(--edx-radius-lg) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: .25s ease !important;
    color: inherit !important;
}

.edx-visitante-dashboard .edx-product-list-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--edx-shadow-md) !important;
}

.edx-visitante-dashboard .edx-product-list-card-link {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    text-decoration: none !important;
}

.edx-visitante-dashboard .edx-product-list-card-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 56px 18px 18px !important;
    min-height: 460px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

.edx-visitante-dashboard .edx-product-list-thumb {
    width: 100% !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 12px !important;
    background: #fff !important;
}

.edx-visitante-dashboard .edx-product-list-thumb img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
}

.edx-visitante-dashboard .edx-product-list-body {
    margin-top: auto !important;
    width: 100% !important;
    text-align: left !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

.edx-visitante-dashboard .edx-product-list-title {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    color: var(--edx-text-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

.edx-visitante-dashboard .edx-product-list-excerpt {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    margin-bottom: 14px !important;
}

.edx-visitante-dashboard .edx-product-list-segmento,
.edx-visitante-dashboard .edx-product-list-company-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #dcdcdc !important;
    background: #fafafa !important;
    font-size: 12px !important;
    color: var(--edx-text-color) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.edx-visitante-dashboard .edx-product-list-companies {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
}

.edx-visitante-dashboard .edx-product-favorite-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;
}

/* =========================================================
   PALESTRAS
========================================================= */

.edx-visitante-dashboard .edx-talks-schedule-modern {
    width: 100%;
}

.edx-visitante-dashboard .edx-talks-modern__day-card {
    margin-bottom: 24px;
}

.edx-visitante-dashboard .edx-talk-favorite-btn,
.edx-visitante-dashboard .edx-exhibitor-talk-favorite-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 30 !important;
}

/* =========================================================
   FAVORITOS GERAIS
========================================================= */

.edx-visitante-dashboard .edx-favorite-btn {
    cursor: pointer;
    pointer-events: auto;
}

.edx-visitante-dashboard .edx-favorite-btn-icon {
    line-height: 1;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1320px) {
    .edx-visitor-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .edx-visitor-dashboard-summary-cards {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .edx-visitor-summary-card {
        min-width: 190px;
    }
}

@media (max-width: 1024px) {
    .edx-visitor-dashboard-summary-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .edx-visitor-summary-card,
    .edx-gerar-roteiro-btn {
        width: 100%;
        min-width: 0;
    }

    .edx-visitor-tabs-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edx-visitor-tab-item:nth-child(2) {
        border-right: 0;
    }

    .edx-visitor-tab-item:nth-child(1),
    .edx-visitor-tab-item:nth-child(2) {
        border-bottom: 1px solid var(--edx-border-color);
    }

    .edx-visitante-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions {
        justify-content: space-between;
    }

    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .edx-visitante-dashboard {
        padding: 0 16px 36px;
    }

    .edx-visitor-dashboard-hero {
        gap: 22px;
        padding: 18px 0 28px;
    }

    .edx-visitor-dashboard-title h1 {
        font-size: 34px;
    }

    .edx-visitor-dashboard-title p {
        font-size: 15px;
    }

    .edx-visitor-dashboard-summary-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edx-visitor-summary-card,
    .edx-gerar-roteiro-btn {
        min-height: 86px;
        justify-content: flex-start;
        padding: 18px 20px;
    }

    .edx-summary-card-content strong {
        font-size: 34px;
    }

    .edx-summary-card-content small,
    .edx-gerar-roteiro-btn small {
        font-size: 14px;
    }

    .edx-gerar-roteiro-btn strong {
        font-size: 17px;
    }

    .edx-visitor-tabs-bar {
        display: flex;
        overflow-x: auto;
        border-radius: 14px;
    }

    .edx-visitor-tab-item {
        min-width: 190px;
        min-height: 74px;
        border-bottom: 0 !important;
    }

    .edx-visitor-tab-item:nth-child(2) {
        border-right: 1px solid var(--edx-border-color);
    }

    .edx-visitante-panel {
        padding: 18px 16px 22px;
        border-radius: 18px;
    }

    .edx-visitante-panel-header h2 {
        font-size: 21px;
    }

    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edx-favorites-order,
    .edx-clear-favorites,
    .edx-roteiro-action-btn,
    .edx-route-action-btn {
        width: 100%;
    }

    .edx-visitante-grid-expositores.edx-exhibitor-results.is-grid,
    .edx-visitante-dashboard .edx-product-list-results,
    .edx-visitante-dashboard .edx-product-list-results.is-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-grid {
        min-height: unset;
        padding: 16px 16px 60px;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-logo {
        height: 112px;
        min-height: 112px;
    }

    .edx-visitante-dashboard .edx-exhibitor-card-favorite {
        width: 38px !important;
        height: 38px !important;
    }
}

/* =========================================================
   PRINT
========================================================= */

@media print {
    .edx-visitor-dashboard-hero,
    .edx-visitor-tabs-bar,
    .edx-favorites-actions,
    .edx-roteiro-actions,
    .edx-route-actions,
    .edx-favorite-btn,
    .edx-exhibitor-card-arrow-real {
        display: none !important;
    }

    .edx-visitante-dashboard {
        max-width: none;
        padding: 0;
        font-family: Arial, sans-serif;
    }

    .edx-visitante-panel {
        display: none !important;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .edx-visitante-panel[data-panel="roteiro"] {
        display: block !important;
    }

    .edx-roteiro-print-area {
        display: block !important;
    }

    .edx-exhibitor-card,
    .edx-product-list-card,
    .edx-talk-modern {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
    }
}
/* Corrige botão "Gerar meu roteiro" saindo do frame */
.edx-visitor-dashboard-summary-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

.edx-visitor-summary-card,
.edx-gerar-roteiro-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.edx-gerar-roteiro-btn {
    overflow: hidden !important;
}

.edx-gerar-roteiro-btn span {
    min-width: 0 !important;
}

.edx-gerar-roteiro-btn strong,
.edx-gerar-roteiro-btn small {
    white-space: normal !important;
}

@media (max-width: 1200px) {
    .edx-visitor-dashboard-summary-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .edx-visitor-dashboard-summary-cards {
        grid-template-columns: 1fr !important;
    }
}