/* ========== ESTILOS GERAIS ========== */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}


a{
    text-decoration: none;
    color: inherit;
}


a:hover{
	text-decoration: none;
}
body {
    background: #f8f6fc;
    margin: 0;
    padding: 0;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/**
 * SELETOR DE MOEDAS INTERNACIONAL - VERSÃO PREMIUM UNIFICADA
 * Layout original preservado + Modal elegante ao clicar na bandeira
 */

/* ================================================================
   MODO INLINE (ORIGINAL) - VISÍVEL EM DESKTOP/TABLET
   ================================================================ */
.moeda-selector-container {
   /* display: inline-block;*/
    position: relative;
    font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, sans-serif;
    margin-right: 2px;
}

/* Esconde o container antigo no mobile quando o modal está ativo */
@media (max-width: 768px) {
    .moeda-selector-container.moeda-desk {
        display: none;
    }
}

/* ========== WRAPPER DO SELETOR INLINE (ORIGINAL) ========== */
.currency-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 3px 5px 3px 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(8px);
    height: 38px;
}

.currency-selector-wrapper:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.currency-selector-wrapper:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ========== BANDEIRA DO PAÍS DETECTADO ========== */
.currency-flag-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.currency-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease;
}

.currency-selector-wrapper:hover .currency-flag {
    transform: scale(1.05);
}

/* Efeito de brilho na bandeira */
.currency-flag-container::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.currency-selector-wrapper:hover .currency-flag-container::after {
    opacity: 1;
}

/* ========== INDICADOR DE LOCALIZAÇÃO ========== */
.currency-location-badge {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.currency-location-label {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
    margin-bottom: 1px;
}

.currency-location-value {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 2px;
}

.currency-location-value i {
    font-size: 7px;
    color: #10b981;
}

/* ========== SELECT PERSONALIZADO ========== */
.currency-select-custom {
    position: relative;
    min-width: 95px;
}

.currency-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #f4edff;
    border: none;
    padding: 6px 22px 6px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.2px;
    width: 100%;
    outline: none;
    border-radius: 40px;
    transition: background 0.2s ease;
}

.currency-select:hover {
    background: rgba(99, 102, 241, 0.08);
}

.currency-select option {
    padding: 8px;
    background: #ffffff;
    color: #1e293b;
    font-weight: 500;
    font-size: 11px;
}

.currency-select option:checked {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
}

/* Ícone de seta personalizada */
.currency-select-arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6a1b9a;
    font-size: 10px;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.currency-selector-wrapper:hover .currency-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* ========== PREÇO ATUAL ========== */
.currency-price-preview {
    display: flex;
    align-items: center;
    padding: 3px 8px 3px 6px;
    background: linear-gradient(135deg, #6a1b9a 0%, #8b5cf6 100%);
    border-radius: 30px;
    margin-left: 2px;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.currency-selector-wrapper:hover .currency-price-preview {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.currency-price-value {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* ================================================================
   TOOLTIP
   ================================================================ */
.currency-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.currency-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e293b;
}

.currency-selector-wrapper:hover .currency-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* ================================================================
   MODO MODAL - BOTÃO DA BANDEIRA (ALTERNATIVO)
   ================================================================ */
/* ========== BOTÃO DA BANDEIRA (COMPACTO E NÍTIDO) ========== */
.currency-flag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #dda4ffc7;
    border: none;                    /* Remove qualquer borda */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
    padding: 0;
    outline: none;                   /* Remove outline padrão */
    -webkit-tap-highlight-color: transparent; /* Remove highlight no mobile */
}

.currency-flag-btn:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15), 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.currency-flag-btn:focus {
    outline: none;                   /* Remove outline no foco */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.currency-flag-btn:focus-visible {
    outline: none;                   /* Remove outline visível */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.currency-flag-btn:active {
    outline: none;                   /* Remove outline no clique */
    transform: scale(0.95);          /* Feedback visual sutil */
}

/* Bandeira ultra-nítida */
.currency-flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    /* Propriedades para máxima nitidez */
    image-rendering: -webkit-optimize-contrast;
  /*  image-rendering: crisp-edges;*/
    /* Suaviza bordas em telas retina */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Efeito de brilho sutil na bandeira (nitidez preservada) */
.currency-flag-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: rotate(-20deg);
    pointer-events: none;
    z-index: 1;
}

/* Indicador de seta (sutil) - OCULTO */
.currency-flag-btn::after {
    display: none;                   /* Remove completamente a seta */
}
/* ================================================================
   MODAL OVERLAY
   ================================================================ */
.currency-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 9998;
    backdrop-filter: blur(4px);
    animation: currencyFadeIn 0.3s ease;
    justify-content: center;
    align-items: center;
}

.currency-modal-overlay.active {
    display: flex;
}

@keyframes currencyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================================================================
   MODAL
   ================================================================ */
.currency-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
}

