/* ==========================================================================
   FACCINI DISTRIBUIDORA - CATÁLOGO INTERATIVO B2B PREMIUM (ESTILOS CONSOLIDADO)
   ========================================================================== */

/* ==========================================================================
   1. ESTILOS GLOBAIS, RESET & CORES DE REFERÊNCIA
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    color: #ededed;
    max-width: 1200px;
    margin: 0 auto; /* Centraliza em monitores grandes */
    position: relative;
    width: 100%;
    font-family: 'Segoe UI', Inter, Roboto, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #111111;
}
:root {
    --gold: #cca43b;
    --gold-hover: #dcb34c;
    --bg: #090909;
    --bg2: #111111;
    --bg3: #171717;
    --bg4: #1c1c1c;
    --border: #2b2b2b;
    --text: #ededed;
    --text-soft: #a9a9a9;
    --green: #2E7D32;
    --danger: #d64f4f;
	
	 /* Variáveis locais exclusivas para o tema claro dos modais */
    --modal-bg: rgba(255, 255, 255, 0.85);
    --modal-text: #2d3748;          /* Grafite escuro */
    --modal-text-soft: #ffffff;     /* Cinza médio */
    --modal-text-claro: #cbd5e1;    /* Cinza claro */
    --modal-border: rgba(0, 0, 0, 0.05);
    --modal-gold: #c5a059;
    --modal-gold-hover: #aa802c;
    --modal-green: #2e7d32;         /* Verde do tema */
    --modal-green-suave: #e8f5e9;
    --modal-danger: #e53e3e;
	
}
button {
    font-family: inherit;
}
button:focus {
    outline: none;
}
img {
    display: block;
    max-width: 100%;
}
h1, h2, h3, h4 {
    font-weight: 700;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   2. BARRA DE ROLAGEM PREMIUM & UTILITÁRIOS
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
.hidden {
    display: none !important;
}
.text-gold {
    color: var(--gold);
}
.text-green {
    color: var(--green);
}
.text-soft {
    color: var(--text-soft);
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. CABEÇALHO DO PORTAL (PREMIUM TOPBAR)
   ========================================================================== */
.premium-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #a09090b;
	border-bottom: 1px solid rgba(197, 160, 89, 0.55);
    color: #ffffff;
    min-height: 64px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    flex: none; /* Impede distorções de tamanho das laterais */
}
.topbar-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 2px 12px;
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}
.back-button {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #18181b;
    border: 1px solid #27272a;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.back-button:hover {
    border-color: #ff5e00;
    color: #ff5e00;
}
.brand-block-with-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 180px;
}
.brand-logo-img {
    height: auto;
    object-fit: contain;
    display: block;
    width: clamp(80px, 25vw, 180px);
    margin-left: 10px;
}
.collection-title {
    font-weight: 600;
    font-size: 1.6rem;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 16px;
}
.piece-price {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.875rem;
    background-color: #18181b;
    border: 1px solid #27272a;
    padding: 2px 10px;
    border-radius: 9999px;
    white-space: nowrap;
}

/* ==========================================================================
   4. LAYOUT DE COLUNAS PRINCIPAIS (DESKTOP)
   ========================================================================== */
.premium-main-layout {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: #090909;
}
.left-column {
    flex: 0 0 58%;
    width: 58%;
    box-sizing: border-box;
}
.right-column {
    flex: 0 0 42%;
    width: 42%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   5. ÁREA DE INTERAÇÃO DO CATÁLOGO & HOTSPOTS
   ========================================================================== */
.catalog-wrapper {
    position: relative;
    background: #e5e5e5;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(204, 164, 59, .90);
    width: 100%;
    height: auto;
}
.catalog-image {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    object-fit: contain;
    -webkit-user-drag: none;
}
.catalog-nav-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    color: #959595;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 70;
    border-radius: 5px;
}
.catalog-nav-btn:hover {
    background-color: rgba(201, 198, 198, 0.50);
}
.catalog-nav-prev {
    left: 3px;
}
.catalog-nav-next {
    right: 3px;
}
.catalog-nav-btn:disabled {
    opacity: .24;
    pointer-events: none;
    cursor: not-allowed;
}

