/**
 * Estilos do Frontend - WooCommerce Campanhas VIP
 */
.wc-vip-campaign-wrapper {
    margin: 30px auto;
    max-width: 1200px;
    font-family: inherit;
    box-sizing: border-box;
}

.wc-vip-campaign-wrapper * {
    box-sizing: border-box;
}

/* Banner de Cabeçalho */
.wc-vip-campaign-header {
    margin-bottom: 30px;
}

.wc-vip-campaign-banner {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.wc-vip-badge-vip {
    display: inline-block;
    background: #f59e0b;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.wc-vip-header-content p {
    margin: 0;
    color: #e5e7eb;
    font-size: 16px;
    line-height: 1.5;
}

/* Grid de Produtos */
.wc-vip-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* Card Individual */
.wc-vip-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wc-vip-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Badge de Desconto / Tag Promocional */
.wc-vip-discount-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Imagem */
.wc-vip-product-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-vip-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wc-vip-product-card:hover .wc-vip-product-thumb img {
    transform: scale(1.04);
}

/* Informações do Produto */
.wc-vip-product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wc-vip-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 44px;
}

/* Bloco de Preços */
.wc-vip-price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
    margin-top: auto;
}

.wc-vip-price-regular {
    font-size: 13px;
    color: #9ca3af;
}

.wc-vip-price-regular del {
    text-decoration: line-through;
}

.wc-vip-price-special {
    font-size: 22px;
    font-weight: 700;
    color: #10b981;
}

.wc-vip-price-special ins {
    text-decoration: none;
}

.wc-vip-price-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-right: 3px;
}

/* Botão de Compra */
.wc-vip-action-box {
    margin-top: auto;
}

.wc-vip-btn-buy {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #111827 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, opacity 0.2s ease !important;
    text-align: center !important;
}

.wc-vip-btn-buy:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

.wc-vip-btn-buy:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Notificação do Carrinho */
.wc-vip-cart-notice {
    margin-bottom: 25px;
    padding: 14px 20px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #065f46;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wc-vip-cart-notice a {
    color: #047857;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 15px;
}

/* Avisos Gerais */
.wc-vip-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 15px;
}

.wc-vip-notice-restricted {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.wc-vip-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.wc-vip-notice-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.wc-vip-notice-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #b45309;
}

/* Responsividade Mobile */
@media (max-width: 640px) {
    .wc-vip-products-grid {
        grid-template-columns: 1fr;
    }
    .wc-vip-campaign-banner {
        padding: 18px 20px;
    }
}