.currency-modal.active {
    display: block;
    animation: currencySlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes currencySlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ========== CABEÇALHO DO MODAL ========== */
.currency-modal-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 20px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.currency-modal-flag {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.currency-modal-header-info {
    flex: 1;
}

.currency-modal-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.currency-modal-subtitle {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    margin: 2px 0 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.currency-modal-subtitle i {
    font-size: 9px;
}

.currency-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.currency-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

/* ========== CORPO DO MODAL ========== */
.currency-modal-body {
    padding: 16px 20px;
    max-height: calc(80vh - 140px);
    overflow-y: auto;
}

/* Barra de pesquisa */
.currency-search-wrapper {
    position: relative;
    margin-bottom: 16px;
}

.currency-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.currency-search-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.currency-search-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #ffffff;
}

.currency-search-input::placeholder {
    color: #94a3b8;
}

/* Lista de moedas */
.currency-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    background: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: #334155;
    text-align: left;
    outline: none;
}

.currency-option:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.currency-option.active {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #6366f1;
    font-weight: 600;
    color: #4338ca;
}

.currency-option-symbol {
    font-weight: 700;
    font-size: 18px;
    color: #6366f1;
    min-width: 45px;
    text-align: center;
    flex-shrink: 0;
}

.currency-option.active .currency-option-symbol {
    color: #4338ca;
}

.currency-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.currency-option-name {
    font-weight: 600;
    font-size: 13px;
}

.currency-option-code {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.currency-option-check {
    color: #6366f1;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.currency-option.active .currency-option-check {
    opacity: 1;
}

/* Preço atual no modal */
.currency-current-price {
    margin-top: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #bbf7d0;
}

.currency-current-price-icon {
    font-size: 20px;
    color: #16a34a;
}

.currency-current-price-text {
    flex: 1;
}

.currency-current-price-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.currency-current-price-value {
    font-size: 18px;
    font-weight: 700;
    color: #15803d;
}

/* ========== RODAPÉ DO MODAL ========== */
.currency-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.currency-modal-footer-text {
    font-size: 10px;
    color: #3c5477;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.currency-modal-footer-text i {
    font-size: 10px;
}

/* ================================================================
   ANIMAÇÕES E ESTADOS
   ================================================================ */
@keyframes flagGlow {
    0%, 100% {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);
    }
    50% {
        box-shadow: 0 1px 8px rgba(99, 102, 241, 0.25), 0 0 0 2px rgba(99, 102, 241, 0.15);
    }
}

.currency-selector-wrapper {
    animation: flagGlow 3s ease-in-out infinite;
}

.currency-selector-wrapper:hover {
    animation: none;
}

/* ========== LOADING STATE ========== */
.currency-selector-loading {
    opacity: 0.7;
    pointer-events: none;
}

.currency-selector-loading .currency-flag {
    opacity: 0.5;
}

.currency-selector-loading .currency-price-value {
    opacity: 0.6;
}

/* ================================================================
   RESPONSIVO
   ================================================================ */
@media (max-width: 768px) {
    /* Esconde elementos do layout inline no mobile */
    .currency-location-badge {
        display: none;
    }
    
    .currency-selector-wrapper {
        padding: 3px 4px 3px 8px;
        gap: 4px;
        height: 34px;
    }
    
    .currency-flag {
        width: 20px;
        height: 20px;
    }
    
    .currency-select-custom {
        min-width: 80px;
    }
    
    .currency-select {
        padding: 5px 18px 5px 6px;
        font-size: 10px;
        color: black;
    }
    
    .currency-select-arrow {
        right: 4px;
        font-size: 8px;
    }
    
    .currency-price-preview {
        padding: 2px 6px 2px 5px;
    }
    
    .currency-price-value {
        font-size: 9px;
    }
    
    /* Modal ocupa mais espaço no mobile */
    .currency-modal {
        width: 95%;
        max-width: 380px;
        max-height: 85vh;
    }
    
    .currency-modal-header {
        padding: 16px 18px;
    }
    
    .currency-modal-body {
        padding: 12px 14px;
        max-height: calc(85vh - 130px);
    }
    
    .currency-option {
        padding: 10px 12px;
    }
    
    .currency-option-symbol {
        font-size: 16px;
        min-width: 40px;
    }
    
    /* Remove tooltip no mobile */
    .currency-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .currency-selector-wrapper {
        padding: 2px 3px 2px 5px;
        height: 32px;
    }
    
    .currency-flag {
        width: 18px;
        height: 18px;
    }
    
    .currency-select-custom {
        min-width: 70px;
    }
    
    .currency-select {
        padding: 4px 16px 4px 5px;
        font-size: 9px;
    }
    
    .currency-price-preview {
        padding: 2px 5px;
    }
    
    .currency-price-value {
        font-size: 8px;
    }
}

/* ================================================================
   TEMA ESCURO
   ================================================================ */
@media (prefers-color-scheme: dark) {
    .currency-selector-wrapper {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
    }
    
    .currency-selector-wrapper:hover {
        border-color: #475569;
    }
    
    .currency-select {
        color: #f1f5f9;
    }
    
    .currency-select option {
        background: #1e293b;
        color: #f1f5f9;
    }
    
    .currency-location-label {
        color: #94a3b8;
    }
    
    .currency-location-value {
        color: #f1f5f9;
    }
    
    .currency-modal {
        background: #1e293b;
    }
    
    .currency-modal-header {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    }
    
    .currency-search-input {
        background: #0f172a;
        border-color: #334155;
        color: #f1f5f9;
    }
    
    .currency-search-input:focus {
        background: #1e293b;
    }
    
    .currency-option {
        color: #cbd5e1;
    }
    
    .currency-option:hover {
        background: #1e293b;
        border-color: #475569;
    }
    
    .currency-option.active {
        background: linear-gradient(135deg, #312e81 0%, #3730a3 100%);
        border-color: #6366f1;
        color: #e0e7ff;
    }
    
    .currency-option-code {
        color: #94a3b8;
    }
    
    .currency-current-price {
        background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
        border-color: #166534;
    }
    
    .currency-current-price-value {
        color: #4ade80;
    }
    
    .currency-modal-footer {
        border-top-color: #334155;
    }
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #6a1b9a;
    padding: 15px 25px;
    position: relative;
   
    min-height: 60px;
}

/* ========== VERSÃO DESKTOP ========== */
.nav-desktop {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.delivery-location{
    display: flex;
    align-items: end;
    margin-left: 20px;
    color: #e3e6e6;
    font-size: 10px !important;
}

.search-bar-container {
    position: relative;
    flex: 1;
    margin-left: 20px;
    margin-right: 3px;
}

.search-bar{
    display: flex;
    align-items: center;
    background: white;
    color: #6a1b9a;
    border-radius: 4px;
    width: 100%;
}

.search-bar-category{
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 5px;
    background-color: #e6e6e6;
    border-radius: 4px 0 0 4px;
    flex-shrink: 0;
}

.search-bar-category p{
    
    font-size: 13px;
    color: #000000;
    font-family: 'Poppins';
    white-space: nowrap;
}

.search-bar-input{
    border: none;
    outline: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 13px;
}

.search-bar-icon{
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 0 4px 4px 0;
    flex-shrink: 0;
}

#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

#search-results.show {
    display: block;
}

.language-selector{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
    flex-shrink: 0;
}

.language-selector p{
    color: white;
}

#results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#results-list li {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

#results-list li:hover {
    background: #f8f5ff;
}

#results-list li i {
    color: #6a1b9a;
    font-size: 14px;
}