/* Áreas clicáveis (Hotspots) */
.hotspot-area {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 14px;
    transition: .20s ease;
}
.hotspot-area:hover {
    background: rgba(204, 164, 59, .10);
}
.hotspot-area.active {
    background: rgba(204, 164, 59, .14);
    box-shadow: inset 0 0 0 2px rgba(204, 164, 59, .45);
}
.catalog-qty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: var(--gold);
    color: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
    line-height: 2;
}

/* ==========================================================================
   6. NOVO POPUP DE SELEÇÃO RÁPIDA (TEMA ESCURO PRETO - RESTAURADO)
   ========================================================================== */
#premium-quick-popup {
    position: absolute;
    background: #121212; /* Fundo Preto */
    border: 2px solid #cca43b; /* Borda Dourada */
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    width: 380px; /* Largura compactada otimizada */
    padding: 14px;
    z-index: 1000;
    font-family: inherit;
    color: #ffffff;
    box-sizing: border-box;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

/* Cabeçalho de duas linhas do popup */
#premium-quick-popup .popup-header {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 8px;
    margin-bottom: 12px;
    user-select: none;
    cursor: move;
}
.popup-header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}
.popup-header-qty {
    font-size: 11px;
    color: #cca43b;
    margin-left: 6px;
    font-weight: normal;
}

/* Linha de resumo de variações (Alinhada à esquerda e com valor à direita) */
.popup-header-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 9.5px;
    margin-top: 2px;
    font-weight: normal !important;
}
.popup-summary-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    text-align: left;
}
.popup-summary-right {
    text-align: right;
    font-weight: normal;
    white-space: nowrap;
}
.popup-summary-right .val-currency {
    color: #ffffff;
    font-weight: normal;
}
.popup-summary-right .val-number {
    color: #cca43b; /* Apenas os dígitos em dourado/amarelo */
    font-weight: normal;
}

/* Estilos de cores das quantidades da segunda linha do popup */
.popup-header-summary-row .zero-qty {
    color: #666666;
    font-weight: normal;
}
.popup-header-summary-row .zero-qty .popup-parenthesis {
    color: #666666;
    font-weight: normal;
}
.popup-header-summary-row .zero-qty .num-zero {
    color: #666666;
    font-weight: normal;
}
.popup-header-summary-row .com-qty {
    color: #ffffff; /* Variação ativa em branco */
    font-weight: normal;
}
.popup-header-summary-row .com-qty .popup-parenthesis {
    color: #ffffff; /* Parênteses ativos em branco */
    font-weight: normal;
}
.popup-header-summary-row .com-qty .num-ativo {
    color: #cca43b; /* Quantidade em dourado */
    font-weight: normal;
}

/* Botões de controle e área de imagem */
.popup-header-info {
    display: flex;
    align-items: center;
    gap: 6px;
}
.popup-model {
    color: #cca43b;
    text-transform: uppercase;
    font-weight: 700;
}
.popup-var {
    color: #ffffff;
}
.popup-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.popup-action-btn {
    background: transparent;
    border: none;
    color: #aaaaaa;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-action-btn:hover {
    color: #cca43b;
}
.popup-action-btn.close-trigger {
    font-size: 20px;
    color: #ff4444;
}
.popup-action-btn.close-trigger:hover {
    color: #ff2222;
}
.popup-img-wrapper {
    width: 100%;
    height: 180px; /* Altura de 180px solicitada */
    background: #ffffff; /* Fundo branco para as imagens de óculos */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222222;
    box-sizing: border-box;
}
.popup-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.popup-controls-row {
   position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza apenas os controles de quantidade */
    width: 100%;
    gap: 12px;
    padding: 0 38px; /* Abre espaço confortável nas laterais para as setas */
    box-sizing: border-box;
    margin-bottom: 14px;
}
.popup-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Garante alinhamento vertical perfeito */
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 30px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, color 0.2s;
    user-select: none;
    z-index: 5;
}
.popup-nav-btn:hover {
    color: #cca43b;
    transform: translateY(-50%) scale(1.2); /* Mantém o alinhamento vertical e faz zoom */
}

/* Seta Esquerda na extrema esquerda do popup */
.popup-nav-btn:first-of-type {
    left: 12px;
}

