/* --- RESET E FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --orbe-laranja: #ff5900;
    --orbe-dark: #11001C;
    --bg-body: #F4F6F8;
    --cinza-borda: #E0E0E0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Utilitários */
.text-orange {
    color: var(--orbe-laranja) !important;
}

.bg-orange {
    background-color: var(--orbe-laranja) !important;
}

.bg-gradient-animated {
    background-image: linear-gradient(270deg, var(--orbe-laranja), #ff7a00, #ff9500, var(--orbe-laranja)) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 7s ease infinite !important;
    -webkit-animation: gradientMove 7s ease infinite !important;
}

@media (max-width: 768px) {
    .bg-gradient-animated {
        animation: gradientMove 12s ease infinite !important;
        -webkit-animation: gradientMove 12s ease infinite !important;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@-webkit-keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- HEADER --- */
.top-bar {
    background: #fff;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
}

/* --- SELETOR DE PAÍS (Estilo Referência) --- */
.country-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-label {
    color: var(--orbe-laranja);
    /* Cor do texto "País:" */
    font-weight: 600;
    font-size: 13px;
}

.flags-container {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ffccb3;
    /* Borda laranja suave */
    border-radius: 12px;
    /* Borda arredondada do container */
    padding: 3px;
    gap: 2px;
}

.flag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 8px;
    /* Borda arredondada do botão interno */
    transition: all 0.3s ease;
    opacity: 0.7;
    /* Bandeiras inativas ficam um pouco apagadas */
}

.flag-btn img {
    width: 22px;
    /* Tamanho da bandeira */
    height: auto;
    display: block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    /* Sombra leve na bandeira */
}

/* Estado ATIVO (Selecionado) */
.flag-btn.active {
    background-color: var(--orbe-laranja);
    /* Fundo Laranja */
    opacity: 1;
    box-shadow: 0 2px 5px rgba(255, 89, 0, 0.4);
}

/* Hover nas inativas */
.flag-btn:hover:not(.active) {
    background-color: #fff5f0;
    opacity: 1;
}

.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input {
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    padding: 10px 20px;
    width: 100%;
}

.search-input:focus {
    border-color: var(--orbe-laranja);
    outline: none;
}

/* --- MEGA MENU --- */
.mega-nav-wrapper {
    position: relative;
}

.mega-nav-item {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.mega-nav-item:hover,
.mega-nav-item.active {
    color: var(--orbe-laranja) !important;
    border-bottom-color: var(--orbe-laranja);
}

.mega-panel {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-top: 8px;
    display: none;
    z-index: 1040;
    overflow: hidden;
}

.mega-panel.show {
    display: block;
}

#megaSubcats {
    padding: 8px 0;
}

.mega-subcat {
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}

.mega-subcat:hover,
.mega-subcat.active {
    background: #f8f9fa;
    color: var(--orbe-laranja);
}

#megaSubdetail h6 {
    font-weight: 700;
}

/* --- MENU HOME DROPDOWN --- */
.home-menu-dropdown {
    position: relative;
}

.home-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 340px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1050;
    padding: 6px 0;
}

.home-menu-dropdown:hover .home-menu-panel,
.home-menu-dropdown.open .home-menu-panel {
    display: block;
}

.home-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #333;
    font-weight: 600;
}

.home-menu-item:hover {
    background: #f8f9fa;
    color: var(--orbe-laranja);
}

.home-menu-icon {
    width: 22px;
    text-align: center;
    color: var(--orbe-laranja);
}

.home-menu-text {
    flex: 1;
}

/* --- SLIDER (FLUIDO) --- */
.hero-section {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
}

/* Fix slider images to always respect full width */
.carousel-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    /* ou contain */
    max-height: none !important;
}


/* --- CATEGORIAS (Bolinhas) --- */
.cat-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-circle {
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.cat-item:hover .cat-circle {
    border-color: var(--orbe-laranja);
}

/* --- CARD PRODUTO --- */
.product-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.3s;
}

.img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 15px;
    /* Margem interna para a imagem não encostar nas bordas */
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Não corta a imagem, mantém proporção dentro do 1:1 */
    transition: transform 0.3s ease;
}

.prod-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--orbe-laranja);
}

.price-sec {
    font-size: 0.8rem;
    color: #999;
}

.btn-buy {
    width: 100%;
    background: var(--orbe-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-weight: 600;
    margin-top: auto;
}

/* --- FOOTER --- */
.footer-main {
    background: #fff;
    padding: 40px 0;
    margin-top: 40px;
}


/* ==========================================
   MOBILE (Telas até 768px)
   ========================================== */
@media (max-width: 768px) {

    /* Banner menor no celular */
    .carousel-item img {
        height: 180px;
    }

    /* Categorias com Scroll Horizontal */
    .cat-scroll-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }

    .cat-item-mobile {
        min-width: 75px;
    }

    .cat-circle {
        width: 65px;
        height: 65px;
    }

    .cat-circle img {
        max-width: 35px;
    }

    /* Grid de Produtos */
    .img-wrap {
        height: auto;
        /* Deixa o aspect-ratio controlar */
    }

    .product-card {
        padding: 8px;
    }

    .prod-title {
        font-size: 13px;
    }

    /* Desativar hover de imagem no mobile */
    .img-hover-swap {
        display: none !important;
    }
}