#results-list li .result-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#results-list li .result-title {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

#results-list li .result-category {
    font-size: 12px;
    color: #666;
}

.custom-button {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.custom-button:hover {
    color: #e3e6e6;
    text-decoration: none;
}

.custom-button i {
    color: inherit;
}

.account-info{
    margin-left: 10px;
    color: white;
    font-size: 10px;
}

.space{
    margin-right: 10px;
}

.badge {
    background-color: #E91E63;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 12px;
    position: relative;
    top: -10px;
    left: -8px;
}

/* ========== VERSÃO MOBILE ========== */
.nav-mobile {
    display: none;
    width: 100%;
}

.mobile-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    flex: 0 0 auto;
}



.mobile-login-center {
    flex: 1;
    text-align: center;
    margin: 0 10px;
    color: #fff;
    font-size: 13px;
}

.mobile-login-center .custom-button {
    font-size: 14px;
    white-space: nowrap;
}

.mobile-right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

.mobile-search-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.mobile-cart {
    position: relative;
}



.mobile-login-center span {
    font-size: 14px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
}

/* ========== BARRA DE PESQUISA MOBILE CORRIGIDA ========== */
.search-bar-container.mobile-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #6a1b9a;
    display: none;
    z-index: 1001;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.search-bar-container.mobile-search.active {
    display: flex;
}

/* Container centralizado para o conteúdo da pesquisa */
.mobile-search-content {
    width: 100%;
    max-width: 100%;
    padding: 80px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    overflow: hidden;
}

/* Barra de pesquisa mobile - OCUPA TODA LARGURA */
.mobile-search-form {
    width: 100%;
    max-width: 100%;
}

.mobile-search-form .search-bar {
    width: 100%;
    background: white;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

.mobile-search-form .search-bar-category {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px 0 0 12px;
    flex-shrink: 0;
}

.mobile-search-form .search-bar-input {
    padding: 15px;
    background: transparent;
    border: none;
    width: 100%;
    flex: 1;
}

.mobile-search-form .search-bar-icon {
    padding: 15px;
    background: transparent;
    color: #6a1b9a;
    border-radius: 0 12px 12px 0;
    flex-shrink: 0;
}

/* Botão fechar na pesquisa mobile */
.mobile-search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1002;
}

.mobile-search-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Título da pesquisa mobile */
.mobile-search-title {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
}

/* ========== LISTA DE RESULTADOS MOBILE - IDÊNTICA AO DESKTOP ========== */
#mobile-search-results {
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    display: none;
    max-height: 60vh;
    overflow-y: auto;
}

#mobile-search-results.show {
    display: block;
}

#mobile-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-results-list li {
  gap: 7px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

#mobile-results-list li:last-child {
    border-bottom: none;
}

#mobile-results-list li:hover {
    background: #f8f5ff;
}

#mobile-results-list li i {
    margin-right: 0px;
    color: #6a1b9a;
    font-size: 14px;
    flex-shrink: 0;
}

#mobile-results-list li .result-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#mobile-results-list li .result-title {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

#mobile-results-list li .result-category {
    font-size: 12px;
    color: #666;
}

/* Estado quando não há resultados */
#mobile-results-list .no-results {
    padding: 20px 16px;
    text-align: center;
    color: #666;
    font-style: italic;
}

#mobile-results-list .no-results:hover {
    background: white;
}


/* ========== RESPONSIVIDADE CORRIGIDA ========== */


/* Animações para modais */
.modalt {
    transition: all 0.4s ease-in-out;
}

.modalt.closing {
    opacity: 0;
    transform: scale(0.9);
}

.modalt.show {
    opacity: 1;
    transform: scale(1);
}


/* TABLET GRANDE (1025px a 1350px) - Mantém desktop com ajustes */
@media (max-width: 1350px) and (min-width: 1025px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
    
    nav {
        padding: 12px 20px;
    }
    

    .search-bar-category {
            padding: 10px 20px;
    }
    

    
    .search-bar-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .language-selector {
        gap: 8px;
    }
    
    .custom-button {
        font-size: 12px;
    }
    

    
    .account-info {
        margin-left: 8px;
    }
}

/* TABLET (768px a 1024px) - Layout tablet otimizado */
@media (max-width: 1024px) and (min-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    nav {
        padding: 12px 15px;
        min-height: 55px;
    }
    
    /* Ajustes específicos para tablet */
    .mobile-layout {
        gap: 20px;
    }
    
    .nav-logo img {
        width: 155px !important;
    }
    
    .mobile-login-center .custom-button,
    .mobile-login-center span {
        font-size: 15px;
    }
    
    .mobile-right-icons {
        gap: 20px;
    }
    
    .mobile-search-toggle {
        font-size: 20px;
    }
    
    .mobile-search-content {
        padding: 90px 30px 30px 30px;
    }
    
    .mobile-search-form .search-bar {
        max-width: 600px;
        margin: 0 auto;
    }
    
    #mobile-search-results {
       
        margin: 15px auto 0 auto;
    }
}