/* Seta Direita na extrema direita do popup */
.popup-nav-btn:last-of-type {
    right: 12px;
}




.popup-qty-btn {
    background: #2a2a2a;
    border: 1px solid #444444;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}
.popup-qty-btn:hover {
    background: #3a3a3a;
    border-color: #cca43b;
}
.popup-qty-wrapper {
    background: #181818;
    border: 1.5px solid #cca43b;
    border-radius: 8px;
    width: 80px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.popup-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #cca43b;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    outline: none;
    -moz-appearance: textfield;
}
.popup-input::-webkit-outer-spin-button,
.popup-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.popup-confirm-btn {
    width: 100%;
    background: #cca43b;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 0;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}
.popup-confirm-btn:hover {
    background: #e5c158;
}

/* ==========================================================
   7. CABEÇALHOS DO CATÁLOGO (MODELO ATIVO & RESUMO ATALHO)
   ========================================================== */
.zoom-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 16px;
    padding-right: 18px;
    padding-left: 10px;
    padding-bottom: 8px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.zoom-header-left {
    display: flex;
    flex-direction: row;
    gap: 20px;
    min-width: 0;
}
#zoom-header-model {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .4px;
    color: #CFA73F;
}
#zoom-header-variation {
    color: #9a9a9a;
    font-weight: 600;
    font-size: 1rem;
}
.zoom-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
#zoom-header-total-value {
    font-size: 1rem;
    font-weight: 600;
    color: #9a9a9a;
}
.header-clear-btn {
    border: none;
    cursor: pointer;
    padding: 2px 12px;
    border-radius: 9px;
    background-color: #551D1D;
    color: #ddd;
    font-size: .82rem;
    font-weight: 700;
    transition: .20s ease;
    margin-top: 3px;
    margin-bottom: 3px;
}
.header-clear-btn:hover {
    background: #d64f4f;
    color: #fff;
}
.resumo-texto-simples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding-top: 5px;
    padding-right: 14px;
    padding-left: 14px;
    padding-bottom: 8px;
    background: #1a1a1a;
    border-radius: 0;
    font-size: .85rem;
    box-sizing: border-box;
    justify-content: space-between;
}
.resumo-texto-simples span {
    font-weight: 500;
}
.resumo-texto-simples .zero-qty {
    color: #666;
}
.resumo-texto-simples .num-zero {
    color: #999;
}
.resumo-texto-simples .com-qty {
    color: #ffffff;
    font-weight: 600;
}
.resumo-texto-simples .num-ativo {
    color: var(--gold);
    font-size: 15px;
    font-weight: 900;
}

/* ==========================================================
   8. SÉRIE PROGRESSIVA DE DESCONTOS (RÉGUA DE BENEFÍCIOS)
   ========================================================== */
