.leilao-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background: #fafafa;
    margin-top: 20px;
}

.leilao-status {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: bold;
}

.leilao-status-aberto {
    background: #e8f5e9;
    color: #2e7d32;
}

.leilao-status-encerrado {
    background: #fdecea;
    color: #c62828;
}

.leilao-progresso .barra {
    background: #eee;
    border-radius: 20px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 5px;
}

.leilao-progresso .barra-preenchida {
    background: linear-gradient(90deg, #14db50, #10c948);
    height: 100%;
}

.leilao-btn {
    background: #f97316;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.leilao-btn:hover {
    background: #1565c0;
}

.btn-dar-lance {
    background: #f97316;
    font-weight: 600;
}

.leilao-msg {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
}

.leilao-msg.sucesso {
    background: #e8f5e9;
    color: #2e7d32;
}

.leilao-msg.erro {
    background: #fdecea;
    color: #c62828;
}

.leilao-vencedor {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 6px;
    font-size: 18px;
}

.debug-lances {
    font-size: 0.75em;
    opacity: 0.7;
    margin-left: 4px;
}

.tooltip {
    position: relative;
    cursor: pointer;
}

/* Caixa do tooltip */
.tooltip-text {
    visibility: hidden;
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 99;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 120px;
    white-space: nowrap;
}

/* Mostrar tooltip */
.tooltip:hover .tooltip-text {
    visibility: visible;
}

/* ITEM DO USUÁRIO */
.tooltip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
	padding: 2px 0;
    font-size: 16px;
}

/* COROA */
.tooltip-item .coroa {
    width: 18px;
    text-align: center;
    font-size: 0.85em;
    opacity: 0.9;
}

/* Nome */
.tooltip-item .nome {
    flex: 1;
}


.leilao-btn {
    position: relative;
    padding: 12px 20px;
    font-size: 15px;
    cursor: pointer;
}

.cooldown-ring {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: none;
}

.ring-bg {
    fill: none;
    stroke: #ddd;
    stroke-width: 4;
}

.ring-progress {
    fill: none;
    stroke: #ff9800;
    stroke-width: 4;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 1s linear;
}

.leilao-btn.cooldown .cooldown-ring {
    display: block;
}

.leilao-btn.cooldown {
    cursor: not-allowed;
    opacity: 0.85;
}

.aviso-lideranca {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all .3s ease;
    z-index: 9999;
}

.aviso-lideranca.ativo {
    opacity: 1;
    transform: translateY(0);
}

.leilao-sem-vencedor {
    color: #999;
    font-weight: 600;
}

.leilao-vencedor {
    color: #2e7d32;
    font-weight: 700;
}

.leilao-item img {
    height: 180px;
    object-fit: contain;
    background: #f7f7f7;
}

.leilao-badge {
    display: inline-block;
    margin: 6px 0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
}

.leilao-badge.aberto {
    background: #28a745;
}

.leilao-badge.encerrado {
    background: #6c757d;
}

.leilao-progress {
    margin: 8px 0;
}



/* Estilos Básicos */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
        }

        h2 {
            text-align: center;
        }

        /* Configuração do Grid (Contêiner) */
       .product-grid {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			gap: 20px;
			max-width: 1200px;
			margin: 0 auto;
		}

		@media (max-width: 992px) {
			.product-grid {
				grid-template-columns: repeat(2, 1fr);
			}
		}

		@media (max-width: 576px) {
			.product-grid {
				grid-template-columns: 1fr;
			}
		}

        /* Estilos do Card de Produto */
        .product-card {
			position: relative !important; /* Isso cria a 'âncora' para o ícone */
			overflow: visible; /* ✅ permite tooltip sair do card */
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            transition: box-shadow 0.3s ease;
            display: flex;
            flex-direction: column; /* Organiza itens internos verticalmente */
            justify-content: space-between;
        }

        .product-card:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .product-card img {
        width: 100%;
		height: 200px; /* Ou a altura que desejar */
		object-fit: contain; /* Garante que a imagem completa apareça no espaço */
		background-color: #fff;
		padding: 10px;
		box-sizing: border-box;
        }

        .product-card h3 {
            font-size: 1.2em;
            margin: 10px 0;
        }

        .product-card p {
            color: #555;
            font-size: 1em;
            margin-bottom: 15px;
        }
		
		.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden; /* controla o zoom */
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.4s ease;
}