/* CELULAR (até 767px) */
@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    nav {
        padding: 10px 15px;
        min-height: 50px;
    }
    
    .mobile-layout {
        gap: 8px;
    }
    
  .nav-logo img {
        width: 155px !important;
    }
    
    .mobile-login-center .custom-button,
    .mobile-login-center span {
        font-size: 14px;
    }
    
    .mobile-right-icons {
        gap: 12px;
    }
    
    .mobile-search-toggle {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }
    
    /* Ajustes finos para mobile */
    .mobile-search-content {
        padding: 70px 15px 15px 15px;
    }
    
    .mobile-search-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .mobile-search-form .search-bar {
        border-radius: 7px;
    }
    
    .mobile-search-form .search-bar-category {
        padding: 12px 15px;
    }
    
    .mobile-search-form .search-bar-category p {
        font-size: 14px;
    }
    
    .mobile-search-form .search-bar-input {
        padding: 12px 15px;
    }
    
    .mobile-search-form .search-bar-icon {
        padding: 12px 15px;
    }
    
    .mobile-search-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    #mobile-results-list li {
        padding: 10px 15px;
    }
    
    #mobile-results-list li .result-title {
        font-size: 13px;
    }
    
    #mobile-results-list li .result-category {
        font-size: 11px;
    }
}

/* DESKTOP MUITO GRANDE (acima de 1350px) */
@media (min-width: 1351px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .search-bar-container {
        max-width: 900px;
    }
}

/* ========== ANIMAÇÕES ========== */
.search-bar-container.mobile-search {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Previne scroll do body quando pesquisa está aberta */
body.search-open {
    overflow: hidden;
}

/* Scrollbar personalizada para resultados */
#mobile-search-results::-webkit-scrollbar {
    width: 6px;
}

#mobile-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 8px 8px 0;
}

#mobile-search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#mobile-search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Garante que todos os elementos ocupem toda a largura */
.search-bar-container.mobile-search,
.mobile-search-content,
.mobile-search-form,
.mobile-search-form .search-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove qualquer padding ou margin extra */
.mobile-search-form form {
    width: 100%;
    margin: 0;
    padding: 0;
}
/* CSS */
.em-alta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #6a1b9a; /* Roxo */
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
  cursor: default;
  transition: background-color 0.2s ease;
}

.em-alta i {
  font-size: 1rem;
}

.em-alta:hover {
  background-color: #7b1fa2; /* tom mais claro ao passar mouse */
}

.bottom-nav {
    background-color: #6a1b9aed;
    color: white;
    display: flex;
    align-items: center;
    padding: 7px 25px;
    font-size: 14px;
    gap: 18px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.bottom-nav > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Área de carrossel com botões */
.carousel-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-btn {
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    transition: background .16s, transform .12s, opacity .16s;
    z-index: 2;
}
.carousel-btn:hover {
    background: #fff;
    color: #6a1b9a;
}
.carousel-btn.hide {
    opacity: 0;
    pointer-events: none;
}

/* Carrossel */
.category-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    flex: 1;
}
.category-carousel::-webkit-scrollbar {
    display: none;
}