.motivation-container {
	
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--modal-text-soft);
   /* background: #0d0d0d;*/
    border: 1px solid var(--gold);
    border-radius: 14px;
    padding-top: 22px;
    padding-right: 22px;
    padding-left: 22px;
    padding-bottom: 12px;
    color: #fff;
    font-family: inherit;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
}
.motivation-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 8px;
}
.motivation-panel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.motivation-left {
    flex-shrink: 0;
}
.big-percentage {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    transition: color 0.3s ease;
}
.big-percentage.active-green {
    color: #22c55e;
}
.motivation-right {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.headline-status {
    color: #22c55e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.subtext-status {
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    line-height: 1.3;
}
.banner-desconto-container {
    border-radius: 12px;

    overflow: hidden;
    width: 100%;
    display: block;
}
.banner-desconto-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.progress-track {
    height: 8px;
    background-color: #3E3E3E;
    border-radius: 10px;
    position: relative;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a68228, var(--gold, #cca43b));
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}
.progress-markers {
    position: relative;
    width: 100%;
    height: 38px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-transform: none;
}
.marker-item {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #c5e5e5;
    font-weight: 600;
    transition: color 0.3s ease;
}
.marker-title {
    position: absolute;
    left: 0;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 11px;
}
.marker-item::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #c5e5e5;
    border: 2px solid #0d0d0d;
    border-radius: 50%;
    margin-bottom: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}
#marker-10 {
    left: 31.25%;
}
#marker-20 {
    left: 62.50%;
}
#marker-32 {
    left: 100%;
}
.marker-item.achieved {
    color: #fff;
}
.marker-item.achieved::before {
    background: var(--gold, #cca43b);
    transform: scale(1.1);
}

/* Bloco de Gravação Laser */
.laser-block {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #3A3A3A;
    text-transform: none;
}
.laser-label-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 12px;
}
.laser-motivation-left {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}
.laser-gift-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.laser-motivation-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.laser-main-title {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#laser-status {
    font-size: 13px;
    color: var(--gold, #cca43b);
    font-weight: 700;
}
#laser-status strong {
    color: #28a745;
}
.text-free {
    color: var(--gold, #cca43b);
    text-transform: uppercase;
}
.laser-track {
    height: 8px;
    background: #3E3E3E;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}
.laser-bar {
    height: 100%;
    background: var(--gold, #cca43b);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}
.note-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 12px;
    color: #9a9a9a;
    padding-left: 10px;
}
.note-icon {
    width: 14px;
    height: 14px;
    border: 1px solid #9a9a9a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}
.note-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   9. PERSISTENT CART BAR (RÉGUA FINANCEIRA DO RODAPÉ)
   ========================================================================== */
.persistent-cart-bar {
    position: relative;
    margin: 0 auto 10px auto;
    max-width: 1200px;
    width: 100%;
    bottom: auto;
    left: auto;
    transform: none;
    background: #171717;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 16px;
    border-top: 1px solid rgba(197, 160, 89, 0.55);
    z-index: 10 !important;
}
.cart-info-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
}
.cart-block {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.block-title {
    font-size: 0.68rem;
    font-weight: 500;
    color: #888888;
    letter-spacing: 0.8px;
}
.block-value {
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 1.1rem;
}
.icon-bruto {
    border: 1px solid #00FF7C;
    color: #00FF7C;
}
.icon-desconto {
    border: 1px solid #cca43b;
    color: #cca43b;
}
.icon-liquido {
    border: 1px solid #d5d5d5;
    color: #cca43b;
}
.text-white {
    color: #ffffff;
}
.text-gold {
    color: #cca43b;
}
.text-green {
    color: #00FF7C;
}

/* Botões do Rodapé */
.cart-actions-wrapper {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: auto;
}
.clear-cart-btn {
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.22s ease;
    font-size: 20px;
    margin-top: 3px;
    margin-right: 10px;
    color: #ff4444;
}
.clear-cart-btn:hover {
    color: #FF4D4D !important;
    transform: scale(1.3);
}
.cart-actions-wrapper .checkout-btn {
    flex: none;
    width: auto;
}
.checkout-btn {
    background: rgba(204, 164, 59, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    padding: 6px 18px;
    color: #fff !important;
    cursor: pointer !important;
    transition: .22s ease !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    white-space: nowrap !important;
}
.checkout-btn:hover {
    background: #cca43b !important;
    color: #000 !important;
}
.checkout-btn:active {
    transform: scale(.98);
}
.btn-center-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.btn-title {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.btn-right-cart {
    position: relative;
    font-size: 1.2rem;
    margin-left: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-badge {
    position: static;
    transform: none;
    background: #00FF7C;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 900;
    width: 32px;
    height: 18px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   10. MODAIS PREMIUM (RESUMO DE PEDIDOS, IDENTIFICAÇÃO E CONFIRMAÇÃO CLARO)
   ========================================================================== */
.faccini-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    z-index: 999999 !important; /* Prioridade total de visualização */
    background: rgba(45, 55, 72, 0.4); /* Fundo escurecido suave */
    backdrop-filter: blur(8px);
}

.faccini-modal-container {
   

    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: var(--modal-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn .22s ease;
    z-index: 1000000 !important;
    color: var(--modal-text); /* Herança de cor escura para textos dentro do modal */
}

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

.faccini-modal-header h2 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--modal-text);
}

.faccini-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.05);
    color: var(--modal-text-soft);
    font-size: 24px;
    transition: .18s ease;
}

.faccini-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--modal-text);
	
}

.faccini-modal-content {
    padding: 22px;
    overflow-y: auto;
}

/* Painel de Resumo do Modal */
.modal-summary-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--modal-border);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: .92rem;
    color: var(--modal-text);
}