/* 🔥 Zoom estilo Mercado Livre */
.product-card:hover .product-image img {
    transform: scale(1.30);
}

        .usu_part {
            font-weight: bold;
            font-size: 1.3em;
            color: #333;
            margin-bottom: 10px;
			width: 30%;
        }

        .partc-button {
            background-color: #f97316;
            color: white;
            padding: 10px;
            text-decoration: none;
            border-radius: 4px;
            display: block;
            margin-top: auto;
			width: 60%;
			height: 60px;
			
        }

        .partc-button:hover {
            background-color: #0c3861;
        }
		
/* Container do ícone no canto superior direito */
.info-help-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100; /* Acima da imagem e do zoom */
}

/* O círculo com a interrogação */
.info-help-icon {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    cursor: help;
    transition: background 0.3s;
}

.info-help-icon:hover {
    background-color: #000;
}

/* A caixa de texto que abre para a ESQUERDA */
.info-help-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    
    /* Posicionamento estratégico */
    right: 30px;      /* Distância do ícone (abre para esquerda) */
    top: 0px;
    
    width: 190px;
    background-color: #222;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
	text-align: left;
}


/* Mostrar ao passar o mouse */
.info-help-container:hover .info-help-box {
    visibility: visible;
    opacity: 1;
}

.meus-creditos {
    background: #f5f7fa;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
}

.meus-creditos-box {
    margin-top: 20px;
    padding: 20px;
    background: #f5f7fa;
    border-radius: 10px;
    font-size: 18px;
}

.woocommerce-info.meus-creditos-zakra {
    margin-bottom: 20px;
}

.woocommerce-info.meus-creditos-zakra .button {
    white-space: nowrap;
}

.product-card.finalizado {
    opacity: 0.95;
}

.product-card.finalizado .partc-button {
    display: none;
}

.leiloes-finalizados .product-card {
    border: 2px solid #e5e5e5;
}


.leilao-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.leilao-box:hover {
    transform: translateY(-3px);
}

.leilao-box.destaque {
    border-left: 5px solid #f97316; /* Laranja Astra */
	border-right: 5px solid #f97316;
}

.leilao-icone {
    font-size: 28px;
}

.leilao-info {
    display: flex;
    flex-direction: column;
}

.leilao-titulo {
    font-size: 14px;
    color: #666;
}

.leilao-valor {
    font-size: 24px;
    font-weight: 700;
    color: #f97316;
}

/* Ranking */

.ranking-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 4px;
}

.posicao {
    font-weight: 600;
    color: #f97316;
}

.nome {
    flex: 1;
    margin-left: 6px;
}

.pontos {
    color: #777;
}

/* Layout em linha */

.leilao-indicadores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.leilao-participando {
    position: relative;
    cursor: pointer;
}

.tooltip-leiloes {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #222;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: 0.2s ease;
    z-index: 9999;
}

.leilao-participando:hover .tooltip-leiloes {
    visibility: visible;
    opacity: 1;
}

.tooltip-item {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tooltip-item:last-child {
    border-bottom: none;
}

.admin-total-lances {
    margin-top: 8px;
    font-size: 13px;
    color: #444;
}

.admin-lances-box {
    margin-top: 15px;
    text-align: center; /* 🔥 centraliza botão */
}

.toggle-lances {
    background: #ff7a00;
    border: none;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease;
}

.toggle-lances:hover {
    background: #e86f00;
}

.lances-detalhes {
    margin-top: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    max-height: 160px;
    overflow-y: auto;
    text-align: left;
}

.linha-lance {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.valor-produto {
    font-size: 14px;
    margin: 6px 0 10px 0;
    color: #444;
}

.valor-produto strong {
    color: #f97316;
    font-size: 16px;
    font-weight: 700;
}