/* Itens */
.category-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: color .18s, transform .12s;
}
.category-item i {
    font-size: 12px;
    opacity: 0.85;
}
.category-item:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.category-item.active {
     color: #ffd700;
    transform: translateY(-2px);
}
/* Sistema de Modais Premium - Design Extraordinário */
:root {
  --primary-color: #8a5cf7;
  --primary-light: #a37bff;
  --primary-dark: #6f42c1;
  --secondary-color: #ff7b54;
  --secondary-light: #ff9770;
  --secondary-dark: #e05e3a;
  --accent-color: #00c9a7;
  --accent-light: #2be8c5;
  --accent-dark: #00a58a;
  --dark-color: #1e1e2e;
  --light-color: #f8f9ff;
  --gray-bg: #f5f6ff;
  --border-radius: 8px;
  --box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Estrutura Base */
.modalt {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(138 92 247 / 21%);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  animation: fadeIn 0.4s ease-out;
  padding: 10px 0; /* Reduzido para subir mais */
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modalt-dialog {
  position: relative;
  margin: 0 auto;
  max-width: 480px;
  width: 90%;
  top: 3%;
  animation: floatIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes floatIn {
  0% { transform: translateY(30px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.modalt-content {
  position: relative;
  background: #000;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border: none;
  transform: perspective(1000px);
}

/* Cabeçalho */
.modalt-header {
  padding: 1.6rem 2rem;
  background: #fff;
  color: #000000;
  border-bottom: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgb(138 92 247 / 19%);
}

.modalt-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--font-family);
  text-align: center;
  flex: 1;
 /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.close {
  position: absolute;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0.9;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
}

.close:hover {
  opacity: 1;
  transform: translateY(-50%) rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}



/* Corpo */
.modalt-body {
  padding: 2.2rem;
  font-family: var(--font-family);
  background: white;
  border-bottom: 1px solid #f0f0f5;
}

/* Formulários */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: var(--gray-bg);
  margin-bottom: 0.75rem;
  font-family: var(--font-family);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(138, 92, 247, 0.15);
  background-color: white;
  outline: none;
}

label.col-form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

/* Botões Principais */
.btn-primaryt {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  background: #6a1b9a;
  color: white;
  width: 100%;
  margin-bottom: 0.0rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(138, 92, 247, 0.25);
  letter-spacing: 0.5px;
  z-index: 1;
}

.btn-primaryt:hover {
  background: #8c25cc;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138, 92, 247, 0.4);
}

.btn-primaryt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-primaryt:hover::before {
  opacity: 1;
}

/* Botões Secundários */
.btn-secondary {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  background: #000000e6;
  color: white;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
  z-index: 1;
}

.btn-secondary:hover {
  background: #4e4e4ee6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Botão Esqueci Senha */
.btn-forgot-password {
  display: block;
  text-align: center;
  margin: 1rem 0;
  padding: 0.7rem;
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(138, 92, 247, 0.3);
  border-radius: var(--border-radius);
  transition: var(--transition);
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-forgot-password:hover {
  background: rgba(138, 92, 247, 0.05);
  color: var(--primary-dark);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 92, 247, 0.1);
}

.btn-forgot-password::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(138, 92, 247, 0.1), transparent);
  transition: 0.5s;
}

.btn-forgot-password:hover::after {
  left: 100%;
}

/* Caixas de Informação */
.info-box {
  background: linear-gradient(135deg, rgba(248, 249, 255, 0.8), rgba(240, 242, 255, 0.9));
  border-radius: var(--border-radius);
  padding: 0.7rem;
  margin-bottom: 0.8rem;
  margin-top: 10px;
  border: 1px solid rgba(138, 92, 247, 0.1);
  backdrop-filter: blur(5px);
}

.info-text {
  font-size: 0.73rem;
  color: #000000;
  margin: 0.2rem 0 0 0;
  margin-bottom: 10px;
}

.topo-text-check{
    font-size: 0.80rem;
    font-weight: 600;
    color: #000021;
}
.b-link{
    color: #8a5cf7;
}
.b-link:hover{
    color: #00002167;
}
.alert-danger-topo {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #e91e631c;
    color: var(--warning);
    border: 1px solid #f7258500;
    font-size: 15px;
}

.alert-sucess-topo {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-size: 15px;
}

/* Checkbox */
.terms-check {
  display: flex;
  align-items: center;
  margin-bottom: 0rem;
  font-size: 0.95rem;
  color: #555;
}

.form-check-input {
    width: 1.0em;
    height: 1.0em;
    margin-right: 0.6em;
    margin-top: 5px;
    background-color: white;
    border: 2px solid #d1d1e0;
    border-radius: 4px;
    appearance: none;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  box-shadow: 0 2px 8px rgba(138, 92, 247, 0.3);
}

/* Modal de Sucesso */
#myModal .modalt-content {
  border: 2px solid var(--accent-color);
  background: linear-gradient(135deg, rgba(248, 249, 255, 0.95), rgba(240, 255, 250, 0.98));
}

.success-message {
  color: var(--dark-color);
  font-size: 1.2rem;
  margin: 1.2rem 0;
  font-weight: 600;
}

.footer-message {
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 500;
}

/* Efeitos Globais */
.btn-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.loading-icon {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  color: #666;
  font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .modalt-dialog {
    top: 2%;
    width: 94%;
  }
  
  .modalt-header {
    padding: 1.4rem;
  }
  
  .modalt-body {
    padding: 1.8rem;
  }
  
  .close {
    right: 1.2rem;
    font-size: 1.8rem;
  }
  
  .btn-primaryt, .btn-secondary {
    padding: 0.85rem 1.5rem;
  }
}

/* Back Button */
.modalt-back-btn {
  position: absolute;
  left: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
}

.modalt-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Design Premium para Resultados */
.trending-header {
    padding: 12px 16px;
    background: linear-gradient(to right, #6a1b9a, #8e44ad);
    border-radius: 8px 8px 0 0;
}

.trending-title {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-icon {
    font-size: 16px;
}

.trending-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 8px;
}

.premium-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premium-result-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.premium-result-item:hover {
    background: #f9f5ff;
    transform: translateX(3px);
}

.premium-result-item:last-child {
    border-bottom: none;
}

.result-icon-container {
    width: 30px;
    height: 30px;
    background: rgba(106, 27, 154, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #6a1b9a;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-title {
    display: block;
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-clicks {
    display: block;
    font-size: 11px;
    color: #718096;
    margin-top: 3px;
}

.result-clicks i {
    color: #e74c3c;
    margin-right: 4px;
}

.result-arrow {
    color: #a0aec0;
    transition: all 0.3s ease;
}

.premium-result-item:hover .result-arrow {
    color: #6a1b9a;
    transform: translateX(3px);
}

.no-results {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
    font-size: 40px;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.no-results-text {
    color: #718096;
    font-size: 14px;
    margin: 0;
}


.spaco{
  margin-right: 12px;
}


/* Carrinho */


    /* Overlay do carrinho */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
  .cart-overlay {

 height: 100vh;
  }
}
.cart-overlay.active {
    right: 0;
}

.cart-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 62%);
    z-index: 9999;
    display: none;
}

.cart-overlay-backdrop.active {
    display: block;
}

/* Header do carrinho */
.cart-header {
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.cart-header h3 {
    margin: 0;
    color: #6a1b9a;
    font-size: 18px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 3px;
    transition: background 0.3s;
}

.close-cart:hover {
    background: #e9ecef;
}

/* Conteúdo do carrinho */
.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.cart-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #f8f9fa;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 5px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.cart-item-price {
    color: #0a58ca;
    font-weight: 600;
    font-size: 14px;
}

.remove-item {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 8px;
    border-radius: 3px;
    transition: background 0.3s;
}

.remove-item:hover {
    background: #f9f9f9;
    color: #ccc;
}

/* Footer do carrinho */
.cart-footer {
    padding: 2px 20px;
    border-top: 2px solid #f0f0f0;
    background: #f8f9fa;
    
}

@media (max-width: 768px) {
  .cart-footer {

 margin-bottom: 90px;
  }
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #6d28d9;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    margin-bottom: 10px;
}

.checkout-btn:hover {
    background: #2a5194;
}

.checkout-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Carrinho vazio */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-cart i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-cart p {
    margin: 0;
    font-size: 16px;
}

/* Mensagem de sucesso */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    z-index: 11000;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.success-message.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}

/* Responsivo */
@media (max-width: 480px) {
    .cart-overlay {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .nova-compra-cta-buttons {
        flex-direction: column;
    }
}

/* Mensagens dentro do overlay */
.cart-message {
    padding: 12px 15px;
    margin: 0 15px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.cart-message.active {
    display: flex;
}

.cart-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cart-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cart-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste no conteúdo do carrinho para acomodar mensagens */
.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 10px;
}

/* Close button da mensagem */
.message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    margin-left: auto;
    padding: 5px;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.message-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.1);
}

/* Seção de descontos */
.cart-discounts {
    padding: 2px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.discount-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.discount-item.positive {
    color: #27ae60;
    font-weight: 500;
}

.discount-item.negative {
    color: #e74c3c;
}

.discount-item .discount-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-item .discount-badge {
    background: #0a58ca;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.discount-item .discount-badge.success {
    background: #27ae60;
}

.discount-item .discount-badge.warning {
    background: #FF5722;
}

.discount-value {
    font-weight: 600;
}

/* Total final */
.cart-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 2px solid #e9ecef;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

/* Valor original riscado */
.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 14px;
    font-weight: normal;
    margin-left: 8px;
}

/* Mensagem de economia */
.savings-message {
    text-align: center;
    padding: 10px;
    background: #d5f4e6;
    color: #155724;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 13px;
    font-weight: 500;
}
/* Mensagem de economia */
.savings-message-d {
    text-align: center ;
    padding: 10px;
    background: rgb(0 20 255 / 8%);
    color: #333;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 12px;
    font-weight: 500;
}

/* Info de desconto */
.discount-info {
    font-size: 11px;
    color: #6c757d;
    margin-top: 2px;
}
.cupom-simple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
}