.main-total {
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid var(--modal-border);
    font-size: 1rem;
    font-weight: 800;
    color: var(--modal-text);
}

.summary-discount {
    color: var(--modal-green);
    font-weight: 800;
}

.modal-incentive-badge {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 800;
    text-align: center;
    background: var(--modal-green-suave);
    color: var(--modal-green);
    border: 1px solid rgba(76, 175, 80, .20);
}

.modal-section-title {
    font-size: .95rem;
    font-weight: 800;
    color: var(--modal-gold);
    margin-bottom: 14px;
}

/* Listagem de Itens no Modal (Forçada para o Tema Claro) */
/* ==========================================================
   LISTAGEM DE ITENS NO MODAL (ESTRUTURA FORÇADA COMPLETA)
   ========================================================== */
.modal-models-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-model-card {
    background-color: rgba(0, 0, 0, 0.03) !important;
    border-left: 3px solid var(--modal-gold) !important;
    padding: 10px;
    border-radius: 4px;
}

/* 1. REGRA GERAL: Pinta absolutamente todos os textos dentro do card de escuro 
   (Isso captura e resolve o título em branco obrigatoriamente) */
.modal-model-card,
.modal-model-card * {
    color: var(--modal-text) !important;
}

/* 2. EXCEÇÃO 1: Pinta apenas as variações (Ex: C1, C2...) de cinza-médio */
.modal-model-card .model-card-colors,
.modal-model-card .model-card-colors * {
    color: var(--modal-text-soft) !important;
}

/* 3. EXCEÇÃO 2: Pinta apenas a quantidade/valor final de verde */
.modal-model-card .m-qty,
.modal-model-card .m-qty * {
    color: var(--modal-green) !important;
    font-weight: 800 !important;
}
/* Força a cor cinza-médio nas variações (Ex: C1, C2...) e textos secundários */
.modal-model-card .model-card-colors,
.modal-model-card .model-card-colors * {
    color: #000000 !important;
}
.model-card-colors {
    font-size: .85rem;
    line-height: 1.55;
    color: var(--modal-text-soft);
}

/* Campos de Formulário de Identificação */
.faccini-form-group {
    margin-bottom: 16px;
}

.faccini-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: .82rem;
    font-weight: 700;
    color: #373737;
}

.faccini-input-wrapper {
    position: relative;
}

.faccini-form-control {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 14px;
    border-radius: 12px;
    border: 1px solid var(--modal-text-claro);
    background: #ffffff;
    color: var(--modal-text);
    font-size: .92rem;
    font-weight: 600;
    transition: .18s ease;
}

.faccini-form-control:focus {
    outline: none;
    border-color: var(--modal-gold);
    background: #ffffff;
}

.faccini-form-control.success {
    border-color: var(--modal-green) !important;
}

.faccini-form-control.error {
    border-color: var(--modal-danger) !important;
}

#modal-form-overlay :focus-visible {
    outline: none !important;
    border: 2px solid var(--modal-gold) !important;
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.5) !important;
}

.validation-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    font-size: 15px;
}

.validation-icon.valid {
    display: block;
    color: var(--modal-green);
}

/* Opções de Pagamento */
.payment-options-row {
    display: flex;
    justify-content: space-between;
    gap: 12px; /* Espaçamento entre os botões */
    padding: 5px 0;
}

.pay-option {
    flex: 1; /* Distribui os botões igualmente */
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o texto horizontalmente */
    text-align: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--modal-text);
    transition: all 0.2s;
    border: 1.5px solid var(--modal-text-claro);
    border-radius: 10px;
    padding: 12px;
    background: #ffffff;
}

.pay-option:hover {
    border-color: var(--modal-gold);
}

/* Quando ativo, aplica a borda verde sólida solicitada */
.pay-option.active {
    border: 2px solid var(--modal-green) !important;
    background-color: var(--modal-green-suave);
    color: var(--modal-green);
    font-weight: 700;
}

/* Ocultado o indicador circular (radio-dot) para manter apenas o botão retangular */
.radio-dot {
    display: none !important;
}

/* Container da Mensagem de Sucesso (Oculto/Visível via JS) */
#success-message-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    padding: 20px;
}