/* ==========================================
   DESKTOP (Telas acima de 992px)
   ========================================== */
@media (min-width: 992px) {

    /* Banner Grande */
    .carousel-item img {
        height: 450px;
    }

    /* Categorias Grid */
    .cat-circle {
        width: 110px;
        height: 110px;
    }

    .cat-circle img {
        max-width: 60px;
    }

    /* Produtos */
    .img-wrap {
        height: auto;
        /* Deixa o aspect-ratio controlar */
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    /* Efeito Hover Imagem (Só Desktop) */
    .img-main {
        transition: opacity 0.3s;
    }

    .img-hover-swap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: inherit;
        /* Mantém o mesmo padding do wrap */
        object-fit: contain;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .img-wrap:hover .img-main {
        transform: scale(1.05);
    }

    .img-wrap.has-hover:hover .img-main {
        opacity: 0;
        transform: none;
    }

    .img-wrap.has-hover:hover .img-hover-swap {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .home-menu-panel {
        display: none !important;
    }

    .mega-panel {
        display: none !important;
    }
}

/* --- ESTILO COTAÇÃO NOVO (Igual Referência) --- */
.cotacao-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cotacao-icon-box {
    background-color: #fff0e6;
    /* Laranja claro */
    color: var(--orbe-laranja);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cotacao-label {
    color: #cc4700;
    /* Laranja escuro */
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.cotacao-values {
    display: flex;
    gap: 15px;
    color: #555;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.val-item {
    color: #cc4700;
}

/* --- AJUSTES FINAIS HEADER & MOBILE --- */

/* Logo Header */
.logo-header {
    max-height: 45px;
    width: auto;
}

/* --- REGRAS ESPECÍFICAS PARA MOBILE ( < 768px ) --- */
@media (max-width: 768px) {

    /* 1. Logo Centralizada */
    .logo-header {
        max-height: 35px;
        /* Logo menor no mobile */
        margin: 0 auto;
        /* Centraliza */
        display: block;
    }

    /* 2. Carrinho Absoluto à Direita */
    /* Tira o carrinho do fluxo normal e cola ele na direita do header */
    .static-mobile-icons {
        position: absolute;
        top: 5px;
        right: 21px;
        width: auto;
        padding: 0;
    }

    /* 3. Ajuste da Busca */
    .main-header {
        padding-bottom: 15px;
    }

    .form-control {
        font-size: 14px;
    }

    /* 4. Top Bar Ajustes */
    .top-bar {
        font-size: 11px;
    }

    .cotacao-label {
        display: none;
    }

    /* Esconde texto "Cotação" pra caber valor */
}

/* Ícone Carrinho Branco */
.text-white {
    color: #ffffff !important;
}

/* --- AUTOCOMPLETE AJAX --- */
.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: white;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    margin-top: 2px;
    border: 1px solid #eee;
    border-top: none;
}

/* --- MOBILE BOTTOM BAR (Barra Fixa Inferior) --- */
.mobile-bottom-nav {
    display: none;
    /* Invisível no Desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 8px 0;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 10px;
    text-decoration: none;
    width: 70px;
    position: relative;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--orbe-laranja);
}

/* Central Mobile Action Button */
.mobile-nav-item-center {
    position: relative;
    width: 70px;
    height: 100%;
    display: flex;
    justify-content: center;
}

/* O "Abaulamento" branco contínuo */
.mobile-nav-item-center::before {
    content: '';
    position: absolute;
    top: -42px;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.06);
}

.center-action-btn {
    position: absolute;
    top: -35px;
    /* Ajustado mais para cima */
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--orbe-laranja), #ff8c00);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 89, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.center-action-btn:active {
    transform: scale(0.95);
}

/* Badge do Carrinho Mobile */
#cart-badge-mobile {
    position: absolute;
    top: -2px;
    right: 15px;
    font-size: 9px;
    padding: 3px 5px;
}

/* --- MENU LATERAL (Offcanvas Custom) --- */
.offcanvas-header {
    background: var(--orbe-laranja);
    color: white;
}

.offcanvas-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.offcanvas-body .nav-link {
    color: #333;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.offcanvas-body .nav-link:hover {
    background: #f9f9f9;
    color: var(--orbe-laranja);
}

/* REGRAS MOBILE ESPECÍFICAS */
@media (max-width: 768px) {

    /* Esconder Carrinho do Header no Mobile */
    .cart-dropdown-area {
        display: none !important;
    }

    /* Mostrar Barra Inferior */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Padding no Body para a barra não cobrir o footer */
    body {
        padding-bottom: 70px;
    }

    /* Ajuste da Busca Ajax */
    .search-results-container {
        width: 94%;
        left: 3%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

/* Ajuste para o ícone de busca não ficar colado */
.search-input-custom {
    padding-right: 55px !important;
    /* Espaço para o botão */
    padding-left: 25px !important;
}

/* Botão de busca posicionado corretamente */
.main-header form button[type="submit"] {
    right: 15px !important;
    /* Afasta da borda direita */
}

/* --- ÍCONE REC / LIVE PULSANTE --- */
.rec-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    /* Vermelho Vivo */
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
    /* Animação */
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Remove a DIV que envolve a barra */
.skiptranslate {
    display: none !important;
}

/* Remove o iframe interno da barra */
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* Força o body a não ser empurrado pra baixo */
body {
    top: 0 !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* ===========================
   CART PAGE
   =========================== */
.cart-page {
    font-family: 'Inter', sans-serif;
}

.cart-item {
    border: 1px solid #fff0e6;
    /* Laranja claro */
}

.cart-page .qty-group {
    max-width: 120px;
}

.cart-page .qty-group input {
    min-width: 46px;
}

.cart-summary {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
}

.btn-orange {
    background: var(--orbe-laranja);
    color: #fff;
    border: 1px solid var(--orbe-laranja);
}

.btn-orange:hover {
    background: #e65000;
    color: #fff;
}

@media (max-width: 768px) {
    .cart-page h1 {
        font-size: 1.4rem;
    }

    .cart-page .qty-group {
        max-width: 110px;
    }
}

/* --- RAIO DE SOL ANIMADO (CATEGORIA) --- */
.sun-ray-bg {
    position: relative;
    background-color: #1f2120;
    overflow: hidden;
    z-index: 1;
}

.sun-ray-bg::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
    animation: moveSunRay 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes moveSunRay {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.15) translate(-5%, 5%);
        opacity: 1;
    }
}

/* --- LINKS ESTÁTICOS DO HEADER --- */
.static-nav-link {
    color: #5a5a5a;
}

/* ==========================================
   ANIMAÇÕES E DINAMISMO (AURA PREMIUM)
   ========================================== */

/* 1. Efeito Ken Burns (Slider Principal) */
/* A imagem cresce suavemente enquanto está ativa */
.carousel-fade .carousel-item.active .hero-img {
    animation: kenBurns 6s ease-out forwards;
}

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

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

/* 2. Animação de Surgimento (Fade & Slide-up On Scroll) */
/* Elementos que terão essa animação recebem a classe .reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para criar efeito de cascata em grids */
.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.reveal.delay-3 {
    transition-delay: 0.3s;
}

.reveal.delay-4 {
    transition-delay: 0.4s;
}

.reveal.delay-5 {
    transition-delay: 0.5s;
}

/* 3. Ajuste Fino nos Cards (Transição mais luxuosa) */
.product-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================
   WIDGET WHATSAPP FLUTUANTE MULTI-CANAL
   ========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 0;
        /* Colar no rodapé */
        right: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        pointer-events: none;
        z-index: 9998;
        /* Fica atrás da mobile-bottom-nav que é 9999 */
    }

    .whatsapp-popup {
        pointer-events: auto;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        bottom: 75px;
        /* Altura acima da barra inferior para o conteudo nao cobrir */
        width: 92vw;
        max-width: 380px;
        transform: translateY(150%);
        /* Fora da tela para baixo */
        transform-origin: bottom center;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    /* Override da visibilidade padrao para funcionar bem com o transform Y */
    .whatsapp-popup:not(.active) {
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s, visibility 0s 0.4s;
    }

    .whatsapp-popup.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s;
    }

    .wa-trigger-btn {
        display: none !important;
    }

    /* Ocultar barra inferior e mostrar apenas no scroll */
    .mobile-bottom-nav {
        display: flex !important;
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s;
    }

    .mobile-bottom-nav.nav-visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0s;
    }
}

.wa-trigger-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-trigger-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    background-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    transform-origin: bottom right;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-popup-header {
    background: linear-gradient(135deg, var(--orbe-laranja), #ff8c00);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0;
}

.wa-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.wa-popup-body {
    padding: 20px;
    background: #fafafa;
}

.wa-contact-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    margin-bottom: 12px;
    border: 1px solid #eee;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wa-contact-card:hover {
    transform: translateX(4px);
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.1);
    color: #333;
}

.wa-contact-card:last-child {
    margin-bottom: 0;
}

.wa-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #eee;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

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

.wa-contact-info {
    flex-grow: 1;
}

.wa-arrow {
    opacity: 0.5;
    transition: 0.2s;
    font-size: 14px;
}

.wa-contact-card:hover .wa-arrow {
    opacity: 1;
    transform: translateX(3px);
}