.cupom-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.cupom-message i {
    font-size: 16px;
}

.cupom-message strong {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
}


/*avaliação*/

/* SISTEMA DE AVALIAÇÃO - LAYOUT INFORMATIVO */
.container-avaliacao {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    gap: 4px;
    /*margin: 12px 0;*/
   /* padding: 10px 16px;*/
  /*  background: #f8fafc;*/
    border-radius: 8px;
  /*  border: 1px solid #e2e8f0;*/
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-left: 9px;
    margin-top: 2px;
}

.nota-media {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    
}

.estrela-destaque {
    color: #f59e0b;
    font-size: 14px;
    font-weight: 700;
    min-width: 30px;
    margin-top: -2px;
}

.contador-avaliacao {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    margin-left: auto; /* Isso empurra para a direita */
    text-align: right;
    margin-right: 10px;
    min-width: 30px; /* Garante um tamanho mínimo */
}

.sem-avaliacao-texto {
    color: #94a3b8;
    font-size: 14px;
    font-style: italic;
}

/* Badge para avaliações TOP */
.badge-avaliacao {
    position: absolute;
    top: -6px;
    right: -8px;
    background: rgb(255 2 2 / 79%);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow:  0 2px 8px rgb(0 0 0 / 13%);
}

/* Versão compacta para mobile */
@media (max-width: 768px) {
    .container-avaliacao {
        padding: 8px 12px;
        gap: 6px;
    }
    
    .nota-media {
        font-size: 14px;
    }
    
    .estrela-destaque {
        font-size: 16px;
    }
    
    .contador-avaliacao {
        font-size: 12px;
    }
}

/*.avaliacao-produto {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 5px;
    margin: 0px 0;
    font-size: 12px;
    width: 100%;
}
*/
.avaliacao-produto {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 5px;
    margin: 0px 0;
    font-size: 12px;
    width: 100%;
}

.nota-avaliacao {
    font-weight: bold;
    color: #ff9800;
}

.total-avaliacoes {
    color: #666;
    font-size: 11px;
}

.sem-avaliacao {
    color: #999;
    font-style: italic;
}

/* ESTILOS PARA MENSAGEM DE LOGIN BONITA */
.login-alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 350px;
    max-width: 450px;
    animation: slideInRight 0.5s ease-out;
}

.login-alert-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ff6b6b;
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.login-alert-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f);
}

.login-alert-icon {
    font-size: 24px;
    color: #ffd93d;
    flex-shrink: 0;
}