#success-message-container h3 {
    color: var(--modal-text) !important;
    margin-bottom: 10px;
}

#success-message-container p {
    color: var(--modal-text-soft) !important;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Rodapé do Modal */
.faccini-modal-footer {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--modal-border);
    background: rgba(0, 0, 0, 0.01);
}

.modal-primary-btn {
    border: none;
    cursor: pointer;
    padding: 14px;
    border-radius: 14px;
    font-size: .94rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--modal-gold), var(--modal-gold-hover));
    color: #ffffff;
    transition: .18s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
    text-align: center;
}

.modal-primary-btn:hover {
    transform: translateY(-1px);
}

.modal-primary-btn:disabled {
    background: var(--modal-text-claro);
    color: var(--modal-text-soft);
    cursor: not-allowed;
    box-shadow: none;
}

.modal-secondary-btn {
    padding: 13px;
    border-radius: 14px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 700;
   background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--modal-text-claro);
    color: var(--modal-text-soft);
    transition: .18s ease;
    text-align: center;
}

.modal-secondary-btn:hover {
    background: rgba(0, 0, 0, 0.42);
    color: var(--modal-text);
}

/* Isenção de responsabilidade (Disclaimer) */
.info-disclaimer {
    padding: 12px;
    margin-top: 0px;
    border: 1px dashed var(--modal-gold);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--modal-text-soft);
    font-size: 0.90rem;
    line-height: 1.4;
    text-align: justify;
}

.info-disclaimer p {
    display: block;
}

.empresa-assinatura {
    display: block;
    margin-top: 8px;
    font-weight: 400;
    color: var(--modal-text-soft);
    text-align: right;
    font-size: 0.65rem;
}

.faccini-brand {
    font-style: italic;
    font-family: inherit;
    font-weight: 800;
}

.gold-cc {
    color: var(--modal-gold);
    font-weight: 800;
}

/* Transições de Cube para a Imagem Base */
#catalog-wrapper-zone {
    perspective: 1200px;
    overflow: hidden;
}
#catalog-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.cube-out-left {
    transform: translateX(-50%) rotateY(-90deg) scale(0.8);
    opacity: 0;
}
.cube-out-right {
    transform: translateX(50%) rotateY(90deg) scale(0.8);
    opacity: 0;
}
.cube-in {
    transform: translateX(0) rotateY(0deg) scale(1) !important;
    opacity: 1 !important;
}


