/* ==========================================================================
   DESIGN MODERNO - BIOVANCE SUPPLEMENTS
   Cores: Dourado #C9A35B e Preto #252525
   ========================================================================== */

/* RESET E ESTILOS BASE */
.wct-tab-content {
    padding: 40px 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* CABEÇALHOS MODERNOS */
.wct-tab-content h2 {
    color: #252525;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.wct-tab-content h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #C9A35B;
}

/* ABAS MINIMALISTAS */
.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    gap: 1px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37, 37, 37, 0.08);
}

.woocommerce-tabs ul.tabs li {
    flex: 1;
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    background: white;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 3px solid transparent;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #252525;
    background: white;
    border-bottom-color: #C9A35B;
    font-weight: 700;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: #252525;
    background: #fafafa;
    border-bottom-color: rgba(201, 163, 91, 0.5);
}

/* CARD MODERNO - COMO TOMAR */
.como-tomar-tab .wct-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(37, 37, 37, 0.1);
    border: 1px solid #f0f0f0;
}

.como-tomar-tab .wct-image-container {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.como-tomar-tab .wct-tab-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.como-tomar-tab .wct-image-container:hover .wct-tab-image {
    transform: scale(1.05);
}

.como-tomar-tab .wct-text-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.como-tomar-tab .wct-text-content p {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.como-tomar-tab .wct-text-content p:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #C9A35B;
    border-radius: 50%;
}

.como-tomar-tab .wct-text-content ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.como-tomar-tab .wct-text-content ul li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.como-tomar-tab .wct-text-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #C9A35B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* TABELA NUTRICIONAL - DESIGN LIMPO */
.tabela-nutricional-tab .wct-nutritional-table {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(37, 37, 37, 0.1);
    border: 1px solid #f0f0f0;
}

.nutritional-image-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #eee;
}

.nutritional-table-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.nutritional-table-image:hover {
    transform: translateY(-2px);
}

/* BOTÕES E ELEMENTOS INTERATIVOS */
.wct-dosage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #C9A35B 0%, #D4B578 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(201, 163, 91, 0.3);
}

.wct-dosage-badge:before {
    content: '⚡';
    font-size: 16px;
}

/* DICAS E NOTAS */
.wct-tip-box {
    background: linear-gradient(135deg, rgba(201, 163, 91, 0.05) 0%, rgba(201, 163, 91, 0.02) 100%);
    border-left: 4px solid #C9A35B;
    padding: 24px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.wct-tip-box:before {
    content: '💡';
    position: absolute;
    left: -15px;
    top: -15px;
    background: #C9A35B;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(201, 163, 91, 0.3);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .como-tomar-tab .wct-content-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .woocommerce-tabs ul.tabs {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 18px 20px;
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .woocommerce-tabs ul.tabs li.active a {
        border-left-color: #C9A35B;
        border-bottom: none;
    }
    
    .wct-tab-content h2 {
        font-size: 28px;
    }
    
    .como-tomar-tab .wct-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .nutritional-image-container {
        padding: 15px;
    }
    
    .tabela-nutricional-tab .wct-nutritional-table {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .wct-tab-content {
        padding: 30px 0;
    }
    
    .wct-tab-content h2 {
        font-size: 24px;
    }
    
    .como-tomar-tab .wct-content-wrapper {
        padding: 25px;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* ANIMAÇÕES SUAVES */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wct-tab-content > * {
    animation: slideIn 0.5s ease-out;
}

/* ESTILOS PARA FORMULÁRIOS DE AVALIAÇÃO */
#reviews .commentlist li {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#review_form_wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* INDICADOR DE CARREGAMENTO */
.wct-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top-color: #C9A35B;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ESTILOS PARA MOBILE FIRST */
@media (max-width: 360px) {
    .wct-tab-content h2 {
        font-size: 22px;
    }
    
    .como-tomar-tab .wct-content-wrapper {
        padding: 20px;
    }
    
    .woocommerce-tabs ul.tabs li a {
        padding: 14px 16px;
        font-size: 13px;
    }
}