.login-alert-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.login-alert-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.login-alert-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.login-alert-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Animação de entrada */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .login-alert-message {
        min-width: unset;
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

/* ESTILO PARA O BOTÃO DO CARRINHO CLICÁVEL */
.header-cart {
    cursor: pointer;
    margin-top: -2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 8px 1px;
    border-radius: 8px;
    position: relative;
}

.header-cart:hover {
    
    transform: translateY(-2px);
}

.header-cart .fa-shopping-cart {
   
    color: #ffffff;
}

.tamanho-icone{
    font-size: 1.0rem;
}

.header-cart-count {
    background-color: #E91E63;
    color: white !important;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 0px solid white;
}
  /* ---------- Estilos da notificação (performática) ---------- */
  .msg-login {
    position: fixed;
    top: 12px;
    right: 15px;
    z-index: 99999;
    background: linear-gradient(135deg, #26913d 0%, #149c1fd3 100%);;
    color: #fff;
    padding: 12px 16px;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-size: 14px;
    display: block;              /* sempre presente no DOM */
    transform: translateX(120%); /* começa fora (à direita) */
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
    pointer-events: auto;
    max-width: 320px;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
  }

  /* estado visível */
  .msg-login.show {
    transform: translateX(0);
    opacity: 1;
  }

  .msg-login .msg-text {
    display: inline-block;
    vertical-align: middle;
    color: white;
        flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .msg-login .msg-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin-left: 12px;
    padding: 0 6px;
  }

  .msg-login .msg-close:hover { opacity: 0.9; }

  /* mobile: posição inferior para ficar mais legível */
  @media (max-width: 768px) {
    .msg-login {
      
      right: 16px;
      max-width: calc(100% - 40px);
      padding: 10px 14px;
      font-size: 13px;
      transform: translateX(120%); /* mesma animação */
    }
  }

  .sair{
    margin-top: -3px;
  }

  .link-hover {
  display: inline-block;
  position: relative;
  color: #fffffff5; /* Roxo elegante */
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #ffc107;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.link-hover:hover {
  color: #f1f1f1; /* Tom mais escuro no hover */
}

.link-hover:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-color{
filter: brightness(0) invert(0);
background-color:#000;
}


/* ultmos css vindo do topo.php*/

  /* ESTILOS PARA MENSAGENS DE ALERTA - OTIMIZADO PARA MOBILE */
    .alert {
        position: fixed;
        top: 12px;
        right: 20px;
        z-index: 9999;
        min-width: 300px;
        max-width: 500px;
        padding: 15px 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: slideInRight 0.5s ease-out;
        border-left: 4px solid;
        font-family: 'Inter', Arial, sans-serif;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideOutRight {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(100%);
            opacity: 0;
        }
    }

    .alert.hiding {
        animation: slideOutRight 0.5s ease-in forwards;
    }

    .alert-primary {
        background-color: #e3f2fd;
        border-color: #2196f3;
        color: #1565c0;
    }

    .alert-success {
        background-color: #e8f5e8;
        border-color: #4caf50;
        color: #2e7d32;
    }

    .alert-danger {
        background-color: #ffebee;
        border-color: #f44336;
        color: #c62828;
    }

    .alert-warning {
        background-color: #fff8e1;
        border-color: #ff9800;
        color: #ef6c00;

    }

    .alert-content {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }

    .alert-message {
        flex: 1;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        word-break: break-word;
    }

    .alert-close {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        padding: 8px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.3s ease;
        color: inherit;
        opacity: 0.7;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        margin-top: -7px;
    }

    .alert-close:hover,
    .alert-close:active {
        background-color: rgba(0, 0, 0, 0.1);
        opacity: 1;

    }

    .alert-close::before {
        content: '×';
        font-weight: bold;
         margin-top: -5px;
    }

    .alert-timer {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        background-color: currentColor;
        opacity: 0.6;
        width: 100%;
        transform-origin: left;
        animation: timerProgress 15s linear forwards;
    }

    @keyframes timerProgress {
        from {
            transform: scaleX(1);
        }
        to {
            transform: scaleX(0);
        }
    }

    @media (max-width: 768px) {
        .alert {
            min-width: auto;
            max-width: calc(100vw - 30px);
            right: 15px;
            left: 15px;
            top: 15px;
            padding: 16px 18px;
            font-size: 15px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }
        
        .alert-message {
            font-size: 15px;
            line-height: 1.5;
            padding-right: 5px;
        }
        
        .alert-close {
            width: 40px;
            height: 40px;
            font-size: 24px;
            padding: 10px;
            margin: -5px -5px 0 0;
        }
        
        .alert {
            top: env(safe-area-inset-top, 15px);
        }
    }

    @media (max-width: 380px) {
        .alert {
            padding: 14px 16px;
            top: 10px;
            right: 10px;
            left: 10px;
        }
        
        .alert-message {
            font-size: 14px;
        }
    }

    #msg-login {
        position: fixed;
        top: 12px;
        right: 20px;
        z-index: 9999;
        min-width: 300px;
        padding: 15px 20px;
        background-color: #e8f5e8;
        border: 1px solid #4caf50;
        border-left: 4px solid #47cf34;
        border-radius: 8px;
        color: #c7fbc0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: slideInRight 0.5s ease-out;
        font-family: 'Inter', Arial, sans-serif;
        display: none;
    }

    #msg-login.show {
        display: block;
    }

    .password-field {
        position: relative;
    }

    .password-toggle {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: #666;
        padding: 10px;
        z-index: 2;
        touch-action: manipulation;
    }

    .password-toggle:hover,
    .password-toggle:active {
        color: #333;
    }

    .password-field input {
        padding-right: 45px !important;
    }
    
    #search-button {
        cursor: pointer;
    }
    
    .alert,
    #msg-login {
        z-index: 99999 !important;
    }
    
    /* ========== MODAL PROFISSIONAL - CORES ROXA, AZUL, CINZA E BRANCO ========== */

/* Container do Modal */
.modal-content-custom {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(109, 40, 217, 0.25) !important;
    background: white !important;
    overflow: hidden;
}

/* Header do Modal */
.modal-header-custom {
    border-bottom: none !important;
    padding: 16px 20px 0 20px !important;
   /* background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;*/
    position: relative;
}

.modal-header-custom .modalt-title {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.modal-header-custom .close {
    color: #64748b;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.modal-header-custom .close:hover {
    color: #6d28d9;
    opacity: 1;
    transform: rotate(90deg);
}

/* Conteúdo Principal */
.modal-success-content {
    padding: 0 20px 20px 20px;
}

/* Ícone de Sucesso */
.success-icon {
    font-size: 48px;
    margin-bottom: 12px;
    text-align: center;
}

.success-icon i {
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 8px 12px rgba(109, 40, 217, 0.2));
}