.post {
    display: block;
    width: 100%; /* Ajusta-se automaticamente à largura da coluna */
    border: 2px solid var(--gold, #cca43b); /* Borda dourada usando sua variável (com fallback) */
    border-radius: 16px; /* Raio padrão premium das caixas de variação/motivação */
    overflow: hidden; /* Essencial: impede que os cantos quadrados da imagem passem por cima da borda arredondada */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Sombra sutil para dar elegância e profundidade */
    transition: transform 0.25s ease, box-shadow 0.25s ease; /* Transição opcional para caso queira um efeito no hover */
}


/* ==========================================================
   ANIMAÇÃO DO PULSO DO HOTSPOT ATIVO
   ========================================================== */
.hotspot-area .hotspot-pulse {
    display: none; /* Oculto por padrão */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold, #cca43b);
    box-shadow: 0 0 0 0 rgba(204, 164, 59, 0.7);
    animation: hotspotPulseAnim 1.6s infinite ease-in-out;
    pointer-events: none; /* Não interfere nos cliques */
}

/* Exibe o pulso apenas no hotspot que estiver ativo/pré-selecionado */
.hotspot-area.active .hotspot-pulse {
    display: block;
}

@keyframes hotspotPulseAnim {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(204, 164, 59, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(204, 164, 59, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(204, 164, 59, 0);
    }
}

/* Força o popup teletransportado ao body a ter prioridade de exibição na tela */
#premium-quick-popup {
    z-index: 99999 !important;
}



@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   11. AJUSTES DE RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================== */

/* Tablet (Max 900px) */
@media(max-width:900px) {
    .premium-main-layout {
        flex-direction: column;
        align-items: center;
        padding: 12px;
    }
    .left-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .right-column {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        max-width: 100%;
    }


}

/* Mobile (Max 768px) */
@media(max-width:768px) {
    .premium-main-layout {
        display: flex;
        flex-direction: column;
        padding-top: 12px;
        padding-right: 12px;
        padding-left: 12px;
        padding-bottom: 120px;
        gap: 18px;
    }
    .catalog-wrapper {
        width: 100%;
    }
    .resumo-texto-simples {
        font-size: .80rem;
        gap: 6px;
        padding: 10px;
    }
    .catalog-qty-badge {
        min-width: 22px;
        height: 22px;
        font-size: 12px;
    }
    .premium-popup {
        min-width: 180px;
        padding: 12px;
    }
    .faccini-modal-overlay {
        padding: 10px;
    }
    .faccini-modal-container {
        max-height: 96vh;
        border-radius: 18px;
    }
    .faccini-modal-content {
        padding: 16px;
    }
    .faccini-modal-header {
        padding: 16px;
    }
    .faccini-modal-footer {
        padding: 16px;
    }

    /* persistent-cart-bar adaptada para Mobile */
    .persistent-cart-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        z-index: 9999;
        padding: 8px 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1px;
    }
    .cart-info-wrapper {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .cart-actions-wrapper {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin-top: 10px !important;
    }
    .checkout-btn {
        flex: 1 !important;
        width: auto !important;
        margin-top: 0 !important;
    }
    .block-title {
        font-size: 0.65rem;
        font-weight: 300;
    }
    .cart-block {
        gap: 8px;
    }
    .cart-icon {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }
    .block-value {
        font-size: 0.75rem;
    }
}

/* ==========================================================
   MOBILE (768px) - AJUSTES PARA O POPUP DE HOTSPOT
   ========================================================== */
@media(max-width:768px) {
    
    /* ... (seus estilos mobile existentes continuam aqui) ... */

    /* AJUSTES DE RESPONSIVIDADE DO POPUP */
    #premium-quick-popup {
        width: 300px; /* Reduzido de 300px para 250px */
        padding: 10px; /* Reduzido o respiro interno para aproveitar espaço */
    }

    #premium-quick-popup .popup-header {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    #premium-quick-popup .popup-header-top-row {
        font-size: 12px; /* Título levemente menor */
    }

    #premium-quick-popup .popup-header-summary-row {
        font-size: 8.5px; /* Fonte reduzida para acomodar as variações sem quebrar */
    }

    /* Reduz a altura do contêiner branco da imagem mantendo a proporção */
    #premium-quick-popup .popup-img-wrapper {
        height: 150px; /* Reduzido de 180px para 105px */
        margin-bottom: 10px;
    }

    /* Otimiza a linha de controles */
    #premium-quick-popup .popup-controls-row {
        padding: 0 28px; /* Espaço lateral compacto no celular */
        gap: 8px;
        margin-bottom: 10px;
    }

    /* Botões circulares (+ e -) ligeiramente menores */
    #premium-quick-popup .popup-qty-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    /* Campo retangular dourado de quantidade menor */
    #premium-quick-popup .popup-qty-wrapper {
        width: 65px;
        height: 30px;
    }

    #premium-quick-popup .popup-input {
        font-size: 16px;
    }

    /* Setas de navegação (triângulos) menores */
    #premium-quick-popup .popup-nav-btn {
        font-size: 20px;
        padding: 0px;
    }

    /* Botão Confirmar mais compacto */
    #premium-quick-popup .popup-confirm-btn {
        font-size: 13px;
        padding: 10px 0;
    }
	
	 .popup-nav-btn:first-of-type {
        left: 6px;
    }

    .popup-nav-btn:last-of-type {
        right: 6px;
    }
}



/* Mobile Responsivo (Max 600px) */
@media (max-width: 600px) {
    #form-uf {
        padding-left: 4px !important;
        padding-right: 4px !important;
        text-align: center;
        font-size: 14px;
    }
    #form-cep {
        padding-left: 8px !important;
        padding-right: 2px !important;
        font-size: 14px;
    }
}

/* Extra Small (Max 480px) */
@media(max-width:480px) {
    .collection-title {
        font-size: 15px;
    }
    .piece-price {
        font-size: 13px;
    }
}

/* Overrides finais de inputs */
input {
    font-family: inherit;
}
button:focus, input:focus {
    outline: none;
}