/* Título */
.success-title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Box do Email */
.email-info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.email-info-box:hover {
    border-color: #6d28d9;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.08);
}

.email-label {
    color: #475569;
    font-size: 0.813rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.email-display {
    background: white;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.938rem;
    word-break: break-all;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

/* Box de Reenvio */
.resend-box {
    margin: 20px 0 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.resend-text {
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
}

/* Botão de Reenvio */
.btn-resend {
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    width: auto;
    min-width: 180px;
    justify-content: center;
}

.btn-resend i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.btn-resend:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
    background: linear-gradient(135deg, #5b21b6, #4338ca);
}

.btn-resend:hover i {
    transform: translateX(4px);
}

.btn-resend:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #94a3b8;
}

/* Informações de Tentativas */
.attempts-info {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #475569;
    text-align: center;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(100, 116, 139, 0.08);
    border-radius: 20px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.attempts-info .text-danger {
    color: #dc2626 !important;
    font-weight: 600;
}

/* Box de Aviso (Email Errado) */
.warning-box {
    background: #fff7ed;
    border-radius: 12px;
    padding: 14px;
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    border: 1px solid #fed7aa;
}

.warning-icon {
    color: #f97316;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.warning-text {
    flex: 1;
}

.warning-text p {
    margin: 0 0 4px 0;
    color: #7b341e;
    font-size: 0.813rem;
    line-height: 1.5;
}

.warning-text strong {
    color: #9a3412;
    font-weight: 700;
}

.link-recadastro {
    color: #6d28d9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.813rem;
    border-bottom: 1px dashed #6d28d9;
    transition: all 0.2s ease;
}

.link-recadastro:hover {
    color: #4f46e5;
    border-bottom-style: solid;
}

/* Box de Informação (Spam) */
.info-message {
    background: #eef2ff;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 16px 0 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e3a8a;
    font-size: 0.813rem;
    text-align: left;
    border: 1px solid #c7d2fe;
}

.info-message i {
    font-size: 1rem;
    color: #4f46e5;
    flex-shrink: 0;
}

.info-message p {
    margin: 0;
    line-height: 1.5;
}

/* Ações do Modal */
.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn-ok {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 10px 32px;
    border-radius: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.btn-ok:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
    transform: scale(0.98);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Versão para Senha (ícone diferente) */
[data-modal-type="senha"] .success-icon i {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-modal-type="senha"] .email-info-box {
    border-left: 4px solid #4f46e5;
}

[data-modal-type="senha"] .btn-resend {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

[data-modal-type="senha"] .btn-resend:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Responsivo para Mobile */
@media (max-width: 640px) {
    .modal-success-content {
        padding: 0 16px 16px 16px;
    }
    
    .success-icon {
        font-size: 40px;
    }
    
    .success-title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
    
    .email-info-box {
        padding: 10px 12px;
    }
    
    .email-display {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    .resend-box {
        padding: 14px;
        margin: 16px 0 12px 0;
    }
    
    .btn-resend {
        padding: 8px 20px;
        min-width: 160px;
        font-size: 0.813rem;
    }
    
    .warning-box {
        padding: 12px;
        gap: 8px;
    }
    
    .btn-ok {
        padding: 8px 28px;
        max-width: 180px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-success-content > * {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.modal-success-content > *:nth-child(1) { animation-delay: 0.1s; }
.modal-success-content > *:nth-child(2) { animation-delay: 0.15s; }
.modal-success-content > *:nth-child(3) { animation-delay: 0.2s; }
.modal-success-content > *:nth-child(4) { animation-delay: 0.25s; }
.modal-success-content > *:nth-child(5) { animation-delay: 0.3s; }
.modal-success-content > *:nth-child(6) { animation-delay: 0.35s; }

/* Scrollbar personalizada (opcional) */
.modalt-body::-webkit-scrollbar {
    width: 6px;
}

.modalt-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.modalt-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.modalt-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}



         /* =============================================
   BOTÃO CONTINUAR COM GOOGLE - ESTILO MODERNO
   ============================================= */

.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 10px;
}

/* Efeito de fundo animado ao passar o mouse */
.btn-google-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(102, 126, 234, 0.04) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

/* Efeito de brilho no hover */
.btn-google-login::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(102, 126, 234, 0.06) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-google-login:hover {
    background: #f7fafc;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15), 
                0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: #2d3748;
}

.btn-google-login:hover::before {
    left: 100%;
}

.btn-google-login:hover::after {
    opacity: 1;
}

.btn-google-login:active {
    transform: translateY(0px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.10);
}

/* Ícone SVG */
.btn-google-login svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-google-login:hover svg {
    transform: scale(1.05);
}

/* Texto do botão */
.btn-google-login .btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =============================================
   VARIAÇÃO COM GRADIENTE (OPCIONAL)
   ============================================= */

.btn-google-login.gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-color: #e2e8f0;
}

.btn-google-login.gradient:hover {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-color: #667eea;
}

/* =============================================
   VARIAÇÃO COM SOMBRA MAIS FORTE (OPCIONAL)
   ============================================= */

.btn-google-login.shadow {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), 
                0 1px 3px rgba(0, 0, 0, 0.03);
}

.btn-google-login.shadow:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.18), 
                0 2px 8px rgba(0, 0, 0, 0.04);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 480px) {
    .btn-google-login {
        font-size: 13.5px;
        padding: 11px 16px;
        border-radius: 10px;
        gap: 10px;
    }
    
    .btn-google-login svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .btn-google-login {
        font-size: 12.5px;
        padding: 10px 14px;
        gap: 8px;
    }
    
    .btn-google-login svg {
        width: 16px;
        height: 16px;
    }
}